Mobile
public struct Mobile
Client object for interacting with 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.
-
Undocumented
Declaration
Swift
public let client: AWSClient
-
Initialize the Mobile client
Declaration
Swift
public init(accessKeyId: String? = nil, secretAccessKey: String? = nil, sessionToken: String? = nil, region: AWSSDKSwiftCore.Region? = nil, endpoint: String? = nil, middlewares: [AWSServiceMiddleware] = [], eventLoopGroupProvider: AWSClient.EventLoopGroupProvider = .useAWSClientShared)
Parameters
accessKeyId
Public access key provided by AWS
secretAccessKey
Private access key provided by AWS
sessionToken
Token provided by STS.AssumeRole() which allows access to another AWS account
region
Region of server you want to communicate with
endpoint
Custom endpoint URL to use instead of standard AWS servers
middlewares
Array of middlewares to apply to requests and responses
eventLoopGroupProvider
EventLoopGroup to use. Use
useAWSClientShared
if the client shall manage its own EventLoopGroup.
-
Creates an AWS Mobile Hub project.
Declaration
Swift
public func createProject(_ input: CreateProjectRequest) -> EventLoopFuture<CreateProjectResult>
-
Delets a project in AWS Mobile Hub.
Declaration
Swift
public func deleteProject(_ input: DeleteProjectRequest) -> EventLoopFuture<DeleteProjectResult>
-
Get the bundle details for the requested bundle id.
Declaration
Swift
public func describeBundle(_ input: DescribeBundleRequest) -> EventLoopFuture<DescribeBundleResult>
-
Gets details about a project in AWS Mobile Hub.
Declaration
Swift
public func describeProject(_ input: DescribeProjectRequest) -> EventLoopFuture<DescribeProjectResult>
-
Generates customized software development kit (SDK) and or tool packages used to integrate mobile web or mobile app clients with backend AWS resources.
Declaration
Swift
public func exportBundle(_ input: ExportBundleRequest) -> EventLoopFuture<ExportBundleResult>
-
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.
Declaration
Swift
public func exportProject(_ input: ExportProjectRequest) -> EventLoopFuture<ExportProjectResult>
-
List all available bundles.
Declaration
Swift
public func listBundles(_ input: ListBundlesRequest) -> EventLoopFuture<ListBundlesResult>
-
Lists projects in AWS Mobile Hub.
Declaration
Swift
public func listProjects(_ input: ListProjectsRequest) -> EventLoopFuture<ListProjectsResult>
-
Update an existing project.
Declaration
Swift
public func updateProject(_ input: UpdateProjectRequest) -> EventLoopFuture<UpdateProjectResult>
-
List all available bundles.
Declaration
Swift
public func listBundlesPaginator(_ input: ListBundlesRequest, onPage: @escaping (ListBundlesResult, EventLoop) -> EventLoopFuture<Bool>) -> EventLoopFuture<Void>
-
Lists projects in AWS Mobile Hub.
Declaration
Swift
public func listProjectsPaginator(_ input: ListProjectsRequest, onPage: @escaping (ListProjectsResult, EventLoop) -> EventLoopFuture<Bool>) -> EventLoopFuture<Void>
-
Undocumented
See moreDeclaration
Swift
public struct ListBundlesRequest : AWSShape
extension Mobile.ListBundlesRequest: AWSPaginateStringToken
-
Undocumented
See moreDeclaration
Swift
public struct ListProjectsRequest : AWSShape
extension Mobile.ListProjectsRequest: AWSPaginateStringToken