Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
normalize: (
value: string | __aws_sdk_types.Provider | undefined
) => {
if (typeof value === "string") {
const promisified = Promise.resolve(value);
return () => promisified;
}
return value!;
}
},
sslEnabled: {
defaultValue: true
},
urlParser: {
defaultValue: __aws_sdk_url_parser_node.parseUrl
},
endpointProvider: {
defaultValue: (sslEnabled: boolean, region: string) => ({
protocol: sslEnabled ? "https:" : "http:",
path: "/",
hostname: `dynamodb.${region}.amazonaws.com`
})
},
endpoint: {
defaultProvider: (configuration: {
sslEnabled: boolean;
endpointProvider: any;
region: __aws_sdk_types.Provider;
}) => {
const promisified = configuration
.region()
normalize: (
value: string | __aws_sdk_types.Provider | undefined
) => {
if (typeof value === "string") {
const promisified = Promise.resolve(value);
return () => promisified;
}
return value!;
}
},
sslEnabled: {
defaultValue: true
},
urlParser: {
defaultValue: __aws_sdk_url_parser_node.parseUrl
},
endpointProvider: {
defaultValue: (sslEnabled: boolean, region: string) => ({
protocol: sslEnabled ? "https:" : "http:",
path: "/",
hostname: `cognito-idp.${region}.amazonaws.com`
})
},
endpoint: {
defaultProvider: (configuration: {
sslEnabled: boolean;
endpointProvider: any;
region: __aws_sdk_types.Provider;
}) => {
const promisified = configuration
.region()
normalize: (
value: string | __aws_sdk_types.Provider | undefined
) => {
if (typeof value === "string") {
const promisified = Promise.resolve(value);
return () => promisified;
}
return value!;
}
},
sslEnabled: {
defaultValue: true
},
urlParser: {
defaultValue: __aws_sdk_url_parser_node.parseUrl
},
endpointProvider: {
defaultValue: (sslEnabled: boolean, region: string) => ({
protocol: sslEnabled ? "https:" : "http:",
path: "/",
hostname: `lambda.${region}.amazonaws.com`
})
},
endpoint: {
defaultProvider: (configuration: {
sslEnabled: boolean;
endpointProvider: any;
region: __aws_sdk_types.Provider;
}) => {
const promisified = configuration
.region()
normalize: (
value: string | __aws_sdk_types.Provider | undefined
) => {
if (typeof value === "string") {
const promisified = Promise.resolve(value);
return () => promisified;
}
return value!;
}
},
sslEnabled: {
defaultValue: true
},
urlParser: {
defaultValue: __aws_sdk_url_parser_node.parseUrl
},
endpointProvider: {
defaultValue: (sslEnabled: boolean, region: string) => ({
protocol: sslEnabled ? "https:" : "http:",
path: "/",
hostname: `s3.${region}.amazonaws.com`
})
},
endpoint: {
defaultProvider: (configuration: {
sslEnabled: boolean;
endpointProvider: any;
region: __aws_sdk_types.Provider;
}) => {
const promisified = configuration
.region()
normalize: (
value: string | __aws_sdk_types.Provider | undefined
) => {
if (typeof value === "string") {
const promisified = Promise.resolve(value);
return () => promisified;
}
return value!;
}
},
sslEnabled: {
defaultValue: true
},
urlParser: {
defaultValue: __aws_sdk_url_parser_node.parseUrl
},
endpointProvider: {
defaultValue: (sslEnabled: boolean, region: string) => ({
protocol: sslEnabled ? "https:" : "http:",
path: "/",
hostname: `kms.${region}.amazonaws.com`
})
},
endpoint: {
defaultProvider: (configuration: {
sslEnabled: boolean;
endpointProvider: any;
region: __aws_sdk_types.Provider;
}) => {
const promisified = configuration
.region()
normalize: (
value: string | __aws_sdk_types.Provider | undefined
) => {
if (typeof value === "string") {
const promisified = Promise.resolve(value);
return () => promisified;
}
return value!;
}
},
sslEnabled: {
defaultValue: true
},
urlParser: {
defaultValue: __aws_sdk_url_parser_node.parseUrl
},
endpointProvider: {
defaultValue: (sslEnabled: boolean, region: string) => ({
protocol: sslEnabled ? "https:" : "http:",
path: "/",
hostname: `codecommit.${region}.amazonaws.com`
})
},
endpoint: {
defaultProvider: (configuration: {
sslEnabled: boolean;
endpointProvider: any;
region: __aws_sdk_types.Provider;
}) => {
const promisified = configuration
.region()
normalize: (
value: string | __aws_sdk_types.Provider | undefined
) => {
if (typeof value === "string") {
const promisified = Promise.resolve(value);
return () => promisified;
}
return value!;
}
},
sslEnabled: {
defaultValue: true
},
urlParser: {
defaultValue: __aws_sdk_url_parser_node.parseUrl
},
endpointProvider: {
defaultValue: (sslEnabled: boolean, region: string) => ({
protocol: sslEnabled ? "https:" : "http:",
path: "/",
hostname: `sqs.${region}.amazonaws.com`
})
},
endpoint: {
defaultProvider: (configuration: {
sslEnabled: boolean;
endpointProvider: any;
region: __aws_sdk_types.Provider;
}) => {
const promisified = configuration
.region()
normalize: (
value: string | __aws_sdk_types.Provider | undefined
) => {
if (typeof value === "string") {
const promisified = Promise.resolve(value);
return () => promisified;
}
return value!;
}
},
sslEnabled: {
defaultValue: true
},
urlParser: {
defaultValue: __aws_sdk_url_parser_node.parseUrl
},
endpointProvider: {
defaultValue: (sslEnabled: boolean, region: string) => ({
protocol: sslEnabled ? "https:" : "http:",
path: "/",
hostname: `xray.${region}.amazonaws.com`
})
},
endpoint: {
defaultProvider: (configuration: {
sslEnabled: boolean;
endpointProvider: any;
region: __aws_sdk_types.Provider;
}) => {
const promisified = configuration
.region()
normalize: (
value: string | __aws_sdk_types.Provider | undefined
) => {
if (typeof value === "string") {
const promisified = Promise.resolve(value);
return () => promisified;
}
return value!;
}
},
sslEnabled: {
defaultValue: true
},
urlParser: {
defaultValue: __aws_sdk_url_parser_node.parseUrl
},
endpointProvider: {
defaultValue: (sslEnabled: boolean, region: string) => ({
protocol: sslEnabled ? "https:" : "http:",
path: "/",
hostname: `rekognition.${region}.amazonaws.com`
})
},
endpoint: {
defaultProvider: (configuration: {
sslEnabled: boolean;
endpointProvider: any;
region: __aws_sdk_types.Provider;
}) => {
const promisified = configuration
.region()