@aws-sdk/client-cognito-identity 3.927.0 → 3.928.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/index.js +721 -882
- package/dist-cjs/runtimeConfig.shared.js +7 -0
- package/dist-es/CognitoIdentityClient.js +2 -0
- package/dist-es/commands/CreateIdentityPoolCommand.js +3 -9
- package/dist-es/commands/DeleteIdentitiesCommand.js +3 -9
- package/dist-es/commands/DeleteIdentityPoolCommand.js +3 -9
- package/dist-es/commands/DescribeIdentityCommand.js +3 -9
- package/dist-es/commands/DescribeIdentityPoolCommand.js +3 -9
- package/dist-es/commands/GetCredentialsForIdentityCommand.js +3 -10
- package/dist-es/commands/GetIdCommand.js +3 -10
- package/dist-es/commands/GetIdentityPoolRolesCommand.js +3 -9
- package/dist-es/commands/GetOpenIdTokenCommand.js +3 -10
- package/dist-es/commands/GetOpenIdTokenForDeveloperIdentityCommand.js +3 -10
- package/dist-es/commands/GetPrincipalTagAttributeMapCommand.js +3 -9
- package/dist-es/commands/ListIdentitiesCommand.js +3 -9
- package/dist-es/commands/ListIdentityPoolsCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/LookupDeveloperIdentityCommand.js +3 -9
- package/dist-es/commands/MergeDeveloperIdentitiesCommand.js +3 -9
- package/dist-es/commands/SetIdentityPoolRolesCommand.js +3 -9
- package/dist-es/commands/SetPrincipalTagAttributeMapCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UnlinkDeveloperIdentityCommand.js +3 -9
- package/dist-es/commands/UnlinkIdentityCommand.js +3 -10
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateIdentityPoolCommand.js +3 -9
- package/dist-es/models/models_0.js +0 -37
- package/dist-es/runtimeConfig.shared.js +7 -0
- package/dist-es/schemas/schemas_0.js +650 -0
- package/dist-types/CognitoIdentityClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -36
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +103 -0
- package/dist-types/ts3.4/CognitoIdentityClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -23
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +110 -0
- package/package.json +6 -6
- package/dist-es/protocols/Aws_json1_1.js +0 -647
- package/dist-types/protocols/Aws_json1_1.d.ts +0 -209
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -281
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateIdentityPool } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateIdentityPoolCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSCognitoIdentityService", "UpdateIdentityPool", {})
|
|
17
13
|
.n("CognitoIdentityClient", "UpdateIdentityPoolCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateIdentityPoolCommand)
|
|
20
|
-
.de(de_UpdateIdentityPoolCommand)
|
|
14
|
+
.sc(UpdateIdentityPool)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
1
|
import { CognitoIdentityServiceException as __BaseException } from "./CognitoIdentityServiceException";
|
|
3
2
|
export const AmbiguousRoleResolutionType = {
|
|
4
3
|
AUTHENTICATED_ROLE: "AuthenticatedRole",
|
|
@@ -150,39 +149,3 @@ export class ConcurrentModificationException extends __BaseException {
|
|
|
150
149
|
Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
|
|
151
150
|
}
|
|
152
151
|
}
|
|
153
|
-
export const GetCredentialsForIdentityInputFilterSensitiveLog = (obj) => ({
|
|
154
|
-
...obj,
|
|
155
|
-
...(obj.Logins && { Logins: SENSITIVE_STRING }),
|
|
156
|
-
});
|
|
157
|
-
export const CredentialsFilterSensitiveLog = (obj) => ({
|
|
158
|
-
...obj,
|
|
159
|
-
...(obj.SecretKey && { SecretKey: SENSITIVE_STRING }),
|
|
160
|
-
});
|
|
161
|
-
export const GetCredentialsForIdentityResponseFilterSensitiveLog = (obj) => ({
|
|
162
|
-
...obj,
|
|
163
|
-
...(obj.Credentials && { Credentials: CredentialsFilterSensitiveLog(obj.Credentials) }),
|
|
164
|
-
});
|
|
165
|
-
export const GetIdInputFilterSensitiveLog = (obj) => ({
|
|
166
|
-
...obj,
|
|
167
|
-
...(obj.Logins && { Logins: SENSITIVE_STRING }),
|
|
168
|
-
});
|
|
169
|
-
export const GetOpenIdTokenInputFilterSensitiveLog = (obj) => ({
|
|
170
|
-
...obj,
|
|
171
|
-
...(obj.Logins && { Logins: SENSITIVE_STRING }),
|
|
172
|
-
});
|
|
173
|
-
export const GetOpenIdTokenResponseFilterSensitiveLog = (obj) => ({
|
|
174
|
-
...obj,
|
|
175
|
-
...(obj.Token && { Token: SENSITIVE_STRING }),
|
|
176
|
-
});
|
|
177
|
-
export const GetOpenIdTokenForDeveloperIdentityInputFilterSensitiveLog = (obj) => ({
|
|
178
|
-
...obj,
|
|
179
|
-
...(obj.Logins && { Logins: SENSITIVE_STRING }),
|
|
180
|
-
});
|
|
181
|
-
export const GetOpenIdTokenForDeveloperIdentityResponseFilterSensitiveLog = (obj) => ({
|
|
182
|
-
...obj,
|
|
183
|
-
...(obj.Token && { Token: SENSITIVE_STRING }),
|
|
184
|
-
});
|
|
185
|
-
export const UnlinkIdentityInputFilterSensitiveLog = (obj) => ({
|
|
186
|
-
...obj,
|
|
187
|
-
...(obj.Logins && { Logins: SENSITIVE_STRING }),
|
|
188
|
-
});
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsJson1_1Protocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoAuthSigner } from "@smithy/core";
|
|
3
4
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
4
5
|
import { parseUrl } from "@smithy/url-parser";
|
|
@@ -28,6 +29,12 @@ export const getRuntimeConfig = (config) => {
|
|
|
28
29
|
},
|
|
29
30
|
],
|
|
30
31
|
logger: config?.logger ?? new NoOpLogger(),
|
|
32
|
+
protocol: config?.protocol ??
|
|
33
|
+
new AwsJson1_1Protocol({
|
|
34
|
+
defaultNamespace: "com.amazonaws.cognitoidentity",
|
|
35
|
+
serviceTarget: "AWSCognitoIdentityService",
|
|
36
|
+
awsQueryCompatible: false,
|
|
37
|
+
}),
|
|
31
38
|
serviceId: config?.serviceId ?? "Cognito Identity",
|
|
32
39
|
urlParser: config?.urlParser ?? parseUrl,
|
|
33
40
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|