@aws-sdk/client-cognito-identity 3.427.0 → 3.429.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.
@@ -273,7 +273,7 @@ export interface UnprocessedIdentityId {
273
273
  * @public
274
274
  * <p>The error code indicating the type of error that occurred.</p>
275
275
  */
276
- ErrorCode?: ErrorCode | string;
276
+ ErrorCode?: ErrorCode;
277
277
  }
278
278
  /**
279
279
  * @public
@@ -564,7 +564,7 @@ export interface MappingRule {
564
564
  * <p>The match condition that specifies how closely the claim value in the IdP token must
565
565
  * match <code>Value</code>.</p>
566
566
  */
567
- MatchType: MappingRuleMatchType | string | undefined;
567
+ MatchType: MappingRuleMatchType | undefined;
568
568
  /**
569
569
  * @public
570
570
  * <p>A brief string that the claim must match, for example, "paid" or "yes".</p>
@@ -612,7 +612,7 @@ export interface RoleMapping {
612
612
  * map groups to roles. Rules will attempt to match claims from the token to map to a
613
613
  * role.</p>
614
614
  */
615
- Type: RoleMappingType | string | undefined;
615
+ Type: RoleMappingType | undefined;
616
616
  /**
617
617
  * @public
618
618
  * <p>If you specify Token or Rules as the <code>Type</code>,
@@ -622,7 +622,7 @@ export interface RoleMapping {
622
622
  * there are multiple <code>cognito:roles</code> matches for the <code>Token</code>
623
623
  * type.</p>
624
624
  */
