@aws-sdk/client-cognito-identity 3.478.0 → 3.481.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.
Files changed (97) hide show
  1. package/dist-cjs/commands/CreateIdentityPoolCommand.js +19 -42
  2. package/dist-cjs/commands/DeleteIdentitiesCommand.js +19 -42
  3. package/dist-cjs/commands/DeleteIdentityPoolCommand.js +19 -42
  4. package/dist-cjs/commands/DescribeIdentityCommand.js +19 -42
  5. package/dist-cjs/commands/DescribeIdentityPoolCommand.js +19 -42
  6. package/dist-cjs/commands/GetCredentialsForIdentityCommand.js +18 -41
  7. package/dist-cjs/commands/GetIdCommand.js +18 -41
  8. package/dist-cjs/commands/GetIdentityPoolRolesCommand.js +19 -42
  9. package/dist-cjs/commands/GetOpenIdTokenCommand.js +18 -41
  10. package/dist-cjs/commands/GetOpenIdTokenForDeveloperIdentityCommand.js +19 -42
  11. package/dist-cjs/commands/GetPrincipalTagAttributeMapCommand.js +19 -42
  12. package/dist-cjs/commands/ListIdentitiesCommand.js +19 -42
  13. package/dist-cjs/commands/ListIdentityPoolsCommand.js +19 -42
  14. package/dist-cjs/commands/ListTagsForResourceCommand.js +19 -42
  15. package/dist-cjs/commands/LookupDeveloperIdentityCommand.js +19 -42
  16. package/dist-cjs/commands/MergeDeveloperIdentitiesCommand.js +19 -42
  17. package/dist-cjs/commands/SetIdentityPoolRolesCommand.js +19 -42
  18. package/dist-cjs/commands/SetPrincipalTagAttributeMapCommand.js +19 -42
  19. package/dist-cjs/commands/TagResourceCommand.js +19 -42
  20. package/dist-cjs/commands/UnlinkDeveloperIdentityCommand.js +19 -42
  21. package/dist-cjs/commands/UnlinkIdentityCommand.js +18 -41
  22. package/dist-cjs/commands/UntagResourceCommand.js +19 -42
  23. package/dist-cjs/commands/UpdateIdentityPoolCommand.js +19 -42
  24. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  25. package/dist-es/commands/CreateIdentityPoolCommand.js +19 -42
  26. package/dist-es/commands/DeleteIdentitiesCommand.js +19 -42
  27. package/dist-es/commands/DeleteIdentityPoolCommand.js +19 -42
  28. package/dist-es/commands/DescribeIdentityCommand.js +19 -42
  29. package/dist-es/commands/DescribeIdentityPoolCommand.js +19 -42
  30. package/dist-es/commands/GetCredentialsForIdentityCommand.js +18 -41
  31. package/dist-es/commands/GetIdCommand.js +18 -41
  32. package/dist-es/commands/GetIdentityPoolRolesCommand.js +19 -42
  33. package/dist-es/commands/GetOpenIdTokenCommand.js +18 -41
  34. package/dist-es/commands/GetOpenIdTokenForDeveloperIdentityCommand.js +19 -42
  35. package/dist-es/commands/GetPrincipalTagAttributeMapCommand.js +19 -42
  36. package/dist-es/commands/ListIdentitiesCommand.js +19 -42
  37. package/dist-es/commands/ListIdentityPoolsCommand.js +19 -42
  38. package/dist-es/commands/ListTagsForResourceCommand.js +19 -42
  39. package/dist-es/commands/LookupDeveloperIdentityCommand.js +19 -42
  40. package/dist-es/commands/MergeDeveloperIdentitiesCommand.js +19 -42
  41. package/dist-es/commands/SetIdentityPoolRolesCommand.js +19 -42
  42. package/dist-es/commands/SetPrincipalTagAttributeMapCommand.js +19 -42
  43. package/dist-es/commands/TagResourceCommand.js +19 -42
  44. package/dist-es/commands/UnlinkDeveloperIdentityCommand.js +19 -42
  45. package/dist-es/commands/UnlinkIdentityCommand.js +18 -41
  46. package/dist-es/commands/UntagResourceCommand.js +19 -42
  47. package/dist-es/commands/UpdateIdentityPoolCommand.js +19 -42
  48. package/dist-es/endpoint/EndpointParameters.js +6 -0
  49. package/dist-types/commands/CreateIdentityPoolCommand.d.ts +6 -21
  50. package/dist-types/commands/DeleteIdentitiesCommand.d.ts +6 -21
  51. package/dist-types/commands/DeleteIdentityPoolCommand.d.ts +6 -21
  52. package/dist-types/commands/DescribeIdentityCommand.d.ts +6 -21
  53. package/dist-types/commands/DescribeIdentityPoolCommand.d.ts +6 -21
  54. package/dist-types/commands/GetCredentialsForIdentityCommand.d.ts +6 -21
  55. package/dist-types/commands/GetIdCommand.d.ts +6 -21
  56. package/dist-types/commands/GetIdentityPoolRolesCommand.d.ts +6 -21
  57. package/dist-types/commands/GetOpenIdTokenCommand.d.ts +6 -21
  58. package/dist-types/commands/GetOpenIdTokenForDeveloperIdentityCommand.d.ts +6 -21
  59. package/dist-types/commands/GetPrincipalTagAttributeMapCommand.d.ts +6 -21
  60. package/dist-types/commands/ListIdentitiesCommand.d.ts +6 -21
  61. package/dist-types/commands/ListIdentityPoolsCommand.d.ts +6 -21
  62. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  63. package/dist-types/commands/LookupDeveloperIdentityCommand.d.ts +6 -21
  64. package/dist-types/commands/MergeDeveloperIdentitiesCommand.d.ts +6 -21
  65. package/dist-types/commands/SetIdentityPoolRolesCommand.d.ts +6 -21
  66. package/dist-types/commands/SetPrincipalTagAttributeMapCommand.d.ts +6 -21
  67. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  68. package/dist-types/commands/UnlinkDeveloperIdentityCommand.d.ts +6 -21
  69. package/dist-types/commands/UnlinkIdentityCommand.d.ts +6 -21
  70. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  71. package/dist-types/commands/UpdateIdentityPoolCommand.d.ts +6 -21
  72. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  73. package/dist-types/ts3.4/commands/CreateIdentityPoolCommand.d.ts +14 -23
  74. package/dist-types/ts3.4/commands/DeleteIdentitiesCommand.d.ts +14 -23
  75. package/dist-types/ts3.4/commands/DeleteIdentityPoolCommand.d.ts +14 -23
  76. package/dist-types/ts3.4/commands/DescribeIdentityCommand.d.ts +14 -23
  77. package/dist-types/ts3.4/commands/DescribeIdentityPoolCommand.d.ts +12 -24
  78. package/dist-types/ts3.4/commands/GetCredentialsForIdentityCommand.d.ts +12 -24
  79. package/dist-types/ts3.4/commands/GetIdCommand.d.ts +12 -23
  80. package/dist-types/ts3.4/commands/GetIdentityPoolRolesCommand.d.ts +12 -24
  81. package/dist-types/ts3.4/commands/GetOpenIdTokenCommand.d.ts +14 -23
  82. package/dist-types/ts3.4/commands/GetOpenIdTokenForDeveloperIdentityCommand.d.ts +12 -24
  83. package/dist-types/ts3.4/commands/GetPrincipalTagAttributeMapCommand.d.ts +12 -24
  84. package/dist-types/ts3.4/commands/ListIdentitiesCommand.d.ts +14 -23
  85. package/dist-types/ts3.4/commands/ListIdentityPoolsCommand.d.ts +14 -23
  86. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  87. package/dist-types/ts3.4/commands/LookupDeveloperIdentityCommand.d.ts +12 -24
  88. package/dist-types/ts3.4/commands/MergeDeveloperIdentitiesCommand.d.ts +12 -24
  89. package/dist-types/ts3.4/commands/SetIdentityPoolRolesCommand.d.ts +12 -24
  90. package/dist-types/ts3.4/commands/SetPrincipalTagAttributeMapCommand.d.ts +12 -24
  91. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  92. package/dist-types/ts3.4/commands/UnlinkDeveloperIdentityCommand.d.ts +12 -24
  93. package/dist-types/ts3.4/commands/UnlinkIdentityCommand.d.ts +14 -23
  94. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  95. package/dist-types/ts3.4/commands/UpdateIdentityPoolCommand.d.ts +14 -23
  96. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  97. package/package.json +10 -10
