@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.
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 +12 -12
@@ -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 { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { commonParams } from "../endpoint/EndpointParameters";
6
6
  import { de_DescribeIdentityPoolCommand, se_DescribeIdentityPoolCommand } from "../protocols/Aws_json1_1";
7
7
  export { $Command };
8
- export class DescribeIdentityPoolCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, DescribeIdentityPoolCommand.getEndpointParameterInstructions()));
24
- this.middlewareStack.use(getAwsAuthPlugin(configuration));
25
- const stack = clientStack.concat(this.middlewareStack);
26
- const { logger } = configuration;
27
- const clientName = "CognitoIdentityClient";
28
- const commandName = "DescribeIdentityPoolCommand";
29
- const handlerExecutionContext = {
30
- logger,
31
- clientName,
32
- commandName,
33
- inputFilterSensitiveLog: (_) => _,
34
- outputFilterSensitiveLog: (_) => _,
35
- [SMITHY_CONTEXT_KEY]: {
36
- service: "AWSCognitoIdentityService",
37
- operation: "DescribeIdentityPool",
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_DescribeIdentityPoolCommand(input, context);
45
- }
46
- deserialize(output, context) {
47
- return de_DescribeIdentityPoolCommand(output, context);
48
- }
8
+ export class DescribeIdentityPoolCommand 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", "DescribeIdentityPool", {})
21
+ .n("CognitoIdentityClient", "DescribeIdentityPoolCommand")
22
+ .f(void 0, void 0)
23
+ .ser(se_DescribeIdentityPoolCommand)
24
+ .de(de_DescribeIdentityPoolCommand)
25
+ .build() {
49
26
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_GetCredentialsForIdentityCommand, se_GetCredentialsForIdentityCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class GetCredentialsForIdentityCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, GetCredentialsForIdentityCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CognitoIdentityClient";
26
- const commandName = "GetCredentialsForIdentityCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSCognitoIdentityService",
35
- operation: "GetCredentialsForIdentity",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_GetCredentialsForIdentityCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetCredentialsForIdentityCommand(output, context);
46
- }
7
+ export class GetCredentialsForIdentityCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSCognitoIdentityService", "GetCredentialsForIdentity", {})
19
+ .n("CognitoIdentityClient", "GetCredentialsForIdentityCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetCredentialsForIdentityCommand)
22
+ .de(de_GetCredentialsForIdentityCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_GetIdCommand, se_GetIdCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class GetIdCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, GetIdCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CognitoIdentityClient";
26
- const commandName = "GetIdCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSCognitoIdentityService",
35
- operation: "GetId",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_GetIdCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetIdCommand(output, context);
46
- }
7
+ export class GetIdCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSCognitoIdentityService", "GetId", {})
19
+ .n("CognitoIdentityClient", "GetIdCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetIdCommand)
22
+ .de(de_GetIdCommand)
23
+ .build() {
47
24
  }
@@ -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 { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { commonParams } from "../endpoint/EndpointParameters";
6
6
  import { de_GetIdentityPoolRolesCommand, se_GetIdentityPoolRolesCommand } from "../protocols/Aws_json1_1";
7
7
  export { $Command };
8
- export class GetIdentityPoolRolesCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, GetIdentityPoolRolesCommand.getEndpointParameterInstructions()));
24
- this.middlewareStack.use(getAwsAuthPlugin(configuration));
25
- const stack = clientStack.concat(this.middlewareStack);
26
- const { logger } = configuration;
27
- const clientName = "CognitoIdentityClient";
28
- const commandName = "GetIdentityPoolRolesCommand";
29
- const handlerExecutionContext = {
30
- logger,
31
- clientName,
32
- commandName,
33
- inputFilterSensitiveLog: (_) => _,
34
- outputFilterSensitiveLog: (_) => _,
35
- [SMITHY_CONTEXT_KEY]: {
36
- service: "AWSCognitoIdentityService",
37
- operation: "GetIdentityPoolRoles",
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_GetIdentityPoolRolesCommand(input, context);
45
- }
46
- deserialize(output, context) {
47
- return de_GetIdentityPoolRolesCommand(output, context);
48
- }
8
+ export class GetIdentityPoolRolesCommand 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", "GetIdentityPoolRoles", {})
21
+ .n("CognitoIdentityClient", "GetIdentityPoolRolesCommand")
22
+ .f(void 0, void 0)
23
+ .ser(se_GetIdentityPoolRolesCommand)
24
+ .de(de_GetIdentityPoolRolesCommand)
25
+ .build() {
49
26
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_GetOpenIdTokenCommand, se_GetOpenIdTokenCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class GetOpenIdTokenCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, GetOpenIdTokenCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CognitoIdentityClient";
26
- const commandName = "GetOpenIdTokenCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSCognitoIdentityService",
35
- operation: "GetOpenIdToken",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_GetOpenIdTokenCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetOpenIdTokenCommand(output, context);
46
- }
7
+ export class GetOpenIdTokenCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSCognitoIdentityService", "GetOpenIdToken", {})
19
+ .n("CognitoIdentityClient", "GetOpenIdTokenCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetOpenIdTokenCommand)
22
+ .de(de_GetOpenIdTokenCommand)
23
+ .build() {
47
24
  }
@@ -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 { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { commonParams } from "../endpoint/EndpointParameters";
6
6
  import { de_GetOpenIdTokenForDeveloperIdentityCommand, se_GetOpenIdTokenForDeveloperIdentityCommand, } from "../protocols/Aws_json1_1";
7
7
  export { $Command };
8
- export class GetOpenIdTokenForDeveloperIdentityCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, GetOpenIdTokenForDeveloperIdentityCommand.getEndpointParameterInstructions()));
24
- this.middlewareStack.use(getAwsAuthPlugin(configuration));
25
- const stack = clientStack.concat(this.middlewareStack);
26
- const { logger } = configuration;
27
- const clientName = "CognitoIdentityClient";
28
- const commandName = "GetOpenIdTokenForDeveloperIdentityCommand";
29
- const handlerExecutionContext = {
30
- logger,
31
- clientName,
32
- commandName,
33
- inputFilterSensitiveLog: (_) => _,
34
- outputFilterSensitiveLog: (_) => _,
35
- [SMITHY_CONTEXT_KEY]: {
36
- service: "AWSCognitoIdentityService",
37
- operation: "GetOpenIdTokenForDeveloperIdentity",
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_GetOpenIdTokenForDeveloperIdentityCommand(input, context);
45
- }
46
- deserialize(output, context) {
47
- return de_GetOpenIdTokenForDeveloperIdentityCommand(output, context);
48
- }
8
+ export class GetOpenIdTokenForDeveloperIdentityCommand 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", "GetOpenIdTokenForDeveloperIdentity", {})
21
+ .n("CognitoIdentityClient", "GetOpenIdTokenForDeveloperIdentityCommand")
22
+ .f(void 0, void 0)
23
+ .ser(se_GetOpenIdTokenForDeveloperIdentityCommand)
24
+ .de(de_GetOpenIdTokenForDeveloperIdentityCommand)
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 { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { commonParams } from "../endpoint/EndpointParameters";
6
6
  import { de_GetPrincipalTagAttributeMapCommand, se_GetPrincipalTagAttributeMapCommand } from "../protocols/Aws_json1_1";
7
7
  export { $Command };
8
- export class GetPrincipalTagAttributeMapCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, GetPrincipalTagAttributeMapCommand.getEndpointParameterInstructions()));
24
- this.middlewareStack.use(getAwsAuthPlugin(configuration));
25
- const stack = clientStack.concat(this.middlewareStack);
26
- const { logger } = configuration;
27
- const clientName = "CognitoIdentityClient";
28
- const commandName = "GetPrincipalTagAttributeMapCommand";
29
- const handlerExecutionContext = {
30
- logger,
31
- clientName,
32
- commandName,
33
- inputFilterSensitiveLog: (_) => _,
34
- outputFilterSensitiveLog: (_) => _,
35
- [SMITHY_CONTEXT_KEY]: {
36
- service: "AWSCognitoIdentityService",
37
- operation: "GetPrincipalTagAttributeMap",
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_GetPrincipalTagAttributeMapCommand(input, context);
45
- }
46
- deserialize(output, context) {
47
- return de_GetPrincipalTagAttributeMapCommand(output, context);
48
- }
8
+ export class GetPrincipalTagAttributeMapCommand 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", "GetPrincipalTagAttributeMap", {})
21
+ .n("CognitoIdentityClient", "GetPrincipalTagAttributeMapCommand")
22
+ .f(void 0, void 0)
23
+ .ser(se_GetPrincipalTagAttributeMapCommand)
24
+ .de(de_GetPrincipalTagAttributeMapCommand)
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 { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { commonParams } from "../endpoint/EndpointParameters";
6
6
  import { de_ListIdentitiesCommand, se_ListIdentitiesCommand } from "../protocols/Aws_json1_1";
7
7
  export { $Command };
8
- export class ListIdentitiesCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, ListIdentitiesCommand.getEndpointParameterInstructions()));
24
- this.middlewareStack.use(getAwsAuthPlugin(configuration));
25
- const stack = clientStack.concat(this.middlewareStack);
26
- const { logger } = configuration;
27
- const clientName = "CognitoIdentityClient";
28
- const commandName = "ListIdentitiesCommand";
29
- const handlerExecutionContext = {
30
- logger,
31
- clientName,
32
- commandName,
33
- inputFilterSensitiveLog: (_) => _,
34
- outputFilterSensitiveLog: (_) => _,
35
- [SMITHY_CONTEXT_KEY]: {
36
- service: "AWSCognitoIdentityService",
37
- operation: "ListIdentities",
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_ListIdentitiesCommand(input, context);
45
- }
46
- deserialize(output, context) {
47
- return de_ListIdentitiesCommand(output, context);
48
- }
8
+ export class ListIdentitiesCommand 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", "ListIdentities", {})
21
+ .n("CognitoIdentityClient", "ListIdentitiesCommand")
22
+ .f(void 0, void 0)
23
+ .ser(se_ListIdentitiesCommand)
24
+ .de(de_ListIdentitiesCommand)
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 { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { commonParams } from "../endpoint/EndpointParameters";
6
6
  import { de_ListIdentityPoolsCommand, se_ListIdentityPoolsCommand } from "../protocols/Aws_json1_1";
7
7
  export { $Command };
8
- export class ListIdentityPoolsCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, ListIdentityPoolsCommand.getEndpointParameterInstructions()));
24
- this.middlewareStack.use(getAwsAuthPlugin(configuration));
25
- const stack = clientStack.concat(this.middlewareStack);
26
- const { logger } = configuration;
27
- const clientName = "CognitoIdentityClient";
28
- const commandName = "ListIdentityPoolsCommand";
29
- const handlerExecutionContext = {
30
- logger,
31
- clientName,
32
- commandName,
33
- inputFilterSensitiveLog: (_) => _,
34
- outputFilterSensitiveLog: (_) => _,
35
- [SMITHY_CONTEXT_KEY]: {
36
- service: "AWSCognitoIdentityService",
37
- operation: "ListIdentityPools",
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_ListIdentityPoolsCommand(input, context);
45
- }
46
- deserialize(output, context) {
47
- return de_ListIdentityPoolsCommand(output, context);
48
- }
8
+ export class ListIdentityPoolsCommand 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", "ListIdentityPools", {})
21
+ .n("CognitoIdentityClient", "ListIdentityPoolsCommand")
22
+ .f(void 0, void 0)
23
+ .ser(se_ListIdentityPoolsCommand)
24
+ .de(de_ListIdentityPoolsCommand)
25
+ .build() {
49
26
  }