Class: Aws::Mobile::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::Mobile::Client
- Includes:
- ClientStubs
- Defined in:
- lib/aws-sdk-mobile/client.rb
Overview
An API client for Mobile. To construct a client, you need to configure a ‘:region` and `:credentials`.
client = Aws::Mobile::Client.new(
region: region_name,
credentials: credentials,
# ...
)
For details on configuring region and credentials see the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
See #initialize for a full list of supported configuration options.
Class Attribute Summary collapse
- .identifier ⇒ Object readonly private
API Operations collapse
-
#create_project(params = {}) ⇒ Types::CreateProjectResult
Creates an AWS Mobile Hub project.
-
#delete_project(params = {}) ⇒ Types::DeleteProjectResult
Delets a project in AWS Mobile Hub.
-
#describe_bundle(params = {}) ⇒ Types::DescribeBundleResult
Get the bundle details for the requested bundle id.
-
#describe_project(params = {}) ⇒ Types::DescribeProjectResult
Gets details about a project in AWS Mobile Hub.
-
#export_bundle(params = {}) ⇒ Types::ExportBundleResult
Generates customized software development kit (SDK) and or tool packages used to integrate mobile web or mobile app clients with backend AWS resources.
-
#export_project(params = {}) ⇒ Types::ExportProjectResult
Exports project configuration to a snapshot which can be downloaded and shared.
-
#list_bundles(params = {}) ⇒ Types::ListBundlesResult
List all available bundles.
-
#list_projects(params = {}) ⇒ Types::ListProjectsResult
Lists projects in AWS Mobile Hub.
-
#update_project(params = {}) ⇒ Types::UpdateProjectResult
Update an existing project.
Class Method Summary collapse
- .errors_module ⇒ Object private
Instance Method Summary collapse
- #build_request(operation_name, params = {}) ⇒ Object private
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
- #waiter_names ⇒ Object deprecated private Deprecated.
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
422 423 424 |
# File 'lib/aws-sdk-mobile/client.rb', line 422 def initialize(*args) super end |
Class Attribute Details
.identifier ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
839 840 841 |
# File 'lib/aws-sdk-mobile/client.rb', line 839 def identifier @identifier end |
Class Method Details
.errors_module ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
842 843 844 |
# File 'lib/aws-sdk-mobile/client.rb', line 842 def errors_module Errors end |
Instance Method Details
#build_request(operation_name, params = {}) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
817 818 819 820 821 822 823 824 825 826 827 828 |
# File 'lib/aws-sdk-mobile/client.rb', line 817 def build_request(operation_name, params = {}) handlers = @handlers.for(operation_name) context = Seahorse::Client::RequestContext.new( operation_name: operation_name, operation: config.api.operation(operation_name), client: self, params: params, config: config) context[:gem_name] = 'aws-sdk-mobile' context[:gem_version] = '1.55.0' Seahorse::Client::Request.new(handlers, context) end |
#create_project(params = {}) ⇒ Types::CreateProjectResult
Creates an AWS Mobile Hub project.
480 481 482 483 |
# File 'lib/aws-sdk-mobile/client.rb', line 480 def create_project(params = {}, = {}) req = build_request(:create_project, params) req.send_request() end |
#delete_project(params = {}) ⇒ Types::DeleteProjectResult
Delets a project in AWS Mobile Hub.
522 523 524 525 |
# File 'lib/aws-sdk-mobile/client.rb', line 522 def delete_project(params = {}, = {}) req = build_request(:delete_project, params) req.send_request() end |
#describe_bundle(params = {}) ⇒ Types::DescribeBundleResult
Get the bundle details for the requested bundle id.
556 557 558 559 |
# File 'lib/aws-sdk-mobile/client.rb', line 556 def describe_bundle(params = {}, = {}) req = build_request(:describe_bundle, params) req.send_request() end |
#describe_project(params = {}) ⇒ Types::DescribeProjectResult
Gets details about a project in AWS Mobile Hub.
603 604 605 606 |
# File 'lib/aws-sdk-mobile/client.rb', line 603 def describe_project(params = {}, = {}) req = build_request(:describe_project, params) req.send_request() end |
#export_bundle(params = {}) ⇒ Types::ExportBundleResult
Generates customized software development kit (SDK) and or tool packages used to integrate mobile web or mobile app clients with backend AWS resources.
641 642 643 644 |
# File 'lib/aws-sdk-mobile/client.rb', line 641 def export_bundle(params = {}, = {}) req = build_request(:export_bundle, params) req.send_request() end |
#export_project(params = {}) ⇒ Types::ExportProjectResult
Exports project configuration to a snapshot which can be downloaded and shared. Note that mobile app push credentials are encrypted in exported projects, so they can only be shared successfully within the same AWS account.
676 677 678 679 |
# File 'lib/aws-sdk-mobile/client.rb', line 676 def export_project(params = {}, = {}) req = build_request(:export_project, params) req.send_request() end |
#list_bundles(params = {}) ⇒ Types::ListBundlesResult
List all available bundles.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
721 722 723 724 |
# File 'lib/aws-sdk-mobile/client.rb', line 721 def list_bundles(params = {}, = {}) req = build_request(:list_bundles, params) req.send_request() end |
#list_projects(params = {}) ⇒ Types::ListProjectsResult
Lists projects in AWS Mobile Hub.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
761 762 763 764 |
# File 'lib/aws-sdk-mobile/client.rb', line 761 def list_projects(params = {}, = {}) req = build_request(:list_projects, params) req.send_request() end |
#update_project(params = {}) ⇒ Types::UpdateProjectResult
Update an existing project.
808 809 810 811 |
# File 'lib/aws-sdk-mobile/client.rb', line 808 def update_project(params = {}, = {}) req = build_request(:update_project, params) req.send_request() end |
#waiter_names ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
832 833 834 |
# File 'lib/aws-sdk-mobile/client.rb', line 832 def waiter_names [] end |