@@ -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 types_1 = require("@smithy/types");
9
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
10
10
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
11
- class GetOpenIdTokenForDeveloperIdentityCommand extends smithy_client_1.Command {
12
- static getEndpointParameterInstructions() {
13
- return {
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
- };
19
- }
20
- constructor(input) {
21
- super();
22
- this.input = input;
23
- }
24
- resolveMiddleware(clientStack, configuration, options) {
25
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
26
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetOpenIdTokenForDeveloperIdentityCommand.getEndpointParameterInstructions()));
27
- this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(configuration));
28
- const stack = clientStack.concat(this.middlewareStack);
29
- const { logger } = configuration;
30
- const clientName = "CognitoIdentityClient";
31
- const commandName = "GetOpenIdTokenForDeveloperIdentityCommand";
32
- const handlerExecutionContext = {
33
- logger,
34
- clientName,
35
- commandName,
36
- inputFilterSensitiveLog: (_) => _,
37
- outputFilterSensitiveLog: (_) => _,
38
- [types_1.SMITHY_CONTEXT_KEY]: {
39
- service: "AWSCognitoIdentityService",
40
- operation: "GetOpenIdTokenForDeveloperIdentity",
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_GetOpenIdTokenForDeveloperIdentityCommand)(input, context);
48
- }
49
- deserialize(output, context) {
50
- return (0, Aws_json1_1_1.de_GetOpenIdTokenForDeveloperIdentityCommand)(output, context);
51
- }
11
+ class GetOpenIdTokenForDeveloperIdentityCommand 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", "GetOpenIdTokenForDeveloperIdentity", {})
24
+ .n("CognitoIdentityClient", "GetOpenIdTokenForDeveloperIdentityCommand")
25
+ .f(void 0, void 0)
26
+ .ser(Aws_json1_1_1.se_GetOpenIdTokenForDeveloperIdentityCommand)
27
+ .de(Aws_json1_1_1.de_GetOpenIdTokenForDeveloperIdentityCommand)
28
+ .build() {
52
29
  }