625
- AmbiguousRoleResolution?: AmbiguousRoleResolutionType | string;
625
+ AmbiguousRoleResolution?: AmbiguousRoleResolutionType;
626
626
  /**
627
627
  * @public
628
628
  * <p>The rules to be used for mapping users to roles.</p>
@@ -86,7 +86,7 @@ export declare const ErrorCode: {
86
86
  export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode];
87
87
  export interface UnprocessedIdentityId {
88
88
  IdentityId?: string;
89
- ErrorCode?: ErrorCode | string;
89
+ ErrorCode?: ErrorCode;
90
90
  }
91
91
  export interface DeleteIdentitiesResponse {
92
92
  UnprocessedIdentityIds?: UnprocessedIdentityId[];
@@ -166,7 +166,7 @@ export type MappingRuleMatchType =
166
166
  (typeof MappingRuleMatchType)[keyof typeof MappingRuleMatchType];
167
167
  export interface MappingRule {
168
168
  Claim: string | undefined;
169
- MatchType: MappingRuleMatchType | string | undefined;
169
+ MatchType: MappingRuleMatchType | undefined;
170
170
  Value: string | undefined;
171
171
  RoleARN: string | undefined;
172
172
  }
@@ -180,8 +180,8 @@ export declare const RoleMappingType: {
180
180
  export type RoleMappingType =
181
181
  (typeof RoleMappingType)[keyof typeof RoleMappingType];
182
182
  export interface RoleMapping {
183
- Type: RoleMappingType | string | undefined;
184
- AmbiguousRoleResolution?: AmbiguousRoleResolutionType | string;
183
+ Type: RoleMappingType | undefined;
184
+ AmbiguousRoleResolution?: AmbiguousRoleResolutionType;
185
185
  RulesConfiguration?: RulesConfigurationType;
186
186
  }
187
187
  export interface GetIdentityPoolRolesResponse {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cognito-identity",
3
3
  "description": "AWS SDK for JavaScript Cognito Identity Client for Node.js, Browser and React Native",
4
- "version": "3.427.0",
4
+ "version": "3.429.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -22,44 +22,44 @@
22
22
  "dependencies": {
23
23
  "@aws-crypto/sha256-browser": "3.0.0",
24
24
  "@aws-crypto/sha256-js": "3.0.0",
25
- "@aws-sdk/client-sts": "3.427.0",
26
- "@aws-sdk/credential-provider-node": "3.427.0",
27
- "@aws-sdk/middleware-host-header": "3.425.0",
28
- "@aws-sdk/middleware-logger": "3.425.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.425.0",
30
- "@aws-sdk/middleware-signing": "3.425.0",
31
- "@aws-sdk/middleware-user-agent": "3.427.0",
32
- "@aws-sdk/region-config-resolver": "3.425.0",
33
- "@aws-sdk/types": "3.425.0",
34
- "@aws-sdk/util-endpoints": "3.427.0",
35
- "@aws-sdk/util-user-agent-browser": "3.425.0",
36
- "@aws-sdk/util-user-agent-node": "3.425.0",
37
- "@smithy/config-resolver": "^2.0.11",
38
- "@smithy/fetch-http-handler": "^2.2.1",
39
- "@smithy/hash-node": "^2.0.10",
40
- "@smithy/invalid-dependency": "^2.0.10",
41
- "@smithy/middleware-content-length": "^2.0.12",
42
- "@smithy/middleware-endpoint": "^2.0.10",
43
- "@smithy/middleware-retry": "^2.0.13",
44
- "@smithy/middleware-serde": "^2.0.10",
45
- "@smithy/middleware-stack": "^2.0.4",
46
- "@smithy/node-config-provider": "^2.0.13",
47
- "@smithy/node-http-handler": "^2.1.6",
48
- "@smithy/protocol-http": "^3.0.6",
49
- "@smithy/smithy-client": "^2.1.9",
50
- "@smithy/types": "^2.3.4",
51
- "@smithy/url-parser": "^2.0.10",
25
+ "@aws-sdk/client-sts": "3.429.0",
26
+ "@aws-sdk/credential-provider-node": "3.429.0",
27
+ "@aws-sdk/middleware-host-header": "3.429.0",
28
+ "@aws-sdk/middleware-logger": "3.428.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.428.0",
30
+ "@aws-sdk/middleware-signing": "3.428.0",
31
+ "@aws-sdk/middleware-user-agent": "3.428.0",
32
+ "@aws-sdk/region-config-resolver": "3.428.0",
33
+ "@aws-sdk/types": "3.428.0",
34
+ "@aws-sdk/util-endpoints": "3.428.0",
35
+ "@aws-sdk/util-user-agent-browser": "3.428.0",
36
+ "@aws-sdk/util-user-agent-node": "3.428.0",
37
+ "@smithy/config-resolver": "^2.0.14",
38
+ "@smithy/fetch-http-handler": "^2.2.3",
39
+ "@smithy/hash-node": "^2.0.11",
40
+ "@smithy/invalid-dependency": "^2.0.11",
41
+ "@smithy/middleware-content-length": "^2.0.13",
42
+ "@smithy/middleware-endpoint": "^2.1.1",
43
+ "@smithy/middleware-retry": "^2.0.16",
44
+ "@smithy/middleware-serde": "^2.0.11",
45
+ "@smithy/middleware-stack": "^2.0.5",
46
+ "@smithy/node-config-provider": "^2.1.1",
47
+ "@smithy/node-http-handler": "^2.1.7",
48
+ "@smithy/protocol-http": "^3.0.7",
49
+ "@smithy/smithy-client": "^2.1.11",
50
+ "@smithy/types": "^2.3.5",
51
+ "@smithy/url-parser": "^2.0.11",
52
52
  "@smithy/util-base64": "^2.0.0",
53
53
  "@smithy/util-body-length-browser": "^2.0.0",
54
54
  "@smithy/util-body-length-node": "^2.1.0",
55
- "@smithy/util-defaults-mode-browser": "^2.0.13",
56
- "@smithy/util-defaults-mode-node": "^2.0.15",
57
- "@smithy/util-retry": "^2.0.3",
55
+ "@smithy/util-defaults-mode-browser": "^2.0.15",
56
+ "@smithy/util-defaults-mode-node": "^2.0.19",
57
+ "@smithy/util-retry": "^2.0.4",
58
58
  "@smithy/util-utf8": "^2.0.0",
59
59
  "tslib": "^2.5.0"
60
60
  },
61
61
  "devDependencies": {
62
- "@aws-sdk/client-iam": "3.427.0",
62
+ "@aws-sdk/client-iam": "3.429.0",
63
63
  "@smithy/service-client-documentation-generator": "^2.0.0",
64
64
  "@tsconfig/node14": "1.0.3",
65
65
  "@types/chai": "^4.2.11",