export_project

Mobile.Client.export_project(**kwargs)

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.

See also: AWS API Documentation

Request Syntax

response = client.export_project(
    projectId='string'
)
Parameters
projectId (string) --

[REQUIRED]

Unique project identifier.

Return type
dict
Returns
Response Syntax
{
    'downloadUrl': 'string',
    'shareUrl': 'string',
    'snapshotId': 'string'
}

Response Structure

  • (dict) --

    Result structure used for requests to export project configuration details.

    • downloadUrl (string) --

      URL which can be used to download the exported project configuation file(s).

    • 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 (string) --

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

Exceptions

  • Mobile.Client.exceptions.InternalFailureException
  • Mobile.Client.exceptions.ServiceUnavailableException
  • Mobile.Client.exceptions.UnauthorizedException
  • Mobile.Client.exceptions.TooManyRequestsException
  • Mobile.Client.exceptions.BadRequestException
  • Mobile.Client.exceptions.NotFoundException