@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
@@ -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_UpdateIdentityPoolCommand, se_UpdateIdentityPoolCommand } from "../protocols/Aws_json1_1";
7
7
  export { $Command };
8
- export class UpdateIdentityPoolCommand 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, UpdateIdentityPoolCommand.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 = "UpdateIdentityPoolCommand";
29
- const handlerExecutionContext = {
30
- logger,
31
- clientName,
32
- commandName,
33
- inputFilterSensitiveLog: (_) => _,
34
- outputFilterSensitiveLog: (_) => _,
35
- [SMITHY_CONTEXT_KEY]: {
36
- service: "AWSCognitoIdentityService",
37
- operation: "UpdateIdentityPool",
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_UpdateIdentityPoolCommand(input, context);
45
- }
46
- deserialize(output, context) {
47
- return de_UpdateIdentityPoolCommand(output, context);
48
- }
8
+ export class UpdateIdentityPoolCommand 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", "UpdateIdentityPool", {})
21
+ .n("CognitoIdentityClient", "UpdateIdentityPoolCommand")
22
+ .f(void 0, void 0)
23
+ .ser(se_UpdateIdentityPoolCommand)
24
+ .de(de_UpdateIdentityPoolCommand)
25
+ .build() {
49
26
  }
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
6
6
  defaultSigningName: "cognito-identity",
7
7
  };
8
8
  };
9
+ export const commonParams = {
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
+ };
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CognitoIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoIdentityClient";
5
4
  import { CreateIdentityPoolInput, IdentityPool } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateIdentityPoolCommandInput extends CreateIdentityPoolInput
21
20
  */
22
21
  export interface CreateIdentityPoolCommandOutput extends IdentityPool, __MetadataBearer {
23
22
  }
