myaws

package
v0.0.0-...-20aa941 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudFormationAPI

type CloudFormationAPI interface {
	DescribeStacks(ctx context.Context, params *cloudformation.DescribeStacksInput, optFns ...func(*cloudformation.Options)) (*cloudformation.DescribeStacksOutput, error)
}

type CloudFormationClientInterface

type CloudFormationClientInterface interface {
	GetCloudFormationOutput(ctx context.Context, stackName, outputKey string) (string, error)
}

type CognitoClientInterface

type CognitoClientInterface interface {
	SignUp(ctx context.Context, username, password string) (string, error)
	ConfirmSignUp(ctx context.Context, username, confirmationCode string) error
	Login(ctx context.Context, username, password string) (string, string, error) // Updated to return two strings
	Logout(ctx context.Context, accessToken string) error
}

func NewCognitoClient

func NewCognitoClient(api CognitoAPI, clientID, userPoolID string) CognitoClientInterface

Jump to

Keyboard shortcuts

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