Skip to content

Commit

Permalink
add customUserAgent to ConfigurationOptions (#1459)
Browse files Browse the repository at this point in the history
* add customUserAgent to ConfigurationOptions

* clarify user agent behavior
  • Loading branch information
ericb authored and jeskew committed Apr 14, 2017
1 parent 0c1925f commit da5e7b2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/config.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,12 @@ export abstract class ConfigurationOptions {
* Whether to apply a clock skew correction and retry requests that fail because of an skewed client clock.
*/
correctClockSkew?: boolean
/**
* Sets a custom User-Agent string.
* In node environments this will set the User-Agent header, but
* browser environments this will set the X-Amz-User-Agent header.
*/
customUserAgent?: string
/**
* The AWS credentials to sign requests with.
*/
Expand Down

0 comments on commit da5e7b2

Please sign in to comment.