@aws-sdk/client-bedrock-agentcore-control 3.1011.0 → 3.1013.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 +5 -0
- package/dist-cjs/schemas/schemas_0.js +73 -31
- package/dist-es/models/enums.js +4 -0
- package/dist-es/schemas/schemas_0.js +63 -21
- package/dist-types/commands/CreateBrowserCommand.d.ts +21 -0
- package/dist-types/commands/CreateCodeInterpreterCommand.d.ts +9 -0
- package/dist-types/commands/GetBrowserCommand.d.ts +21 -0
- package/dist-types/commands/GetCodeInterpreterCommand.d.ts +9 -0
- package/dist-types/commands/GetPolicyGenerationCommand.d.ts +2 -1
- package/dist-types/commands/ListPolicyGenerationAssetsCommand.d.ts +1 -2
- package/dist-types/models/enums.d.ts +12 -0
- package/dist-types/models/models_0.d.ts +135 -141
- package/dist-types/models/models_1.d.ts +141 -1
- package/dist-types/schemas/schemas_0.d.ts +5 -0
- package/dist-types/ts3.4/commands/GetPolicyGenerationCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ListPolicyGenerationAssetsCommand.d.ts +4 -2
- package/dist-types/ts3.4/models/enums.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +51 -41
- package/dist-types/ts3.4/models/models_1.d.ts +40 -3
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +5 -0
- package/package.json +13 -13
|
@@ -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, 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,
|
|
2
|
+
import { AgentManagedRuntimeType, AgentRuntimeEndpointStatus, AgentRuntimeStatus, ApiKeyCredentialLocation, AuthorizerType, BrowserEnterprisePolicyType, 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, ResourceType, RestApiMethod, SearchType, ServerProtocol, TargetStatus } from "./enums";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -1678,6 +1678,110 @@ export interface BrowserSigningConfigInput {
|
|
|
1678
1678
|
*/
|
|
1679
1679
|
enabled: boolean | undefined;
|
|
1680
1680
|
}
|
|
1681
|
+
/**
|
|
1682
|
+
* <p>The Amazon Web Services Secrets Manager location configuration.</p>
|
|
1683
|
+
* @public
|
|
1684
|
+
*/
|
|
1685
|
+
export interface SecretsManagerLocation {
|
|
1686
|
+
/**
|
|
1687
|
+
* <p>The ARN of the Amazon Web Services Secrets Manager secret containing the certificate.</p>
|
|
1688
|
+
* @public
|
|
1689
|
+
*/
|
|
1690
|
+
secretArn: string | undefined;
|
|
1691
|
+
}
|
|
1692
|
+
/**
|
|
1693
|
+
* <p>The location from which to retrieve a certificate.</p>
|
|
1694
|
+
* @public
|
|
1695
|
+
*/
|
|
1696
|
+
export type CertificateLocation = CertificateLocation.SecretsManagerMember | CertificateLocation.$UnknownMember;
|
|
1697
|
+
/**
|
|
1698
|
+
* @public
|
|
1699
|
+
*/
|
|
1700
|
+
export declare namespace CertificateLocation {
|
|
1701
|
+
/**
|
|
1702
|
+
* <p>The Amazon Web Services Secrets Manager location of the certificate.</p>
|
|
1703
|
+
* @public
|
|
1704
|
+
*/
|
|
1705
|
+
interface SecretsManagerMember {
|
|
1706
|
+
secretsManager: SecretsManagerLocation;
|
|
1707
|
+
$unknown?: never;
|
|
1708
|
+
}
|
|
1709
|
+
/**
|
|
1710
|
+
* @public
|
|
1711
|
+
*/
|
|
1712
|
+
interface $UnknownMember {
|
|
1713
|
+
secretsManager?: never;
|
|
1714
|
+
$unknown: [string, any];
|
|
1715
|
+
}
|
|
1716
|
+
/**
|
|
1717
|
+
* @deprecated unused in schema-serde mode.
|
|
1718
|
+
*
|
|
1719
|
+
*/
|
|
1720
|
+
interface Visitor<T> {
|
|
1721
|
+
secretsManager: (value: SecretsManagerLocation) => T;
|
|
1722
|
+
_: (name: string, value: any) => T;
|
|
1723
|
+
}
|
|
1724
|
+
}
|
|
1725
|
+
/**
|
|
1726
|
+
* <p>A certificate to install in the browser or code interpreter.</p>
|
|
1727
|
+
* @public
|
|
1728
|
+
*/
|
|
1729
|
+
export interface Certificate {
|
|
1730
|
+
/**
|
|
1731
|
+
* <p>The location of the certificate.</p>
|
|
1732
|
+
* @public
|
|
1733
|
+
*/
|
|
1734
|
+
location: CertificateLocation | undefined;
|
|
1735
|
+
}
|
|
1736
|
+
/**
|
|
1737
|
+
* <p>The location of a resource.</p>
|
|
1738
|
+
* @public
|
|
1739
|
+
*/
|
|
1740
|
+
export type ResourceLocation = ResourceLocation.S3Member | ResourceLocation.$UnknownMember;
|
|
1741
|
+
/**
|
|
1742
|
+
* @public
|
|
1743
|
+
*/
|
|
1744
|
+
export declare namespace ResourceLocation {
|
|
1745
|
+
/**
|
|
1746
|
+
* <p>The Amazon S3 location for storing data. This structure defines where in Amazon S3 data is stored.</p>
|
|
1747
|
+
* @public
|
|
1748
|
+
*/
|
|
1749
|
+
interface S3Member {
|
|
1750
|
+
s3: S3Location;
|
|
1751
|
+
$unknown?: never;
|
|
1752
|
+
}
|
|
1753
|
+
/**
|
|
1754
|
+
* @public
|
|
1755
|
+
*/
|
|
1756
|
+
interface $UnknownMember {
|
|
1757
|
+
s3?: never;
|
|
1758
|
+
$unknown: [string, any];
|
|
1759
|
+
}
|
|
1760
|
+
/**
|
|
1761
|
+
* @deprecated unused in schema-serde mode.
|
|
1762
|
+
*
|
|
1763
|
+
*/
|
|
1764
|
+
interface Visitor<T> {
|
|
1765
|
+
s3: (value: S3Location) => T;
|
|
1766
|
+
_: (name: string, value: any) => T;
|
|
1767
|
+
}
|
|
1768
|
+
}
|
|
1769
|
+
/**
|
|
1770
|
+
* <p>Browser enterprise policy configuration.</p>
|
|
1771
|
+
* @public
|
|
1772
|
+
*/
|
|
1773
|
+
export interface BrowserEnterprisePolicy {
|
|
1774
|
+
/**
|
|
1775
|
+
* <p>The location of the enterprise policy file.</p>
|
|
1776
|
+
* @public
|
|
1777
|
+
*/
|
|
1778
|
+
location: ResourceLocation | undefined;
|
|
1779
|
+
/**
|
|
1780
|
+
* <p>The type of browser enterprise policy. Available values are <code>MANAGED</code> and <code>RECOMMENDED</code>.</p>
|
|
1781
|
+
* @public
|
|
1782
|
+
*/
|
|
1783
|
+
type?: BrowserEnterprisePolicyType | undefined;
|
|
1784
|
+
}
|
|
1681
1785
|
/**
|
|
1682
1786
|
* <p>The network configuration for a browser. This structure defines how the browser connects to the network.</p>
|
|
1683
1787
|
* @public
|
|
@@ -1744,6 +1848,16 @@ export interface CreateBrowserRequest {
|
|
|
1744
1848
|
* @public
|
|
1745
1849
|
*/
|
|
1746
1850
|
browserSigning?: BrowserSigningConfigInput | undefined;
|
|
1851
|
+
/**
|
|
1852
|
+
* <p>A list of enterprise policy files for the browser.</p>
|
|
1853
|
+
* @public
|
|
1854
|
+
*/
|
|
1855
|
+
enterprisePolicies?: BrowserEnterprisePolicy[] | undefined;
|
|
1856
|
+
/**
|
|
1857
|
+
* <p>A list of certificates to install in the browser.</p>
|
|
1858
|
+
* @public
|
|
1859
|
+
*/
|
|
1860
|
+
certificates?: Certificate[] | undefined;
|
|
1747
1861
|
/**
|
|
1748
1862
|
* <p>A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, Amazon Bedrock AgentCore ignores the request but does not return an error.</p>
|
|
1749
1863
|
* @public
|
|
@@ -1880,6 +1994,16 @@ export interface GetBrowserResponse {
|
|
|
1880
1994
|
* @public
|
|
1881
1995
|
*/
|
|
1882
1996
|
browserSigning?: BrowserSigningConfigOutput | undefined;
|
|
1997
|
+
/**
|
|
1998
|
+
* <p>The list of enterprise policy files configured for the browser.</p>
|
|
1999
|
+
* @public
|
|
2000
|
+
*/
|
|
2001
|
+
enterprisePolicies?: BrowserEnterprisePolicy[] | undefined;
|
|
2002
|
+
/**
|
|
2003
|
+
* <p>The list of certificates configured for the browser.</p>
|
|
2004
|
+
* @public
|
|
2005
|
+
*/
|
|
2006
|
+
certificates?: Certificate[] | undefined;
|
|
1883
2007
|
/**
|
|
1884
2008
|
* <p>The current status of the browser.</p>
|
|
1885
2009
|
* @public
|
|
@@ -2017,6 +2141,11 @@ export interface CreateCodeInterpreterRequest {
|
|
|
2017
2141
|
* @public
|
|
2018
2142
|
*/
|
|
2019
2143
|
networkConfiguration: CodeInterpreterNetworkConfiguration | undefined;
|
|
2144
|
+
/**
|
|
2145
|
+
* <p>A list of certificates to install in the code interpreter.</p>
|
|
2146
|
+
* @public
|
|
2147
|
+
*/
|
|
2148
|
+
certificates?: Certificate[] | undefined;
|
|
2020
2149
|
/**
|
|
2021
2150
|
* <p>A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, Amazon Bedrock AgentCore ignores the request but does not return an error.</p>
|
|
2022
2151
|
* @public
|
|
@@ -2137,6 +2266,11 @@ export interface GetCodeInterpreterResponse {
|
|
|
2137
2266
|
* @public
|
|
2138
2267
|
*/
|
|
2139
2268
|
status: CodeInterpreterStatus | undefined;
|
|
2269
|
+
/**
|
|
2270
|
+
* <p>The list of certificates configured for the code interpreter.</p>
|
|
2271
|
+
* @public
|
|
2272
|
+
*/
|
|
2273
|
+
certificates?: Certificate[] | undefined;
|
|
2140
2274
|
/**
|
|
2141
2275
|
* <p>The reason for failure if the code interpreter is in a failed state.</p>
|
|
2142
2276
|
* @public
|
|
@@ -8065,143 +8199,3 @@ export interface GetPolicyGenerationRequest {
|
|
|
8065
8199
|
*/
|
|
8066
8200
|
policyEngineId: string | undefined;
|
|
8067
8201
|
}
|
|
8068
|
-
/**
|
|
8069
|
-
* <p>Represents a resource within the AgentCore Policy system. Resources are the targets of policy evaluation. Currently, only AgentCore Gateways are supported as resources for policy enforcement.</p>
|
|
8070
|
-
* @public
|
|
8071
|
-
*/
|
|
8072
|
-
export type Resource = Resource.ArnMember | Resource.$UnknownMember;
|
|
8073
|
-
/**
|
|
8074
|
-
* @public
|
|
8075
|
-
*/
|
|
8076
|
-
export declare namespace Resource {
|
|
8077
|
-
/**
|
|
8078
|
-
* <p>The Amazon Resource Name (ARN) of the resource. This globally unique identifier specifies the exact resource that policies will be evaluated against for access control decisions. </p>
|
|
8079
|
-
* @public
|
|
8080
|
-
*/
|
|
8081
|
-
interface ArnMember {
|
|
8082
|
-
arn: string;
|
|
8083
|
-
$unknown?: never;
|
|
8084
|
-
}
|
|
8085
|
-
/**
|
|
8086
|
-
* @public
|
|
8087
|
-
*/
|
|
8088
|
-
interface $UnknownMember {
|
|
8089
|
-
arn?: never;
|
|
8090
|
-
$unknown: [string, any];
|
|
8091
|
-
}
|
|
8092
|
-
/**
|
|
8093
|
-
* @deprecated unused in schema-serde mode.
|
|
8094
|
-
*
|
|
8095
|
-
*/
|
|
8096
|
-
interface Visitor<T> {
|
|
8097
|
-
arn: (value: string) => T;
|
|
8098
|
-
_: (name: string, value: any) => T;
|
|
8099
|
-
}
|
|
8100
|
-
}
|
|
8101
|
-
/**
|
|
8102
|
-
* @public
|
|
8103
|
-
*/
|
|
8104
|
-
export interface GetPolicyGenerationResponse {
|
|
8105
|
-
/**
|
|
8106
|
-
* <p>The identifier of the policy engine associated with this policy generation. This confirms the policy engine context for the generation operation.</p>
|
|
8107
|
-
* @public
|
|
8108
|
-
*/
|
|
8109
|
-
policyEngineId: string | undefined;
|
|
8110
|
-
/**
|
|
8111
|
-
* <p>The unique identifier of the policy generation request. This matches the generation ID provided in the request and serves as the tracking identifier.</p>
|
|
8112
|
-
* @public
|
|
8113
|
-
*/
|
|
8114
|
-
policyGenerationId: string | undefined;
|
|
8115
|
-
/**
|
|
8116
|
-
* <p>The customer-assigned name for the policy generation request. This helps identify and track generation operations across multiple requests.</p>
|
|
8117
|
-
* @public
|
|
8118
|
-
*/
|
|
8119
|
-
name: string | undefined;
|
|
8120
|
-
/**
|
|
8121
|
-
* <p>The Amazon Resource Name (ARN) of the policy generation. This globally unique identifier can be used for tracking, auditing, and cross-service references.</p>
|
|
8122
|
-
* @public
|
|
8123
|
-
*/
|
|
8124
|
-
policyGenerationArn: string | undefined;
|
|
8125
|
-
/**
|
|
8126
|
-
* <p>The resource information associated with the policy generation. This provides context about the target resources for which the policies are being generated.</p>
|
|
8127
|
-
* @public
|
|
8128
|
-
*/
|
|
8129
|
-
resource: Resource | undefined;
|
|
8130
|
-
/**
|
|
8131
|
-
* <p>The timestamp when the policy generation request was created. This is used for tracking and auditing generation operations and their lifecycle.</p>
|
|
8132
|
-
* @public
|
|
8133
|
-
*/
|
|
8134
|
-
createdAt: Date | undefined;
|
|
8135
|
-
/**
|
|
8136
|
-
* <p>The timestamp when the policy generation was last updated. This tracks the progress of the generation process and any status changes.</p>
|
|
8137
|
-
* @public
|
|
8138
|
-
*/
|
|
8139
|
-
updatedAt: Date | undefined;
|
|
8140
|
-
/**
|
|
8141
|
-
* <p>The current status of the policy generation. This indicates whether the generation is in progress, completed successfully, or failed during processing.</p>
|
|
8142
|
-
* @public
|
|
8143
|
-
*/
|
|
8144
|
-
status: PolicyGenerationStatus | undefined;
|
|
8145
|
-
/**
|
|
8146
|
-
* <p>Additional information about the generation status. This provides details about any failures, warnings, or the current state of the generation process.</p>
|
|
8147
|
-
* @public
|
|
8148
|
-
*/
|
|
8149
|
-
statusReasons: string[] | undefined;
|
|
8150
|
-
/**
|
|
8151
|
-
* <p>The findings and results from the policy generation process. This includes any issues, recommendations, validation results, or insights from the generated policies.</p>
|
|
8152
|
-
* @public
|
|
8153
|
-
*/
|
|
8154
|
-
findings?: string | undefined;
|
|
8155
|
-
}
|
|
8156
|
-
/**
|
|
8157
|
-
* @public
|
|
8158
|
-
*/
|
|
8159
|
-
export interface ListPolicyGenerationAssetsRequest {
|
|
8160
|
-
/**
|
|
8161
|
-
* <p>The unique identifier of the policy generation request whose assets are to be retrieved. This must be a valid generation ID from a previous <a href="https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_StartPolicyGeneration.html">StartPolicyGeneration</a> call that has completed processing.</p>
|
|
8162
|
-
* @public
|
|
8163
|
-
*/
|
|
8164
|
-
policyGenerationId: string | undefined;
|
|
8165
|
-
/**
|
|
8166
|
-
* <p>The unique identifier of the policy engine associated with the policy generation request. This provides the context for the generation operation and ensures assets are retrieved from the correct policy engine.</p>
|
|
8167
|
-
* @public
|
|
8168
|
-
*/
|
|
8169
|
-
policyEngineId: string | undefined;
|
|
8170
|
-
/**
|
|
8171
|
-
* <p>A pagination token returned from a previous <a href="https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_ListPolicyGenerationAssets.html">ListPolicyGenerationAssets</a> call. Use this token to retrieve the next page of assets when the response is paginated due to large numbers of generated policy options.</p>
|
|
8172
|
-
* @public
|
|
8173
|
-
*/
|
|
8174
|
-
nextToken?: string | undefined;
|
|
8175
|
-
/**
|
|
8176
|
-
* <p>The maximum number of policy generation assets to return in a single response. If not specified, the default is 10 assets per page, with a maximum of 100 per page. This helps control response size when dealing with policy generations that produce many alternative policy options.</p>
|
|
8177
|
-
* @public
|
|
8178
|
-
*/
|
|
8179
|
-
maxResults?: number | undefined;
|
|
8180
|
-
}
|
|
8181
|
-
/**
|
|
8182
|
-
* <p>Represents a Cedar policy statement within the AgentCore Policy system. Cedar is a policy language designed for authorization that provides human-readable, analyzable, and high-performance policy evaluation for controlling agent behavior and access decisions. </p>
|
|
8183
|
-
* @public
|
|
8184
|
-
*/
|
|
8185
|
-
export interface CedarPolicy {
|
|
8186
|
-
/**
|
|
8187
|
-
* <p>The Cedar policy statement that defines the authorization logic. This statement follows Cedar syntax and specifies principals, actions, resources, and conditions that determine when access should be allowed or denied.</p>
|
|
8188
|
-
* @public
|
|
8189
|
-
*/
|
|
8190
|
-
statement: string | undefined;
|
|
8191
|
-
}
|
|
8192
|
-
/**
|
|
8193
|
-
* <p>Represents the 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>
|
|
8194
|
-
* @public
|
|
8195
|
-
*/
|
|
8196
|
-
export interface PolicyGenerationDetails {
|
|
8197
|
-
/**
|
|
8198
|
-
* <p>The unique identifier for this policy generation request.</p>
|
|
8199
|
-
* @public
|
|
8200
|
-
*/
|
|
8201
|
-
policyGenerationId: string | undefined;
|
|
8202
|
-
/**
|
|
8203
|
-
* <p>The unique identifier for this generated policy asset within the policy generation request.</p>
|
|
8204
|
-
* @public
|
|
8205
|
-
*/
|
|
8206
|
-
policyGenerationAssetId: string | undefined;
|
|
8207
|
-
}
|
|
@@ -1,5 +1,145 @@
|
|
|
1
1
|
import { FindingType, PolicyGenerationStatus, PolicyStatus, PolicyValidationMode, SchemaType, TargetStatus } from "./enums";
|
|
2
|
-
import { type KmsConfiguration, type MetadataConfiguration, type
|
|
2
|
+
import { type KmsConfiguration, type MetadataConfiguration, type UpdatedDescription, ApiGatewayTargetConfiguration, ApiSchemaConfiguration, CredentialProviderConfiguration, McpServerTargetConfiguration, S3Configuration } from "./models_0";
|
|
3
|
+
/**
|
|
4
|
+
* <p>Represents a resource within the AgentCore Policy system. Resources are the targets of policy evaluation. Currently, only AgentCore Gateways are supported as resources for policy enforcement.</p>
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export type Resource = Resource.ArnMember | Resource.$UnknownMember;
|
|
8
|
+
/**
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
export declare namespace Resource {
|
|
12
|
+
/**
|
|
13
|
+
* <p>The Amazon Resource Name (ARN) of the resource. This globally unique identifier specifies the exact resource that policies will be evaluated against for access control decisions. </p>
|
|
14
|
+
* @public
|
|
15
|
+
*/
|
|
16
|
+
interface ArnMember {
|
|
17
|
+
arn: string;
|
|
18
|
+
$unknown?: never;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
23
|
+
interface $UnknownMember {
|
|
24
|
+
arn?: never;
|
|
25
|
+
$unknown: [string, any];
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* @deprecated unused in schema-serde mode.
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
interface Visitor<T> {
|
|
32
|
+
arn: (value: string) => T;
|
|
33
|
+
_: (name: string, value: any) => T;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* @public
|
|
38
|
+
*/
|
|
39
|
+
export interface GetPolicyGenerationResponse {
|
|
40
|
+
/**
|
|
41
|
+
* <p>The identifier of the policy engine associated with this policy generation. This confirms the policy engine context for the generation operation.</p>
|
|
42
|
+
* @public
|
|
43
|
+
*/
|
|
44
|
+
policyEngineId: string | undefined;
|
|
45
|
+
/**
|
|
46
|
+
* <p>The unique identifier of the policy generation request. This matches the generation ID provided in the request and serves as the tracking identifier.</p>
|
|
47
|
+
* @public
|
|
48
|
+
*/
|
|
49
|
+
policyGenerationId: string | undefined;
|
|
50
|
+
/**
|
|
51
|
+
* <p>The customer-assigned name for the policy generation request. This helps identify and track generation operations across multiple requests.</p>
|
|
52
|
+
* @public
|
|
53
|
+
*/
|
|
54
|
+
name: string | undefined;
|
|
55
|
+
/**
|
|
56
|
+
* <p>The Amazon Resource Name (ARN) of the policy generation. This globally unique identifier can be used for tracking, auditing, and cross-service references.</p>
|
|
57
|
+
* @public
|
|
58
|
+
*/
|
|
59
|
+
policyGenerationArn: string | undefined;
|
|
60
|
+
/**
|
|
61
|
+
* <p>The resource information associated with the policy generation. This provides context about the target resources for which the policies are being generated.</p>
|
|
62
|
+
* @public
|
|
63
|
+
*/
|
|
64
|
+
resource: Resource | undefined;
|
|
65
|
+
/**
|
|
66
|
+
* <p>The timestamp when the policy generation request was created. This is used for tracking and auditing generation operations and their lifecycle.</p>
|
|
67
|
+
* @public
|
|
68
|
+
*/
|
|
69
|
+
createdAt: Date | undefined;
|
|
70
|
+
/**
|
|
71
|
+
* <p>The timestamp when the policy generation was last updated. This tracks the progress of the generation process and any status changes.</p>
|
|
72
|
+
* @public
|
|
73
|
+
*/
|
|
74
|
+
updatedAt: Date | undefined;
|
|
75
|
+
/**
|
|
76
|
+
* <p>The current status of the policy generation. This indicates whether the generation is in progress, completed successfully, or failed during processing.</p>
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
status: PolicyGenerationStatus | undefined;
|
|
80
|
+
/**
|
|
81
|
+
* <p>Additional information about the generation status. This provides details about any failures, warnings, or the current state of the generation process.</p>
|
|
82
|
+
* @public
|
|
83
|
+
*/
|
|
84
|
+
statusReasons: string[] | undefined;
|
|
85
|
+
/**
|
|
86
|
+
* <p>The findings and results from the policy generation process. This includes any issues, recommendations, validation results, or insights from the generated policies.</p>
|
|
87
|
+
* @public
|
|
88
|
+
*/
|
|
89
|
+
findings?: string | undefined;
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* @public
|
|
93
|
+
*/
|
|
94
|
+
export interface ListPolicyGenerationAssetsRequest {
|
|
95
|
+
/**
|
|
96
|
+
* <p>The unique identifier of the policy generation request whose assets are to be retrieved. This must be a valid generation ID from a previous <a href="https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_StartPolicyGeneration.html">StartPolicyGeneration</a> call that has completed processing.</p>
|
|
97
|
+
* @public
|
|
98
|
+
*/
|
|
99
|
+
policyGenerationId: string | undefined;
|
|
100
|
+
/**
|
|
101
|
+
* <p>The unique identifier of the policy engine associated with the policy generation request. This provides the context for the generation operation and ensures assets are retrieved from the correct policy engine.</p>
|
|
102
|
+
* @public
|
|
103
|
+
*/
|
|
104
|
+
policyEngineId: string | undefined;
|
|
105
|
+
/**
|
|
106
|
+
* <p>A pagination token returned from a previous <a href="https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_ListPolicyGenerationAssets.html">ListPolicyGenerationAssets</a> call. Use this token to retrieve the next page of assets when the response is paginated due to large numbers of generated policy options.</p>
|
|
107
|
+
* @public
|
|
108
|
+
*/
|
|
109
|
+
nextToken?: string | undefined;
|
|
110
|
+
/**
|
|
111
|
+
* <p>The maximum number of policy generation assets to return in a single response. If not specified, the default is 10 assets per page, with a maximum of 100 per page. This helps control response size when dealing with policy generations that produce many alternative policy options.</p>
|
|
112
|
+
* @public
|
|
113
|
+
*/
|
|
114
|
+
maxResults?: number | undefined;
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* <p>Represents a Cedar policy statement within the AgentCore Policy system. Cedar is a policy language designed for authorization that provides human-readable, analyzable, and high-performance policy evaluation for controlling agent behavior and access decisions. </p>
|
|
118
|
+
* @public
|
|
119
|
+
*/
|
|
120
|
+
export interface CedarPolicy {
|
|
121
|
+
/**
|
|
122
|
+
* <p>The Cedar policy statement that defines the authorization logic. This statement follows Cedar syntax and specifies principals, actions, resources, and conditions that determine when access should be allowed or denied.</p>
|
|
123
|
+
* @public
|
|
124
|
+
*/
|
|
125
|
+
statement: string | undefined;
|
|
126
|
+
}
|
|
127
|
+
/**
|
|
128
|
+
* <p>Represents the 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>
|
|
129
|
+
* @public
|
|
130
|
+
*/
|
|
131
|
+
export interface PolicyGenerationDetails {
|
|
132
|
+
/**
|
|
133
|
+
* <p>The unique identifier for this policy generation request.</p>
|
|
134
|
+
* @public
|
|
135
|
+
*/
|
|
136
|
+
policyGenerationId: string | undefined;
|
|
137
|
+
/**
|
|
138
|
+
* <p>The unique identifier for this generated policy asset within the policy generation request.</p>
|
|
139
|
+
* @public
|
|
140
|
+
*/
|
|
141
|
+
policyGenerationAssetId: string | undefined;
|
|
142
|
+
}
|
|
3
143
|
/**
|
|
4
144
|
* <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
145
|
* @public
|
|
@@ -32,6 +32,7 @@ export declare var AtlassianOauth2ProviderConfigInput$: StaticStructureSchema;
|
|
|
32
32
|
export declare var AtlassianOauth2ProviderConfigOutput$: StaticStructureSchema;
|
|
33
33
|
export declare var AuthorizingClaimMatchValueType$: StaticStructureSchema;
|
|
34
34
|
export declare var BedrockEvaluatorModelConfig$: StaticStructureSchema;
|
|
35
|
+
export declare var BrowserEnterprisePolicy$: StaticStructureSchema;
|
|
35
36
|
export declare var BrowserNetworkConfiguration$: StaticStructureSchema;
|
|
36
37
|
export declare var BrowserProfileSummary$: StaticStructureSchema;
|
|
37
38
|
export declare var BrowserSigningConfigInput$: StaticStructureSchema;
|
|
@@ -39,6 +40,7 @@ export declare var BrowserSigningConfigOutput$: StaticStructureSchema;
|
|
|
39
40
|
export declare var BrowserSummary$: StaticStructureSchema;
|
|
40
41
|
export declare var CategoricalScaleDefinition$: StaticStructureSchema;
|
|
41
42
|
export declare var CedarPolicy$: StaticStructureSchema;
|
|
43
|
+
export declare var Certificate$: StaticStructureSchema;
|
|
42
44
|
export declare var CloudWatchLogsInputConfig$: StaticStructureSchema;
|
|
43
45
|
export declare var CloudWatchOutputConfig$: StaticStructureSchema;
|
|
44
46
|
export declare var CodeConfiguration$: StaticStructureSchema;
|
|
@@ -265,6 +267,7 @@ export declare var SalesforceOauth2ProviderConfigOutput$: StaticStructureSchema;
|
|
|
265
267
|
export declare var SamplingConfig$: StaticStructureSchema;
|
|
266
268
|
export declare var SchemaDefinition$: StaticStructureSchema;
|
|
267
269
|
export declare var Secret$: StaticStructureSchema;
|
|
270
|
+
export declare var SecretsManagerLocation$: StaticStructureSchema;
|
|
268
271
|
export declare var SelfManagedConfiguration$: StaticStructureSchema;
|
|
269
272
|
export declare var SelfManagedConfigurationInput$: StaticStructureSchema;
|
|
270
273
|
export declare var SemanticConsolidationOverride$: StaticStructureSchema;
|
|
@@ -336,6 +339,7 @@ export declare var WorkloadIdentityType$: StaticStructureSchema;
|
|
|
336
339
|
export declare var AgentRuntimeArtifact$: StaticUnionSchema;
|
|
337
340
|
export declare var ApiSchemaConfiguration$: StaticUnionSchema;
|
|
338
341
|
export declare var AuthorizerConfiguration$: StaticUnionSchema;
|
|
342
|
+
export declare var CertificateLocation$: StaticUnionSchema;
|
|
339
343
|
export declare var ClaimMatchValueType$: StaticUnionSchema;
|
|
340
344
|
export declare var Code$: StaticUnionSchema;
|
|
341
345
|
export declare var ConsolidationConfiguration$: StaticUnionSchema;
|
|
@@ -369,6 +373,7 @@ export declare var RatingScale$: StaticUnionSchema;
|
|
|
369
373
|
export declare var ReflectionConfiguration$: StaticUnionSchema;
|
|
370
374
|
export declare var RequestHeaderConfiguration$: StaticUnionSchema;
|
|
371
375
|
export declare var Resource$: StaticUnionSchema;
|
|
376
|
+
export declare var ResourceLocation$: StaticUnionSchema;
|
|
372
377
|
export declare var StreamDeliveryResource$: StaticUnionSchema;
|
|
373
378
|
export declare var TargetConfiguration$: StaticUnionSchema;
|
|
374
379
|
export declare var ToolSchema$: StaticUnionSchema;
|
|
@@ -5,10 +5,8 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../BedrockAgentCoreControlClient";
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
GetPolicyGenerationResponse,
|
|
11
|
-
} from "../models/models_0";
|
|
8
|
+
import { GetPolicyGenerationRequest } from "../models/models_0";
|
|
9
|
+
import { GetPolicyGenerationResponse } from "../models/models_1";
|
|
12
10
|
export { __MetadataBearer };
|
|
13
11
|
export { $Command };
|
|
14
12
|
export interface GetPolicyGenerationCommandInput
|
|
@@ -5,8 +5,10 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../BedrockAgentCoreControlClient";
|
|
8
|
-
import {
|
|
9
|
-
|
|
8
|
+
import {
|
|
9
|
+
ListPolicyGenerationAssetsRequest,
|
|
10
|
+
ListPolicyGenerationAssetsResponse,
|
|
11
|
+
} from "../models/models_1";
|
|
10
12
|
export { __MetadataBearer };
|
|
11
13
|
export { $Command };
|
|
12
14
|
export interface ListPolicyGenerationAssetsCommandInput
|
|
@@ -70,6 +70,12 @@ export declare const BrowserProfileStatus: {
|
|
|
70
70
|
};
|
|
71
71
|
export type BrowserProfileStatus =
|
|
72
72
|
(typeof BrowserProfileStatus)[keyof typeof BrowserProfileStatus];
|
|
73
|
+
export declare const BrowserEnterprisePolicyType: {
|
|
74
|
+
readonly MANAGED: "MANAGED";
|
|
75
|
+
readonly RECOMMENDED: "RECOMMENDED";
|
|
76
|
+
};
|
|
77
|
+
export type BrowserEnterprisePolicyType =
|
|
78
|
+
(typeof BrowserEnterprisePolicyType)[keyof typeof BrowserEnterprisePolicyType];
|
|
73
79
|
export declare const BrowserNetworkMode: {
|
|
74
80
|
readonly PUBLIC: "PUBLIC";
|
|
75
81
|
readonly VPC: "VPC";
|