AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Implementation for accessing Mobile

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.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonServiceClient
    Amazon.Mobile.AmazonMobileClient

Namespace: Amazon.Mobile
Assembly: AWSSDK.Mobile.dll
Version: 3.x.y.z

Syntax

C#
public class AmazonMobileClient : AmazonServiceClient
         IAmazonMobile, IAmazonService, IDisposable

The AmazonMobileClient type exposes the following members

Constructors

NameDescription
Public Method AmazonMobileClient()

Constructs AmazonMobileClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set.

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <appSettings>
        <add key="AWSProfileName" value="AWS Default"/>
    </appSettings>
</configuration>
             

Public Method AmazonMobileClient(RegionEndpoint)

Constructs AmazonMobileClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set.

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <appSettings>
        <add key="AWSProfileName" value="AWS Default"/>
    </appSettings>
</configuration>
             

Public Method AmazonMobileClient(AmazonMobileConfig)

Constructs AmazonMobileClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set.

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <appSettings>
        <add key="AWSProfileName" value="AWS Default"/>
    </appSettings>
</configuration>
             

Public Method AmazonMobileClient(AWSCredentials)

Constructs AmazonMobileClient with AWS Credentials

Public Method AmazonMobileClient(AWSCredentials, RegionEndpoint)

Constructs AmazonMobileClient with AWS Credentials

Public Method AmazonMobileClient(AWSCredentials, AmazonMobileConfig)

Constructs AmazonMobileClient with AWS Credentials and an AmazonMobileClient Configuration object.

Public Method AmazonMobileClient(string, string)

Constructs AmazonMobileClient with AWS Access Key ID and AWS Secret Key

Public Method AmazonMobileClient(string, string, RegionEndpoint)

Constructs AmazonMobileClient with AWS Access Key ID and AWS Secret Key

Public Method AmazonMobileClient(string, string, AmazonMobileConfig)

Constructs AmazonMobileClient with AWS Access Key ID, AWS Secret Key and an AmazonMobileClient Configuration object.

Public Method AmazonMobileClient(string, string, string)

Constructs AmazonMobileClient with AWS Access Key ID and AWS Secret Key

Public Method AmazonMobileClient(string, string, string, RegionEndpoint)

Constructs AmazonMobileClient with AWS Access Key ID and AWS Secret Key

Public Method AmazonMobileClient(string, string, string, AmazonMobileConfig)

Constructs AmazonMobileClient with AWS Access Key ID, AWS Secret Key and an AmazonMobileClient Configuration object.

Properties

NameTypeDescription
Public Property Config Amazon.Runtime.IClientConfig Inherited from Amazon.Runtime.AmazonServiceClient.

Methods

Note:

Asynchronous operations (methods ending with Async) in the table below are for .NET 4.5 or higher. For .NET 3.5 the SDK follows the standard naming convention of BeginMethodName and EndMethodName to indicate asynchronous operations - these method pairs are not shown in the table below.

NameDescription
Public Method CreateProject(CreateProjectRequest)

Creates an AWS Mobile Hub project.

Public Method CreateProjectAsync(CreateProjectRequest, CancellationToken)

Creates an AWS Mobile Hub project.

Public Method DeleteProject(DeleteProjectRequest)

Delets a project in AWS Mobile Hub.

Public Method DeleteProjectAsync(DeleteProjectRequest, CancellationToken)

Delets a project in AWS Mobile Hub.

Public Method DescribeBundle(DescribeBundleRequest)

Get the bundle details for the requested bundle id.

Public Method DescribeBundleAsync(DescribeBundleRequest, CancellationToken)

Get the bundle details for the requested bundle id.

Public Method DescribeProject(DescribeProjectRequest)

Gets details about a project in AWS Mobile Hub.

Public Method DescribeProjectAsync(DescribeProjectRequest, CancellationToken)

Gets details about a project in AWS Mobile Hub.

Public Method DetermineServiceOperationEndpoint(AmazonWebServiceRequest)

Returns the endpoint that will be used for a particular request.

Public Method Dispose() Inherited from Amazon.Runtime.AmazonServiceClient.
Public Method ExportBundle(ExportBundleRequest)

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

Public Method ExportBundleAsync(ExportBundleRequest, CancellationToken)

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

Public Method ExportProject(ExportProjectRequest)

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.

Public Method ExportProjectAsync(ExportProjectRequest, CancellationToken)

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.

Public Method ListBundles(ListBundlesRequest)

List all available bundles.

Public Method ListBundlesAsync(ListBundlesRequest, CancellationToken)

List all available bundles.

Public Method ListProjects(ListProjectsRequest)

Lists projects in AWS Mobile Hub.

Public Method ListProjectsAsync(ListProjectsRequest, CancellationToken)

Lists projects in AWS Mobile Hub.

Public Method UpdateProject(UpdateProjectRequest)

Update an existing project.

Public Method UpdateProjectAsync(UpdateProjectRequest, CancellationToken)

Update an existing project.

Events

NameDescription
Event AfterResponseEvent Inherited from Amazon.Runtime.AmazonServiceClient.
Event BeforeRequestEvent Inherited from Amazon.Runtime.AmazonServiceClient.
Event ExceptionEvent Inherited from Amazon.Runtime.AmazonServiceClient.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5