Class: Aws::WorkSpacesThinClient::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::WorkSpacesThinClient::Client
- Includes:
- ClientStubs
- Defined in:
- gems/aws-sdk-workspacesthinclient/lib/aws-sdk-workspacesthinclient/client.rb
Overview
An API client for WorkSpacesThinClient. To construct a client, you need to configure a :region
and :credentials
.
client = Aws::WorkSpacesThinClient::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
-
#create_environment(params = {}) ⇒ Types::CreateEnvironmentResponse
Creates an environment for your thin client devices.
-
#delete_device(params = {}) ⇒ Struct
Deletes a thin client device.
-
#delete_environment(params = {}) ⇒ Struct
Deletes an environment.
-
#deregister_device(params = {}) ⇒ Struct
Deregisters a thin client device.
-
#get_device(params = {}) ⇒ Types::GetDeviceResponse
Returns information for a thin client device.
-
#get_environment(params = {}) ⇒ Types::GetEnvironmentResponse
Returns information for an environment.
-
#get_software_set(params = {}) ⇒ Types::GetSoftwareSetResponse
Returns information for a software set.
-
#list_devices(params = {}) ⇒ Types::ListDevicesResponse
Returns a list of thin client devices.
-
#list_environments(params = {}) ⇒ Types::ListEnvironmentsResponse
Returns a list of environments.
-
#list_software_sets(params = {}) ⇒ Types::ListSoftwareSetsResponse
Returns a list of software sets.
-
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Returns a list of tags for a resource.
-
#tag_resource(params = {}) ⇒ Struct
Assigns one or more tags (key-value pairs) to the specified resource.
-
#untag_resource(params = {}) ⇒ Struct
Removes a tag or tags from a resource.
-
#update_device(params = {}) ⇒ Types::UpdateDeviceResponse
Updates a thin client device.
-
#update_environment(params = {}) ⇒ Types::UpdateEnvironmentResponse
Updates an environment.
-
#update_software_set(params = {}) ⇒ Struct
Updates a software set.
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-workspacesthinclient/lib/aws-sdk-workspacesthinclient/client.rb', line 444 def initialize(*args) super end |
Instance Method Details
#create_environment(params = {}) ⇒ Types::CreateEnvironmentResponse
Creates an environment for your thin client devices.
570 571 572 573 |
# File 'gems/aws-sdk-workspacesthinclient/lib/aws-sdk-workspacesthinclient/client.rb', line 570 def create_environment(params = {}, = {}) req = build_request(:create_environment, params) req.send_request() end |
#delete_device(params = {}) ⇒ Struct
Deletes a thin client device.
615 616 617 618 |
# File 'gems/aws-sdk-workspacesthinclient/lib/aws-sdk-workspacesthinclient/client.rb', line 615 def delete_device(params = {}, = {}) req = build_request(:delete_device, params) req.send_request() end |
#delete_environment(params = {}) ⇒ Struct
Deletes an environment.
660 661 662 663 |
# File 'gems/aws-sdk-workspacesthinclient/lib/aws-sdk-workspacesthinclient/client.rb', line 660 def delete_environment(params = {}, = {}) req = build_request(:delete_environment, params) req.send_request() end |
#deregister_device(params = {}) ⇒ Struct
Deregisters a thin client device.
709 710 711 712 |
# File 'gems/aws-sdk-workspacesthinclient/lib/aws-sdk-workspacesthinclient/client.rb', line 709 def deregister_device(params = {}, = {}) req = build_request(:deregister_device, params) req.send_request() end |
#get_device(params = {}) ⇒ Types::GetDeviceResponse
Returns information for a thin client device.
758 759 760 761 |
# File 'gems/aws-sdk-workspacesthinclient/lib/aws-sdk-workspacesthinclient/client.rb', line 758 def get_device(params = {}, = {}) req = build_request(:get_device, params) req.send_request() end |
#get_environment(params = {}) ⇒ Types::GetEnvironmentResponse
Returns information for an environment.
814 815 816 817 |
# File 'gems/aws-sdk-workspacesthinclient/lib/aws-sdk-workspacesthinclient/client.rb', line 814 def get_environment(params = {}, = {}) req = build_request(:get_environment, params) req.send_request() end |
#get_software_set(params = {}) ⇒ Types::GetSoftwareSetResponse
Returns information for a software set.
852 853 854 855 |
# File 'gems/aws-sdk-workspacesthinclient/lib/aws-sdk-workspacesthinclient/client.rb', line 852 def get_software_set(params = {}, = {}) req = build_request(:get_software_set, params) req.send_request() end |
#list_devices(params = {}) ⇒ Types::ListDevicesResponse
Returns a list of thin client devices.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
912 913 914 915 |
# File 'gems/aws-sdk-workspacesthinclient/lib/aws-sdk-workspacesthinclient/client.rb', line 912 def list_devices(params = {}, = {}) req = build_request(:list_devices, params) req.send_request() end |
#list_environments(params = {}) ⇒ Types::ListEnvironmentsResponse
Returns a list of environments.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
978 979 980 981 |
# File 'gems/aws-sdk-workspacesthinclient/lib/aws-sdk-workspacesthinclient/client.rb', line 978 def list_environments(params = {}, = {}) req = build_request(:list_environments, params) req.send_request() end |
#list_software_sets(params = {}) ⇒ Types::ListSoftwareSetsResponse
Returns a list of software sets.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1029 1030 1031 1032 |
# File 'gems/aws-sdk-workspacesthinclient/lib/aws-sdk-workspacesthinclient/client.rb', line 1029 def list_software_sets(params = {}, = {}) req = build_request(:list_software_sets, params) req.send_request() end |
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Returns a list of tags for a resource.
1059 1060 1061 1062 |
# File 'gems/aws-sdk-workspacesthinclient/lib/aws-sdk-workspacesthinclient/client.rb', line 1059 def (params = {}, = {}) req = build_request(:list_tags_for_resource, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Struct
Assigns one or more tags (key-value pairs) to the specified resource.
1088 1089 1090 1091 |
# File 'gems/aws-sdk-workspacesthinclient/lib/aws-sdk-workspacesthinclient/client.rb', line 1088 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Removes a tag or tags from a resource.
1115 1116 1117 1118 |
# File 'gems/aws-sdk-workspacesthinclient/lib/aws-sdk-workspacesthinclient/client.rb', line 1115 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_device(params = {}) ⇒ Types::UpdateDeviceResponse
Updates a thin client device.
1170 1171 1172 1173 |
# File 'gems/aws-sdk-workspacesthinclient/lib/aws-sdk-workspacesthinclient/client.rb', line 1170 def update_device(params = {}, = {}) req = build_request(:update_device, params) req.send_request() end |
#update_environment(params = {}) ⇒ Types::UpdateEnvironmentResponse
Updates an environment.
1264 1265 1266 1267 |
# File 'gems/aws-sdk-workspacesthinclient/lib/aws-sdk-workspacesthinclient/client.rb', line 1264 def update_environment(params = {}, = {}) req = build_request(:update_environment, params) req.send_request() end |
#update_software_set(params = {}) ⇒ Struct
Updates a software set.
1290 1291 1292 1293 |
# File 'gems/aws-sdk-workspacesthinclient/lib/aws-sdk-workspacesthinclient/client.rb', line 1290 def update_software_set(params = {}, = {}) req = build_request(:update_software_set, params) req.send_request() end |