MobileClient Class

(QtAws::Mobile::MobileClient)

The MobileClient class provides access to the AWS Mobile service. More...

Header: #include <MobileClient>
Inherits: QtAws::Core::AwsAbstractClient

Public Functions

MobileClient(const QtAws::Core::AwsRegion::Region region = QtAws::Core::AwsRegion::InvalidRegion, QtAws::Core::AwsAbstractCredentials *credentials = NULL, QNetworkAccessManager * const manager = NULL, QObject * const parent = 0)
MobileClient(const QUrl &endpoint, QtAws::Core::AwsAbstractCredentials *credentials = NULL, QNetworkAccessManager * const manager = NULL, QObject * const parent = 0)

Public Slots

CreateProjectResponse *createProject(const CreateProjectRequest &request)
DeleteProjectResponse *deleteProject(const DeleteProjectRequest &request)
DescribeBundleResponse *describeBundle(const DescribeBundleRequest &request)
DescribeProjectResponse *describeProject(const DescribeProjectRequest &request)
ExportBundleResponse *exportBundle(const ExportBundleRequest &request)
ExportProjectResponse *exportProject(const ExportProjectRequest &request)
ListBundlesResponse *listBundles(const ListBundlesRequest &request)
ListProjectsResponse *listProjects(const ListProjectsRequest &request)
UpdateProjectResponse *updateProject(const UpdateProjectRequest &request)

Additional Inherited Members

Detailed Description

The MobileClient class provides access to the AWS Mobile service.

AWS Mobile Service provides mobile app and website developers with capabilities required to configure AWS resources and bootstrap their developer desktop projects with the necessary SDKs, constants, tools and samples to make use of those resources.

Member Function Documentation

MobileClient::MobileClient(const QtAws::Core::AwsRegion::Region region = QtAws::Core::AwsRegion::InvalidRegion, QtAws::Core::AwsAbstractCredentials *credentials = NULL, QNetworkAccessManager * const manager = NULL, QObject * const parent = 0)

Constructs a MobileClient object.

The new client object will region, credentials, and manager for network operations.

The new object will be owned by parent, if set.

MobileClient::MobileClient(const QUrl &endpoint, QtAws::Core::AwsAbstractCredentials *credentials = NULL, QNetworkAccessManager * const manager = NULL, QObject * const parent = 0)

This function overloads MobileClient().

This overload allows the caller to specify the specific endpoint to send requests to. Typically, it is easier to use the alternative constructor, which allows the caller to specify an AWS region instead, in which case this client will determine the correct endpoint for the given region automatically (via AwsEndpoint::getEndpoint).

See also QtAws::Core::AwsEndpoint::getEndpoint.

[slot] CreateProjectResponse *MobileClient::createProject(const CreateProjectRequest &request)

Sends request to the MobileClient service, and returns a pointer to an CreateProjectResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

Creates an AWS Mobile Hub project.

[slot] DeleteProjectResponse *MobileClient::deleteProject(const DeleteProjectRequest &request)

Sends request to the MobileClient service, and returns a pointer to an DeleteProjectResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

Delets a project in AWS Mobile Hub.

[slot] DescribeBundleResponse *MobileClient::describeBundle(const DescribeBundleRequest &request)

Sends request to the MobileClient service, and returns a pointer to an DescribeBundleResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

Get the bundle details for the requested bundle id.

[slot] DescribeProjectResponse *MobileClient::describeProject(const DescribeProjectRequest &request)

Sends request to the MobileClient service, and returns a pointer to an DescribeProjectResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

Gets details about a project in AWS Mobile Hub.

[slot] ExportBundleResponse *MobileClient::exportBundle(const ExportBundleRequest &request)

Sends request to the MobileClient service, and returns a pointer to an ExportBundleResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

Generates customized software development kit (SDK) and or tool packages used to integrate mobile web or mobile app clients with backend AWS resources.

[slot] ExportProjectResponse *MobileClient::exportProject(const ExportProjectRequest &request)

Sends request to the MobileClient service, and returns a pointer to an ExportProjectResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

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.

[slot] ListBundlesResponse *MobileClient::listBundles(const ListBundlesRequest &request)

Sends request to the MobileClient service, and returns a pointer to an ListBundlesResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

List all available bundles.

[slot] ListProjectsResponse *MobileClient::listProjects(const ListProjectsRequest &request)

Sends request to the MobileClient service, and returns a pointer to an ListProjectsResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

Lists projects in AWS Mobile Hub.

[slot] UpdateProjectResponse *MobileClient::updateProject(const UpdateProjectRequest &request)

Sends request to the MobileClient service, and returns a pointer to an UpdateProjectResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

Update an existing project.

© 2018 Paul Colby Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.