@aws-sdk/client-cognito-identity 3.948.0 → 3.953.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 (43) hide show
  1. package/dist-cjs/index.js +282 -194
  2. package/dist-cjs/runtimeConfig.shared.js +7 -6
  3. package/dist-es/commands/CreateIdentityPoolCommand.js +2 -2
  4. package/dist-es/commands/DeleteIdentitiesCommand.js +2 -2
  5. package/dist-es/commands/DeleteIdentityPoolCommand.js +2 -2
  6. package/dist-es/commands/DescribeIdentityCommand.js +2 -2
  7. package/dist-es/commands/DescribeIdentityPoolCommand.js +2 -2
  8. package/dist-es/commands/GetCredentialsForIdentityCommand.js +2 -2
  9. package/dist-es/commands/GetIdCommand.js +2 -2
  10. package/dist-es/commands/GetIdentityPoolRolesCommand.js +2 -2
  11. package/dist-es/commands/GetOpenIdTokenCommand.js +2 -2
  12. package/dist-es/commands/GetOpenIdTokenForDeveloperIdentityCommand.js +2 -2
  13. package/dist-es/commands/GetPrincipalTagAttributeMapCommand.js +2 -2
  14. package/dist-es/commands/ListIdentitiesCommand.js +2 -2
  15. package/dist-es/commands/ListIdentityPoolsCommand.js +2 -2
  16. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  17. package/dist-es/commands/LookupDeveloperIdentityCommand.js +2 -2
  18. package/dist-es/commands/MergeDeveloperIdentitiesCommand.js +2 -2
  19. package/dist-es/commands/SetIdentityPoolRolesCommand.js +2 -2
  20. package/dist-es/commands/SetPrincipalTagAttributeMapCommand.js +2 -2
  21. package/dist-es/commands/TagResourceCommand.js +2 -2
  22. package/dist-es/commands/UnlinkDeveloperIdentityCommand.js +2 -2
  23. package/dist-es/commands/UnlinkIdentityCommand.js +2 -2
  24. package/dist-es/commands/UntagResourceCommand.js +2 -2
  25. package/dist-es/commands/UpdateIdentityPoolCommand.js +2 -2
  26. package/dist-es/index.js +1 -0
  27. package/dist-es/runtimeConfig.shared.js +7 -6
  28. package/dist-es/schemas/schemas_0.js +159 -152
  29. package/dist-types/CognitoIdentityClient.d.ts +1 -10
  30. package/dist-types/index.d.ts +1 -0
  31. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  32. package/dist-types/runtimeConfig.d.ts +6 -2
  33. package/dist-types/runtimeConfig.native.d.ts +6 -2
  34. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  35. package/dist-types/schemas/schemas_0.d.ts +82 -103
  36. package/dist-types/ts3.4/CognitoIdentityClient.d.ts +0 -4
  37. package/dist-types/ts3.4/index.d.ts +1 -0
  38. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  39. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  40. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  41. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  42. package/dist-types/ts3.4/schemas/schemas_0.d.ts +81 -105
  43. package/package.json +35 -35
@@ -32,12 +32,13 @@ const getRuntimeConfig = (config) => {
32
32
  },
33
33
  ],
34
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
- }),
35
+ protocol: config?.protocol ?? protocols_1.AwsJson1_1Protocol,
36
+ protocolSettings: config?.protocolSettings ?? {
37
+ defaultNamespace: "com.amazonaws.cognitoidentity",
38
+ xmlNamespace: "http://cognito-identity.amazonaws.com/doc/2014-06-30/",
39
+ version: "2014-06-30",
40
+ serviceTarget: "AWSCognitoIdentityService",
41
+ },
41
42
  serviceId: config?.serviceId ?? "Cognito Identity",
42
43
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
43
44
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { CreateIdentityPool } from "../schemas/schemas_0";
4
+ import { CreateIdentityPool$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateIdentityPoolCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateIdentityPoolCommand extends $Command
11
11
  })
12
12
  .s("AWSCognitoIdentityService", "CreateIdentityPool", {})
