@datafire/amazonaws_mobile

5.0.0 • Public • Published

@datafire/amazonaws_mobile

Client library for AWS Mobile

Installation and Usage

npm install --save @datafire/amazonaws_mobile
let amazonaws_mobile = require('@datafire/amazonaws_mobile').create({
  accessKeyId: "",
  secretAccessKey: "",
  region: ""
});

amazonaws_mobile.ListBundles({}).then(data => {
  console.log(data);
});

Description

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.

Actions

ListBundles

amazonaws_mobile.ListBundles({}, context)

Input

  • input object
    • maxResults string
    • nextToken string

Output

DescribeBundle

amazonaws_mobile.DescribeBundle({
  "bundleId": ""
}, context)

Input

  • input object
    • bundleId required string

Output

ExportBundle

amazonaws_mobile.ExportBundle({
  "bundleId": ""
}, context)

Input

  • input object
    • bundleId required string

Output

ExportProject

amazonaws_mobile.ExportProject({
  "projectId": ""
}, context)

Input

  • input object
    • projectId required string

Output

DescribeProject

amazonaws_mobile.DescribeProject({}, context)

Input

  • input object

Output

ListProjects

amazonaws_mobile.ListProjects({}, context)

Input

  • input object
    • maxResults string
    • nextToken string

Output

CreateProject

amazonaws_mobile.CreateProject({}, context)

Input

Output

DeleteProject

amazonaws_mobile.DeleteProject({
  "projectId": ""
}, context)

Input

  • input object
    • projectId required string

Output

UpdateProject

amazonaws_mobile.UpdateProject({}, context)

Input

Output

Definitions

AccountActionRequiredException

  • AccountActionRequiredException object: Account Action is required in order to continue the request.

AttributeKey

  • AttributeKey string: Key part of key-value attribute pairs.

AttributeValue

  • AttributeValue string: Value part of key-value attribute pairs.

Attributes

BadRequestException

  • BadRequestException object: The request cannot be processed because some parameter is not valid or the project state prevents the operation from being performed.

Boolean

  • Boolean boolean

BundleDescription

  • BundleDescription string: Description of the download bundle.

BundleDetails

BundleId

  • BundleId string: Unique bundle identifier.

BundleList

BundleTitle

  • BundleTitle string: Title of the download bundle.

BundleVersion

  • BundleVersion string: Version of the download bundle.

ConsoleUrl

  • ConsoleUrl string

Contents

  • Contents string: Binary file data.

CreateProjectRequest

  • CreateProjectRequest object: Request structure used to request a project be created.

CreateProjectResult

  • CreateProjectResult object: Result structure used in response to a request to create a project.

Date

  • Date string

DeleteProjectRequest

  • DeleteProjectRequest object: Request structure used to request a project be deleted.

DeleteProjectResult

  • DeleteProjectResult object: Result structure used in response to request to delete a project.

DescribeBundleRequest

  • DescribeBundleRequest object: Request structure to request the details of a specific bundle.

DescribeBundleResult

  • DescribeBundleResult object: Result structure contains the details of the bundle.

DescribeProjectRequest

  • DescribeProjectRequest object: Request structure used to request details about a project.

DescribeProjectResult

  • DescribeProjectResult object: Result structure used for requests of project details.

DownloadUrl

  • DownloadUrl string: The download Url.

ErrorMessage

  • ErrorMessage string: The Exception Error Message.

ExportBundleRequest

  • ExportBundleRequest object: Request structure used to request generation of custom SDK and tool packages required to integrate mobile web or app clients with backed AWS resources.

ExportBundleResult

  • ExportBundleResult object: Result structure which contains link to download custom-generated SDK and tool packages used to integrate mobile web or app clients with backed AWS resources.

ExportProjectRequest

  • ExportProjectRequest object: Request structure used in requests to export project configuration details.

ExportProjectResult

  • ExportProjectResult object: Result structure used for requests to export project configuration details.

Feature

  • Feature string: Identifies which feature in AWS Mobile Hub is associated with this AWS resource.

IconUrl

  • IconUrl string: Icon for the download bundle.

InternalFailureException

  • InternalFailureException object: The service has encountered an unexpected error condition which prevents it from servicing the request.

LimitExceededException

  • LimitExceededException object: There are too many AWS Mobile Hub projects in the account or the account has exceeded the maximum number of resources in some AWS service. You should create another sub-account using AWS Organizations or remove some resources and retry your request.

ListBundlesRequest

  • ListBundlesRequest object: Request structure to request all available bundles.

ListBundlesResult

  • ListBundlesResult object: Result structure contains a list of all available bundles with details.

ListProjectsRequest

  • ListProjectsRequest object: Request structure used to request projects list in AWS Mobile Hub.

ListProjectsResult

  • ListProjectsResult object: Result structure used for requests to list projects in AWS Mobile Hub.

MaxResults

  • MaxResults integer: Maximum number of records to list in a single response.

NextToken

  • NextToken string: Pagination token. Set to null to start listing records from start. If non-null pagination token is returned in a result, then pass its value in here in another request to list more entries.

NotFoundException

  • NotFoundException object: No entity can be found with the specified identifier.

Platform

  • Platform string (values: OSX, WINDOWS, LINUX, OBJC, SWIFT, ANDROID, JAVASCRIPT): Developer desktop or target mobile app or website platform.

Platforms

  • Platforms array: Developer desktop or mobile app or website platforms.

ProjectDetails

ProjectId

  • ProjectId string: Unique project identifier.

ProjectName

  • ProjectName string: Name of the project.

ProjectRegion

  • ProjectRegion string: Default region to use for AWS resource creation in the AWS Mobile Hub project.

ProjectState

  • ProjectState string (values: NORMAL, SYNCING, IMPORTING): Synchronization state for a project.

ProjectSummaries

ProjectSummary

  • ProjectSummary object: Summary information about an AWS Mobile Hub project.

Resource

ResourceArn

  • ResourceArn string: AWS resource name which uniquely identifies the resource in AWS systems.

ResourceName

  • ResourceName string: Name of the AWS resource (e.g., for an Amazon S3 bucket this is the name of the bucket).

ResourceType

  • ResourceType string: Simplified name for type of AWS resource (e.g., bucket is an Amazon S3 bucket).

Resources

  • Resources array: List of AWS resources associated with a project.

ServiceUnavailableException

  • ServiceUnavailableException object: The service is temporarily unavailable. The request should be retried after some time delay.

ShareUrl

  • ShareUrl string: URL which can be shared to allow other AWS users to create their own project in AWS Mobile Hub with the same configuration as the specified project. This URL pertains to a snapshot in time of the project configuration that is created when this API is called. If you want to share additional changes to your project configuration, then you will need to create and share a new snapshot by calling this method again.

SnapshotId

  • SnapshotId string: Unique identifier for the exported snapshot of the project configuration. This snapshot identifier is included in the share URL.

TooManyRequestsException

  • TooManyRequestsException object: Too many requests have been received for this AWS account in too short a time. The request should be retried after some time delay.

UnauthorizedException

  • UnauthorizedException object: Credentials of the caller are insufficient to authorize the request.

UpdateProjectRequest

  • UpdateProjectRequest object: Request structure used for requests to update project configuration.

UpdateProjectResult

  • UpdateProjectResult object: Result structure used for requests to updated project configuration.

Readme

Keywords

none

Package Sidebar

Install

npm i @datafire/amazonaws_mobile

Weekly Downloads

0

Version

5.0.0

License

MIT

Unpacked Size

57.2 kB

Total Files

4

Last publish

Collaborators

  • datafire