@aws-sdk/client-bedrock-agentcore-control 3.1003.0 → 3.1005.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +9 -0
- package/dist-cjs/schemas/schemas_0.js +83 -46
- package/dist-es/models/enums.js +7 -0
- package/dist-es/schemas/schemas_0.js +73 -36
- package/dist-types/commands/CreateMemoryCommand.d.ts +30 -0
- package/dist-types/commands/GetMemoryCommand.d.ts +15 -0
- package/dist-types/commands/ListPolicyGenerationAssetsCommand.d.ts +2 -1
- package/dist-types/commands/UpdateMemoryCommand.d.ts +30 -0
- package/dist-types/models/enums.d.ts +23 -0
- package/dist-types/models/models_0.d.ts +92 -103
- package/dist-types/models/models_1.d.ts +104 -2
- package/dist-types/schemas/schemas_0.d.ts +4 -0
- package/dist-types/ts3.4/commands/ListPolicyGenerationAssetsCommand.d.ts +2 -4
- package/dist-types/ts3.4/models/enums.d.ts +9 -0
- package/dist-types/ts3.4/models/models_0.d.ts +33 -41
- package/dist-types/ts3.4/models/models_1.d.ts +43 -1
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +4 -0
- package/package.json +11 -11
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DocumentType as __DocumentType } from "@smithy/types";
|
|
2
|
-
import { AgentManagedRuntimeType, AgentRuntimeEndpointStatus, AgentRuntimeStatus, ApiKeyCredentialLocation, AuthorizerType, BrowserNetworkMode, BrowserProfileStatus, BrowserStatus, ClaimMatchOperatorType, CodeInterpreterNetworkMode, CodeInterpreterStatus, CredentialProviderType, CredentialProviderVendorType, EvaluatorLevel, EvaluatorStatus, EvaluatorType, ExceptionLevel, FilterOperator,
|
|
2
|
+
import { AgentManagedRuntimeType, AgentRuntimeEndpointStatus, AgentRuntimeStatus, ApiKeyCredentialLocation, AuthorizerType, BrowserNetworkMode, BrowserProfileStatus, BrowserStatus, ClaimMatchOperatorType, CodeInterpreterNetworkMode, CodeInterpreterStatus, ContentLevel, ContentType, CredentialProviderType, CredentialProviderVendorType, EvaluatorLevel, EvaluatorStatus, EvaluatorType, ExceptionLevel, FilterOperator, GatewayInterceptionPoint, GatewayPolicyEngineMode, GatewayProtocolType, GatewayStatus, InboundTokenClaimValueType, KeyType, MemoryStatus, MemoryStrategyStatus, MemoryStrategyType, MemoryView, NetworkMode, OAuthGrantType, OnlineEvaluationConfigStatus, OnlineEvaluationExecutionStatus, OverrideType, PolicyEngineStatus, PolicyGenerationStatus, ResourceType, RestApiMethod, SearchType, ServerProtocol, TargetStatus } from "./enums";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -4608,6 +4608,82 @@ export declare namespace MemoryStrategyInput {
|
|
|
4608
4608
|
_: (name: string, value: any) => T;
|
|
4609
4609
|
}
|
|
4610
4610
|
}
|
|
4611
|
+
/**
|
|
4612
|
+
* <p>Defines what content to stream and at what level of detail.</p>
|
|
4613
|
+
* @public
|
|
4614
|
+
*/
|
|
4615
|
+
export interface ContentConfiguration {
|
|
4616
|
+
/**
|
|
4617
|
+
* <p>Type of content to stream.</p>
|
|
4618
|
+
* @public
|
|
4619
|
+
*/
|
|
4620
|
+
type: ContentType | undefined;
|
|
4621
|
+
/**
|
|
4622
|
+
* <p>Level of detail for streamed content.</p>
|
|
4623
|
+
* @public
|
|
4624
|
+
*/
|
|
4625
|
+
level?: ContentLevel | undefined;
|
|
4626
|
+
}
|
|
4627
|
+
/**
|
|
4628
|
+
* <p>Configuration for Kinesis Data Stream delivery.</p>
|
|
4629
|
+
* @public
|
|
4630
|
+
*/
|
|
4631
|
+
export interface KinesisResource {
|
|
4632
|
+
/**
|
|
4633
|
+
* <p>ARN of the Kinesis Data Stream.</p>
|
|
4634
|
+
* @public
|
|
4635
|
+
*/
|
|
4636
|
+
dataStreamArn: string | undefined;
|
|
4637
|
+
/**
|
|
4638
|
+
* <p>Content configurations for stream delivery.</p>
|
|
4639
|
+
* @public
|
|
4640
|
+
*/
|
|
4641
|
+
contentConfigurations: ContentConfiguration[] | undefined;
|
|
4642
|
+
}
|
|
4643
|
+
/**
|
|
4644
|
+
* <p>Supported stream delivery resource types.</p>
|
|
4645
|
+
* @public
|
|
4646
|
+
*/
|
|
4647
|
+
export type StreamDeliveryResource = StreamDeliveryResource.KinesisMember | StreamDeliveryResource.$UnknownMember;
|
|
4648
|
+
/**
|
|
4649
|
+
* @public
|
|
4650
|
+
*/
|
|
4651
|
+
export declare namespace StreamDeliveryResource {
|
|
4652
|
+
/**
|
|
4653
|
+
* <p>Kinesis Data Stream configuration.</p>
|
|
4654
|
+
* @public
|
|
4655
|
+
*/
|
|
4656
|
+
interface KinesisMember {
|
|
4657
|
+
kinesis: KinesisResource;
|
|
4658
|
+
$unknown?: never;
|
|
4659
|
+
}
|
|
4660
|
+
/**
|
|
4661
|
+
* @public
|
|
4662
|
+
*/
|
|
4663
|
+
interface $UnknownMember {
|
|
4664
|
+
kinesis?: never;
|
|
4665
|
+
$unknown: [string, any];
|
|
4666
|
+
}
|
|
4667
|
+
/**
|
|
4668
|
+
* @deprecated unused in schema-serde mode.
|
|
4669
|
+
*
|
|
4670
|
+
*/
|
|
4671
|
+
interface Visitor<T> {
|
|
4672
|
+
kinesis: (value: KinesisResource) => T;
|
|
4673
|
+
_: (name: string, value: any) => T;
|
|
4674
|
+
}
|
|
4675
|
+
}
|
|
4676
|
+
/**
|
|
4677
|
+
* <p>Configuration for streaming memory record data to external resources.</p>
|
|
4678
|
+
* @public
|
|
4679
|
+
*/
|
|
4680
|
+
export interface StreamDeliveryResources {
|
|
4681
|
+
/**
|
|
4682
|
+
* <p>List of stream delivery resource configurations.</p>
|
|
4683
|
+
* @public
|
|
4684
|
+
*/
|
|
4685
|
+
resources: StreamDeliveryResource[] | undefined;
|
|
4686
|
+
}
|
|
4611
4687
|
/**
|
|
4612
4688
|
* @public
|
|
4613
4689
|
*/
|
|
@@ -4647,6 +4723,11 @@ export interface CreateMemoryInput {
|
|
|
4647
4723
|
* @public
|
|
4648
4724
|
*/
|
|
4649
4725
|
memoryStrategies?: MemoryStrategyInput[] | undefined;
|
|
4726
|
+
/**
|
|
4727
|
+
* <p>Configuration for streaming memory record data to external resources.</p>
|
|
4728
|
+
* @public
|
|
4729
|
+
*/
|
|
4730
|
+
streamDeliveryResources?: StreamDeliveryResources | undefined;
|
|
4650
4731
|
/**
|
|
4651
4732
|
* <p>A map of tag keys and values to assign to an AgentCore Memory. Tags enable you to categorize your resources in different ways, for example, by purpose, owner, or environment.</p>
|
|
4652
4733
|
* @public
|
|
@@ -5351,6 +5432,11 @@ export interface Memory {
|
|
|
5351
5432
|
* @public
|
|
5352
5433
|
*/
|
|
5353
5434
|
strategies?: MemoryStrategy[] | undefined;
|
|
5435
|
+
/**
|
|
5436
|
+
* <p>Configuration for streaming memory record data to external resources.</p>
|
|
5437
|
+
* @public
|
|
5438
|
+
*/
|
|
5439
|
+
streamDeliveryResources?: StreamDeliveryResources | undefined;
|
|
5354
5440
|
}
|
|
5355
5441
|
/**
|
|
5356
5442
|
* @public
|
|
@@ -5911,6 +5997,11 @@ export interface UpdateMemoryInput {
|
|
|
5911
5997
|
* @public
|
|
5912
5998
|
*/
|
|
5913
5999
|
memoryStrategies?: ModifyMemoryStrategies | undefined;
|
|
6000
|
+
/**
|
|
6001
|
+
* <p>Configuration for streaming memory record data to external resources.</p>
|
|
6002
|
+
* @public
|
|
6003
|
+
*/
|
|
6004
|
+
streamDeliveryResources?: StreamDeliveryResources | undefined;
|
|
5914
6005
|
}
|
|
5915
6006
|
/**
|
|
5916
6007
|
* @public
|
|
@@ -8037,105 +8128,3 @@ export interface PolicyGenerationDetails {
|
|
|
8037
8128
|
*/
|
|
8038
8129
|
policyGenerationAssetId: string | undefined;
|
|
8039
8130
|
}
|
|
8040
|
-
/**
|
|
8041
|
-
* <p>Represents the definition structure for policies within the AgentCore Policy system. This structure encapsulates different policy formats and languages that can be used to define access control rules.</p>
|
|
8042
|
-
* @public
|
|
8043
|
-
*/
|
|
8044
|
-
export type PolicyDefinition = PolicyDefinition.CedarMember | PolicyDefinition.PolicyGenerationMember | PolicyDefinition.$UnknownMember;
|
|
8045
|
-
/**
|
|
8046
|
-
* @public
|
|
8047
|
-
*/
|
|
8048
|
-
export declare namespace PolicyDefinition {
|
|
8049
|
-
/**
|
|
8050
|
-
* <p>The Cedar policy definition within the policy definition structure. This contains the Cedar policy statement that defines the authorization logic using Cedar's human-readable, analyzable policy language. Cedar policies specify principals (who can access), actions (what operations are allowed), resources (what can be accessed), and optional conditions for fine-grained control. Cedar provides a formal policy language designed for authorization with deterministic evaluation, making policies testable, reviewable, and auditable. All Cedar policies follow a default-deny model where actions are denied unless explicitly permitted, and forbid policies always override permit policies.</p>
|
|
8051
|
-
* @public
|
|
8052
|
-
*/
|
|
8053
|
-
interface CedarMember {
|
|
8054
|
-
cedar: CedarPolicy;
|
|
8055
|
-
policyGeneration?: never;
|
|
8056
|
-
$unknown?: never;
|
|
8057
|
-
}
|
|
8058
|
-
/**
|
|
8059
|
-
* <p>The generated policy asset information within the policy definition structure. This contains information identifying a generated policy asset from the AI-powered policy generation process within the AgentCore Policy system. Each asset contains a Cedar policy statement generated from natural language input, along with associated metadata and analysis findings to help users evaluate and select the most appropriate policy option.</p>
|
|
8060
|
-
* @public
|
|
8061
|
-
*/
|
|
8062
|
-
interface PolicyGenerationMember {
|
|
8063
|
-
cedar?: never;
|
|
8064
|
-
policyGeneration: PolicyGenerationDetails;
|
|
8065
|
-
$unknown?: never;
|
|
8066
|
-
}
|
|
8067
|
-
/**
|
|
8068
|
-
* @public
|
|
8069
|
-
*/
|
|
8070
|
-
interface $UnknownMember {
|
|
8071
|
-
cedar?: never;
|
|
8072
|
-
policyGeneration?: never;
|
|
8073
|
-
$unknown: [string, any];
|
|
8074
|
-
}
|
|
8075
|
-
/**
|
|
8076
|
-
* @deprecated unused in schema-serde mode.
|
|
8077
|
-
*
|
|
8078
|
-
*/
|
|
8079
|
-
interface Visitor<T> {
|
|
8080
|
-
cedar: (value: CedarPolicy) => T;
|
|
8081
|
-
policyGeneration: (value: PolicyGenerationDetails) => T;
|
|
8082
|
-
_: (name: string, value: any) => T;
|
|
8083
|
-
}
|
|
8084
|
-
}
|
|
8085
|
-
/**
|
|
8086
|
-
* <p>Represents a finding or issue discovered during policy generation or validation. Findings provide insights about potential problems, recommendations, or validation results from policy analysis operations. Finding types include: VALID (policy is ready to use), INVALID (policy has validation errors that must be fixed), NOT_TRANSLATABLE (input couldn't be converted to policy), ALLOW_ALL (policy would allow all actions, potential security risk), ALLOW_NONE (policy would allow no actions, unusable), DENY_ALL (policy would deny all actions, may be too restrictive), and DENY_NONE (policy would deny no actions, ineffective). Review all findings before creating policies from generated assets to ensure they match your security requirements.</p>
|
|
8087
|
-
* @public
|
|
8088
|
-
*/
|
|
8089
|
-
export interface Finding {
|
|
8090
|
-
/**
|
|
8091
|
-
* <p>The type or category of the finding. This classifies the finding as an error, warning, recommendation, or informational message to help users understand the severity and nature of the issue.</p>
|
|
8092
|
-
* @public
|
|
8093
|
-
*/
|
|
8094
|
-
type?: FindingType | undefined;
|
|
8095
|
-
/**
|
|
8096
|
-
* <p>A human-readable description of the finding. This provides detailed information about the issue, recommendation, or validation result to help users understand and address the finding. </p>
|
|
8097
|
-
* @public
|
|
8098
|
-
*/
|
|
8099
|
-
description?: string | undefined;
|
|
8100
|
-
}
|
|
8101
|
-
/**
|
|
8102
|
-
* <p>Represents a generated policy asset from the AI-powered policy generation process within the AgentCore Policy system. Each asset contains a Cedar policy statement generated from natural language input, along with associated metadata and analysis findings to help users evaluate and select the most appropriate policy option.</p>
|
|
8103
|
-
* @public
|
|
8104
|
-
*/
|
|
8105
|
-
export interface PolicyGenerationAsset {
|
|
8106
|
-
/**
|
|
8107
|
-
* <p>The unique identifier for this generated policy asset within the policy generation request. This ID can be used to reference specific generated policy options when creating actual policies from the generation results.</p>
|
|
8108
|
-
* @public
|
|
8109
|
-
*/
|
|
8110
|
-
policyGenerationAssetId: string | undefined;
|
|
8111
|
-
/**
|
|
8112
|
-
* <p>Represents the definition structure for policies within the AgentCore Policy system. This structure encapsulates different policy formats and languages that can be used to define access control rules.</p>
|
|
8113
|
-
* @public
|
|
8114
|
-
*/
|
|
8115
|
-
definition?: PolicyDefinition | undefined;
|
|
8116
|
-
/**
|
|
8117
|
-
* <p>The portion of the original natural language input that this generated policy asset addresses. This helps users understand which part of their policy description was translated into this specific Cedar policy statement, enabling better policy selection and refinement. When a single natural language input describes multiple authorization requirements, the generation process creates separate policy assets for each requirement, with each asset's rawTextFragment showing which requirement it addresses. Use this mapping to verify that all parts of your natural language input were correctly translated into Cedar policies.</p>
|
|
8118
|
-
* @public
|
|
8119
|
-
*/
|
|
8120
|
-
rawTextFragment: string | undefined;
|
|
8121
|
-
/**
|
|
8122
|
-
* <p>Analysis findings and insights related to this specific generated policy asset. These findings may include validation results, potential issues, or recommendations for improvement to help users evaluate the quality and appropriateness of the generated policy.</p>
|
|
8123
|
-
* @public
|
|
8124
|
-
*/
|
|
8125
|
-
findings: Finding[] | undefined;
|
|
8126
|
-
}
|
|
8127
|
-
/**
|
|
8128
|
-
* @public
|
|
8129
|
-
*/
|
|
8130
|
-
export interface ListPolicyGenerationAssetsResponse {
|
|
8131
|
-
/**
|
|
8132
|
-
* <p>An array of generated policy assets including Cedar policies and related artifacts from the AI-powered policy generation process. Each asset represents a different policy option or variation generated from the original natural language input.</p>
|
|
8133
|
-
* @public
|
|
8134
|
-
*/
|
|
8135
|
-
policyGenerationAssets?: PolicyGenerationAsset[] | undefined;
|
|
8136
|
-
/**
|
|
8137
|
-
* <p>A pagination token that can be used in subsequent <a href="https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_ListPolicyGenerationAssets.html">ListPolicyGenerationAssets</a> calls to retrieve additional assets. This token is only present when there are more generated policy assets available beyond the current response.</p>
|
|
8138
|
-
* @public
|
|
8139
|
-
*/
|
|
8140
|
-
nextToken?: string | undefined;
|
|
8141
|
-
}
|
|
@@ -1,5 +1,107 @@
|
|
|
1
|
-
import { PolicyGenerationStatus, PolicyStatus, PolicyValidationMode, SchemaType, TargetStatus } from "./enums";
|
|
2
|
-
import { type KmsConfiguration, type MetadataConfiguration, type
|
|
1
|
+
import { FindingType, PolicyGenerationStatus, PolicyStatus, PolicyValidationMode, SchemaType, TargetStatus } from "./enums";
|
|
2
|
+
import { type KmsConfiguration, type MetadataConfiguration, type Resource, type UpdatedDescription, ApiGatewayTargetConfiguration, ApiSchemaConfiguration, CedarPolicy, CredentialProviderConfiguration, McpServerTargetConfiguration, PolicyGenerationDetails, S3Configuration } from "./models_0";
|
|
3
|
+
/**
|
|
4
|
+
* <p>Represents the definition structure for policies within the AgentCore Policy system. This structure encapsulates different policy formats and languages that can be used to define access control rules.</p>
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export type PolicyDefinition = PolicyDefinition.CedarMember | PolicyDefinition.PolicyGenerationMember | PolicyDefinition.$UnknownMember;
|
|
8
|
+
/**
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
export declare namespace PolicyDefinition {
|
|
12
|
+
/**
|
|
13
|
+
* <p>The Cedar policy definition within the policy definition structure. This contains the Cedar policy statement that defines the authorization logic using Cedar's human-readable, analyzable policy language. Cedar policies specify principals (who can access), actions (what operations are allowed), resources (what can be accessed), and optional conditions for fine-grained control. Cedar provides a formal policy language designed for authorization with deterministic evaluation, making policies testable, reviewable, and auditable. All Cedar policies follow a default-deny model where actions are denied unless explicitly permitted, and forbid policies always override permit policies.</p>
|
|
14
|
+
* @public
|
|
15
|
+
*/
|
|
16
|
+
interface CedarMember {
|
|
17
|
+
cedar: CedarPolicy;
|
|
18
|
+
policyGeneration?: never;
|
|
19
|
+
$unknown?: never;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* <p>The generated policy asset information within the policy definition structure. This contains information identifying a generated policy asset from the AI-powered policy generation process within the AgentCore Policy system. Each asset contains a Cedar policy statement generated from natural language input, along with associated metadata and analysis findings to help users evaluate and select the most appropriate policy option.</p>
|
|
23
|
+
* @public
|
|
24
|
+
*/
|
|
25
|
+
interface PolicyGenerationMember {
|
|
26
|
+
cedar?: never;
|
|
27
|
+
policyGeneration: PolicyGenerationDetails;
|
|
28
|
+
$unknown?: never;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* @public
|
|
32
|
+
*/
|
|
33
|
+
interface $UnknownMember {
|
|
34
|
+
cedar?: never;
|
|
35
|
+
policyGeneration?: never;
|
|
36
|
+
$unknown: [string, any];
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* @deprecated unused in schema-serde mode.
|
|
40
|
+
*
|
|
41
|
+
*/
|
|
42
|
+
interface Visitor<T> {
|
|
43
|
+
cedar: (value: CedarPolicy) => T;
|
|
44
|
+
policyGeneration: (value: PolicyGenerationDetails) => T;
|
|
45
|
+
_: (name: string, value: any) => T;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* <p>Represents a finding or issue discovered during policy generation or validation. Findings provide insights about potential problems, recommendations, or validation results from policy analysis operations. Finding types include: VALID (policy is ready to use), INVALID (policy has validation errors that must be fixed), NOT_TRANSLATABLE (input couldn't be converted to policy), ALLOW_ALL (policy would allow all actions, potential security risk), ALLOW_NONE (policy would allow no actions, unusable), DENY_ALL (policy would deny all actions, may be too restrictive), and DENY_NONE (policy would deny no actions, ineffective). Review all findings before creating policies from generated assets to ensure they match your security requirements.</p>
|
|
50
|
+
* @public
|
|
51
|
+
*/
|
|
52
|
+
export interface Finding {
|
|
53
|
+
/**
|
|
54
|
+
* <p>The type or category of the finding. This classifies the finding as an error, warning, recommendation, or informational message to help users understand the severity and nature of the issue.</p>
|
|
55
|
+
* @public
|
|
56
|
+
*/
|
|
57
|
+
type?: FindingType | undefined;
|
|
58
|
+
/**
|
|
59
|
+
* <p>A human-readable description of the finding. This provides detailed information about the issue, recommendation, or validation result to help users understand and address the finding. </p>
|
|
60
|
+
* @public
|
|
61
|
+
*/
|
|
62
|
+
description?: string | undefined;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* <p>Represents a generated policy asset from the AI-powered policy generation process within the AgentCore Policy system. Each asset contains a Cedar policy statement generated from natural language input, along with associated metadata and analysis findings to help users evaluate and select the most appropriate policy option.</p>
|
|
66
|
+
* @public
|
|
67
|
+
*/
|
|
68
|
+
export interface PolicyGenerationAsset {
|
|
69
|
+
/**
|
|
70
|
+
* <p>The unique identifier for this generated policy asset within the policy generation request. This ID can be used to reference specific generated policy options when creating actual policies from the generation results.</p>
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
73
|
+
policyGenerationAssetId: string | undefined;
|
|
74
|
+
/**
|
|
75
|
+
* <p>Represents the definition structure for policies within the AgentCore Policy system. This structure encapsulates different policy formats and languages that can be used to define access control rules.</p>
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
definition?: PolicyDefinition | undefined;
|
|
79
|
+
/**
|
|
80
|
+
* <p>The portion of the original natural language input that this generated policy asset addresses. This helps users understand which part of their policy description was translated into this specific Cedar policy statement, enabling better policy selection and refinement. When a single natural language input describes multiple authorization requirements, the generation process creates separate policy assets for each requirement, with each asset's rawTextFragment showing which requirement it addresses. Use this mapping to verify that all parts of your natural language input were correctly translated into Cedar policies.</p>
|
|
81
|
+
* @public
|
|
82
|
+
*/
|
|
83
|
+
rawTextFragment: string | undefined;
|
|
84
|
+
/**
|
|
85
|
+
* <p>Analysis findings and insights related to this specific generated policy asset. These findings may include validation results, potential issues, or recommendations for improvement to help users evaluate the quality and appropriateness of the generated policy.</p>
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
88
|
+
findings: Finding[] | undefined;
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* @public
|
|
92
|
+
*/
|
|
93
|
+
export interface ListPolicyGenerationAssetsResponse {
|
|
94
|
+
/**
|
|
95
|
+
* <p>An array of generated policy assets including Cedar policies and related artifacts from the AI-powered policy generation process. Each asset represents a different policy option or variation generated from the original natural language input.</p>
|
|
96
|
+
* @public
|
|
97
|
+
*/
|
|
98
|
+
policyGenerationAssets?: PolicyGenerationAsset[] | undefined;
|
|
99
|
+
/**
|
|
100
|
+
* <p>A pagination token that can be used in subsequent <a href="https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_ListPolicyGenerationAssets.html">ListPolicyGenerationAssets</a> calls to retrieve additional assets. This token is only present when there are more generated policy assets available beyond the current response.</p>
|
|
101
|
+
* @public
|
|
102
|
+
*/
|
|
103
|
+
nextToken?: string | undefined;
|
|
104
|
+
}
|
|
3
105
|
/**
|
|
4
106
|
* @public
|
|
5
107
|
*/
|
|
@@ -45,6 +45,7 @@ export declare var CodeConfiguration$: StaticStructureSchema;
|
|
|
45
45
|
export declare var CodeInterpreterNetworkConfiguration$: StaticStructureSchema;
|
|
46
46
|
export declare var CodeInterpreterSummary$: StaticStructureSchema;
|
|
47
47
|
export declare var ContainerConfiguration$: StaticStructureSchema;
|
|
48
|
+
export declare var ContentConfiguration$: StaticStructureSchema;
|
|
48
49
|
export declare var CreateAgentRuntimeEndpointRequest$: StaticStructureSchema;
|
|
49
50
|
export declare var CreateAgentRuntimeEndpointResponse$: StaticStructureSchema;
|
|
50
51
|
export declare var CreateAgentRuntimeRequest$: StaticStructureSchema;
|
|
@@ -178,6 +179,7 @@ export declare var InferenceConfiguration$: StaticStructureSchema;
|
|
|
178
179
|
export declare var InterceptorInputConfiguration$: StaticStructureSchema;
|
|
179
180
|
export declare var InvocationConfiguration$: StaticStructureSchema;
|
|
180
181
|
export declare var InvocationConfigurationInput$: StaticStructureSchema;
|
|
182
|
+
export declare var KinesisResource$: StaticStructureSchema;
|
|
181
183
|
export declare var KmsConfiguration$: StaticStructureSchema;
|
|
182
184
|
export declare var LambdaInterceptorConfiguration$: StaticStructureSchema;
|
|
183
185
|
export declare var LifecycleConfiguration$: StaticStructureSchema;
|
|
@@ -279,6 +281,7 @@ export declare var SlackOauth2ProviderConfigOutput$: StaticStructureSchema;
|
|
|
279
281
|
export declare var StartPolicyGenerationRequest$: StaticStructureSchema;
|
|
280
282
|
export declare var StartPolicyGenerationResponse$: StaticStructureSchema;
|
|
281
283
|
export declare var StrategyConfiguration$: StaticStructureSchema;
|
|
284
|
+
export declare var StreamDeliveryResources$: StaticStructureSchema;
|
|
282
285
|
export declare var SummaryConsolidationOverride$: StaticStructureSchema;
|
|
283
286
|
export declare var SummaryMemoryStrategyInput$: StaticStructureSchema;
|
|
284
287
|
export declare var SummaryOverrideConfigurationInput$: StaticStructureSchema;
|
|
@@ -366,6 +369,7 @@ export declare var RatingScale$: StaticUnionSchema;
|
|
|
366
369
|
export declare var ReflectionConfiguration$: StaticUnionSchema;
|
|
367
370
|
export declare var RequestHeaderConfiguration$: StaticUnionSchema;
|
|
368
371
|
export declare var Resource$: StaticUnionSchema;
|
|
372
|
+
export declare var StreamDeliveryResource$: StaticUnionSchema;
|
|
369
373
|
export declare var TargetConfiguration$: StaticUnionSchema;
|
|
370
374
|
export declare var ToolSchema$: StaticUnionSchema;
|
|
371
375
|
export declare var TriggerCondition$: StaticUnionSchema;
|
|
@@ -5,10 +5,8 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../BedrockAgentCoreControlClient";
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
ListPolicyGenerationAssetsResponse,
|
|
11
|
-
} from "../models/models_0";
|
|
8
|
+
import { ListPolicyGenerationAssetsRequest } from "../models/models_0";
|
|
9
|
+
import { ListPolicyGenerationAssetsResponse } from "../models/models_1";
|
|
12
10
|
export { __MetadataBearer };
|
|
13
11
|
export { $Command };
|
|
14
12
|
export interface ListPolicyGenerationAssetsCommandInput
|
|
@@ -224,6 +224,15 @@ export declare const KeyType: {
|
|
|
224
224
|
readonly ServiceManagedKey: "ServiceManagedKey";
|
|
225
225
|
};
|
|
226
226
|
export type KeyType = (typeof KeyType)[keyof typeof KeyType];
|
|
227
|
+
export declare const ContentLevel: {
|
|
228
|
+
readonly FULL_CONTENT: "FULL_CONTENT";
|
|
229
|
+
readonly METADATA_ONLY: "METADATA_ONLY";
|
|
230
|
+
};
|
|
231
|
+
export type ContentLevel = (typeof ContentLevel)[keyof typeof ContentLevel];
|
|
232
|
+
export declare const ContentType: {
|
|
233
|
+
readonly MEMORY_RECORDS: "MEMORY_RECORDS";
|
|
234
|
+
};
|
|
235
|
+
export type ContentType = (typeof ContentType)[keyof typeof ContentType];
|
|
227
236
|
export declare const MemoryStatus: {
|
|
228
237
|
readonly ACTIVE: "ACTIVE";
|
|
229
238
|
readonly CREATING: "CREATING";
|
|
@@ -11,6 +11,8 @@ import {
|
|
|
11
11
|
ClaimMatchOperatorType,
|
|
12
12
|
CodeInterpreterNetworkMode,
|
|
13
13
|
CodeInterpreterStatus,
|
|
14
|
+
ContentLevel,
|
|
15
|
+
ContentType,
|
|
14
16
|
CredentialProviderType,
|
|
15
17
|
CredentialProviderVendorType,
|
|
16
18
|
EvaluatorLevel,
|
|
@@ -18,7 +20,6 @@ import {
|
|
|
18
20
|
EvaluatorType,
|
|
19
21
|
ExceptionLevel,
|
|
20
22
|
FilterOperator,
|
|
21
|
-
FindingType,
|
|
22
23
|
GatewayInterceptionPoint,
|
|
23
24
|
GatewayPolicyEngineMode,
|
|
24
25
|
GatewayProtocolType,
|
|
@@ -1389,6 +1390,34 @@ export declare namespace MemoryStrategyInput {
|
|
|
1389
1390
|
_: (name: string, value: any) => T;
|
|
1390
1391
|
}
|
|
1391
1392
|
}
|
|
1393
|
+
export interface ContentConfiguration {
|
|
1394
|
+
type: ContentType | undefined;
|
|
1395
|
+
level?: ContentLevel | undefined;
|
|
1396
|
+
}
|
|
1397
|
+
export interface KinesisResource {
|
|
1398
|
+
dataStreamArn: string | undefined;
|
|
1399
|
+
contentConfigurations: ContentConfiguration[] | undefined;
|
|
1400
|
+
}
|
|
1401
|
+
export type StreamDeliveryResource =
|
|
1402
|
+
| StreamDeliveryResource.KinesisMember
|
|
1403
|
+
| StreamDeliveryResource.$UnknownMember;
|
|
1404
|
+
export declare namespace StreamDeliveryResource {
|
|
1405
|
+
interface KinesisMember {
|
|
1406
|
+
kinesis: KinesisResource;
|
|
1407
|
+
$unknown?: never;
|
|
1408
|
+
}
|
|
1409
|
+
interface $UnknownMember {
|
|
1410
|
+
kinesis?: never;
|
|
1411
|
+
$unknown: [string, any];
|
|
1412
|
+
}
|
|
1413
|
+
interface Visitor<T> {
|
|
1414
|
+
kinesis: (value: KinesisResource) => T;
|
|
1415
|
+
_: (name: string, value: any) => T;
|
|
1416
|
+
}
|
|
1417
|
+
}
|
|
1418
|
+
export interface StreamDeliveryResources {
|
|
1419
|
+
resources: StreamDeliveryResource[] | undefined;
|
|
1420
|
+
}
|
|
1392
1421
|
export interface CreateMemoryInput {
|
|
1393
1422
|
clientToken?: string | undefined;
|
|
1394
1423
|
name: string | undefined;
|
|
@@ -1397,6 +1426,7 @@ export interface CreateMemoryInput {
|
|
|
1397
1426
|
memoryExecutionRoleArn?: string | undefined;
|
|
1398
1427
|
eventExpiryDuration: number | undefined;
|
|
1399
1428
|
memoryStrategies?: MemoryStrategyInput[] | undefined;
|
|
1429
|
+
streamDeliveryResources?: StreamDeliveryResources | undefined;
|
|
1400
1430
|
tags?: Record<string, string> | undefined;
|
|
1401
1431
|
}
|
|
1402
1432
|
export interface EpisodicConsolidationOverride {
|
|
@@ -1693,6 +1723,7 @@ export interface Memory {
|
|
|
1693
1723
|
createdAt: Date | undefined;
|
|
1694
1724
|
updatedAt: Date | undefined;
|
|
1695
1725
|
strategies?: MemoryStrategy[] | undefined;
|
|
1726
|
+
streamDeliveryResources?: StreamDeliveryResources | undefined;
|
|
1696
1727
|
}
|
|
1697
1728
|
export interface CreateMemoryOutput {
|
|
1698
1729
|
memory?: Memory | undefined;
|
|
@@ -1951,6 +1982,7 @@ export interface UpdateMemoryInput {
|
|
|
1951
1982
|
eventExpiryDuration?: number | undefined;
|
|
1952
1983
|
memoryExecutionRoleArn?: string | undefined;
|
|
1953
1984
|
memoryStrategies?: ModifyMemoryStrategies | undefined;
|
|
1985
|
+
streamDeliveryResources?: StreamDeliveryResources | undefined;
|
|
1954
1986
|
}
|
|
1955
1987
|
export interface UpdateMemoryOutput {
|
|
1956
1988
|
memory?: Memory | undefined;
|
|
@@ -2745,43 +2777,3 @@ export interface PolicyGenerationDetails {
|
|
|
2745
2777
|
policyGenerationId: string | undefined;
|
|
2746
2778
|
policyGenerationAssetId: string | undefined;
|
|
2747
2779
|
}
|
|
2748
|
-
export type PolicyDefinition =
|
|
2749
|
-
| PolicyDefinition.CedarMember
|
|
2750
|
-
| PolicyDefinition.PolicyGenerationMember
|
|
2751
|
-
| PolicyDefinition.$UnknownMember;
|
|
2752
|
-
export declare namespace PolicyDefinition {
|
|
2753
|
-
interface CedarMember {
|
|
2754
|
-
cedar: CedarPolicy;
|
|
2755
|
-
policyGeneration?: never;
|
|
2756
|
-
$unknown?: never;
|
|
2757
|
-
}
|
|
2758
|
-
interface PolicyGenerationMember {
|
|
2759
|
-
cedar?: never;
|
|
2760
|
-
policyGeneration: PolicyGenerationDetails;
|
|
2761
|
-
$unknown?: never;
|
|
2762
|
-
}
|
|
2763
|
-
interface $UnknownMember {
|
|
2764
|
-
cedar?: never;
|
|
2765
|
-
policyGeneration?: never;
|
|
2766
|
-
$unknown: [string, any];
|
|
2767
|
-
}
|
|
2768
|
-
interface Visitor<T> {
|
|
2769
|
-
cedar: (value: CedarPolicy) => T;
|
|
2770
|
-
policyGeneration: (value: PolicyGenerationDetails) => T;
|
|
2771
|
-
_: (name: string, value: any) => T;
|
|
2772
|
-
}
|
|
2773
|
-
}
|
|
2774
|
-
export interface Finding {
|
|
2775
|
-
type?: FindingType | undefined;
|
|
2776
|
-
description?: string | undefined;
|
|
2777
|
-
}
|
|
2778
|
-
export interface PolicyGenerationAsset {
|
|
2779
|
-
policyGenerationAssetId: string | undefined;
|
|
2780
|
-
definition?: PolicyDefinition | undefined;
|
|
2781
|
-
rawTextFragment: string | undefined;
|
|
2782
|
-
findings: Finding[] | undefined;
|
|
2783
|
-
}
|
|
2784
|
-
export interface ListPolicyGenerationAssetsResponse {
|
|
2785
|
-
policyGenerationAssets?: PolicyGenerationAsset[] | undefined;
|
|
2786
|
-
nextToken?: string | undefined;
|
|
2787
|
-
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import {
|
|
2
|
+
FindingType,
|
|
2
3
|
PolicyGenerationStatus,
|
|
3
4
|
PolicyStatus,
|
|
4
5
|
PolicyValidationMode,
|
|
@@ -8,15 +9,56 @@ import {
|
|
|
8
9
|
import {
|
|
9
10
|
KmsConfiguration,
|
|
10
11
|
MetadataConfiguration,
|
|
11
|
-
PolicyDefinition,
|
|
12
12
|
Resource,
|
|
13
13
|
UpdatedDescription,
|
|
14
14
|
ApiGatewayTargetConfiguration,
|
|
15
15
|
ApiSchemaConfiguration,
|
|
16
|
+
CedarPolicy,
|
|
16
17
|
CredentialProviderConfiguration,
|
|
17
18
|
McpServerTargetConfiguration,
|
|
19
|
+
PolicyGenerationDetails,
|
|
18
20
|
S3Configuration,
|
|
19
21
|
} from "./models_0";
|
|
22
|
+
export type PolicyDefinition =
|
|
23
|
+
| PolicyDefinition.CedarMember
|
|
24
|
+
| PolicyDefinition.PolicyGenerationMember
|
|
25
|
+
| PolicyDefinition.$UnknownMember;
|
|
26
|
+
export declare namespace PolicyDefinition {
|
|
27
|
+
interface CedarMember {
|
|
28
|
+
cedar: CedarPolicy;
|
|
29
|
+
policyGeneration?: never;
|
|
30
|
+
$unknown?: never;
|
|
31
|
+
}
|
|
32
|
+
interface PolicyGenerationMember {
|
|
33
|
+
cedar?: never;
|
|
34
|
+
policyGeneration: PolicyGenerationDetails;
|
|
35
|
+
$unknown?: never;
|
|
36
|
+
}
|
|
37
|
+
interface $UnknownMember {
|
|
38
|
+
cedar?: never;
|
|
39
|
+
policyGeneration?: never;
|
|
40
|
+
$unknown: [string, any];
|
|
41
|
+
}
|
|
42
|
+
interface Visitor<T> {
|
|
43
|
+
cedar: (value: CedarPolicy) => T;
|
|
44
|
+
policyGeneration: (value: PolicyGenerationDetails) => T;
|
|
45
|
+
_: (name: string, value: any) => T;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
export interface Finding {
|
|
49
|
+
type?: FindingType | undefined;
|
|
50
|
+
description?: string | undefined;
|
|
51
|
+
}
|
|
52
|
+
export interface PolicyGenerationAsset {
|
|
53
|
+
policyGenerationAssetId: string | undefined;
|
|
54
|
+
definition?: PolicyDefinition | undefined;
|
|
55
|
+
rawTextFragment: string | undefined;
|
|
56
|
+
findings: Finding[] | undefined;
|
|
57
|
+
}
|
|
58
|
+
export interface ListPolicyGenerationAssetsResponse {
|
|
59
|
+
policyGenerationAssets?: PolicyGenerationAsset[] | undefined;
|
|
60
|
+
nextToken?: string | undefined;
|
|
61
|
+
}
|
|
20
62
|
export interface ListPolicyGenerationsRequest {
|
|
21
63
|
nextToken?: string | undefined;
|
|
22
64
|
maxResults?: number | undefined;
|
|
@@ -45,6 +45,7 @@ export declare var CodeConfiguration$: StaticStructureSchema;
|
|
|
45
45
|
export declare var CodeInterpreterNetworkConfiguration$: StaticStructureSchema;
|
|
46
46
|
export declare var CodeInterpreterSummary$: StaticStructureSchema;
|
|
47
47
|
export declare var ContainerConfiguration$: StaticStructureSchema;
|
|
48
|
+
export declare var ContentConfiguration$: StaticStructureSchema;
|
|
48
49
|
export declare var CreateAgentRuntimeEndpointRequest$: StaticStructureSchema;
|
|
49
50
|
export declare var CreateAgentRuntimeEndpointResponse$: StaticStructureSchema;
|
|
50
51
|
export declare var CreateAgentRuntimeRequest$: StaticStructureSchema;
|
|
@@ -178,6 +179,7 @@ export declare var InferenceConfiguration$: StaticStructureSchema;
|
|
|
178
179
|
export declare var InterceptorInputConfiguration$: StaticStructureSchema;
|
|
179
180
|
export declare var InvocationConfiguration$: StaticStructureSchema;
|
|
180
181
|
export declare var InvocationConfigurationInput$: StaticStructureSchema;
|
|
182
|
+
export declare var KinesisResource$: StaticStructureSchema;
|
|
181
183
|
export declare var KmsConfiguration$: StaticStructureSchema;
|
|
182
184
|
export declare var LambdaInterceptorConfiguration$: StaticStructureSchema;
|
|
183
185
|
export declare var LifecycleConfiguration$: StaticStructureSchema;
|
|
@@ -279,6 +281,7 @@ export declare var SlackOauth2ProviderConfigOutput$: StaticStructureSchema;
|
|
|
279
281
|
export declare var StartPolicyGenerationRequest$: StaticStructureSchema;
|
|
280
282
|
export declare var StartPolicyGenerationResponse$: StaticStructureSchema;
|
|
281
283
|
export declare var StrategyConfiguration$: StaticStructureSchema;
|
|
284
|
+
export declare var StreamDeliveryResources$: StaticStructureSchema;
|
|
282
285
|
export declare var SummaryConsolidationOverride$: StaticStructureSchema;
|
|
283
286
|
export declare var SummaryMemoryStrategyInput$: StaticStructureSchema;
|
|
284
287
|
export declare var SummaryOverrideConfigurationInput$: StaticStructureSchema;
|
|
@@ -366,6 +369,7 @@ export declare var RatingScale$: StaticUnionSchema;
|
|
|
366
369
|
export declare var ReflectionConfiguration$: StaticUnionSchema;
|
|
367
370
|
export declare var RequestHeaderConfiguration$: StaticUnionSchema;
|
|
368
371
|
export declare var Resource$: StaticUnionSchema;
|
|
372
|
+
export declare var StreamDeliveryResource$: StaticUnionSchema;
|
|
369
373
|
export declare var TargetConfiguration$: StaticUnionSchema;
|
|
370
374
|
export declare var ToolSchema$: StaticUnionSchema;
|
|
371
375
|
export declare var TriggerCondition$: StaticUnionSchema;
|