Class: Aws::IoTFleetHub::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::IoTFleetHub::Client
- Includes:
- ClientStubs
- Defined in:
- gems/aws-sdk-iotfleethub/lib/aws-sdk-iotfleethub/client.rb
Overview
An API client for IoTFleetHub. To construct a client, you need to configure a :region
and :credentials
.
client = Aws::IoTFleetHub::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_application(params = {}) ⇒ Types::CreateApplicationResponse
Creates a Fleet Hub for IoT Device Management web application.
-
#delete_application(params = {}) ⇒ Struct
Deletes a Fleet Hub for IoT Device Management web application.
-
#describe_application(params = {}) ⇒ Types::DescribeApplicationResponse
Gets information about a Fleet Hub for IoT Device Management web application.
-
#list_applications(params = {}) ⇒ Types::ListApplicationsResponse
Gets a list of Fleet Hub for IoT Device Management web applications for the current account.
-
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Lists the tags for the specified resource.
-
#tag_resource(params = {}) ⇒ Struct
Adds to or modifies the tags of the specified resource.
-
#untag_resource(params = {}) ⇒ Struct
Removes the specified tags (metadata) from the resource.
-
#update_application(params = {}) ⇒ Struct
Updates information about a Fleet Hub for IoT Device Management web application.
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-iotfleethub/lib/aws-sdk-iotfleethub/client.rb', line 467 def initialize(*args) super end |
Instance Method Details
#create_application(params = {}) ⇒ Types::CreateApplicationResponse
Creates a Fleet Hub for IoT Device Management web application.
When creating a Fleet Hub application, you must create an organization instance of IAM Identity Center if you don't already have one. The Fleet Hub application you create must also be in the same Amazon Web Services Region of the organization instance of IAM Identity Center. For more information see Enabling IAM Identity Center and Organization instances of IAM Identity Center.
538 539 540 541 |
# File 'gems/aws-sdk-iotfleethub/lib/aws-sdk-iotfleethub/client.rb', line 538 def create_application(params = {}, = {}) req = build_request(:create_application, params) req.send_request() end |
#delete_application(params = {}) ⇒ Struct
Deletes a Fleet Hub for IoT Device Management web application.
567 568 569 570 |
# File 'gems/aws-sdk-iotfleethub/lib/aws-sdk-iotfleethub/client.rb', line 567 def delete_application(params = {}, = {}) req = build_request(:delete_application, params) req.send_request() end |
#describe_application(params = {}) ⇒ Types::DescribeApplicationResponse
Gets information about a Fleet Hub for IoT Device Management web application.
617 618 619 620 |
# File 'gems/aws-sdk-iotfleethub/lib/aws-sdk-iotfleethub/client.rb', line 617 def describe_application(params = {}, = {}) req = build_request(:describe_application, params) req.send_request() end |
#list_applications(params = {}) ⇒ Types::ListApplicationsResponse
Gets a list of Fleet Hub for IoT Device Management web applications for the current account.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
655 656 657 658 |
# File 'gems/aws-sdk-iotfleethub/lib/aws-sdk-iotfleethub/client.rb', line 655 def list_applications(params = {}, = {}) req = build_request(:list_applications, params) req.send_request() end |
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Lists the tags for the specified resource.
682 683 684 685 |
# File 'gems/aws-sdk-iotfleethub/lib/aws-sdk-iotfleethub/client.rb', line 682 def (params = {}, = {}) req = build_request(:list_tags_for_resource, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Struct
Adds to or modifies the tags of the specified resource. Tags are metadata which can be used to manage a resource.
709 710 711 712 |
# File 'gems/aws-sdk-iotfleethub/lib/aws-sdk-iotfleethub/client.rb', line 709 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Removes the specified tags (metadata) from the resource.
733 734 735 736 |
# File 'gems/aws-sdk-iotfleethub/lib/aws-sdk-iotfleethub/client.rb', line 733 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_application(params = {}) ⇒ Struct
Updates information about a Fleet Hub for IoT Device Management web application.
771 772 773 774 |
# File 'gems/aws-sdk-iotfleethub/lib/aws-sdk-iotfleethub/client.rb', line 771 def update_application(params = {}, = {}) req = build_request(:update_application, params) req.send_request() end |