aws-sdk 2.1509.0 → 2.1510.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/README.md CHANGED
@@ -69,7 +69,7 @@ require('aws-sdk/lib/maintenance_mode_message').suppress = true;
69
69
  To use the SDK in the browser, simply add the following script tag to your
70
70
  HTML pages:
71
71
 
72
- <script src="https://sdk.amazonaws.com/js/aws-sdk-2.1509.0.min.js"></script>
72
+ <script src="https://sdk.amazonaws.com/js/aws-sdk-2.1510.0.min.js"></script>
73
73
 
74
74
  You can also build a custom browser SDK with your specified set of AWS services.
75
75
  This can allow you to reduce the SDK's size, specify different API versions of
@@ -1229,6 +1229,53 @@
1229
1229
  },
1230
1230
  "idempotent": true
1231
1231
  },
1232
+ "PutFeedback": {
1233
+ "http": {
1234
+ "method": "PUT",
1235
+ "requestUri": "/assistants/{assistantId}/feedback",
1236
+ "responseCode": 200
1237
+ },
1238
+ "input": {
1239
+ "type": "structure",
1240
+ "required": [
1241
+ "assistantId",
1242
+ "contentFeedback",
1243
+ "targetId",
1244
+ "targetType"
1245
+ ],
1246
+ "members": {
1247
+ "assistantId": {
1248
+ "location": "uri",
1249
+ "locationName": "assistantId"
1250
+ },
1251
+ "contentFeedback": {
1252
+ "shape": "S4x"
1253
+ },
1254
+ "targetId": {},
1255
+ "targetType": {}
1256
+ }
1257
+ },
1258
+ "output": {
1259
+ "type": "structure",
1260
+ "required": [
1261
+ "assistantArn",
1262
+ "assistantId",
1263
+ "contentFeedback",
1264
+ "targetId",
1265
+ "targetType"
1266
+ ],
1267
+ "members": {
1268
+ "assistantArn": {},
1269
+ "assistantId": {},
1270
+ "contentFeedback": {
1271
+ "shape": "S4x"
1272
+ },
1273
+ "targetId": {},
1274
+ "targetType": {}
1275
+ }
1276
+ },
1277
+ "idempotent": true
1278
+ },
1232
1279
  "QueryAssistant": {
1233
1280
  "http": {
1234
1281
  "requestUri": "/assistants/{assistantId}/query",
@@ -1358,7 +1405,7 @@
1358
1405
  "locationName": "nextToken"
1359
1406
  },
1360
1407
  "searchExpression": {
1361
- "shape": "S59"
1408
+ "shape": "S5f"
1362
1409
  }
1363
1410
  }
1364
1411
  },
@@ -1493,10 +1540,10 @@
1493
1540
  ],
1494
1541
  "members": {
1495
1542
  "attributesInterpolated": {
1496
- "shape": "S60"
1543
+ "shape": "S66"
1497
1544
  },
1498
1545
  "attributesNotInterpolated": {
1499
- "shape": "S60"
1546
+ "shape": "S66"
1500
1547
  },
1501
1548
  "channels": {
1502
1549
  "shape": "S1d"
@@ -1562,7 +1609,7 @@
1562
1609
  "locationName": "nextToken"
1563
1610
  },
1564
1611
  "searchExpression": {
1565
- "shape": "S59"
1612
+ "shape": "S5f"
1566
1613
  }
1567
1614
  }
1568
1615
  },
@@ -2466,7 +2513,22 @@
2466
2513
  "shape": "S2k"
2467
2514
  }
2468
2515
  },
2469
- "S59": {
2516
+ "S4x": {
2517
+ "type": "structure",
2518
+ "members": {
2519
+ "generativeContentFeedbackData": {
2520
+ "type": "structure",
2521
+ "required": [
2522
+ "relevance"
2523
+ ],
2524
+ "members": {
2525
+ "relevance": {}
2526
+ }
2527
+ }
2528
+ },
2529
+ "union": true
2530
+ },
2531
+ "S5f": {
2470
2532
  "type": "structure",
2471
2533
  "required": [
2472
2534
  "filters"
@@ -2490,7 +2552,7 @@
2490
2552
  }
2491
2553
  }
2492
2554
  },