23
+ declare const CreateIdentityPoolCommand_base: {
24
+ new (input: CreateIdentityPoolCommandInput): import("@smithy/smithy-client").CommandImpl<CreateIdentityPoolCommandInput, CreateIdentityPoolCommandOutput, CognitoIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a new identity pool. The identity pool is a store of user identity
@@ -141,23 +144,5 @@ export interface CreateIdentityPoolCommandOutput extends IdentityPool, __Metadat
141
144
  * <p>Base exception class for all service exceptions from CognitoIdentity service.</p>
142
145
  *
143
146
  */
144
- export declare class CreateIdentityPoolCommand extends $Command<CreateIdentityPoolCommandInput, CreateIdentityPoolCommandOutput, CognitoIdentityClientResolvedConfig> {
145
- readonly input: CreateIdentityPoolCommandInput;
146
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
147
- /**
148
- * @public
149
- */
150
- constructor(input: CreateIdentityPoolCommandInput);
151
- /**
152
- * @internal
153
- */
154
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CognitoIdentityClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateIdentityPoolCommandInput, CreateIdentityPoolCommandOutput>;
155
- /**
156
- * @internal
157
- */
158
- private serialize;
159
- /**
160
- * @internal
161
- */
162
- private deserialize;
147
+ export declare class CreateIdentityPoolCommand extends CreateIdentityPoolCommand_base {
163
148
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CognitoIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoIdentityClient";
5
4
  import { DeleteIdentitiesInput, DeleteIdentitiesResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteIdentitiesCommandInput extends DeleteIdentitiesInput {
21
20
  */
22
21
  export interface DeleteIdentitiesCommandOutput extends DeleteIdentitiesResponse, __MetadataBearer {
23
22
  }
23
+ declare const DeleteIdentitiesCommand_base: {
24
+ new (input: DeleteIdentitiesCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteIdentitiesCommandInput, DeleteIdentitiesCommandOutput, CognitoIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Deletes identities from an identity pool. You can specify a list of 1-60 identities
@@ -69,23 +72,5 @@ export interface DeleteIdentitiesCommandOutput extends DeleteIdentitiesResponse,
69
72
  * <p>Base exception class for all service exceptions from CognitoIdentity service.</p>
70
73
  *
71
74
  */
72
- export declare class DeleteIdentitiesCommand extends $Command<DeleteIdentitiesCommandInput, DeleteIdentitiesCommandOutput, CognitoIdentityClientResolvedConfig> {
73
- readonly input: DeleteIdentitiesCommandInput;
74
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
75
- /**
76
- * @public
77
- */
78
- constructor(input: DeleteIdentitiesCommandInput);
79
- /**
80
- * @internal
81
- */
82
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CognitoIdentityClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteIdentitiesCommandInput, DeleteIdentitiesCommandOutput>;
83
- /**
84
- * @internal
85
- */
86
- private serialize;
87
- /**
88
- * @internal
89
- */
90
- private deserialize;
75
+ export declare class DeleteIdentitiesCommand extends DeleteIdentitiesCommand_base {
91
76
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CognitoIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoIdentityClient";
5
4
  import { DeleteIdentityPoolInput } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteIdentityPoolCommandInput extends DeleteIdentityPoolInput
21
20
  */
22
21
  export interface DeleteIdentityPoolCommandOutput extends __MetadataBearer {
23
22
  }
23
+ declare const DeleteIdentityPoolCommand_base: {
24
+ new (input: DeleteIdentityPoolCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteIdentityPoolCommandInput, DeleteIdentityPoolCommandOutput, CognitoIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Deletes an identity pool. Once a pool is deleted, users will not be able to
@@ -67,23 +70,5 @@ export interface DeleteIdentityPoolCommandOutput extends __MetadataBearer {
67
70
  * <p>Base exception class for all service exceptions from CognitoIdentity service.</p>
68
71
  *
69
72
  */
70
- export declare class DeleteIdentityPoolCommand extends $Command<DeleteIdentityPoolCommandInput, DeleteIdentityPoolCommandOutput, CognitoIdentityClientResolvedConfig> {
71
- readonly input: DeleteIdentityPoolCommandInput;
72
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
73
- /**
74
- * @public
75
- */
76
- constructor(input: DeleteIdentityPoolCommandInput);
77
- /**
78
- * @internal
79
- */
80
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CognitoIdentityClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteIdentityPoolCommandInput, DeleteIdentityPoolCommandOutput>;
81
- /**
82
- * @internal
83
- */
84
- private serialize;
85
- /**
86
- * @internal
87
- */
88
- private deserialize;
73
+ export declare class DeleteIdentityPoolCommand extends DeleteIdentityPoolCommand_base {
89
74
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CognitoIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoIdentityClient";
5
4
  import { DescribeIdentityInput, IdentityDescription } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DescribeIdentityCommandInput extends DescribeIdentityInput {
21
20
  */
22
21
  export interface DescribeIdentityCommandOutput extends IdentityDescription, __MetadataBearer {
23
22
  }
23
+ declare const DescribeIdentityCommand_base: {
24
+ new (input: DescribeIdentityCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeIdentityCommandInput, DescribeIdentityCommandOutput, CognitoIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Returns metadata related to the given identity, including when the identity was
@@ -74,23 +77,5 @@ export interface DescribeIdentityCommandOutput extends IdentityDescription, __Me
74
77
  * <p>Base exception class for all service exceptions from CognitoIdentity service.</p>
75
78
  *
76
79
  */
77
- export declare class DescribeIdentityCommand extends $Command<DescribeIdentityCommandInput, DescribeIdentityCommandOutput, CognitoIdentityClientResolvedConfig> {
78
- readonly input: DescribeIdentityCommandInput;
79
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
80
- /**
81
- * @public
82
- */
83
- constructor(input: DescribeIdentityCommandInput);
84
- /**
85
- * @internal
86
- */
87
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CognitoIdentityClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeIdentityCommandInput, DescribeIdentityCommandOutput>;
88
- /**
89
- * @internal
90
- */
91
- private serialize;
92
- /**
93
- * @internal
94
- */
95
- private deserialize;
80
+ export declare class DescribeIdentityCommand extends DescribeIdentityCommand_base {
96
81
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CognitoIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoIdentityClient";
5
4
  import { DescribeIdentityPoolInput, IdentityPool } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DescribeIdentityPoolCommandInput extends DescribeIdentityPoolIn
21
20
  */
22
21
  export interface DescribeIdentityPoolCommandOutput extends IdentityPool, __MetadataBearer {
23
22
  }
23
+ declare const DescribeIdentityPoolCommand_base: {
24
+ new (input: DescribeIdentityPoolCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeIdentityPoolCommandInput, DescribeIdentityPoolCommandOutput, CognitoIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Gets details about a particular identity pool, including the pool name, ID
@@ -92,23 +95,5 @@ export interface DescribeIdentityPoolCommandOutput extends IdentityPool, __Metad
92
95
  * <p>Base exception class for all service exceptions from CognitoIdentity service.</p>
93
96
  *
94
97
  */
95
- export declare class DescribeIdentityPoolCommand extends $Command<DescribeIdentityPoolCommandInput, DescribeIdentityPoolCommandOutput, CognitoIdentityClientResolvedConfig> {
96
- readonly input: DescribeIdentityPoolCommandInput;
97
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
98
- /**
99
- * @public
100
- */
101
- constructor(input: DescribeIdentityPoolCommandInput);
102
- /**
103
- * @internal
104
- */
105
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CognitoIdentityClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeIdentityPoolCommandInput, DescribeIdentityPoolCommandOutput>;
106
- /**
107
- * @internal
108
- */
109
- private serialize;
110
- /**
111
- * @internal
112
- */
113
- private deserialize;
98
+ export declare class DescribeIdentityPoolCommand extends DescribeIdentityPoolCommand_base {
114
99
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CognitoIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoIdentityClient";
5
4
  import { GetCredentialsForIdentityInput, GetCredentialsForIdentityResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface GetCredentialsForIdentityCommandInput extends GetCredentialsFor
21
20
  */
22
21
  export interface GetCredentialsForIdentityCommandOutput extends GetCredentialsForIdentityResponse, __MetadataBearer {
23
22
  }
23
+ declare const GetCredentialsForIdentityCommand_base: {
24
+ new (input: GetCredentialsForIdentityCommandInput): import("@smithy/smithy-client").CommandImpl<GetCredentialsForIdentityCommandInput, GetCredentialsForIdentityCommandOutput, CognitoIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Returns credentials for the provided identity ID. Any provided logins will be
@@ -93,23 +96,5 @@ export interface GetCredentialsForIdentityCommandOutput extends GetCredentialsFo
93
96
  * <p>Base exception class for all service exceptions from CognitoIdentity service.</p>
94
97
  *
95
98
  */
96
- export declare class GetCredentialsForIdentityCommand extends $Command<GetCredentialsForIdentityCommandInput, GetCredentialsForIdentityCommandOutput, CognitoIdentityClientResolvedConfig> {
97
- readonly input: GetCredentialsForIdentityCommandInput;
98
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
99
- /**
100
- * @public
101
- */
102
- constructor(input: GetCredentialsForIdentityCommandInput);
103
- /**
104
- * @internal
105
- */
106
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CognitoIdentityClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetCredentialsForIdentityCommandInput, GetCredentialsForIdentityCommandOutput>;
107
- /**
108
- * @internal
109
- */
110
- private serialize;
111
- /**
112
- * @internal
113
- */
114
- private deserialize;
99
+ export declare class GetCredentialsForIdentityCommand extends GetCredentialsForIdentityCommand_base {
115
100
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CognitoIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoIdentityClient";
5
4
  import { GetIdInput, GetIdResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface GetIdCommandInput extends GetIdInput {
21
20
  */
22
21
  export interface GetIdCommandOutput extends GetIdResponse, __MetadataBearer {
23
22
  }
23
+ declare const GetIdCommand_base: {
24
+ new (input: GetIdCommandInput): import("@smithy/smithy-client").CommandImpl<GetIdCommandInput, GetIdCommandOutput, CognitoIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Generates (or retrieves) a Cognito ID. Supplying multiple logins will create an
@@ -84,23 +87,5 @@ export interface GetIdCommandOutput extends GetIdResponse, __MetadataBearer {
84
87
  * <p>Base exception class for all service exceptions from CognitoIdentity service.</p>
85
88
  *
86
89
  */
87
- export declare class GetIdCommand extends $Command<GetIdCommandInput, GetIdCommandOutput, CognitoIdentityClientResolvedConfig> {
88
- readonly input: GetIdCommandInput;
89
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
90
- /**
91
- * @public
92
- */
93
- constructor(input: GetIdCommandInput);
94
- /**
95
- * @internal
96
- */
97
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CognitoIdentityClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetIdCommandInput, GetIdCommandOutput>;
98
- /**
99
- * @internal
100
- */
101
- private serialize;
102
- /**
103
- * @internal
104
- */
105
- private deserialize;
90
+ export declare class GetIdCommand extends GetIdCommand_base {
106
91
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CognitoIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoIdentityClient";
5
4
  import { GetIdentityPoolRolesInput, GetIdentityPoolRolesResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface GetIdentityPoolRolesCommandInput extends GetIdentityPoolRolesIn
21
20
  */
22
21
  export interface GetIdentityPoolRolesCommandOutput extends GetIdentityPoolRolesResponse, __MetadataBearer {
23
22
  }
23
+ declare const GetIdentityPoolRolesCommand_base: {
24
+ new (input: GetIdentityPoolRolesCommandInput): import("@smithy/smithy-client").CommandImpl<GetIdentityPoolRolesCommandInput, GetIdentityPoolRolesCommandOutput, CognitoIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Gets the roles for an identity pool.</p>
@@ -91,23 +94,5 @@ export interface GetIdentityPoolRolesCommandOutput extends GetIdentityPoolRolesR
91
94
  * <p>Base exception class for all service exceptions from CognitoIdentity service.</p>
92
95
  *
93
96
  */
94
- export declare class GetIdentityPoolRolesCommand extends $Command<GetIdentityPoolRolesCommandInput, GetIdentityPoolRolesCommandOutput, CognitoIdentityClientResolvedConfig> {
95
- readonly input: GetIdentityPoolRolesCommandInput;
96
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
97
- /**
98
- * @public
99
- */
100
- constructor(input: GetIdentityPoolRolesCommandInput);
101
- /**
102
- * @internal
103
- */
104
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CognitoIdentityClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetIdentityPoolRolesCommandInput, GetIdentityPoolRolesCommandOutput>;
105
- /**
106
- * @internal
107
- */
108
- private serialize;
109
- /**
110
- * @internal
111
- */
112
- private deserialize;
97
+ export declare class GetIdentityPoolRolesCommand extends GetIdentityPoolRolesCommand_base {
113
98
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CognitoIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoIdentityClient";
5
4
  import { GetOpenIdTokenInput, GetOpenIdTokenResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface GetOpenIdTokenCommandInput extends GetOpenIdTokenInput {
21
20
  */
22
21
  export interface GetOpenIdTokenCommandOutput extends GetOpenIdTokenResponse, __MetadataBearer {
23
22
  }
23
+ declare const GetOpenIdTokenCommand_base: {
24
+ new (input: GetOpenIdTokenCommandInput): import("@smithy/smithy-client").CommandImpl<GetOpenIdTokenCommandInput, GetOpenIdTokenCommandOutput, CognitoIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Gets an OpenID token, using a known Cognito ID. This known Cognito ID is returned by
@@ -83,23 +86,5 @@ export interface GetOpenIdTokenCommandOutput extends GetOpenIdTokenResponse, __M
83
86
  * <p>Base exception class for all service exceptions from CognitoIdentity service.</p>
84
87
  *
85
88
  */
86
- export declare class GetOpenIdTokenCommand extends $Command<GetOpenIdTokenCommandInput, GetOpenIdTokenCommandOutput, CognitoIdentityClientResolvedConfig> {
87
- readonly input: GetOpenIdTokenCommandInput;
88
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
89
- /**
90
- * @public
91
- */
92
- constructor(input: GetOpenIdTokenCommandInput);
93
- /**
94
- * @internal
95
- */
96
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CognitoIdentityClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetOpenIdTokenCommandInput, GetOpenIdTokenCommandOutput>;
97
- /**
98
- * @internal
99
- */
100
- private serialize;
101
- /**
102
- * @internal
103
- */
104
- private deserialize;
89
+ export declare class GetOpenIdTokenCommand extends GetOpenIdTokenCommand_base {
105
90
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CognitoIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoIdentityClient";
5
4
  import { GetOpenIdTokenForDeveloperIdentityInput, GetOpenIdTokenForDeveloperIdentityResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface GetOpenIdTokenForDeveloperIdentityCommandInput extends GetOpenI
21
20
  */
22
21
  export interface GetOpenIdTokenForDeveloperIdentityCommandOutput extends GetOpenIdTokenForDeveloperIdentityResponse, __MetadataBearer {
23
22
  }
23
+ declare const GetOpenIdTokenForDeveloperIdentityCommand_base: {
24
+ new (input: GetOpenIdTokenForDeveloperIdentityCommandInput): import("@smithy/smithy-client").CommandImpl<GetOpenIdTokenForDeveloperIdentityCommandInput, GetOpenIdTokenForDeveloperIdentityCommandOutput, CognitoIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Registers (or retrieves) a Cognito <code>IdentityId</code> and an OpenID Connect
@@ -96,23 +99,5 @@ export interface GetOpenIdTokenForDeveloperIdentityCommandOutput extends GetOpen
96
99
  * <p>Base exception class for all service exceptions from CognitoIdentity service.</p>
97
100
  *
98
101
  */
99
- export declare class GetOpenIdTokenForDeveloperIdentityCommand extends $Command<GetOpenIdTokenForDeveloperIdentityCommandInput, GetOpenIdTokenForDeveloperIdentityCommandOutput, CognitoIdentityClientResolvedConfig> {
100
- readonly input: GetOpenIdTokenForDeveloperIdentityCommandInput;
101
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
102
- /**
103
- * @public
104
- */
105
- constructor(input: GetOpenIdTokenForDeveloperIdentityCommandInput);
106
- /**
107
- * @internal
108
- */
109
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CognitoIdentityClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetOpenIdTokenForDeveloperIdentityCommandInput, GetOpenIdTokenForDeveloperIdentityCommandOutput>;
110
- /**
111
- * @internal
112
- */
113
- private serialize;
114
- /**
115
- * @internal
116
- */
117
- private deserialize;
102
+ export declare class GetOpenIdTokenForDeveloperIdentityCommand extends GetOpenIdTokenForDeveloperIdentityCommand_base {
118
103
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CognitoIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoIdentityClient";
5
4
  import { GetPrincipalTagAttributeMapInput, GetPrincipalTagAttributeMapResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface GetPrincipalTagAttributeMapCommandInput extends GetPrincipalTag
21
20
  */
22
21
  export interface GetPrincipalTagAttributeMapCommandOutput extends GetPrincipalTagAttributeMapResponse, __MetadataBearer {
23
22
  }
23
+ declare const GetPrincipalTagAttributeMapCommand_base: {
24
+ new (input: GetPrincipalTagAttributeMapCommandInput): import("@smithy/smithy-client").CommandImpl<GetPrincipalTagAttributeMapCommandInput, GetPrincipalTagAttributeMapCommandOutput, CognitoIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Use <code>GetPrincipalTagAttributeMap</code> to list all mappings between <code>PrincipalTags</code> and user attributes.</p>
@@ -73,23 +76,5 @@ export interface GetPrincipalTagAttributeMapCommandOutput extends GetPrincipalTa
73
76
  * <p>Base exception class for all service exceptions from CognitoIdentity service.</p>
74
77
  *
75
78
  */
76
- export declare class GetPrincipalTagAttributeMapCommand extends $Command<GetPrincipalTagAttributeMapCommandInput, GetPrincipalTagAttributeMapCommandOutput, CognitoIdentityClientResolvedConfig> {
77
- readonly input: GetPrincipalTagAttributeMapCommandInput;
78
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
79
- /**
80
- * @public
81
- */
82
- constructor(input: GetPrincipalTagAttributeMapCommandInput);
83
- /**
84
- * @internal
85
- */
86
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CognitoIdentityClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetPrincipalTagAttributeMapCommandInput, GetPrincipalTagAttributeMapCommandOutput>;
87
- /**
88
- * @internal
89
- */
90
- private serialize;
91
- /**
92
- * @internal
93
- */
94
- private deserialize;
79
+ export declare class GetPrincipalTagAttributeMapCommand extends GetPrincipalTagAttributeMapCommand_base {
95
80
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CognitoIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoIdentityClient";
5
4
  import { ListIdentitiesInput, ListIdentitiesResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ListIdentitiesCommandInput extends ListIdentitiesInput {
21
20
  */
22
21
  export interface ListIdentitiesCommandOutput extends ListIdentitiesResponse, __MetadataBearer {
23
22
  }
23
+ declare const ListIdentitiesCommand_base: {
24
+ new (input: ListIdentitiesCommandInput): import("@smithy/smithy-client").CommandImpl<ListIdentitiesCommandInput, ListIdentitiesCommandOutput, CognitoIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Lists the identities in an identity pool.</p>
@@ -82,23 +85,5 @@ export interface ListIdentitiesCommandOutput extends ListIdentitiesResponse, __M
82
85
  * <p>Base exception class for all service exceptions from CognitoIdentity service.</p>
83
86
  *
84
87
  */
85
- export declare class ListIdentitiesCommand extends $Command<ListIdentitiesCommandInput, ListIdentitiesCommandOutput, CognitoIdentityClientResolvedConfig> {
86
- readonly input: ListIdentitiesCommandInput;
87
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
88
- /**
89
- * @public
90
- */
91
- constructor(input: ListIdentitiesCommandInput);
92
- /**
93
- * @internal
94
- */
95
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CognitoIdentityClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListIdentitiesCommandInput, ListIdentitiesCommandOutput>;
96
- /**
97
- * @internal
98
- */
99
- private serialize;
100
- /**
101
- * @internal
102
- */
103
- private deserialize;
88
+ export declare class ListIdentitiesCommand extends ListIdentitiesCommand_base {
104
89
  }