@aws-sdk/client-bedrock-agentcore-control 3.940.0 → 3.943.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 +216 -0
- package/dist-cjs/index.js +2140 -143
- package/dist-es/BedrockAgentCoreControl.js +54 -0
- package/dist-es/commands/CreateEvaluatorCommand.js +16 -0
- package/dist-es/commands/CreateOnlineEvaluationConfigCommand.js +16 -0
- package/dist-es/commands/CreatePolicyCommand.js +16 -0
- package/dist-es/commands/CreatePolicyEngineCommand.js +16 -0
- package/dist-es/commands/DeleteEvaluatorCommand.js +16 -0
- package/dist-es/commands/DeleteOnlineEvaluationConfigCommand.js +16 -0
- package/dist-es/commands/DeletePolicyCommand.js +16 -0
- package/dist-es/commands/DeletePolicyEngineCommand.js +16 -0
- package/dist-es/commands/DeleteResourcePolicyCommand.js +16 -0
- package/dist-es/commands/GetEvaluatorCommand.js +16 -0
- package/dist-es/commands/GetOnlineEvaluationConfigCommand.js +16 -0
- package/dist-es/commands/GetPolicyCommand.js +16 -0
- package/dist-es/commands/GetPolicyEngineCommand.js +16 -0
- package/dist-es/commands/GetPolicyGenerationCommand.js +16 -0
- package/dist-es/commands/GetResourcePolicyCommand.js +16 -0
- package/dist-es/commands/ListEvaluatorsCommand.js +16 -0
- package/dist-es/commands/ListOnlineEvaluationConfigsCommand.js +16 -0
- package/dist-es/commands/ListPoliciesCommand.js +16 -0
- package/dist-es/commands/ListPolicyEnginesCommand.js +16 -0
- package/dist-es/commands/ListPolicyGenerationAssetsCommand.js +16 -0
- package/dist-es/commands/ListPolicyGenerationsCommand.js +16 -0
- package/dist-es/commands/PutResourcePolicyCommand.js +16 -0
- package/dist-es/commands/StartPolicyGenerationCommand.js +16 -0
- package/dist-es/commands/UpdateEvaluatorCommand.js +16 -0
- package/dist-es/commands/UpdateOnlineEvaluationConfigCommand.js +16 -0
- package/dist-es/commands/UpdatePolicyCommand.js +16 -0
- package/dist-es/commands/UpdatePolicyEngineCommand.js +16 -0
- package/dist-es/commands/index.js +27 -0
- package/dist-es/models/enums.js +104 -0
- package/dist-es/models/models_1.js +1 -0
- package/dist-es/pagination/ListEvaluatorsPaginator.js +4 -0
- package/dist-es/pagination/ListOnlineEvaluationConfigsPaginator.js +4 -0
- package/dist-es/pagination/ListPoliciesPaginator.js +4 -0
- package/dist-es/pagination/ListPolicyEnginesPaginator.js +4 -0
- package/dist-es/pagination/ListPolicyGenerationAssetsPaginator.js +4 -0
- package/dist-es/pagination/ListPolicyGenerationsPaginator.js +4 -0
- package/dist-es/pagination/index.js +6 -0
- package/dist-es/schemas/schemas_0.js +1320 -97
- package/dist-es/waiters/index.js +5 -0
- package/dist-es/waiters/waitForPolicyActive.js +58 -0
- package/dist-es/waiters/waitForPolicyDeleted.js +43 -0
- package/dist-es/waiters/waitForPolicyEngineActive.js +58 -0
- package/dist-es/waiters/waitForPolicyEngineDeleted.js +43 -0
- package/dist-es/waiters/waitForPolicyGenerationCompleted.js +58 -0
- package/dist-types/BedrockAgentCoreControl.d.ts +192 -0
- package/dist-types/BedrockAgentCoreControlClient.d.ts +29 -2
- package/dist-types/commands/CreateAgentRuntimeCommand.d.ts +18 -0
- package/dist-types/commands/CreateEvaluatorCommand.d.ts +132 -0
- package/dist-types/commands/CreateGatewayCommand.d.ts +44 -0
- package/dist-types/commands/CreateGatewayTargetCommand.d.ts +49 -1
- package/dist-types/commands/CreateMemoryCommand.d.ts +52 -5
- package/dist-types/commands/CreateOnlineEvaluationConfigCommand.d.ts +140 -0
- package/dist-types/commands/CreatePolicyCommand.d.ts +119 -0
- package/dist-types/commands/CreatePolicyEngineCommand.d.ts +103 -0
- package/dist-types/commands/CreateWorkloadIdentityCommand.d.ts +1 -1
- package/dist-types/commands/DeleteEvaluatorCommand.d.ts +94 -0
- package/dist-types/commands/DeleteMemoryCommand.d.ts +3 -0
- package/dist-types/commands/DeleteOnlineEvaluationConfigCommand.d.ts +94 -0
- package/dist-types/commands/DeletePolicyCommand.d.ts +108 -0
- package/dist-types/commands/DeletePolicyEngineCommand.d.ts +101 -0
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +87 -0
- package/dist-types/commands/DeleteWorkloadIdentityCommand.d.ts +1 -1
- package/dist-types/commands/GetAgentRuntimeCommand.d.ts +19 -0
- package/dist-types/commands/GetEvaluatorCommand.d.ts +131 -0
- package/dist-types/commands/GetGatewayCommand.d.ts +22 -0
- package/dist-types/commands/GetGatewayTargetCommand.d.ts +26 -1
- package/dist-types/commands/GetMemoryCommand.d.ts +27 -5
- package/dist-types/commands/GetOnlineEvaluationConfigCommand.d.ts +137 -0
- package/dist-types/commands/GetPolicyCommand.d.ts +105 -0
- package/dist-types/commands/GetPolicyEngineCommand.d.ts +98 -0
- package/dist-types/commands/GetPolicyGenerationCommand.d.ts +103 -0
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +89 -0
- package/dist-types/commands/GetWorkloadIdentityCommand.d.ts +1 -1
- package/dist-types/commands/ListEvaluatorsCommand.d.ts +101 -0
- package/dist-types/commands/ListOnlineEvaluationConfigsCommand.d.ts +100 -0
- package/dist-types/commands/ListPoliciesCommand.d.ts +113 -0
- package/dist-types/commands/ListPolicyEnginesCommand.d.ts +101 -0
- package/dist-types/commands/ListPolicyGenerationAssetsCommand.d.ts +109 -0
- package/dist-types/commands/ListPolicyGenerationsCommand.d.ts +109 -0
- package/dist-types/commands/ListWorkloadIdentitiesCommand.d.ts +1 -1
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +90 -0
- package/dist-types/commands/SetTokenVaultCMKCommand.d.ts +1 -1
- package/dist-types/commands/StartPolicyGenerationCommand.d.ts +116 -0
- package/dist-types/commands/SynchronizeGatewayTargetsCommand.d.ts +26 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAgentRuntimeCommand.d.ts +18 -0
- package/dist-types/commands/UpdateEvaluatorCommand.d.ts +135 -0
- package/dist-types/commands/UpdateGatewayCommand.d.ts +44 -0
- package/dist-types/commands/UpdateGatewayTargetCommand.d.ts +49 -1
- package/dist-types/commands/UpdateMemoryCommand.d.ts +73 -8
- package/dist-types/commands/UpdateOnlineEvaluationConfigCommand.d.ts +138 -0
- package/dist-types/commands/UpdatePolicyCommand.d.ts +115 -0
- package/dist-types/commands/UpdatePolicyEngineCommand.d.ts +102 -0
- package/dist-types/commands/UpdateWorkloadIdentityCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +27 -0
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/enums.d.ts +232 -0
- package/dist-types/models/models_0.d.ts +4160 -2169
- package/dist-types/models/models_1.d.ts +1009 -0
- package/dist-types/pagination/ListEvaluatorsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListOnlineEvaluationConfigsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPoliciesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPolicyEnginesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPolicyGenerationAssetsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPolicyGenerationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +6 -0
- package/dist-types/schemas/schemas_0.d.ts +156 -0
- package/dist-types/ts3.4/BedrockAgentCoreControl.d.ts +462 -0
- package/dist-types/ts3.4/BedrockAgentCoreControlClient.d.ts +162 -0
- package/dist-types/ts3.4/commands/CreateEvaluatorCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/CreateGatewayTargetCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateOnlineEvaluationConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreatePolicyCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/CreatePolicyEngineCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateWorkloadIdentityCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteEvaluatorCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/DeleteOnlineEvaluationConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeletePolicyCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeletePolicyEngineCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteWorkloadIdentityCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetEvaluatorCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetGatewayTargetCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/GetOnlineEvaluationConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetPolicyCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetPolicyEngineCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetPolicyGenerationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetWorkloadIdentityCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListEvaluatorsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListOnlineEvaluationConfigsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListPoliciesCommand.d.ts +48 -0
- package/dist-types/ts3.4/commands/ListPolicyEnginesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListPolicyGenerationAssetsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListPolicyGenerationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListWorkloadIdentitiesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/SetTokenVaultCMKCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartPolicyGenerationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/SynchronizeGatewayTargetsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateEvaluatorCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UpdateGatewayTargetCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateOnlineEvaluationConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdatePolicyCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UpdatePolicyEngineCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateWorkloadIdentityCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +27 -0
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +132 -0
- package/dist-types/ts3.4/models/models_0.d.ts +835 -188
- package/dist-types/ts3.4/models/models_1.d.ts +331 -0
- package/dist-types/ts3.4/pagination/ListEvaluatorsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListOnlineEvaluationConfigsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPoliciesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPolicyEnginesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPolicyGenerationAssetsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPolicyGenerationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +6 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +156 -0
- package/dist-types/ts3.4/waiters/index.d.ts +5 -0
- package/dist-types/ts3.4/waiters/waitForPolicyActive.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForPolicyDeleted.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForPolicyEngineActive.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForPolicyEngineDeleted.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForPolicyGenerationCompleted.d.ts +11 -0
- package/dist-types/waiters/index.d.ts +5 -0
- package/dist-types/waiters/waitForPolicyActive.d.ts +14 -0
- package/dist-types/waiters/waitForPolicyDeleted.d.ts +14 -0
- package/dist-types/waiters/waitForPolicyEngineActive.d.ts +14 -0
- package/dist-types/waiters/waitForPolicyEngineDeleted.d.ts +14 -0
- package/dist-types/waiters/waitForPolicyGenerationCompleted.d.ts +14 -0
- package/package.json +5 -5
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { DocumentType as __DocumentType } from "@smithy/types";
|
|
1
2
|
import {
|
|
2
3
|
AgentManagedRuntimeType,
|
|
3
4
|
AgentRuntimeEndpointStatus,
|
|
@@ -6,22 +7,37 @@ import {
|
|
|
6
7
|
AuthorizerType,
|
|
7
8
|
BrowserNetworkMode,
|
|
8
9
|
BrowserStatus,
|
|
10
|
+
ClaimMatchOperatorType,
|
|
9
11
|
CodeInterpreterNetworkMode,
|
|
10
12
|
CodeInterpreterStatus,
|
|
11
13
|
CredentialProviderType,
|
|
12
14
|
CredentialProviderVendorType,
|
|
15
|
+
EvaluatorLevel,
|
|
16
|
+
EvaluatorStatus,
|
|
17
|
+
EvaluatorType,
|
|
13
18
|
ExceptionLevel,
|
|
19
|
+
FilterOperator,
|
|
20
|
+
FindingType,
|
|
14
21
|
GatewayInterceptionPoint,
|
|
22
|
+
GatewayPolicyEngineMode,
|
|
15
23
|
GatewayProtocolType,
|
|
16
24
|
GatewayStatus,
|
|
25
|
+
InboundTokenClaimValueType,
|
|
17
26
|
KeyType,
|
|
18
27
|
MemoryStatus,
|
|
19
28
|
MemoryStrategyStatus,
|
|
20
29
|
MemoryStrategyType,
|
|
21
30
|
NetworkMode,
|
|
31
|
+
OAuthGrantType,
|
|
32
|
+
OnlineEvaluationConfigStatus,
|
|
33
|
+
OnlineEvaluationExecutionStatus,
|
|
22
34
|
OverrideType,
|
|
35
|
+
PolicyEngineStatus,
|
|
36
|
+
PolicyGenerationStatus,
|
|
37
|
+
PolicyStatus,
|
|
38
|
+
PolicyValidationMode,
|
|
23
39
|
ResourceType,
|
|
24
|
-
|
|
40
|
+
RestApiMethod,
|
|
25
41
|
SearchType,
|
|
26
42
|
ServerProtocol,
|
|
27
43
|
TargetStatus,
|
|
@@ -165,10 +181,47 @@ export declare namespace AgentRuntimeArtifact {
|
|
|
165
181
|
_: (name: string, value: any) => T;
|
|
166
182
|
}
|
|
167
183
|
}
|
|
184
|
+
export type ClaimMatchValueType =
|
|
185
|
+
| ClaimMatchValueType.MatchValueStringMember
|
|
186
|
+
| ClaimMatchValueType.MatchValueStringListMember
|
|
187
|
+
| ClaimMatchValueType.$UnknownMember;
|
|
188
|
+
export declare namespace ClaimMatchValueType {
|
|
189
|
+
interface MatchValueStringMember {
|
|
190
|
+
matchValueString: string;
|
|
191
|
+
matchValueStringList?: never;
|
|
192
|
+
$unknown?: never;
|
|
193
|
+
}
|
|
194
|
+
interface MatchValueStringListMember {
|
|
195
|
+
matchValueString?: never;
|
|
196
|
+
matchValueStringList: string[];
|
|
197
|
+
$unknown?: never;
|
|
198
|
+
}
|
|
199
|
+
interface $UnknownMember {
|
|
200
|
+
matchValueString?: never;
|
|
201
|
+
matchValueStringList?: never;
|
|
202
|
+
$unknown: [string, any];
|
|
203
|
+
}
|
|
204
|
+
interface Visitor<T> {
|
|
205
|
+
matchValueString: (value: string) => T;
|
|
206
|
+
matchValueStringList: (value: string[]) => T;
|
|
207
|
+
_: (name: string, value: any) => T;
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
export interface AuthorizingClaimMatchValueType {
|
|
211
|
+
claimMatchValue: ClaimMatchValueType | undefined;
|
|
212
|
+
claimMatchOperator: ClaimMatchOperatorType | undefined;
|
|
213
|
+
}
|
|
214
|
+
export interface CustomClaimValidationType {
|
|
215
|
+
inboundTokenClaimName: string | undefined;
|
|
216
|
+
inboundTokenClaimValueType: InboundTokenClaimValueType | undefined;
|
|
217
|
+
authorizingClaimMatchValue: AuthorizingClaimMatchValueType | undefined;
|
|
218
|
+
}
|
|
168
219
|
export interface CustomJWTAuthorizerConfiguration {
|
|
169
220
|
discoveryUrl: string | undefined;
|
|
170
221
|
allowedAudience?: string[] | undefined;
|
|
171
222
|
allowedClients?: string[] | undefined;
|
|
223
|
+
allowedScopes?: string[] | undefined;
|
|
224
|
+
customClaims?: CustomClaimValidationType[] | undefined;
|
|
172
225
|
}
|
|
173
226
|
export type AuthorizerConfiguration =
|
|
174
227
|
| AuthorizerConfiguration.CustomJWTAuthorizerMember
|
|
@@ -267,6 +320,7 @@ export interface GetAgentRuntimeResponse {
|
|
|
267
320
|
networkConfiguration: NetworkConfiguration | undefined;
|
|
268
321
|
status: AgentRuntimeStatus | undefined;
|
|
269
322
|
lifecycleConfiguration: LifecycleConfiguration | undefined;
|
|
323
|
+
failureReason?: string | undefined;
|
|
270
324
|
description?: string | undefined;
|
|
271
325
|
workloadIdentityDetails?: WorkloadIdentityDetails | undefined;
|
|
272
326
|
agentRuntimeArtifact?: AgentRuntimeArtifact | undefined;
|
|
@@ -509,6 +563,164 @@ export interface ListCodeInterpretersResponse {
|
|
|
509
563
|
codeInterpreterSummaries: CodeInterpreterSummary[] | undefined;
|
|
510
564
|
nextToken?: string | undefined;
|
|
511
565
|
}
|
|
566
|
+
export interface DeleteResourcePolicyRequest {
|
|
567
|
+
resourceArn: string | undefined;
|
|
568
|
+
}
|
|
569
|
+
export interface DeleteResourcePolicyResponse {}
|
|
570
|
+
export interface InferenceConfiguration {
|
|
571
|
+
maxTokens?: number | undefined;
|
|
572
|
+
temperature?: number | undefined;
|
|
573
|
+
topP?: number | undefined;
|
|
574
|
+
stopSequences?: string[] | undefined;
|
|
575
|
+
}
|
|
576
|
+
export interface BedrockEvaluatorModelConfig {
|
|
577
|
+
modelId: string | undefined;
|
|
578
|
+
inferenceConfig?: InferenceConfiguration | undefined;
|
|
579
|
+
additionalModelRequestFields?: __DocumentType | undefined;
|
|
580
|
+
}
|
|
581
|
+
export type EvaluatorModelConfig =
|
|
582
|
+
| EvaluatorModelConfig.BedrockEvaluatorModelConfigMember
|
|
583
|
+
| EvaluatorModelConfig.$UnknownMember;
|
|
584
|
+
export declare namespace EvaluatorModelConfig {
|
|
585
|
+
interface BedrockEvaluatorModelConfigMember {
|
|
586
|
+
bedrockEvaluatorModelConfig: BedrockEvaluatorModelConfig;
|
|
587
|
+
$unknown?: never;
|
|
588
|
+
}
|
|
589
|
+
interface $UnknownMember {
|
|
590
|
+
bedrockEvaluatorModelConfig?: never;
|
|
591
|
+
$unknown: [string, any];
|
|
592
|
+
}
|
|
593
|
+
interface Visitor<T> {
|
|
594
|
+
bedrockEvaluatorModelConfig: (value: BedrockEvaluatorModelConfig) => T;
|
|
595
|
+
_: (name: string, value: any) => T;
|
|
596
|
+
}
|
|
597
|
+
}
|
|
598
|
+
export interface CategoricalScaleDefinition {
|
|
599
|
+
definition: string | undefined;
|
|
600
|
+
label: string | undefined;
|
|
601
|
+
}
|
|
602
|
+
export interface NumericalScaleDefinition {
|
|
603
|
+
definition: string | undefined;
|
|
604
|
+
value: number | undefined;
|
|
605
|
+
label: string | undefined;
|
|
606
|
+
}
|
|
607
|
+
export type RatingScale =
|
|
608
|
+
| RatingScale.CategoricalMember
|
|
609
|
+
| RatingScale.NumericalMember
|
|
610
|
+
| RatingScale.$UnknownMember;
|
|
611
|
+
export declare namespace RatingScale {
|
|
612
|
+
interface NumericalMember {
|
|
613
|
+
numerical: NumericalScaleDefinition[];
|
|
614
|
+
categorical?: never;
|
|
615
|
+
$unknown?: never;
|
|
616
|
+
}
|
|
617
|
+
interface CategoricalMember {
|
|
618
|
+
numerical?: never;
|
|
619
|
+
categorical: CategoricalScaleDefinition[];
|
|
620
|
+
$unknown?: never;
|
|
621
|
+
}
|
|
622
|
+
interface $UnknownMember {
|
|
623
|
+
numerical?: never;
|
|
624
|
+
categorical?: never;
|
|
625
|
+
$unknown: [string, any];
|
|
626
|
+
}
|
|
627
|
+
interface Visitor<T> {
|
|
628
|
+
numerical: (value: NumericalScaleDefinition[]) => T;
|
|
629
|
+
categorical: (value: CategoricalScaleDefinition[]) => T;
|
|
630
|
+
_: (name: string, value: any) => T;
|
|
631
|
+
}
|
|
632
|
+
}
|
|
633
|
+
export interface LlmAsAJudgeEvaluatorConfig {
|
|
634
|
+
instructions: string | undefined;
|
|
635
|
+
ratingScale: RatingScale | undefined;
|
|
636
|
+
modelConfig: EvaluatorModelConfig | undefined;
|
|
637
|
+
}
|
|
638
|
+
export type EvaluatorConfig =
|
|
639
|
+
| EvaluatorConfig.LlmAsAJudgeMember
|
|
640
|
+
| EvaluatorConfig.$UnknownMember;
|
|
641
|
+
export declare namespace EvaluatorConfig {
|
|
642
|
+
interface LlmAsAJudgeMember {
|
|
643
|
+
llmAsAJudge: LlmAsAJudgeEvaluatorConfig;
|
|
644
|
+
$unknown?: never;
|
|
645
|
+
}
|
|
646
|
+
interface $UnknownMember {
|
|
647
|
+
llmAsAJudge?: never;
|
|
648
|
+
$unknown: [string, any];
|
|
649
|
+
}
|
|
650
|
+
interface Visitor<T> {
|
|
651
|
+
llmAsAJudge: (value: LlmAsAJudgeEvaluatorConfig) => T;
|
|
652
|
+
_: (name: string, value: any) => T;
|
|
653
|
+
}
|
|
654
|
+
}
|
|
655
|
+
export interface CreateEvaluatorRequest {
|
|
656
|
+
clientToken?: string | undefined;
|
|
657
|
+
evaluatorName: string | undefined;
|
|
658
|
+
description?: string | undefined;
|
|
659
|
+
evaluatorConfig: EvaluatorConfig | undefined;
|
|
660
|
+
level: EvaluatorLevel | undefined;
|
|
661
|
+
}
|
|
662
|
+
export interface CreateEvaluatorResponse {
|
|
663
|
+
evaluatorArn: string | undefined;
|
|
664
|
+
evaluatorId: string | undefined;
|
|
665
|
+
createdAt: Date | undefined;
|
|
666
|
+
status: EvaluatorStatus | undefined;
|
|
667
|
+
}
|
|
668
|
+
export interface DeleteEvaluatorRequest {
|
|
669
|
+
evaluatorId: string | undefined;
|
|
670
|
+
}
|
|
671
|
+
export interface DeleteEvaluatorResponse {
|
|
672
|
+
evaluatorArn: string | undefined;
|
|
673
|
+
evaluatorId: string | undefined;
|
|
674
|
+
status: EvaluatorStatus | undefined;
|
|
675
|
+
}
|
|
676
|
+
export interface GetEvaluatorRequest {
|
|
677
|
+
evaluatorId: string | undefined;
|
|
678
|
+
}
|
|
679
|
+
export interface GetEvaluatorResponse {
|
|
680
|
+
evaluatorArn: string | undefined;
|
|
681
|
+
evaluatorId: string | undefined;
|
|
682
|
+
evaluatorName: string | undefined;
|
|
683
|
+
description?: string | undefined;
|
|
684
|
+
evaluatorConfig: EvaluatorConfig | undefined;
|
|
685
|
+
level: EvaluatorLevel | undefined;
|
|
686
|
+
status: EvaluatorStatus | undefined;
|
|
687
|
+
createdAt: Date | undefined;
|
|
688
|
+
updatedAt: Date | undefined;
|
|
689
|
+
lockedForModification?: boolean | undefined;
|
|
690
|
+
}
|
|
691
|
+
export interface ListEvaluatorsRequest {
|
|
692
|
+
nextToken?: string | undefined;
|
|
693
|
+
maxResults?: number | undefined;
|
|
694
|
+
}
|
|
695
|
+
export interface EvaluatorSummary {
|
|
696
|
+
evaluatorArn: string | undefined;
|
|
697
|
+
evaluatorId: string | undefined;
|
|
698
|
+
evaluatorName: string | undefined;
|
|
699
|
+
description?: string | undefined;
|
|
700
|
+
evaluatorType: EvaluatorType | undefined;
|
|
701
|
+
level?: EvaluatorLevel | undefined;
|
|
702
|
+
status: EvaluatorStatus | undefined;
|
|
703
|
+
createdAt: Date | undefined;
|
|
704
|
+
updatedAt: Date | undefined;
|
|
705
|
+
lockedForModification?: boolean | undefined;
|
|
706
|
+
}
|
|
707
|
+
export interface ListEvaluatorsResponse {
|
|
708
|
+
evaluators: EvaluatorSummary[] | undefined;
|
|
709
|
+
nextToken?: string | undefined;
|
|
710
|
+
}
|
|
711
|
+
export interface UpdateEvaluatorRequest {
|
|
712
|
+
clientToken?: string | undefined;
|
|
713
|
+
evaluatorId: string | undefined;
|
|
714
|
+
description?: string | undefined;
|
|
715
|
+
evaluatorConfig?: EvaluatorConfig | undefined;
|
|
716
|
+
level?: EvaluatorLevel | undefined;
|
|
717
|
+
}
|
|
718
|
+
export interface UpdateEvaluatorResponse {
|
|
719
|
+
evaluatorArn: string | undefined;
|
|
720
|
+
evaluatorId: string | undefined;
|
|
721
|
+
updatedAt: Date | undefined;
|
|
722
|
+
status: EvaluatorStatus | undefined;
|
|
723
|
+
}
|
|
512
724
|
export interface InterceptorInputConfiguration {
|
|
513
725
|
passRequestHeaders: boolean | undefined;
|
|
514
726
|
}
|
|
@@ -537,6 +749,10 @@ export interface GatewayInterceptorConfiguration {
|
|
|
537
749
|
interceptionPoints: GatewayInterceptionPoint[] | undefined;
|
|
538
750
|
inputConfiguration?: InterceptorInputConfiguration | undefined;
|
|
539
751
|
}
|
|
752
|
+
export interface GatewayPolicyEngineConfiguration {
|
|
753
|
+
arn: string | undefined;
|
|
754
|
+
mode: GatewayPolicyEngineMode | undefined;
|
|
755
|
+
}
|
|
540
756
|
export interface MCPGatewayConfiguration {
|
|
541
757
|
supportedVersions?: string[] | undefined;
|
|
542
758
|
instructions?: string | undefined;
|
|
@@ -570,6 +786,7 @@ export interface CreateGatewayRequest {
|
|
|
570
786
|
authorizerConfiguration?: AuthorizerConfiguration | undefined;
|
|
571
787
|
kmsKeyArn?: string | undefined;
|
|
572
788
|
interceptorConfigurations?: GatewayInterceptorConfiguration[] | undefined;
|
|
789
|
+
policyEngineConfiguration?: GatewayPolicyEngineConfiguration | undefined;
|
|
573
790
|
exceptionLevel?: ExceptionLevel | undefined;
|
|
574
791
|
tags?: Record<string, string> | undefined;
|
|
575
792
|
}
|
|
@@ -590,6 +807,7 @@ export interface CreateGatewayResponse {
|
|
|
590
807
|
authorizerConfiguration?: AuthorizerConfiguration | undefined;
|
|
591
808
|
kmsKeyArn?: string | undefined;
|
|
592
809
|
interceptorConfigurations?: GatewayInterceptorConfiguration[] | undefined;
|
|
810
|
+
policyEngineConfiguration?: GatewayPolicyEngineConfiguration | undefined;
|
|
593
811
|
workloadIdentityDetails?: WorkloadIdentityDetails | undefined;
|
|
594
812
|
exceptionLevel?: ExceptionLevel | undefined;
|
|
595
813
|
}
|
|
@@ -621,6 +839,7 @@ export interface GetGatewayResponse {
|
|
|
621
839
|
authorizerConfiguration?: AuthorizerConfiguration | undefined;
|
|
622
840
|
kmsKeyArn?: string | undefined;
|
|
623
841
|
interceptorConfigurations?: GatewayInterceptorConfiguration[] | undefined;
|
|
842
|
+
policyEngineConfiguration?: GatewayPolicyEngineConfiguration | undefined;
|
|
624
843
|
workloadIdentityDetails?: WorkloadIdentityDetails | undefined;
|
|
625
844
|
exceptionLevel?: ExceptionLevel | undefined;
|
|
626
845
|
}
|
|
@@ -653,6 +872,7 @@ export interface UpdateGatewayRequest {
|
|
|
653
872
|
authorizerConfiguration?: AuthorizerConfiguration | undefined;
|
|
654
873
|
kmsKeyArn?: string | undefined;
|
|
655
874
|
interceptorConfigurations?: GatewayInterceptorConfiguration[] | undefined;
|
|
875
|
+
policyEngineConfiguration?: GatewayPolicyEngineConfiguration | undefined;
|
|
656
876
|
exceptionLevel?: ExceptionLevel | undefined;
|
|
657
877
|
}
|
|
658
878
|
export interface UpdateGatewayResponse {
|
|
@@ -672,6 +892,7 @@ export interface UpdateGatewayResponse {
|
|
|
672
892
|
authorizerConfiguration?: AuthorizerConfiguration | undefined;
|
|
673
893
|
kmsKeyArn?: string | undefined;
|
|
674
894
|
interceptorConfigurations?: GatewayInterceptorConfiguration[] | undefined;
|
|
895
|
+
policyEngineConfiguration?: GatewayPolicyEngineConfiguration | undefined;
|
|
675
896
|
workloadIdentityDetails?: WorkloadIdentityDetails | undefined;
|
|
676
897
|
exceptionLevel?: ExceptionLevel | undefined;
|
|
677
898
|
}
|
|
@@ -685,6 +906,8 @@ export interface OAuthCredentialProvider {
|
|
|
685
906
|
providerArn: string | undefined;
|
|
686
907
|
scopes: string[] | undefined;
|
|
687
908
|
customParameters?: Record<string, string> | undefined;
|
|
909
|
+
grantType?: OAuthGrantType | undefined;
|
|
910
|
+
defaultReturnUrl?: string | undefined;
|
|
688
911
|
}
|
|
689
912
|
export type CredentialProvider =
|
|
690
913
|
| CredentialProvider.ApiKeyCredentialProviderMember
|
|
@@ -716,6 +939,25 @@ export interface CredentialProviderConfiguration {
|
|
|
716
939
|
credentialProviderType: CredentialProviderType | undefined;
|
|
717
940
|
credentialProvider?: CredentialProvider | undefined;
|
|
718
941
|
}
|
|
942
|
+
export interface ApiGatewayToolFilter {
|
|
943
|
+
filterPath: string | undefined;
|
|
944
|
+
methods: RestApiMethod[] | undefined;
|
|
945
|
+
}
|
|
946
|
+
export interface ApiGatewayToolOverride {
|
|
947
|
+
name: string | undefined;
|
|
948
|
+
description?: string | undefined;
|
|
949
|
+
path: string | undefined;
|
|
950
|
+
method: RestApiMethod | undefined;
|
|
951
|
+
}
|
|
952
|
+
export interface ApiGatewayToolConfiguration {
|
|
953
|
+
toolOverrides?: ApiGatewayToolOverride[] | undefined;
|
|
954
|
+
toolFilters: ApiGatewayToolFilter[] | undefined;
|
|
955
|
+
}
|
|
956
|
+
export interface ApiGatewayTargetConfiguration {
|
|
957
|
+
restApiId: string | undefined;
|
|
958
|
+
stage: string | undefined;
|
|
959
|
+
apiGatewayToolConfiguration: ApiGatewayToolConfiguration | undefined;
|
|
960
|
+
}
|
|
719
961
|
export interface S3Configuration {
|
|
720
962
|
uri?: string | undefined;
|
|
721
963
|
bucketOwnerAccountId?: string | undefined;
|
|
@@ -784,6 +1026,12 @@ export interface SynchronizeGatewayTargetsRequest {
|
|
|
784
1026
|
gatewayIdentifier: string | undefined;
|
|
785
1027
|
targetIdList: string[] | undefined;
|
|
786
1028
|
}
|
|
1029
|
+
export interface GetResourcePolicyRequest {
|
|
1030
|
+
resourceArn: string | undefined;
|
|
1031
|
+
}
|
|
1032
|
+
export interface GetResourcePolicyResponse {
|
|
1033
|
+
policy?: string | undefined;
|
|
1034
|
+
}
|
|
787
1035
|
export interface GetTokenVaultRequest {
|
|
788
1036
|
tokenVaultId?: string | undefined;
|
|
789
1037
|
}
|
|
@@ -802,6 +1050,24 @@ export interface ListTagsForResourceRequest {
|
|
|
802
1050
|
export interface ListTagsForResourceResponse {
|
|
803
1051
|
tags?: Record<string, string> | undefined;
|
|
804
1052
|
}
|
|
1053
|
+
export interface EpisodicOverrideConsolidationConfigurationInput {
|
|
1054
|
+
appendToPrompt: string | undefined;
|
|
1055
|
+
modelId: string | undefined;
|
|
1056
|
+
}
|
|
1057
|
+
export interface EpisodicOverrideExtractionConfigurationInput {
|
|
1058
|
+
appendToPrompt: string | undefined;
|
|
1059
|
+
modelId: string | undefined;
|
|
1060
|
+
}
|
|
1061
|
+
export interface EpisodicOverrideReflectionConfigurationInput {
|
|
1062
|
+
appendToPrompt: string | undefined;
|
|
1063
|
+
modelId: string | undefined;
|
|
1064
|
+
namespaces?: string[] | undefined;
|
|
1065
|
+
}
|
|
1066
|
+
export interface EpisodicOverrideConfigurationInput {
|
|
1067
|
+
extraction?: EpisodicOverrideExtractionConfigurationInput | undefined;
|
|
1068
|
+
consolidation?: EpisodicOverrideConsolidationConfigurationInput | undefined;
|
|
1069
|
+
reflection?: EpisodicOverrideReflectionConfigurationInput | undefined;
|
|
1070
|
+
}
|
|
805
1071
|
export interface InvocationConfigurationInput {
|
|
806
1072
|
topicArn: string | undefined;
|
|
807
1073
|
payloadDeliveryBucketName: string | undefined;
|
|
@@ -891,6 +1157,7 @@ export interface UserPreferenceOverrideConfigurationInput {
|
|
|
891
1157
|
| undefined;
|
|
892
1158
|
}
|
|
893
1159
|
export type CustomConfigurationInput =
|
|
1160
|
+
| CustomConfigurationInput.EpisodicOverrideMember
|
|
894
1161
|
| CustomConfigurationInput.SelfManagedConfigurationMember
|
|
895
1162
|
| CustomConfigurationInput.SemanticOverrideMember
|
|
896
1163
|
| CustomConfigurationInput.SummaryOverrideMember
|
|
@@ -901,6 +1168,7 @@ export declare namespace CustomConfigurationInput {
|
|
|
901
1168
|
semanticOverride: SemanticOverrideConfigurationInput;
|
|
902
1169
|
summaryOverride?: never;
|
|
903
1170
|
userPreferenceOverride?: never;
|
|
1171
|
+
episodicOverride?: never;
|
|
904
1172
|
selfManagedConfiguration?: never;
|
|
905
1173
|
$unknown?: never;
|
|
906
1174
|
}
|
|
@@ -908,6 +1176,7 @@ export declare namespace CustomConfigurationInput {
|
|
|
908
1176
|
semanticOverride?: never;
|
|
909
1177
|
summaryOverride: SummaryOverrideConfigurationInput;
|
|
910
1178
|
userPreferenceOverride?: never;
|
|
1179
|
+
episodicOverride?: never;
|
|
911
1180
|
selfManagedConfiguration?: never;
|
|
912
1181
|
$unknown?: never;
|
|
913
1182
|
}
|
|
@@ -915,6 +1184,15 @@ export declare namespace CustomConfigurationInput {
|
|
|
915
1184
|
semanticOverride?: never;
|
|
916
1185
|
summaryOverride?: never;
|
|
917
1186
|
userPreferenceOverride: UserPreferenceOverrideConfigurationInput;
|
|
1187
|
+
episodicOverride?: never;
|
|
1188
|
+
selfManagedConfiguration?: never;
|
|
1189
|
+
$unknown?: never;
|
|
1190
|
+
}
|
|
1191
|
+
interface EpisodicOverrideMember {
|
|
1192
|
+
semanticOverride?: never;
|
|
1193
|
+
summaryOverride?: never;
|
|
1194
|
+
userPreferenceOverride?: never;
|
|
1195
|
+
episodicOverride: EpisodicOverrideConfigurationInput;
|
|
918
1196
|
selfManagedConfiguration?: never;
|
|
919
1197
|
$unknown?: never;
|
|
920
1198
|
}
|
|
@@ -922,6 +1200,7 @@ export declare namespace CustomConfigurationInput {
|
|
|
922
1200
|
semanticOverride?: never;
|
|
923
1201
|
summaryOverride?: never;
|
|
924
1202
|
userPreferenceOverride?: never;
|
|
1203
|
+
episodicOverride?: never;
|
|
925
1204
|
selfManagedConfiguration: SelfManagedConfigurationInput;
|
|
926
1205
|
$unknown?: never;
|
|
927
1206
|
}
|
|
@@ -929,6 +1208,7 @@ export declare namespace CustomConfigurationInput {
|
|
|
929
1208
|
semanticOverride?: never;
|
|
930
1209
|
summaryOverride?: never;
|
|
931
1210
|
userPreferenceOverride?: never;
|
|
1211
|
+
episodicOverride?: never;
|
|
932
1212
|
selfManagedConfiguration?: never;
|
|
933
1213
|
$unknown: [string, any];
|
|
934
1214
|
}
|
|
@@ -938,6 +1218,7 @@ export declare namespace CustomConfigurationInput {
|
|
|
938
1218
|
userPreferenceOverride: (
|
|
939
1219
|
value: UserPreferenceOverrideConfigurationInput
|
|
940
1220
|
) => T;
|
|
1221
|
+
episodicOverride: (value: EpisodicOverrideConfigurationInput) => T;
|
|
941
1222
|
selfManagedConfiguration: (value: SelfManagedConfigurationInput) => T;
|
|
942
1223
|
_: (name: string, value: any) => T;
|
|
943
1224
|
}
|
|
@@ -948,6 +1229,15 @@ export interface CustomMemoryStrategyInput {
|
|
|
948
1229
|
namespaces?: string[] | undefined;
|
|
949
1230
|
configuration?: CustomConfigurationInput | undefined;
|
|
950
1231
|
}
|
|
1232
|
+
export interface EpisodicReflectionConfigurationInput {
|
|
1233
|
+
namespaces: string[] | undefined;
|
|
1234
|
+
}
|
|
1235
|
+
export interface EpisodicMemoryStrategyInput {
|
|
1236
|
+
name: string | undefined;
|
|
1237
|
+
description?: string | undefined;
|
|
1238
|
+
namespaces?: string[] | undefined;
|
|
1239
|
+
reflectionConfiguration?: EpisodicReflectionConfigurationInput | undefined;
|
|
1240
|
+
}
|
|
951
1241
|
export interface SemanticMemoryStrategyInput {
|
|
952
1242
|
name: string | undefined;
|
|
953
1243
|
description?: string | undefined;
|
|
@@ -965,6 +1255,7 @@ export interface UserPreferenceMemoryStrategyInput {
|
|
|
965
1255
|
}
|
|
966
1256
|
export type MemoryStrategyInput =
|
|
967
1257
|
| MemoryStrategyInput.CustomMemoryStrategyMember
|
|
1258
|
+
| MemoryStrategyInput.EpisodicMemoryStrategyMember
|
|
968
1259
|
| MemoryStrategyInput.SemanticMemoryStrategyMember
|
|
969
1260
|
| MemoryStrategyInput.SummaryMemoryStrategyMember
|
|
970
1261
|
| MemoryStrategyInput.UserPreferenceMemoryStrategyMember
|
|
@@ -975,6 +1266,7 @@ export declare namespace MemoryStrategyInput {
|
|
|
975
1266
|
summaryMemoryStrategy?: never;
|
|
976
1267
|
userPreferenceMemoryStrategy?: never;
|
|
977
1268
|
customMemoryStrategy?: never;
|
|
1269
|
+
episodicMemoryStrategy?: never;
|
|
978
1270
|
$unknown?: never;
|
|
979
1271
|
}
|
|
980
1272
|
interface SummaryMemoryStrategyMember {
|
|
@@ -982,6 +1274,7 @@ export declare namespace MemoryStrategyInput {
|
|
|
982
1274
|
summaryMemoryStrategy: SummaryMemoryStrategyInput;
|
|
983
1275
|
userPreferenceMemoryStrategy?: never;
|
|
984
1276
|
customMemoryStrategy?: never;
|
|
1277
|
+
episodicMemoryStrategy?: never;
|
|
985
1278
|
$unknown?: never;
|
|
986
1279
|
}
|
|
987
1280
|
interface UserPreferenceMemoryStrategyMember {
|
|
@@ -989,6 +1282,7 @@ export declare namespace MemoryStrategyInput {
|
|
|
989
1282
|
summaryMemoryStrategy?: never;
|
|
990
1283
|
userPreferenceMemoryStrategy: UserPreferenceMemoryStrategyInput;
|
|
991
1284
|
customMemoryStrategy?: never;
|
|
1285
|
+
episodicMemoryStrategy?: never;
|
|
992
1286
|
$unknown?: never;
|
|
993
1287
|
}
|
|
994
1288
|
interface CustomMemoryStrategyMember {
|
|
@@ -996,6 +1290,15 @@ export declare namespace MemoryStrategyInput {
|
|
|
996
1290
|
summaryMemoryStrategy?: never;
|
|
997
1291
|
userPreferenceMemoryStrategy?: never;
|
|
998
1292
|
customMemoryStrategy: CustomMemoryStrategyInput;
|
|
1293
|
+
episodicMemoryStrategy?: never;
|
|
1294
|
+
$unknown?: never;
|
|
1295
|
+
}
|
|
1296
|
+
interface EpisodicMemoryStrategyMember {
|
|
1297
|
+
semanticMemoryStrategy?: never;
|
|
1298
|
+
summaryMemoryStrategy?: never;
|
|
1299
|
+
userPreferenceMemoryStrategy?: never;
|
|
1300
|
+
customMemoryStrategy?: never;
|
|
1301
|
+
episodicMemoryStrategy: EpisodicMemoryStrategyInput;
|
|
999
1302
|
$unknown?: never;
|
|
1000
1303
|
}
|
|
1001
1304
|
interface $UnknownMember {
|
|
@@ -1003,6 +1306,7 @@ export declare namespace MemoryStrategyInput {
|
|
|
1003
1306
|
summaryMemoryStrategy?: never;
|
|
1004
1307
|
userPreferenceMemoryStrategy?: never;
|
|
1005
1308
|
customMemoryStrategy?: never;
|
|
1309
|
+
episodicMemoryStrategy?: never;
|
|
1006
1310
|
$unknown: [string, any];
|
|
1007
1311
|
}
|
|
1008
1312
|
interface Visitor<T> {
|
|
@@ -1012,6 +1316,7 @@ export declare namespace MemoryStrategyInput {
|
|
|
1012
1316
|
value: UserPreferenceMemoryStrategyInput
|
|
1013
1317
|
) => T;
|
|
1014
1318
|
customMemoryStrategy: (value: CustomMemoryStrategyInput) => T;
|
|
1319
|
+
episodicMemoryStrategy: (value: EpisodicMemoryStrategyInput) => T;
|
|
1015
1320
|
_: (name: string, value: any) => T;
|
|
1016
1321
|
}
|
|
1017
1322
|
}
|
|
@@ -1025,6 +1330,10 @@ export interface CreateMemoryInput {
|
|
|
1025
1330
|
memoryStrategies?: MemoryStrategyInput[] | undefined;
|
|
1026
1331
|
tags?: Record<string, string> | undefined;
|
|
1027
1332
|
}
|
|
1333
|
+
export interface EpisodicConsolidationOverride {
|
|
1334
|
+
appendToPrompt: string | undefined;
|
|
1335
|
+
modelId: string | undefined;
|
|
1336
|
+
}
|
|
1028
1337
|
export interface SemanticConsolidationOverride {
|
|
1029
1338
|
appendToPrompt: string | undefined;
|
|
1030
1339
|
modelId: string | undefined;
|
|
@@ -1038,6 +1347,7 @@ export interface UserPreferenceConsolidationOverride {
|
|
|
1038
1347
|
modelId: string | undefined;
|
|
1039
1348
|
}
|
|
1040
1349
|
export type CustomConsolidationConfiguration =
|
|
1350
|
+
| CustomConsolidationConfiguration.EpisodicConsolidationOverrideMember
|
|
1041
1351
|
| CustomConsolidationConfiguration.SemanticConsolidationOverrideMember
|
|
1042
1352
|
| CustomConsolidationConfiguration.SummaryConsolidationOverrideMember
|
|
1043
1353
|
| CustomConsolidationConfiguration.UserPreferenceConsolidationOverrideMember
|
|
@@ -1047,24 +1357,35 @@ export declare namespace CustomConsolidationConfiguration {
|
|
|
1047
1357
|
semanticConsolidationOverride: SemanticConsolidationOverride;
|
|
1048
1358
|
summaryConsolidationOverride?: never;
|
|
1049
1359
|
userPreferenceConsolidationOverride?: never;
|
|
1360
|
+
episodicConsolidationOverride?: never;
|
|
1050
1361
|
$unknown?: never;
|
|
1051
1362
|
}
|
|
1052
1363
|
interface SummaryConsolidationOverrideMember {
|
|
1053
1364
|
semanticConsolidationOverride?: never;
|
|
1054
1365
|
summaryConsolidationOverride: SummaryConsolidationOverride;
|
|
1055
1366
|
userPreferenceConsolidationOverride?: never;
|
|
1367
|
+
episodicConsolidationOverride?: never;
|
|
1056
1368
|
$unknown?: never;
|
|
1057
1369
|
}
|
|
1058
1370
|
interface UserPreferenceConsolidationOverrideMember {
|
|
1059
1371
|
semanticConsolidationOverride?: never;
|
|
1060
1372
|
summaryConsolidationOverride?: never;
|
|
1061
1373
|
userPreferenceConsolidationOverride: UserPreferenceConsolidationOverride;
|
|
1374
|
+
episodicConsolidationOverride?: never;
|
|
1375
|
+
$unknown?: never;
|
|
1376
|
+
}
|
|
1377
|
+
interface EpisodicConsolidationOverrideMember {
|
|
1378
|
+
semanticConsolidationOverride?: never;
|
|
1379
|
+
summaryConsolidationOverride?: never;
|
|
1380
|
+
userPreferenceConsolidationOverride?: never;
|
|
1381
|
+
episodicConsolidationOverride: EpisodicConsolidationOverride;
|
|
1062
1382
|
$unknown?: never;
|
|
1063
1383
|
}
|
|
1064
1384
|
interface $UnknownMember {
|
|
1065
1385
|
semanticConsolidationOverride?: never;
|
|
1066
1386
|
summaryConsolidationOverride?: never;
|
|
1067
1387
|
userPreferenceConsolidationOverride?: never;
|
|
1388
|
+
episodicConsolidationOverride?: never;
|
|
1068
1389
|
$unknown: [string, any];
|
|
1069
1390
|
}
|
|
1070
1391
|
interface Visitor<T> {
|
|
@@ -1073,6 +1394,7 @@ export declare namespace CustomConsolidationConfiguration {
|
|
|
1073
1394
|
userPreferenceConsolidationOverride: (
|
|
1074
1395
|
value: UserPreferenceConsolidationOverride
|
|
1075
1396
|
) => T;
|
|
1397
|
+
episodicConsolidationOverride: (value: EpisodicConsolidationOverride) => T;
|
|
1076
1398
|
_: (name: string, value: any) => T;
|
|
1077
1399
|
}
|
|
1078
1400
|
}
|
|
@@ -1095,6 +1417,10 @@ export declare namespace ConsolidationConfiguration {
|
|
|
1095
1417
|
_: (name: string, value: any) => T;
|
|
1096
1418
|
}
|
|
1097
1419
|
}
|
|
1420
|
+
export interface EpisodicExtractionOverride {
|
|
1421
|
+
appendToPrompt: string | undefined;
|
|
1422
|
+
modelId: string | undefined;
|
|
1423
|
+
}
|
|
1098
1424
|
export interface SemanticExtractionOverride {
|
|
1099
1425
|
appendToPrompt: string | undefined;
|
|
1100
1426
|
modelId: string | undefined;
|
|
@@ -1104,6 +1430,7 @@ export interface UserPreferenceExtractionOverride {
|
|
|
1104
1430
|
modelId: string | undefined;
|
|
1105
1431
|
}
|
|
1106
1432
|
export type CustomExtractionConfiguration =
|
|
1433
|
+
| CustomExtractionConfiguration.EpisodicExtractionOverrideMember
|
|
1107
1434
|
| CustomExtractionConfiguration.SemanticExtractionOverrideMember
|
|
1108
1435
|
| CustomExtractionConfiguration.UserPreferenceExtractionOverrideMember
|
|
1109
1436
|
| CustomExtractionConfiguration.$UnknownMember;
|
|
@@ -1111,16 +1438,25 @@ export declare namespace CustomExtractionConfiguration {
|
|
|
1111
1438
|
interface SemanticExtractionOverrideMember {
|
|
1112
1439
|
semanticExtractionOverride: SemanticExtractionOverride;
|
|
1113
1440
|
userPreferenceExtractionOverride?: never;
|
|
1441
|
+
episodicExtractionOverride?: never;
|
|
1114
1442
|
$unknown?: never;
|
|
1115
1443
|
}
|
|
1116
1444
|
interface UserPreferenceExtractionOverrideMember {
|
|
1117
1445
|
semanticExtractionOverride?: never;
|
|
1118
1446
|
userPreferenceExtractionOverride: UserPreferenceExtractionOverride;
|
|
1447
|
+
episodicExtractionOverride?: never;
|
|
1448
|
+
$unknown?: never;
|
|
1449
|
+
}
|
|
1450
|
+
interface EpisodicExtractionOverrideMember {
|
|
1451
|
+
semanticExtractionOverride?: never;
|
|
1452
|
+
userPreferenceExtractionOverride?: never;
|
|
1453
|
+
episodicExtractionOverride: EpisodicExtractionOverride;
|
|
1119
1454
|
$unknown?: never;
|
|
1120
1455
|
}
|
|
1121
1456
|
interface $UnknownMember {
|
|
1122
1457
|
semanticExtractionOverride?: never;
|
|
1123
1458
|
userPreferenceExtractionOverride?: never;
|
|
1459
|
+
episodicExtractionOverride?: never;
|
|
1124
1460
|
$unknown: [string, any];
|
|
1125
1461
|
}
|
|
1126
1462
|
interface Visitor<T> {
|
|
@@ -1128,6 +1464,7 @@ export declare namespace CustomExtractionConfiguration {
|
|
|
1128
1464
|
userPreferenceExtractionOverride: (
|
|
1129
1465
|
value: UserPreferenceExtractionOverride
|
|
1130
1466
|
) => T;
|
|
1467
|
+
episodicExtractionOverride: (value: EpisodicExtractionOverride) => T;
|
|
1131
1468
|
_: (name: string, value: any) => T;
|
|
1132
1469
|
}
|
|
1133
1470
|
}
|
|
@@ -1148,6 +1485,59 @@ export declare namespace ExtractionConfiguration {
|
|
|
1148
1485
|
_: (name: string, value: any) => T;
|
|
1149
1486
|
}
|
|
1150
1487
|
}
|
|
1488
|
+
export interface EpisodicReflectionOverride {
|
|
1489
|
+
appendToPrompt: string | undefined;
|
|
1490
|
+
modelId: string | undefined;
|
|
1491
|
+
namespaces?: string[] | undefined;
|
|
1492
|
+
}
|
|
1493
|
+
export type CustomReflectionConfiguration =
|
|
1494
|
+
| CustomReflectionConfiguration.EpisodicReflectionOverrideMember
|
|
1495
|
+
| CustomReflectionConfiguration.$UnknownMember;
|
|
1496
|
+
export declare namespace CustomReflectionConfiguration {
|
|
1497
|
+
interface EpisodicReflectionOverrideMember {
|
|
1498
|
+
episodicReflectionOverride: EpisodicReflectionOverride;
|
|
1499
|
+
$unknown?: never;
|
|
1500
|
+
}
|
|
1501
|
+
interface $UnknownMember {
|
|
1502
|
+
episodicReflectionOverride?: never;
|
|
1503
|
+
$unknown: [string, any];
|
|
1504
|
+
}
|
|
1505
|
+
interface Visitor<T> {
|
|
1506
|
+
episodicReflectionOverride: (value: EpisodicReflectionOverride) => T;
|
|
1507
|
+
_: (name: string, value: any) => T;
|
|
1508
|
+
}
|
|
1509
|
+
}
|
|
1510
|
+
export interface EpisodicReflectionConfiguration {
|
|
1511
|
+
namespaces: string[] | undefined;
|
|
1512
|
+
}
|
|
1513
|
+
export type ReflectionConfiguration =
|
|
1514
|
+
| ReflectionConfiguration.CustomReflectionConfigurationMember
|
|
1515
|
+
| ReflectionConfiguration.EpisodicReflectionConfigurationMember
|
|
1516
|
+
| ReflectionConfiguration.$UnknownMember;
|
|
1517
|
+
export declare namespace ReflectionConfiguration {
|
|
1518
|
+
interface CustomReflectionConfigurationMember {
|
|
1519
|
+
customReflectionConfiguration: CustomReflectionConfiguration;
|
|
1520
|
+
episodicReflectionConfiguration?: never;
|
|
1521
|
+
$unknown?: never;
|
|
1522
|
+
}
|
|
1523
|
+
interface EpisodicReflectionConfigurationMember {
|
|
1524
|
+
customReflectionConfiguration?: never;
|
|
1525
|
+
episodicReflectionConfiguration: EpisodicReflectionConfiguration;
|
|
1526
|
+
$unknown?: never;
|
|
1527
|
+
}
|
|
1528
|
+
interface $UnknownMember {
|
|
1529
|
+
customReflectionConfiguration?: never;
|
|
1530
|
+
episodicReflectionConfiguration?: never;
|
|
1531
|
+
$unknown: [string, any];
|
|
1532
|
+
}
|
|
1533
|
+
interface Visitor<T> {
|
|
1534
|
+
customReflectionConfiguration: (value: CustomReflectionConfiguration) => T;
|
|
1535
|
+
episodicReflectionConfiguration: (
|
|
1536
|
+
value: EpisodicReflectionConfiguration
|
|
1537
|
+
) => T;
|
|
1538
|
+
_: (name: string, value: any) => T;
|
|
1539
|
+
}
|
|
1540
|
+
}
|
|
1151
1541
|
export interface InvocationConfiguration {
|
|
1152
1542
|
topicArn: string | undefined;
|
|
1153
1543
|
payloadDeliveryBucketName: string | undefined;
|
|
@@ -1207,6 +1597,7 @@ export interface StrategyConfiguration {
|
|
|
1207
1597
|
type?: OverrideType | undefined;
|
|
1208
1598
|
extraction?: ExtractionConfiguration | undefined;
|
|
1209
1599
|
consolidation?: ConsolidationConfiguration | undefined;
|
|
1600
|
+
reflection?: ReflectionConfiguration | undefined;
|
|
1210
1601
|
selfManagedConfiguration?: SelfManagedConfiguration | undefined;
|
|
1211
1602
|
}
|
|
1212
1603
|
export interface MemoryStrategy {
|
|
@@ -1270,6 +1661,7 @@ export interface DeleteMemoryStrategyInput {
|
|
|
1270
1661
|
memoryStrategyId: string | undefined;
|
|
1271
1662
|
}
|
|
1272
1663
|
export type CustomConsolidationConfigurationInput =
|
|
1664
|
+
| CustomConsolidationConfigurationInput.EpisodicConsolidationOverrideMember
|
|
1273
1665
|
| CustomConsolidationConfigurationInput.SemanticConsolidationOverrideMember
|
|
1274
1666
|
| CustomConsolidationConfigurationInput.SummaryConsolidationOverrideMember
|
|
1275
1667
|
| CustomConsolidationConfigurationInput.UserPreferenceConsolidationOverrideMember
|
|
@@ -1279,24 +1671,35 @@ export declare namespace CustomConsolidationConfigurationInput {
|
|
|
1279
1671
|
semanticConsolidationOverride: SemanticOverrideConsolidationConfigurationInput;
|
|
1280
1672
|
summaryConsolidationOverride?: never;
|
|
1281
1673
|
userPreferenceConsolidationOverride?: never;
|
|
1674
|
+
episodicConsolidationOverride?: never;
|
|
1282
1675
|
$unknown?: never;
|
|
1283
1676
|
}
|
|
1284
1677
|
interface SummaryConsolidationOverrideMember {
|
|
1285
1678
|
semanticConsolidationOverride?: never;
|
|
1286
1679
|
summaryConsolidationOverride: SummaryOverrideConsolidationConfigurationInput;
|
|
1287
1680
|
userPreferenceConsolidationOverride?: never;
|
|
1681
|
+
episodicConsolidationOverride?: never;
|
|
1288
1682
|
$unknown?: never;
|
|
1289
1683
|
}
|
|
1290
1684
|
interface UserPreferenceConsolidationOverrideMember {
|
|
1291
1685
|
semanticConsolidationOverride?: never;
|
|
1292
1686
|
summaryConsolidationOverride?: never;
|
|
1293
1687
|
userPreferenceConsolidationOverride: UserPreferenceOverrideConsolidationConfigurationInput;
|
|
1688
|
+
episodicConsolidationOverride?: never;
|
|
1689
|
+
$unknown?: never;
|
|
1690
|
+
}
|
|
1691
|
+
interface EpisodicConsolidationOverrideMember {
|
|
1692
|
+
semanticConsolidationOverride?: never;
|
|
1693
|
+
summaryConsolidationOverride?: never;
|
|
1694
|
+
userPreferenceConsolidationOverride?: never;
|
|
1695
|
+
episodicConsolidationOverride: EpisodicOverrideConsolidationConfigurationInput;
|
|
1294
1696
|
$unknown?: never;
|
|
1295
1697
|
}
|
|
1296
1698
|
interface $UnknownMember {
|
|
1297
1699
|
semanticConsolidationOverride?: never;
|
|
1298
1700
|
summaryConsolidationOverride?: never;
|
|
1299
1701
|
userPreferenceConsolidationOverride?: never;
|
|
1702
|
+
episodicConsolidationOverride?: never;
|
|
1300
1703
|
$unknown: [string, any];
|
|
1301
1704
|
}
|
|
1302
1705
|
interface Visitor<T> {
|
|
@@ -1309,6 +1712,9 @@ export declare namespace CustomConsolidationConfigurationInput {
|
|
|
1309
1712
|
userPreferenceConsolidationOverride: (
|
|
1310
1713
|
value: UserPreferenceOverrideConsolidationConfigurationInput
|
|
1311
1714
|
) => T;
|
|
1715
|
+
episodicConsolidationOverride: (
|
|
1716
|
+
value: EpisodicOverrideConsolidationConfigurationInput
|
|
1717
|
+
) => T;
|
|
1312
1718
|
_: (name: string, value: any) => T;
|
|
1313
1719
|
}
|
|
1314
1720
|
}
|
|
@@ -1332,6 +1738,7 @@ export declare namespace ModifyConsolidationConfiguration {
|
|
|
1332
1738
|
}
|
|
1333
1739
|
}
|
|
1334
1740
|
export type CustomExtractionConfigurationInput =
|
|
1741
|
+
| CustomExtractionConfigurationInput.EpisodicExtractionOverrideMember
|
|
1335
1742
|
| CustomExtractionConfigurationInput.SemanticExtractionOverrideMember
|
|
1336
1743
|
| CustomExtractionConfigurationInput.UserPreferenceExtractionOverrideMember
|
|
1337
1744
|
| CustomExtractionConfigurationInput.$UnknownMember;
|
|
@@ -1339,16 +1746,25 @@ export declare namespace CustomExtractionConfigurationInput {
|
|
|
1339
1746
|
interface SemanticExtractionOverrideMember {
|
|
1340
1747
|
semanticExtractionOverride: SemanticOverrideExtractionConfigurationInput;
|
|
1341
1748
|
userPreferenceExtractionOverride?: never;
|
|
1749
|
+
episodicExtractionOverride?: never;
|
|
1342
1750
|
$unknown?: never;
|
|
1343
1751
|
}
|
|
1344
1752
|
interface UserPreferenceExtractionOverrideMember {
|
|
1345
1753
|
semanticExtractionOverride?: never;
|
|
1346
1754
|
userPreferenceExtractionOverride: UserPreferenceOverrideExtractionConfigurationInput;
|
|
1755
|
+
episodicExtractionOverride?: never;
|
|
1756
|
+
$unknown?: never;
|
|
1757
|
+
}
|
|
1758
|
+
interface EpisodicExtractionOverrideMember {
|
|
1759
|
+
semanticExtractionOverride?: never;
|
|
1760
|
+
userPreferenceExtractionOverride?: never;
|
|
1761
|
+
episodicExtractionOverride: EpisodicOverrideExtractionConfigurationInput;
|
|
1347
1762
|
$unknown?: never;
|
|
1348
1763
|
}
|
|
1349
1764
|
interface $UnknownMember {
|
|
1350
1765
|
semanticExtractionOverride?: never;
|
|
1351
1766
|
userPreferenceExtractionOverride?: never;
|
|
1767
|
+
episodicExtractionOverride?: never;
|
|
1352
1768
|
$unknown: [string, any];
|
|
1353
1769
|
}
|
|
1354
1770
|
interface Visitor<T> {
|
|
@@ -1358,6 +1774,9 @@ export declare namespace CustomExtractionConfigurationInput {
|
|
|
1358
1774
|
userPreferenceExtractionOverride: (
|
|
1359
1775
|
value: UserPreferenceOverrideExtractionConfigurationInput
|
|
1360
1776
|
) => T;
|
|
1777
|
+
episodicExtractionOverride: (
|
|
1778
|
+
value: EpisodicOverrideExtractionConfigurationInput
|
|
1779
|
+
) => T;
|
|
1361
1780
|
_: (name: string, value: any) => T;
|
|
1362
1781
|
}
|
|
1363
1782
|
}
|
|
@@ -1380,6 +1799,55 @@ export declare namespace ModifyExtractionConfiguration {
|
|
|
1380
1799
|
_: (name: string, value: any) => T;
|
|
1381
1800
|
}
|
|
1382
1801
|
}
|
|
1802
|
+
export type CustomReflectionConfigurationInput =
|
|
1803
|
+
| CustomReflectionConfigurationInput.EpisodicReflectionOverrideMember
|
|
1804
|
+
| CustomReflectionConfigurationInput.$UnknownMember;
|
|
1805
|
+
export declare namespace CustomReflectionConfigurationInput {
|
|
1806
|
+
interface EpisodicReflectionOverrideMember {
|
|
1807
|
+
episodicReflectionOverride: EpisodicOverrideReflectionConfigurationInput;
|
|
1808
|
+
$unknown?: never;
|
|
1809
|
+
}
|
|
1810
|
+
interface $UnknownMember {
|
|
1811
|
+
episodicReflectionOverride?: never;
|
|
1812
|
+
$unknown: [string, any];
|
|
1813
|
+
}
|
|
1814
|
+
interface Visitor<T> {
|
|
1815
|
+
episodicReflectionOverride: (
|
|
1816
|
+
value: EpisodicOverrideReflectionConfigurationInput
|
|
1817
|
+
) => T;
|
|
1818
|
+
_: (name: string, value: any) => T;
|
|
1819
|
+
}
|
|
1820
|
+
}
|
|
1821
|
+
export type ModifyReflectionConfiguration =
|
|
1822
|
+
| ModifyReflectionConfiguration.CustomReflectionConfigurationMember
|
|
1823
|
+
| ModifyReflectionConfiguration.EpisodicReflectionConfigurationMember
|
|
1824
|
+
| ModifyReflectionConfiguration.$UnknownMember;
|
|
1825
|
+
export declare namespace ModifyReflectionConfiguration {
|
|
1826
|
+
interface EpisodicReflectionConfigurationMember {
|
|
1827
|
+
episodicReflectionConfiguration: EpisodicReflectionConfigurationInput;
|
|
1828
|
+
customReflectionConfiguration?: never;
|
|
1829
|
+
$unknown?: never;
|
|
1830
|
+
}
|
|
1831
|
+
interface CustomReflectionConfigurationMember {
|
|
1832
|
+
episodicReflectionConfiguration?: never;
|
|
1833
|
+
customReflectionConfiguration: CustomReflectionConfigurationInput;
|
|
1834
|
+
$unknown?: never;
|
|
1835
|
+
}
|
|
1836
|
+
interface $UnknownMember {
|
|
1837
|
+
episodicReflectionConfiguration?: never;
|
|
1838
|
+
customReflectionConfiguration?: never;
|
|
1839
|
+
$unknown: [string, any];
|
|
1840
|
+
}
|
|
1841
|
+
interface Visitor<T> {
|
|
1842
|
+
episodicReflectionConfiguration: (
|
|
1843
|
+
value: EpisodicReflectionConfigurationInput
|
|
1844
|
+
) => T;
|
|
1845
|
+
customReflectionConfiguration: (
|
|
1846
|
+
value: CustomReflectionConfigurationInput
|
|
1847
|
+
) => T;
|
|
1848
|
+
_: (name: string, value: any) => T;
|
|
1849
|
+
}
|
|
1850
|
+
}
|
|
1383
1851
|
export interface ModifyInvocationConfigurationInput {
|
|
1384
1852
|
topicArn?: string | undefined;
|
|
1385
1853
|
payloadDeliveryBucketName?: string | undefined;
|
|
@@ -1392,6 +1860,7 @@ export interface ModifySelfManagedConfiguration {
|
|
|
1392
1860
|
export interface ModifyStrategyConfiguration {
|
|
1393
1861
|
extraction?: ModifyExtractionConfiguration | undefined;
|
|
1394
1862
|
consolidation?: ModifyConsolidationConfiguration | undefined;
|
|
1863
|
+
reflection?: ModifyReflectionConfiguration | undefined;
|
|
1395
1864
|
selfManagedConfiguration?: ModifySelfManagedConfiguration | undefined;
|
|
1396
1865
|
}
|
|
1397
1866
|
export interface ModifyMemoryStrategyInput {
|
|
@@ -1898,262 +2367,440 @@ export interface UpdateOauth2CredentialProviderResponse {
|
|
|
1898
2367
|
createdTime: Date | undefined;
|
|
1899
2368
|
lastUpdatedTime: Date | undefined;
|
|
1900
2369
|
}
|
|
1901
|
-
export interface
|
|
1902
|
-
|
|
1903
|
-
|
|
2370
|
+
export interface CloudWatchLogsInputConfig {
|
|
2371
|
+
logGroupNames: string[] | undefined;
|
|
2372
|
+
serviceNames: string[] | undefined;
|
|
1904
2373
|
}
|
|
1905
|
-
export
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
2374
|
+
export type DataSourceConfig =
|
|
2375
|
+
| DataSourceConfig.CloudWatchLogsMember
|
|
2376
|
+
| DataSourceConfig.$UnknownMember;
|
|
2377
|
+
export declare namespace DataSourceConfig {
|
|
2378
|
+
interface CloudWatchLogsMember {
|
|
2379
|
+
cloudWatchLogs: CloudWatchLogsInputConfig;
|
|
2380
|
+
$unknown?: never;
|
|
2381
|
+
}
|
|
2382
|
+
interface $UnknownMember {
|
|
2383
|
+
cloudWatchLogs?: never;
|
|
2384
|
+
$unknown: [string, any];
|
|
2385
|
+
}
|
|
2386
|
+
interface Visitor<T> {
|
|
2387
|
+
cloudWatchLogs: (value: CloudWatchLogsInputConfig) => T;
|
|
2388
|
+
_: (name: string, value: any) => T;
|
|
2389
|
+
}
|
|
1909
2390
|
}
|
|
1910
|
-
export
|
|
1911
|
-
|
|
1912
|
-
|
|
2391
|
+
export type EvaluatorReference =
|
|
2392
|
+
| EvaluatorReference.EvaluatorIdMember
|
|
2393
|
+
| EvaluatorReference.$UnknownMember;
|
|
2394
|
+
export declare namespace EvaluatorReference {
|
|
2395
|
+
interface EvaluatorIdMember {
|
|
2396
|
+
evaluatorId: string;
|
|
2397
|
+
$unknown?: never;
|
|
2398
|
+
}
|
|
2399
|
+
interface $UnknownMember {
|
|
2400
|
+
evaluatorId?: never;
|
|
2401
|
+
$unknown: [string, any];
|
|
2402
|
+
}
|
|
2403
|
+
interface Visitor<T> {
|
|
2404
|
+
evaluatorId: (value: string) => T;
|
|
2405
|
+
_: (name: string, value: any) => T;
|
|
2406
|
+
}
|
|
1913
2407
|
}
|
|
1914
|
-
export
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
2408
|
+
export type FilterValue =
|
|
2409
|
+
| FilterValue.BooleanValueMember
|
|
2410
|
+
| FilterValue.DoubleValueMember
|
|
2411
|
+
| FilterValue.StringValueMember
|
|
2412
|
+
| FilterValue.$UnknownMember;
|
|
2413
|
+
export declare namespace FilterValue {
|
|
2414
|
+
interface StringValueMember {
|
|
2415
|
+
stringValue: string;
|
|
2416
|
+
doubleValue?: never;
|
|
2417
|
+
booleanValue?: never;
|
|
2418
|
+
$unknown?: never;
|
|
2419
|
+
}
|
|
2420
|
+
interface DoubleValueMember {
|
|
2421
|
+
stringValue?: never;
|
|
2422
|
+
doubleValue: number;
|
|
2423
|
+
booleanValue?: never;
|
|
2424
|
+
$unknown?: never;
|
|
2425
|
+
}
|
|
2426
|
+
interface BooleanValueMember {
|
|
2427
|
+
stringValue?: never;
|
|
2428
|
+
doubleValue?: never;
|
|
2429
|
+
booleanValue: boolean;
|
|
2430
|
+
$unknown?: never;
|
|
2431
|
+
}
|
|
2432
|
+
interface $UnknownMember {
|
|
2433
|
+
stringValue?: never;
|
|
2434
|
+
doubleValue?: never;
|
|
2435
|
+
booleanValue?: never;
|
|
2436
|
+
$unknown: [string, any];
|
|
2437
|
+
}
|
|
2438
|
+
interface Visitor<T> {
|
|
2439
|
+
stringValue: (value: string) => T;
|
|
2440
|
+
doubleValue: (value: number) => T;
|
|
2441
|
+
booleanValue: (value: boolean) => T;
|
|
2442
|
+
_: (name: string, value: any) => T;
|
|
2443
|
+
}
|
|
1918
2444
|
}
|
|
1919
|
-
export interface
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
2445
|
+
export interface Filter {
|
|
2446
|
+
key: string | undefined;
|
|
2447
|
+
operator: FilterOperator | undefined;
|
|
2448
|
+
value: FilterValue | undefined;
|
|
2449
|
+
}
|
|
2450
|
+
export interface SamplingConfig {
|
|
2451
|
+
samplingPercentage: number | undefined;
|
|
2452
|
+
}
|
|
2453
|
+
export interface SessionConfig {
|
|
2454
|
+
sessionTimeoutMinutes: number | undefined;
|
|
2455
|
+
}
|
|
2456
|
+
export interface Rule {
|
|
2457
|
+
samplingConfig: SamplingConfig | undefined;
|
|
2458
|
+
filters?: Filter[] | undefined;
|
|
2459
|
+
sessionConfig?: SessionConfig | undefined;
|
|
2460
|
+
}
|
|
2461
|
+
export interface CreateOnlineEvaluationConfigRequest {
|
|
2462
|
+
clientToken?: string | undefined;
|
|
2463
|
+
onlineEvaluationConfigName: string | undefined;
|
|
2464
|
+
description?: string | undefined;
|
|
2465
|
+
rule: Rule | undefined;
|
|
2466
|
+
dataSourceConfig: DataSourceConfig | undefined;
|
|
2467
|
+
evaluators: EvaluatorReference[] | undefined;
|
|
2468
|
+
evaluationExecutionRoleArn: string | undefined;
|
|
2469
|
+
enableOnCreate: boolean | undefined;
|
|
2470
|
+
}
|
|
2471
|
+
export interface CloudWatchOutputConfig {
|
|
2472
|
+
logGroupName: string | undefined;
|
|
2473
|
+
}
|
|
2474
|
+
export interface OutputConfig {
|
|
2475
|
+
cloudWatchConfig: CloudWatchOutputConfig | undefined;
|
|
2476
|
+
}
|
|
2477
|
+
export interface CreateOnlineEvaluationConfigResponse {
|
|
2478
|
+
onlineEvaluationConfigArn: string | undefined;
|
|
2479
|
+
onlineEvaluationConfigId: string | undefined;
|
|
2480
|
+
createdAt: Date | undefined;
|
|
2481
|
+
outputConfig?: OutputConfig | undefined;
|
|
2482
|
+
status: OnlineEvaluationConfigStatus | undefined;
|
|
2483
|
+
executionStatus: OnlineEvaluationExecutionStatus | undefined;
|
|
2484
|
+
failureReason?: string | undefined;
|
|
2485
|
+
}
|
|
2486
|
+
export interface DeleteOnlineEvaluationConfigRequest {
|
|
2487
|
+
onlineEvaluationConfigId: string | undefined;
|
|
2488
|
+
}
|
|
2489
|
+
export interface DeleteOnlineEvaluationConfigResponse {
|
|
2490
|
+
onlineEvaluationConfigArn: string | undefined;
|
|
2491
|
+
onlineEvaluationConfigId: string | undefined;
|
|
2492
|
+
status: OnlineEvaluationConfigStatus | undefined;
|
|
2493
|
+
}
|
|
2494
|
+
export interface GetOnlineEvaluationConfigRequest {
|
|
2495
|
+
onlineEvaluationConfigId: string | undefined;
|
|
2496
|
+
}
|
|
2497
|
+
export interface GetOnlineEvaluationConfigResponse {
|
|
2498
|
+
onlineEvaluationConfigArn: string | undefined;
|
|
2499
|
+
onlineEvaluationConfigId: string | undefined;
|
|
2500
|
+
onlineEvaluationConfigName: string | undefined;
|
|
2501
|
+
description?: string | undefined;
|
|
2502
|
+
rule: Rule | undefined;
|
|
2503
|
+
dataSourceConfig: DataSourceConfig | undefined;
|
|
2504
|
+
evaluators: EvaluatorReference[] | undefined;
|
|
2505
|
+
outputConfig?: OutputConfig | undefined;
|
|
2506
|
+
evaluationExecutionRoleArn?: string | undefined;
|
|
2507
|
+
status: OnlineEvaluationConfigStatus | undefined;
|
|
2508
|
+
executionStatus: OnlineEvaluationExecutionStatus | undefined;
|
|
2509
|
+
createdAt: Date | undefined;
|
|
2510
|
+
updatedAt: Date | undefined;
|
|
2511
|
+
failureReason?: string | undefined;
|
|
2512
|
+
}
|
|
2513
|
+
export interface ListOnlineEvaluationConfigsRequest {
|
|
2514
|
+
nextToken?: string | undefined;
|
|
2515
|
+
maxResults?: number | undefined;
|
|
2516
|
+
}
|
|
2517
|
+
export interface OnlineEvaluationConfigSummary {
|
|
2518
|
+
onlineEvaluationConfigArn: string | undefined;
|
|
2519
|
+
onlineEvaluationConfigId: string | undefined;
|
|
2520
|
+
onlineEvaluationConfigName: string | undefined;
|
|
2521
|
+
description?: string | undefined;
|
|
2522
|
+
status: OnlineEvaluationConfigStatus | undefined;
|
|
2523
|
+
executionStatus: OnlineEvaluationExecutionStatus | undefined;
|
|
2524
|
+
createdAt: Date | undefined;
|
|
2525
|
+
updatedAt: Date | undefined;
|
|
2526
|
+
failureReason?: string | undefined;
|
|
2527
|
+
}
|
|
2528
|
+
export interface ListOnlineEvaluationConfigsResponse {
|
|
2529
|
+
onlineEvaluationConfigs: OnlineEvaluationConfigSummary[] | undefined;
|
|
2530
|
+
nextToken?: string | undefined;
|
|
2531
|
+
}
|
|
2532
|
+
export interface UpdateOnlineEvaluationConfigRequest {
|
|
2533
|
+
clientToken?: string | undefined;
|
|
2534
|
+
onlineEvaluationConfigId: string | undefined;
|
|
2535
|
+
description?: string | undefined;
|
|
2536
|
+
rule?: Rule | undefined;
|
|
2537
|
+
dataSourceConfig?: DataSourceConfig | undefined;
|
|
2538
|
+
evaluators?: EvaluatorReference[] | undefined;
|
|
2539
|
+
evaluationExecutionRoleArn?: string | undefined;
|
|
2540
|
+
executionStatus?: OnlineEvaluationExecutionStatus | undefined;
|
|
2541
|
+
}
|
|
2542
|
+
export interface UpdateOnlineEvaluationConfigResponse {
|
|
2543
|
+
onlineEvaluationConfigArn: string | undefined;
|
|
2544
|
+
onlineEvaluationConfigId: string | undefined;
|
|
2545
|
+
updatedAt: Date | undefined;
|
|
2546
|
+
status: OnlineEvaluationConfigStatus | undefined;
|
|
2547
|
+
executionStatus: OnlineEvaluationExecutionStatus | undefined;
|
|
2548
|
+
failureReason?: string | undefined;
|
|
1924
2549
|
}
|
|
1925
|
-
export interface
|
|
2550
|
+
export interface CreatePolicyEngineRequest {
|
|
1926
2551
|
name: string | undefined;
|
|
1927
|
-
|
|
1928
|
-
|
|
2552
|
+
description?: string | undefined;
|
|
2553
|
+
clientToken?: string | undefined;
|
|
1929
2554
|
}
|
|
1930
|
-
export interface
|
|
2555
|
+
export interface CreatePolicyEngineResponse {
|
|
2556
|
+
policyEngineId: string | undefined;
|
|
1931
2557
|
name: string | undefined;
|
|
2558
|
+
description?: string | undefined;
|
|
2559
|
+
createdAt: Date | undefined;
|
|
2560
|
+
updatedAt: Date | undefined;
|
|
2561
|
+
policyEngineArn: string | undefined;
|
|
2562
|
+
status: PolicyEngineStatus | undefined;
|
|
2563
|
+
statusReasons: string[] | undefined;
|
|
1932
2564
|
}
|
|
1933
|
-
export interface
|
|
1934
|
-
|
|
2565
|
+
export interface DeletePolicyEngineRequest {
|
|
2566
|
+
policyEngineId: string | undefined;
|
|
2567
|
+
}
|
|
2568
|
+
export interface DeletePolicyEngineResponse {
|
|
2569
|
+
policyEngineId: string | undefined;
|
|
1935
2570
|
name: string | undefined;
|
|
2571
|
+
description?: string | undefined;
|
|
2572
|
+
createdAt: Date | undefined;
|
|
2573
|
+
updatedAt: Date | undefined;
|
|
2574
|
+
policyEngineArn: string | undefined;
|
|
2575
|
+
status: PolicyEngineStatus | undefined;
|
|
2576
|
+
statusReasons: string[] | undefined;
|
|
2577
|
+
}
|
|
2578
|
+
export interface GetPolicyEngineRequest {
|
|
2579
|
+
policyEngineId: string | undefined;
|
|
1936
2580
|
}
|
|
1937
|
-
export interface
|
|
2581
|
+
export interface GetPolicyEngineResponse {
|
|
2582
|
+
policyEngineId: string | undefined;
|
|
1938
2583
|
name: string | undefined;
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
2584
|
+
description?: string | undefined;
|
|
2585
|
+
createdAt: Date | undefined;
|
|
2586
|
+
updatedAt: Date | undefined;
|
|
2587
|
+
policyEngineArn: string | undefined;
|
|
2588
|
+
status: PolicyEngineStatus | undefined;
|
|
2589
|
+
statusReasons: string[] | undefined;
|
|
1943
2590
|
}
|
|
1944
|
-
export interface
|
|
2591
|
+
export interface ListPolicyEnginesRequest {
|
|
1945
2592
|
nextToken?: string | undefined;
|
|
1946
2593
|
maxResults?: number | undefined;
|
|
1947
2594
|
}
|
|
1948
|
-
export interface
|
|
2595
|
+
export interface PolicyEngine {
|
|
2596
|
+
policyEngineId: string | undefined;
|
|
1949
2597
|
name: string | undefined;
|
|
1950
|
-
|
|
2598
|
+
description?: string | undefined;
|
|
2599
|
+
createdAt: Date | undefined;
|
|
2600
|
+
updatedAt: Date | undefined;
|
|
2601
|
+
policyEngineArn: string | undefined;
|
|
2602
|
+
status: PolicyEngineStatus | undefined;
|
|
2603
|
+
statusReasons: string[] | undefined;
|
|
1951
2604
|
}
|
|
1952
|
-
export interface
|
|
1953
|
-
|
|
2605
|
+
export interface ListPolicyEnginesResponse {
|
|
2606
|
+
policyEngines: PolicyEngine[] | undefined;
|
|
1954
2607
|
nextToken?: string | undefined;
|
|
1955
2608
|
}
|
|
1956
|
-
export interface
|
|
1957
|
-
|
|
1958
|
-
|
|
2609
|
+
export interface UpdatePolicyEngineRequest {
|
|
2610
|
+
policyEngineId: string | undefined;
|
|
2611
|
+
description?: string | undefined;
|
|
1959
2612
|
}
|
|
1960
|
-
export interface
|
|
2613
|
+
export interface UpdatePolicyEngineResponse {
|
|
2614
|
+
policyEngineId: string | undefined;
|
|
1961
2615
|
name: string | undefined;
|
|
1962
|
-
workloadIdentityArn: string | undefined;
|
|
1963
|
-
allowedResourceOauth2ReturnUrls?: string[] | undefined;
|
|
1964
|
-
createdTime: Date | undefined;
|
|
1965
|
-
lastUpdatedTime: Date | undefined;
|
|
1966
|
-
}
|
|
1967
|
-
export interface SchemaDefinition {
|
|
1968
|
-
type: SchemaType | undefined;
|
|
1969
|
-
properties?: Record<string, SchemaDefinition> | undefined;
|
|
1970
|
-
required?: string[] | undefined;
|
|
1971
|
-
items?: SchemaDefinition | undefined;
|
|
1972
2616
|
description?: string | undefined;
|
|
2617
|
+
createdAt: Date | undefined;
|
|
2618
|
+
updatedAt: Date | undefined;
|
|
2619
|
+
policyEngineArn: string | undefined;
|
|
2620
|
+
status: PolicyEngineStatus | undefined;
|
|
2621
|
+
statusReasons: string[] | undefined;
|
|
1973
2622
|
}
|
|
1974
|
-
export interface
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
| ToolSchema.S3Member
|
|
1983
|
-
| ToolSchema.$UnknownMember;
|
|
1984
|
-
export declare namespace ToolSchema {
|
|
1985
|
-
interface S3Member {
|
|
1986
|
-
s3: S3Configuration;
|
|
1987
|
-
inlinePayload?: never;
|
|
1988
|
-
$unknown?: never;
|
|
1989
|
-
}
|
|
1990
|
-
interface InlinePayloadMember {
|
|
1991
|
-
s3?: never;
|
|
1992
|
-
inlinePayload: ToolDefinition[];
|
|
2623
|
+
export interface GetPolicyGenerationRequest {
|
|
2624
|
+
policyGenerationId: string | undefined;
|
|
2625
|
+
policyEngineId: string | undefined;
|
|
2626
|
+
}
|
|
2627
|
+
export type Resource = Resource.ArnMember | Resource.$UnknownMember;
|
|
2628
|
+
export declare namespace Resource {
|
|
2629
|
+
interface ArnMember {
|
|
2630
|
+
arn: string;
|
|
1993
2631
|
$unknown?: never;
|
|
1994
2632
|
}
|
|
1995
2633
|
interface $UnknownMember {
|
|
1996
|
-
|
|
1997
|
-
inlinePayload?: never;
|
|
2634
|
+
arn?: never;
|
|
1998
2635
|
$unknown: [string, any];
|
|
1999
2636
|
}
|
|
2000
2637
|
interface Visitor<T> {
|
|
2001
|
-
|
|
2002
|
-
inlinePayload: (value: ToolDefinition[]) => T;
|
|
2638
|
+
arn: (value: string) => T;
|
|
2003
2639
|
_: (name: string, value: any) => T;
|
|
2004
2640
|
}
|
|
2005
2641
|
}
|
|
2006
|
-
export interface
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
|
2012
|
-
|
|
|
2013
|
-
|
|
|
2014
|
-
|
|
|
2015
|
-
|
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
interface
|
|
2032
|
-
|
|
2033
|
-
smithyModel?: never;
|
|
2034
|
-
lambda: McpLambdaTargetConfiguration;
|
|
2035
|
-
mcpServer?: never;
|
|
2036
|
-
$unknown?: never;
|
|
2037
|
-
}
|
|
2038
|
-
interface McpServerMember {
|
|
2039
|
-
openApiSchema?: never;
|
|
2040
|
-
smithyModel?: never;
|
|
2041
|
-
lambda?: never;
|
|
2042
|
-
mcpServer: McpServerTargetConfiguration;
|
|
2642
|
+
export interface GetPolicyGenerationResponse {
|
|
2643
|
+
policyEngineId: string | undefined;
|
|
2644
|
+
policyGenerationId: string | undefined;
|
|
2645
|
+
name: string | undefined;
|
|
2646
|
+
policyGenerationArn: string | undefined;
|
|
2647
|
+
resource: Resource | undefined;
|
|
2648
|
+
createdAt: Date | undefined;
|
|
2649
|
+
updatedAt: Date | undefined;
|
|
2650
|
+
status: PolicyGenerationStatus | undefined;
|
|
2651
|
+
statusReasons: string[] | undefined;
|
|
2652
|
+
findings?: string | undefined;
|
|
2653
|
+
}
|
|
2654
|
+
export interface ListPolicyGenerationAssetsRequest {
|
|
2655
|
+
policyGenerationId: string | undefined;
|
|
2656
|
+
policyEngineId: string | undefined;
|
|
2657
|
+
nextToken?: string | undefined;
|
|
2658
|
+
maxResults?: number | undefined;
|
|
2659
|
+
}
|
|
2660
|
+
export interface CedarPolicy {
|
|
2661
|
+
statement: string | undefined;
|
|
2662
|
+
}
|
|
2663
|
+
export type PolicyDefinition =
|
|
2664
|
+
| PolicyDefinition.CedarMember
|
|
2665
|
+
| PolicyDefinition.$UnknownMember;
|
|
2666
|
+
export declare namespace PolicyDefinition {
|
|
2667
|
+
interface CedarMember {
|
|
2668
|
+
cedar: CedarPolicy;
|
|
2043
2669
|
$unknown?: never;
|
|
2044
2670
|
}
|
|
2045
2671
|
interface $UnknownMember {
|
|
2046
|
-
|
|
2047
|
-
smithyModel?: never;
|
|
2048
|
-
lambda?: never;
|
|
2049
|
-
mcpServer?: never;
|
|
2672
|
+
cedar?: never;
|
|
2050
2673
|
$unknown: [string, any];
|
|
2051
2674
|
}
|
|
2052
2675
|
interface Visitor<T> {
|
|
2053
|
-
|
|
2054
|
-
smithyModel: (value: ApiSchemaConfiguration) => T;
|
|
2055
|
-
lambda: (value: McpLambdaTargetConfiguration) => T;
|
|
2056
|
-
mcpServer: (value: McpServerTargetConfiguration) => T;
|
|
2676
|
+
cedar: (value: CedarPolicy) => T;
|
|
2057
2677
|
_: (name: string, value: any) => T;
|
|
2058
2678
|
}
|
|
2059
2679
|
}
|
|
2060
|
-
export
|
|
2061
|
-
|
|
|
2062
|
-
|
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2680
|
+
export interface Finding {
|
|
2681
|
+
type?: FindingType | undefined;
|
|
2682
|
+
description?: string | undefined;
|
|
2683
|
+
}
|
|
2684
|
+
export interface PolicyGenerationAsset {
|
|
2685
|
+
policyGenerationAssetId: string | undefined;
|
|
2686
|
+
definition?: PolicyDefinition | undefined;
|
|
2687
|
+
rawTextFragment: string | undefined;
|
|
2688
|
+
findings: Finding[] | undefined;
|
|
2689
|
+
}
|
|
2690
|
+
export interface ListPolicyGenerationAssetsResponse {
|
|
2691
|
+
policyGenerationAssets?: PolicyGenerationAsset[] | undefined;
|
|
2692
|
+
nextToken?: string | undefined;
|
|
2693
|
+
}
|
|
2694
|
+
export interface ListPolicyGenerationsRequest {
|
|
2695
|
+
nextToken?: string | undefined;
|
|
2696
|
+
maxResults?: number | undefined;
|
|
2697
|
+
policyEngineId: string | undefined;
|
|
2698
|
+
}
|
|
2699
|
+
export interface PolicyGeneration {
|
|
2700
|
+
policyEngineId: string | undefined;
|
|
2701
|
+
policyGenerationId: string | undefined;
|
|
2702
|
+
name: string | undefined;
|
|
2703
|
+
policyGenerationArn: string | undefined;
|
|
2704
|
+
resource: Resource | undefined;
|
|
2705
|
+
createdAt: Date | undefined;
|
|
2706
|
+
updatedAt: Date | undefined;
|
|
2707
|
+
status: PolicyGenerationStatus | undefined;
|
|
2708
|
+
statusReasons: string[] | undefined;
|
|
2709
|
+
findings?: string | undefined;
|
|
2710
|
+
}
|
|
2711
|
+
export interface ListPolicyGenerationsResponse {
|
|
2712
|
+
policyGenerations: PolicyGeneration[] | undefined;
|
|
2713
|
+
nextToken?: string | undefined;
|
|
2714
|
+
}
|
|
2715
|
+
export type Content = Content.RawTextMember | Content.$UnknownMember;
|
|
2716
|
+
export declare namespace Content {
|
|
2717
|
+
interface RawTextMember {
|
|
2718
|
+
rawText: string;
|
|
2066
2719
|
$unknown?: never;
|
|
2067
2720
|
}
|
|
2068
2721
|
interface $UnknownMember {
|
|
2069
|
-
|
|
2722
|
+
rawText?: never;
|
|
2070
2723
|
$unknown: [string, any];
|
|
2071
2724
|
}
|
|
2072
2725
|
interface Visitor<T> {
|
|
2073
|
-
|
|
2726
|
+
rawText: (value: string) => T;
|
|
2074
2727
|
_: (name: string, value: any) => T;
|
|
2075
2728
|
}
|
|
2076
2729
|
}
|
|
2077
|
-
export interface
|
|
2078
|
-
|
|
2730
|
+
export interface StartPolicyGenerationRequest {
|
|
2731
|
+
policyEngineId: string | undefined;
|
|
2732
|
+
resource: Resource | undefined;
|
|
2733
|
+
content: Content | undefined;
|
|
2079
2734
|
name: string | undefined;
|
|
2080
|
-
description?: string | undefined;
|
|
2081
2735
|
clientToken?: string | undefined;
|
|
2082
|
-
targetConfiguration: TargetConfiguration | undefined;
|
|
2083
|
-
credentialProviderConfigurations?:
|
|
2084
|
-
| CredentialProviderConfiguration[]
|
|
2085
|
-
| undefined;
|
|
2086
2736
|
}
|
|
2087
|
-
export interface
|
|
2088
|
-
|
|
2089
|
-
|
|
2737
|
+
export interface StartPolicyGenerationResponse {
|
|
2738
|
+
policyEngineId: string | undefined;
|
|
2739
|
+
policyGenerationId: string | undefined;
|
|
2740
|
+
name: string | undefined;
|
|
2741
|
+
policyGenerationArn: string | undefined;
|
|
2742
|
+
resource: Resource | undefined;
|
|
2090
2743
|
createdAt: Date | undefined;
|
|
2091
2744
|
updatedAt: Date | undefined;
|
|
2092
|
-
status:
|
|
2093
|
-
statusReasons
|
|
2745
|
+
status: PolicyGenerationStatus | undefined;
|
|
2746
|
+
statusReasons: string[] | undefined;
|
|
2747
|
+
findings?: string | undefined;
|
|
2748
|
+
}
|
|
2749
|
+
export interface CreatePolicyRequest {
|
|
2094
2750
|
name: string | undefined;
|
|
2751
|
+
definition: PolicyDefinition | undefined;
|
|
2095
2752
|
description?: string | undefined;
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
| undefined;
|
|
2100
|
-
lastSynchronizedAt?: Date | undefined;
|
|
2753
|
+
validationMode?: PolicyValidationMode | undefined;
|
|
2754
|
+
policyEngineId: string | undefined;
|
|
2755
|
+
clientToken?: string | undefined;
|
|
2101
2756
|
}
|
|
2102
|
-
export interface
|
|
2103
|
-
|
|
2104
|
-
targetId: string | undefined;
|
|
2105
|
-
createdAt: Date | undefined;
|
|
2106
|
-
updatedAt: Date | undefined;
|
|
2107
|
-
status: TargetStatus | undefined;
|
|
2108
|
-
statusReasons?: string[] | undefined;
|
|
2757
|
+
export interface CreatePolicyResponse {
|
|
2758
|
+
policyId: string | undefined;
|
|
2109
2759
|
name: string | undefined;
|
|
2760
|
+
policyEngineId: string | undefined;
|
|
2761
|
+
definition: PolicyDefinition | undefined;
|
|
2110
2762
|
description?: string | undefined;
|
|
2111
|
-
targetConfiguration: TargetConfiguration | undefined;
|
|
2112
|
-
credentialProviderConfigurations:
|
|
2113
|
-
| CredentialProviderConfiguration[]
|
|
2114
|
-
| undefined;
|
|
2115
|
-
lastSynchronizedAt?: Date | undefined;
|
|
2116
|
-
}
|
|
2117
|
-
export interface GetGatewayTargetResponse {
|
|
2118
|
-
gatewayArn: string | undefined;
|
|
2119
|
-
targetId: string | undefined;
|
|
2120
2763
|
createdAt: Date | undefined;
|
|
2121
2764
|
updatedAt: Date | undefined;
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
description?: string | undefined;
|
|
2126
|
-
targetConfiguration: TargetConfiguration | undefined;
|
|
2127
|
-
credentialProviderConfigurations:
|
|
2128
|
-
| CredentialProviderConfiguration[]
|
|
2129
|
-
| undefined;
|
|
2130
|
-
lastSynchronizedAt?: Date | undefined;
|
|
2765
|
+
policyArn: string | undefined;
|
|
2766
|
+
status: PolicyStatus | undefined;
|
|
2767
|
+
statusReasons: string[] | undefined;
|
|
2131
2768
|
}
|
|
2132
|
-
export interface
|
|
2133
|
-
|
|
2134
|
-
|
|
2769
|
+
export interface DeletePolicyRequest {
|
|
2770
|
+
policyEngineId: string | undefined;
|
|
2771
|
+
policyId: string | undefined;
|
|
2772
|
+
}
|
|
2773
|
+
export interface DeletePolicyResponse {
|
|
2774
|
+
policyId: string | undefined;
|
|
2135
2775
|
name: string | undefined;
|
|
2776
|
+
policyEngineId: string | undefined;
|
|
2777
|
+
definition: PolicyDefinition | undefined;
|
|
2136
2778
|
description?: string | undefined;
|
|
2137
|
-
targetConfiguration: TargetConfiguration | undefined;
|
|
2138
|
-
credentialProviderConfigurations?:
|
|
2139
|
-
| CredentialProviderConfiguration[]
|
|
2140
|
-
| undefined;
|
|
2141
|
-
}
|
|
2142
|
-
export interface UpdateGatewayTargetResponse {
|
|
2143
|
-
gatewayArn: string | undefined;
|
|
2144
|
-
targetId: string | undefined;
|
|
2145
2779
|
createdAt: Date | undefined;
|
|
2146
2780
|
updatedAt: Date | undefined;
|
|
2147
|
-
|
|
2148
|
-
|
|
2781
|
+
policyArn: string | undefined;
|
|
2782
|
+
status: PolicyStatus | undefined;
|
|
2783
|
+
statusReasons: string[] | undefined;
|
|
2784
|
+
}
|
|
2785
|
+
export interface GetPolicyRequest {
|
|
2786
|
+
policyEngineId: string | undefined;
|
|
2787
|
+
policyId: string | undefined;
|
|
2788
|
+
}
|
|
2789
|
+
export interface GetPolicyResponse {
|
|
2790
|
+
policyId: string | undefined;
|
|
2149
2791
|
name: string | undefined;
|
|
2792
|
+
policyEngineId: string | undefined;
|
|
2793
|
+
definition: PolicyDefinition | undefined;
|
|
2150
2794
|
description?: string | undefined;
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2795
|
+
createdAt: Date | undefined;
|
|
2796
|
+
updatedAt: Date | undefined;
|
|
2797
|
+
policyArn: string | undefined;
|
|
2798
|
+
status: PolicyStatus | undefined;
|
|
2799
|
+
statusReasons: string[] | undefined;
|
|
2156
2800
|
}
|
|
2157
|
-
export interface
|
|
2158
|
-
|
|
2801
|
+
export interface ListPoliciesRequest {
|
|
2802
|
+
nextToken?: string | undefined;
|
|
2803
|
+
maxResults?: number | undefined;
|
|
2804
|
+
policyEngineId: string | undefined;
|
|
2805
|
+
targetResourceScope?: string | undefined;
|
|
2159
2806
|
}
|