2493
- "S60": {
2555
+ "S66": {
2494
2556
  "type": "list",
2495
2557
  "member": {},
2496
2558
  "sensitive": true
@@ -59,7 +59,8 @@
59
59
  "LockConfiguration": {
60
60
  "shape": "Sf"
61
61
  },
62
- "LockState": {}
62
+ "LockState": {},
63
+ "RuleArn": {}
63
64
  }
64
65
  }
65
66
  },
@@ -123,7 +124,8 @@
123
124
  "LockState": {},
124
125
  "LockEndTime": {
125
126
  "type": "timestamp"
126
- }
127
+ },
128
+ "RuleArn": {}
127
129
  }
128
130
  }
129
131
  },
@@ -162,7 +164,8 @@
162
164
  "RetentionPeriod": {
163
165
  "shape": "S2"
164
166
  },
165
- "LockState": {}
167
+ "LockState": {},
168
+ "RuleArn": {}
166
169
  }
167
170
  }
168
171
  },
@@ -235,7 +238,8 @@
235
238
  "LockConfiguration": {
236
239
  "shape": "Sf"
237
240
  },
238
- "LockState": {}
241
+ "LockState": {},
242
+ "RuleArn": {}
239
243
  }
240
244
  }
241
245
  },
@@ -302,7 +306,8 @@
302
306
  "LockState": {},
303
307
  "LockEndTime": {
304
308
  "type": "timestamp"
305
- }
309
+ },
310
+ "RuleArn": {}
306
311
  }
307
312
  }
308
313
  },
@@ -378,7 +383,8 @@
378
383
  "LockState": {},
379
384
  "LockEndTime": {
380
385
  "type": "timestamp"
381
- }
386
+ },
387
+ "RuleArn": {}
382
388
  }
383
389
  }
384
390
  }
@@ -212,6 +212,9 @@
212
212
  },
213
213
  "validationSettings": {
214
214
  "shape": "S1j"
215
+ },
216
+ "description": {
217
+ "shape": "S1l"
215
218
  }
216
219
  }
217
220
  },
@@ -249,7 +252,7 @@
249
252
  },
250
253
  "policyStoreId": {},
251
254
  "description": {
252
- "shape": "S1o"
255
+ "shape": "S1p"
253
256
  },
254
257
  "statement": {
255
258
  "shape": "S1d"
@@ -501,6 +504,9 @@
501
504
  },
502
505
  "lastUpdatedDate": {
503
506
  "shape": "S17"
507
+ },
508
+ "description": {
509
+ "shape": "S1l"
504
510
  }
505
511
  }
506
512
  }
@@ -530,7 +536,7 @@
530
536
  "policyStoreId": {},
531
537
  "policyTemplateId": {},
532
538
  "description": {
533
- "shape": "S1o"
539
+ "shape": "S1p"
534
540
  },
535
541
  "statement": {
536
542
  "shape": "S1d"
@@ -565,13 +571,16 @@
565
571
  "members": {
566
572
  "policyStoreId": {},
567
573
  "schema": {
568
- "shape": "S2e"
574
+ "shape": "S2f"
569
575
  },
570
576
  "createdDate": {
571
577
  "shape": "S17"
572
578
  },
573
579
  "lastUpdatedDate": {
574
580
  "shape": "S17"
581
+ },
582
+ "namespaces": {
583
+ "shape": "S2g"
575
584
  }
576
585
  }
577
586
  }
