@aws-sdk/client-verifiedpermissions 3.734.0 → 3.739.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.
package/dist-cjs/index.js CHANGED
@@ -739,6 +739,8 @@ var ContextDefinition;
739
739
  ContextDefinition2.visit = /* @__PURE__ */ __name((value, visitor) => {
740
740
  if (value.contextMap !== void 0)
741
741
  return visitor.contextMap(value.contextMap);
742
+ if (value.cedarJson !== void 0)
743
+ return visitor.cedarJson(value.cedarJson);
742
744
  return visitor._(value.$unknown[0], value.$unknown[1]);
743
745
  }, "visit");
744
746
  })(ContextDefinition || (ContextDefinition = {}));
@@ -747,6 +749,8 @@ var EntitiesDefinition;
747
749
  EntitiesDefinition2.visit = /* @__PURE__ */ __name((value, visitor) => {
748
750
  if (value.entityList !== void 0)
749
751
  return visitor.entityList(value.entityList);
752
+ if (value.cedarJson !== void 0)
753
+ return visitor.cedarJson(value.cedarJson);
750
754
  return visitor._(value.$unknown[0], value.$unknown[1]);
751
755
  }, "visit");
752
756
  })(EntitiesDefinition || (EntitiesDefinition = {}));
@@ -1261,6 +1265,8 @@ var AttributeValueFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
1261
1265
  var ContextDefinitionFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
1262
1266
  if (obj.contextMap !== void 0)
1263
1267
  return { contextMap: import_smithy_client.SENSITIVE_STRING };
1268
+ if (obj.cedarJson !== void 0)
1269
+ return { cedarJson: import_smithy_client.SENSITIVE_STRING };
1264
1270
  if (obj.$unknown !== void 0)
1265
1271
  return { [obj.$unknown[0]]: "UNKNOWN" };
1266
1272
  }, "ContextDefinitionFilterSensitiveLog");
@@ -1301,6 +1307,8 @@ var BatchIsAuthorizedWithTokenOutputItemFilterSensitiveLog = /* @__PURE__ */ __n
1301
1307
  var EntitiesDefinitionFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
1302
1308
  if (obj.entityList !== void 0)
1303
1309
  return { entityList: obj.entityList.map((item) => EntityItemFilterSensitiveLog(item)) };
1310
+ if (obj.cedarJson !== void 0)
1311
+ return { cedarJson: import_smithy_client.SENSITIVE_STRING };
1304
1312
  if (obj.$unknown !== void 0)
1305
1313
  return { [obj.$unknown[0]]: "UNKNOWN" };
1306
1314
  }, "EntitiesDefinitionFilterSensitiveLog");
@@ -2021,6 +2029,7 @@ var se_BatchIsAuthorizedWithTokenInputList = /* @__PURE__ */ __name((input, cont
2021
2029
  }, "se_BatchIsAuthorizedWithTokenInputList");
