endpoint.go 582 B

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