Update
This commit is contained in:
7
vendor/github.com/aws/aws-sdk-go-v2/service/sts/options.go
generated
vendored
7
vendor/github.com/aws/aws-sdk-go-v2/service/sts/options.go
generated
vendored
@@ -119,12 +119,18 @@ type Options struct {
|
||||
// implementation if nil.
|
||||
HTTPClient HTTPClient
|
||||
|
||||
// Client registry of operation interceptors.
|
||||
Interceptors smithyhttp.InterceptorRegistry
|
||||
|
||||
// The auth scheme resolver which determines how to authenticate for each
|
||||
// operation.
|
||||
AuthSchemeResolver AuthSchemeResolver
|
||||
|
||||
// The list of auth schemes supported by the client.
|
||||
AuthSchemes []smithyhttp.AuthScheme
|
||||
|
||||
// Priority list of preferred auth scheme names (e.g. sigv4a).
|
||||
AuthSchemePreference []string
|
||||
}
|
||||
|
||||
// Copy creates a clone where the APIOptions list is deep copied.
|
||||
@@ -132,6 +138,7 @@ func (o Options) Copy() Options {
|
||||
to := o
|
||||
to.APIOptions = make([]func(*middleware.Stack) error, len(o.APIOptions))
|
||||
copy(to.APIOptions, o.APIOptions)
|
||||
to.Interceptors = o.Interceptors.Copy()
|
||||
|
||||
return to
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user