mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
aws-sdk: added support for apiVersion/apiVersions config options.
This commit is contained in:
Vendored
+18
-13
@@ -31,19 +31,7 @@ declare module "aws-sdk" {
|
||||
xhrWithCredentials?: boolean;
|
||||
}
|
||||
|
||||
export interface ClientConfigPartial {
|
||||
credentials?: Credentials;
|
||||
region?: string;
|
||||
computeChecksums?: boolean;
|
||||
convertResponseTypes?: boolean;
|
||||
logger?: Logger;
|
||||
maxRedirects?: number;
|
||||
maxRetries?: number;
|
||||
paramValidation?: boolean;
|
||||
s3ForcePathStyle?: boolean;
|
||||
signatureVersion?: string;
|
||||
sslEnabled?: boolean;
|
||||
systemClockOffset?: number;
|
||||
export interface Services {
|
||||
autoscaling?: any;
|
||||
cloudformation?: any;
|
||||
cloudfront?: any;
|
||||
@@ -84,6 +72,23 @@ declare module "aws-sdk" {
|
||||
swf?: any;
|
||||
}
|
||||
|
||||
export interface ClientConfigPartial extends Services {
|
||||
credentials?: Credentials;
|
||||
region?: string;
|
||||
computeChecksums?: boolean;
|
||||
convertResponseTypes?: boolean;
|
||||
logger?: Logger;
|
||||
maxRedirects?: number;
|
||||
maxRetries?: number;
|
||||
paramValidation?: boolean;
|
||||
s3ForcePathStyle?: boolean;
|
||||
apiVersion?: any;
|
||||
apiVersions?: Services;
|
||||
signatureVersion?: string;
|
||||
sslEnabled?: boolean;
|
||||
systemClockOffset?: number;
|
||||
}
|
||||
|
||||
export interface ClientConfig extends ClientConfigPartial {
|
||||
update?: (options: ClientConfigPartial, allUnknownKeys?: boolean) => void;
|
||||
getCredentials?: (callback: (err?: any) => void) => void ;
|
||||
|
||||
Reference in New Issue
Block a user