@aws-sdk/client-cognito-identity 3.478.0 → 3.484.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/commands/CreateIdentityPoolCommand.js +19 -42
- package/dist-cjs/commands/DeleteIdentitiesCommand.js +19 -42
- package/dist-cjs/commands/DeleteIdentityPoolCommand.js +19 -42
- package/dist-cjs/commands/DescribeIdentityCommand.js +19 -42
- package/dist-cjs/commands/DescribeIdentityPoolCommand.js +19 -42
- package/dist-cjs/commands/GetCredentialsForIdentityCommand.js +18 -41
- package/dist-cjs/commands/GetIdCommand.js +18 -41
- package/dist-cjs/commands/GetIdentityPoolRolesCommand.js +19 -42
- package/dist-cjs/commands/GetOpenIdTokenCommand.js +18 -41
- package/dist-cjs/commands/GetOpenIdTokenForDeveloperIdentityCommand.js +19 -42
- package/dist-cjs/commands/GetPrincipalTagAttributeMapCommand.js +19 -42
- package/dist-cjs/commands/ListIdentitiesCommand.js +19 -42
- package/dist-cjs/commands/ListIdentityPoolsCommand.js +19 -42
- package/dist-cjs/commands/ListTagsForResourceCommand.js +19 -42
- package/dist-cjs/commands/LookupDeveloperIdentityCommand.js +19 -42
- package/dist-cjs/commands/MergeDeveloperIdentitiesCommand.js +19 -42
- package/dist-cjs/commands/SetIdentityPoolRolesCommand.js +19 -42
- package/dist-cjs/commands/SetPrincipalTagAttributeMapCommand.js +19 -42
- package/dist-cjs/commands/TagResourceCommand.js +19 -42
- package/dist-cjs/commands/UnlinkDeveloperIdentityCommand.js +19 -42
- package/dist-cjs/commands/UnlinkIdentityCommand.js +18 -41
- package/dist-cjs/commands/UntagResourceCommand.js +19 -42
- package/dist-cjs/commands/UpdateIdentityPoolCommand.js +19 -42
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-es/commands/CreateIdentityPoolCommand.js +19 -42
- package/dist-es/commands/DeleteIdentitiesCommand.js +19 -42
- package/dist-es/commands/DeleteIdentityPoolCommand.js +19 -42
- package/dist-es/commands/DescribeIdentityCommand.js +19 -42
- package/dist-es/commands/DescribeIdentityPoolCommand.js +19 -42
- package/dist-es/commands/GetCredentialsForIdentityCommand.js +18 -41
- package/dist-es/commands/GetIdCommand.js +18 -41
- package/dist-es/commands/GetIdentityPoolRolesCommand.js +19 -42
- package/dist-es/commands/GetOpenIdTokenCommand.js +18 -41
- package/dist-es/commands/GetOpenIdTokenForDeveloperIdentityCommand.js +19 -42
- package/dist-es/commands/GetPrincipalTagAttributeMapCommand.js +19 -42
- package/dist-es/commands/ListIdentitiesCommand.js +19 -42
- package/dist-es/commands/ListIdentityPoolsCommand.js +19 -42
- package/dist-es/commands/ListTagsForResourceCommand.js +19 -42
- package/dist-es/commands/LookupDeveloperIdentityCommand.js +19 -42
- package/dist-es/commands/MergeDeveloperIdentitiesCommand.js +19 -42
- package/dist-es/commands/SetIdentityPoolRolesCommand.js +19 -42
- package/dist-es/commands/SetPrincipalTagAttributeMapCommand.js +19 -42
- package/dist-es/commands/TagResourceCommand.js +19 -42
- package/dist-es/commands/UnlinkDeveloperIdentityCommand.js +19 -42
- package/dist-es/commands/UnlinkIdentityCommand.js +18 -41
- package/dist-es/commands/UntagResourceCommand.js +19 -42
- package/dist-es/commands/UpdateIdentityPoolCommand.js +19 -42
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-types/commands/CreateIdentityPoolCommand.d.ts +6 -21
- package/dist-types/commands/DeleteIdentitiesCommand.d.ts +6 -21
- package/dist-types/commands/DeleteIdentityPoolCommand.d.ts +6 -21
- package/dist-types/commands/DescribeIdentityCommand.d.ts +6 -21
- package/dist-types/commands/DescribeIdentityPoolCommand.d.ts +6 -21
- package/dist-types/commands/GetCredentialsForIdentityCommand.d.ts +6 -21
- package/dist-types/commands/GetIdCommand.d.ts +6 -21
- package/dist-types/commands/GetIdentityPoolRolesCommand.d.ts +6 -21
- package/dist-types/commands/GetOpenIdTokenCommand.d.ts +6 -21
- package/dist-types/commands/GetOpenIdTokenForDeveloperIdentityCommand.d.ts +6 -21
- package/dist-types/commands/GetPrincipalTagAttributeMapCommand.d.ts +6 -21
- package/dist-types/commands/ListIdentitiesCommand.d.ts +6 -21
- package/dist-types/commands/ListIdentityPoolsCommand.d.ts +6 -21
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
- package/dist-types/commands/LookupDeveloperIdentityCommand.d.ts +6 -21
- package/dist-types/commands/MergeDeveloperIdentitiesCommand.d.ts +6 -21
- package/dist-types/commands/SetIdentityPoolRolesCommand.d.ts +6 -21
- package/dist-types/commands/SetPrincipalTagAttributeMapCommand.d.ts +6 -21
- package/dist-types/commands/TagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UnlinkDeveloperIdentityCommand.d.ts +6 -21
- package/dist-types/commands/UnlinkIdentityCommand.d.ts +6 -21
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UpdateIdentityPoolCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/commands/CreateIdentityPoolCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteIdentitiesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteIdentityPoolCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeIdentityCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeIdentityPoolCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetCredentialsForIdentityCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetIdCommand.d.ts +12 -23
- package/dist-types/ts3.4/commands/GetIdentityPoolRolesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetOpenIdTokenCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetOpenIdTokenForDeveloperIdentityCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetPrincipalTagAttributeMapCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListIdentitiesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListIdentityPoolsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/LookupDeveloperIdentityCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/MergeDeveloperIdentitiesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/SetIdentityPoolRolesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/SetPrincipalTagAttributeMapCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UnlinkDeveloperIdentityCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UnlinkIdentityCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateIdentityPoolCommand.d.ts +14 -23
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/package.json +12 -12
|
@@ -6,48 +6,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
6
6
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
7
7
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
8
8
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
9
|
-
const
|
|
9
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
10
10
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
11
|
-
class TagResourceCommand extends smithy_client_1.Command
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
const { logger } = configuration;
|
|
30
|
-
const clientName = "CognitoIdentityClient";
|
|
31
|
-
const commandName = "TagResourceCommand";
|
|
32
|
-
const handlerExecutionContext = {
|
|
33
|
-
logger,
|
|
34
|
-
clientName,
|
|
35
|
-
commandName,
|
|
36
|
-
inputFilterSensitiveLog: (_) => _,
|
|
37
|
-
outputFilterSensitiveLog: (_) => _,
|
|
38
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
39
|
-
service: "AWSCognitoIdentityService",
|
|
40
|
-
operation: "TagResource",
|
|
41
|
-
},
|
|
42
|
-
};
|
|
43
|
-
const { requestHandler } = configuration;
|
|
44
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
45
|
-
}
|
|
46
|
-
serialize(input, context) {
|
|
47
|
-
return (0, Aws_json1_1_1.se_TagResourceCommand)(input, context);
|
|
48
|
-
}
|
|
49
|
-
deserialize(output, context) {
|
|
50
|
-
return (0, Aws_json1_1_1.de_TagResourceCommand)(output, context);
|
|
51
|
-
}
|
|
11
|
+
class TagResourceCommand extends smithy_client_1.Command
|
|
12
|
+
.classBuilder()
|
|
13
|
+
.ep({
|
|
14
|
+
...EndpointParameters_1.commonParams,
|
|
15
|
+
})
|
|
16
|
+
.m(function (Command, cs, config, o) {
|
|
17
|
+
return [
|
|
18
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
19
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
20
|
+
(0, middleware_signing_1.getAwsAuthPlugin)(config),
|
|
21
|
+
];
|
|
22
|
+
})
|
|
23
|
+
.s("AWSCognitoIdentityService", "TagResource", {})
|
|
24
|
+
.n("CognitoIdentityClient", "TagResourceCommand")
|
|
25
|
+
.f(void 0, void 0)
|
|
26
|
+
.ser(Aws_json1_1_1.se_TagResourceCommand)
|
|
27
|
+
.de(Aws_json1_1_1.de_TagResourceCommand)
|
|
28
|
+
.build() {
|
|
52
29
|
}
|
|
53
30
|
exports.TagResourceCommand = TagResourceCommand;
|
|
@@ -6,48 +6,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
6
6
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
7
7
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
8
8
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
9
|
-
const
|
|
9
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
10
10
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
11
|
-
class UnlinkDeveloperIdentityCommand extends smithy_client_1.Command
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
const { logger } = configuration;
|
|
30
|
-
const clientName = "CognitoIdentityClient";
|
|
31
|
-
const commandName = "UnlinkDeveloperIdentityCommand";
|
|
32
|
-
const handlerExecutionContext = {
|
|
33
|
-
logger,
|
|
34
|
-
clientName,
|
|
35
|
-
commandName,
|
|
36
|
-
inputFilterSensitiveLog: (_) => _,
|
|
37
|
-
outputFilterSensitiveLog: (_) => _,
|
|
38
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
39
|
-
service: "AWSCognitoIdentityService",
|
|
40
|
-
operation: "UnlinkDeveloperIdentity",
|
|
41
|
-
},
|
|
42
|
-
};
|
|
43
|
-
const { requestHandler } = configuration;
|
|
44
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
45
|
-
}
|
|
46
|
-
serialize(input, context) {
|
|
47
|
-
return (0, Aws_json1_1_1.se_UnlinkDeveloperIdentityCommand)(input, context);
|
|
48
|
-
}
|
|
49
|
-
deserialize(output, context) {
|
|
50
|
-
return (0, Aws_json1_1_1.de_UnlinkDeveloperIdentityCommand)(output, context);
|
|
51
|
-
}
|
|
11
|
+
class UnlinkDeveloperIdentityCommand extends smithy_client_1.Command
|
|
12
|
+
.classBuilder()
|
|
13
|
+
.ep({
|
|
14
|
+
...EndpointParameters_1.commonParams,
|
|
15
|
+
})
|
|
16
|
+
.m(function (Command, cs, config, o) {
|
|
17
|
+
return [
|
|
18
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
19
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
20
|
+
(0, middleware_signing_1.getAwsAuthPlugin)(config),
|
|
21
|
+
];
|
|
22
|
+
})
|
|
23
|
+
.s("AWSCognitoIdentityService", "UnlinkDeveloperIdentity", {})
|
|
24
|
+
.n("CognitoIdentityClient", "UnlinkDeveloperIdentityCommand")
|
|
25
|
+
.f(void 0, void 0)
|
|
26
|
+
.ser(Aws_json1_1_1.se_UnlinkDeveloperIdentityCommand)
|
|
27
|
+
.de(Aws_json1_1_1.de_UnlinkDeveloperIdentityCommand)
|
|
28
|
+
.build() {
|
|
52
29
|
}
|
|
53
30
|
exports.UnlinkDeveloperIdentityCommand = UnlinkDeveloperIdentityCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class UnlinkIdentityCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "CognitoIdentityClient";
|
|
29
|
-
const commandName = "UnlinkIdentityCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AWSCognitoIdentityService",
|
|
38
|
-
operation: "UnlinkIdentity",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_UnlinkIdentityCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_UnlinkIdentityCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UnlinkIdentityCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AWSCognitoIdentityService", "UnlinkIdentity", {})
|
|
22
|
+
.n("CognitoIdentityClient", "UnlinkIdentityCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_UnlinkIdentityCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_UnlinkIdentityCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UnlinkIdentityCommand = UnlinkIdentityCommand;
|
|
@@ -6,48 +6,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
6
6
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
7
7
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
8
8
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
9
|
-
const
|
|
9
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
10
10
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
11
|
-
class UntagResourceCommand extends smithy_client_1.Command
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
const { logger } = configuration;
|
|
30
|
-
const clientName = "CognitoIdentityClient";
|
|
31
|
-
const commandName = "UntagResourceCommand";
|
|
32
|
-
const handlerExecutionContext = {
|
|
33
|
-
logger,
|
|
34
|
-
clientName,
|
|
35
|
-
commandName,
|
|
36
|
-
inputFilterSensitiveLog: (_) => _,
|
|
37
|
-
outputFilterSensitiveLog: (_) => _,
|
|
38
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
39
|
-
service: "AWSCognitoIdentityService",
|
|
40
|
-
operation: "UntagResource",
|
|
41
|
-
},
|
|
42
|
-
};
|
|
43
|
-
const { requestHandler } = configuration;
|
|
44
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
45
|
-
}
|
|
46
|
-
serialize(input, context) {
|
|
47
|
-
return (0, Aws_json1_1_1.se_UntagResourceCommand)(input, context);
|
|
48
|
-
}
|
|
49
|
-
deserialize(output, context) {
|
|
50
|
-
return (0, Aws_json1_1_1.de_UntagResourceCommand)(output, context);
|
|
51
|
-
}
|
|
11
|
+
class UntagResourceCommand extends smithy_client_1.Command
|
|
12
|
+
.classBuilder()
|
|
13
|
+
.ep({
|
|
14
|
+
...EndpointParameters_1.commonParams,
|
|
15
|
+
})
|
|
16
|
+
.m(function (Command, cs, config, o) {
|
|
17
|
+
return [
|
|
18
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
19
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
20
|
+
(0, middleware_signing_1.getAwsAuthPlugin)(config),
|
|
21
|
+
];
|
|
22
|
+
})
|
|
23
|
+
.s("AWSCognitoIdentityService", "UntagResource", {})
|
|
24
|
+
.n("CognitoIdentityClient", "UntagResourceCommand")
|
|
25
|
+
.f(void 0, void 0)
|
|
26
|
+
.ser(Aws_json1_1_1.se_UntagResourceCommand)
|
|
27
|
+
.de(Aws_json1_1_1.de_UntagResourceCommand)
|
|
28
|
+
.build() {
|
|
52
29
|
}
|
|
53
30
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
@@ -6,48 +6,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
6
6
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
7
7
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
8
8
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
9
|
-
const
|
|
9
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
10
10
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
11
|
-
class UpdateIdentityPoolCommand extends smithy_client_1.Command
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
const { logger } = configuration;
|
|
30
|
-
const clientName = "CognitoIdentityClient";
|
|
31
|
-
const commandName = "UpdateIdentityPoolCommand";
|
|
32
|
-
const handlerExecutionContext = {
|
|
33
|
-
logger,
|
|
34
|
-
clientName,
|
|
35
|
-
commandName,
|
|
36
|
-
inputFilterSensitiveLog: (_) => _,
|
|
37
|
-
outputFilterSensitiveLog: (_) => _,
|
|
38
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
39
|
-
service: "AWSCognitoIdentityService",
|
|
40
|
-
operation: "UpdateIdentityPool",
|
|
41
|
-
},
|
|
42
|
-
};
|
|
43
|
-
const { requestHandler } = configuration;
|
|
44
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
45
|
-
}
|
|
46
|
-
serialize(input, context) {
|
|
47
|
-
return (0, Aws_json1_1_1.se_UpdateIdentityPoolCommand)(input, context);
|
|
48
|
-
}
|
|
49
|
-
deserialize(output, context) {
|
|
50
|
-
return (0, Aws_json1_1_1.de_UpdateIdentityPoolCommand)(output, context);
|
|
51
|
-
}
|
|
11
|
+
class UpdateIdentityPoolCommand extends smithy_client_1.Command
|
|
12
|
+
.classBuilder()
|
|
13
|
+
.ep({
|
|
14
|
+
...EndpointParameters_1.commonParams,
|
|
15
|
+
})
|
|
16
|
+
.m(function (Command, cs, config, o) {
|
|
17
|
+
return [
|
|
18
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
19
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
20
|
+
(0, middleware_signing_1.getAwsAuthPlugin)(config),
|
|
21
|
+
];
|
|
22
|
+
})
|
|
23
|
+
.s("AWSCognitoIdentityService", "UpdateIdentityPool", {})
|
|
24
|
+
.n("CognitoIdentityClient", "UpdateIdentityPoolCommand")
|
|
25
|
+
.f(void 0, void 0)
|
|
26
|
+
.ser(Aws_json1_1_1.se_UpdateIdentityPoolCommand)
|
|
27
|
+
.de(Aws_json1_1_1.de_UpdateIdentityPoolCommand)
|
|
28
|
+
.build() {
|
|
52
29
|
}
|
|
53
30
|
exports.UpdateIdentityPoolCommand = UpdateIdentityPoolCommand;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.resolveClientEndpointParameters = void 0;
|
|
3
|
+
exports.commonParams = exports.resolveClientEndpointParameters = void 0;
|
|
4
4
|
const resolveClientEndpointParameters = (options) => {
|
|
5
5
|
return {
|
|
6
6
|
...options,
|
|
@@ -10,3 +10,9 @@ const resolveClientEndpointParameters = (options) => {
|
|
|
10
10
|
};
|
|
11
11
|
};
|
|
12
12
|
exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
|
|
13
|
+
exports.commonParams = {
|
|
14
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
15
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
16
|
+
Region: { type: "builtInParams", name: "region" },
|
|
17
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
18
|
+
};
|
|
@@ -2,48 +2,25 @@ import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
|
2
2
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
3
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
4
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
|
-
import {
|
|
5
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
6
6
|
import { de_CreateIdentityPoolCommand, se_CreateIdentityPoolCommand } from "../protocols/Aws_json1_1";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class CreateIdentityPoolCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
const { logger } = configuration;
|
|
27
|
-
const clientName = "CognitoIdentityClient";
|
|
28
|
-
const commandName = "CreateIdentityPoolCommand";
|
|
29
|
-
const handlerExecutionContext = {
|
|
30
|
-
logger,
|
|
31
|
-
clientName,
|
|
32
|
-
commandName,
|
|
33
|
-
inputFilterSensitiveLog: (_) => _,
|
|
34
|
-
outputFilterSensitiveLog: (_) => _,
|
|
35
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
36
|
-
service: "AWSCognitoIdentityService",
|
|
37
|
-
operation: "CreateIdentityPool",
|
|
38
|
-
},
|
|
39
|
-
};
|
|
40
|
-
const { requestHandler } = configuration;
|
|
41
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
42
|
-
}
|
|
43
|
-
serialize(input, context) {
|
|
44
|
-
return se_CreateIdentityPoolCommand(input, context);
|
|
45
|
-
}
|
|
46
|
-
deserialize(output, context) {
|
|
47
|
-
return de_CreateIdentityPoolCommand(output, context);
|
|
48
|
-
}
|
|
8
|
+
export class CreateIdentityPoolCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
getAwsAuthPlugin(config),
|
|
18
|
+
];
|
|
19
|
+
})
|
|
20
|
+
.s("AWSCognitoIdentityService", "CreateIdentityPool", {})
|
|
21
|
+
.n("CognitoIdentityClient", "CreateIdentityPoolCommand")
|
|
22
|
+
.f(void 0, void 0)
|
|
23
|
+
.ser(se_CreateIdentityPoolCommand)
|
|
24
|
+
.de(de_CreateIdentityPoolCommand)
|
|
25
|
+
.build() {
|
|
49
26
|
}
|
|
@@ -2,48 +2,25 @@ import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
|
2
2
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
3
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
4
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
|
-
import {
|
|
5
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
6
6
|
import { de_DeleteIdentitiesCommand, se_DeleteIdentitiesCommand } from "../protocols/Aws_json1_1";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class DeleteIdentitiesCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
const { logger } = configuration;
|
|
27
|
-
const clientName = "CognitoIdentityClient";
|
|
28
|
-
const commandName = "DeleteIdentitiesCommand";
|
|
29
|
-
const handlerExecutionContext = {
|
|
30
|
-
logger,
|
|
31
|
-
clientName,
|
|
32
|
-
commandName,
|
|
33
|
-
inputFilterSensitiveLog: (_) => _,
|
|
34
|
-
outputFilterSensitiveLog: (_) => _,
|
|
35
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
36
|
-
service: "AWSCognitoIdentityService",
|
|
37
|
-
operation: "DeleteIdentities",
|
|
38
|
-
},
|
|
39
|
-
};
|
|
40
|
-
const { requestHandler } = configuration;
|
|
41
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
42
|
-
}
|
|
43
|
-
serialize(input, context) {
|
|
44
|
-
return se_DeleteIdentitiesCommand(input, context);
|
|
45
|
-
}
|
|
46
|
-
deserialize(output, context) {
|
|
47
|
-
return de_DeleteIdentitiesCommand(output, context);
|
|
48
|
-
}
|
|
8
|
+
export class DeleteIdentitiesCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
getAwsAuthPlugin(config),
|
|
18
|
+
];
|
|
19
|
+
})
|
|
20
|
+
.s("AWSCognitoIdentityService", "DeleteIdentities", {})
|
|
21
|
+
.n("CognitoIdentityClient", "DeleteIdentitiesCommand")
|
|
22
|
+
.f(void 0, void 0)
|
|
23
|
+
.ser(se_DeleteIdentitiesCommand)
|
|
24
|
+
.de(de_DeleteIdentitiesCommand)
|
|
25
|
+
.build() {
|
|
49
26
|
}
|
|
@@ -2,48 +2,25 @@ import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
|
2
2
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
3
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
4
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
|
-
import {
|
|
5
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
6
6
|
import { de_DeleteIdentityPoolCommand, se_DeleteIdentityPoolCommand } from "../protocols/Aws_json1_1";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class DeleteIdentityPoolCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
const { logger } = configuration;
|
|
27
|
-
const clientName = "CognitoIdentityClient";
|
|
28
|
-
const commandName = "DeleteIdentityPoolCommand";
|
|
29
|
-
const handlerExecutionContext = {
|
|
30
|
-
logger,
|
|
31
|
-
clientName,
|
|
32
|
-
commandName,
|
|
33
|
-
inputFilterSensitiveLog: (_) => _,
|
|
34
|
-
outputFilterSensitiveLog: (_) => _,
|
|
35
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
36
|
-
service: "AWSCognitoIdentityService",
|
|
37
|
-
operation: "DeleteIdentityPool",
|
|
38
|
-
},
|
|
39
|
-
};
|
|
40
|
-
const { requestHandler } = configuration;
|
|
41
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
42
|
-
}
|
|
43
|
-
serialize(input, context) {
|
|
44
|
-
return se_DeleteIdentityPoolCommand(input, context);
|
|
45
|
-
}
|
|
46
|
-
deserialize(output, context) {
|
|
47
|
-
return de_DeleteIdentityPoolCommand(output, context);
|
|
48
|
-
}
|
|
8
|
+
export class DeleteIdentityPoolCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
getAwsAuthPlugin(config),
|
|
18
|
+
];
|
|
19
|
+
})
|
|
20
|
+
.s("AWSCognitoIdentityService", "DeleteIdentityPool", {})
|
|
21
|
+
.n("CognitoIdentityClient", "DeleteIdentityPoolCommand")
|
|
22
|
+
.f(void 0, void 0)
|
|
23
|
+
.ser(se_DeleteIdentityPoolCommand)
|
|
24
|
+
.de(de_DeleteIdentityPoolCommand)
|
|
25
|
+
.build() {
|
|
49
26
|
}
|
|
@@ -2,48 +2,25 @@ import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
|
2
2
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
3
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
4
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
|
-
import {
|
|
5
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
6
6
|
import { de_DescribeIdentityCommand, se_DescribeIdentityCommand } from "../protocols/Aws_json1_1";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class DescribeIdentityCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
const { logger } = configuration;
|
|
27
|
-
const clientName = "CognitoIdentityClient";
|
|
28
|
-
const commandName = "DescribeIdentityCommand";
|
|
29
|
-
const handlerExecutionContext = {
|
|
30
|
-
logger,
|
|
31
|
-
clientName,
|
|
32
|
-
commandName,
|
|
33
|
-
inputFilterSensitiveLog: (_) => _,
|
|
34
|
-
outputFilterSensitiveLog: (_) => _,
|
|
35
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
36
|
-
service: "AWSCognitoIdentityService",
|
|
37
|
-
operation: "DescribeIdentity",
|
|
38
|
-
},
|
|
39
|
-
};
|
|
40
|
-
const { requestHandler } = configuration;
|
|
41
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
42
|
-
}
|
|
43
|
-
serialize(input, context) {
|
|
44
|
-
return se_DescribeIdentityCommand(input, context);
|
|
45
|
-
}
|
|
46
|
-
deserialize(output, context) {
|
|
47
|
-
return de_DescribeIdentityCommand(output, context);
|
|
48
|
-
}
|
|
8
|
+
export class DescribeIdentityCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
getAwsAuthPlugin(config),
|
|
18
|
+
];
|
|
19
|
+
})
|
|
20
|
+
.s("AWSCognitoIdentityService", "DescribeIdentity", {})
|
|
21
|
+
.n("CognitoIdentityClient", "DescribeIdentityCommand")
|
|
22
|
+
.f(void 0, void 0)
|
|
23
|
+
.ser(se_DescribeIdentityCommand)
|
|
24
|
+
.de(de_DescribeIdentityCommand)
|
|
25
|
+
.build() {
|
|
49
26
|
}
|