@aws-sdk/client-bedrock-agentcore-control 3.1022.0 → 3.1024.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 +3 -0
- package/dist-cjs/schemas/schemas_0.js +40 -17
- package/dist-es/models/enums.js +3 -0
- package/dist-es/schemas/schemas_0.js +34 -11
- package/dist-types/commands/CreateGatewayTargetCommand.d.ts +21 -1
- package/dist-types/commands/CreatePolicyEngineCommand.d.ts +2 -1
- package/dist-types/commands/DeleteGatewayTargetCommand.d.ts +2 -2
- package/dist-types/commands/DeletePolicyEngineCommand.d.ts +1 -1
- package/dist-types/commands/GetGatewayTargetCommand.d.ts +14 -1
- package/dist-types/commands/ListGatewayTargetsCommand.d.ts +1 -1
- package/dist-types/commands/SynchronizeGatewayTargetsCommand.d.ts +15 -2
- package/dist-types/commands/UpdateGatewayTargetCommand.d.ts +22 -2
- package/dist-types/models/enums.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +100 -111
- package/dist-types/models/models_1.d.ts +131 -1
- package/dist-types/schemas/schemas_0.d.ts +3 -0
- package/dist-types/ts3.4/commands/CreatePolicyEngineCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DeletePolicyEngineCommand.d.ts +1 -1
- package/dist-types/ts3.4/models/enums.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +48 -26
- package/dist-types/ts3.4/models/models_1.d.ts +30 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +3 -0
- package/package.json +1 -1
|
@@ -421,12 +421,15 @@ export type SchemaType = (typeof SchemaType)[keyof typeof SchemaType];
|
|
|
421
421
|
* @enum
|
|
422
422
|
*/
|
|
423
423
|
export declare const TargetStatus: {
|
|
424
|
+
readonly CREATE_PENDING_AUTH: "CREATE_PENDING_AUTH";
|
|
424
425
|
readonly CREATING: "CREATING";
|
|
425
426
|
readonly DELETING: "DELETING";
|
|
426
427
|
readonly FAILED: "FAILED";
|
|
427
428
|
readonly READY: "READY";
|
|
429
|
+
readonly SYNCHRONIZE_PENDING_AUTH: "SYNCHRONIZE_PENDING_AUTH";
|
|
428
430
|
readonly SYNCHRONIZE_UNSUCCESSFUL: "SYNCHRONIZE_UNSUCCESSFUL";
|
|
429
431
|
readonly SYNCHRONIZING: "SYNCHRONIZING";
|
|
432
|
+
readonly UPDATE_PENDING_AUTH: "UPDATE_PENDING_AUTH";
|
|
430
433
|
readonly UPDATE_UNSUCCESSFUL: "UPDATE_UNSUCCESSFUL";
|
|
431
434
|
readonly UPDATING: "UPDATING";
|
|
432
435
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { DocumentType as __DocumentType } from "@smithy/types";
|
|
2
|
-
import type { AgentManagedRuntimeType, AgentRuntimeEndpointStatus, AgentRuntimeStatus, ApiKeyCredentialLocation, AuthorizerType, BrowserEnterprisePolicyType, BrowserNetworkMode, BrowserProfileStatus, BrowserStatus, ClaimMatchOperatorType, CodeInterpreterNetworkMode, CodeInterpreterStatus, ContentLevel, ContentType, CredentialProviderType, CredentialProviderVendorType, EndpointIpAddressType, EvaluatorLevel, EvaluatorStatus, EvaluatorType, ExceptionLevel, FilterOperator, GatewayInterceptionPoint, GatewayPolicyEngineMode, GatewayProtocolType, GatewayStatus, InboundTokenClaimValueType, KeyType, MemoryStatus, MemoryStrategyStatus, MemoryStrategyType, MemoryView, NetworkMode, OAuthGrantType, OnlineEvaluationConfigStatus, OnlineEvaluationExecutionStatus, OverrideType,
|
|
2
|
+
import type { AgentManagedRuntimeType, AgentRuntimeEndpointStatus, AgentRuntimeStatus, ApiKeyCredentialLocation, AuthorizerType, BrowserEnterprisePolicyType, BrowserNetworkMode, BrowserProfileStatus, BrowserStatus, ClaimMatchOperatorType, CodeInterpreterNetworkMode, CodeInterpreterStatus, ContentLevel, ContentType, CredentialProviderType, CredentialProviderVendorType, EndpointIpAddressType, EvaluatorLevel, EvaluatorStatus, EvaluatorType, ExceptionLevel, FilterOperator, GatewayInterceptionPoint, GatewayPolicyEngineMode, GatewayProtocolType, GatewayStatus, InboundTokenClaimValueType, KeyType, MemoryStatus, MemoryStrategyStatus, MemoryStrategyType, MemoryView, NetworkMode, OAuthGrantType, OnlineEvaluationConfigStatus, OnlineEvaluationExecutionStatus, OverrideType, ResourceType, RestApiMethod, SearchType, ServerProtocol, TargetStatus } from "./enums";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -4090,6 +4090,51 @@ export interface S3Configuration {
|
|
|
4090
4090
|
*/
|
|
4091
4091
|
bucketOwnerAccountId?: string | undefined;
|
|
4092
4092
|
}
|
|
4093
|
+
/**
|
|
4094
|
+
* <p>The MCP tool schema configuration for an MCP server target. The tool schema must be aligned with the MCP specification.</p>
|
|
4095
|
+
* @public
|
|
4096
|
+
*/
|
|
4097
|
+
export type McpToolSchemaConfiguration = McpToolSchemaConfiguration.InlinePayloadMember | McpToolSchemaConfiguration.S3Member | McpToolSchemaConfiguration.$UnknownMember;
|
|
4098
|
+
/**
|
|
4099
|
+
* @public
|
|
4100
|
+
*/
|
|
4101
|
+
export declare namespace McpToolSchemaConfiguration {
|
|
4102
|
+
/**
|
|
4103
|
+
* <p>The Amazon S3 location of the tool schema. This location contains the schema definition file.</p>
|
|
4104
|
+
* @public
|
|
4105
|
+
*/
|
|
4106
|
+
interface S3Member {
|
|
4107
|
+
s3: S3Configuration;
|
|
4108
|
+
inlinePayload?: never;
|
|
4109
|
+
$unknown?: never;
|
|
4110
|
+
}
|
|
4111
|
+
/**
|
|
4112
|
+
* <p>The inline payload containing the MCP tool schema definition.</p>
|
|
4113
|
+
* @public
|
|
4114
|
+
*/
|
|
4115
|
+
interface InlinePayloadMember {
|
|
4116
|
+
s3?: never;
|
|
4117
|
+
inlinePayload: string;
|
|
4118
|
+
$unknown?: never;
|
|
4119
|
+
}
|
|
4120
|
+
/**
|
|
4121
|
+
* @public
|
|
4122
|
+
*/
|
|
4123
|
+
interface $UnknownMember {
|
|
4124
|
+
s3?: never;
|
|
4125
|
+
inlinePayload?: never;
|
|
4126
|
+
$unknown: [string, any];
|
|
4127
|
+
}
|
|
4128
|
+
/**
|
|
4129
|
+
* @deprecated unused in schema-serde mode.
|
|
4130
|
+
*
|
|
4131
|
+
*/
|
|
4132
|
+
interface Visitor<T> {
|
|
4133
|
+
s3: (value: S3Configuration) => T;
|
|
4134
|
+
inlinePayload: (value: string) => T;
|
|
4135
|
+
_: (name: string, value: any) => T;
|
|
4136
|
+
}
|
|
4137
|
+
}
|
|
4093
4138
|
/**
|
|
4094
4139
|
* <p>The target configuration for the MCP server.</p>
|
|
4095
4140
|
* @public
|
|
@@ -4100,6 +4145,11 @@ export interface McpServerTargetConfiguration {
|
|
|
4100
4145
|
* @public
|
|
4101
4146
|
*/
|
|
4102
4147
|
endpoint: string | undefined;
|
|
4148
|
+
/**
|
|
4149
|
+
* <p>The tool schema configuration for the MCP server target. Supported only when the credential provider is configured with an authorization code grant type. Dynamic tool discovery/synchronization will be disabled when target is configured with mcpToolSchema.</p>
|
|
4150
|
+
* @public
|
|
4151
|
+
*/
|
|
4152
|
+
mcpToolSchema?: McpToolSchemaConfiguration | undefined;
|
|
4103
4153
|
}
|
|
4104
4154
|
/**
|
|
4105
4155
|
* <p>Configuration for API schema.</p>
|
|
@@ -4146,6 +4196,55 @@ export declare namespace ApiSchemaConfiguration {
|
|
|
4146
4196
|
_: (name: string, value: any) => T;
|
|
4147
4197
|
}
|
|
4148
4198
|
}
|
|
4199
|
+
/**
|
|
4200
|
+
* <p>OAuth2-specific authorization data, including the authorization URL and user identifier for the authorization session.</p>
|
|
4201
|
+
* @public
|
|
4202
|
+
*/
|
|
4203
|
+
export interface OAuth2AuthorizationData {
|
|
4204
|
+
/**
|
|
4205
|
+
* <p>The URL to initiate the authorization process. This URL is provided when the OAuth2 access token requires user authorization.</p>
|
|
4206
|
+
* @public
|
|
4207
|
+
*/
|
|
4208
|
+
authorizationUrl: string | undefined;
|
|
4209
|
+
/**
|
|
4210
|
+
* <p>The user identifier associated with the OAuth2 authorization session that is defined by AgentCore Gateway.</p>
|
|
4211
|
+
* @public
|
|
4212
|
+
*/
|
|
4213
|
+
userId?: string | undefined;
|
|
4214
|
+
}
|
|
4215
|
+
/**
|
|
4216
|
+
* <p>Contains the authorization data that is returned when a gateway target is configured with a credential provider with authorization code grant type and requires user federation.</p>
|
|
4217
|
+
* @public
|
|
4218
|
+
*/
|
|
4219
|
+
export type AuthorizationData = AuthorizationData.Oauth2Member | AuthorizationData.$UnknownMember;
|
|
4220
|
+
/**
|
|
4221
|
+
* @public
|
|
4222
|
+
*/
|
|
4223
|
+
export declare namespace AuthorizationData {
|
|
4224
|
+
/**
|
|
4225
|
+
* <p>OAuth2 authorization data for the gateway target.</p>
|
|
4226
|
+
* @public
|
|
4227
|
+
*/
|
|
4228
|
+
interface Oauth2Member {
|
|
4229
|
+
oauth2: OAuth2AuthorizationData;
|
|
4230
|
+
$unknown?: never;
|
|
4231
|
+
}
|
|
4232
|
+
/**
|
|
4233
|
+
* @public
|
|
4234
|
+
*/
|
|
4235
|
+
interface $UnknownMember {
|
|
4236
|
+
oauth2?: never;
|
|
4237
|
+
$unknown: [string, any];
|
|
4238
|
+
}
|
|
4239
|
+
/**
|
|
4240
|
+
* @deprecated unused in schema-serde mode.
|
|
4241
|
+
*
|
|
4242
|
+
*/
|
|
4243
|
+
interface Visitor<T> {
|
|
4244
|
+
oauth2: (value: OAuth2AuthorizationData) => T;
|
|
4245
|
+
_: (name: string, value: any) => T;
|
|
4246
|
+
}
|
|
4247
|
+
}
|
|
4149
4248
|
/**
|
|
4150
4249
|
* <p>Details of a resource created and managed by the gateway for private endpoint connectivity.</p>
|
|
4151
4250
|
* @public
|
|
@@ -8147,113 +8246,3 @@ export interface CreatePolicyEngineRequest {
|
|
|
8147
8246
|
*/
|
|
8148
8247
|
tags?: Record<string, string> | undefined;
|
|
8149
8248
|
}
|
|
8150
|
-
/**
|
|
8151
|
-
* @public
|
|
8152
|
-
*/
|
|
8153
|
-
export interface CreatePolicyEngineResponse {
|
|
8154
|
-
/**
|
|
8155
|
-
* <p>The unique identifier for the created policy engine. This system-generated identifier consists of the user name plus a 10-character generated suffix and is used for all subsequent policy engine operations.</p>
|
|
8156
|
-
* @public
|
|
8157
|
-
*/
|
|
8158
|
-
policyEngineId: string | undefined;
|
|
8159
|
-
/**
|
|
8160
|
-
* <p>The customer-assigned name of the created policy engine. This matches the name provided in the request and serves as the human-readable identifier.</p>
|
|
8161
|
-
* @public
|
|
8162
|
-
*/
|
|
8163
|
-
name: string | undefined;
|
|
8164
|
-
/**
|
|
8165
|
-
* <p>A human-readable description of the policy engine's purpose.</p>
|
|
8166
|
-
* @public
|
|
8167
|
-
*/
|
|
8168
|
-
description?: string | undefined;
|
|
8169
|
-
/**
|
|
8170
|
-
* <p>The timestamp when the policy engine was created. This is automatically set by the service and used for auditing and lifecycle management.</p>
|
|
8171
|
-
* @public
|
|
8172
|
-
*/
|
|
8173
|
-
createdAt: Date | undefined;
|
|
8174
|
-
/**
|
|
8175
|
-
* <p>The timestamp when the policy engine was last updated. For newly created policy engines, this matches the <code>createdAt</code> timestamp.</p>
|
|
8176
|
-
* @public
|
|
8177
|
-
*/
|
|
8178
|
-
updatedAt: Date | undefined;
|
|
8179
|
-
/**
|
|
8180
|
-
* <p>The Amazon Resource Name (ARN) of the created policy engine. This globally unique identifier can be used for cross-service references and IAM policy statements.</p>
|
|
8181
|
-
* @public
|
|
8182
|
-
*/
|
|
8183
|
-
policyEngineArn: string | undefined;
|
|
8184
|
-
/**
|
|
8185
|
-
* <p>The current status of the policy engine. A status of <code>ACTIVE</code> indicates the policy engine is ready for use.</p>
|
|
8186
|
-
* @public
|
|
8187
|
-
*/
|
|
8188
|
-
status: PolicyEngineStatus | undefined;
|
|
8189
|
-
/**
|
|
8190
|
-
* <p>Additional information about the policy engine status. This provides details about any failures or the current state of the policy engine creation process.</p>
|
|
8191
|
-
* @public
|
|
8192
|
-
*/
|
|
8193
|
-
statusReasons: string[] | undefined;
|
|
8194
|
-
/**
|
|
8195
|
-
* <p>The Amazon Resource Name (ARN) of the KMS key used to encrypt the policy engine data.</p>
|
|
8196
|
-
* @public
|
|
8197
|
-
*/
|
|
8198
|
-
encryptionKeyArn?: string | undefined;
|
|
8199
|
-
}
|
|
8200
|
-
/**
|
|
8201
|
-
* @public
|
|
8202
|
-
*/
|
|
8203
|
-
export interface DeletePolicyEngineRequest {
|
|
8204
|
-
/**
|
|
8205
|
-
* <p>The unique identifier of the policy engine to be deleted. This must be a valid policy engine ID that exists within the account.</p>
|
|
8206
|
-
* @public
|
|
8207
|
-
*/
|
|
8208
|
-
policyEngineId: string | undefined;
|
|
8209
|
-
}
|
|
8210
|
-
/**
|
|
8211
|
-
* @public
|
|
8212
|
-
*/
|
|
8213
|
-
export interface DeletePolicyEngineResponse {
|
|
8214
|
-
/**
|
|
8215
|
-
* <p>The unique identifier of the policy engine being deleted. This confirms which policy engine the deletion operation targets.</p>
|
|
8216
|
-
* @public
|
|
8217
|
-
*/
|
|
8218
|
-
policyEngineId: string | undefined;
|
|
8219
|
-
/**
|
|
8220
|
-
* <p>The customer-assigned name of the deleted policy engine.</p>
|
|
8221
|
-
* @public
|
|
8222
|
-
*/
|
|
8223
|
-
name: string | undefined;
|
|
8224
|
-
/**
|
|
8225
|
-
* <p>The human-readable description of the deleted policy engine.</p>
|
|
8226
|
-
* @public
|
|
8227
|
-
*/
|
|
8228
|
-
description?: string | undefined;
|
|
8229
|
-
/**
|
|
8230
|
-
* <p>The timestamp when the deleted policy engine was originally created.</p>
|
|
8231
|
-
* @public
|
|
8232
|
-
*/
|
|
8233
|
-
createdAt: Date | undefined;
|
|
8234
|
-
/**
|
|
8235
|
-
* <p>The timestamp when the deleted policy engine was last modified before deletion. This tracks the final state of the policy engine before it was removed from the system.</p>
|
|
8236
|
-
* @public
|
|
8237
|
-
*/
|
|
8238
|
-
updatedAt: Date | undefined;
|
|
8239
|
-
/**
|
|
8240
|
-
* <p>The Amazon Resource Name (ARN) of the deleted policy engine. This globally unique identifier confirms which policy engine resource was successfully removed.</p>
|
|
8241
|
-
* @public
|
|
8242
|
-
*/
|
|
8243
|
-
policyEngineArn: string | undefined;
|
|
8244
|
-
/**
|
|
8245
|
-
* <p>The status of the policy engine deletion operation. This provides status about any issues that occurred during the deletion process.</p>
|
|
8246
|
-
* @public
|
|
8247
|
-
*/
|
|
8248
|
-
status: PolicyEngineStatus | undefined;
|
|
8249
|
-
/**
|
|
8250
|
-
* <p>Additional information about the deletion status. This provides details about the deletion process or any issues that may have occurred.</p>
|
|
8251
|
-
* @public
|
|
8252
|
-
*/
|
|
8253
|
-
statusReasons: string[] | undefined;
|
|
8254
|
-
/**
|
|
8255
|
-
* <p>The Amazon Resource Name (ARN) of the KMS key used to encrypt the policy engine data.</p>
|
|
8256
|
-
* @public
|
|
8257
|
-
*/
|
|
8258
|
-
encryptionKeyArn?: string | undefined;
|
|
8259
|
-
}
|
|
@@ -1,5 +1,115 @@
|
|
|
1
1
|
import type { FindingType, PolicyEngineStatus, PolicyGenerationStatus, PolicyStatus, PolicyValidationMode, SchemaType, TargetStatus } from "./enums";
|
|
2
|
-
import type { ApiGatewayTargetConfiguration, ApiSchemaConfiguration, CredentialProviderConfiguration, KmsConfiguration, ManagedResourceDetails, McpServerTargetConfiguration, MetadataConfiguration, PrivateEndpoint, S3Configuration } from "./models_0";
|
|
2
|
+
import type { ApiGatewayTargetConfiguration, ApiSchemaConfiguration, AuthorizationData, CredentialProviderConfiguration, KmsConfiguration, ManagedResourceDetails, McpServerTargetConfiguration, MetadataConfiguration, PrivateEndpoint, S3Configuration } from "./models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export interface CreatePolicyEngineResponse {
|
|
7
|
+
/**
|
|
8
|
+
* <p>The unique identifier for the created policy engine. This system-generated identifier consists of the user name plus a 10-character generated suffix and is used for all subsequent policy engine operations.</p>
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
policyEngineId: string | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* <p>The customer-assigned name of the created policy engine. This matches the name provided in the request and serves as the human-readable identifier.</p>
|
|
14
|
+
* @public
|
|
15
|
+
*/
|
|
16
|
+
name: string | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* <p>A human-readable description of the policy engine's purpose.</p>
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
21
|
+
description?: string | undefined;
|
|
22
|
+
/**
|
|
23
|
+
* <p>The timestamp when the policy engine was created. This is automatically set by the service and used for auditing and lifecycle management.</p>
|
|
24
|
+
* @public
|
|
25
|
+
*/
|
|
26
|
+
createdAt: Date | undefined;
|
|
27
|
+
/**
|
|
28
|
+
* <p>The timestamp when the policy engine was last updated. For newly created policy engines, this matches the <code>createdAt</code> timestamp.</p>
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
updatedAt: Date | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* <p>The Amazon Resource Name (ARN) of the created policy engine. This globally unique identifier can be used for cross-service references and IAM policy statements.</p>
|
|
34
|
+
* @public
|
|
35
|
+
*/
|
|
36
|
+
policyEngineArn: string | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* <p>The current status of the policy engine. A status of <code>ACTIVE</code> indicates the policy engine is ready for use.</p>
|
|
39
|
+
* @public
|
|
40
|
+
*/
|
|
41
|
+
status: PolicyEngineStatus | undefined;
|
|
42
|
+
/**
|
|
43
|
+
* <p>Additional information about the policy engine status. This provides details about any failures or the current state of the policy engine creation process.</p>
|
|
44
|
+
* @public
|
|
45
|
+
*/
|
|
46
|
+
statusReasons: string[] | undefined;
|
|
47
|
+
/**
|
|
48
|
+
* <p>The Amazon Resource Name (ARN) of the KMS key used to encrypt the policy engine data.</p>
|
|
49
|
+
* @public
|
|
50
|
+
*/
|
|
51
|
+
encryptionKeyArn?: string | undefined;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* @public
|
|
55
|
+
*/
|
|
56
|
+
export interface DeletePolicyEngineRequest {
|
|
57
|
+
/**
|
|
58
|
+
* <p>The unique identifier of the policy engine to be deleted. This must be a valid policy engine ID that exists within the account.</p>
|
|
59
|
+
* @public
|
|
60
|
+
*/
|
|
61
|
+
policyEngineId: string | undefined;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* @public
|
|
65
|
+
*/
|
|
66
|
+
export interface DeletePolicyEngineResponse {
|
|
67
|
+
/**
|
|
68
|
+
* <p>The unique identifier of the policy engine being deleted. This confirms which policy engine the deletion operation targets.</p>
|
|
69
|
+
* @public
|
|
70
|
+
*/
|
|
71
|
+
policyEngineId: string | undefined;
|
|
72
|
+
/**
|
|
73
|
+
* <p>The customer-assigned name of the deleted policy engine.</p>
|
|
74
|
+
* @public
|
|
75
|
+
*/
|
|
76
|
+
name: string | undefined;
|
|
77
|
+
/**
|
|
78
|
+
* <p>The human-readable description of the deleted policy engine.</p>
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
description?: string | undefined;
|
|
82
|
+
/**
|
|
83
|
+
* <p>The timestamp when the deleted policy engine was originally created.</p>
|
|
84
|
+
* @public
|
|
85
|
+
*/
|
|
86
|
+
createdAt: Date | undefined;
|
|
87
|
+
/**
|
|
88
|
+
* <p>The timestamp when the deleted policy engine was last modified before deletion. This tracks the final state of the policy engine before it was removed from the system.</p>
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
updatedAt: Date | undefined;
|
|
92
|
+
/**
|
|
93
|
+
* <p>The Amazon Resource Name (ARN) of the deleted policy engine. This globally unique identifier confirms which policy engine resource was successfully removed.</p>
|
|
94
|
+
* @public
|
|
95
|
+
*/
|
|
96
|
+
policyEngineArn: string | undefined;
|
|
97
|
+
/**
|
|
98
|
+
* <p>The status of the policy engine deletion operation. This provides status about any issues that occurred during the deletion process.</p>
|
|
99
|
+
* @public
|
|
100
|
+
*/
|
|
101
|
+
status: PolicyEngineStatus | undefined;
|
|
102
|
+
/**
|
|
103
|
+
* <p>Additional information about the deletion status. This provides details about the deletion process or any issues that may have occurred.</p>
|
|
104
|
+
* @public
|
|
105
|
+
*/
|
|
106
|
+
statusReasons: string[] | undefined;
|
|
107
|
+
/**
|
|
108
|
+
* <p>The Amazon Resource Name (ARN) of the KMS key used to encrypt the policy engine data.</p>
|
|
109
|
+
* @public
|
|
110
|
+
*/
|
|
111
|
+
encryptionKeyArn?: string | undefined;
|
|
112
|
+
}
|
|
3
113
|
/**
|
|
4
114
|
* @public
|
|
5
115
|
*/
|
|
@@ -1746,6 +1856,11 @@ export interface CreateGatewayTargetResponse {
|
|
|
1746
1856
|
* @public
|
|
1747
1857
|
*/
|
|
1748
1858
|
privateEndpointManagedResources?: ManagedResourceDetails[] | undefined;
|
|
1859
|
+
/**
|
|
1860
|
+
* <p>OAuth2 authorization data for the created gateway target. This data is returned when a target is configured with a credential provider with authorization code grant type and requires user federation.</p>
|
|
1861
|
+
* @public
|
|
1862
|
+
*/
|
|
1863
|
+
authorizationData?: AuthorizationData | undefined;
|
|
1749
1864
|
}
|
|
1750
1865
|
/**
|
|
1751
1866
|
* <p>The gateway target.</p>
|
|
@@ -1822,6 +1937,11 @@ export interface GatewayTarget {
|
|
|
1822
1937
|
* @public
|
|
1823
1938
|
*/
|
|
1824
1939
|
privateEndpointManagedResources?: ManagedResourceDetails[] | undefined;
|
|
1940
|
+
/**
|
|
1941
|
+
* <p>OAuth2 authorization data for the gateway target. This data is returned when a target is configured with a credential provider with authorization code grant type and requires user federation.</p>
|
|
1942
|
+
* @public
|
|
1943
|
+
*/
|
|
1944
|
+
authorizationData?: AuthorizationData | undefined;
|
|
1825
1945
|
}
|
|
1826
1946
|
/**
|
|
1827
1947
|
* @public
|
|
@@ -1897,6 +2017,11 @@ export interface GetGatewayTargetResponse {
|
|
|
1897
2017
|
* @public
|
|
1898
2018
|
*/
|
|
1899
2019
|
privateEndpointManagedResources?: ManagedResourceDetails[] | undefined;
|
|
2020
|
+
/**
|
|
2021
|
+
* <p>OAuth2 authorization data for the gateway target. This data is returned when a target is configured with a credential provider with authorization code grant type and requires user federation.</p>
|
|
2022
|
+
* @public
|
|
2023
|
+
*/
|
|
2024
|
+
authorizationData?: AuthorizationData | undefined;
|
|
1900
2025
|
}
|
|
1901
2026
|
/**
|
|
1902
2027
|
* @public
|
|
@@ -2017,6 +2142,11 @@ export interface UpdateGatewayTargetResponse {
|
|
|
2017
2142
|
* @public
|
|
2018
2143
|
*/
|
|
2019
2144
|
privateEndpointManagedResources?: ManagedResourceDetails[] | undefined;
|
|
2145
|
+
/**
|
|
2146
|
+
* <p>OAuth2 authorization data for the updated gateway target. This data is returned when a target is configured with a credential provider with authorization code grant type and requires user federation.</p>
|
|
2147
|
+
* @public
|
|
2148
|
+
*/
|
|
2149
|
+
authorizationData?: AuthorizationData | undefined;
|
|
2020
2150
|
}
|
|
2021
2151
|
/**
|
|
2022
2152
|
* @public
|
|
@@ -248,6 +248,7 @@ export declare var ModifySelfManagedConfiguration$: StaticStructureSchema;
|
|
|
248
248
|
export declare var ModifyStrategyConfiguration$: StaticStructureSchema;
|
|
249
249
|
export declare var NetworkConfiguration$: StaticStructureSchema;
|
|
250
250
|
export declare var NumericalScaleDefinition$: StaticStructureSchema;
|
|
251
|
+
export declare var OAuth2AuthorizationData$: StaticStructureSchema;
|
|
251
252
|
export declare var Oauth2AuthorizationServerMetadata$: StaticStructureSchema;
|
|
252
253
|
export declare var Oauth2CredentialProviderItem$: StaticStructureSchema;
|
|
253
254
|
export declare var OAuthCredentialProvider$: StaticStructureSchema;
|
|
@@ -343,6 +344,7 @@ export declare var WorkloadIdentityDetails$: StaticStructureSchema;
|
|
|
343
344
|
export declare var WorkloadIdentityType$: StaticStructureSchema;
|
|
344
345
|
export declare var AgentRuntimeArtifact$: StaticUnionSchema;
|
|
345
346
|
export declare var ApiSchemaConfiguration$: StaticUnionSchema;
|
|
347
|
+
export declare var AuthorizationData$: StaticUnionSchema;
|
|
346
348
|
export declare var AuthorizerConfiguration$: StaticUnionSchema;
|
|
347
349
|
export declare var CertificateLocation$: StaticUnionSchema;
|
|
348
350
|
export declare var ClaimMatchValueType$: StaticUnionSchema;
|
|
@@ -368,6 +370,7 @@ export declare var FilterValue$: StaticUnionSchema;
|
|
|
368
370
|
export declare var GatewayProtocolConfiguration$: StaticUnionSchema;
|
|
369
371
|
export declare var InterceptorConfiguration$: StaticUnionSchema;
|
|
370
372
|
export declare var McpTargetConfiguration$: StaticUnionSchema;
|
|
373
|
+
export declare var McpToolSchemaConfiguration$: StaticUnionSchema;
|
|
371
374
|
export declare var MemoryStrategyInput$: StaticUnionSchema;
|
|
372
375
|
export declare var ModifyConsolidationConfiguration$: StaticUnionSchema;
|
|
373
376
|
export declare var ModifyExtractionConfiguration$: StaticUnionSchema;
|
|
@@ -5,10 +5,8 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../BedrockAgentCoreControlClient";
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
CreatePolicyEngineResponse,
|
|
11
|
-
} from "../models/models_0";
|
|
8
|
+
import { CreatePolicyEngineRequest } from "../models/models_0";
|
|
9
|
+
import { CreatePolicyEngineResponse } from "../models/models_1";
|
|
12
10
|
export { __MetadataBearer };
|
|
13
11
|
export { $Command };
|
|
14
12
|
export interface CreatePolicyEngineCommandInput
|
|
@@ -223,12 +223,15 @@ export declare const SchemaType: {
|
|
|
223
223
|
};
|
|
224
224
|
export type SchemaType = (typeof SchemaType)[keyof typeof SchemaType];
|
|
225
225
|
export declare const TargetStatus: {
|
|
226
|
+
readonly CREATE_PENDING_AUTH: "CREATE_PENDING_AUTH";
|
|
226
227
|
readonly CREATING: "CREATING";
|
|
227
228
|
readonly DELETING: "DELETING";
|
|
228
229
|
readonly FAILED: "FAILED";
|
|
229
230
|
readonly READY: "READY";
|
|
231
|
+
readonly SYNCHRONIZE_PENDING_AUTH: "SYNCHRONIZE_PENDING_AUTH";
|
|
230
232
|
readonly SYNCHRONIZE_UNSUCCESSFUL: "SYNCHRONIZE_UNSUCCESSFUL";
|
|
231
233
|
readonly SYNCHRONIZING: "SYNCHRONIZING";
|
|
234
|
+
readonly UPDATE_PENDING_AUTH: "UPDATE_PENDING_AUTH";
|
|
232
235
|
readonly UPDATE_UNSUCCESSFUL: "UPDATE_UNSUCCESSFUL";
|
|
233
236
|
readonly UPDATING: "UPDATING";
|
|
234
237
|
};
|
|
@@ -37,7 +37,6 @@ import {
|
|
|
37
37
|
OnlineEvaluationConfigStatus,
|
|
38
38
|
OnlineEvaluationExecutionStatus,
|
|
39
39
|
OverrideType,
|
|
40
|
-
PolicyEngineStatus,
|
|
41
40
|
ResourceType,
|
|
42
41
|
RestApiMethod,
|
|
43
42
|
SearchType,
|
|
@@ -1203,8 +1202,35 @@ export interface S3Configuration {
|
|
|
1203
1202
|
uri?: string | undefined;
|
|
1204
1203
|
bucketOwnerAccountId?: string | undefined;
|
|
1205
1204
|
}
|
|
1205
|
+
export type McpToolSchemaConfiguration =
|
|
1206
|
+
| McpToolSchemaConfiguration.InlinePayloadMember
|
|
1207
|
+
| McpToolSchemaConfiguration.S3Member
|
|
1208
|
+
| McpToolSchemaConfiguration.$UnknownMember;
|
|
1209
|
+
export declare namespace McpToolSchemaConfiguration {
|
|
1210
|
+
interface S3Member {
|
|
1211
|
+
s3: S3Configuration;
|
|
1212
|
+
inlinePayload?: never;
|
|
1213
|
+
$unknown?: never;
|
|
1214
|
+
}
|
|
1215
|
+
interface InlinePayloadMember {
|
|
1216
|
+
s3?: never;
|
|
1217
|
+
inlinePayload: string;
|
|
1218
|
+
$unknown?: never;
|
|
1219
|
+
}
|
|
1220
|
+
interface $UnknownMember {
|
|
1221
|
+
s3?: never;
|
|
1222
|
+
inlinePayload?: never;
|
|
1223
|
+
$unknown: [string, any];
|
|
1224
|
+
}
|
|
1225
|
+
interface Visitor<T> {
|
|
1226
|
+
s3: (value: S3Configuration) => T;
|
|
1227
|
+
inlinePayload: (value: string) => T;
|
|
1228
|
+
_: (name: string, value: any) => T;
|
|
1229
|
+
}
|
|
1230
|
+
}
|
|
1206
1231
|
export interface McpServerTargetConfiguration {
|
|
1207
1232
|
endpoint: string | undefined;
|
|
1233
|
+
mcpToolSchema?: McpToolSchemaConfiguration | undefined;
|
|
1208
1234
|
}
|
|
1209
1235
|
export type ApiSchemaConfiguration =
|
|
1210
1236
|
| ApiSchemaConfiguration.InlinePayloadMember
|
|
@@ -1232,6 +1258,27 @@ export declare namespace ApiSchemaConfiguration {
|
|
|
1232
1258
|
_: (name: string, value: any) => T;
|
|
1233
1259
|
}
|
|
1234
1260
|
}
|
|
1261
|
+
export interface OAuth2AuthorizationData {
|
|
1262
|
+
authorizationUrl: string | undefined;
|
|
1263
|
+
userId?: string | undefined;
|
|
1264
|
+
}
|
|
1265
|
+
export type AuthorizationData =
|
|
1266
|
+
| AuthorizationData.Oauth2Member
|
|
1267
|
+
| AuthorizationData.$UnknownMember;
|
|
1268
|
+
export declare namespace AuthorizationData {
|
|
1269
|
+
interface Oauth2Member {
|
|
1270
|
+
oauth2: OAuth2AuthorizationData;
|
|
1271
|
+
$unknown?: never;
|
|
1272
|
+
}
|
|
1273
|
+
interface $UnknownMember {
|
|
1274
|
+
oauth2?: never;
|
|
1275
|
+
$unknown: [string, any];
|
|
1276
|
+
}
|
|
1277
|
+
interface Visitor<T> {
|
|
1278
|
+
oauth2: (value: OAuth2AuthorizationData) => T;
|
|
1279
|
+
_: (name: string, value: any) => T;
|
|
1280
|
+
}
|
|
1281
|
+
}
|
|
1235
1282
|
export interface ManagedResourceDetails {
|
|
1236
1283
|
domain?: string | undefined;
|
|
1237
1284
|
resourceGatewayArn?: string | undefined;
|
|
@@ -2844,28 +2891,3 @@ export interface CreatePolicyEngineRequest {
|
|
|
2844
2891
|
encryptionKeyArn?: string | undefined;
|
|
2845
2892
|
tags?: Record<string, string> | undefined;
|
|
2846
2893
|
}
|
|
2847
|
-
export interface CreatePolicyEngineResponse {
|
|
2848
|
-
policyEngineId: string | undefined;
|
|
2849
|
-
name: string | undefined;
|
|
2850
|
-
description?: string | undefined;
|
|
2851
|
-
createdAt: Date | undefined;
|
|
2852
|
-
updatedAt: Date | undefined;
|
|
2853
|
-
policyEngineArn: string | undefined;
|
|
2854
|
-
status: PolicyEngineStatus | undefined;
|
|
2855
|
-
statusReasons: string[] | undefined;
|
|
2856
|
-
encryptionKeyArn?: string | undefined;
|
|
2857
|
-
}
|
|
2858
|
-
export interface DeletePolicyEngineRequest {
|
|
2859
|
-
policyEngineId: string | undefined;
|
|
2860
|
-
}
|
|
2861
|
-
export interface DeletePolicyEngineResponse {
|
|
2862
|
-
policyEngineId: string | undefined;
|
|
2863
|
-
name: string | undefined;
|
|
2864
|
-
description?: string | undefined;
|
|
2865
|
-
createdAt: Date | undefined;
|
|
2866
|
-
updatedAt: Date | undefined;
|
|
2867
|
-
policyEngineArn: string | undefined;
|
|
2868
|
-
status: PolicyEngineStatus | undefined;
|
|
2869
|
-
statusReasons: string[] | undefined;
|
|
2870
|
-
encryptionKeyArn?: string | undefined;
|
|
2871
|
-
}
|
|
@@ -10,6 +10,7 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
ApiGatewayTargetConfiguration,
|
|
12
12
|
ApiSchemaConfiguration,
|
|
13
|
+
AuthorizationData,
|
|
13
14
|
CredentialProviderConfiguration,
|
|
14
15
|
KmsConfiguration,
|
|
15
16
|
ManagedResourceDetails,
|
|
@@ -18,6 +19,31 @@ import {
|
|
|
18
19
|
PrivateEndpoint,
|
|
19
20
|
S3Configuration,
|
|
20
21
|
} from "./models_0";
|
|
22
|
+
export interface CreatePolicyEngineResponse {
|
|
23
|
+
policyEngineId: string | undefined;
|
|
24
|
+
name: string | undefined;
|
|
25
|
+
description?: string | undefined;
|
|
26
|
+
createdAt: Date | undefined;
|
|
27
|
+
updatedAt: Date | undefined;
|
|
28
|
+
policyEngineArn: string | undefined;
|
|
29
|
+
status: PolicyEngineStatus | undefined;
|
|
30
|
+
statusReasons: string[] | undefined;
|
|
31
|
+
encryptionKeyArn?: string | undefined;
|
|
32
|
+
}
|
|
33
|
+
export interface DeletePolicyEngineRequest {
|
|
34
|
+
policyEngineId: string | undefined;
|
|
35
|
+
}
|
|
36
|
+
export interface DeletePolicyEngineResponse {
|
|
37
|
+
policyEngineId: string | undefined;
|
|
38
|
+
name: string | undefined;
|
|
39
|
+
description?: string | undefined;
|
|
40
|
+
createdAt: Date | undefined;
|
|
41
|
+
updatedAt: Date | undefined;
|
|
42
|
+
policyEngineArn: string | undefined;
|
|
43
|
+
status: PolicyEngineStatus | undefined;
|
|
44
|
+
statusReasons: string[] | undefined;
|
|
45
|
+
encryptionKeyArn?: string | undefined;
|
|
46
|
+
}
|
|
21
47
|
export interface GetPolicyEngineRequest {
|
|
22
48
|
policyEngineId: string | undefined;
|
|
23
49
|
}
|
|
@@ -528,6 +554,7 @@ export interface CreateGatewayTargetResponse {
|
|
|
528
554
|
metadataConfiguration?: MetadataConfiguration | undefined;
|
|
529
555
|
privateEndpoint?: PrivateEndpoint | undefined;
|
|
530
556
|
privateEndpointManagedResources?: ManagedResourceDetails[] | undefined;
|
|
557
|
+
authorizationData?: AuthorizationData | undefined;
|
|
531
558
|
}
|
|
532
559
|
export interface GatewayTarget {
|
|
533
560
|
gatewayArn: string | undefined;
|
|
@@ -546,6 +573,7 @@ export interface GatewayTarget {
|
|
|
546
573
|
metadataConfiguration?: MetadataConfiguration | undefined;
|
|
547
574
|
privateEndpoint?: PrivateEndpoint | undefined;
|
|
548
575
|
privateEndpointManagedResources?: ManagedResourceDetails[] | undefined;
|
|
576
|
+
authorizationData?: AuthorizationData | undefined;
|
|
549
577
|
}
|
|
550
578
|
export interface GetGatewayTargetResponse {
|
|
551
579
|
gatewayArn: string | undefined;
|
|
@@ -564,6 +592,7 @@ export interface GetGatewayTargetResponse {
|
|
|
564
592
|
metadataConfiguration?: MetadataConfiguration | undefined;
|
|
565
593
|
privateEndpoint?: PrivateEndpoint | undefined;
|
|
566
594
|
privateEndpointManagedResources?: ManagedResourceDetails[] | undefined;
|
|
595
|
+
authorizationData?: AuthorizationData | undefined;
|
|
567
596
|
}
|
|
568
597
|
export interface UpdateGatewayTargetRequest {
|
|
569
598
|
gatewayIdentifier: string | undefined;
|
|
@@ -594,6 +623,7 @@ export interface UpdateGatewayTargetResponse {
|
|
|
594
623
|
metadataConfiguration?: MetadataConfiguration | undefined;
|
|
595
624
|
privateEndpoint?: PrivateEndpoint | undefined;
|
|
596
625
|
privateEndpointManagedResources?: ManagedResourceDetails[] | undefined;
|
|
626
|
+
authorizationData?: AuthorizationData | undefined;
|
|
597
627
|
}
|
|
598
628
|
export interface SynchronizeGatewayTargetsResponse {
|
|
599
629
|
targets?: GatewayTarget[] | undefined;
|
|
@@ -248,6 +248,7 @@ export declare var ModifySelfManagedConfiguration$: StaticStructureSchema;
|
|
|
248
248
|
export declare var ModifyStrategyConfiguration$: StaticStructureSchema;
|
|
249
249
|
export declare var NetworkConfiguration$: StaticStructureSchema;
|
|
250
250
|
export declare var NumericalScaleDefinition$: StaticStructureSchema;
|
|
251
|
+
export declare var OAuth2AuthorizationData$: StaticStructureSchema;
|
|
251
252
|
export declare var Oauth2AuthorizationServerMetadata$: StaticStructureSchema;
|
|
252
253
|
export declare var Oauth2CredentialProviderItem$: StaticStructureSchema;
|
|
253
254
|
export declare var OAuthCredentialProvider$: StaticStructureSchema;
|
|
@@ -343,6 +344,7 @@ export declare var WorkloadIdentityDetails$: StaticStructureSchema;
|
|
|
343
344
|
export declare var WorkloadIdentityType$: StaticStructureSchema;
|
|
344
345
|
export declare var AgentRuntimeArtifact$: StaticUnionSchema;
|
|
345
346
|
export declare var ApiSchemaConfiguration$: StaticUnionSchema;
|
|
347
|
+
export declare var AuthorizationData$: StaticUnionSchema;
|
|
346
348
|
export declare var AuthorizerConfiguration$: StaticUnionSchema;
|
|
347
349
|
export declare var CertificateLocation$: StaticUnionSchema;
|
|
348
350
|
export declare var ClaimMatchValueType$: StaticUnionSchema;
|
|
@@ -368,6 +370,7 @@ export declare var FilterValue$: StaticUnionSchema;
|
|
|
368
370
|
export declare var GatewayProtocolConfiguration$: StaticUnionSchema;
|
|
369
371
|
export declare var InterceptorConfiguration$: StaticUnionSchema;
|
|
370
372
|
export declare var McpTargetConfiguration$: StaticUnionSchema;
|
|
373
|
+
export declare var McpToolSchemaConfiguration$: StaticUnionSchema;
|
|
371
374
|
export declare var MemoryStrategyInput$: StaticUnionSchema;
|
|
372
375
|
export declare var ModifyConsolidationConfiguration$: StaticUnionSchema;
|
|
373
376
|
export declare var ModifyExtractionConfiguration$: StaticUnionSchema;
|