53
30
  exports.GetOpenIdTokenForDeveloperIdentityCommand = GetOpenIdTokenForDeveloperIdentityCommand;
@@ -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 types_1 = require("@smithy/types");
9
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
10
10
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
11
- class GetPrincipalTagAttributeMapCommand extends smithy_client_1.Command {
12
- static getEndpointParameterInstructions() {
13
- return {
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
- };
19
- }
20
- constructor(input) {
21
- super();
22
- this.input = input;
23
- }
24
- resolveMiddleware(clientStack, configuration, options) {
25
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
26
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetPrincipalTagAttributeMapCommand.getEndpointParameterInstructions()));
27
- this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(configuration));
28
- const stack = clientStack.concat(this.middlewareStack);
29
- const { logger } = configuration;
30
- const clientName = "CognitoIdentityClient";
31
- const commandName = "GetPrincipalTagAttributeMapCommand";
32
- const handlerExecutionContext = {
33
- logger,
34
- clientName,
35
- commandName,
36
- inputFilterSensitiveLog: (_) => _,
37
- outputFilterSensitiveLog: (_) => _,
38
- [types_1.SMITHY_CONTEXT_KEY]: {
39
- service: "AWSCognitoIdentityService",
40
- operation: "GetPrincipalTagAttributeMap",
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_GetPrincipalTagAttributeMapCommand)(input, context);
48
- }
49
- deserialize(output, context) {
50
- return (0, Aws_json1_1_1.de_GetPrincipalTagAttributeMapCommand)(output, context);
51
- }
11
+ class GetPrincipalTagAttributeMapCommand 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", "GetPrincipalTagAttributeMap", {})
24
+ .n("CognitoIdentityClient", "GetPrincipalTagAttributeMapCommand")
25
+ .f(void 0, void 0)
26
+ .ser(Aws_json1_1_1.se_GetPrincipalTagAttributeMapCommand)
27
+ .de(Aws_json1_1_1.de_GetPrincipalTagAttributeMapCommand)
28
+ .build() {
52
29
  }
53
30
  exports.GetPrincipalTagAttributeMapCommand = GetPrincipalTagAttributeMapCommand;
