@aws-sdk/client-cognito-identity 3.927.0 → 3.929.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 (47) hide show
  1. package/dist-cjs/index.js +721 -882
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/CognitoIdentityClient.js +2 -0
  4. package/dist-es/commands/CreateIdentityPoolCommand.js +3 -9
  5. package/dist-es/commands/DeleteIdentitiesCommand.js +3 -9
  6. package/dist-es/commands/DeleteIdentityPoolCommand.js +3 -9
  7. package/dist-es/commands/DescribeIdentityCommand.js +3 -9
  8. package/dist-es/commands/DescribeIdentityPoolCommand.js +3 -9
  9. package/dist-es/commands/GetCredentialsForIdentityCommand.js +3 -10
  10. package/dist-es/commands/GetIdCommand.js +3 -10
  11. package/dist-es/commands/GetIdentityPoolRolesCommand.js +3 -9
  12. package/dist-es/commands/GetOpenIdTokenCommand.js +3 -10
  13. package/dist-es/commands/GetOpenIdTokenForDeveloperIdentityCommand.js +3 -10
  14. package/dist-es/commands/GetPrincipalTagAttributeMapCommand.js +3 -9
  15. package/dist-es/commands/ListIdentitiesCommand.js +3 -9
  16. package/dist-es/commands/ListIdentityPoolsCommand.js +3 -9
  17. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  18. package/dist-es/commands/LookupDeveloperIdentityCommand.js +3 -9
  19. package/dist-es/commands/MergeDeveloperIdentitiesCommand.js +3 -9
  20. package/dist-es/commands/SetIdentityPoolRolesCommand.js +3 -9
  21. package/dist-es/commands/SetPrincipalTagAttributeMapCommand.js +3 -9
  22. package/dist-es/commands/TagResourceCommand.js +3 -9
  23. package/dist-es/commands/UnlinkDeveloperIdentityCommand.js +3 -9
  24. package/dist-es/commands/UnlinkIdentityCommand.js +3 -10
  25. package/dist-es/commands/UntagResourceCommand.js +3 -9
  26. package/dist-es/commands/UpdateIdentityPoolCommand.js +3 -9
  27. package/dist-es/models/models_0.js +0 -37
  28. package/dist-es/runtimeConfig.shared.js +7 -0
  29. package/dist-es/schemas/schemas_0.js +650 -0
  30. package/dist-types/CognitoIdentityClient.d.ts +10 -1
  31. package/dist-types/models/models_0.d.ts +0 -36
  32. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  33. package/dist-types/runtimeConfig.d.ts +1 -0
  34. package/dist-types/runtimeConfig.native.d.ts +1 -0
  35. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  36. package/dist-types/schemas/schemas_0.d.ts +103 -0
  37. package/dist-types/ts3.4/CognitoIdentityClient.d.ts +4 -0
  38. package/dist-types/ts3.4/models/models_0.d.ts +0 -23
  39. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  40. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  41. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  42. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  43. package/dist-types/ts3.4/schemas/schemas_0.d.ts +110 -0
  44. package/package.json +6 -6
  45. package/dist-es/protocols/Aws_json1_1.js +0 -647
  46. package/dist-types/protocols/Aws_json1_1.d.ts +0 -209
  47. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -281
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const core_1 = require("@aws-sdk/core");
5
+ const protocols_1 = require("@aws-sdk/core/protocols");
5
6
  const core_2 = require("@smithy/core");
6
7
  const smithy_client_1 = require("@smithy/smithy-client");
7
8
  const url_parser_1 = require("@smithy/url-parser");
@@ -31,6 +32,12 @@ const getRuntimeConfig = (config) => {
31
32
  },
32
33
  ],
33
34
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
35
+ protocol: config?.protocol ??
36
+ new protocols_1.AwsJson1_1Protocol({
37
+ defaultNamespace: "com.amazonaws.cognitoidentity",
38
+ serviceTarget: "AWSCognitoIdentityService",
39
+ awsQueryCompatible: false,
40
+ }),
34
41
  serviceId: config?.serviceId ?? "Cognito Identity",
35
42
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
36
43
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
4
4
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
5
5
  import { resolveRegionConfig } from "@smithy/config-resolver";
6
6
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
+ import { getSchemaSerdePlugin } from "@smithy/core/schema";
7
8
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
8
9
  import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
