Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

AmplifyBackend

import { AmplifyBackend } from "https://aws-api.deno.dev/v0.3/services/amplifybackend.ts?docs=full";
class AmplifyBackend {
constructor(apiFactory: client.ApiFactory);
async cloneBackend(params: CloneBackendRequest, opts?: client.RequestOptions): Promise<CloneBackendResponse>;
async createBackend(params: CreateBackendRequest, opts?: client.RequestOptions): Promise<CreateBackendResponse>;
async createBackendAPI(params: CreateBackendAPIRequest, opts?: client.RequestOptions): Promise<CreateBackendAPIResponse>;
async createBackendAuth(params: CreateBackendAuthRequest, opts?: client.RequestOptions): Promise<CreateBackendAuthResponse>;
async createBackendConfig(params: CreateBackendConfigRequest, opts?: client.RequestOptions): Promise<CreateBackendConfigResponse>;
async createBackendStorage(params: CreateBackendStorageRequest, opts?: client.RequestOptions): Promise<CreateBackendStorageResponse>;
async createToken(params: CreateTokenRequest, opts?: client.RequestOptions): Promise<CreateTokenResponse>;
async deleteBackend(params: DeleteBackendRequest, opts?: client.RequestOptions): Promise<DeleteBackendResponse>;
async deleteBackendAPI(params: DeleteBackendAPIRequest, opts?: client.RequestOptions): Promise<DeleteBackendAPIResponse>;
async deleteBackendAuth(params: DeleteBackendAuthRequest, opts?: client.RequestOptions): Promise<DeleteBackendAuthResponse>;
async deleteBackendStorage(params: DeleteBackendStorageRequest, opts?: client.RequestOptions): Promise<DeleteBackendStorageResponse>;
async deleteToken(params: DeleteTokenRequest, opts?: client.RequestOptions): Promise<DeleteTokenResponse>;
async generateBackendAPIModels(params: GenerateBackendAPIModelsRequest, opts?: client.RequestOptions): Promise<GenerateBackendAPIModelsResponse>;
async getBackend(params: GetBackendRequest, opts?: client.RequestOptions): Promise<GetBackendResponse>;
async getBackendAPI(params: GetBackendAPIRequest, opts?: client.RequestOptions): Promise<GetBackendAPIResponse>;
async getBackendAPIModels(params: GetBackendAPIModelsRequest, opts?: client.RequestOptions): Promise<GetBackendAPIModelsResponse>;
async getBackendAuth(params: GetBackendAuthRequest, opts?: client.RequestOptions): Promise<GetBackendAuthResponse>;
async getBackendJob(params: GetBackendJobRequest, opts?: client.RequestOptions): Promise<GetBackendJobResponse>;
async getBackendStorage(params: GetBackendStorageRequest, opts?: client.RequestOptions): Promise<GetBackendStorageResponse>;
async getToken(params: GetTokenRequest, opts?: client.RequestOptions): Promise<GetTokenResponse>;
async importBackendAuth(params: ImportBackendAuthRequest, opts?: client.RequestOptions): Promise<ImportBackendAuthResponse>;
async importBackendStorage(params: ImportBackendStorageRequest, opts?: client.RequestOptions): Promise<ImportBackendStorageResponse>;
async listBackendJobs(params: ListBackendJobsRequest, opts?: client.RequestOptions): Promise<ListBackendJobsResponse>;
async listS3Buckets(params?: ListS3BucketsRequest, opts?: client.RequestOptions): Promise<ListS3BucketsResponse>;
async removeAllBackends(params: RemoveAllBackendsRequest, opts?: client.RequestOptions): Promise<RemoveAllBackendsResponse>;
async removeBackendConfig(params: RemoveBackendConfigRequest, opts?: client.RequestOptions): Promise<RemoveBackendConfigResponse>;
async updateBackendAPI(params: UpdateBackendAPIRequest, opts?: client.RequestOptions): Promise<UpdateBackendAPIResponse>;
async updateBackendAuth(params: UpdateBackendAuthRequest, opts?: client.RequestOptions): Promise<UpdateBackendAuthResponse>;
async updateBackendConfig(params: UpdateBackendConfigRequest, opts?: client.RequestOptions): Promise<UpdateBackendConfigResponse>;
async updateBackendJob(params: UpdateBackendJobRequest, opts?: client.RequestOptions): Promise<UpdateBackendJobResponse>;
async updateBackendStorage(params: UpdateBackendStorageRequest, opts?: client.RequestOptions): Promise<UpdateBackendStorageResponse>;
 
static ApiMetadata: client.ApiMetadata;
}

§Constructors

§
new AmplifyBackend(apiFactory: client.ApiFactory)
[src]

§Methods

§

This operation clones an existing backend.

§

This operation creates a backend for an Amplify app. Backends are automatically created at the time of app creation.

§

Creates a new backend API resource.

§

Creates a new backend authentication resource.

§

Creates a config object for a backend.

§

Creates a backend storage resource.

§

Generates a one-time challenge code to authenticate a user into your Amplify Admin UI.

§

Removes an existing environment from your Amplify project.

§

Deletes an existing backend API resource.

§

Deletes an existing backend authentication resource.

§

Removes the specified backend storage resource.

§

Deletes the challenge token based on the given appId and sessionId.

§

Generates a model schema for an existing backend API resource.

§

Provides project-level details for your Amplify UI project.

§

Gets the details for a backend API.

§

Generates a model schema for existing backend API resource.

§

Gets a backend auth details.

§

Returns information about a specific job.

§

Gets details for a backend storage resource.

§
getToken(params: GetTokenRequest, opts?: client.RequestOptions): Promise<GetTokenResponse>
[src]

Gets the challenge token based on the given appId and sessionId.

§

Imports an existing backend authentication resource.

§

Imports an existing backend storage resource.

§

Lists the jobs for the backend of an Amplify app.

§

The list of S3 buckets in your account.

§

Removes all backend environments from your Amplify project.

§

Removes the AWS resources required to access the Amplify Admin UI.

§

Updates an existing backend API resource.

§

Updates an existing backend authentication resource.

§

Updates the AWS resources required to access the Amplify Admin UI.

§

Updates a specific job.

§

Updates an existing backend storage resource.

§Static Properties