awsclient

package
v0.0.0-...-7a2aee4 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 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 AWSClient

type AWSClient struct {
	// contains filtered or unexported fields
}

AWSClient wraps the AWS Service's clients

func NewAWSClient

func NewAWSClient(region string) *AWSClient

NewAWSClient initializes a new AWSClient instance with the specified AWS region. It uses sync.Once to ensure that the client is created only once, even if called concurrently.

func (*AWSClient) GetSESClient

func (c *AWSClient) GetSESClient() *ses.Client

GetSESClient returns the SES client from the AWSClient instance. This allows access to SES functionality for sending emails, etc.

Jump to

Keyboard shortcuts

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