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.
444 445 446 |
# File 'gems/aws-sdk-licensemanagerusersubscriptions/lib/aws-sdk-licensemanagerusersubscriptions/client.rb', line 444 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.
537 538 539 540 |
# File 'gems/aws-sdk-licensemanagerusersubscriptions/lib/aws-sdk-licensemanagerusersubscriptions/client.rb', line 537 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.
596 597 598 599 |
# File 'gems/aws-sdk-licensemanagerusersubscriptions/lib/aws-sdk-licensemanagerusersubscriptions/client.rb', line 596 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.
640 641 642 643 |
# File 'gems/aws-sdk-licensemanagerusersubscriptions/lib/aws-sdk-licensemanagerusersubscriptions/client.rb', line 640 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.
713 714 715 716 |
# File 'gems/aws-sdk-licensemanagerusersubscriptions/lib/aws-sdk-licensemanagerusersubscriptions/client.rb', line 713 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.
794 795 796 797 |
# File 'gems/aws-sdk-licensemanagerusersubscriptions/lib/aws-sdk-licensemanagerusersubscriptions/client.rb', line 794 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.
861 862 863 864 |
# File 'gems/aws-sdk-licensemanagerusersubscriptions/lib/aws-sdk-licensemanagerusersubscriptions/client.rb', line 861 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.
918 919 920 921 |
# File 'gems/aws-sdk-licensemanagerusersubscriptions/lib/aws-sdk-licensemanagerusersubscriptions/client.rb', line 918 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.
981 982 983 984 |
# File 'gems/aws-sdk-licensemanagerusersubscriptions/lib/aws-sdk-licensemanagerusersubscriptions/client.rb', line 981 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.
1079 1080 1081 1082 |
# File 'gems/aws-sdk-licensemanagerusersubscriptions/lib/aws-sdk-licensemanagerusersubscriptions/client.rb', line 1079 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.
1109 1110 1111 1112 |
# File 'gems/aws-sdk-licensemanagerusersubscriptions/lib/aws-sdk-licensemanagerusersubscriptions/client.rb', line 1109 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.
1203 1204 1205 1206 |
# File 'gems/aws-sdk-licensemanagerusersubscriptions/lib/aws-sdk-licensemanagerusersubscriptions/client.rb', line 1203 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.
1284 1285 1286 1287 |
# File 'gems/aws-sdk-licensemanagerusersubscriptions/lib/aws-sdk-licensemanagerusersubscriptions/client.rb', line 1284 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.
1379 1380 1381 1382 |
# File 'gems/aws-sdk-licensemanagerusersubscriptions/lib/aws-sdk-licensemanagerusersubscriptions/client.rb', line 1379 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.
1460 1461 1462 1463 |
# File 'gems/aws-sdk-licensemanagerusersubscriptions/lib/aws-sdk-licensemanagerusersubscriptions/client.rb', line 1460 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.
1488 1489 1490 1491 |
# File 'gems/aws-sdk-licensemanagerusersubscriptions/lib/aws-sdk-licensemanagerusersubscriptions/client.rb', line 1488 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Removes tags from a resource.
1515 1516 1517 1518 |
# File 'gems/aws-sdk-licensemanagerusersubscriptions/lib/aws-sdk-licensemanagerusersubscriptions/client.rb', line 1515 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.
1602 1603 1604 1605 |
# File 'gems/aws-sdk-licensemanagerusersubscriptions/lib/aws-sdk-licensemanagerusersubscriptions/client.rb', line 1602 def update_identity_provider_settings(params = {}, = {}) req = build_request(:update_identity_provider_settings, params) req.send_request() end |