endpoint.go raw

   1  package transport
   2  
   3  import (
   4  	"net/http"
   5  	"net/url"
   6  
   7  	"github.com/aws/smithy-go"
   8  )
   9  
  10  // Endpoint is the endpoint object returned by Endpoint resolution V2
  11  type Endpoint struct {
  12  	// The complete URL minimally specifying the scheme and host.
  13  	// May optionally specify the port and base path component.
  14  	URI url.URL
  15  
  16  	// An optional set of headers to be sent using transport layer headers.
  17  	Headers http.Header
  18  
  19  	// A grab-bag property map of endpoint attributes. The
  20  	// values present here are subject to change, or being add/removed at any
  21  	// time.
  22  	Properties smithy.Properties
  23  }
  24