13
13
  .n("CognitoIdentityClient", "CreateIdentityPoolCommand")
14
- .sc(CreateIdentityPool)
14
+ .sc(CreateIdentityPool$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DeleteIdentities } from "../schemas/schemas_0";
4
+ import { DeleteIdentities$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteIdentitiesCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteIdentitiesCommand extends $Command
11
11
  })
12
12
  .s("AWSCognitoIdentityService", "DeleteIdentities", {})
13
13
  .n("CognitoIdentityClient", "DeleteIdentitiesCommand")
14
- .sc(DeleteIdentities)
14
+ .sc(DeleteIdentities$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DeleteIdentityPool } from "../schemas/schemas_0";
4
+ import { DeleteIdentityPool$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteIdentityPoolCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteIdentityPoolCommand extends $Command
11
11
  })
12
12
  .s("AWSCognitoIdentityService", "DeleteIdentityPool", {})
13
13
  .n("CognitoIdentityClient", "DeleteIdentityPoolCommand")
14
- .sc(DeleteIdentityPool)
14
+ .sc(DeleteIdentityPool$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DescribeIdentity } from "../schemas/schemas_0";
4
+ import { DescribeIdentity$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeIdentityCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeIdentityCommand extends $Command
11
11
  })
12
12
  .s("AWSCognitoIdentityService", "DescribeIdentity", {})
13
13
  .n("CognitoIdentityClient", "DescribeIdentityCommand")
14
- .sc(DescribeIdentity)
14
+ .sc(DescribeIdentity$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DescribeIdentityPool } from "../schemas/schemas_0";
4
+ import { DescribeIdentityPool$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeIdentityPoolCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeIdentityPoolCommand extends $Command
11
11
  })
12
12
  .s("AWSCognitoIdentityService", "DescribeIdentityPool", {})
13
13
  .n("CognitoIdentityClient", "DescribeIdentityPoolCommand")
14
- .sc(DescribeIdentityPool)
14
+ .sc(DescribeIdentityPool$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetCredentialsForIdentity } from "../schemas/schemas_0";
4
+ import { GetCredentialsForIdentity$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetCredentialsForIdentityCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetCredentialsForIdentityCommand extends $Command
11
11
  })
12
12
  .s("AWSCognitoIdentityService", "GetCredentialsForIdentity", {})
13
13
  .n("CognitoIdentityClient", "GetCredentialsForIdentityCommand")
14
- .sc(GetCredentialsForIdentity)
14
+ .sc(GetCredentialsForIdentity$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetId } from "../schemas/schemas_0";
4
+ import { GetId$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetIdCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetIdCommand extends $Command
11
11
  })
12
12
  .s("AWSCognitoIdentityService", "GetId", {})
13
13
  .n("CognitoIdentityClient", "GetIdCommand")
14
- .sc(GetId)
14
+ .sc(GetId$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetIdentityPoolRoles } from "../schemas/schemas_0";
4
+ import { GetIdentityPoolRoles$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetIdentityPoolRolesCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetIdentityPoolRolesCommand extends $Command
11
11
  })
12
12
  .s("AWSCognitoIdentityService", "GetIdentityPoolRoles", {})
13
13
  .n("CognitoIdentityClient", "GetIdentityPoolRolesCommand")
14
- .sc(GetIdentityPoolRoles)
14
+ .sc(GetIdentityPoolRoles$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetOpenIdToken } from "../schemas/schemas_0";
4
+ import { GetOpenIdToken$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetOpenIdTokenCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetOpenIdTokenCommand extends $Command
11
11
  })
12
12
  .s("AWSCognitoIdentityService", "GetOpenIdToken", {})
13
13
  .n("CognitoIdentityClient", "GetOpenIdTokenCommand")
14
- .sc(GetOpenIdToken)
14
+ .sc(GetOpenIdToken$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetOpenIdTokenForDeveloperIdentity } from "../schemas/schemas_0";
4
+ import { GetOpenIdTokenForDeveloperIdentity$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetOpenIdTokenForDeveloperIdentityCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetOpenIdTokenForDeveloperIdentityCommand extends $Command
11
11
  })
