|
1 | 1 | // Package defaults is a collection of helpers to retrieve the SDK's default |
2 | 2 | // configuration and handlers. |
3 | 3 | // |
4 | | -// Generally this package shouldn't be used directly, but session.Session |
| 4 | +// Generally this package shouldn't be used directly, but external.Config |
5 | 5 | // instead. This package is useful when you need to reset the defaults |
6 | | -// of a session or service client to the SDK defaults before setting |
| 6 | +// of a service client to the SDK defaults before setting |
7 | 7 | // additional parameters. |
8 | | -// |
9 | | -// TODO rename to "default" |
10 | 8 | package defaults |
11 | 9 |
|
12 | 10 | import ( |
@@ -43,7 +41,7 @@ func (l defaultLogger) Log(args ...interface{}) { |
43 | 41 | // |
44 | 42 | // Generally you shouldn't need to use this method directly, but |
45 | 43 | // is available if you need to reset the configuration of an |
46 | | -// existing service client or session. |
| 44 | +// existing service client. |
47 | 45 | func Config() aws.Config { |
48 | 46 | return aws.Config{ |
49 | 47 | EndpointResolver: endpoints.NewDefaultResolver(), |
@@ -74,7 +72,7 @@ func HTTPClient() *http.Client { |
74 | 72 | // |
75 | 73 | // Generally you shouldn't need to use this method directly, but |
76 | 74 | // is available if you need to reset the request handlers of an |
77 | | -// existing service client or session. |
| 75 | +// existing service client. |
78 | 76 | func Handlers() aws.Handlers { |
79 | 77 | var handlers aws.Handlers |
80 | 78 |
|
|
0 commit comments