Help us shape the future of Go! Take the 2026 Go Developer Survey

demo

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2026 License: MIT Imports: 33 Imported by: 0

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