@@ -628,10 +637,10 @@
628
637
  "members": {
629
638
  "policyStoreId": {},
630
639
  "identityToken": {
631
- "shape": "S2i"
640
+ "shape": "S2l"
632
641
  },
633
642
  "accessToken": {
634
- "shape": "S2i"
643
+ "shape": "S2l"
635
644
  },
636
645
  "action": {
637
646
  "shape": "Sk"
@@ -754,10 +763,10 @@
754
763
  "type": "structure",
755
764
  "members": {
756
765
  "principal": {
757
- "shape": "S2w"
766
+ "shape": "S2z"
758
767
  },
759
768
  "resource": {
760
- "shape": "S2w"
769
+ "shape": "S2z"
761
770
  },
762
771
  "policyType": {},
763
772
  "policyTemplateId": {}
@@ -866,6 +875,12 @@
866
875
  "arn": {},
867
876
  "createdDate": {
868
877
  "shape": "S17"
878
+ },
879
+ "lastUpdatedDate": {
880
+ "shape": "S17"
881
+ },
882
+ "description": {
883
+ "shape": "S1l"
869
884
  }
870
885
  }
871
886
  }
@@ -908,7 +923,7 @@
908
923
  "policyStoreId": {},
909
924
  "policyTemplateId": {},
910
925
  "description": {
911
- "shape": "S1o"
926
+ "shape": "S1p"
912
927
  },
913
928
  "createdDate": {
914
929
  "shape": "S17"
@@ -935,7 +950,7 @@
935
950
  "type": "structure",
936
951
  "members": {
937
952
  "cedarJson": {
938
- "shape": "S2e"
953
+ "shape": "S2f"
939
954
  }
940
955
  },
941
956
  "union": true
@@ -953,11 +968,7 @@
953
968
  "members": {
954
969
  "policyStoreId": {},
955
970
  "namespaces": {
956
- "type": "list",
957
- "member": {
958
- "type": "string",
959
- "sensitive": true
960
- }
971
+ "shape": "S2g"
961
972
  },
962
973
  "createdDate": {
963
974
  "shape": "S17"
@@ -1097,6 +1108,9 @@
1097
1108
  "policyStoreId": {},
1098
1109
  "validationSettings": {
1099
1110
  "shape": "S1j"
1111
+ },
1112
+ "description": {
1113
+ "shape": "S1l"
1100
1114
  }
1101
1115
  }
1102
1116
  },
@@ -1133,7 +1147,7 @@
1133
1147
  "policyStoreId": {},
1134
1148
  "policyTemplateId": {},
1135
1149
  "description": {
1136
- "shape": "S1o"
1150
+ "shape": "S1p"
1137
1151
  },
1138
1152
  "statement": {
1139
1153
  "shape": "S1d"
@@ -1351,19 +1365,30 @@
1351
1365
  "mode": {}
1352
1366
  }
1353
1367
  },
1354
- "S1o": {
1368
+ "S1l": {
1369
+ "type": "string",
1370
+ "sensitive": true
1371
+ },
1372
+ "S1p": {
1355
1373
  "type": "string",
1356
1374
  "sensitive": true
1357
1375
  },
1358
- "S2e": {
1376
+ "S2f": {
1359
1377
  "type": "string",
1360
1378
  "sensitive": true
1361
1379
  },
1362
- "S2i": {
1380
+ "S2g": {
1381
+ "type": "list",
1382
+ "member": {
1383
+ "type": "string",
1384
+ "sensitive": true
1385
+ }
1386
+ },
1387
+ "S2l": {
1363
1388
  "type": "string",
1364
1389
  "sensitive": true
1365
1390
  },
1366
- "S2w": {
1391
+ "S2z": {
1367
1392
  "type": "structure",
1368
1393
  "members": {
1369
1394
  "unspecified": {
@@ -44,11 +44,11 @@ declare class QConnect extends Service {
44
44
  */
45
45
  createKnowledgeBase(callback?: (err: AWSError, data: QConnect.Types.CreateKnowledgeBaseResponse) => void): Request<QConnect.Types.CreateKnowledgeBaseResponse, AWSError>;
46
46
  /**
47
- * Creates a Amazon Q quick response.
47
+ * Creates an Amazon Q quick response.
48
48
  */
49
49
  createQuickResponse(params: QConnect.Types.CreateQuickResponseRequest, callback?: (err: AWSError, data: QConnect.Types.CreateQuickResponseResponse) => void): Request<QConnect.Types.CreateQuickResponseResponse, AWSError>;
50
50
  /**
51
- * Creates a Amazon Q quick response.
51
+ * Creates an Amazon Q quick response.
52
52
  */
53
53
  createQuickResponse(callback?: (err: AWSError, data: QConnect.Types.CreateQuickResponseResponse) => void): Request<QConnect.Types.CreateQuickResponseResponse, AWSError>;
54
54
  /**
@@ -243,6 +243,14 @@ declare class QConnect extends Service {
243
243
  * Removes the specified recommendations from the specified assistant's queue of newly available recommendations. You can use this API in conjunction with GetRecommendations and a waitTimeSeconds input for long-polling behavior and avoiding duplicate recommendations.
244
244
  */
245
245
  notifyRecommendationsReceived(callback?: (err: AWSError, data: QConnect.Types.NotifyRecommendationsReceivedResponse) => void): Request<QConnect.Types.NotifyRecommendationsReceivedResponse, AWSError>;
246
+ /**
247
+ * Provides feedback against the specified assistant for the specified target. This API only supports generative targets.
248
+ */
249
+ putFeedback(params: QConnect.Types.PutFeedbackRequest, callback?: (err: AWSError, data: QConnect.Types.PutFeedbackResponse) => void): Request<QConnect.Types.PutFeedbackResponse, AWSError>;
250
+ /**
251
+ * Provides feedback against the specified assistant for the specified target. This API only supports generative targets.
252
+ */
253
+ putFeedback(callback?: (err: AWSError, data: QConnect.Types.PutFeedbackResponse) => void): Request<QConnect.Types.PutFeedbackResponse, AWSError>;
246
254
  /**
247
255
  * Performs a manual search against the specified assistant. To retrieve recommendations for an assistant, use GetRecommendations.
248
256
  */
@@ -268,11 +276,11 @@ declare class QConnect extends Service {
268
276
  */
269
277
  searchContent(callback?: (err: AWSError, data: QConnect.Types.SearchContentResponse) => void): Request<QConnect.Types.SearchContentResponse, AWSError>;
270
278
  /**
271
- * Searches existing Amazon Q quick responses in a Amazon Q knowledge base.
279
+ * Searches existing Amazon Q quick responses in an Amazon Q knowledge base.
272
280
  */
273
281
  searchQuickResponses(params: QConnect.Types.SearchQuickResponsesRequest, callback?: (err: AWSError, data: QConnect.Types.SearchQuickResponsesResponse) => void): Request<QConnect.Types.SearchQuickResponsesResponse, AWSError>;
274
282
  /**
275
- * Searches existing Amazon Q quick responses in a Amazon Q knowledge base.
283
+ * Searches existing Amazon Q quick responses in an Amazon Q knowledge base.
276
284
  */
277
285
  searchQuickResponses(callback?: (err: AWSError, data: QConnect.Types.SearchQuickResponsesResponse) => void): Request<QConnect.Types.SearchQuickResponsesResponse, AWSError>;
278
286
  /**
@@ -614,6 +622,12 @@ declare namespace QConnect {
614
622
  */
615
623
  textData: TextData;
616
624
  }
625
+ export interface ContentFeedbackData {
626
+ /**
627
+ * Information about the feedback for a generative target type.
628
+ */
629
+ generativeContentFeedbackData?: GenerativeContentFeedbackData;
630
+ }
617
631
  export type ContentMetadata = {[key: string]: NonEmptyString};
618
632
  export interface ContentReference {
619
633
  /**
@@ -1056,6 +1070,12 @@ declare namespace QConnect {
1056
1070
  export type FilterField = "NAME"|string;
1057
1071
  export type FilterList = Filter[];
1058
1072
  export type FilterOperator = "EQUALS"|string;
1073
+ export interface GenerativeContentFeedbackData {
1074
+ /**
1075
+ * The relevance of the feedback.
1076
+ */
1077
+ relevance: Relevance;
1078
+ }
1059
1079
  export interface GenerativeDataDetails {
1060
1080
  /**
1061
1081
  * The LLM response.
@@ -1645,6 +1665,46 @@ declare namespace QConnect {
1645
1665
  export type ObjectFieldsList = NonEmptyString[];
1646
1666
  export type Order = "ASC"|"DESC"|string;
1647
1667
  export type Priority = "HIGH"|"MEDIUM"|"LOW"|string;
1668
+ export interface PutFeedbackRequest {
1669
+ /**
1670
+ * The identifier of the Amazon Q assistant.
1671
+ */
1672
+ assistantId: UuidOrArn;
1673
+ /**
1674
+ * Information about the feedback provided.
1675
+ */
1676
+ contentFeedback: ContentFeedbackData;
1677
+ /**
1678
+ * The identifier of the feedback target.
1679
+ */
1680
+ targetId: Uuid;
1681
+ /**
1682
+ * The type of the feedback target.
1683
+ */
1684
+ targetType: TargetType;
1685
+ }
1686
+ export interface PutFeedbackResponse {
1687
+ /**
1688
+ * The Amazon Resource Name (ARN) of the Amazon Q assistant.
1689
+ */
1690
+ assistantArn: UuidOrArn;
1691
+ /**
1692
+ * The identifier of the Amazon Q assistant.
1693
+ */
1694
+ assistantId: Uuid;
1695
+ /**
1696
+ * Information about the feedback provided.
1697
+ */
1698
+ contentFeedback: ContentFeedbackData;
1699
+ /**
1700
+ * The identifier of the feedback target.
1701
+ */
1702
+ targetId: Uuid;
1703
+ /**
1704
+ * The type of the feedback target.
1705
+ */
1706
+ targetType: TargetType;
1707
+ }
1648
1708
  export interface QueryAssistantRequest {
1649
1709
  /**
1650
1710
  * The identifier of the Amazon Q assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
@@ -2093,6 +2153,7 @@ declare namespace QConnect {
2093
2153
  export type RecommendationTriggerList = RecommendationTrigger[];
2094
2154
  export type RecommendationTriggerType = "QUERY"|"GENERATIVE"|string;
2095
2155
  export type RecommendationType = "KNOWLEDGE_CONTENT"|"GENERATIVE_RESPONSE"|"GENERATIVE_ANSWER"|string;
2156
+ export type Relevance = "HELPFUL"|"NOT_HELPFUL"|string;
2096
2157
  export type RelevanceLevel = "HIGH"|"MEDIUM"|"LOW"|string;
2097
2158
  export type RelevanceScore = number;
2098
2159
  export interface RemoveKnowledgeBaseTemplateUriRequest {
@@ -2390,6 +2451,7 @@ declare namespace QConnect {
2390
2451
  }
2391
2452
  export type TagValue = string;
2392
2453
  export type Tags = {[key: string]: TagValue};
2454
+ export type TargetType = "RECOMMENDATION"|"RESULT"|string;
2393
2455
  export interface TextData {
2394
2456
  excerpt?: DocumentText;
2395
2457
  title?: DocumentText;
package/clients/rbin.d.ts CHANGED
@@ -153,6 +153,10 @@ declare namespace Rbin {
153
153
  * The lock state for the retention rule. locked - The retention rule is locked and can't be modified or deleted. pending_unlock - The retention rule has been unlocked but it is still within the unlock delay period. The retention rule can be modified or deleted only after the unlock delay period has expired. unlocked - The retention rule is unlocked and it can be modified or deleted by any user with the required permissions. null - The retention rule has never been locked. Once a retention rule has been locked, it can transition between the locked and unlocked states only; it can never transition back to null.
154
154
  */
155
155
  LockState?: LockState;
156
+ /**
157
+ * The Amazon Resource Name (ARN) of the retention rule.
158
+ */
159
+ RuleArn?: RuleArn;
156
160
  }
157
161
  export interface DeleteRuleRequest {
158
162
  /**
@@ -206,6 +210,10 @@ declare namespace Rbin {
206
210
  * The date and time at which the unlock delay is set to expire. Only returned for retention rules that have been unlocked and that are still within the unlock delay period.
207
211
  */
208
212
  LockEndTime?: TimeStamp;
213
+ /**
214
+ * The Amazon Resource Name (ARN) of the retention rule.
215
+ */
216
+ RuleArn?: RuleArn;
209
217
  }
210
218
  export interface ListRulesRequest {
211
219
  /**
@@ -297,6 +305,10 @@ declare namespace Rbin {
297
305
  * The lock state for the retention rule. locked - The retention rule is locked and can't be modified or deleted. pending_unlock - The retention rule has been unlocked but it is still within the unlock delay period. The retention rule can be modified or deleted only after the unlock delay period has expired. unlocked - The retention rule is unlocked and it can be modified or deleted by any user with the required permissions. null - The retention rule has never been locked. Once a retention rule has been locked, it can transition between the locked and unlocked states only; it can never transition back to null.
298
306
  */
299
307
  LockState?: LockState;
308
+ /**
309
+ * The Amazon Resource Name (ARN) of the retention rule.
310
+ */
311
+ RuleArn?: RuleArn;
300
312
  }
301
313
  export type LockState = "locked"|"pending_unlock"|"unlocked"|string;
302
314
  export type MaxResults = number;
@@ -347,6 +359,10 @@ declare namespace Rbin {
347
359
  * The lock state for the retention rule. locked - The retention rule is locked and can't be modified or deleted. pending_unlock - The retention rule has been unlocked but it is still within the unlock delay period. The retention rule can be modified or deleted only after the unlock delay period has expired. unlocked - The retention rule is unlocked and it can be modified or deleted by any user with the required permissions. null - The retention rule has never been locked. Once a retention rule has been locked, it can transition between the locked and unlocked states only; it can never transition back to null.
348
360
  */
349
361
  LockState?: LockState;
362
+ /**
363
+ * The Amazon Resource Name (ARN) of the retention rule.
364
+ */
365
+ RuleArn?: RuleArn;
350
366
  }
351
367
  export type RuleSummaryList = RuleSummary[];
352
368
  export interface Tag {
@@ -428,6 +444,10 @@ declare namespace Rbin {
428
444
  * The date and time at which the unlock delay is set to expire. Only returned for retention rules that have been unlocked and that are still within the unlock delay period.
429
445
  */
430
446
  LockEndTime?: TimeStamp;
447
+ /**
448
+ * The Amazon Resource Name (ARN) of the retention rule.
449
+ */
450
+ RuleArn?: RuleArn;
431
451
  }
432
452
  export interface UntagResourceRequest {
433
453
  /**
@@ -493,6 +513,10 @@ declare namespace Rbin {
493
513
  * The date and time at which the unlock delay is set to expire. Only returned for retention rules that have been unlocked and that are still within the unlock delay period.
494
514
  */
495
515
  LockEndTime?: TimeStamp;
516
+ /**
517
+ * The Amazon Resource Name (ARN) of the retention rule.
518
+ */
519
+ RuleArn?: RuleArn;
496
520
  }
497
521
  /**
498
522
  * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
@@ -12,11 +12,11 @@ declare class VerifiedPermissions extends Service {
12
12
  constructor(options?: VerifiedPermissions.Types.ClientConfiguration)
13
13
  config: Config & VerifiedPermissions.Types.ClientConfiguration;
14
14
  /**
15
- * Makes a series of decisions about multiple authorization requests for one principal or resource. Each request contains the equivalent content of an IsAuthorized request: principal, action, resource, and context. Either the principal or the resource parameter must be identical across all requests. For example, Verified Permissions won't evaluate a pair of requests where bob views photo1 and alice views photo2. Authorization of bob to view photo1 and photo2, or bob and alice to view photo1, are valid batches. The request is evaluated against all policies in the specified policy store that match the entities that you declare. The result of the decisions is a series of Allow or Deny responses, along with the IDs of the policies that produced each decision. The entities of a BatchIsAuthorized API request can contain up to 100 principals and up to 100 resources. The requests of a BatchIsAuthorized API request can contain up to 30 requests.
15
+ * Makes a series of decisions about multiple authorization requests for one principal or resource. Each request contains the equivalent content of an IsAuthorized request: principal, action, resource, and context. Either the principal or the resource parameter must be identical across all requests. For example, Verified Permissions won't evaluate a pair of requests where bob views photo1 and alice views photo2. Authorization of bob to view photo1 and photo2, or bob and alice to view photo1, are valid batches. The request is evaluated against all policies in the specified policy store that match the entities that you declare. The result of the decisions is a series of Allow or Deny responses, along with the IDs of the policies that produced each decision. The entities of a BatchIsAuthorized API request can contain up to 100 principals and up to 100 resources. The requests of a BatchIsAuthorized API request can contain up to 30 requests. The BatchIsAuthorized operation doesn't have its own IAM permission. To authorize this operation for Amazon Web Services principals, include the permission verifiedpermissions:IsAuthorized in their IAM policies.
16
16
  */
17
17
  batchIsAuthorized(params: VerifiedPermissions.Types.BatchIsAuthorizedInput, callback?: (err: AWSError, data: VerifiedPermissions.Types.BatchIsAuthorizedOutput) => void): Request<VerifiedPermissions.Types.BatchIsAuthorizedOutput, AWSError>;
18
18
  /**
19
- * Makes a series of decisions about multiple authorization requests for one principal or resource. Each request contains the equivalent content of an IsAuthorized request: principal, action, resource, and context. Either the principal or the resource parameter must be identical across all requests. For example, Verified Permissions won't evaluate a pair of requests where bob views photo1 and alice views photo2. Authorization of bob to view photo1 and photo2, or bob and alice to view photo1, are valid batches. The request is evaluated against all policies in the specified policy store that match the entities that you declare. The result of the decisions is a series of Allow or Deny responses, along with the IDs of the policies that produced each decision. The entities of a BatchIsAuthorized API request can contain up to 100 principals and up to 100 resources. The requests of a BatchIsAuthorized API request can contain up to 30 requests.
19
+ * Makes a series of decisions about multiple authorization requests for one principal or resource. Each request contains the equivalent content of an IsAuthorized request: principal, action, resource, and context. Either the principal or the resource parameter must be identical across all requests. For example, Verified Permissions won't evaluate a pair of requests where bob views photo1 and alice views photo2. Authorization of bob to view photo1 and photo2, or bob and alice to view photo1, are valid batches. The request is evaluated against all policies in the specified policy store that match the entities that you declare. The result of the decisions is a series of Allow or Deny responses, along with the IDs of the policies that produced each decision. The entities of a BatchIsAuthorized API request can contain up to 100 principals and up to 100 resources. The requests of a BatchIsAuthorized API request can contain up to 30 requests. The BatchIsAuthorized operation doesn't have its own IAM permission. To authorize this operation for Amazon Web Services principals, include the permission verifiedpermissions:IsAuthorized in their IAM policies.
20
20
  */
21
21
  batchIsAuthorized(callback?: (err: AWSError, data: VerifiedPermissions.Types.BatchIsAuthorizedOutput) => void): Request<VerifiedPermissions.Types.BatchIsAuthorizedOutput, AWSError>;
22
22
  /**
@@ -425,6 +425,10 @@ declare namespace VerifiedPermissions {
425
425
  * Specifies the validation setting for this policy store. Currently, the only valid and required value is Mode. We recommend that you turn on STRICT mode only after you define a schema. If a schema doesn't exist, then STRICT mode causes any policy to fail validation, and Verified Permissions rejects the policy. You can turn off validation by using the UpdatePolicyStore. Then, when you have a schema defined, use UpdatePolicyStore again to turn validation back on.
426
426
  */
427
427
  validationSettings: ValidationSettings;
428
+ /**
429
+ * Descriptive text that you can provide to help with identification of the current policy store.
430
+ */
431
+ description?: PolicyStoreDescription;
428
432
  }
429
433
  export interface CreatePolicyStoreOutput {
430
434
  /**
@@ -691,6 +695,10 @@ declare namespace VerifiedPermissions {
691
695
  * The date and time that the policy store was last updated.
692
696
  */
693
697
  lastUpdatedDate: TimestampFormat;
698
+ /**
699
+ * Descriptive text that you can provide to help with identification of the current policy store.
700
+ */
701
+ description?: PolicyStoreDescription;
694
702
  }
695
703
  export interface GetPolicyTemplateInput {
696
704
  /**
@@ -751,6 +759,10 @@ declare namespace VerifiedPermissions {
751
759
  * The date and time that the schema was most recently updated.
752
760
  */
753
761
  lastUpdatedDate: TimestampFormat;
762
+ /**
763
+ * The namespaces of the entities referenced by this schema.
764
+ */
765
+ namespaces?: NamespaceList;
754
766
  }
755
767
  export type IdempotencyToken = string;
756
768
  export interface IdentitySourceDetails {
@@ -1101,6 +1113,7 @@ declare namespace VerifiedPermissions {
1101
1113
  }
1102
1114
  export type PolicyList = PolicyItem[];
1103
1115
  export type PolicyStatement = string;
1116
+ export type PolicyStoreDescription = string;
1104
1117
  export type PolicyStoreId = string;
1105
1118
  export interface PolicyStoreItem {
1106
1119
  /**
@@ -1115,6 +1128,14 @@ declare namespace VerifiedPermissions {
1115
1128
  * The date and time the policy was created.
1116
1129
  */
1117
1130
  createdDate: TimestampFormat;
1131
+ /**
1132
+ * The date and time the policy store was most recently updated.
1133
+ */
1134
+ lastUpdatedDate?: TimestampFormat;
1135
+ /**
1136
+ * Descriptive text that you can provide to help with identification of the current policy store.
1137
+ */
1138
+ description?: PolicyStoreDescription;
1118
1139
  }
1119
1140
  export type PolicyStoreList = PolicyStoreItem[];
1120
1141
  export type PolicyTemplateDescription = string;
@@ -1366,6 +1387,10 @@ declare namespace VerifiedPermissions {
1366
1387
  * A structure that defines the validation settings that want to enable for the policy store.
1367
1388
  */
1368
1389
  validationSettings: ValidationSettings;
1390
+ /**
1391
+ * Descriptive text that you can provide to help with identification of the current policy store.
1392
+ */
1393
+ description?: PolicyStoreDescription;
1369
1394
  }
1370
1395
  export interface UpdatePolicyStoreOutput {
1371
1396
  /**
@@ -83,7 +83,7 @@ return /******/ (function(modules) { // webpackBootstrap
83
83
  /**
84
84
  * @constant
85
85
  */
86
- VERSION: '2.1509.0',
86
+ VERSION: '2.1510.0',
87
87
 
88
88
  /**
89
89
  * @api private