@@ -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 types_1 = require("@smithy/types");
9
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
10
10
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
11
- class ListIdentitiesCommand extends smithy_client_1.Command {
12
- static getEndpointParameterInstructions() {
13
- return {
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
- };
19
- }
20
- constructor(input) {
21
- super();
22
- this.input = input;
23
- }
24
- resolveMiddleware(clientStack, configuration, options) {
25
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
26
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListIdentitiesCommand.getEndpointParameterInstructions()));
27
- this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(configuration));
28
- const stack = clientStack.concat(this.middlewareStack);
29
- const { logger } = configuration;
30
- const clientName = "CognitoIdentityClient";
31
- const commandName = "ListIdentitiesCommand";
32
- const handlerExecutionContext = {
33
- logger,
34
- clientName,
35
- commandName,
36
- inputFilterSensitiveLog: (_) => _,
37
- outputFilterSensitiveLog: (_) => _,
38
- [types_1.SMITHY_CONTEXT_KEY]: {
39
- service: "AWSCognitoIdentityService",
40
- operation: "ListIdentities",
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_ListIdentitiesCommand)(input, context);
48
- }
49
- deserialize(output, context) {
50
- return (0, Aws_json1_1_1.de_ListIdentitiesCommand)(output, context);
51
- }
11
+ class ListIdentitiesCommand 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", "ListIdentities", {})
24
+ .n("CognitoIdentityClient", "ListIdentitiesCommand")
25
+ .f(void 0, void 0)
26
+ .ser(Aws_json1_1_1.se_ListIdentitiesCommand)
27
+ .de(Aws_json1_1_1.de_ListIdentitiesCommand)
28
+ .build() {
52
29
  }
53
30
  exports.ListIdentitiesCommand = ListIdentitiesCommand;
@@ -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 types_1 = require("@smithy/types");
9
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
10
10
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
11
- class ListIdentityPoolsCommand extends smithy_client_1.Command {
12
- static getEndpointParameterInstructions() {
13
- return {
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
- };
19
- }
20
- constructor(input) {
21
- super();
22
- this.input = input;
23
- }
24
- resolveMiddleware(clientStack, configuration, options) {
25
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
26
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListIdentityPoolsCommand.getEndpointParameterInstructions()));
27
- this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(configuration));
28
- const stack = clientStack.concat(this.middlewareStack);
29
- const { logger } = configuration;
30
- const clientName = "CognitoIdentityClient";
31
- const commandName = "ListIdentityPoolsCommand";
32
- const handlerExecutionContext = {
33
- logger,
34
- clientName,
35
- commandName,
36
- inputFilterSensitiveLog: (_) => _,
37
- outputFilterSensitiveLog: (_) => _,
38
- [types_1.SMITHY_CONTEXT_KEY]: {
39
- service: "AWSCognitoIdentityService",
40
- operation: "ListIdentityPools",
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_ListIdentityPoolsCommand)(input, context);
48
- }
49
- deserialize(output, context) {
50
- return (0, Aws_json1_1_1.de_ListIdentityPoolsCommand)(output, context);
51
- }
11
+ class ListIdentityPoolsCommand 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", "ListIdentityPools", {})
24
+ .n("CognitoIdentityClient", "ListIdentityPoolsCommand")
25
+ .f(void 0, void 0)
26
+ .ser(Aws_json1_1_1.se_ListIdentityPoolsCommand)
27
+ .de(Aws_json1_1_1.de_ListIdentityPoolsCommand)
28
+ .build() {
52
29
  }
53
30
  exports.ListIdentityPoolsCommand = ListIdentityPoolsCommand;
@@ -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 types_1 = require("@smithy/types");
9
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
10
10
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
11
- class ListTagsForResourceCommand extends smithy_client_1.Command {
12
- static getEndpointParameterInstructions() {
13
- return {
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
- };
19
- }
20
- constructor(input) {
21
- super();
22
- this.input = input;
23
- }
24
- resolveMiddleware(clientStack, configuration, options) {
25
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
26
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListTagsForResourceCommand.getEndpointParameterInstructions()));
27
- this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(configuration));
28
- const stack = clientStack.concat(this.middlewareStack);
29
- const { logger } = configuration;
30
- const clientName = "CognitoIdentityClient";
31
- const commandName = "ListTagsForResourceCommand";
32
- const handlerExecutionContext = {
33
- logger,
34
- clientName,
35
- commandName,
36
- inputFilterSensitiveLog: (_) => _,
37
- outputFilterSensitiveLog: (_) => _,
38
- [types_1.SMITHY_CONTEXT_KEY]: {
39
- service: "AWSCognitoIdentityService",
40
- operation: "ListTagsForResource",
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_ListTagsForResourceCommand)(input, context);
48
- }
49
- deserialize(output, context) {
50
- return (0, Aws_json1_1_1.de_ListTagsForResourceCommand)(output, context);
51
- }
11
+ class ListTagsForResourceCommand 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", "ListTagsForResource", {})
24
+ .n("CognitoIdentityClient", "ListTagsForResourceCommand")
25
+ .f(void 0, void 0)
26
+ .ser(Aws_json1_1_1.se_ListTagsForResourceCommand)
27
+ .de(Aws_json1_1_1.de_ListTagsForResourceCommand)
28
+ .build() {
52
29
  }