2022
2030
  var se_ContextDefinition = /* @__PURE__ */ __name((input, context) => {
2023
2031
  return ContextDefinition.visit(input, {
2032
+ cedarJson: (value) => ({ cedarJson: value }),
2024
2033
  contextMap: (value) => ({ contextMap: se_ContextMap(value, context) }),
2025
2034
  _: (name, value) => ({ name: value })
2026
2035
  });
@@ -2066,6 +2075,7 @@ var se_CreatePolicyTemplateInput = /* @__PURE__ */ __name((input, context) => {
2066
2075
  }, "se_CreatePolicyTemplateInput");
2067
2076
  var se_EntitiesDefinition = /* @__PURE__ */ __name((input, context) => {
2068
2077
  return EntitiesDefinition.visit(input, {
2078
+ cedarJson: (value) => ({ cedarJson: value }),
2069
2079
  entityList: (value) => ({ entityList: se_EntityList(value, context) }),
2070
2080
  _: (name, value) => ({ name: value })
2071
2081
  });
@@ -2236,6 +2246,9 @@ var de_BatchIsAuthorizedWithTokenOutputList = /* @__PURE__ */ __name((output, co
2236
2246
  return retVal;
2237
2247
  }, "de_BatchIsAuthorizedWithTokenOutputList");
2238
2248
  var de_ContextDefinition = /* @__PURE__ */ __name((output, context) => {
2249
+ if ((0, import_smithy_client.expectString)(output.cedarJson) !== void 0) {
2250
+ return { cedarJson: (0, import_smithy_client.expectString)(output.cedarJson) };
2251
+ }
2239
2252
  if (output.contextMap != null) {
2240
2253
  return {
2241
2254
  contextMap: de_ContextMap(output.contextMap, context)
@@ -301,6 +301,8 @@ export var ContextDefinition;
301
301
  ContextDefinition.visit = (value, visitor) => {
302
302
  if (value.contextMap !== undefined)
303
303
  return visitor.contextMap(value.contextMap);
304
+ if (value.cedarJson !== undefined)
305
+ return visitor.cedarJson(value.cedarJson);
304
306
  return visitor._(value.$unknown[0], value.$unknown[1]);
305
307
  };
306
308
  })(ContextDefinition || (ContextDefinition = {}));
@@ -309,6 +311,8 @@ export var EntitiesDefinition;
309
311
  EntitiesDefinition.visit = (value, visitor) => {
310
312
  if (value.entityList !== undefined)
311
313
  return visitor.entityList(value.entityList);
314
+ if (value.cedarJson !== undefined)
315
+ return visitor.cedarJson(value.cedarJson);
312
316
  return visitor._(value.$unknown[0], value.$unknown[1]);
313
317
  };
314
318
  })(EntitiesDefinition || (EntitiesDefinition = {}));
@@ -814,6 +818,8 @@ export const AttributeValueFilterSensitiveLog = (obj) => {
814
818
  export const ContextDefinitionFilterSensitiveLog = (obj) => {
815
819
  if (obj.contextMap !== undefined)
816
820
  return { contextMap: SENSITIVE_STRING };
821
+ if (obj.cedarJson !== undefined)
822
+ return { cedarJson: SENSITIVE_STRING };
817
823
  if (obj.$unknown !== undefined)
818
824
  return { [obj.$unknown[0]]: "UNKNOWN" };
819
825
  };
@@ -851,6 +857,8 @@ export const BatchIsAuthorizedWithTokenOutputItemFilterSensitiveLog = (obj) => (
851
857
  export const EntitiesDefinitionFilterSensitiveLog = (obj) => {
852
858
  if (obj.entityList !== undefined)
853
859
  return { entityList: obj.entityList.map((item) => EntityItemFilterSensitiveLog(item)) };
860
+ if (obj.cedarJson !== undefined)
861
+ return { cedarJson: SENSITIVE_STRING };
854
862
  if (obj.$unknown !== undefined)
855
863
  return { [obj.$unknown[0]]: "UNKNOWN" };
856
864
  };
@@ -677,6 +677,7 @@ const se_BatchIsAuthorizedWithTokenInputList = (input, context) => {
677
677
  };
678
678
  const se_ContextDefinition = (input, context) => {
679
679
  return ContextDefinition.visit(input, {
680
+ cedarJson: (value) => ({ cedarJson: value }),
680
681
  contextMap: (value) => ({ contextMap: se_ContextMap(value, context) }),
681
682
  _: (name, value) => ({ name: value }),
682
683
  });
@@ -722,6 +723,7 @@ const se_CreatePolicyTemplateInput = (input, context) => {
722
723
  };
723
724
  const se_EntitiesDefinition = (input, context) => {
724
725
  return EntitiesDefinition.visit(input, {
726
+ cedarJson: (value) => ({ cedarJson: value }),
725
727
  entityList: (value) => ({ entityList: se_EntityList(value, context) }),
726
728
  _: (name, value) => ({ name: value }),
727
729
  });
@@ -902,6 +904,9 @@ const de_BatchIsAuthorizedWithTokenOutputList = (output, context) => {
902
904
  return retVal;
903
905
  };
904
906
  const de_ContextDefinition = (output, context) => {
907
+ if (__expectString(output.cedarJson) !== undefined) {
908
+ return { cedarJson: __expectString(output.cedarJson) };
909
+ }
905
910
  if (output.contextMap != null) {
906
911
  return {
907
912
  contextMap: de_ContextMap(output.contextMap, context),
@@ -100,6 +100,7 @@ declare const BatchIsAuthorizedCommand_base: {
100
100
  * ],
101
101
  * },
102
102
  * ],
103
+ * cedarJson: "STRING_VALUE",
103
104
  * },
104
105
  * requests: [ // BatchIsAuthorizedInputList // required
105
106
  * { // BatchIsAuthorizedInputItem
@@ -113,6 +114,7 @@ declare const BatchIsAuthorizedCommand_base: {
113
114
  * contextMap: { // ContextMap
114
115
  * "<keys>": "<AttributeValue>",
115
116
  * },
117
+ * cedarJson: "STRING_VALUE",
116
118
  * },
117
119
  * },
118
120
  * ],
@@ -168,6 +170,7 @@ declare const BatchIsAuthorizedCommand_base: {
168
170
  * // decimal: "STRING_VALUE",
169
171
  * // },
170
172
  * // },
173
+ * // cedarJson: "STRING_VALUE",
171
174
  * // },
172
175
  * // },
173
176
  * // decision: "ALLOW" || "DENY", // required
@@ -100,6 +100,7 @@ declare const BatchIsAuthorizedWithTokenCommand_base: {
100
100
  * ],
101
101
  * },
102
102
  * ],
103
+ * cedarJson: "STRING_VALUE",
103
104
  * },
104
105
  * requests: [ // BatchIsAuthorizedWithTokenInputList // required
105
106
  * { // BatchIsAuthorizedWithTokenInputItem
@@ -112,6 +113,7 @@ declare const BatchIsAuthorizedWithTokenCommand_base: {
112
113
  * contextMap: { // ContextMap
113
114
  * "<keys>": "<AttributeValue>",
114
115
  * },
116
+ * cedarJson: "STRING_VALUE",
115
117
  * },
116
118
  * },
117
119
  * ],
@@ -164,6 +166,7 @@ declare const BatchIsAuthorizedWithTokenCommand_base: {
164
166
  * // decimal: "STRING_VALUE",
165
167
  * // },
166
168
  * // },
169
+ * // cedarJson: "STRING_VALUE",
167
170
  * // },
168
171
  * // },
169
172
  * // decision: "ALLOW" || "DENY", // required
@@ -86,6 +86,7 @@ declare const IsAuthorizedCommand_base: {
86
86
  * decimal: "STRING_VALUE",
87
87
  * },
88
88
  * },
89
+ * cedarJson: "STRING_VALUE",
89
90
  * },
90
91
  * entities: { // EntitiesDefinition Union: only one key present
91
92
  * entityList: [ // EntityList
@@ -99,6 +100,7 @@ declare const IsAuthorizedCommand_base: {
99
100
  * ],
100
101
  * },
101
102
  * ],
103
+ * cedarJson: "STRING_VALUE",
102
104
  * },
103
105
  * };
104
106
  * const command = new IsAuthorizedCommand(input);
@@ -92,6 +92,7 @@ declare const IsAuthorizedWithTokenCommand_base: {
92
92
  * decimal: "STRING_VALUE",
93
93
  * },
94
94
  * },
95
+ * cedarJson: "STRING_VALUE",
95
96
  * },
96
97
  * entities: { // EntitiesDefinition Union: only one key present
97
98
  * entityList: [ // EntityList
@@ -105,6 +106,7 @@ declare const IsAuthorizedWithTokenCommand_base: {
105
106
  * ],
106
107
  * },
107
108
  * ],
109
+ * cedarJson: "STRING_VALUE",
108
110
  * },
