client

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 27, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

AWS Cognito client

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadZip

func ReadZip(path string) (r io.Reader, err error)

ReadZip reads zip archive from file into memory.

Types

type Client

type Client struct {
	*amplify.Amplify
}

func New

func New(region string) *Client

New inits the client.

func (*Client) DeployZip

func (c *Client) DeployZip(ctx context.Context, appID, branch, path string) error

DeployZip deploys the web-app into AWS Cognito from zip archive.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL