@aws-sdk/client-verifiedpermissions 3.525.0 → 3.528.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
@@ -30,9 +30,15 @@ __export(src_exports, {
30
30
  BatchIsAuthorizedInputItemFilterSensitiveLog: () => BatchIsAuthorizedInputItemFilterSensitiveLog,
31
31
  BatchIsAuthorizedOutputFilterSensitiveLog: () => BatchIsAuthorizedOutputFilterSensitiveLog,
32
32
  BatchIsAuthorizedOutputItemFilterSensitiveLog: () => BatchIsAuthorizedOutputItemFilterSensitiveLog,
33
+ CognitoUserPoolConfigurationDetailFilterSensitiveLog: () => CognitoUserPoolConfigurationDetailFilterSensitiveLog,
33
34
  CognitoUserPoolConfigurationFilterSensitiveLog: () => CognitoUserPoolConfigurationFilterSensitiveLog,
35
+ CognitoUserPoolConfigurationItemFilterSensitiveLog: () => CognitoUserPoolConfigurationItemFilterSensitiveLog,
34
36
  Configuration: () => Configuration,
37
+ ConfigurationDetail: () => ConfigurationDetail,
38
+ ConfigurationDetailFilterSensitiveLog: () => ConfigurationDetailFilterSensitiveLog,
35
39
  ConfigurationFilterSensitiveLog: () => ConfigurationFilterSensitiveLog,
40
+ ConfigurationItem: () => ConfigurationItem,
41
+ ConfigurationItemFilterSensitiveLog: () => ConfigurationItemFilterSensitiveLog,
36
42
  ConflictException: () => ConflictException,
37
43
  ContextDefinition: () => ContextDefinition,
38
44
  ContextDefinitionFilterSensitiveLog: () => ContextDefinitionFilterSensitiveLog,
@@ -426,6 +432,22 @@ var Configuration;
426
432
  return visitor._(value.$unknown[0], value.$unknown[1]);
427
433
  }, "visit");
428
434
  })(Configuration || (Configuration = {}));
435
+ var ConfigurationDetail;
436
+ ((ConfigurationDetail2) => {
437
+ ConfigurationDetail2.visit = /* @__PURE__ */ __name((value, visitor) => {
438
+ if (value.cognitoUserPoolConfiguration !== void 0)
439
+ return visitor.cognitoUserPoolConfiguration(value.cognitoUserPoolConfiguration);
440
+ return visitor._(value.$unknown[0], value.$unknown[1]);
441
+ }, "visit");
442
+ })(ConfigurationDetail || (ConfigurationDetail = {}));
443
+ var ConfigurationItem;
444
+ ((ConfigurationItem2) => {
445
+ ConfigurationItem2.visit = /* @__PURE__ */ __name((value, visitor) => {
446
+ if (value.cognitoUserPoolConfiguration !== void 0)
447
+ return visitor.cognitoUserPoolConfiguration(value.cognitoUserPoolConfiguration);
448
+ return visitor._(value.$unknown[0], value.$unknown[1]);
449
+ }, "visit");
450
+ })(ConfigurationItem || (ConfigurationItem = {}));
429
451
  var _ConflictException = class _ConflictException extends VerifiedPermissionsServiceException {
430
452
  /**
431
453
  * @internal
@@ -591,6 +613,14 @@ var CognitoUserPoolConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj
591
613
  ...obj,
592
614
  ...obj.clientIds && { clientIds: import_smithy_client.SENSITIVE_STRING }
593
615
  }), "CognitoUserPoolConfigurationFilterSensitiveLog");
616
+ var CognitoUserPoolConfigurationDetailFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
617
+ ...obj,
618
+ ...obj.clientIds && { clientIds: import_smithy_client.SENSITIVE_STRING }
619
+ }), "CognitoUserPoolConfigurationDetailFilterSensitiveLog");
620
+ var CognitoUserPoolConfigurationItemFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
621
+ ...obj,
622
+ ...obj.clientIds && { clientIds: import_smithy_client.SENSITIVE_STRING }
623
+ }), "CognitoUserPoolConfigurationItemFilterSensitiveLog");
594
624
  var ConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
595
625
  if (obj.cognitoUserPoolConfiguration !== void 0)
596
626
  return {
@@ -599,6 +629,26 @@ var ConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
599
629
  if (obj.$unknown !== void 0)
600
630
  return { [obj.$unknown[0]]: "UNKNOWN" };
601
631
  }, "ConfigurationFilterSensitiveLog");
632
+ var ConfigurationDetailFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
633
+ if (obj.cognitoUserPoolConfiguration !== void 0)
634
+ return {
635
+ cognitoUserPoolConfiguration: CognitoUserPoolConfigurationDetailFilterSensitiveLog(
636
+ obj.cognitoUserPoolConfiguration
637
+ )
638
+ };
639
+ if (obj.$unknown !== void 0)
640
+ return { [obj.$unknown[0]]: "UNKNOWN" };
641
+ }, "ConfigurationDetailFilterSensitiveLog");
642
+ var ConfigurationItemFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
643
+ if (obj.cognitoUserPoolConfiguration !== void 0)
644
+ return {
645
+ cognitoUserPoolConfiguration: CognitoUserPoolConfigurationItemFilterSensitiveLog(
646
+ obj.cognitoUserPoolConfiguration
647
+ )
648
+ };
649
+ if (obj.$unknown !== void 0)
650
+ return { [obj.$unknown[0]]: "UNKNOWN" };
651
+ }, "ConfigurationItemFilterSensitiveLog");
602
652
  var CreateIdentitySourceInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
603
653
  ...obj,
604
654
  ...obj.configuration && { configuration: ConfigurationFilterSensitiveLog(obj.configuration) },
@@ -655,7 +705,8 @@ var IdentitySourceDetailsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
655
705
  var GetIdentitySourceOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
656
706
  ...obj,
657
707
  ...obj.details && { details: IdentitySourceDetailsFilterSensitiveLog(obj.details) },
658
- ...obj.principalEntityType && { principalEntityType: import_smithy_client.SENSITIVE_STRING }
708
+ ...obj.principalEntityType && { principalEntityType: import_smithy_client.SENSITIVE_STRING },
709
+ ...obj.configuration && { configuration: ConfigurationDetailFilterSensitiveLog(obj.configuration) }
659
710
  }), "GetIdentitySourceOutputFilterSensitiveLog");
660
711
  var StaticPolicyDefinitionDetailFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
661
712
  ...obj,
@@ -710,7 +761,8 @@ var IdentitySourceItemDetailsFilterSensitiveLog = /* @__PURE__ */ __name((obj) =
710
761
  var IdentitySourceItemFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
711
762
  ...obj,
712
763
  ...obj.details && { details: IdentitySourceItemDetailsFilterSensitiveLog(obj.details) },
713
- ...obj.principalEntityType && { principalEntityType: import_smithy_client.SENSITIVE_STRING }
764
+ ...obj.principalEntityType && { principalEntityType: import_smithy_client.SENSITIVE_STRING },
765
+ ...obj.configuration && { configuration: ConfigurationItemFilterSensitiveLog(obj.configuration) }
714
766
  }), "IdentitySourceItemFilterSensitiveLog");