109
111
  * };
110
112
  * const command = new IsAuthorizedWithTokenCommand(input);
@@ -62,12 +62,14 @@ export interface EntityIdentifier {
62
62
  entityId: string | undefined;
63
63
  }
64
64
  /**
65
- * <p>Information about a policy that you include in a <code>BatchGetPolicy</code> API request.</p>
65
+ * <p>Information about a policy that you include in a <code>BatchGetPolicy</code> API
66
+ * request.</p>
66
67
  * @public
67
68
  */
68
69
  export interface BatchGetPolicyInputItem {
69
70
  /**
70
- * <p>The identifier of the policy store where the policy you want information about is stored.</p>
71
+ * <p>The identifier of the policy store where the policy you want information about is
72
+ * stored.</p>
71
73
  * @public
72
74
  */
73
75
  policyStoreId: string | undefined;
@@ -100,7 +102,8 @@ export declare const BatchGetPolicyErrorCode: {
100
102
  */
101
103
  export type BatchGetPolicyErrorCode = (typeof BatchGetPolicyErrorCode)[keyof typeof BatchGetPolicyErrorCode];
102
104
  /**
103
- * <p>Contains the information about an error resulting from a <code>BatchGetPolicy</code> API call.</p>
105
+ * <p>Contains the information about an error resulting from a <code>BatchGetPolicy</code>
106
+ * API call.</p>
104
107
  * @public
105
108
  */
106
109
  export interface BatchGetPolicyErrorItem {
@@ -145,7 +148,8 @@ export interface StaticPolicyDefinitionDetail {
145
148
  statement: string | undefined;
146
149
  }
147
150
  /**
148
- * <p>Contains information about a policy that was created by instantiating a policy template. </p>
151
+ * <p>Contains information about a policy that was created by instantiating a policy
152
+ * template. </p>
149
153
  * @public
150
154
  */
151
155
  export interface TemplateLinkedPolicyDefinitionDetail {
@@ -226,12 +230,14 @@ export declare const PolicyType: {
226
230
  */
227
231
  export type PolicyType = (typeof PolicyType)[keyof typeof PolicyType];
228
232
  /**
229
- * <p>Contains information about a policy returned from a <code>BatchGetPolicy</code> API request.</p>
233
+ * <p>Contains information about a policy returned from a <code>BatchGetPolicy</code> API
234
+ * request.</p>
230
235
  * @public
231
236
  */
232
237
  export interface BatchGetPolicyOutputItem {
233
238
  /**
234
- * <p>The identifier of the policy store where the policy you want information about is stored.</p>
239
+ * <p>The identifier of the policy store where the policy you want information about is
240
+ * stored.</p>
235
241
  * @public
236
242
  */
237
243
  policyStoreId: string | undefined;
@@ -537,7 +543,7 @@ export interface CognitoGroupConfiguration {
537
543
  * <p>The type of entity that a policy store maps to groups from an Amazon Cognito user
538
544
  * pool identity source.</p>
539
545
  * <p>This data type is part of an <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_CognitoUserPoolConfigurationItem.html">CognitoUserPoolConfigurationDetail</a> structure and is a response parameter to
540
- * <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_GetIdentitySource.html">GetIdentitySource</a>.</p>
546
+ * <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_GetIdentitySource.html">GetIdentitySource</a>.</p>
541
547
  * @public
542
548
  */
543
549
  export interface CognitoGroupConfigurationDetail {
@@ -552,7 +558,7 @@ export interface CognitoGroupConfigurationDetail {
552
558
  * <p>The type of entity that a policy store maps to groups from an Amazon Cognito user
553
559
  * pool identity source.</p>
554
560
  * <p>This data type is part of an <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_CognitoUserPoolConfigurationDetail.html">CognitoUserPoolConfigurationItem</a> structure and is a response parameter to
555
- * <a href="http://forums.aws.amazon.com/verifiedpermissions/latest/apireference/API_ListIdentitySources.html">ListIdentitySources</a>.</p>
561
+ * <a href="http://forums.aws.amazon.com/verifiedpermissions/latest/apireference/API_ListIdentitySources.html">ListIdentitySources</a>.</p>
556
562
  * @public
557
563
  */
558
564
  export interface CognitoGroupConfigurationItem {
@@ -569,7 +575,8 @@ export interface CognitoGroupConfigurationItem {
569
575
  * <p>This data type part of a <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_Configuration.html">Configuration</a> structure that is
570
576
  * used as a parameter to <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_CreateIdentitySource.html">CreateIdentitySource</a>.</p>
571
577
  * <p>Example:<code>"CognitoUserPoolConfiguration":\{"UserPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","ClientIds":
572
- * ["a1b2c3d4e5f6g7h8i9j0kalbmc"],"groupConfiguration": \{"groupEntityType": "MyCorp::Group"\}\}</code>
578
+ * ["a1b2c3d4e5f6g7h8i9j0kalbmc"],"groupConfiguration": \{"groupEntityType":
579
+ * "MyCorp::Group"\}\}</code>
573
580
  * </p>
574
581
  * @public
575
582
  */
@@ -601,10 +608,11 @@ export interface CognitoUserPoolConfiguration {
601
608
  /**
602
609
  * <p>The configuration for an identity source that represents a connection to an Amazon Cognito user pool used
603
610
  * as an identity provider for Verified Permissions.</p>
604
- * <p>This data type is used as a field that is part of an <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_ConfigurationDetail.html">ConfigurationDetail</a> structure that is
605
- * part of the response to <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_GetIdentitySource.html">GetIdentitySource</a>.</p>
611
+ * <p>This data type is used as a field that is part of an <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_ConfigurationDetail.html">ConfigurationDetail</a>
612
+ * structure that is part of the response to <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_GetIdentitySource.html">GetIdentitySource</a>.</p>
606
613
  * <p>Example:<code>"CognitoUserPoolConfiguration":\{"UserPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","ClientIds":
607
- * ["a1b2c3d4e5f6g7h8i9j0kalbmc"],"groupConfiguration": \{"groupEntityType": "MyCorp::Group"\}\}</code>
614
+ * ["a1b2c3d4e5f6g7h8i9j0kalbmc"],"groupConfiguration": \{"groupEntityType":
615
+ * "MyCorp::Group"\}\}</code>
608
616
  * </p>
609
617
  * @public
610
618
  */
@@ -613,7 +621,7 @@ export interface CognitoUserPoolConfigurationDetail {
613
621
  * <p>The <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Name (ARN)</a> of the Amazon Cognito user pool that contains the identities to be
614
622
  * authorized.</p>
615
623
  * <p>Example: <code>"userPoolArn":
616
- * "arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5"</code>
624
+ * "arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5"</code>
617
625
  * </p>
618
626
  * @public
619
627
  */
@@ -627,10 +635,10 @@ export interface CognitoUserPoolConfigurationDetail {
627
635
  */
628
636
  clientIds: string[] | undefined;
629
637
  /**
630
- * <p>The OpenID Connect (OIDC) <code>issuer</code> ID of the Amazon Cognito user pool that contains the identities to be
631
- * authorized.</p>
638
+ * <p>The OpenID Connect (OIDC) <code>issuer</code> ID of the Amazon Cognito user pool that contains
639
+ * the identities to be authorized.</p>
632
640
  * <p>Example: <code>"issuer":
633
- * "https://cognito-idp.us-east-1.amazonaws.com/us-east-1_1a2b3c4d5"</code>
641
+ * "https://cognito-idp.us-east-1.amazonaws.com/us-east-1_1a2b3c4d5"</code>
634
642
  * </p>
635
643
  * @public
636
644
  */
@@ -645,10 +653,11 @@ export interface CognitoUserPoolConfigurationDetail {
645
653
  /**
646
654
  * <p>The configuration for an identity source that represents a connection to an Amazon Cognito user pool used
647
655
  * as an identity provider for Verified Permissions.</p>
648
- * <p>This data type is used as a field that is part of the <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_ConfigurationItem.html">ConfigurationItem</a> structure that is
649
- * part of the response to <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_ListIdentitySources.html">ListIdentitySources</a>.</p>
656
+ * <p>This data type is used as a field that is part of the <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_ConfigurationItem.html">ConfigurationItem</a> structure
657
+ * that is part of the response to <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_ListIdentitySources.html">ListIdentitySources</a>.</p>
650
658
  * <p>Example:<code>"CognitoUserPoolConfiguration":\{"UserPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","ClientIds":
651
- * ["a1b2c3d4e5f6g7h8i9j0kalbmc"],"groupConfiguration": \{"groupEntityType": "MyCorp::Group"\}\}</code>
659
+ * ["a1b2c3d4e5f6g7h8i9j0kalbmc"],"groupConfiguration": \{"groupEntityType":
660
+ * "MyCorp::Group"\}\}</code>
652
661
  * </p>
653
662
  * @public
654
663
  */
@@ -657,7 +666,7 @@ export interface CognitoUserPoolConfigurationItem {
657
666
  * <p>The <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Name (ARN)</a> of the Amazon Cognito user pool that contains the identities to be
658
667
  * authorized.</p>
659
668
  * <p>Example: <code>"userPoolArn":
660
- * "arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5"</code>
669
+ * "arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5"</code>
661
670
  * </p>
662
671
  * @public
663
672
  */
@@ -671,10 +680,10 @@ export interface CognitoUserPoolConfigurationItem {
671
680
  */
672
681
  clientIds: string[] | undefined;
673
682
  /**
674
- * <p>The OpenID Connect (OIDC) <code>issuer</code> ID of the Amazon Cognito user pool that contains the identities to be
675
- * authorized.</p>
683
+ * <p>The OpenID Connect (OIDC) <code>issuer</code> ID of the Amazon Cognito user pool that contains
684
+ * the identities to be authorized.</p>
676
685
  * <p>Example: <code>"issuer":
677
- * "https://cognito-idp.us-east-1.amazonaws.com/us-east-1_1a2b3c4d5"</code>
686
+ * "https://cognito-idp.us-east-1.amazonaws.com/us-east-1_1a2b3c4d5"</code>
678
687
  * </p>
679
688
  * @public
680
689
  */
@@ -807,8 +816,8 @@ export declare namespace OpenIdConnectTokenSelection {
807
816
  * identity source, that Verified Permissions can use to generate entities from authenticated identities. It
808
817
  * specifies the issuer URL, token type that you want to use, and policy store entity
809
818
  * details.</p>
810
- * <p>This data type is part of a <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_Configuration.html">Configuration</a> structure, which is a
811
- * parameter to <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_CreateIdentitySource.html">CreateIdentitySource</a>.</p>
819
+ * <p>This data type is part of a <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_Configuration.html">Configuration</a> structure, which
820
+ * is a parameter to <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_CreateIdentitySource.html">CreateIdentitySource</a>.</p>
812
821
  * @public
813
822
  */
814
823
  export interface OpenIdConnectConfiguration {
@@ -858,7 +867,8 @@ export declare namespace Configuration {
858
867
  * and one or more application client IDs.</p>
859
868
  * <p>Example:
860
869
  * <code>"configuration":\{"cognitoUserPoolConfiguration":\{"userPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","clientIds":
861
- * ["a1b2c3d4e5f6g7h8i9j0kalbmc"],"groupConfiguration": \{"groupEntityType": "MyCorp::Group"\}\}\}</code>
870
+ * ["a1b2c3d4e5f6g7h8i9j0kalbmc"],"groupConfiguration": \{"groupEntityType":
871
+ * "MyCorp::Group"\}\}\}</code>
862
872
  * </p>
863
873
  * @public
864
874
  */
@@ -941,9 +951,9 @@ export interface OpenIdConnectAccessTokenConfigurationDetail {
941
951
  audiences?: string[] | undefined;
942
952
  }
943
953
  /**
944
- * <p>The configuration of an OpenID Connect (OIDC) identity source for handling identity (ID)
945
- * token claims. Contains the claim that you want to identify as the principal in an
946
- * authorization request, and the values of the <code>aud</code> claim, or audiences, that
954
+ * <p>The configuration of an OpenID Connect (OIDC) identity source for handling identity
955
+ * (ID) token claims. Contains the claim that you want to identify as the principal in an
956
+ * authorization request, and the values of the <code>aud</code> claim, or audiences, that
947
957
  * you want to accept.</p>
948
958
  * <p>This data type is part of a <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_OpenIdConnectTokenSelectionDetail.html">OpenIdConnectTokenSelectionDetail</a> structure, which is a parameter of <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_GetIdentitySource.html">GetIdentitySource</a>.</p>
949
959
  * @public
@@ -1017,8 +1027,8 @@ export declare namespace OpenIdConnectTokenSelectionDetail {
1017
1027
  * identity source, that Verified Permissions can use to generate entities from authenticated identities. It
1018
1028
  * specifies the issuer URL, token type that you want to use, and policy store entity
1019
1029
  * details.</p>
1020
- * <p>This data type is part of a <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_ConfigurationDetail.html">ConfigurationDetail</a> structure,
1021
- * which is a parameter to <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_GetIdentitySource.html">GetIdentitySource</a>.</p>
1030
+ * <p>This data type is part of a <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_ConfigurationDetail.html">ConfigurationDetail</a>
1031
+ * structure, which is a parameter to <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_GetIdentitySource.html">GetIdentitySource</a>.</p>
1022
1032
  * @public
1023
1033
  */
1024
1034
  export interface OpenIdConnectConfigurationDetail {
@@ -1065,11 +1075,12 @@ export declare namespace ConfigurationDetail {
1065
1075
  /**
1066
1076
  * <p>Contains configuration details of a Amazon Cognito user pool that Verified Permissions can use as a source of
1067
1077
  * authenticated identities as entities. It specifies the <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Name (ARN)</a> of a Amazon Cognito user pool,
1068
- * the policy store entity that you want to assign to user groups,
1069
- * and one or more application client IDs.</p>
1078
+ * the policy store entity that you want to assign to user groups, and one or more
1079
+ * application client IDs.</p>
1070
1080
  * <p>Example:
1071
- * <code>"configuration":\{"cognitoUserPoolConfiguration":\{"userPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","clientIds":
1072
- * ["a1b2c3d4e5f6g7h8i9j0kalbmc"],"groupConfiguration": \{"groupEntityType": "MyCorp::Group"\}\}\}</code>
1081
+ * <code>"configuration":\{"cognitoUserPoolConfiguration":\{"userPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","clientIds":
1082
+ * ["a1b2c3d4e5f6g7h8i9j0kalbmc"],"groupConfiguration": \{"groupEntityType":
1083
+ * "MyCorp::Group"\}\}\}</code>
1073
1084
  * </p>
1074
1085
  * @public
1075
1086
  */
@@ -1152,9 +1163,9 @@ export interface OpenIdConnectAccessTokenConfigurationItem {
1152
1163
  audiences?: string[] | undefined;
1153
1164
  }
1154
1165
  /**
1155
- * <p>The configuration of an OpenID Connect (OIDC) identity source for handling identity (ID)
1156
- * token claims. Contains the claim that you want to identify as the principal in an
1157
- * authorization request, and the values of the <code>aud</code> claim, or audiences, that
1166
+ * <p>The configuration of an OpenID Connect (OIDC) identity source for handling identity
1167
+ * (ID) token claims. Contains the claim that you want to identify as the principal in an
1168
+ * authorization request, and the values of the <code>aud</code> claim, or audiences, that
1158
1169
  * you want to accept.</p>
1159
1170
  * <p>This data type is part of a <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_OpenIdConnectTokenSelectionItem.html">OpenIdConnectTokenSelectionItem</a> structure, which is a parameter of <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_ListIdentitySources.html">ListIdentitySources</a>.</p>
1160
1171
  * @public
@@ -1228,8 +1239,8 @@ export declare namespace OpenIdConnectTokenSelectionItem {
1228
1239
  * identity source, that Verified Permissions can use to generate entities from authenticated identities. It
1229
1240
  * specifies the issuer URL, token type that you want to use, and policy store entity
1230
1241
  * details.</p>
1231
- * <p>This data type is part of a <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_ConfigurationDetail.html">ConfigurationItem</a> structure,
1232
- * which is a parameter to <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_ListIdentitySources.html">ListIdentitySources</a>.</p>
1242
+ * <p>This data type is part of a <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_ConfigurationDetail.html">ConfigurationItem</a>
1243
+ * structure, which is a parameter to <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_ListIdentitySources.html">ListIdentitySources</a>.</p>
1233
1244
  * @public
1234
1245
  */
1235
1246
  export interface OpenIdConnectConfigurationItem {
@@ -1276,11 +1287,12 @@ export declare namespace ConfigurationItem {
1276
1287
  /**
1277
1288
  * <p>Contains configuration details of a Amazon Cognito user pool that Verified Permissions can use as a source of
1278
1289
  * authenticated identities as entities. It specifies the <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Name (ARN)</a> of a Amazon Cognito user pool,
1279
- * the policy store entity that you want to assign to user groups,
1280
- * and one or more application client IDs.</p>
1290
+ * the policy store entity that you want to assign to user groups, and one or more
1291
+ * application client IDs.</p>
1281
1292
  * <p>Example:
1282
- * <code>"configuration":\{"cognitoUserPoolConfiguration":\{"userPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","clientIds":
1283
- * ["a1b2c3d4e5f6g7h8i9j0kalbmc"],"groupConfiguration": \{"groupEntityType": "MyCorp::Group"\}\}\}</code>
1293
+ * <code>"configuration":\{"cognitoUserPoolConfiguration":\{"userPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","clientIds":
1294
+ * ["a1b2c3d4e5f6g7h8i9j0kalbmc"],"groupConfiguration": \{"groupEntityType":
1295
+ * "MyCorp::Group"\}\}\}</code>
1284
1296
  * </p>
1285
1297
  * @public
1286
1298
  */
@@ -1975,8 +1987,8 @@ export declare const OpenIdIssuer: {
1975
1987
  export type OpenIdIssuer = (typeof OpenIdIssuer)[keyof typeof OpenIdIssuer];
1976
1988
  /**
1977
1989
  * <p>A structure that contains configuration of the identity source.</p>
1978
- * <p>This data type was a response parameter for the <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_GetIdentitySource.html">GetIdentitySource</a>
1979
- * operation. Replaced by <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_ConfigurationDetail.html">ConfigurationDetail</a>.</p>
1990
+ * <p>This data type was a response parameter for the <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_GetIdentitySource.html">GetIdentitySource</a> operation.
1991
+ * Replaced by <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_ConfigurationDetail.html">ConfigurationDetail</a>.</p>
1980
1992
  *
1981
1993
  * @deprecated This shape has been replaced by ConfigurationDetail
1982
1994
  * @public
@@ -2443,8 +2455,7 @@ export interface ListIdentitySourcesOutput {
2443
2455
  identitySources: IdentitySourceItem[] | undefined;
2444
2456
  }
2445
2457
  /**
2446
- * <p>The user group entities from an Amazon Cognito user pool identity
2447
- * source.</p>
2458
+ * <p>The user group entities from an Amazon Cognito user pool identity source.</p>
2448
2459
  * @public
2449
2460
  */
2450
2461
  export interface UpdateCognitoGroupConfiguration {
@@ -2599,8 +2610,8 @@ export declare namespace UpdateOpenIdConnectTokenSelection {
2599
2610
  * identity source, that Verified Permissions can use to generate entities from authenticated identities. It
2600
2611
  * specifies the issuer URL, token type that you want to use, and policy store entity
2601
2612
  * details.</p>
2602
- * <p>This data type is part of a <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_UpdateConfiguration.html">UpdateConfiguration</a> structure,
2603
- * which is a parameter to <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_UpdateIdentitySource.html">UpdateIdentitySource</a>.</p>
2613
+ * <p>This data type is part of a <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_UpdateConfiguration.html">UpdateConfiguration</a>
2614
+ * structure, which is a parameter to <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_UpdateIdentitySource.html">UpdateIdentitySource</a>.</p>
2604
2615
  * @public
2605
2616
  */
2606
2617
  export interface UpdateOpenIdConnectConfiguration {
@@ -2634,8 +2645,7 @@ export interface UpdateOpenIdConnectConfiguration {
2634
2645
  tokenSelection: UpdateOpenIdConnectTokenSelection | undefined;
2635
2646
  }
2636
2647
  /**
2637
- * <p>Contains an update to replace the configuration in an existing
2638
- * identity source.</p>
2648
+ * <p>Contains an update to replace the configuration in an existing identity source.</p>
2639
2649
  * @public
2640
2650
  */
2641
2651
  export type UpdateConfiguration = UpdateConfiguration.CognitoUserPoolConfigurationMember | UpdateConfiguration.OpenIdConnectConfigurationMember | UpdateConfiguration.$UnknownMember;
@@ -3468,8 +3478,8 @@ export type SchemaDefinition = SchemaDefinition.CedarJsonMember | SchemaDefiniti
3468
3478
  export declare namespace SchemaDefinition {
3469
3479
  /**
3470
3480
  * <p>A JSON string representation of the schema supported by applications that use this
3471
- * policy store. To delete the schema, run <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_PutSchema.html">PutSchema</a> with <code>\{\}</code> for this parameter.
3472
- * For more information, see <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/userguide/schema.html">Policy store schema</a> in the
3481
+ * policy store. To delete the schema, run <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_PutSchema.html">PutSchema</a> with <code>\{\}</code> for
3482
+ * this parameter. For more information, see <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/userguide/schema.html">Policy store schema</a> in the
3473
3483
  * <i>Amazon Verified Permissions User Guide</i>.</p>
3474
3484
  * @public
3475
3485
  */
@@ -3699,7 +3709,8 @@ export declare namespace AttributeValue {
3699
3709
  $unknown?: never;
3700
3710
  }
3701
3711
  /**
3702
- * <p>An attribute value of <a href="https://docs.cedarpolicy.com/policies/syntax-datatypes.html#datatype-ipaddr">ipaddr</a> type.</p>
3712
+ * <p>An attribute value of <a href="https://docs.cedarpolicy.com/policies/syntax-datatypes.html#datatype-ipaddr">ipaddr</a>
3713
+ * type.</p>
3703
3714
  * <p>Example: <code>\{"ip": "192.168.1.100"\}</code>
3704
3715
  * </p>
3705
3716
  * @public
@@ -3765,12 +3776,16 @@ export declare namespace AttributeValue {
3765
3776
  * <code>unless</code> clauses in a policy.</p>
3766
3777
  * <p>This data type is used as a request parameter for the <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_IsAuthorized.html">IsAuthorized</a>, <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_BatchIsAuthorized.html">BatchIsAuthorized</a>, and <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_IsAuthorizedWithToken.html">IsAuthorizedWithToken</a>
3767
3778
  * operations.</p>
3779
+ * <p>If you're passing context as part of the request, exactly one instance of
3780
+ * <code>context</code> must be passed. If you don't want to pass context, omit the
3781
+ * <code>context</code> parameter from your request rather than sending <code>context
3782
+ * \{\}</code>.</p>
3768
3783
  * <p>Example:
3769
3784
  * <code>"context":\{"contextMap":\{"&lt;KeyName1&gt;":\{"boolean":true\},"&lt;KeyName2&gt;":\{"long":1234\}\}\}</code>
3770
3785
  * </p>
3771
3786
  * @public
3772
3787
  */
3773
- export type ContextDefinition = ContextDefinition.ContextMapMember | ContextDefinition.$UnknownMember;
3788
+ export type ContextDefinition = ContextDefinition.CedarJsonMember | ContextDefinition.ContextMapMember | ContextDefinition.$UnknownMember;
3774
3789
  /**
3775
3790
  * @public
3776
3791
  */
@@ -3786,6 +3801,20 @@ export declare namespace ContextDefinition {
3786
3801
  */
3787
3802
  interface ContextMapMember {
3788
3803
  contextMap: Record<string, AttributeValue>;
3804
+ cedarJson?: never;
3805
+ $unknown?: never;
3806
+ }
3807
+ /**
3808
+ * <p>A Cedar JSON string representation of the context needed to successfully evaluate an authorization
3809
+ * request.</p>
3810
+ * <p>Example:
3811
+ * <code>\{"cedarJson":"\{\"&lt;KeyName1&gt;\": true, \"&lt;KeyName2&gt;\": 1234\}" \}</code>
3812
+ * </p>
3813
+ * @public
3814
+ */
3815
+ interface CedarJsonMember {
3816
+ contextMap?: never;
3817
+ cedarJson: string;
3789
3818
  $unknown?: never;
3790
3819
  }
3791
3820
  /**
@@ -3793,10 +3822,12 @@ export declare namespace ContextDefinition {
3793
3822
  */
3794
3823
  interface $UnknownMember {
3795
3824
  contextMap?: never;
3825
+ cedarJson?: never;
3796
3826
  $unknown: [string, any];
3797
3827
  }
3798
3828
  interface Visitor<T> {
3799
3829
  contextMap: (value: Record<string, AttributeValue>) => T;
3830
+ cedarJson: (value: string) => T;
3800
3831
  _: (name: string, value: any) => T;
3801
3832
  }
3802
3833
  const visit: <T>(value: ContextDefinition, visitor: Visitor<T>) => T;
@@ -3874,13 +3905,13 @@ export interface BatchIsAuthorizedInputItem {
3874
3905
  export interface BatchIsAuthorizedWithTokenInputItem {
3875
3906
  /**
3876
3907
  * <p>Specifies the requested action to be authorized. For example,
3877
- * <code>PhotoFlash::ReadPhoto</code>.</p>
3908
+ * <code>PhotoFlash::ReadPhoto</code>.</p>
3878
3909
  * @public
3879
3910
  */
3880
3911
  action?: ActionIdentifier | undefined;
3881
3912
  /**
3882
3913
  * <p>Specifies the resource that you want an authorization decision for. For example,
3883
- * <code>PhotoFlash::Photo</code>.</p>
3914
+ * <code>PhotoFlash::Photo</code>.</p>
3884
3915
  * @public
3885
3916
  */
3886
3917
  resource?: EntityIdentifier | undefined;
@@ -3926,8 +3957,8 @@ export interface BatchIsAuthorizedOutputItem {
3926
3957
  errors: EvaluationErrorItem[] | undefined;
3927
3958
  }
3928
3959
  /**
3929
- * <p>The decision, based on policy evaluation, from an individual authorization request in a
3930
- * <code>BatchIsAuthorizedWithToken</code> API request.</p>
3960
+ * <p>The decision, based on policy evaluation, from an individual authorization request in
3961
+ * a <code>BatchIsAuthorizedWithToken</code> API request.</p>
3931
3962
  * @public
3932
3963
  */
3933
3964
  export interface BatchIsAuthorizedWithTokenOutputItem {
@@ -3937,23 +3968,24 @@ export interface BatchIsAuthorizedWithTokenOutputItem {
3937
3968
  */
3938
3969
  request: BatchIsAuthorizedWithTokenInputItem | undefined;
3939
3970
  /**
3940
- * <p>An authorization decision that indicates if the authorization request should be allowed
3941
- * or denied.</p>
3971
+ * <p>An authorization decision that indicates if the authorization request should be
3972
+ * allowed or denied.</p>
3942
3973
  * @public
3943
3974
  */
3944
3975
  decision: Decision | undefined;
3945
3976
  /**
3946
3977
  * <p>The list of determining policies used to make the authorization decision. For example,
3947
- * if there are two matching policies, where one is a forbid and the other is a permit, then
3948
- * the forbid policy will be the determining policy. In the case of multiple matching permit
3949
- * policies then there would be multiple determining policies. In the case that no policies
3950
- * match, and hence the response is DENY, there would be no determining policies.</p>
3978
+ * if there are two matching policies, where one is a forbid and the other is a permit,
3979
+ * then the forbid policy will be the determining policy. In the case of multiple matching
3980
+ * permit policies then there would be multiple determining policies. In the case that no
3981
+ * policies match, and hence the response is DENY, there would be no determining
3982
+ * policies.</p>
3951
3983
  * @public
3952
3984
  */
3953
3985
  determiningPolicies: DeterminingPolicyItem[] | undefined;
3954
3986
  /**
3955
- * <p>Errors that occurred while making an authorization decision. For example, a policy might
3956
- * reference an entity or attribute that doesn't exist in the request.</p>
3987
+ * <p>Errors that occurred while making an authorization decision. For example, a policy
3988
+ * might reference an entity or attribute that doesn't exist in the request.</p>
3957
3989
  * @public
3958
3990
  */
3959
3991
  errors: EvaluationErrorItem[] | undefined;
@@ -3966,7 +3998,7 @@ export interface BatchIsAuthorizedWithTokenOutputItem {
3966
3998
  * and <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_IsAuthorizedWithToken.html">IsAuthorizedWithToken</a> operations.</p>
3967
3999
  * @public
3968
4000
  */
3969
- export type EntitiesDefinition = EntitiesDefinition.EntityListMember | EntitiesDefinition.$UnknownMember;
4001
+ export type EntitiesDefinition = EntitiesDefinition.CedarJsonMember | EntitiesDefinition.EntityListMember | EntitiesDefinition.$UnknownMember;
3970
4002
  /**
3971
4003
  * @public
3972
4004
  */
@@ -3975,10 +4007,28 @@ export declare namespace EntitiesDefinition {
3975
4007
  * <p>An array of entities that are needed to successfully evaluate an authorization
3976
4008
  * request. Each entity in this array must include an identifier for the entity, the
3977
4009
  * attributes of the entity, and a list of any parent entities.</p>
4010
+ * <note>
4011
+ * <p>If you include multiple entities with the same <code>identifier</code>, only the
4012
+ * last one is processed in the request.</p>
4013
+ * </note>
3978
4014
  * @public
3979
4015
  */
3980
4016
  interface EntityListMember {
3981
4017
  entityList: EntityItem[];
4018
+ cedarJson?: never;
4019
+ $unknown?: never;
4020
+ }
4021
+ /**
4022
+ * <p>A Cedar JSON string representation of the entities needed to successfully evaluate an authorization
4023
+ * request.</p>
4024
+ * <p>Example:
4025
+ * <code>\{"cedarJson": "[\{\"uid\":\{\"type\":\"Photo\",\"id\":\"VacationPhoto94.jpg\"\},\"attrs\":\{\"accessLevel\":\"public\"\},\"parents\":[]\}]"\}</code>
4026
+ * </p>
4027
+ * @public
4028
+ */
4029
+ interface CedarJsonMember {
4030
+ entityList?: never;
4031
+ cedarJson: string;
3982
4032
  $unknown?: never;
3983
4033
  }
3984
4034
  /**
@@ -3986,10 +4036,12 @@ export declare namespace EntitiesDefinition {
3986
4036
  */
3987
4037
  interface $UnknownMember {
3988
4038
  entityList?: never;
4039
+ cedarJson?: never;
3989
4040
  $unknown: [string, any];
3990
4041
  }
3991
4042
  interface Visitor<T> {
3992
4043
  entityList: (value: EntityItem[]) => T;
4044
+ cedarJson: (value: string) => T;
3993
4045
  _: (name: string, value: any) => T;
3994
4046
  }
3995
4047
  const visit: <T>(value: EntitiesDefinition, visitor: Visitor<T>) => T;
@@ -1091,19 +1091,28 @@ export declare namespace AttributeValue {
1091
1091
  const visit: <T>(value: AttributeValue, visitor: Visitor<T>) => T;
1092
1092
  }
1093
1093
  export type ContextDefinition =
1094
+ | ContextDefinition.CedarJsonMember
1094
1095
  | ContextDefinition.ContextMapMember
1095
1096
  | ContextDefinition.$UnknownMember;
1096
1097
  export declare namespace ContextDefinition {
1097
1098
  interface ContextMapMember {
1098
1099
  contextMap: Record<string, AttributeValue>;
1100
+ cedarJson?: never;
1101
+ $unknown?: never;
1102
+ }
1103
+ interface CedarJsonMember {
1104
+ contextMap?: never;
1105
+ cedarJson: string;
1099
1106
  $unknown?: never;
1100
1107
  }
1101
1108
  interface $UnknownMember {
1102
1109
  contextMap?: never;
1110
+ cedarJson?: never;
1103
1111
  $unknown: [string, any];
1104
1112
  }
1105
1113
  interface Visitor<T> {
1106
1114
  contextMap: (value: Record<string, AttributeValue>) => T;
1115
+ cedarJson: (value: string) => T;
1107
1116
  _: (name: string, value: any) => T;
1108
1117
  }
1109
1118
  const visit: <T>(value: ContextDefinition, visitor: Visitor<T>) => T;
@@ -1137,19 +1146,28 @@ export interface BatchIsAuthorizedWithTokenOutputItem {
1137
1146
  errors: EvaluationErrorItem[] | undefined;
1138
1147
  }
1139
1148
  export type EntitiesDefinition =
1149
+ | EntitiesDefinition.CedarJsonMember
1140
1150
  | EntitiesDefinition.EntityListMember
1141
1151
  | EntitiesDefinition.$UnknownMember;
1142
1152
  export declare namespace EntitiesDefinition {
1143
1153
  interface EntityListMember {
1144
1154
  entityList: EntityItem[];
1155
+ cedarJson?: never;
1156
+ $unknown?: never;
1157
+ }
1158
+ interface CedarJsonMember {
1159
+ entityList?: never;
1160
+ cedarJson: string;
1145
1161
  $unknown?: never;
1146
1162
  }
1147
1163
  interface $UnknownMember {
1148
1164
  entityList?: never;
1165
+ cedarJson?: never;
1149
1166
  $unknown: [string, any];
1150
1167
  }
1151
1168
  interface Visitor<T> {
1152
1169
  entityList: (value: EntityItem[]) => T;
1170
+ cedarJson: (value: string) => T;
1153
1171
  _: (name: string, value: any) => T;
1154
1172
  }
1155
1173
  const visit: <T>(value: EntitiesDefinition, visitor: Visitor<T>) => T;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-verifiedpermissions",
3
3
  "description": "AWS SDK for JavaScript Verifiedpermissions Client for Node.js, Browser and React Native",
4
- "version": "3.734.0",
4
+ "version": "3.739.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-verifiedpermissions",
@@ -21,7 +21,7 @@
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
23
  "@aws-sdk/core": "3.734.0",
24
- "@aws-sdk/credential-provider-node": "3.734.0",
24
+ "@aws-sdk/credential-provider-node": "3.738.0",
25
25
  "@aws-sdk/middleware-host-header": "3.734.0",
26
26
  "@aws-sdk/middleware-logger": "3.734.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.734.0",