53
30
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
@@ -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 types_1 = require("@smithy/types");
9
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
10
10
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
11
- class LookupDeveloperIdentityCommand extends smithy_client_1.Command {
12
- static getEndpointParameterInstructions() {
13
- return {
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
- };
19
- }
20
- constructor(input) {
21
- super();
22
- this.input = input;
23
- }
24
- resolveMiddleware(clientStack, configuration, options) {
25
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
26
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, LookupDeveloperIdentityCommand.getEndpointParameterInstructions()));
27
- this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(configuration));
28
- const stack = clientStack.concat(this.middlewareStack);
29
- const { logger } = configuration;
30
- const clientName = "CognitoIdentityClient";
31
- const commandName = "LookupDeveloperIdentityCommand";
32
- const handlerExecutionContext = {
33
- logger,
34
- clientName,
35
- commandName,
36
- inputFilterSensitiveLog: (_) => _,
37
- outputFilterSensitiveLog: (_) => _,
38
- [types_1.SMITHY_CONTEXT_KEY]: {
39
- service: "AWSCognitoIdentityService",
40
- operation: "LookupDeveloperIdentity",
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_LookupDeveloperIdentityCommand)(input, context);
48
- }
49
- deserialize(output, context) {
50
- return (0, Aws_json1_1_1.de_LookupDeveloperIdentityCommand)(output, context);
51
- }
11
+ class LookupDeveloperIdentityCommand 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", "LookupDeveloperIdentity", {})
24
+ .n("CognitoIdentityClient", "LookupDeveloperIdentityCommand")
25
+ .f(void 0, void 0)
26
+ .ser(Aws_json1_1_1.se_LookupDeveloperIdentityCommand)
27
+ .de(Aws_json1_1_1.de_LookupDeveloperIdentityCommand)
28
+ .build() {
52
29
  }
53
30
  exports.LookupDeveloperIdentityCommand = LookupDeveloperIdentityCommand;
@@ -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 types_1 = require("@smithy/types");
9
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
10
10
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
11
- class MergeDeveloperIdentitiesCommand extends smithy_client_1.Command {
12
- static getEndpointParameterInstructions() {
13
- return {
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
- };
19
- }
20
- constructor(input) {
21
- super();
22
- this.input = input;
23
- }
24
- resolveMiddleware(clientStack, configuration, options) {
25
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
26
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, MergeDeveloperIdentitiesCommand.getEndpointParameterInstructions()));
27
- this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(configuration));
28
- const stack = clientStack.concat(this.middlewareStack);
29
- const { logger } = configuration;
30
- const clientName = "CognitoIdentityClient";
31
- const commandName = "MergeDeveloperIdentitiesCommand";
32
- const handlerExecutionContext = {
33
- logger,
34
- clientName,
35
- commandName,
36
- inputFilterSensitiveLog: (_) => _,
37
- outputFilterSensitiveLog: (_) => _,
38
- [types_1.SMITHY_CONTEXT_KEY]: {
39
- service: "AWSCognitoIdentityService",
40
- operation: "MergeDeveloperIdentities",
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_MergeDeveloperIdentitiesCommand)(input, context);
48
- }
49
- deserialize(output, context) {
50
- return (0, Aws_json1_1_1.de_MergeDeveloperIdentitiesCommand)(output, context);
51
- }
11
+ class MergeDeveloperIdentitiesCommand 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", "MergeDeveloperIdentities", {})
24
+ .n("CognitoIdentityClient", "MergeDeveloperIdentitiesCommand")
25
+ .f(void 0, void 0)
26
+ .ser(Aws_json1_1_1.se_MergeDeveloperIdentitiesCommand)
27
+ .de(Aws_json1_1_1.de_MergeDeveloperIdentitiesCommand)
28
+ .build() {
52
29
  }
