aws

package
v0.1.24 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EC2Clientset = registry.New[string, *Client[*ec2.Client]]()

EC2Clientset provides the registry of EC2 clients.

View Source
var ELBClientset = registry.New[string, *Client[*elb.Client]]()

ELBClientset provides the registry of ELB v1 clients.

View Source
var ELBv2Clientset = registry.New[string, *Client[*elbv2.Client]]()

ELBv2Clientset provides the registry of ELB v2 clients.

View Source
var Route53Clientset = registry.New[string, *Client[*route53.Client]]()

Route53Clientset provides the registry of Route53 clients.

View Source
var S3Clientset = registry.New[string, *Client[*s3.Client]]()

S3Clientset provides the registry of S3 clients.

Functions

This section is empty.

Types

type Client

type Client[T any] struct {
	// NamedCredentials is the name of the credentials, which were used to
	// create the client.
	NamedCredentials string

	// AccountID is the AWS Account ID that owns or contains the calling
	// entity.
	AccountID string

	// ARN is the AWS ARN associated with the calling entity.
	ARN string

	// UserID is the unique identifier of the calling identity.
	UserID string

	// Client is the client used to make API calls to the AWS services.
	Client T
}

Client is a wrapper for an AWS API client, which comes with additional metadata such as the named credentials which were used to create the client, and also includes information about the caller identity.

Jump to

Keyboard shortcuts

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