package endpoints

import "github.com/aws/aws-sdk-go-v2/service/cloudfront/internal/endpoints"

Index

Types

type Options

type Options struct {
	DisableHTTPS bool
}

Options is the endpoint resolver configuration options

type Resolver

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

Resolver CloudFront endpoint resolver

func New

func New() *Resolver

New returns a new Resolver

func (*Resolver) ResolveEndpoint

func (r *Resolver) ResolveEndpoint(region string, options Options) (endpoint aws.Endpoint, err error)

ResolveEndpoint resolves the service endpoint for the given region and options

Source Files

endpoints.go

Version
v1.1.0
Published
Jan 29, 2021
Platform
js/wasm
Imports
3 packages
Last checked
16 minutes ago

Tools for package owners.