53
30
  exports.MergeDeveloperIdentitiesCommand = MergeDeveloperIdentitiesCommand;
@@ -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 types_1 = require("@smithy/types");
9
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
10
10
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
11
- class SetIdentityPoolRolesCommand extends smithy_client_1.Command {
12
- static getEndpointParameterInstructions() {
13
- return {
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
- };
19
- }
20
- constructor(input) {
21
- super();
22
- this.input = input;
23
- }
24
- resolveMiddleware(clientStack, configuration, options) {
25
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
26
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, SetIdentityPoolRolesCommand.getEndpointParameterInstructions()));
27
- this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(configuration));
28
- const stack = clientStack.concat(this.middlewareStack);
29
- const { logger } = configuration;
30
- const clientName = "CognitoIdentityClient";
31
- const commandName = "SetIdentityPoolRolesCommand";
32
- const handlerExecutionContext = {
33
- logger,
34
- clientName,
35
- commandName,
36
- inputFilterSensitiveLog: (_) => _,
37
- outputFilterSensitiveLog: (_) => _,
38
- [types_1.SMITHY_CONTEXT_KEY]: {
39
- service: "AWSCognitoIdentityService",
40
- operation: "SetIdentityPoolRoles",
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_SetIdentityPoolRolesCommand)(input, context);
48
- }
49
- deserialize(output, context) {
50
- return (0, Aws_json1_1_1.de_SetIdentityPoolRolesCommand)(output, context);
51
- }
11
+ class SetIdentityPoolRolesCommand 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", "SetIdentityPoolRoles", {})
24
+ .n("CognitoIdentityClient", "SetIdentityPoolRolesCommand")
25
+ .f(void 0, void 0)
26
+ .ser(Aws_json1_1_1.se_SetIdentityPoolRolesCommand)
27
+ .de(Aws_json1_1_1.de_SetIdentityPoolRolesCommand)
28
+ .build() {
52
29
  }
53
30
  exports.SetIdentityPoolRolesCommand = SetIdentityPoolRolesCommand;
@@ -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 types_1 = require("@smithy/types");
9
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
10
10
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
11
- class SetPrincipalTagAttributeMapCommand extends smithy_client_1.Command {
12
- static getEndpointParameterInstructions() {
13
- return {
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
- };
19
- }
20
- constructor(input) {
21
- super();
22
- this.input = input;
23
- }
24
- resolveMiddleware(clientStack, configuration, options) {
25
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
26
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, SetPrincipalTagAttributeMapCommand.getEndpointParameterInstructions()));
27
- this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(configuration));
28
- const stack = clientStack.concat(this.middlewareStack);
29
- const { logger } = configuration;
30
- const clientName = "CognitoIdentityClient";
31
- const commandName = "SetPrincipalTagAttributeMapCommand";
32
- const handlerExecutionContext = {
33
- logger,
34
- clientName,
35
- commandName,
36
- inputFilterSensitiveLog: (_) => _,
37
- outputFilterSensitiveLog: (_) => _,
38
- [types_1.SMITHY_CONTEXT_KEY]: {
39
- service: "AWSCognitoIdentityService",
40
- operation: "SetPrincipalTagAttributeMap",
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_SetPrincipalTagAttributeMapCommand)(input, context);
48
- }
49
- deserialize(output, context) {
50
- return (0, Aws_json1_1_1.de_SetPrincipalTagAttributeMapCommand)(output, context);
51
- }
11
+ class SetPrincipalTagAttributeMapCommand 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", "SetPrincipalTagAttributeMap", {})
24
+ .n("CognitoIdentityClient", "SetPrincipalTagAttributeMapCommand")
25
+ .f(void 0, void 0)
26
+ .ser(Aws_json1_1_1.se_SetPrincipalTagAttributeMapCommand)
27
+ .de(Aws_json1_1_1.de_SetPrincipalTagAttributeMapCommand)
28
+ .build() {
52
29
  }
53
30
  exports.SetPrincipalTagAttributeMapCommand = SetPrincipalTagAttributeMapCommand;