aws

package
v2.0.0-...-4a48578 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const OpenSearchServerless = "aoss"

OpenSearchServerless Amazon OpenSearch Serverless Name

View Source
const OpenSearchService = "es"

OpenSearchService Amazon OpenSearch Service Name

Variables

This section is empty.

Functions

This section is empty.

Types

type Signer

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

Signer is an interface that will implement opensearchtransport.Signer

func NewSigner

func NewSigner(opts session.Options) (*Signer, error)

NewSigner returns an instance of Signer for configured for Amazon OpenSearch Service. Use NewSignerWithService to configure it for another service such as Amazon OpenSearch Serverless.

func NewSignerWithService

func NewSignerWithService(opts session.Options, service string) (*Signer, error)

NewSignerWithService returns an instance of Signer for a given service.

func (Signer) SignRequest

func (s Signer) SignRequest(req *http.Request) error

SignRequest signs the request using SigV4.

Jump to

Keyboard shortcuts

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