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.
-
#create_license_server_endpoint(params = {}) ⇒ Types::CreateLicenseServerEndpointResponse
Creates a network endpoint for the Remote Desktop Services (RDS) license server.
-
#delete_license_server_endpoint(params = {}) ⇒ Types::DeleteLicenseServerEndpointResponse
Deletes a
LicenseServerEndpoint
resource. -
#deregister_identity_provider(params = {}) ⇒ Types::DeregisterIdentityProviderResponse
Deregisters the Active Directory identity provider from License Manager 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 Active Directory identity providers for user-based subscriptions.
-
#list_instances(params = {}) ⇒ Types::ListInstancesResponse
Lists the EC2 instances providing user-based subscriptions.
-
#list_license_server_endpoints(params = {}) ⇒ Types::ListLicenseServerEndpointsResponse
List the Remote Desktop Services (RDS) License Server endpoints.
-
#list_product_subscriptions(params = {}) ⇒ Types::ListProductSubscriptionsResponse
Lists the user-based subscription products available from an identity provider.
-
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Returns the list of tags for the specified resource.
-
#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.
-
#tag_resource(params = {}) ⇒ Struct
Adds tags to a resource.
-
#untag_resource(params = {}) ⇒ Struct
Removes tags from a resource.
-
#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.
467 468 469 |
# File 'gems/aws-sdk-licensemanagerusersubscriptions/lib/aws-sdk-licensemanagerusersubscriptions/client.rb', line 467 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.
560 561 562 563 |
# File 'gems/aws-sdk-licensemanagerusersubscriptions/lib/aws-sdk-licensemanagerusersubscriptions/client.rb', line 560 def associate_user(params = {}, = {}) req = build_request(:associate_user, params) req.send_request() end |
#create_license_server_endpoint(params = {}) ⇒ Types::CreateLicenseServerEndpointResponse
Creates a network endpoint for the Remote Desktop Services (RDS) license server.
619 620 621 622 |
# File 'gems/aws-sdk-licensemanagerusersubscriptions/lib/aws-sdk-licensemanagerusersubscriptions/client.rb', line 619 def create_license_server_endpoint(params = {}, = {}) req = build_request(:create_license_server_endpoint, params) req.send_request() end |
#delete_license_server_endpoint(params = {}) ⇒ Types::DeleteLicenseServerEndpointResponse
Deletes a LicenseServerEndpoint
resource.
663 664 665 666 |
# File 'gems/aws-sdk-licensemanagerusersubscriptions/lib/aws-sdk-licensemanagerusersubscriptions/client.rb', line 663 def delete_license_server_endpoint(params = {}, = {}) req = build_request(:delete_license_server_endpoint, params) req.send_request() end |
#deregister_identity_provider(params = {}) ⇒ Types::DeregisterIdentityProviderResponse
Deregisters the Active Directory identity provider from License Manager user-based subscriptions.
737 738 739 740 |
# File 'gems/aws-sdk-licensemanagerusersubscriptions/lib/aws-sdk-licensemanagerusersubscriptions/client.rb', line 737 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.
818 819 820 821 |
# File 'gems/aws-sdk-licensemanagerusersubscriptions/lib/aws-sdk-licensemanagerusersubscriptions/client.rb', line 818 def disassociate_user(params = {}, = {}) req = build_request(:disassociate_user, params) req.send_request() end |
#list_identity_providers(params = {}) ⇒ Types::ListIdentityProvidersResponse
Lists the Active Directory identity providers for user-based subscriptions.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
885 886 887 888 |
# File 'gems/aws-sdk-licensemanagerusersubscriptions/lib/aws-sdk-licensemanagerusersubscriptions/client.rb', line 885 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.
942 943 944 945 |
# File 'gems/aws-sdk-licensemanagerusersubscriptions/lib/aws-sdk-licensemanagerusersubscriptions/client.rb', line 942 def list_instances(params = {}, = {}) req = build_request(:list_instances, params) req.send_request() end |
#list_license_server_endpoints(params = {}) ⇒ Types::ListLicenseServerEndpointsResponse
List the Remote Desktop Services (RDS) License Server endpoints
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1005 1006 1007 1008 |
# File 'gems/aws-sdk-licensemanagerusersubscriptions/lib/aws-sdk-licensemanagerusersubscriptions/client.rb', line 1005 def list_license_server_endpoints(params = {}, = {}) req = build_request(:list_license_server_endpoints, 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.
1104 1105 1106 1107 |
# File 'gems/aws-sdk-licensemanagerusersubscriptions/lib/aws-sdk-licensemanagerusersubscriptions/client.rb', line 1104 def list_product_subscriptions(params = {}, = {}) req = build_request(:list_product_subscriptions, params) req.send_request() end |
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Returns the list of tags for the specified resource.
1134 1135 1136 1137 |
# File 'gems/aws-sdk-licensemanagerusersubscriptions/lib/aws-sdk-licensemanagerusersubscriptions/client.rb', line 1134 def (params = {}, = {}) req = build_request(:list_tags_for_resource, 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.
1228 1229 1230 1231 |
# File 'gems/aws-sdk-licensemanagerusersubscriptions/lib/aws-sdk-licensemanagerusersubscriptions/client.rb', line 1228 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.
1310 1311 1312 1313 |
# File 'gems/aws-sdk-licensemanagerusersubscriptions/lib/aws-sdk-licensemanagerusersubscriptions/client.rb', line 1310 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.
1406 1407 1408 1409 |
# File 'gems/aws-sdk-licensemanagerusersubscriptions/lib/aws-sdk-licensemanagerusersubscriptions/client.rb', line 1406 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.
1488 1489 1490 1491 |
# File 'gems/aws-sdk-licensemanagerusersubscriptions/lib/aws-sdk-licensemanagerusersubscriptions/client.rb', line 1488 def stop_product_subscription(params = {}, = {}) req = build_request(:stop_product_subscription, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Struct
Adds tags to a resource.
1516 1517 1518 1519 |
# File 'gems/aws-sdk-licensemanagerusersubscriptions/lib/aws-sdk-licensemanagerusersubscriptions/client.rb', line 1516 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Removes tags from a resource.
1543 1544 1545 1546 |
# File 'gems/aws-sdk-licensemanagerusersubscriptions/lib/aws-sdk-licensemanagerusersubscriptions/client.rb', line 1543 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_identity_provider_settings(params = {}) ⇒ Types::UpdateIdentityProviderSettingsResponse
Updates additional product configuration settings for the registered identity provider.
1631 1632 1633 1634 |
# File 'gems/aws-sdk-licensemanagerusersubscriptions/lib/aws-sdk-licensemanagerusersubscriptions/client.rb', line 1631 def update_identity_provider_settings(params = {}, = {}) req = build_request(:update_identity_provider_settings, params) req.send_request() end |