demo

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2026 License: MIT Imports: 34 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadData

func LoadData(
	ctx context.Context,
	clients *Clients,
) error

LoadData loads sample data into all supported services.

Types

type Caller

type Caller interface {
	Call(ctx context.Context, op string, params any) (map[string]any, error)
}

Caller invokes one AWS service operation in-process; params may be any JSON-shaped value.

func NewWireCaller

func NewWireCaller(key string, handler http.Handler, creds aws.CredentialsProvider, region string) (Caller, error)

NewWireCaller returns a Caller for the sdkwire service key that talks to handler without a generated SDK client.

type Clients

type Clients struct {
	DynamoDB       *dynamodb.Client
	S3             *s3.Client
	SQS            *sqs.Client
	SNS            *sns.Client
	IAM            *iam.Client
	STS            *sts.Client
	SSM            *ssm.Client
	KMS            *kms.Client
	SecretsManager *secretsmanager.Client
	ECR            Caller
	Lambda         *lambdasdk.Client
	AppSync        Caller
	Amplify        Caller
	ECS            Caller
	EKS            Caller
	IoT            Caller
	CodeDeploy     Caller
	CodePipeline   Caller
}

Clients holds all AWS SDK clients for demo data loading.

Jump to

Keyboard shortcuts

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