cdk-lambda-subminute 2.0.314 → 2.0.316
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/.jsii +27 -14
- package/lib/cdk-lambda-subminute.js +3 -3
- package/node_modules/aws-sdk/README.md +1 -1
- package/node_modules/aws-sdk/apis/qconnect-2020-10-19.min.json +68 -6
- package/node_modules/aws-sdk/apis/rbin-2021-06-15.min.json +12 -6
- package/node_modules/aws-sdk/apis/verifiedpermissions-2021-12-01.min.json +44 -19
- package/node_modules/aws-sdk/clients/qconnect.d.ts +66 -4
- package/node_modules/aws-sdk/clients/rbin.d.ts +24 -0
- package/node_modules/aws-sdk/clients/verifiedpermissions.d.ts +27 -2
- package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +1 -1
- package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +4 -4
- package/node_modules/aws-sdk/dist/aws-sdk.js +3 -3
- package/node_modules/aws-sdk/dist/aws-sdk.min.js +2 -2
- package/node_modules/aws-sdk/lib/core.js +1 -1
- package/node_modules/aws-sdk/package.json +1 -1
- package/package.json +2 -2
@@ -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
|
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
|
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
|
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
|
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;
|
@@ -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
|
/**
|