@datafire/amazonaws_mobile
v5.0.0
Published
DataFire integration for AWS Mobile
Downloads
5
Readme
@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
- maxResults
Output
- output ListBundlesResult
DescribeBundle
amazonaws_mobile.DescribeBundle({
"bundleId": ""
}, context)
Input
- input
object
- bundleId required
string
- bundleId required
Output
- output DescribeBundleResult
ExportBundle
amazonaws_mobile.ExportBundle({
"bundleId": ""
}, context)
Input
- input
object
- bundleId required
string
- bundleId required
Output
- output ExportBundleResult
ExportProject
amazonaws_mobile.ExportProject({
"projectId": ""
}, context)
Input
- input
object
- projectId required
string
- projectId required
Output
- output ExportProjectResult
DescribeProject
amazonaws_mobile.DescribeProject({}, context)
Input
- input
object
Output
- output DescribeProjectResult
ListProjects
amazonaws_mobile.ListProjects({}, context)
Input
- input
object
- maxResults
string
- nextToken
string
- maxResults
Output
- output ListProjectsResult
CreateProject
amazonaws_mobile.CreateProject({}, context)
Input
- input
object
- contents Contents
Output
- output CreateProjectResult
DeleteProject
amazonaws_mobile.DeleteProject({
"projectId": ""
}, context)
Input
- input
object
- projectId required
string
- projectId required
Output
- output DeleteProjectResult
UpdateProject
amazonaws_mobile.UpdateProject({}, context)
Input
- input
object
- contents Contents
Output
- output UpdateProjectResult
Definitions
AccountActionRequiredException
- AccountActionRequiredException
object
: Account Action is required in order to continue the request.- message ErrorMessage
AttributeKey
- AttributeKey
string
: Key part of key-value attribute pairs.
AttributeValue
- AttributeValue
string
: Value part of key-value attribute pairs.
Attributes
- Attributes
array
: Key-value attribute pairs.- items
object
- key AttributeKey
- value AttributeValue
- items
BadRequestException
- BadRequestException
object
: The request cannot be processed because some parameter is not valid or the project state prevents the operation from being performed.- message ErrorMessage
Boolean
- Boolean
boolean
BundleDescription
- BundleDescription
string
: Description of the download bundle.
BundleDetails
- BundleDetails
object
: The details of the bundle.- availablePlatforms Platforms
- bundleId BundleId
- description BundleDescription
- iconUrl IconUrl
- title BundleTitle
- version BundleVersion
BundleId
- BundleId
string
: Unique bundle identifier.
BundleList
- BundleList
array
: A list of bundles.- items BundleDetails
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.- contents Contents
CreateProjectResult
- CreateProjectResult
object
: Result structure used in response to a request to create a project.- details ProjectDetails
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.- details BundleDetails
DescribeProjectRequest
- DescribeProjectRequest
object
: Request structure used to request details about a project.
DescribeProjectResult
- DescribeProjectResult
object
: Result structure used for requests of project details.- details ProjectDetails
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.- downloadUrl DownloadUrl
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.- downloadUrl DownloadUrl
- shareUrl ShareUrl
- snapshotId SnapshotId
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.- message ErrorMessage
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.- message ErrorMessage
ListBundlesRequest
- ListBundlesRequest
object
: Request structure to request all available bundles.
ListBundlesResult
- ListBundlesResult
object
: Result structure contains a list of all available bundles with details.- bundleList BundleList
- nextToken NextToken
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.- nextToken NextToken
- projects ProjectSummaries
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.- message ErrorMessage
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.- items Platform
ProjectDetails
- ProjectDetails
object
: Detailed information about an AWS Mobile Hub project.- consoleUrl ConsoleUrl
- createdDate Date
- lastUpdatedDate Date
- name ProjectName
- projectId ProjectId
- region ProjectRegion
- resources Resources
- state ProjectState
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
- ProjectSummaries
array
: List of projects.- items ProjectSummary
ProjectSummary
- ProjectSummary
object
: Summary information about an AWS Mobile Hub project.- name ProjectName
- projectId ProjectId
Resource
- Resource
object
: Information about an instance of an AWS resource associated with a project.- arn ResourceArn
- attributes Attributes
- feature Feature
- name ResourceName
- type ResourceType
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.- items Resource
ServiceUnavailableException
- ServiceUnavailableException
object
: The service is temporarily unavailable. The request should be retried after some time delay.- message ErrorMessage
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.- message ErrorMessage
UnauthorizedException
- UnauthorizedException
object
: Credentials of the caller are insufficient to authorize the request.- message ErrorMessage
UpdateProjectRequest
- UpdateProjectRequest
object
: Request structure used for requests to update project configuration.- contents Contents
UpdateProjectResult
- UpdateProjectResult
object
: Result structure used for requests to updated project configuration.- details ProjectDetails