9
10
  import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
@@ -28,6 +29,7 @@ export class CognitoIdentityClient extends __Client {
28
29
  const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
29
30
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
30
31
  this.config = _config_8;
32
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
31
33
  this.middlewareStack.use(getUserAgentPlugin(this.config));
32
34
  this.middlewareStack.use(getRetryPlugin(this.config));
33
35
  this.middlewareStack.use(getContentLengthPlugin(this.config));
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateIdentityPoolCommand, se_CreateIdentityPoolCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateIdentityPool } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateIdentityPoolCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSCognitoIdentityService", "CreateIdentityPool", {})
17
13
  .n("CognitoIdentityClient", "CreateIdentityPoolCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateIdentityPoolCommand)
20
- .de(de_CreateIdentityPoolCommand)
14
+ .sc(CreateIdentityPool)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteIdentitiesCommand, se_DeleteIdentitiesCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteIdentities } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteIdentitiesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSCognitoIdentityService", "DeleteIdentities", {})
17
13
  .n("CognitoIdentityClient", "DeleteIdentitiesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteIdentitiesCommand)
20
- .de(de_DeleteIdentitiesCommand)
14
+ .sc(DeleteIdentities)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteIdentityPoolCommand, se_DeleteIdentityPoolCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteIdentityPool } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteIdentityPoolCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSCognitoIdentityService", "DeleteIdentityPool", {})
17
13
  .n("CognitoIdentityClient", "DeleteIdentityPoolCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteIdentityPoolCommand)
20
- .de(de_DeleteIdentityPoolCommand)
14
+ .sc(DeleteIdentityPool)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DescribeIdentityCommand, se_DescribeIdentityCommand } from "../protocols/Aws_json1_1";
4
+ import { DescribeIdentity } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeIdentityCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSCognitoIdentityService", "DescribeIdentity", {})
17
13
  .n("CognitoIdentityClient", "DescribeIdentityCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeIdentityCommand)
20
- .de(de_DescribeIdentityCommand)
14
+ .sc(DescribeIdentity)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DescribeIdentityPoolCommand, se_DescribeIdentityPoolCommand } from "../protocols/Aws_json1_1";
4
+ import { DescribeIdentityPool } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeIdentityPoolCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSCognitoIdentityService", "DescribeIdentityPool", {})
17
13
  .n("CognitoIdentityClient", "DescribeIdentityPoolCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeIdentityPoolCommand)
20
- .de(de_DescribeIdentityPoolCommand)
14
+ .sc(DescribeIdentityPool)
21
15
  .build() {
22
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { GetCredentialsForIdentityInputFilterSensitiveLog, GetCredentialsForIdentityResponseFilterSensitiveLog, } from "../models/models_0";
6
- import { de_GetCredentialsForIdentityCommand, se_GetCredentialsForIdentityCommand } from "../protocols/Aws_json1_1";
4
+ import { GetCredentialsForIdentity } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class GetCredentialsForIdentityCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("AWSCognitoIdentityService", "GetCredentialsForIdentity", {})
18
13
  .n("CognitoIdentityClient", "GetCredentialsForIdentityCommand")
19
- .f(GetCredentialsForIdentityInputFilterSensitiveLog, GetCredentialsForIdentityResponseFilterSensitiveLog)
20
- .ser(se_GetCredentialsForIdentityCommand)
21
- .de(de_GetCredentialsForIdentityCommand)
14
+ .sc(GetCredentialsForIdentity)
22
15
  .build() {
23
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { GetIdInputFilterSensitiveLog } from "../models/models_0";
6
- import { de_GetIdCommand, se_GetIdCommand } from "../protocols/Aws_json1_1";
4
+ import { GetId } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class GetIdCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("AWSCognitoIdentityService", "GetId", {})
18
13
  .n("CognitoIdentityClient", "GetIdCommand")
19
- .f(GetIdInputFilterSensitiveLog, void 0)
20
- .ser(se_GetIdCommand)
21
- .de(de_GetIdCommand)
14
+ .sc(GetId)
22
15
  .build() {
23
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetIdentityPoolRolesCommand, se_GetIdentityPoolRolesCommand } from "../protocols/Aws_json1_1";
4
+ import { GetIdentityPoolRoles } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetIdentityPoolRolesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSCognitoIdentityService", "GetIdentityPoolRoles", {})
17
13
  .n("CognitoIdentityClient", "GetIdentityPoolRolesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetIdentityPoolRolesCommand)
20
- .de(de_GetIdentityPoolRolesCommand)
14
+ .sc(GetIdentityPoolRoles)
21
15
  .build() {
22
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { GetOpenIdTokenInputFilterSensitiveLog, GetOpenIdTokenResponseFilterSensitiveLog, } from "../models/models_0";
6
- import { de_GetOpenIdTokenCommand, se_GetOpenIdTokenCommand } from "../protocols/Aws_json1_1";
4
+ import { GetOpenIdToken } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class GetOpenIdTokenCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("AWSCognitoIdentityService", "GetOpenIdToken", {})
18
13
  .n("CognitoIdentityClient", "GetOpenIdTokenCommand")
19
- .f(GetOpenIdTokenInputFilterSensitiveLog, GetOpenIdTokenResponseFilterSensitiveLog)
20
- .ser(se_GetOpenIdTokenCommand)
21
- .de(de_GetOpenIdTokenCommand)
14
+ .sc(GetOpenIdToken)
22
15
  .build() {
23
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { GetOpenIdTokenForDeveloperIdentityInputFilterSensitiveLog, GetOpenIdTokenForDeveloperIdentityResponseFilterSensitiveLog, } from "../models/models_0";
6
- import { de_GetOpenIdTokenForDeveloperIdentityCommand, se_GetOpenIdTokenForDeveloperIdentityCommand, } from "../protocols/Aws_json1_1";
4
+ import { GetOpenIdTokenForDeveloperIdentity } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class GetOpenIdTokenForDeveloperIdentityCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("AWSCognitoIdentityService", "GetOpenIdTokenForDeveloperIdentity", {})
18
13
  .n("CognitoIdentityClient", "GetOpenIdTokenForDeveloperIdentityCommand")
19
- .f(GetOpenIdTokenForDeveloperIdentityInputFilterSensitiveLog, GetOpenIdTokenForDeveloperIdentityResponseFilterSensitiveLog)
20
- .ser(se_GetOpenIdTokenForDeveloperIdentityCommand)
21
- .de(de_GetOpenIdTokenForDeveloperIdentityCommand)
14
+ .sc(GetOpenIdTokenForDeveloperIdentity)
22
15
  .build() {
23
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetPrincipalTagAttributeMapCommand, se_GetPrincipalTagAttributeMapCommand } from "../protocols/Aws_json1_1";
4
+ import { GetPrincipalTagAttributeMap } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetPrincipalTagAttributeMapCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSCognitoIdentityService", "GetPrincipalTagAttributeMap", {})
17
13
  .n("CognitoIdentityClient", "GetPrincipalTagAttributeMapCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetPrincipalTagAttributeMapCommand)
20
- .de(de_GetPrincipalTagAttributeMapCommand)
14
+ .sc(GetPrincipalTagAttributeMap)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListIdentitiesCommand, se_ListIdentitiesCommand } from "../protocols/Aws_json1_1";
4
+ import { ListIdentities } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListIdentitiesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSCognitoIdentityService", "ListIdentities", {})
17
13
  .n("CognitoIdentityClient", "ListIdentitiesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListIdentitiesCommand)
20
- .de(de_ListIdentitiesCommand)
14
+ .sc(ListIdentities)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListIdentityPoolsCommand, se_ListIdentityPoolsCommand } from "../protocols/Aws_json1_1";
4
+ import { ListIdentityPools } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListIdentityPoolsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSCognitoIdentityService", "ListIdentityPools", {})
17
13
  .n("CognitoIdentityClient", "ListIdentityPoolsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListIdentityPoolsCommand)
20
- .de(de_ListIdentityPoolsCommand)
14
+ .sc(ListIdentityPools)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_json1_1";
4
+ import { ListTagsForResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListTagsForResourceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSCognitoIdentityService", "ListTagsForResource", {})
17
13
  .n("CognitoIdentityClient", "ListTagsForResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListTagsForResourceCommand)
20
- .de(de_ListTagsForResourceCommand)
14
+ .sc(ListTagsForResource)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_LookupDeveloperIdentityCommand, se_LookupDeveloperIdentityCommand } from "../protocols/Aws_json1_1";
4
+ import { LookupDeveloperIdentity } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class LookupDeveloperIdentityCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSCognitoIdentityService", "LookupDeveloperIdentity", {})
17
13
  .n("CognitoIdentityClient", "LookupDeveloperIdentityCommand")
18
- .f(void 0, void 0)
19
- .ser(se_LookupDeveloperIdentityCommand)
20
- .de(de_LookupDeveloperIdentityCommand)
14
+ .sc(LookupDeveloperIdentity)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_MergeDeveloperIdentitiesCommand, se_MergeDeveloperIdentitiesCommand } from "../protocols/Aws_json1_1";
4
+ import { MergeDeveloperIdentities } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class MergeDeveloperIdentitiesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSCognitoIdentityService", "MergeDeveloperIdentities", {})
17
13
  .n("CognitoIdentityClient", "MergeDeveloperIdentitiesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_MergeDeveloperIdentitiesCommand)
20
- .de(de_MergeDeveloperIdentitiesCommand)
14
+ .sc(MergeDeveloperIdentities)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_SetIdentityPoolRolesCommand, se_SetIdentityPoolRolesCommand } from "../protocols/Aws_json1_1";
4
+ import { SetIdentityPoolRoles } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class SetIdentityPoolRolesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSCognitoIdentityService", "SetIdentityPoolRoles", {})
17
13
  .n("CognitoIdentityClient", "SetIdentityPoolRolesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_SetIdentityPoolRolesCommand)
20
- .de(de_SetIdentityPoolRolesCommand)
14
+ .sc(SetIdentityPoolRoles)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_SetPrincipalTagAttributeMapCommand, se_SetPrincipalTagAttributeMapCommand } from "../protocols/Aws_json1_1";
4
+ import { SetPrincipalTagAttributeMap } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class SetPrincipalTagAttributeMapCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSCognitoIdentityService", "SetPrincipalTagAttributeMap", {})
17
13
  .n("CognitoIdentityClient", "SetPrincipalTagAttributeMapCommand")
18
- .f(void 0, void 0)
19
- .ser(se_SetPrincipalTagAttributeMapCommand)
20
- .de(de_SetPrincipalTagAttributeMapCommand)
14
+ .sc(SetPrincipalTagAttributeMap)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_json1_1";
4
+ import { TagResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class TagResourceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSCognitoIdentityService", "TagResource", {})
17
13
  .n("CognitoIdentityClient", "TagResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_TagResourceCommand)
20
- .de(de_TagResourceCommand)
14
+ .sc(TagResource)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UnlinkDeveloperIdentityCommand, se_UnlinkDeveloperIdentityCommand } from "../protocols/Aws_json1_1";
4
+ import { UnlinkDeveloperIdentity } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UnlinkDeveloperIdentityCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSCognitoIdentityService", "UnlinkDeveloperIdentity", {})
17
13
  .n("CognitoIdentityClient", "UnlinkDeveloperIdentityCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UnlinkDeveloperIdentityCommand)
20
- .de(de_UnlinkDeveloperIdentityCommand)
14
+ .sc(UnlinkDeveloperIdentity)
21
15
  .build() {
22
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { UnlinkIdentityInputFilterSensitiveLog } from "../models/models_0";
6
- import { de_UnlinkIdentityCommand, se_UnlinkIdentityCommand } from "../protocols/Aws_json1_1";
4
+ import { UnlinkIdentity } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class UnlinkIdentityCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("AWSCognitoIdentityService", "UnlinkIdentity", {})
18
13
  .n("CognitoIdentityClient", "UnlinkIdentityCommand")
19
- .f(UnlinkIdentityInputFilterSensitiveLog, void 0)
20
- .ser(se_UnlinkIdentityCommand)
21
- .de(de_UnlinkIdentityCommand)
14
+ .sc(UnlinkIdentity)
22
15
  .build() {
23
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_json1_1";
4
+ import { UntagResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UntagResourceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSCognitoIdentityService", "UntagResource", {})
17
13
  .n("CognitoIdentityClient", "UntagResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UntagResourceCommand)
20
- .de(de_UntagResourceCommand)
14
+ .sc(UntagResource)
21
15
  .build() {
22
16
  }