Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
| __aws_sdk_types.Credentials
| __aws_sdk_types.Provider<__aws_sdk_types.Credentials>
| undefined
) => {
if (typeof value === "object") {
const promisified = Promise.resolve(value);
return () => promisified;
} else if (value === undefined) {
throw new Error("credentials cannot be undefined");
}
return value;
}
},
sha256: {
defaultValue: __aws_crypto_sha256_browser.Sha256
},
signingName: {
defaultValue: "personalize"
},
signer: {
defaultProvider: (configuration: {
credentials: __aws_sdk_types.Provider<__aws_sdk_types.Credentials>;
region: __aws_sdk_types.Provider;
sha256: __aws_sdk_types.HashConstructor;
signingName: string;
}) =>
new __aws_sdk_signature_v4.SignatureV4({
credentials: configuration.credentials,
region: configuration.region,
service: configuration.signingName,
sha256: configuration.sha256,
| __aws_sdk_types.Credentials
| __aws_sdk_types.Provider<__aws_sdk_types.Credentials>
| undefined
) => {
if (typeof value === "object") {
const promisified = Promise.resolve(value);
return () => promisified;
} else if (value === undefined) {
throw new Error("credentials cannot be undefined");
}
return value;
}
},
sha256: {
defaultValue: __aws_crypto_sha256_browser.Sha256
},
signingName: {
defaultValue: "codepipeline"
},
signer: {
defaultProvider: (configuration: {
credentials: __aws_sdk_types.Provider<__aws_sdk_types.Credentials>;
region: __aws_sdk_types.Provider;
sha256: __aws_sdk_types.HashConstructor;
signingName: string;
}) =>
new __aws_sdk_signature_v4.SignatureV4({
credentials: configuration.credentials,
region: configuration.region,
service: configuration.signingName,
sha256: configuration.sha256,
| __aws_sdk_types.Credentials
| __aws_sdk_types.Provider<__aws_sdk_types.Credentials>
| undefined
) => {
if (typeof value === "object") {
const promisified = Promise.resolve(value);
return () => promisified;
} else if (value === undefined) {
throw new Error("credentials cannot be undefined");
}
return value;
}
},
sha256: {
defaultValue: __aws_crypto_sha256_browser.Sha256
},
signingName: {
defaultValue: "dynamodb"
},
signer: {
defaultProvider: (configuration: {
credentials: __aws_sdk_types.Provider<__aws_sdk_types.Credentials>;
region: __aws_sdk_types.Provider;
sha256: __aws_sdk_types.HashConstructor;
signingName: string;
}) =>
new __aws_sdk_signature_v4.SignatureV4({
credentials: configuration.credentials,
region: configuration.region,
service: configuration.signingName,
sha256: configuration.sha256,
| __aws_sdk_types.Credentials
| __aws_sdk_types.Provider<__aws_sdk_types.Credentials>
| undefined
) => {
if (typeof value === "object") {
const promisified = Promise.resolve(value);
return () => promisified;
} else if (value === undefined) {
throw new Error("credentials cannot be undefined");
}
return value;
}
},
sha256: {
defaultValue: __aws_crypto_sha256_browser.Sha256
},
signingName: {
defaultValue: "discovery"
},
signer: {
defaultProvider: (configuration: {
credentials: __aws_sdk_types.Provider<__aws_sdk_types.Credentials>;
region: __aws_sdk_types.Provider;
sha256: __aws_sdk_types.HashConstructor;
signingName: string;
}) =>
new __aws_sdk_signature_v4.SignatureV4({
credentials: configuration.credentials,
region: configuration.region,
service: configuration.signingName,
sha256: configuration.sha256,
| __aws_sdk_types.Credentials
| __aws_sdk_types.Provider<__aws_sdk_types.Credentials>
| undefined
) => {
if (typeof value === "object") {
const promisified = Promise.resolve(value);
return () => promisified;
} else if (value === undefined) {
throw new Error("credentials cannot be undefined");
}
return value;
}
},
sha256: {
defaultValue: __aws_crypto_sha256_browser.Sha256
},
signingName: {
defaultValue: "ses"
},
signer: {
defaultProvider: (configuration: {
credentials: __aws_sdk_types.Provider<__aws_sdk_types.Credentials>;
region: __aws_sdk_types.Provider;
sha256: __aws_sdk_types.HashConstructor;
signingName: string;
}) =>
new __aws_sdk_signature_v4.SignatureV4({
credentials: configuration.credentials,
region: configuration.region,
service: configuration.signingName,
sha256: configuration.sha256,
| __aws_sdk_types.Credentials
| __aws_sdk_types.Provider<__aws_sdk_types.Credentials>
| undefined
) => {
if (typeof value === "object") {
const promisified = Promise.resolve(value);
return () => promisified;
} else if (value === undefined) {
throw new Error("credentials cannot be undefined");
}
return value;
}
},
sha256: {
defaultValue: __aws_crypto_sha256_browser.Sha256
},
signingName: {
defaultValue: "kinesisvideo"
},
signer: {
defaultProvider: (configuration: {
credentials: __aws_sdk_types.Provider<__aws_sdk_types.Credentials>;
region: __aws_sdk_types.Provider;
sha256: __aws_sdk_types.HashConstructor;
signingName: string;
}) =>
new __aws_sdk_signature_v4.SignatureV4({
credentials: configuration.credentials,
region: configuration.region,
service: configuration.signingName,
sha256: configuration.sha256,
| __aws_sdk_types.Credentials
| __aws_sdk_types.Provider<__aws_sdk_types.Credentials>
| undefined
) => {
if (typeof value === "object") {
const promisified = Promise.resolve(value);
return () => promisified;
} else if (value === undefined) {
throw new Error("credentials cannot be undefined");
}
return value;
}
},
sha256: {
defaultValue: __aws_crypto_sha256_browser.Sha256
},
signingName: {
defaultValue: "cloudsearch"
},
signer: {
defaultProvider: (configuration: {
credentials: __aws_sdk_types.Provider<__aws_sdk_types.Credentials>;
region: __aws_sdk_types.Provider;
sha256: __aws_sdk_types.HashConstructor;
signingName: string;
}) =>
new __aws_sdk_signature_v4.SignatureV4({
credentials: configuration.credentials,
region: configuration.region,
service: configuration.signingName,
sha256: configuration.sha256,
| __aws_sdk_types.Credentials
| __aws_sdk_types.Provider<__aws_sdk_types.Credentials>
| undefined
) => {
if (typeof value === "object") {
const promisified = Promise.resolve(value);
return () => promisified;
} else if (value === undefined) {
throw new Error("credentials cannot be undefined");
}
return value;
}
},
sha256: {
defaultValue: __aws_crypto_sha256_browser.Sha256
},
signingName: {
defaultValue: "comprehend"
},
signer: {
defaultProvider: (configuration: {
credentials: __aws_sdk_types.Provider<__aws_sdk_types.Credentials>;
region: __aws_sdk_types.Provider;
sha256: __aws_sdk_types.HashConstructor;
signingName: string;
}) =>
new __aws_sdk_signature_v4.SignatureV4({
credentials: configuration.credentials,
region: configuration.region,
service: configuration.signingName,
sha256: configuration.sha256,
| __aws_sdk_types.Credentials
| __aws_sdk_types.Provider<__aws_sdk_types.Credentials>
| undefined
) => {
if (typeof value === "object") {
const promisified = Promise.resolve(value);
return () => promisified;
} else if (value === undefined) {
throw new Error("credentials cannot be undefined");
}
return value;
}
},
sha256: {
defaultValue: __aws_crypto_sha256_browser.Sha256
},
signingName: {
defaultValue: "appmesh"
},
signer: {
defaultProvider: (configuration: {
credentials: __aws_sdk_types.Provider<__aws_sdk_types.Credentials>;
region: __aws_sdk_types.Provider;
sha256: __aws_sdk_types.HashConstructor;
signingName: string;
}) =>
new __aws_sdk_signature_v4.SignatureV4({
credentials: configuration.credentials,
region: configuration.region,
service: configuration.signingName,
sha256: configuration.sha256,
| __aws_sdk_types.Credentials
| __aws_sdk_types.Provider<__aws_sdk_types.Credentials>
| undefined
) => {
if (typeof value === "object") {
const promisified = Promise.resolve(value);
return () => promisified;
} else if (value === undefined) {
throw new Error("credentials cannot be undefined");
}
return value;
}
},
sha256: {
defaultValue: __aws_crypto_sha256_browser.Sha256
},
signingName: {
defaultValue: "appstream"
},
signer: {
defaultProvider: (configuration: {
credentials: __aws_sdk_types.Provider<__aws_sdk_types.Credentials>;
region: __aws_sdk_types.Provider;
sha256: __aws_sdk_types.HashConstructor;
signingName: string;
}) =>
new __aws_sdk_signature_v4.SignatureV4({
credentials: configuration.credentials,
region: configuration.region,
service: configuration.signingName,
sha256: configuration.sha256,