12
12
  .s("AWSCognitoIdentityService", "GetOpenIdTokenForDeveloperIdentity", {})
13
13
  .n("CognitoIdentityClient", "GetOpenIdTokenForDeveloperIdentityCommand")
14
- .sc(GetOpenIdTokenForDeveloperIdentity)
14
+ .sc(GetOpenIdTokenForDeveloperIdentity$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetPrincipalTagAttributeMap } from "../schemas/schemas_0";
4
+ import { GetPrincipalTagAttributeMap$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetPrincipalTagAttributeMapCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetPrincipalTagAttributeMapCommand extends $Command
11
11
  })
12
12
  .s("AWSCognitoIdentityService", "GetPrincipalTagAttributeMap", {})
13
13
  .n("CognitoIdentityClient", "GetPrincipalTagAttributeMapCommand")
14
- .sc(GetPrincipalTagAttributeMap)
14
+ .sc(GetPrincipalTagAttributeMap$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListIdentities } from "../schemas/schemas_0";
4
+ import { ListIdentities$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListIdentitiesCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListIdentitiesCommand extends $Command
11
11
  })
12
12
  .s("AWSCognitoIdentityService", "ListIdentities", {})
13
13
  .n("CognitoIdentityClient", "ListIdentitiesCommand")
14
- .sc(ListIdentities)
14
+ .sc(ListIdentities$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListIdentityPools } from "../schemas/schemas_0";
4
+ import { ListIdentityPools$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListIdentityPoolsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListIdentityPoolsCommand extends $Command
11
11
  })
12
12
  .s("AWSCognitoIdentityService", "ListIdentityPools", {})
13
13
  .n("CognitoIdentityClient", "ListIdentityPoolsCommand")
14
- .sc(ListIdentityPools)
14
+ .sc(ListIdentityPools$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListTagsForResource } from "../schemas/schemas_0";
4
+ import { ListTagsForResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListTagsForResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListTagsForResourceCommand extends $Command
11
11
  })
12
12
  .s("AWSCognitoIdentityService", "ListTagsForResource", {})
13
13
  .n("CognitoIdentityClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource)
14
+ .sc(ListTagsForResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { LookupDeveloperIdentity } from "../schemas/schemas_0";
4
+ import { LookupDeveloperIdentity$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class LookupDeveloperIdentityCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class LookupDeveloperIdentityCommand extends $Command
11
11
  })
12
12
  .s("AWSCognitoIdentityService", "LookupDeveloperIdentity", {})
13
13
  .n("CognitoIdentityClient", "LookupDeveloperIdentityCommand")
14
- .sc(LookupDeveloperIdentity)
14
+ .sc(LookupDeveloperIdentity$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { MergeDeveloperIdentities } from "../schemas/schemas_0";
4
+ import { MergeDeveloperIdentities$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class MergeDeveloperIdentitiesCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class MergeDeveloperIdentitiesCommand extends $Command
11
11
  })
12
12
  .s("AWSCognitoIdentityService", "MergeDeveloperIdentities", {})
13
13
  .n("CognitoIdentityClient", "MergeDeveloperIdentitiesCommand")
14
- .sc(MergeDeveloperIdentities)
14
+ .sc(MergeDeveloperIdentities$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { SetIdentityPoolRoles } from "../schemas/schemas_0";
4
+ import { SetIdentityPoolRoles$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class SetIdentityPoolRolesCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class SetIdentityPoolRolesCommand extends $Command
11
11
  })
12
12
  .s("AWSCognitoIdentityService", "SetIdentityPoolRoles", {})
13
13
  .n("CognitoIdentityClient", "SetIdentityPoolRolesCommand")
14
- .sc(SetIdentityPoolRoles)
14
+ .sc(SetIdentityPoolRoles$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { SetPrincipalTagAttributeMap } from "../schemas/schemas_0";
4
+ import { SetPrincipalTagAttributeMap$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class SetPrincipalTagAttributeMapCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class SetPrincipalTagAttributeMapCommand extends $Command
11
11
  })
12
12
  .s("AWSCognitoIdentityService", "SetPrincipalTagAttributeMap", {})
13
13
  .n("CognitoIdentityClient", "SetPrincipalTagAttributeMapCommand")
14
- .sc(SetPrincipalTagAttributeMap)
14
+ .sc(SetPrincipalTagAttributeMap$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { TagResource } from "../schemas/schemas_0";
4
+ import { TagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class TagResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class TagResourceCommand extends $Command
11
11
  })
12
12
  .s("AWSCognitoIdentityService", "TagResource", {})
13
13
  .n("CognitoIdentityClient", "TagResourceCommand")
14
- .sc(TagResource)
14
+ .sc(TagResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UnlinkDeveloperIdentity } from "../schemas/schemas_0";
4
+ import { UnlinkDeveloperIdentity$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UnlinkDeveloperIdentityCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UnlinkDeveloperIdentityCommand extends $Command
11
11
  })