715
767
  var ListIdentitySourcesOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
716
768
  ...obj,
@@ -1758,6 +1810,7 @@ var de_CreatePolicyTemplateOutput = /* @__PURE__ */ __name((output, context) =>
1758
1810
  }, "de_CreatePolicyTemplateOutput");
1759
1811
  var de_GetIdentitySourceOutput = /* @__PURE__ */ __name((output, context) => {
1760
1812
  return (0, import_smithy_client.take)(output, {
1813
+ configuration: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
1761
1814
  createdDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
1762
1815
  details: import_smithy_client._json,
1763
1816
  identitySourceId: import_smithy_client.expectString,
@@ -1809,6 +1862,7 @@ var de_GetSchemaOutput = /* @__PURE__ */ __name((output, context) => {
1809
1862
  }, "de_GetSchemaOutput");
1810
1863
  var de_IdentitySourceItem = /* @__PURE__ */ __name((output, context) => {
1811
1864
  return (0, import_smithy_client.take)(output, {
1865
+ configuration: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
1812
1866
  createdDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
1813
1867
  details: import_smithy_client._json,
1814
1868
  identitySourceId: import_smithy_client.expectString,
@@ -2545,6 +2599,8 @@ var import_util_endpoints = require("@aws-sdk/util-endpoints");
2545
2599
  ThrottlingException,
2546
2600
  ValidationException,
2547
2601
  Configuration,
2602
+ ConfigurationDetail,
2603
+ ConfigurationItem,
2548
2604
  ConflictException,
2549
2605
  ServiceQuotaExceededException,
2550
2606
  PolicyDefinition,
@@ -2564,7 +2620,11 @@ var import_util_endpoints = require("@aws-sdk/util-endpoints");
2564
2620
  EntityIdentifierFilterSensitiveLog,
2565
2621
  EvaluationErrorItemFilterSensitiveLog,
2566
2622
  CognitoUserPoolConfigurationFilterSensitiveLog,
2623
+ CognitoUserPoolConfigurationDetailFilterSensitiveLog,
2624
+ CognitoUserPoolConfigurationItemFilterSensitiveLog,
2567
2625
  ConfigurationFilterSensitiveLog,
2626
+ ConfigurationDetailFilterSensitiveLog,
2627
+ ConfigurationItemFilterSensitiveLog,
2568
2628
  CreateIdentitySourceInputFilterSensitiveLog,
2569
2629
  StaticPolicyDefinitionFilterSensitiveLog,
2570
2630
  TemplateLinkedPolicyDefinitionFilterSensitiveLog,
@@ -88,6 +88,22 @@ export var Configuration;
88
88
  return visitor._(value.$unknown[0], value.$unknown[1]);
89
89
  };
90
90
  })(Configuration || (Configuration = {}));
91
+ export var ConfigurationDetail;
92
+ (function (ConfigurationDetail) {
93
+ ConfigurationDetail.visit = (value, visitor) => {
94
+ if (value.cognitoUserPoolConfiguration !== undefined)
95
+ return visitor.cognitoUserPoolConfiguration(value.cognitoUserPoolConfiguration);
96
+ return visitor._(value.$unknown[0], value.$unknown[1]);
97
+ };
98
+ })(ConfigurationDetail || (ConfigurationDetail = {}));
99
+ export var ConfigurationItem;
100
+ (function (ConfigurationItem) {
101
+ ConfigurationItem.visit = (value, visitor) => {
102
+ if (value.cognitoUserPoolConfiguration !== undefined)
103
+ return visitor.cognitoUserPoolConfiguration(value.cognitoUserPoolConfiguration);
104
+ return visitor._(value.$unknown[0], value.$unknown[1]);
105
+ };
106
+ })(ConfigurationItem || (ConfigurationItem = {}));
91
107
  export class ConflictException extends __BaseException {
92
108
  constructor(opts) {
93
109
  super({
@@ -243,6 +259,14 @@ export const CognitoUserPoolConfigurationFilterSensitiveLog = (obj) => ({
243
259
  ...obj,
244
260
  ...(obj.clientIds && { clientIds: SENSITIVE_STRING }),
245
261
  });
262
+ export const CognitoUserPoolConfigurationDetailFilterSensitiveLog = (obj) => ({
263
+ ...obj,
264
+ ...(obj.clientIds && { clientIds: SENSITIVE_STRING }),
265
+ });
266
+ export const CognitoUserPoolConfigurationItemFilterSensitiveLog = (obj) => ({
267
+ ...obj,
268
+ ...(obj.clientIds && { clientIds: SENSITIVE_STRING }),
269
+ });
246
270
  export const ConfigurationFilterSensitiveLog = (obj) => {
247
271
  if (obj.cognitoUserPoolConfiguration !== undefined)
248
272
  return {
@@ -251,6 +275,22 @@ export const ConfigurationFilterSensitiveLog = (obj) => {
251
275
  if (obj.$unknown !== undefined)
252
276
  return { [obj.$unknown[0]]: "UNKNOWN" };
253
277
  };
278
+ export const ConfigurationDetailFilterSensitiveLog = (obj) => {
279
+ if (obj.cognitoUserPoolConfiguration !== undefined)
280
+ return {
281
+ cognitoUserPoolConfiguration: CognitoUserPoolConfigurationDetailFilterSensitiveLog(obj.cognitoUserPoolConfiguration),
282
+ };
283
+ if (obj.$unknown !== undefined)
284
+ return { [obj.$unknown[0]]: "UNKNOWN" };
285
+ };
286
+ export const ConfigurationItemFilterSensitiveLog = (obj) => {
287
+ if (obj.cognitoUserPoolConfiguration !== undefined)
288
+ return {
289
+ cognitoUserPoolConfiguration: CognitoUserPoolConfigurationItemFilterSensitiveLog(obj.cognitoUserPoolConfiguration),
290
+ };
291
+ if (obj.$unknown !== undefined)
292
+ return { [obj.$unknown[0]]: "UNKNOWN" };
293
+ };
254
294
  export const CreateIdentitySourceInputFilterSensitiveLog = (obj) => ({
255
295
  ...obj,
256
296
  ...(obj.configuration && { configuration: ConfigurationFilterSensitiveLog(obj.configuration) }),
@@ -308,6 +348,7 @@ export const GetIdentitySourceOutputFilterSensitiveLog = (obj) => ({
308
348
  ...obj,
309
349
  ...(obj.details && { details: IdentitySourceDetailsFilterSensitiveLog(obj.details) }),
310
350
  ...(obj.principalEntityType && { principalEntityType: SENSITIVE_STRING }),
351
+ ...(obj.configuration && { configuration: ConfigurationDetailFilterSensitiveLog(obj.configuration) }),
311
352
  });
312
353
  export const StaticPolicyDefinitionDetailFilterSensitiveLog = (obj) => ({
313
354
  ...obj,
@@ -363,6 +404,7 @@ export const IdentitySourceItemFilterSensitiveLog = (obj) => ({
363
404
  ...obj,
364
405
  ...(obj.details && { details: IdentitySourceItemDetailsFilterSensitiveLog(obj.details) }),
365
406
  ...(obj.principalEntityType && { principalEntityType: SENSITIVE_STRING }),
407
+ ...(obj.configuration && { configuration: ConfigurationItemFilterSensitiveLog(obj.configuration) }),
366
408
  });
367
409
  export const ListIdentitySourcesOutputFilterSensitiveLog = (obj) => ({
368
410
  ...obj,
@@ -833,6 +833,7 @@ const de_CreatePolicyTemplateOutput = (output, context) => {
833
833
  };
834
834
  const de_GetIdentitySourceOutput = (output, context) => {
835
835
  return take(output, {
836
+ configuration: (_) => _json(__expectUnion(_)),
836
837
  createdDate: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
837
838
  details: _json,
838
839
  identitySourceId: __expectString,
@@ -884,6 +885,7 @@ const de_GetSchemaOutput = (output, context) => {
884
885
  };
885
886
  const de_IdentitySourceItem = (output, context) => {
886
887
  return take(output, {
888
+ configuration: (_) => _json(__expectUnion(_)),
887
889
  createdDate: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
888
890
  details: _json,
889
891
  identitySourceId: __expectString,
@@ -55,7 +55,7 @@ declare const CreateIdentitySourceCommand_base: {
55
55
  * <note>
56
56
  * <p>Verified Permissions is <i>
57
57
  * <a href="https://wikipedia.org/wiki/Eventual_consistency">eventually consistent</a>
58
- * </i>. It can take a few seconds for a new or changed element to be propagate through
58
+ * </i>. It can take a few seconds for a new or changed element to propagate through
59
59
  * the service and be visible in the results of other Verified Permissions operations.</p>
60
60
  * </note>
61
61
  * @example
@@ -50,7 +50,7 @@ declare const CreatePolicyCommand_base: {
50
50
  * <note>
51
51
  * <p>Verified Permissions is <i>
52
52
  * <a href="https://wikipedia.org/wiki/Eventual_consistency">eventually consistent</a>
53
- * </i>. It can take a few seconds for a new or changed element to be propagate through
53
+ * </i>. It can take a few seconds for a new or changed element to propagate through
54
54
  * the service and be visible in the results of other Verified Permissions operations.</p>
55
55
  * </note>
56
56
  * @example
@@ -34,7 +34,7 @@ declare const CreatePolicyStoreCommand_base: {
34
34
  * <note>
35
35
  * <p>Verified Permissions is <i>
36
36
  * <a href="https://wikipedia.org/wiki/Eventual_consistency">eventually consistent</a>
37
- * </i>. It can take a few seconds for a new or changed element to be propagate through
37
+ * </i>. It can take a few seconds for a new or changed element to propagate through
38
38
  * the service and be visible in the results of other Verified Permissions operations.</p>
39
39
  * </note>
40
40
  * @example
@@ -36,7 +36,7 @@ declare const CreatePolicyTemplateCommand_base: {
36
36
  * <note>
37
37
  * <p>Verified Permissions is <i>
38
38
  * <a href="https://wikipedia.org/wiki/Eventual_consistency">eventually consistent</a>
39
- * </i>. It can take a few seconds for a new or changed element to be propagate through
39
+ * </i>. It can take a few seconds for a new or changed element to propagate through
40
40
  * the service and be visible in the results of other Verified Permissions operations.</p>
41
41
  * </note>
42
42
  * @example
@@ -53,6 +53,15 @@ declare const GetIdentitySourceCommand_base: {
53
53
  * // lastUpdatedDate: new Date("TIMESTAMP"), // required
54
54
  * // policyStoreId: "STRING_VALUE", // required
55
55
  * // principalEntityType: "STRING_VALUE", // required
56
+ * // configuration: { // ConfigurationDetail Union: only one key present
57
+ * // cognitoUserPoolConfiguration: { // CognitoUserPoolConfigurationDetail
58
+ * // userPoolArn: "STRING_VALUE", // required
59
+ * // clientIds: [ // required
60
+ * // "STRING_VALUE",
61
+ * // ],
62
+ * // issuer: "STRING_VALUE", // required
63
+ * // },
64
+ * // },
56
65
  * // };
57
66
  *
58
67
  * ```
@@ -62,6 +62,15 @@ declare const ListIdentitySourcesCommand_base: {
62
62
  * // lastUpdatedDate: new Date("TIMESTAMP"), // required
63
63
  * // policyStoreId: "STRING_VALUE", // required
64
64
  * // principalEntityType: "STRING_VALUE", // required
65
+ * // configuration: { // ConfigurationItem Union: only one key present
66
+ * // cognitoUserPoolConfiguration: { // CognitoUserPoolConfigurationItem
67
+ * // userPoolArn: "STRING_VALUE", // required
68
+ * // clientIds: [ // required
69
+ * // "STRING_VALUE",
70
+ * // ],
71
+ * // issuer: "STRING_VALUE", // required
72
+ * // },
73
+ * // },
65
74
  * // },
66
75
  * // ],
67
76
  * // };
@@ -34,7 +34,7 @@ declare const PutSchemaCommand_base: {
34
34
  * <note>
35
35
  * <p>Verified Permissions is <i>
36
36
  * <a href="https://wikipedia.org/wiki/Eventual_consistency">eventually consistent</a>
37
- * </i>. It can take a few seconds for a new or changed element to be propagate through
37
+ * </i>. It can take a few seconds for a new or changed element to propagate through
38
38
  * the service and be visible in the results of other Verified Permissions operations.</p>
39
39
  * </note>
40
40
  * @example
@@ -31,7 +31,7 @@ declare const UpdateIdentitySourceCommand_base: {
31
31
  * <note>
32
32
  * <p>Verified Permissions is <i>
33
33
  * <a href="https://wikipedia.org/wiki/Eventual_consistency">eventually consistent</a>
34
- * </i>. It can take a few seconds for a new or changed element to be propagate through
34
+ * </i>. It can take a few seconds for a new or changed element to propagate through
35
35
  * the service and be visible in the results of other Verified Permissions operations.</p>
36
36
  * </note>
37
37
  * @example
@@ -38,7 +38,7 @@ declare const UpdatePolicyCommand_base: {
38
38
  * stored.</p>
39
39
  * </li>
40
40
  * <li>
41
- * <p>When you edit a static policy, You can change only certain elements of a static
41
+ * <p>When you edit a static policy, you can change only certain elements of a static
42
42
  * policy:</p>
43
43
  * <ul>
44
44
  * <li>
@@ -74,7 +74,7 @@ declare const UpdatePolicyCommand_base: {
74
74
  * <note>
75
75
  * <p>Verified Permissions is <i>
76
76
  * <a href="https://wikipedia.org/wiki/Eventual_consistency">eventually consistent</a>
77
- * </i>. It can take a few seconds for a new or changed element to be propagate through
77
+ * </i>. It can take a few seconds for a new or changed element to propagate through
78
78
  * the service and be visible in the results of other Verified Permissions operations.</p>
79
79
  * </note>
80
80
  * @example
@@ -30,7 +30,7 @@ declare const UpdatePolicyStoreCommand_base: {
30
30
  * <note>
31
31
  * <p>Verified Permissions is <i>
32
32
  * <a href="https://wikipedia.org/wiki/Eventual_consistency">eventually consistent</a>
33
- * </i>. It can take a few seconds for a new or changed element to be propagate through
33
+ * </i>. It can take a few seconds for a new or changed element to propagate through
34
34
  * the service and be visible in the results of other Verified Permissions operations.</p>
35
35
  * </note>
36
36
  * @example
@@ -36,7 +36,7 @@ declare const UpdatePolicyTemplateCommand_base: {
36
36
  * <note>
37
37
  * <p>Verified Permissions is <i>
38
38
  * <a href="https://wikipedia.org/wiki/Eventual_consistency">eventually consistent</a>
39
- * </i>. It can take a few seconds for a new or changed element to be propagate through
39
+ * </i>. It can take a few seconds for a new or changed element to propagate through
40
40
  * the service and be visible in the results of other Verified Permissions operations.</p>
41
41
  * </note>
42
42
  * @example
@@ -297,7 +297,7 @@ export declare class ValidationException extends __BaseException {
297
297
  * <p>The configuration for an identity source that represents a connection to an Amazon Cognito user pool used
298
298
  * as an identity provider for Verified Permissions.</p>
299
299
  * <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_Configuration.html">Configuration</a> structure that is
300
- * used as a parameter to the <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_Configuration.html">Configuration</a>.</p>
300
+ * used as a parameter to <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_CreateIdentitySource.html">CreateIdentitySource</a>.</p>
301
301
  * <p>Example:<code>"CognitoUserPoolConfiguration":\{"UserPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","ClientIds":
302
302
  * ["a1b2c3d4e5f6g7h8i9j0kalbmc"]\}</code>
303
303
  * </p>
@@ -321,6 +321,82 @@ export interface CognitoUserPoolConfiguration {
321
321
  */
322
322
  clientIds?: string[];
323
323
  }
324
+ /**
325
+ * @public
326
+ * <p>The configuration for an identity source that represents a connection to an Amazon Cognito user pool used
327
+ * as an identity provider for Verified Permissions.</p>
328
+ * <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
329
+ * part of the response to <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_GetIdentitySource.html">GetIdentitySource</a>.</p>
330
+ * <p>Example:<code>"CognitoUserPoolConfiguration":\{"UserPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","ClientIds":
331
+ * ["a1b2c3d4e5f6g7h8i9j0kalbmc"]\}</code>
332
+ * </p>
333
+ */
334
+ export interface CognitoUserPoolConfigurationDetail {
335
+ /**
336
+ * @public
337
+ * <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
338
+ * authorized.</p>
339
+ * <p>Example: <code>"userPoolArn":
340
+ * "arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5"</code>
341
+ * </p>
342
+ */
343
+ userPoolArn: string | undefined;
344
+ /**
345
+ * @public
346
+ * <p>The unique application client IDs that are associated with the specified Amazon Cognito user
347
+ * pool.</p>
348
+ * <p>Example: <code>"clientIds": ["&amp;ExampleCogClientId;"]</code>
349
+ * </p>
350
+ */
351
+ clientIds: string[] | undefined;
352
+ /**
353
+ * @public
354
+ * <p>The OpenID Connect (OIDC) <code>issuer</code> ID of the Amazon Cognito user pool that contains the identities to be
355
+ * authorized.</p>
356
+ * <p>Example: <code>"issuer":
357
+ * "https://cognito-idp.us-east-1.amazonaws.com/us-east-1_1a2b3c4d5"</code>
358
+ * </p>
359
+ */
360
+ issuer: string | undefined;
361
+ }
362
+ /**
363
+ * @public
364
+ * <p>The configuration for an identity source that represents a connection to an Amazon Cognito user pool used
365
+ * as an identity provider for Verified Permissions.</p>
366
+ * <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
367
+ * part of the response to <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_ListIdentitySources.html">ListIdentitySources</a>.</p>
368
+ * <p>Example:<code>"CognitoUserPoolConfiguration":\{"UserPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","ClientIds":
369
+ * ["a1b2c3d4e5f6g7h8i9j0kalbmc"]\}</code>
370
+ * </p>
371
+ */
372
+ export interface CognitoUserPoolConfigurationItem {
373
+ /**
374
+ * @public
375
+ * <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
376
+ * authorized.</p>
377
+ * <p>Example: <code>"userPoolArn":
378
+ * "arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5"</code>
379
+ * </p>
380
+ */
381
+ userPoolArn: string | undefined;
382
+ /**
383
+ * @public
384
+ * <p>The unique application client IDs that are associated with the specified Amazon Cognito user
385
+ * pool.</p>
386
+ * <p>Example: <code>"clientIds": ["&amp;ExampleCogClientId;"]</code>
387
+ * </p>
388
+ */
389
+ clientIds: string[] | undefined;
390
+ /**
391
+ * @public
392
+ * <p>The OpenID Connect (OIDC) <code>issuer</code> ID of the Amazon Cognito user pool that contains the identities to be
393
+ * authorized.</p>
394
+ * <p>Example: <code>"issuer":
395
+ * "https://cognito-idp.us-east-1.amazonaws.com/us-east-1_1a2b3c4d5"</code>
396
+ * </p>
397
+ */
398
+ issuer: string | undefined;
399
+ }
324
400
  /**
325
401
  * @public
326
402
  * <p>Contains configuration information used when creating a new identity source.</p>
@@ -365,6 +441,82 @@ export declare namespace Configuration {
365
441
  }
366
442
  const visit: <T>(value: Configuration, visitor: Visitor<T>) => T;
367
443
  }
444
+ /**
445
+ * @public
446
+ * <p>Contains configuration information about an identity source.</p>
447
+ * <p>This data type is a response parameter to the <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_GetIdentitySource.html">GetIdentitySource</a>
448
+ * operation.</p>
449
+ */
450
+ export type ConfigurationDetail = ConfigurationDetail.CognitoUserPoolConfigurationMember | ConfigurationDetail.$UnknownMember;
451
+ /**
452
+ * @public
453
+ */
454
+ export declare namespace ConfigurationDetail {
455
+ /**
456
+ * @public
457
+ * <p>Contains configuration details of a Amazon Cognito user pool that Verified Permissions can use as a source of
458
+ * 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
459
+ * and one or more application client IDs.</p>
460
+ * <p>Example:
461
+ * <code>"configuration":\{"cognitoUserPoolConfiguration":\{"userPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","clientIds":
462
+ * ["a1b2c3d4e5f6g7h8i9j0kalbmc"]\}\}</code>
463
+ * </p>
464
+ */
465
+ interface CognitoUserPoolConfigurationMember {
466
+ cognitoUserPoolConfiguration: CognitoUserPoolConfigurationDetail;
467
+ $unknown?: never;
468
+ }
469
+ /**
470
+ * @public
471
+ */
472
+ interface $UnknownMember {
473
+ cognitoUserPoolConfiguration?: never;
474
+ $unknown: [string, any];
475
+ }
476
+ interface Visitor<T> {
477
+ cognitoUserPoolConfiguration: (value: CognitoUserPoolConfigurationDetail) => T;
478
+ _: (name: string, value: any) => T;
479
+ }
480
+ const visit: <T>(value: ConfigurationDetail, visitor: Visitor<T>) => T;
481
+ }
482
+ /**
483
+ * @public
484
+ * <p>Contains configuration information about an identity source.</p>
485
+ * <p>This data type is a response parameter to the <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_ListIdentitySources.html">ListIdentitySources</a>
486
+ * operation.</p>
487
+ */
488
+ export type ConfigurationItem = ConfigurationItem.CognitoUserPoolConfigurationMember | ConfigurationItem.$UnknownMember;
489
+ /**
490
+ * @public
491
+ */
492
+ export declare namespace ConfigurationItem {
493
+ /**
494
+ * @public
495
+ * <p>Contains configuration details of a Amazon Cognito user pool that Verified Permissions can use as a source of
496
+ * 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
497
+ * and one or more application client IDs.</p>
498
+ * <p>Example:
499
+ * <code>"configuration":\{"cognitoUserPoolConfiguration":\{"userPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","clientIds":
500
+ * ["a1b2c3d4e5f6g7h8i9j0kalbmc"]\}\}</code>
501
+ * </p>
502
+ */
503
+ interface CognitoUserPoolConfigurationMember {
504
+ cognitoUserPoolConfiguration: CognitoUserPoolConfigurationItem;
505
+ $unknown?: never;
506
+ }
507
+ /**
508
+ * @public
509
+ */
510
+ interface $UnknownMember {
511
+ cognitoUserPoolConfiguration?: never;
512
+ $unknown: [string, any];
513
+ }
514
+ interface Visitor<T> {
515
+ cognitoUserPoolConfiguration: (value: CognitoUserPoolConfigurationItem) => T;
516
+ _: (name: string, value: any) => T;
517
+ }
518
+ const visit: <T>(value: ConfigurationItem, visitor: Visitor<T>) => T;
519
+ }
368
520
  /**
369
521
  * @public
370
522
  * <p>Contains information about a resource conflict.</p>
@@ -414,8 +566,11 @@ export interface CreateIdentitySourceInput {
414
566
  * <p>If you don't provide this value, then Amazon Web Services generates a random one for
415
567
  * you.</p>
416
568
  * <p>If you retry the operation with the same <code>ClientToken</code>, but with
417
- * different parameters, the retry fails with an <code>IdempotentParameterMismatch</code>
569
+ * different parameters, the retry fails with an <code>ConflictException</code>
418
570
  * error.</p>
571
+ * <p>Verified Permissions recognizes a <code>ClientToken</code> for eight hours. After eight hours,
572
+ * the next request with the same parameters performs the operation again regardless of
573
+ * the value of <code>ClientToken</code>.</p>
419
574
  */
420
575
  clientToken?: string;
421
576
  /**
@@ -610,8 +765,11 @@ export interface CreatePolicyInput {
610
765
  * <p>If you don't provide this value, then Amazon Web Services generates a random one for
611
766
  * you.</p>
612
767
  * <p>If you retry the operation with the same <code>ClientToken</code>, but with
613
- * different parameters, the retry fails with an <code>IdempotentParameterMismatch</code>
768
+ * different parameters, the retry fails with an <code>ConflictException</code>
614
769
  * error.</p>
770
+ * <p>Verified Permissions recognizes a <code>ClientToken</code> for eight hours. After eight hours,
771
+ * the next request with the same parameters performs the operation again regardless of
772
+ * the value of <code>ClientToken</code>.</p>
615
773
  */
616
774
  clientToken?: string;
617
775
  /**
@@ -743,8 +901,11 @@ export interface CreatePolicyStoreInput {
743
901
  * <p>If you don't provide this value, then Amazon Web Services generates a random one for
744
902
  * you.</p>
745
903
  * <p>If you retry the operation with the same <code>ClientToken</code>, but with
746
- * different parameters, the retry fails with an <code>IdempotentParameterMismatch</code>
904
+ * different parameters, the retry fails with an <code>ConflictException</code>
747
905
  * error.</p>
906
+ * <p>Verified Permissions recognizes a <code>ClientToken</code> for eight hours. After eight hours,
907
+ * the next request with the same parameters performs the operation again regardless of
908
+ * the value of <code>ClientToken</code>.</p>
748
909
  */
749
910
  clientToken?: string;
750
911
  /**
@@ -806,8 +967,11 @@ export interface CreatePolicyTemplateInput {
806
967
  * <p>If you don't provide this value, then Amazon Web Services generates a random one for
807
968
  * you.</p>
808
969
  * <p>If you retry the operation with the same <code>ClientToken</code>, but with
809
- * different parameters, the retry fails with an <code>IdempotentParameterMismatch</code>
970
+ * different parameters, the retry fails with an <code>ConflictException</code>
810
971
  * error.</p>
972
+ * <p>Verified Permissions recognizes a <code>ClientToken</code> for eight hours. After eight hours,
973
+ * the next request with the same parameters performs the operation again regardless of
974
+ * the value of <code>ClientToken</code>.</p>
811
975
  */
812
976
  clientToken?: string;
813
977
  /**
@@ -1003,25 +1167,33 @@ export declare const OpenIdIssuer: {
1003
1167
  export type OpenIdIssuer = (typeof OpenIdIssuer)[keyof typeof OpenIdIssuer];
1004
1168
  /**
1005
1169
  * @public
1170
+ * @deprecated
1171
+ *
1006
1172
  * <p>A structure that contains configuration of the identity source.</p>
1007
- * <p>This data type is used as a response parameter for the <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_CreateIdentitySource.html">CreateIdentitySource</a>
1008
- * operation.</p>
1173
+ * <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>
1174
+ * operation. Replaced by <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_ConfigurationDetail.html">ConfigurationDetail</a>.</p>
1009
1175
  */
1010
1176
  export interface IdentitySourceDetails {
1011
1177
  /**
1012
1178
  * @public
1179
+ * @deprecated
1180
+ *
1013
1181
  * <p>The application client IDs associated with the specified Amazon Cognito user pool that are
1014
1182
  * enabled for this identity source.</p>
1015
1183
  */
1016
1184
  clientIds?: string[];
1017
1185
  /**
1018
1186
  * @public
1187
+ * @deprecated
1188
+ *
1019
1189
  * <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 whose identities are accessible to this Verified Permissions
1020
1190
  * policy store.</p>
1021
1191
  */
1022
1192
  userPoolArn?: string;
1023
1193
  /**
1024
1194
  * @public
1195
+ * @deprecated
1196
+ *
1025
1197
  * <p>The well-known URL that points to this user pool's OIDC discovery endpoint. This is a
1026
1198
  * URL string in the following format. This URL replaces the placeholders for both the
1027
1199
  * Amazon Web Services Region and the user pool identifier with those appropriate for this user
@@ -1033,6 +1205,8 @@ export interface IdentitySourceDetails {
1033
1205
  discoveryUrl?: string;
1034
1206
  /**
1035
1207
  * @public
1208
+ * @deprecated
1209
+ *
1036
1210
  * <p>A string that identifies the type of OIDC service represented by this identity source. </p>
1037
1211
  * <p>At this time, the only valid value is <code>cognito</code>.</p>
1038
1212
  */
@@ -1049,9 +1223,11 @@ export interface GetIdentitySourceOutput {
1049
1223
  createdDate: Date | undefined;
1050
1224
  /**
1051
1225
  * @public
1226
+ * @deprecated
1227
+ *
1052
1228
  * <p>A structure that describes the configuration of the identity source.</p>
1053
1229
  */
1054
- details: IdentitySourceDetails | undefined;
1230
+ details?: IdentitySourceDetails;
1055
1231
  /**
1056
1232
  * @public
1057
1233
  * <p>The ID of the identity source.</p>
@@ -1073,6 +1249,11 @@ export interface GetIdentitySourceOutput {
1073
1249
  * identity source.</p>
1074
1250
  */
1075
1251
  principalEntityType: string | undefined;
1252
+ /**
1253
+ * @public
1254
+ * <p>Contains configuration information about an identity source.</p>
1255
+ */
1256
+ configuration?: ConfigurationDetail;
1076
1257
  }
1077
1258
  /**
1078
1259
  * @public
@@ -1111,10 +1292,7 @@ export interface StaticPolicyDefinitionDetail {
1111
1292
  }
1112
1293
  /**
1113
1294
  * @public
1114
- * <p>Contains information about a policy that was </p>
1115
- * <p/>
1116
- * <p>created by instantiating a policy template. </p>
1117
- * <p>This </p>
1295
+ * <p>Contains information about a policy that was created by instantiating a policy template. </p>
1118
1296
  */
1119
1297
  export interface TemplateLinkedPolicyDefinitionDetail {
1120
1298
  /**
@@ -1369,7 +1547,7 @@ export interface GetSchemaOutput {
1369
1547
  * @public
1370
1548
  * <p>A structure that defines characteristics of an identity source that you can use to
1371
1549
  * filter.</p>
1372
- * <p>This data type is used as a request parameter for the <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_ListIdentityStores.html">ListIdentityStores</a>
1550
+ * <p>This data type is a request parameter for the <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_ListIdentityStores.html">ListIdentityStores</a>
1373
1551
  * operation.</p>
1374
1552
  */
1375
1553
  export interface IdentitySourceFilter {
@@ -1421,24 +1599,32 @@ export interface ListIdentitySourcesInput {
1421
1599
  }
1422
1600
  /**
1423
1601
  * @public
1602
+ * @deprecated
1603
+ *
1424
1604
  * <p>A structure that contains configuration of the identity source.</p>
1425
- * <p>This data type is used as a response parameter for the <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_CreateIdentitySource.html">CreateIdentitySource</a>
1426
- * operation.</p>
1605
+ * <p>This data type was a response parameter for the <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_ListIdentitySources.html">ListIdentitySources</a>
1606
+ * operation. Replaced by <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_ConfigurationItem.html">ConfigurationItem</a>.</p>
1427
1607
  */
1428
1608
  export interface IdentitySourceItemDetails {
1429
1609
  /**
1430
1610
  * @public
1611
+ * @deprecated
1612
+ *
1431
1613
  * <p>The application client IDs associated with the specified Amazon Cognito user pool that are
1432
1614
  * enabled for this identity source.</p>
1433
1615
  */
1434
1616
  clientIds?: string[];
1435
1617
  /**
1436
1618
  * @public
1619
+ * @deprecated
1620
+ *
1437
1621
  * <p>The Amazon Cognito user pool whose identities are accessible to this Verified Permissions policy store.</p>
1438
1622
  */
1439
1623
  userPoolArn?: string;
1440
1624
  /**
1441
1625
  * @public
1626
+ * @deprecated
1627
+ *
1442
1628
  * <p>The well-known URL that points to this user pool's OIDC discovery endpoint. This is a
1443
1629
  * URL string in the following format. This URL replaces the placeholders for both the
1444
1630
  * Amazon Web Services Region and the user pool identifier with those appropriate for this user
@@ -1450,6 +1636,8 @@ export interface IdentitySourceItemDetails {
1450
1636
  discoveryUrl?: string;
1451
1637
  /**
1452
1638
  * @public
1639
+ * @deprecated
1640
+ *
1453
1641
  * <p>A string that identifies the type of OIDC service represented by this identity source. </p>
1454
1642
  * <p>At this time, the only valid value is <code>cognito</code>.</p>
1455
1643
  */
@@ -1458,7 +1646,7 @@ export interface IdentitySourceItemDetails {
1458
1646
  /**
1459
1647
  * @public
1460
1648
  * <p>A structure that defines an identity source.</p>
1461
- * <p>This data type is used as a request parameter for the <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_ListIdentityStores.html">ListIdentityStores</a>
1649
+ * <p>This data type is a response parameter to the <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_ListIdentitySources.html">ListIdentitySources</a>
1462
1650
  * operation.</p>
1463
1651
  */
1464
1652
  export interface IdentitySourceItem {
@@ -1469,10 +1657,12 @@ export interface IdentitySourceItem {
1469
1657
  createdDate: Date | undefined;
1470
1658
  /**
1471
1659
  * @public
1660
+ * @deprecated
1661
+ *
1472
1662
  * <p>A structure that contains the details of the associated identity provider
1473
1663
  * (IdP).</p>
1474
1664
  */
1475
- details: IdentitySourceItemDetails | undefined;
1665
+ details?: IdentitySourceItemDetails;
1476
1666
  /**
1477
1667
  * @public
1478
1668
  * <p>The unique identifier of the identity source.</p>
@@ -1494,6 +1684,11 @@ export interface IdentitySourceItem {
1494
1684
  * identity source.</p>
1495
1685
  */
1496
1686
  principalEntityType: string | undefined;
1687
+ /**
1688
+ * @public
1689
+ * <p>Contains configuration information about an identity source.</p>
1690
+ */
1691
+ configuration?: ConfigurationItem;
1497
1692
  }
1498
1693
  /**
1499
1694
  * @public
@@ -2810,16 +3005,20 @@ export interface IsAuthorizedWithTokenInput {
2810
3005
  * @public
2811
3006
  * <p>Specifies an identity token for the principal to be authorized. This token is provided
2812
3007
  * to you by the identity provider (IdP) associated with the specified identity source. You must
2813
- * specify either an <code>AccessToken</code> or an <code>IdentityToken</code>, or
3008
+ * specify either an <code>accessToken</code>, an <code>identityToken</code>, or
2814
3009
  * both.</p>
3010
+ * <p>Must be an ID token. Verified Permissions returns an error if the <code>token_use</code> claim in the
3011
+ * submitted token isn't <code>id</code>.</p>
2815
3012
  */
2816
3013
  identityToken?: string;
2817
3014
  /**
2818
3015
  * @public
2819
3016
  * <p>Specifies an access token for the principal to be authorized. This token is provided
2820
3017
  * to you by the identity provider (IdP) associated with the specified identity source. You must
2821
- * specify either an <code>AccessToken</code>, or an <code>IdentityToken</code>, or
3018
+ * specify either an <code>accessToken</code>, an <code>identityToken</code>, or
2822
3019
  * both.</p>
3020
+ * <p>Must be an access token. Verified Permissions returns an error if the <code>token_use</code> claim in
3021
+ * the submitted token isn't <code>access</code>.</p>
2823
3022
  */
2824
3023
  accessToken?: string;
2825
3024
  /**
@@ -2907,10 +3106,26 @@ export declare const EvaluationErrorItemFilterSensitiveLog: (obj: EvaluationErro
2907
3106
  * @internal
2908
3107
  */
2909
3108
  export declare const CognitoUserPoolConfigurationFilterSensitiveLog: (obj: CognitoUserPoolConfiguration) => any;
3109
+ /**
3110
+ * @internal
3111
+ */
3112
+ export declare const CognitoUserPoolConfigurationDetailFilterSensitiveLog: (obj: CognitoUserPoolConfigurationDetail) => any;
3113
+ /**
3114
+ * @internal
3115
+ */
3116
+ export declare const CognitoUserPoolConfigurationItemFilterSensitiveLog: (obj: CognitoUserPoolConfigurationItem) => any;
2910
3117
  /**
2911
3118
  * @internal
2912
3119
  */
2913
3120
  export declare const ConfigurationFilterSensitiveLog: (obj: Configuration) => any;
3121
+ /**
3122
+ * @internal
3123
+ */
3124
+ export declare const ConfigurationDetailFilterSensitiveLog: (obj: ConfigurationDetail) => any;
3125
+ /**
3126
+ * @internal
3127
+ */
3128
+ export declare const ConfigurationItemFilterSensitiveLog: (obj: ConfigurationItem) => any;
2914
3129
  /**
2915
3130
  * @internal
2916
3131
  */
@@ -79,6 +79,16 @@ export interface CognitoUserPoolConfiguration {
79
79
  userPoolArn: string | undefined;
80
80
  clientIds?: string[];
81
81
  }
82
+ export interface CognitoUserPoolConfigurationDetail {
83
+ userPoolArn: string | undefined;
84
+ clientIds: string[] | undefined;
85
+ issuer: string | undefined;
86
+ }
87
+ export interface CognitoUserPoolConfigurationItem {
88
+ userPoolArn: string | undefined;
89
+ clientIds: string[] | undefined;
90
+ issuer: string | undefined;
91
+ }
82
92
  export type Configuration =
83
93
  | Configuration.CognitoUserPoolConfigurationMember
84
94
  | Configuration.$UnknownMember;
@@ -97,6 +107,46 @@ export declare namespace Configuration {
97
107
  }
98
108
  const visit: <T>(value: Configuration, visitor: Visitor<T>) => T;
99
109
  }
110
+ export type ConfigurationDetail =
111
+ | ConfigurationDetail.CognitoUserPoolConfigurationMember
112
+ | ConfigurationDetail.$UnknownMember;
113
+ export declare namespace ConfigurationDetail {
114
+ interface CognitoUserPoolConfigurationMember {
115
+ cognitoUserPoolConfiguration: CognitoUserPoolConfigurationDetail;
116
+ $unknown?: never;
117
+ }
118
+ interface $UnknownMember {
119
+ cognitoUserPoolConfiguration?: never;
120
+ $unknown: [string, any];
121
+ }
122
+ interface Visitor<T> {
123
+ cognitoUserPoolConfiguration: (
124
+ value: CognitoUserPoolConfigurationDetail
125
+ ) => T;
126
+ _: (name: string, value: any) => T;
127
+ }
128
+ const visit: <T>(value: ConfigurationDetail, visitor: Visitor<T>) => T;
129
+ }
130
+ export type ConfigurationItem =
131
+ | ConfigurationItem.CognitoUserPoolConfigurationMember
132
+ | ConfigurationItem.$UnknownMember;
133
+ export declare namespace ConfigurationItem {
134
+ interface CognitoUserPoolConfigurationMember {
135
+ cognitoUserPoolConfiguration: CognitoUserPoolConfigurationItem;
136
+ $unknown?: never;
137
+ }
138
+ interface $UnknownMember {
139
+ cognitoUserPoolConfiguration?: never;
140
+ $unknown: [string, any];
141
+ }
142
+ interface Visitor<T> {
143
+ cognitoUserPoolConfiguration: (
144
+ value: CognitoUserPoolConfigurationItem
145
+ ) => T;
146
+ _: (name: string, value: any) => T;
147
+ }
148
+ const visit: <T>(value: ConfigurationItem, visitor: Visitor<T>) => T;
149
+ }
100
150
  export interface ResourceConflict {
101
151
  resourceId: string | undefined;
102
152
  resourceType: ResourceType | undefined;
@@ -279,11 +329,12 @@ export interface IdentitySourceDetails {
279
329
  }
280
330
  export interface GetIdentitySourceOutput {
281
331
  createdDate: Date | undefined;
282
- details: IdentitySourceDetails | undefined;
332
+ details?: IdentitySourceDetails;
283
333
  identitySourceId: string | undefined;
284
334
  lastUpdatedDate: Date | undefined;
285
335
  policyStoreId: string | undefined;
286
336
  principalEntityType: string | undefined;
337
+ configuration?: ConfigurationDetail;
287
338
  }
288
339
  export interface GetPolicyInput {
289
340
  policyStoreId: string | undefined;
@@ -385,11 +436,12 @@ export interface IdentitySourceItemDetails {
385
436
  }
386
437
  export interface IdentitySourceItem {
387
438
  createdDate: Date | undefined;
388
- details: IdentitySourceItemDetails | undefined;
439
+ details?: IdentitySourceItemDetails;
389
440
  identitySourceId: string | undefined;
390
441
  lastUpdatedDate: Date | undefined;
391
442
  policyStoreId: string | undefined;
392
443
  principalEntityType: string | undefined;
444
+ configuration?: ConfigurationItem;
393
445
  }
394
446
  export interface ListIdentitySourcesOutput {
395
447
  nextToken?: string;
@@ -793,9 +845,21 @@ export declare const EvaluationErrorItemFilterSensitiveLog: (
793
845
  export declare const CognitoUserPoolConfigurationFilterSensitiveLog: (
794
846
  obj: CognitoUserPoolConfiguration
795
847
  ) => any;
848
+ export declare const CognitoUserPoolConfigurationDetailFilterSensitiveLog: (
849
+ obj: CognitoUserPoolConfigurationDetail
850
+ ) => any;
851
+ export declare const CognitoUserPoolConfigurationItemFilterSensitiveLog: (
852
+ obj: CognitoUserPoolConfigurationItem
853
+ ) => any;
796
854
  export declare const ConfigurationFilterSensitiveLog: (
797
855
  obj: Configuration
798
856
  ) => any;
857
+ export declare const ConfigurationDetailFilterSensitiveLog: (
858
+ obj: ConfigurationDetail
859
+ ) => any;
860
+ export declare const ConfigurationItemFilterSensitiveLog: (
861
+ obj: ConfigurationItem
862
+ ) => any;
799
863
  export declare const CreateIdentitySourceInputFilterSensitiveLog: (
800
864
  obj: CreateIdentitySourceInput
801
865
  ) => any;
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.525.0",
4
+ "version": "3.528.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",