@aws-sdk/client-cognito-identity 3.511.0 → 3.514.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +1 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +68 -0
- package/dist-cjs/index.js +84 -63
- package/dist-cjs/runtimeConfig.shared.js +16 -0
- package/dist-es/CognitoIdentityClient.js +17 -3
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +62 -0
- package/dist-es/commands/CreateIdentityPoolCommand.js +0 -2
- package/dist-es/commands/DeleteIdentitiesCommand.js +0 -2
- package/dist-es/commands/DeleteIdentityPoolCommand.js +0 -2
- package/dist-es/commands/DescribeIdentityCommand.js +0 -2
- package/dist-es/commands/DescribeIdentityPoolCommand.js +0 -2
- package/dist-es/commands/GetIdentityPoolRolesCommand.js +0 -2
- package/dist-es/commands/GetOpenIdTokenForDeveloperIdentityCommand.js +0 -2
- package/dist-es/commands/GetPrincipalTagAttributeMapCommand.js +0 -2
- package/dist-es/commands/ListIdentitiesCommand.js +0 -2
- package/dist-es/commands/ListIdentityPoolsCommand.js +0 -2
- package/dist-es/commands/ListTagsForResourceCommand.js +0 -2
- package/dist-es/commands/LookupDeveloperIdentityCommand.js +0 -2
- package/dist-es/commands/MergeDeveloperIdentitiesCommand.js +0 -2
- package/dist-es/commands/SetIdentityPoolRolesCommand.js +0 -2
- package/dist-es/commands/SetPrincipalTagAttributeMapCommand.js +0 -2
- package/dist-es/commands/TagResourceCommand.js +0 -2
- package/dist-es/commands/UnlinkDeveloperIdentityCommand.js +0 -2
- package/dist-es/commands/UntagResourceCommand.js +0 -2
- package/dist-es/commands/UpdateIdentityPoolCommand.js +0 -2
- package/dist-es/runtimeConfig.shared.js +16 -0
- package/dist-es/runtimeExtensions.js +3 -0
- package/dist-types/CognitoIdentityClient.d.ts +13 -11
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
- package/dist-types/extensionConfiguration.d.ts +2 -1
- package/dist-types/runtimeConfig.browser.d.ts +13 -3
- package/dist-types/runtimeConfig.d.ts +12 -2
- package/dist-types/runtimeConfig.native.d.ts +14 -4
- package/dist-types/runtimeConfig.shared.d.ts +13 -0
- package/dist-types/ts3.4/CognitoIdentityClient.d.ts +11 -9
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +3 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +30 -5
- package/dist-types/ts3.4/runtimeConfig.d.ts +29 -4
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +33 -8
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +30 -0
- package/package.json +8 -8
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { resolveAwsSdkSigV4Config, } from "@aws-sdk/core";
|
|
2
|
+
import { getSmithyContext, normalizeProvider } from "@smithy/util-middleware";
|
|
3
|
+
export const defaultCognitoIdentityHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
4
|
+
return {
|
|
5
|
+
operation: getSmithyContext(context).operation,
|
|
6
|
+
region: (await normalizeProvider(config.region)()) ||
|
|
7
|
+
(() => {
|
|
8
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
9
|
+
})(),
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
13
|
+
return {
|
|
14
|
+
schemeId: "aws.auth#sigv4",
|
|
15
|
+
signingProperties: {
|
|
16
|
+
name: "cognito-identity",
|
|
17
|
+
region: authParameters.region,
|
|
18
|
+
},
|
|
19
|
+
propertiesExtractor: (config, context) => ({
|
|
20
|
+
signingProperties: {
|
|
21
|
+
config,
|
|
22
|
+
context,
|
|
23
|
+
},
|
|
24
|
+
}),
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
function createSmithyApiNoAuthHttpAuthOption(authParameters) {
|
|
28
|
+
return {
|
|
29
|
+
schemeId: "smithy.api#noAuth",
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
export const defaultCognitoIdentityHttpAuthSchemeProvider = (authParameters) => {
|
|
33
|
+
const options = [];
|
|
34
|
+
switch (authParameters.operation) {
|
|
35
|
+
case "GetCredentialsForIdentity": {
|
|
36
|
+
options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));
|
|
37
|
+
break;
|
|
38
|
+
}
|
|
39
|
+
case "GetId": {
|
|
40
|
+
options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));
|
|
41
|
+
break;
|
|
42
|
+
}
|
|
43
|
+
case "GetOpenIdToken": {
|
|
44
|
+
options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));
|
|
45
|
+
break;
|
|
46
|
+
}
|
|
47
|
+
case "UnlinkIdentity": {
|
|
48
|
+
options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));
|
|
49
|
+
break;
|
|
50
|
+
}
|
|
51
|
+
default: {
|
|
52
|
+
options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
return options;
|
|
56
|
+
};
|
|
57
|
+
export const resolveHttpAuthSchemeConfig = (config) => {
|
|
58
|
+
const config_0 = resolveAwsSdkSigV4Config(config);
|
|
59
|
+
return {
|
|
60
|
+
...config_0,
|
|
61
|
+
};
|
|
62
|
+
};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
2
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
@@ -14,7 +13,6 @@ export class CreateIdentityPoolCommand extends $Command
|
|
|
14
13
|
return [
|
|
15
14
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
15
|
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
-
getAwsAuthPlugin(config),
|
|
18
16
|
];
|
|
19
17
|
})
|
|
20
18
|
.s("AWSCognitoIdentityService", "CreateIdentityPool", {})
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
2
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
@@ -14,7 +13,6 @@ export class DeleteIdentitiesCommand extends $Command
|
|
|
14
13
|
return [
|
|
15
14
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
15
|
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
-
getAwsAuthPlugin(config),
|
|
18
16
|
];
|
|
19
17
|
})
|
|
20
18
|
.s("AWSCognitoIdentityService", "DeleteIdentities", {})
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
2
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
@@ -14,7 +13,6 @@ export class DeleteIdentityPoolCommand extends $Command
|
|
|
14
13
|
return [
|
|
15
14
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
15
|
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
-
getAwsAuthPlugin(config),
|
|
18
16
|
];
|
|
19
17
|
})
|
|
20
18
|
.s("AWSCognitoIdentityService", "DeleteIdentityPool", {})
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
2
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
@@ -14,7 +13,6 @@ export class DescribeIdentityCommand extends $Command
|
|
|
14
13
|
return [
|
|
15
14
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
15
|
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
-
getAwsAuthPlugin(config),
|
|
18
16
|
];
|
|
19
17
|
})
|
|
20
18
|
.s("AWSCognitoIdentityService", "DescribeIdentity", {})
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
2
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
@@ -14,7 +13,6 @@ export class DescribeIdentityPoolCommand extends $Command
|
|
|
14
13
|
return [
|
|
15
14
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
15
|
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
-
getAwsAuthPlugin(config),
|
|
18
16
|
];
|
|
19
17
|
})
|
|
20
18
|
.s("AWSCognitoIdentityService", "DescribeIdentityPool", {})
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
2
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
@@ -14,7 +13,6 @@ export class GetIdentityPoolRolesCommand extends $Command
|
|
|
14
13
|
return [
|
|
15
14
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
15
|
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
-
getAwsAuthPlugin(config),
|
|
18
16
|
];
|
|
19
17
|
})
|
|
20
18
|
.s("AWSCognitoIdentityService", "GetIdentityPoolRoles", {})
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
2
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
@@ -14,7 +13,6 @@ export class GetOpenIdTokenForDeveloperIdentityCommand extends $Command
|
|
|
14
13
|
return [
|
|
15
14
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
15
|
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
-
getAwsAuthPlugin(config),
|
|
18
16
|
];
|
|
19
17
|
})
|
|
20
18
|
.s("AWSCognitoIdentityService", "GetOpenIdTokenForDeveloperIdentity", {})
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
2
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
@@ -14,7 +13,6 @@ export class GetPrincipalTagAttributeMapCommand extends $Command
|
|
|
14
13
|
return [
|
|
15
14
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
15
|
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
-
getAwsAuthPlugin(config),
|
|
18
16
|
];
|
|
19
17
|
})
|
|
20
18
|
.s("AWSCognitoIdentityService", "GetPrincipalTagAttributeMap", {})
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
2
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
@@ -14,7 +13,6 @@ export class ListIdentitiesCommand extends $Command
|
|
|
14
13
|
return [
|
|
15
14
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
15
|
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
-
getAwsAuthPlugin(config),
|
|
18
16
|
];
|
|
19
17
|
})
|
|
20
18
|
.s("AWSCognitoIdentityService", "ListIdentities", {})
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
2
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
@@ -14,7 +13,6 @@ export class ListIdentityPoolsCommand extends $Command
|
|
|
14
13
|
return [
|
|
15
14
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
15
|
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
-
getAwsAuthPlugin(config),
|
|
18
16
|
];
|
|
19
17
|
})
|
|
20
18
|
.s("AWSCognitoIdentityService", "ListIdentityPools", {})
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
2
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
@@ -14,7 +13,6 @@ export class ListTagsForResourceCommand extends $Command
|
|
|
14
13
|
return [
|
|
15
14
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
15
|
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
-
getAwsAuthPlugin(config),
|
|
18
16
|
];
|
|
19
17
|
})
|
|
20
18
|
.s("AWSCognitoIdentityService", "ListTagsForResource", {})
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
2
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
@@ -14,7 +13,6 @@ export class LookupDeveloperIdentityCommand extends $Command
|
|
|
14
13
|
return [
|
|
15
14
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
15
|
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
-
getAwsAuthPlugin(config),
|
|
18
16
|
];
|
|
19
17
|
})
|
|
20
18
|
.s("AWSCognitoIdentityService", "LookupDeveloperIdentity", {})
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
2
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
@@ -14,7 +13,6 @@ export class MergeDeveloperIdentitiesCommand extends $Command
|
|
|
14
13
|
return [
|
|
15
14
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
15
|
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
-
getAwsAuthPlugin(config),
|
|
18
16
|
];
|
|
19
17
|
})
|
|
20
18
|
.s("AWSCognitoIdentityService", "MergeDeveloperIdentities", {})
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
2
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
@@ -14,7 +13,6 @@ export class SetIdentityPoolRolesCommand extends $Command
|
|
|
14
13
|
return [
|
|
15
14
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
15
|
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
-
getAwsAuthPlugin(config),
|
|
18
16
|
];
|
|
19
17
|
})
|
|
20
18
|
.s("AWSCognitoIdentityService", "SetIdentityPoolRoles", {})
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
2
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
@@ -14,7 +13,6 @@ export class SetPrincipalTagAttributeMapCommand extends $Command
|
|
|
14
13
|
return [
|
|
15
14
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
15
|
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
-
getAwsAuthPlugin(config),
|
|
18
16
|
];
|
|
19
17
|
})
|
|
20
18
|
.s("AWSCognitoIdentityService", "SetPrincipalTagAttributeMap", {})
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
2
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
@@ -14,7 +13,6 @@ export class TagResourceCommand extends $Command
|
|
|
14
13
|
return [
|
|
15
14
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
15
|
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
-
getAwsAuthPlugin(config),
|
|
18
16
|
];
|
|
19
17
|
})
|
|
20
18
|
.s("AWSCognitoIdentityService", "TagResource", {})
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
2
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
@@ -14,7 +13,6 @@ export class UnlinkDeveloperIdentityCommand extends $Command
|
|
|
14
13
|
return [
|
|
15
14
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
15
|
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
-
getAwsAuthPlugin(config),
|
|
18
16
|
];
|
|
19
17
|
})
|
|
20
18
|
.s("AWSCognitoIdentityService", "UnlinkDeveloperIdentity", {})
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
2
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
@@ -14,7 +13,6 @@ export class UntagResourceCommand extends $Command
|
|
|
14
13
|
return [
|
|
15
14
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
15
|
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
-
getAwsAuthPlugin(config),
|
|
18
16
|
];
|
|
19
17
|
})
|
|
20
18
|
.s("AWSCognitoIdentityService", "UntagResource", {})
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
2
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
@@ -14,7 +13,6 @@ export class UpdateIdentityPoolCommand extends $Command
|
|
|
14
13
|
return [
|
|
15
14
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
15
|
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
-
getAwsAuthPlugin(config),
|
|
18
16
|
];
|
|
19
17
|
})
|
|
20
18
|
.s("AWSCognitoIdentityService", "UpdateIdentityPool", {})
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { NoAuthSigner } from "@smithy/core";
|
|
1
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
2
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
3
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
4
6
|
import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
|
|
7
|
+
import { defaultCognitoIdentityHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
|
|
5
8
|
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
6
9
|
export const getRuntimeConfig = (config) => {
|
|
7
10
|
return {
|
|
@@ -11,6 +14,19 @@ export const getRuntimeConfig = (config) => {
|
|
|
11
14
|
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
12
15
|
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
13
16
|
extensions: config?.extensions ?? [],
|
|
17
|
+
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultCognitoIdentityHttpAuthSchemeProvider,
|
|
18
|
+
httpAuthSchemes: config?.httpAuthSchemes ?? [
|
|
19
|
+
{
|
|
20
|
+
schemeId: "aws.auth#sigv4",
|
|
21
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
|
|
22
|
+
signer: new AwsSdkSigV4Signer(),
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
schemeId: "smithy.api#noAuth",
|
|
26
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#noAuth") || (async () => ({})),
|
|
27
|
+
signer: new NoAuthSigner(),
|
|
28
|
+
},
|
|
29
|
+
],
|
|
14
30
|
logger: config?.logger ?? new NoOpLogger(),
|
|
15
31
|
serviceId: config?.serviceId ?? "Cognito Identity",
|
|
16
32
|
urlParser: config?.urlParser ?? parseUrl,
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, } from "@aws-sdk/region-config-resolver";
|
|
2
2
|
import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
|
|
3
3
|
import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
|
|
4
|
+
import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from "./auth/httpAuthExtensionConfiguration";
|
|
4
5
|
const asPartial = (t) => t;
|
|
5
6
|
export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
6
7
|
const extensionConfiguration = {
|
|
7
8
|
...asPartial(getAwsRegionExtensionConfiguration(runtimeConfig)),
|
|
8
9
|
...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
|
|
9
10
|
...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)),
|
|
11
|
+
...asPartial(getHttpAuthExtensionConfiguration(runtimeConfig)),
|
|
10
12
|
};
|
|
11
13
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
12
14
|
return {
|
|
@@ -14,5 +16,6 @@ export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
|
14
16
|
...resolveAwsRegionExtensionConfiguration(extensionConfiguration),
|
|
15
17
|
...resolveDefaultRuntimeConfig(extensionConfiguration),
|
|
16
18
|
...resolveHttpHandlerRuntimeConfig(extensionConfiguration),
|
|
19
|
+
...resolveHttpAuthRuntimeConfig(extensionConfiguration),
|
|
17
20
|
};
|
|
18
21
|
};
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
2
|
-
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
3
2
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
4
|
-
import { Credentials as __Credentials } from "@aws-sdk/types";
|
|
5
3
|
import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
|
|
6
4
|
import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";
|
|
7
5
|
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
8
6
|
import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
|
|
9
7
|
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
|
|
10
|
-
import { BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
8
|
+
import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
|
+
import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
11
10
|
import { CreateIdentityPoolCommandInput, CreateIdentityPoolCommandOutput } from "./commands/CreateIdentityPoolCommand";
|
|
12
11
|
import { DeleteIdentitiesCommandInput, DeleteIdentitiesCommandOutput } from "./commands/DeleteIdentitiesCommand";
|
|
13
12
|
import { DeleteIdentityPoolCommandInput, DeleteIdentityPoolCommandOutput } from "./commands/DeleteIdentityPoolCommand";
|
|
@@ -114,20 +113,21 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
114
113
|
* Enables FIPS compatible endpoints.
|
|
115
114
|
*/
|
|
116
115
|
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
116
|
+
/**
|
|
117
|
+
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
118
|
+
* @internal
|
|
119
|
+
*/
|
|
120
|
+
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
117
121
|
/**
|
|
118
122
|
* The AWS region to which this client will send requests
|
|
119
123
|
*/
|
|
120
124
|
region?: string | __Provider<string>;
|
|
121
125
|
/**
|
|
122
126
|
* Default credentials provider; Not available in browser runtime.
|
|
127
|
+
* @deprecated
|
|
123
128
|
* @internal
|
|
124
129
|
*/
|
|
125
|
-
credentialDefaultProvider?: (input: any) =>
|
|
126
|
-
/**
|
|
127
|
-
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
128
|
-
* @internal
|
|
129
|
-
*/
|
|
130
|
-
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
130
|
+
credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
|
|
131
131
|
/**
|
|
132
132
|
* Value for how many times a request will be made at most in case of retry.
|
|
133
133
|
*/
|
|
@@ -154,7 +154,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
154
154
|
/**
|
|
155
155
|
* @public
|
|
156
156
|
*/
|
|
157
|
-
export type CognitoIdentityClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig &
|
|
157
|
+
export type CognitoIdentityClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & UserAgentInputConfig & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
|
|
158
158
|
/**
|
|
159
159
|
* @public
|
|
160
160
|
*
|
|
@@ -165,7 +165,7 @@ export interface CognitoIdentityClientConfig extends CognitoIdentityClientConfig
|
|
|
165
165
|
/**
|
|
166
166
|
* @public
|
|
167
167
|
*/
|
|
168
|
-
export type CognitoIdentityClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig &
|
|
168
|
+
export type CognitoIdentityClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & UserAgentResolvedConfig & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
|
|
169
169
|
/**
|
|
170
170
|
* @public
|
|
171
171
|
*
|
|
@@ -202,4 +202,6 @@ export declare class CognitoIdentityClient extends __Client<__HttpHandlerOptions
|
|
|
202
202
|
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
203
203
|
*/
|
|
204
204
|
destroy(): void;
|
|
205
|
+
private getDefaultHttpAuthSchemeParametersProvider;
|
|
206
|
+
private getIdentityProviderConfigProvider;
|
|
205
207
|
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types";
|
|
2
|
+
import { CognitoIdentityHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export interface HttpAuthExtensionConfiguration {
|
|
7
|
+
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
8
|
+
httpAuthSchemes(): HttpAuthScheme[];
|
|
9
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider: CognitoIdentityHttpAuthSchemeProvider): void;
|
|
10
|
+
httpAuthSchemeProvider(): CognitoIdentityHttpAuthSchemeProvider;
|
|
11
|
+
setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
|
|
12
|
+
credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @internal
|
|
16
|
+
*/
|
|
17
|
+
export type HttpAuthRuntimeConfig = Partial<{
|
|
18
|
+
httpAuthSchemes: HttpAuthScheme[];
|
|
19
|
+
httpAuthSchemeProvider: CognitoIdentityHttpAuthSchemeProvider;
|
|
20
|
+
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
|
21
|
+
}>;
|
|
22
|
+
/**
|
|
23
|
+
* @internal
|
|
24
|
+
*/
|
|
25
|
+
export declare const getHttpAuthExtensionConfiguration: (runtimeConfig: HttpAuthRuntimeConfig) => HttpAuthExtensionConfiguration;
|
|
26
|
+
/**
|
|
27
|
+
* @internal
|
|
28
|
+
*/
|
|
29
|
+
export declare const resolveHttpAuthRuntimeConfig: (config: HttpAuthExtensionConfiguration) => HttpAuthRuntimeConfig;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
|
|
2
|
+
import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider } from "@smithy/types";
|
|
3
|
+
import { CognitoIdentityClientResolvedConfig } from "../CognitoIdentityClient";
|
|
4
|
+
/**
|
|
5
|
+
* @internal
|
|
6
|
+
*/
|
|
7
|
+
export interface CognitoIdentityHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
|
|
8
|
+
region?: string;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
export interface CognitoIdentityHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<CognitoIdentityClientResolvedConfig, HandlerExecutionContext, CognitoIdentityHttpAuthSchemeParameters, object> {
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare const defaultCognitoIdentityHttpAuthSchemeParametersProvider: (config: CognitoIdentityClientResolvedConfig, context: HandlerExecutionContext, input: object) => Promise<CognitoIdentityHttpAuthSchemeParameters>;
|
|
19
|
+
/**
|
|
20
|
+
* @internal
|
|
21
|
+
*/
|
|
22
|
+
export interface CognitoIdentityHttpAuthSchemeProvider extends HttpAuthSchemeProvider<CognitoIdentityHttpAuthSchemeParameters> {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @internal
|
|
26
|
+
*/
|
|
27
|
+
export declare const defaultCognitoIdentityHttpAuthSchemeProvider: CognitoIdentityHttpAuthSchemeProvider;
|
|
28
|
+
/**
|
|
29
|
+
* @internal
|
|
30
|
+
*/
|
|
31
|
+
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
32
|
+
/**
|
|
33
|
+
* experimentalIdentityAndAuth: Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
34
|
+
* @internal
|
|
35
|
+
*/
|
|
36
|
+
httpAuthSchemes?: HttpAuthScheme[];
|
|
37
|
+
/**
|
|
38
|
+
* experimentalIdentityAndAuth: Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
|
|
39
|
+
* @internal
|
|
40
|
+
*/
|
|
41
|
+
httpAuthSchemeProvider?: CognitoIdentityHttpAuthSchemeProvider;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* @internal
|
|
45
|
+
*/
|
|
46
|
+
export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
|
|
47
|
+
/**
|
|
48
|
+
* experimentalIdentityAndAuth: Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
49
|
+
* @internal
|
|
50
|
+
*/
|
|
51
|
+
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
52
|
+
/**
|
|
53
|
+
* experimentalIdentityAndAuth: Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
|
|
54
|
+
* @internal
|
|
55
|
+
*/
|
|
56
|
+
readonly httpAuthSchemeProvider: CognitoIdentityHttpAuthSchemeProvider;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* @internal
|
|
60
|
+
*/
|
|
61
|
+
export declare const resolveHttpAuthSchemeConfig: <T>(config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved) => T & HttpAuthSchemeResolvedConfig;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
2
|
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
3
3
|
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
|
+
import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
4
5
|
/**
|
|
5
6
|
* @internal
|
|
6
7
|
*/
|
|
7
|
-
export interface CognitoIdentityExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration {
|
|
8
|
+
export interface CognitoIdentityExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration, HttpAuthExtensionConfiguration {
|
|
8
9
|
}
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: CognitoIdentityClientConfig) =>
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
-
credentialDefaultProvider: (input: any) => import("@smithy/types").
|
|
10
|
+
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
11
11
|
defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<any>;
|
|
@@ -36,11 +36,21 @@ export declare const getRuntimeConfig: (config: CognitoIdentityClientConfig) =>
|
|
|
36
36
|
}) => import("@smithy/types").EndpointV2;
|
|
37
37
|
tls?: boolean | undefined;
|
|
38
38
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
39
|
-
|
|
39
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
40
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | ({
|
|
41
|
+
schemeId: string;
|
|
42
|
+
identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
|
|
43
|
+
signer: import("@aws-sdk/core").AwsSdkSigV4Signer;
|
|
44
|
+
} | {
|
|
45
|
+
schemeId: string;
|
|
46
|
+
identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | (() => Promise<{}>);
|
|
47
|
+
signer: import("@smithy/core").NoAuthSigner;
|
|
48
|
+
})[];
|
|
49
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CognitoIdentityHttpAuthSchemeProvider;
|
|
50
|
+
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
40
51
|
signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
|
|
41
52
|
signingEscapePath?: boolean | undefined;
|
|
42
53
|
systemClockOffset?: number | undefined;
|
|
43
54
|
signingRegion?: string | undefined;
|
|
44
55
|
signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
|
|
45
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
46
56
|
};
|
|
@@ -36,11 +36,21 @@ export declare const getRuntimeConfig: (config: CognitoIdentityClientConfig) =>
|
|
|
36
36
|
}) => import("@smithy/types").EndpointV2;
|
|
37
37
|
tls?: boolean | undefined;
|
|
38
38
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
39
|
-
|
|
39
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
40
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | ({
|
|
41
|
+
schemeId: string;
|
|
42
|
+
identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
|
|
43
|
+
signer: import("@aws-sdk/core").AwsSdkSigV4Signer;
|
|
44
|
+
} | {
|
|
45
|
+
schemeId: string;
|
|
46
|
+
identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | (() => Promise<{}>);
|
|
47
|
+
signer: import("@smithy/core").NoAuthSigner;
|
|
48
|
+
})[];
|
|
49
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CognitoIdentityHttpAuthSchemeProvider;
|
|
50
|
+
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
40
51
|
signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
|
|
41
52
|
signingEscapePath?: boolean | undefined;
|
|
42
53
|
systemClockOffset?: number | undefined;
|
|
43
54
|
signingRegion?: string | undefined;
|
|
44
55
|
signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
|
|
45
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
46
56
|
};
|