12
12
  .s("AWSCognitoIdentityService", "UnlinkDeveloperIdentity", {})
13
13
  .n("CognitoIdentityClient", "UnlinkDeveloperIdentityCommand")
14
- .sc(UnlinkDeveloperIdentity)
14
+ .sc(UnlinkDeveloperIdentity$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UnlinkIdentity } from "../schemas/schemas_0";
4
+ import { UnlinkIdentity$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UnlinkIdentityCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UnlinkIdentityCommand extends $Command
11
11
  })
12
12
  .s("AWSCognitoIdentityService", "UnlinkIdentity", {})
13
13
  .n("CognitoIdentityClient", "UnlinkIdentityCommand")
14
- .sc(UnlinkIdentity)
14
+ .sc(UnlinkIdentity$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UntagResource } from "../schemas/schemas_0";
4
+ import { UntagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UntagResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UntagResourceCommand extends $Command
11
11
  })
12
12
  .s("AWSCognitoIdentityService", "UntagResource", {})
13
13
  .n("CognitoIdentityClient", "UntagResourceCommand")
14
- .sc(UntagResource)
14
+ .sc(UntagResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateIdentityPool } from "../schemas/schemas_0";
4
+ import { UpdateIdentityPool$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateIdentityPoolCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateIdentityPoolCommand extends $Command
11
11
  })
12
12
  .s("AWSCognitoIdentityService", "UpdateIdentityPool", {})
13
13
  .n("CognitoIdentityClient", "UpdateIdentityPoolCommand")
14
- .sc(UpdateIdentityPool)
14
+ .sc(UpdateIdentityPool$)
15
15
  .build() {
16
16
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./CognitoIdentityClient";
2
2
  export * from "./CognitoIdentity";
3
3
  export * from "./commands";
4
+ export * from "./schemas/schemas_0";
4
5
  export * from "./pagination";
5
6
  export * from "./models/enums";
6
7
  export * from "./models/errors";
@@ -29,12 +29,13 @@ export const getRuntimeConfig = (config) => {
29
29
  },
30
30
  ],
31
31
  logger: config?.logger ?? new NoOpLogger(),
32
- protocol: config?.protocol ??
33
- new AwsJson1_1Protocol({
34
- defaultNamespace: "com.amazonaws.cognitoidentity",
35
- serviceTarget: "AWSCognitoIdentityService",
36
- awsQueryCompatible: false,
37
- }),
32
+ protocol: config?.protocol ?? AwsJson1_1Protocol,
33
+ protocolSettings: config?.protocolSettings ?? {
34
+ defaultNamespace: "com.amazonaws.cognitoidentity",
35
+ xmlNamespace: "http://cognito-identity.amazonaws.com/doc/2014-06-30/",
36
+ version: "2014-06-30",
37
+ serviceTarget: "AWSCognitoIdentityService",
38
+ },
38
39
  serviceId: config?.serviceId ?? "Cognito Identity",
39
40
  urlParser: config?.urlParser ?? parseUrl,
40
41
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,