@aws-sdk/client-bedrock-agentcore-control 3.1051.0 → 3.1052.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +77 -0
- package/dist-cjs/index.js +188 -2
- package/dist-cjs/schemas/schemas_0.js +334 -92
- package/dist-es/BedrockAgentCoreControl.js +28 -0
- package/dist-es/commands/AddDatasetExamplesCommand.js +16 -0
- package/dist-es/commands/CreateDatasetCommand.js +16 -0
- package/dist-es/commands/CreateDatasetVersionCommand.js +16 -0
- package/dist-es/commands/DeleteDatasetCommand.js +16 -0
- package/dist-es/commands/DeleteDatasetExamplesCommand.js +16 -0
- package/dist-es/commands/GetDatasetCommand.js +16 -0
- package/dist-es/commands/ListDatasetExamplesCommand.js +16 -0
- package/dist-es/commands/ListDatasetVersionsCommand.js +16 -0
- package/dist-es/commands/ListDatasetsCommand.js +16 -0
- package/dist-es/commands/UpdateDatasetCommand.js +16 -0
- package/dist-es/commands/UpdateDatasetExamplesCommand.js +16 -0
- package/dist-es/commands/index.js +11 -0
- package/dist-es/index.js +1 -0
- package/dist-es/models/enums.js +19 -2
- package/dist-es/models/models_2.js +1 -0
- package/dist-es/pagination/ListDatasetExamplesPaginator.js +4 -0
- package/dist-es/pagination/ListDatasetVersionsPaginator.js +4 -0
- package/dist-es/pagination/ListDatasetsPaginator.js +4 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/schemas/schemas_0.js +318 -77
- package/dist-types/BedrockAgentCoreControl.d.ts +99 -0
- package/dist-types/BedrockAgentCoreControlClient.d.ts +13 -2
- package/dist-types/commands/AddDatasetExamplesCommand.d.ts +127 -0
- package/dist-types/commands/CreateDatasetCommand.d.ts +117 -0
- package/dist-types/commands/CreateDatasetVersionCommand.d.ts +113 -0
- package/dist-types/commands/CreateGatewayTargetCommand.d.ts +1 -1
- package/dist-types/commands/DeleteDatasetCommand.d.ts +123 -0
- package/dist-types/commands/DeleteDatasetExamplesCommand.d.ts +112 -0
- package/dist-types/commands/GetDatasetCommand.d.ts +130 -0
- package/dist-types/commands/GetGatewayTargetCommand.d.ts +1 -1
- package/dist-types/commands/ListDatasetExamplesCommand.d.ts +111 -0
- package/dist-types/commands/ListDatasetVersionsCommand.d.ts +103 -0
- package/dist-types/commands/ListDatasetsCommand.d.ts +103 -0
- package/dist-types/commands/ListWorkloadIdentitiesCommand.d.ts +2 -1
- package/dist-types/commands/SynchronizeGatewayTargetsCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDatasetCommand.d.ts +104 -0
- package/dist-types/commands/UpdateDatasetExamplesCommand.d.ts +120 -0
- package/dist-types/commands/UpdateGatewayTargetCommand.d.ts +1 -1
- package/dist-types/commands/UpdateWorkloadIdentityCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +11 -0
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/enums.d.ts +91 -3
- package/dist-types/models/models_0.d.ts +2382 -2324
- package/dist-types/models/models_1.d.ts +4111 -4197
- package/dist-types/models/models_2.d.ts +775 -0
- package/dist-types/pagination/ListDatasetExamplesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListDatasetVersionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListDatasetsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/schemas/schemas_0.d.ts +38 -0
- package/dist-types/ts3.4/BedrockAgentCoreControl.d.ts +209 -0
- package/dist-types/ts3.4/BedrockAgentCoreControlClient.d.ts +66 -0
- package/dist-types/ts3.4/commands/AddDatasetExamplesCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/CreateDatasetCommand.d.ts +52 -0
- package/dist-types/ts3.4/commands/CreateDatasetVersionCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/CreateGatewayTargetCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteDatasetCommand.d.ts +52 -0
- package/dist-types/ts3.4/commands/DeleteDatasetExamplesCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/GetDatasetCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/GetGatewayTargetCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListDatasetExamplesCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/ListDatasetVersionsCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/ListDatasetsCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/ListWorkloadIdentitiesCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/SynchronizeGatewayTargetsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateDatasetCommand.d.ts +52 -0
- package/dist-types/ts3.4/commands/UpdateDatasetExamplesCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/UpdateGatewayTargetCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateWorkloadIdentityCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +11 -0
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +25 -4
- package/dist-types/ts3.4/models/models_0.d.ts +192 -269
- package/dist-types/ts3.4/models/models_1.d.ts +268 -284
- package/dist-types/ts3.4/models/models_2.d.ts +273 -0
- package/dist-types/ts3.4/pagination/ListDatasetExamplesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListDatasetVersionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListDatasetsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +38 -0
- package/package.json +8 -8
|
@@ -0,0 +1,775 @@
|
|
|
1
|
+
import type { SchemaType, TargetProtocolType, TargetStatus } from "./enums";
|
|
2
|
+
import type { ApiGatewayTargetConfiguration, ApiSchemaConfiguration, AuthorizationData, CredentialProviderConfiguration, HttpTargetConfiguration, ManagedResourceDetails, McpServerTargetConfiguration, MetadataConfiguration, PrivateEndpoint, S3Configuration } from "./models_0";
|
|
3
|
+
/**
|
|
4
|
+
* <p>Contains information about a workload identity.</p>
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface WorkloadIdentityType {
|
|
8
|
+
/**
|
|
9
|
+
* <p>The name of the workload identity.</p>
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
name: string | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* <p>The Amazon Resource Name (ARN) of the workload identity.</p>
|
|
15
|
+
* @public
|
|
16
|
+
*/
|
|
17
|
+
workloadIdentityArn: string | undefined;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* @public
|
|
21
|
+
*/
|
|
22
|
+
export interface ListWorkloadIdentitiesResponse {
|
|
23
|
+
/**
|
|
24
|
+
* <p>The list of workload identities.</p>
|
|
25
|
+
* @public
|
|
26
|
+
*/
|
|
27
|
+
workloadIdentities: WorkloadIdentityType[] | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* <p>Pagination token for the next page of results.</p>
|
|
30
|
+
* @public
|
|
31
|
+
*/
|
|
32
|
+
nextToken?: string | undefined;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* @public
|
|
36
|
+
*/
|
|
37
|
+
export interface UpdateWorkloadIdentityRequest {
|
|
38
|
+
/**
|
|
39
|
+
* <p>The name of the workload identity to update.</p>
|
|
40
|
+
* @public
|
|
41
|
+
*/
|
|
42
|
+
name: string | undefined;
|
|
43
|
+
/**
|
|
44
|
+
* <p>The new list of allowed OAuth2 return URLs for resources associated with this workload identity. This list replaces the existing list.</p>
|
|
45
|
+
* @public
|
|
46
|
+
*/
|
|
47
|
+
allowedResourceOauth2ReturnUrls?: string[] | undefined;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* @public
|
|
51
|
+
*/
|
|
52
|
+
export interface UpdateWorkloadIdentityResponse {
|
|
53
|
+
/**
|
|
54
|
+
* <p>The name of the workload identity.</p>
|
|
55
|
+
* @public
|
|
56
|
+
*/
|
|
57
|
+
name: string | undefined;
|
|
58
|
+
/**
|
|
59
|
+
* <p>The Amazon Resource Name (ARN) of the workload identity.</p>
|
|
60
|
+
* @public
|
|
61
|
+
*/
|
|
62
|
+
workloadIdentityArn: string | undefined;
|
|
63
|
+
/**
|
|
64
|
+
* <p>The list of allowed OAuth2 return URLs for resources associated with this workload identity.</p>
|
|
65
|
+
* @public
|
|
66
|
+
*/
|
|
67
|
+
allowedResourceOauth2ReturnUrls?: string[] | undefined;
|
|
68
|
+
/**
|
|
69
|
+
* <p>The timestamp when the workload identity was created.</p>
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
createdTime: Date | undefined;
|
|
73
|
+
/**
|
|
74
|
+
* <p>The timestamp when the workload identity was last updated.</p>
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
77
|
+
lastUpdatedTime: Date | undefined;
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* <p>A schema definition for a gateway target. This structure defines the structure of the API that the target exposes.</p>
|
|
81
|
+
* @public
|
|
82
|
+
*/
|
|
83
|
+
export interface SchemaDefinition {
|
|
84
|
+
/**
|
|
85
|
+
* <p>The type of the schema definition. This field specifies the data type of the schema.</p>
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
88
|
+
type: SchemaType | undefined;
|
|
89
|
+
/**
|
|
90
|
+
* <p>The properties of the schema definition. These properties define the fields in the schema.</p>
|
|
91
|
+
* @public
|
|
92
|
+
*/
|
|
93
|
+
properties?: Record<string, SchemaDefinition> | undefined;
|
|
94
|
+
/**
|
|
95
|
+
* <p>The required fields in the schema definition. These fields must be provided when using the schema.</p>
|
|
96
|
+
* @public
|
|
97
|
+
*/
|
|
98
|
+
required?: string[] | undefined;
|
|
99
|
+
/**
|
|
100
|
+
* <p>The items in the schema definition. This field is used for array types to define the structure of the array elements.</p>
|
|
101
|
+
* @public
|
|
102
|
+
*/
|
|
103
|
+
items?: SchemaDefinition | undefined;
|
|
104
|
+
/**
|
|
105
|
+
* <p>The description of the schema definition. This description provides information about the purpose and usage of the schema.</p>
|
|
106
|
+
* @public
|
|
107
|
+
*/
|
|
108
|
+
description?: string | undefined;
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* <p>A tool definition for a gateway target. This structure defines a tool that the target exposes through the Model Context Protocol.</p>
|
|
112
|
+
* @public
|
|
113
|
+
*/
|
|
114
|
+
export interface ToolDefinition {
|
|
115
|
+
/**
|
|
116
|
+
* <p>The name of the tool. This name identifies the tool in the Model Context Protocol.</p>
|
|
117
|
+
* @public
|
|
118
|
+
*/
|
|
119
|
+
name: string | undefined;
|
|
120
|
+
/**
|
|
121
|
+
* <p>The description of the tool. This description provides information about the purpose and usage of the tool.</p>
|
|
122
|
+
* @public
|
|
123
|
+
*/
|
|
124
|
+
description: string | undefined;
|
|
125
|
+
/**
|
|
126
|
+
* <p>The input schema for the tool. This schema defines the structure of the input that the tool accepts.</p>
|
|
127
|
+
* @public
|
|
128
|
+
*/
|
|
129
|
+
inputSchema: SchemaDefinition | undefined;
|
|
130
|
+
/**
|
|
131
|
+
* <p>The output schema for the tool. This schema defines the structure of the output that the tool produces.</p>
|
|
132
|
+
* @public
|
|
133
|
+
*/
|
|
134
|
+
outputSchema?: SchemaDefinition | undefined;
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* <p>A tool schema for a gateway target. This structure defines the schema for a tool that the target exposes through the Model Context Protocol.</p>
|
|
138
|
+
* @public
|
|
139
|
+
*/
|
|
140
|
+
export type ToolSchema = ToolSchema.InlinePayloadMember | ToolSchema.S3Member | ToolSchema.$UnknownMember;
|
|
141
|
+
/**
|
|
142
|
+
* @public
|
|
143
|
+
*/
|
|
144
|
+
export declare namespace ToolSchema {
|
|
145
|
+
/**
|
|
146
|
+
* <p>The Amazon S3 location of the tool schema. This location contains the schema definition file.</p>
|
|
147
|
+
* @public
|
|
148
|
+
*/
|
|
149
|
+
interface S3Member {
|
|
150
|
+
s3: S3Configuration;
|
|
151
|
+
inlinePayload?: never;
|
|
152
|
+
$unknown?: never;
|
|
153
|
+
}
|
|
154
|
+
/**
|
|
155
|
+
* <p>The inline payload of the tool schema. This payload contains the schema definition directly in the request.</p>
|
|
156
|
+
* @public
|
|
157
|
+
*/
|
|
158
|
+
interface InlinePayloadMember {
|
|
159
|
+
s3?: never;
|
|
160
|
+
inlinePayload: ToolDefinition[];
|
|
161
|
+
$unknown?: never;
|
|
162
|
+
}
|
|
163
|
+
/**
|
|
164
|
+
* @public
|
|
165
|
+
*/
|
|
166
|
+
interface $UnknownMember {
|
|
167
|
+
s3?: never;
|
|
168
|
+
inlinePayload?: never;
|
|
169
|
+
$unknown: [string, any];
|
|
170
|
+
}
|
|
171
|
+
/**
|
|
172
|
+
* @deprecated unused in schema-serde mode.
|
|
173
|
+
*
|
|
174
|
+
*/
|
|
175
|
+
interface Visitor<T> {
|
|
176
|
+
s3: (value: S3Configuration) => T;
|
|
177
|
+
inlinePayload: (value: ToolDefinition[]) => T;
|
|
178
|
+
_: (name: string, value: any) => T;
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
/**
|
|
182
|
+
* <p>The Lambda configuration for a Model Context Protocol target. This structure defines how the gateway uses a Lambda function to communicate with the target.</p>
|
|
183
|
+
* @public
|
|
184
|
+
*/
|
|
185
|
+
export interface McpLambdaTargetConfiguration {
|
|
186
|
+
/**
|
|
187
|
+
* <p>The Amazon Resource Name (ARN) of the Lambda function. This function is invoked by the gateway to communicate with the target.</p>
|
|
188
|
+
* @public
|
|
189
|
+
*/
|
|
190
|
+
lambdaArn: string | undefined;
|
|
191
|
+
/**
|
|
192
|
+
* <p>The tool schema for the Lambda function. This schema defines the structure of the tools that the Lambda function provides.</p>
|
|
193
|
+
* @public
|
|
194
|
+
*/
|
|
195
|
+
toolSchema: ToolSchema | undefined;
|
|
196
|
+
}
|
|
197
|
+
/**
|
|
198
|
+
* <p>The Model Context Protocol (MCP) configuration for a target. This structure defines how the gateway uses MCP to communicate with the target.</p>
|
|
199
|
+
* @public
|
|
200
|
+
*/
|
|
201
|
+
export type McpTargetConfiguration = McpTargetConfiguration.ApiGatewayMember | McpTargetConfiguration.LambdaMember | McpTargetConfiguration.McpServerMember | McpTargetConfiguration.OpenApiSchemaMember | McpTargetConfiguration.SmithyModelMember | McpTargetConfiguration.$UnknownMember;
|
|
202
|
+
/**
|
|
203
|
+
* @public
|
|
204
|
+
*/
|
|
205
|
+
export declare namespace McpTargetConfiguration {
|
|
206
|
+
/**
|
|
207
|
+
* <p>The OpenAPI schema for the Model Context Protocol target. This schema defines the API structure of the target.</p>
|
|
208
|
+
* @public
|
|
209
|
+
*/
|
|
210
|
+
interface OpenApiSchemaMember {
|
|
211
|
+
openApiSchema: ApiSchemaConfiguration;
|
|
212
|
+
smithyModel?: never;
|
|
213
|
+
lambda?: never;
|
|
214
|
+
mcpServer?: never;
|
|
215
|
+
apiGateway?: never;
|
|
216
|
+
$unknown?: never;
|
|
217
|
+
}
|
|
218
|
+
/**
|
|
219
|
+
* <p>The Smithy model for the Model Context Protocol target. This model defines the API structure of the target using the Smithy specification.</p>
|
|
220
|
+
* @public
|
|
221
|
+
*/
|
|
222
|
+
interface SmithyModelMember {
|
|
223
|
+
openApiSchema?: never;
|
|
224
|
+
smithyModel: ApiSchemaConfiguration;
|
|
225
|
+
lambda?: never;
|
|
226
|
+
mcpServer?: never;
|
|
227
|
+
apiGateway?: never;
|
|
228
|
+
$unknown?: never;
|
|
229
|
+
}
|
|
230
|
+
/**
|
|
231
|
+
* <p>The Lambda configuration for the Model Context Protocol target. This configuration defines how the gateway uses a Lambda function to communicate with the target.</p>
|
|
232
|
+
* @public
|
|
233
|
+
*/
|
|
234
|
+
interface LambdaMember {
|
|
235
|
+
openApiSchema?: never;
|
|
236
|
+
smithyModel?: never;
|
|
237
|
+
lambda: McpLambdaTargetConfiguration;
|
|
238
|
+
mcpServer?: never;
|
|
239
|
+
apiGateway?: never;
|
|
240
|
+
$unknown?: never;
|
|
241
|
+
}
|
|
242
|
+
/**
|
|
243
|
+
* <p>The MCP server specified as the gateway target.</p>
|
|
244
|
+
* @public
|
|
245
|
+
*/
|
|
246
|
+
interface McpServerMember {
|
|
247
|
+
openApiSchema?: never;
|
|
248
|
+
smithyModel?: never;
|
|
249
|
+
lambda?: never;
|
|
250
|
+
mcpServer: McpServerTargetConfiguration;
|
|
251
|
+
apiGateway?: never;
|
|
252
|
+
$unknown?: never;
|
|
253
|
+
}
|
|
254
|
+
/**
|
|
255
|
+
* <p>The configuration for an Amazon API Gateway target.</p>
|
|
256
|
+
* @public
|
|
257
|
+
*/
|
|
258
|
+
interface ApiGatewayMember {
|
|
259
|
+
openApiSchema?: never;
|
|
260
|
+
smithyModel?: never;
|
|
261
|
+
lambda?: never;
|
|
262
|
+
mcpServer?: never;
|
|
263
|
+
apiGateway: ApiGatewayTargetConfiguration;
|
|
264
|
+
$unknown?: never;
|
|
265
|
+
}
|
|
266
|
+
/**
|
|
267
|
+
* @public
|
|
268
|
+
*/
|
|
269
|
+
interface $UnknownMember {
|
|
270
|
+
openApiSchema?: never;
|
|
271
|
+
smithyModel?: never;
|
|
272
|
+
lambda?: never;
|
|
273
|
+
mcpServer?: never;
|
|
274
|
+
apiGateway?: never;
|
|
275
|
+
$unknown: [string, any];
|
|
276
|
+
}
|
|
277
|
+
/**
|
|
278
|
+
* @deprecated unused in schema-serde mode.
|
|
279
|
+
*
|
|
280
|
+
*/
|
|
281
|
+
interface Visitor<T> {
|
|
282
|
+
openApiSchema: (value: ApiSchemaConfiguration) => T;
|
|
283
|
+
smithyModel: (value: ApiSchemaConfiguration) => T;
|
|
284
|
+
lambda: (value: McpLambdaTargetConfiguration) => T;
|
|
285
|
+
mcpServer: (value: McpServerTargetConfiguration) => T;
|
|
286
|
+
apiGateway: (value: ApiGatewayTargetConfiguration) => T;
|
|
287
|
+
_: (name: string, value: any) => T;
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
/**
|
|
291
|
+
* <p>The configuration for a gateway target. This structure defines how the gateway connects to and interacts with the target endpoint.</p>
|
|
292
|
+
* @public
|
|
293
|
+
*/
|
|
294
|
+
export type TargetConfiguration = TargetConfiguration.HttpMember | TargetConfiguration.McpMember | TargetConfiguration.$UnknownMember;
|
|
295
|
+
/**
|
|
296
|
+
* @public
|
|
297
|
+
*/
|
|
298
|
+
export declare namespace TargetConfiguration {
|
|
299
|
+
/**
|
|
300
|
+
* <p>The Model Context Protocol (MCP) configuration for the target. This configuration defines how the gateway uses MCP to communicate with the target.</p>
|
|
301
|
+
* @public
|
|
302
|
+
*/
|
|
303
|
+
interface McpMember {
|
|
304
|
+
mcp: McpTargetConfiguration;
|
|
305
|
+
http?: never;
|
|
306
|
+
$unknown?: never;
|
|
307
|
+
}
|
|
308
|
+
/**
|
|
309
|
+
* <p>The HTTP target configuration. Use this to route gateway requests to an HTTP-based endpoint such as an AgentCore Runtime.</p>
|
|
310
|
+
* @public
|
|
311
|
+
*/
|
|
312
|
+
interface HttpMember {
|
|
313
|
+
mcp?: never;
|
|
314
|
+
http: HttpTargetConfiguration;
|
|
315
|
+
$unknown?: never;
|
|
316
|
+
}
|
|
317
|
+
/**
|
|
318
|
+
* @public
|
|
319
|
+
*/
|
|
320
|
+
interface $UnknownMember {
|
|
321
|
+
mcp?: never;
|
|
322
|
+
http?: never;
|
|
323
|
+
$unknown: [string, any];
|
|
324
|
+
}
|
|
325
|
+
/**
|
|
326
|
+
* @deprecated unused in schema-serde mode.
|
|
327
|
+
*
|
|
328
|
+
*/
|
|
329
|
+
interface Visitor<T> {
|
|
330
|
+
mcp: (value: McpTargetConfiguration) => T;
|
|
331
|
+
http: (value: HttpTargetConfiguration) => T;
|
|
332
|
+
_: (name: string, value: any) => T;
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
/**
|
|
336
|
+
* @public
|
|
337
|
+
*/
|
|
338
|
+
export interface CreateGatewayTargetRequest {
|
|
339
|
+
/**
|
|
340
|
+
* <p>The identifier of the gateway to create a target for.</p>
|
|
341
|
+
* @public
|
|
342
|
+
*/
|
|
343
|
+
gatewayIdentifier: string | undefined;
|
|
344
|
+
/**
|
|
345
|
+
* <p>The name of the gateway target. The name must be unique within the gateway.</p>
|
|
346
|
+
* @public
|
|
347
|
+
*/
|
|
348
|
+
name: string | undefined;
|
|
349
|
+
/**
|
|
350
|
+
* <p>The description of the gateway target.</p>
|
|
351
|
+
* @public
|
|
352
|
+
*/
|
|
353
|
+
description?: string | undefined;
|
|
354
|
+
/**
|
|
355
|
+
* <p>A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If you don't specify this field, a value is randomly generated for you. If this token matches a previous request, the service ignores the request, but doesn't return an error. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring idempotency</a>.</p>
|
|
356
|
+
* @public
|
|
357
|
+
*/
|
|
358
|
+
clientToken?: string | undefined;
|
|
359
|
+
/**
|
|
360
|
+
* <p>The configuration settings for the target, including endpoint information and schema definitions.</p>
|
|
361
|
+
* @public
|
|
362
|
+
*/
|
|
363
|
+
targetConfiguration: TargetConfiguration | undefined;
|
|
364
|
+
/**
|
|
365
|
+
* <p>The credential provider configurations for the target. These configurations specify how the gateway authenticates with the target endpoint.</p>
|
|
366
|
+
* @public
|
|
367
|
+
*/
|
|
368
|
+
credentialProviderConfigurations?: CredentialProviderConfiguration[] | undefined;
|
|
369
|
+
/**
|
|
370
|
+
* <p>Optional configuration for HTTP header and query parameter propagation to and from the gateway target.</p>
|
|
371
|
+
* @public
|
|
372
|
+
*/
|
|
373
|
+
metadataConfiguration?: MetadataConfiguration | undefined;
|
|
374
|
+
/**
|
|
375
|
+
* <p>The private endpoint configuration for the gateway target. Use this to connect the gateway to private resources in your VPC.</p>
|
|
376
|
+
* @public
|
|
377
|
+
*/
|
|
378
|
+
privateEndpoint?: PrivateEndpoint | undefined;
|
|
379
|
+
}
|
|
380
|
+
/**
|
|
381
|
+
* @public
|
|
382
|
+
*/
|
|
383
|
+
export interface CreateGatewayTargetResponse {
|
|
384
|
+
/**
|
|
385
|
+
* <p>The Amazon Resource Name (ARN) of the gateway.</p>
|
|
386
|
+
* @public
|
|
387
|
+
*/
|
|
388
|
+
gatewayArn: string | undefined;
|
|
389
|
+
/**
|
|
390
|
+
* <p>The unique identifier of the created target.</p>
|
|
391
|
+
* @public
|
|
392
|
+
*/
|
|
393
|
+
targetId: string | undefined;
|
|
394
|
+
/**
|
|
395
|
+
* <p>The timestamp when the target was created.</p>
|
|
396
|
+
* @public
|
|
397
|
+
*/
|
|
398
|
+
createdAt: Date | undefined;
|
|
399
|
+
/**
|
|
400
|
+
* <p>The timestamp when the target was last updated.</p>
|
|
401
|
+
* @public
|
|
402
|
+
*/
|
|
403
|
+
updatedAt: Date | undefined;
|
|
404
|
+
/**
|
|
405
|
+
* <p>The current status of the target.</p>
|
|
406
|
+
* @public
|
|
407
|
+
*/
|
|
408
|
+
status: TargetStatus | undefined;
|
|
409
|
+
/**
|
|
410
|
+
* <p>The reasons for the current status of the target.</p>
|
|
411
|
+
* @public
|
|
412
|
+
*/
|
|
413
|
+
statusReasons?: string[] | undefined;
|
|
414
|
+
/**
|
|
415
|
+
* <p>The name of the target.</p>
|
|
416
|
+
* @public
|
|
417
|
+
*/
|
|
418
|
+
name: string | undefined;
|
|
419
|
+
/**
|
|
420
|
+
* <p>The description of the target.</p>
|
|
421
|
+
* @public
|
|
422
|
+
*/
|
|
423
|
+
description?: string | undefined;
|
|
424
|
+
/**
|
|
425
|
+
* <p>The configuration settings for the target.</p>
|
|
426
|
+
* @public
|
|
427
|
+
*/
|
|
428
|
+
targetConfiguration: TargetConfiguration | undefined;
|
|
429
|
+
/**
|
|
430
|
+
* <p>The credential provider configurations for the target.</p>
|
|
431
|
+
* @public
|
|
432
|
+
*/
|
|
433
|
+
credentialProviderConfigurations: CredentialProviderConfiguration[] | undefined;
|
|
434
|
+
/**
|
|
435
|
+
* <p>The last synchronization of the target.</p>
|
|
436
|
+
* @public
|
|
437
|
+
*/
|
|
438
|
+
lastSynchronizedAt?: Date | undefined;
|
|
439
|
+
/**
|
|
440
|
+
* <p>The metadata configuration that was applied to the created gateway target.</p>
|
|
441
|
+
* @public
|
|
442
|
+
*/
|
|
443
|
+
metadataConfiguration?: MetadataConfiguration | undefined;
|
|
444
|
+
/**
|
|
445
|
+
* <p>The private endpoint configuration for the gateway target.</p>
|
|
446
|
+
* @public
|
|
447
|
+
*/
|
|
448
|
+
privateEndpoint?: PrivateEndpoint | undefined;
|
|
449
|
+
/**
|
|
450
|
+
* <p>The managed resources created by the gateway for private endpoint connectivity.</p>
|
|
451
|
+
* @public
|
|
452
|
+
*/
|
|
453
|
+
privateEndpointManagedResources?: ManagedResourceDetails[] | undefined;
|
|
454
|
+
/**
|
|
455
|
+
* <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>
|
|
456
|
+
* @public
|
|
457
|
+
*/
|
|
458
|
+
authorizationData?: AuthorizationData | undefined;
|
|
459
|
+
/**
|
|
460
|
+
* <p>The protocol type of the created gateway target.</p>
|
|
461
|
+
* @public
|
|
462
|
+
*/
|
|
463
|
+
protocolType?: TargetProtocolType | undefined;
|
|
464
|
+
}
|
|
465
|
+
/**
|
|
466
|
+
* <p>The gateway target.</p>
|
|
467
|
+
* @public
|
|
468
|
+
*/
|
|
469
|
+
export interface GatewayTarget {
|
|
470
|
+
/**
|
|
471
|
+
* <p>The Amazon Resource Name (ARN) of the gateway target.</p>
|
|
472
|
+
* @public
|
|
473
|
+
*/
|
|
474
|
+
gatewayArn: string | undefined;
|
|
475
|
+
/**
|
|
476
|
+
* <p>The target ID.</p>
|
|
477
|
+
* @public
|
|
478
|
+
*/
|
|
479
|
+
targetId: string | undefined;
|
|
480
|
+
/**
|
|
481
|
+
* <p>The date and time at which the target was created.</p>
|
|
482
|
+
* @public
|
|
483
|
+
*/
|
|
484
|
+
createdAt: Date | undefined;
|
|
485
|
+
/**
|
|
486
|
+
* <p>The date and time at which the target was updated.</p>
|
|
487
|
+
* @public
|
|
488
|
+
*/
|
|
489
|
+
updatedAt: Date | undefined;
|
|
490
|
+
/**
|
|
491
|
+
* <p>The status of the gateway target.</p>
|
|
492
|
+
* @public
|
|
493
|
+
*/
|
|
494
|
+
status: TargetStatus | undefined;
|
|
495
|
+
/**
|
|
496
|
+
* <p>The status reasons for the target status.</p>
|
|
497
|
+
* @public
|
|
498
|
+
*/
|
|
499
|
+
statusReasons?: string[] | undefined;
|
|
500
|
+
/**
|
|
501
|
+
* <p>The name of the gateway target.</p>
|
|
502
|
+
* @public
|
|
503
|
+
*/
|
|
504
|
+
name: string | undefined;
|
|
505
|
+
/**
|
|
506
|
+
* <p>The description for the gateway target.</p>
|
|
507
|
+
* @public
|
|
508
|
+
*/
|
|
509
|
+
description?: string | undefined;
|
|
510
|
+
/**
|
|
511
|
+
* <p>The configuration for a gateway target. This structure defines how the gateway connects to and interacts with the target endpoint.</p>
|
|
512
|
+
* @public
|
|
513
|
+
*/
|
|
514
|
+
targetConfiguration: TargetConfiguration | undefined;
|
|
515
|
+
/**
|
|
516
|
+
* <p>The provider configurations.</p>
|
|
517
|
+
* @public
|
|
518
|
+
*/
|
|
519
|
+
credentialProviderConfigurations: CredentialProviderConfiguration[] | undefined;
|
|
520
|
+
/**
|
|
521
|
+
* <p>The last synchronization time.</p>
|
|
522
|
+
* @public
|
|
523
|
+
*/
|
|
524
|
+
lastSynchronizedAt?: Date | undefined;
|
|
525
|
+
/**
|
|
526
|
+
* <p>The metadata configuration for HTTP header and query parameter propagation to and from this gateway target.</p>
|
|
527
|
+
* @public
|
|
528
|
+
*/
|
|
529
|
+
metadataConfiguration?: MetadataConfiguration | undefined;
|
|
530
|
+
/**
|
|
531
|
+
* <p>The private endpoint configuration for a gateway target. Defines how the gateway connects to private resources in your VPC.</p>
|
|
532
|
+
* @public
|
|
533
|
+
*/
|
|
534
|
+
privateEndpoint?: PrivateEndpoint | undefined;
|
|
535
|
+
/**
|
|
536
|
+
* <p>A list of managed resources created by the gateway for private endpoint connectivity. These resources are created in your account when you use a managed VPC Lattice resource configuration.</p>
|
|
537
|
+
* @public
|
|
538
|
+
*/
|
|
539
|
+
privateEndpointManagedResources?: ManagedResourceDetails[] | undefined;
|
|
540
|
+
/**
|
|
541
|
+
* <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>
|
|
542
|
+
* @public
|
|
543
|
+
*/
|
|
544
|
+
authorizationData?: AuthorizationData | undefined;
|
|
545
|
+
/**
|
|
546
|
+
* <p>The protocol type of the gateway target.</p>
|
|
547
|
+
* @public
|
|
548
|
+
*/
|
|
549
|
+
protocolType?: TargetProtocolType | undefined;
|
|
550
|
+
}
|
|
551
|
+
/**
|
|
552
|
+
* @public
|
|
553
|
+
*/
|
|
554
|
+
export interface GetGatewayTargetResponse {
|
|
555
|
+
/**
|
|
556
|
+
* <p>The Amazon Resource Name (ARN) of the gateway.</p>
|
|
557
|
+
* @public
|
|
558
|
+
*/
|
|
559
|
+
gatewayArn: string | undefined;
|
|
560
|
+
/**
|
|
561
|
+
* <p>The unique identifier of the gateway target.</p>
|
|
562
|
+
* @public
|
|
563
|
+
*/
|
|
564
|
+
targetId: string | undefined;
|
|
565
|
+
/**
|
|
566
|
+
* <p>The timestamp when the gateway target was created.</p>
|
|
567
|
+
* @public
|
|
568
|
+
*/
|
|
569
|
+
createdAt: Date | undefined;
|
|
570
|
+
/**
|
|
571
|
+
* <p>The timestamp when the gateway target was last updated.</p>
|
|
572
|
+
* @public
|
|
573
|
+
*/
|
|
574
|
+
updatedAt: Date | undefined;
|
|
575
|
+
/**
|
|
576
|
+
* <p>The current status of the gateway target.</p>
|
|
577
|
+
* @public
|
|
578
|
+
*/
|
|
579
|
+
status: TargetStatus | undefined;
|
|
580
|
+
/**
|
|
581
|
+
* <p>The reasons for the current status of the gateway target.</p>
|
|
582
|
+
* @public
|
|
583
|
+
*/
|
|
584
|
+
statusReasons?: string[] | undefined;
|
|
585
|
+
/**
|
|
586
|
+
* <p>The name of the gateway target.</p>
|
|
587
|
+
* @public
|
|
588
|
+
*/
|
|
589
|
+
name: string | undefined;
|
|
590
|
+
/**
|
|
591
|
+
* <p>The description of the gateway target.</p>
|
|
592
|
+
* @public
|
|
593
|
+
*/
|
|
594
|
+
description?: string | undefined;
|
|
595
|
+
/**
|
|
596
|
+
* <p>The configuration for a gateway target. This structure defines how the gateway connects to and interacts with the target endpoint.</p>
|
|
597
|
+
* @public
|
|
598
|
+
*/
|
|
599
|
+
targetConfiguration: TargetConfiguration | undefined;
|
|
600
|
+
/**
|
|
601
|
+
* <p>The credential provider configurations for the gateway target.</p>
|
|
602
|
+
* @public
|
|
603
|
+
*/
|
|
604
|
+
credentialProviderConfigurations: CredentialProviderConfiguration[] | undefined;
|
|
605
|
+
/**
|
|
606
|
+
* <p>The last synchronization of the target.</p>
|
|
607
|
+
* @public
|
|
608
|
+
*/
|
|
609
|
+
lastSynchronizedAt?: Date | undefined;
|
|
610
|
+
/**
|
|
611
|
+
* <p>The metadata configuration for HTTP header and query parameter propagation for the retrieved gateway target.</p>
|
|
612
|
+
* @public
|
|
613
|
+
*/
|
|
614
|
+
metadataConfiguration?: MetadataConfiguration | undefined;
|
|
615
|
+
/**
|
|
616
|
+
* <p>The private endpoint configuration for the gateway target.</p>
|
|
617
|
+
* @public
|
|
618
|
+
*/
|
|
619
|
+
privateEndpoint?: PrivateEndpoint | undefined;
|
|
620
|
+
/**
|
|
621
|
+
* <p>The managed resources created by the gateway for private endpoint connectivity.</p>
|
|
622
|
+
* @public
|
|
623
|
+
*/
|
|
624
|
+
privateEndpointManagedResources?: ManagedResourceDetails[] | undefined;
|
|
625
|
+
/**
|
|
626
|
+
* <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>
|
|
627
|
+
* @public
|
|
628
|
+
*/
|
|
629
|
+
authorizationData?: AuthorizationData | undefined;
|
|
630
|
+
/**
|
|
631
|
+
* <p>The protocol type of the gateway target.</p>
|
|
632
|
+
* @public
|
|
633
|
+
*/
|
|
634
|
+
protocolType?: TargetProtocolType | undefined;
|
|
635
|
+
}
|
|
636
|
+
/**
|
|
637
|
+
* @public
|
|
638
|
+
*/
|
|
639
|
+
export interface UpdateGatewayTargetRequest {
|
|
640
|
+
/**
|
|
641
|
+
* <p>The unique identifier of the gateway associated with the target.</p>
|
|
642
|
+
* @public
|
|
643
|
+
*/
|
|
644
|
+
gatewayIdentifier: string | undefined;
|
|
645
|
+
/**
|
|
646
|
+
* <p>The unique identifier of the gateway target to update.</p>
|
|
647
|
+
* @public
|
|
648
|
+
*/
|
|
649
|
+
targetId: string | undefined;
|
|
650
|
+
/**
|
|
651
|
+
* <p>The updated name for the gateway target.</p>
|
|
652
|
+
* @public
|
|
653
|
+
*/
|
|
654
|
+
name: string | undefined;
|
|
655
|
+
/**
|
|
656
|
+
* <p>The updated description for the gateway target.</p>
|
|
657
|
+
* @public
|
|
658
|
+
*/
|
|
659
|
+
description?: string | undefined;
|
|
660
|
+
/**
|
|
661
|
+
* <p>The configuration for a gateway target. This structure defines how the gateway connects to and interacts with the target endpoint.</p>
|
|
662
|
+
* @public
|
|
663
|
+
*/
|
|
664
|
+
targetConfiguration: TargetConfiguration | undefined;
|
|
665
|
+
/**
|
|
666
|
+
* <p>The updated credential provider configurations for the gateway target.</p>
|
|
667
|
+
* @public
|
|
668
|
+
*/
|
|
669
|
+
credentialProviderConfigurations?: CredentialProviderConfiguration[] | undefined;
|
|
670
|
+
/**
|
|
671
|
+
* <p>Configuration for HTTP header and query parameter propagation to the gateway target.</p>
|
|
672
|
+
* @public
|
|
673
|
+
*/
|
|
674
|
+
metadataConfiguration?: MetadataConfiguration | undefined;
|
|
675
|
+
/**
|
|
676
|
+
* <p>The private endpoint configuration for the gateway target. Use this to connect the gateway to private resources in your VPC.</p>
|
|
677
|
+
* @public
|
|
678
|
+
*/
|
|
679
|
+
privateEndpoint?: PrivateEndpoint | undefined;
|
|
680
|
+
}
|
|
681
|
+
/**
|
|
682
|
+
* @public
|
|
683
|
+
*/
|
|
684
|
+
export interface UpdateGatewayTargetResponse {
|
|
685
|
+
/**
|
|
686
|
+
* <p>The Amazon Resource Name (ARN) of the gateway.</p>
|
|
687
|
+
* @public
|
|
688
|
+
*/
|
|
689
|
+
gatewayArn: string | undefined;
|
|
690
|
+
/**
|
|
691
|
+
* <p>The unique identifier of the updated gateway target.</p>
|
|
692
|
+
* @public
|
|
693
|
+
*/
|
|
694
|
+
targetId: string | undefined;
|
|
695
|
+
/**
|
|
696
|
+
* <p>The timestamp when the gateway target was created.</p>
|
|
697
|
+
* @public
|
|
698
|
+
*/
|
|
699
|
+
createdAt: Date | undefined;
|
|
700
|
+
/**
|
|
701
|
+
* <p>The timestamp when the gateway target was last updated.</p>
|
|
702
|
+
* @public
|
|
703
|
+
*/
|
|
704
|
+
updatedAt: Date | undefined;
|
|
705
|
+
/**
|
|
706
|
+
* <p>The current status of the updated gateway target.</p>
|
|
707
|
+
* @public
|
|
708
|
+
*/
|
|
709
|
+
status: TargetStatus | undefined;
|
|
710
|
+
/**
|
|
711
|
+
* <p>The reasons for the current status of the updated gateway target.</p>
|
|
712
|
+
* @public
|
|
713
|
+
*/
|
|
714
|
+
statusReasons?: string[] | undefined;
|
|
715
|
+
/**
|
|
716
|
+
* <p>The updated name of the gateway target.</p>
|
|
717
|
+
* @public
|
|
718
|
+
*/
|
|
719
|
+
name: string | undefined;
|
|
720
|
+
/**
|
|
721
|
+
* <p>The updated description of the gateway target.</p>
|
|
722
|
+
* @public
|
|
723
|
+
*/
|
|
724
|
+
description?: string | undefined;
|
|
725
|
+
/**
|
|
726
|
+
* <p>The configuration for a gateway target. This structure defines how the gateway connects to and interacts with the target endpoint.</p>
|
|
727
|
+
* @public
|
|
728
|
+
*/
|
|
729
|
+
targetConfiguration: TargetConfiguration | undefined;
|
|
730
|
+
/**
|
|
731
|
+
* <p>The updated credential provider configurations for the gateway target.</p>
|
|
732
|
+
* @public
|
|
733
|
+
*/
|
|
734
|
+
credentialProviderConfigurations: CredentialProviderConfiguration[] | undefined;
|
|
735
|
+
/**
|
|
736
|
+
* <p>The date and time at which the targets were last synchronized.</p>
|
|
737
|
+
* @public
|
|
738
|
+
*/
|
|
739
|
+
lastSynchronizedAt?: Date | undefined;
|
|
740
|
+
/**
|
|
741
|
+
* <p>The metadata configuration that was applied to the gateway target.</p>
|
|
742
|
+
* @public
|
|
743
|
+
*/
|
|
744
|
+
metadataConfiguration?: MetadataConfiguration | undefined;
|
|
745
|
+
/**
|
|
746
|
+
* <p>The private endpoint configuration for the gateway target.</p>
|
|
747
|
+
* @public
|
|
748
|
+
*/
|
|
749
|
+
privateEndpoint?: PrivateEndpoint | undefined;
|
|
750
|
+
/**
|
|
751
|
+
* <p>The managed resources created by the gateway for private endpoint connectivity.</p>
|
|
752
|
+
* @public
|
|
753
|
+
*/
|
|
754
|
+
privateEndpointManagedResources?: ManagedResourceDetails[] | undefined;
|
|
755
|
+
/**
|
|
756
|
+
* <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>
|
|
757
|
+
* @public
|
|
758
|
+
*/
|
|
759
|
+
authorizationData?: AuthorizationData | undefined;
|
|
760
|
+
/**
|
|
761
|
+
* <p>The protocol type of the updated gateway target.</p>
|
|
762
|
+
* @public
|
|
763
|
+
*/
|
|
764
|
+
protocolType?: TargetProtocolType | undefined;
|
|
765
|
+
}
|
|
766
|
+
/**
|
|
767
|
+
* @public
|
|
768
|
+
*/
|
|
769
|
+
export interface SynchronizeGatewayTargetsResponse {
|
|
770
|
+
/**
|
|
771
|
+
* <p>The gateway targets for synchronization.</p>
|
|
772
|
+
* @public
|
|
773
|
+
*/
|
|
774
|
+
targets?: GatewayTarget[] | undefined;
|
|
775
|
+
}
|