import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client"; import { MobileServiceException as __BaseException } from "./MobileServiceException"; /** *
* Account Action is required in order to continue the request. *
* @public */ export declare class AccountActionRequiredException extends __BaseException { readonly name: "AccountActionRequiredException"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType* The request cannot be processed because some parameter is not valid or the project * state prevents the operation from being performed. *
* @public */ export declare class BadRequestException extends __BaseException { readonly name: "BadRequestException"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType* Request structure used to request a project be created. *
* @public */ export interface CreateProjectRequest { /** ** Name of the project. *
* @public */ name?: string; /** ** Default region where project resources should be created. *
* @public */ region?: string; /** ** ZIP or YAML file which contains configuration settings to be used when creating * the project. This may be the contents of the file downloaded from the URL provided * in an export project operation. *
* @public */ contents?: Uint8Array; /** ** Unique identifier for an exported snapshot of project configuration. This * snapshot identifier is included in the share URL when a project is exported. *
* @public */ snapshotId?: string; } /** ** Information about an instance of an AWS resource associated with a project. *
* @public */ export interface Resource { /** ** Simplified name for type of AWS resource (e.g., bucket is an Amazon S3 bucket). *
* @public */ type?: string; /** ** Name of the AWS resource (e.g., for an Amazon S3 bucket this is the name of the bucket). *
* @public */ name?: string; /** ** AWS resource name which uniquely identifies the resource in AWS systems. *
* @public */ arn?: string; /** ** Identifies which feature in AWS Mobile Hub is associated with this AWS resource. *
* @public */ feature?: string; /** ** Key-value attribute pairs. *
* @public */ attributes?: Record* Detailed information about an AWS Mobile Hub project. *
* @public */ export interface ProjectDetails { /** ** Name of the project. *
* @public */ name?: string; /** ** Unique project identifier. *
* @public */ projectId?: string; /** ** Default region to use for AWS resource creation in the AWS Mobile Hub project. *
* @public */ region?: string; /** ** Synchronization state for a project. *
* @public */ state?: ProjectState; /** ** Date the project was created. *
* @public */ createdDate?: Date; /** ** Date of the last modification of the project. *
* @public */ lastUpdatedDate?: Date; /** ** Website URL for this project in the AWS Mobile Hub console. *
* @public */ consoleUrl?: string; /** ** List of AWS resources associated with a project. *
* @public */ resources?: Resource[]; } /** ** Result structure used in response to a request to create a project. *
* @public */ export interface CreateProjectResult { /** ** Detailed information about the created AWS Mobile Hub project. *
* @public */ details?: ProjectDetails; } /** ** The service has encountered an unexpected error condition which prevents it from * servicing the request. *
* @public */ export declare class InternalFailureException extends __BaseException { readonly name: "InternalFailureException"; readonly $fault: "server"; /** * @internal */ constructor(opts: __ExceptionOptionType* 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. *
* @public */ export declare class LimitExceededException extends __BaseException { readonly name: "LimitExceededException"; readonly $fault: "client"; /** ** The Exception Error Message. *
* @public */ retryAfterSeconds?: string; /** * @internal */ constructor(opts: __ExceptionOptionType* No entity can be found with the specified identifier. *
* @public */ export declare class NotFoundException extends __BaseException { readonly name: "NotFoundException"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType* The service is temporarily unavailable. The request should be retried after some * time delay. *
* @public */ export declare class ServiceUnavailableException extends __BaseException { readonly name: "ServiceUnavailableException"; readonly $fault: "server"; /** ** The Exception Error Message. *
* @public */ retryAfterSeconds?: string; /** * @internal */ constructor(opts: __ExceptionOptionType* Too many requests have been received for this AWS account in too short a time. The * request should be retried after some time delay. *
* @public */ export declare class TooManyRequestsException extends __BaseException { readonly name: "TooManyRequestsException"; readonly $fault: "client"; /** ** The Exception Error Message. *
* @public */ retryAfterSeconds?: string; /** * @internal */ constructor(opts: __ExceptionOptionType* Credentials of the caller are insufficient to authorize the request. *
* @public */ export declare class UnauthorizedException extends __BaseException { readonly name: "UnauthorizedException"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType* Request structure used to request a project be deleted. *
* @public */ export interface DeleteProjectRequest { /** ** Unique project identifier. *
* @public */ projectId: string | undefined; } /** ** Result structure used in response to request to delete a project. *
* @public */ export interface DeleteProjectResult { /** ** Resources which were deleted. *
* @public */ deletedResources?: Resource[]; /** ** Resources which were not deleted, due to a risk of losing potentially * important data or files. *
* @public */ orphanedResources?: Resource[]; } /** ** Request structure to request the details of a specific bundle. *
* @public */ export interface DescribeBundleRequest { /** ** Unique bundle identifier. *
* @public */ bundleId: string | undefined; } /** * @public * @enum */ export declare const Platform: { readonly ANDROID: "ANDROID"; readonly JAVASCRIPT: "JAVASCRIPT"; readonly LINUX: "LINUX"; readonly OBJC: "OBJC"; readonly OSX: "OSX"; readonly SWIFT: "SWIFT"; readonly WINDOWS: "WINDOWS"; }; /** * @public */ export type Platform = (typeof Platform)[keyof typeof Platform]; /** ** The details of the bundle. *
* @public */ export interface BundleDetails { /** ** Unique bundle identifier. *
* @public */ bundleId?: string; /** ** Title of the download bundle. *
* @public */ title?: string; /** ** Version of the download bundle. *
* @public */ version?: string; /** ** Description of the download bundle. *
* @public */ description?: string; /** ** Icon for the download bundle. *
* @public */ iconUrl?: string; /** ** Developer desktop or mobile app or website platforms. *
* @public */ availablePlatforms?: Platform[]; } /** ** Result structure contains the details of the bundle. *
* @public */ export interface DescribeBundleResult { /** ** The details of the bundle. *
* @public */ details?: BundleDetails; } /** ** Request structure used to request details about a project. *
* @public */ export interface DescribeProjectRequest { /** ** Unique project identifier. *
* @public */ projectId: string | undefined; /** ** If set to true, causes AWS Mobile Hub to synchronize information from other services, e.g., update state of AWS CloudFormation stacks in the AWS Mobile Hub project. *
* @public */ syncFromResources?: boolean; } /** ** Result structure used for requests of project details. *
* @public */ export interface DescribeProjectResult { /** ** Detailed information about an AWS Mobile Hub project. *
* @public */ details?: ProjectDetails; } /** ** Request structure used to request generation of custom SDK and tool packages * required to integrate mobile web or app clients with backed AWS resources. *
* @public */ export interface ExportBundleRequest { /** ** Unique bundle identifier. *
* @public */ bundleId: string | undefined; /** ** Unique project identifier. *
* @public */ projectId?: string; /** ** Developer desktop or target application platform. *
* @public */ platform?: Platform; } /** ** 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. *
* @public */ export interface ExportBundleResult { /** ** URL which contains the custom-generated SDK and tool packages used * to integrate the client mobile app or web app with the AWS resources * created by the AWS Mobile Hub project. *
* @public */ downloadUrl?: string; } /** ** Request structure used in requests to export project configuration details. *
* @public */ export interface ExportProjectRequest { /** ** Unique project identifier. *
* @public */ projectId: string | undefined; } /** ** Result structure used for requests to export project configuration details. *
* @public */ export interface ExportProjectResult { /** ** URL which can be used to download the exported project configuation file(s). *
* @public */ downloadUrl?: 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. *
* @public */ shareUrl?: string; /** ** Unique identifier for the exported snapshot of the project configuration. This * snapshot identifier is included in the share URL. *
* @public */ snapshotId?: string; } /** ** Request structure to request all available bundles. *
* @public */ export interface ListBundlesRequest { /** ** Maximum number of records to list in a single response. *
* @public */ maxResults?: number; /** ** Pagination token. Set to null to start listing bundles from start. * If non-null pagination token is returned in a result, then pass its * value in here in another request to list more bundles. *
* @public */ nextToken?: string; } /** ** Result structure contains a list of all available bundles with details. *
* @public */ export interface ListBundlesResult { /** ** A list of bundles. *
* @public */ bundleList?: BundleDetails[]; /** ** Pagination token. If non-null pagination token is returned in a result, * then pass its value in another request to fetch more entries. *
* @public */ nextToken?: string; } /** ** Request structure used to request projects list in AWS Mobile Hub. *
* @public */ export interface ListProjectsRequest { /** ** Maximum number of records to list in a single response. *
* @public */ maxResults?: number; /** ** Pagination token. Set to null to start listing projects from start. * If non-null pagination token is returned in a result, then pass its * value in here in another request to list more projects. *
* @public */ nextToken?: string; } /** ** Summary information about an AWS Mobile Hub project. *
* @public */ export interface ProjectSummary { /** ** Name of the project. *
* @public */ name?: string; /** ** Unique project identifier. *
* @public */ projectId?: string; } /** ** Result structure used for requests to list projects in AWS Mobile Hub. *
* @public */ export interface ListProjectsResult { /** ** List of projects. *
* @public */ projects?: ProjectSummary[]; /** ** 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. *
* @public */ nextToken?: string; } /** ** Request structure used for requests to update project configuration. *
* @public */ export interface UpdateProjectRequest { /** ** ZIP or YAML file which contains project configuration to be updated. This should * be the contents of the file downloaded from the URL provided in an export project * operation. *
* @public */ contents?: Uint8Array; /** ** Unique project identifier. *
* @public */ projectId: string | undefined; } /** ** Result structure used for requests to updated project configuration. *
* @public */ export interface UpdateProjectResult { /** ** Detailed information about the updated AWS Mobile Hub project. *
* @public */ details?: ProjectDetails; }