Skip to content

Commit e07d00c

Browse files
author
awstools
committed
feat(client-appintegrations): This release adds support for MCP servers via the ApplicationType field, allowing customers to register their Bedrock AgentCore gateways as third party applications.
1 parent 0bb0491 commit e07d00c

File tree

8 files changed

+149
-8
lines changed

8 files changed

+149
-8
lines changed

clients/client-appintegrations/src/commands/CreateApplicationCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ export interface CreateApplicationCommandOutput extends CreateApplicationRespons
8383
* "STRING_VALUE",
8484
* ],
8585
* },
86+
* ApplicationType: "STANDARD" || "SERVICE" || "MCP_SERVER",
8687
* };
8788
* const command = new CreateApplicationCommand(input);
8889
* const response = await client.send(command);

clients/client-appintegrations/src/commands/GetApplicationCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ export interface GetApplicationCommandOutput extends GetApplicationResponse, __M
9191
* // "STRING_VALUE",
9292
* // ],
9393
* // },
94+
* // ApplicationType: "STANDARD" || "SERVICE" || "MCP_SERVER",
9495
* // };
9596
*
9697
* ```

clients/client-appintegrations/src/commands/ListApplicationsCommand.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ export interface ListApplicationsCommandOutput extends ListApplicationsResponse,
3939
* const input = { // ListApplicationsRequest
4040
* NextToken: "STRING_VALUE",
4141
* MaxResults: Number("int"),
42+
* ApplicationType: "STANDARD" || "SERVICE" || "MCP_SERVER",
4243
* };
4344
* const command = new ListApplicationsCommand(input);
4445
* const response = await client.send(command);
@@ -52,6 +53,7 @@ export interface ListApplicationsCommandOutput extends ListApplicationsResponse,
5253
* // CreatedTime: new Date("TIMESTAMP"),
5354
* // LastModifiedTime: new Date("TIMESTAMP"),
5455
* // IsService: true || false,
56+
* // ApplicationType: "STANDARD" || "SERVICE" || "MCP_SERVER",
5557
* // },
5658
* // ],
5759
* // NextToken: "STRING_VALUE",

clients/client-appintegrations/src/commands/UpdateApplicationCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ export interface UpdateApplicationCommandOutput extends UpdateApplicationRespons
7979
* "STRING_VALUE",
8080
* ],
8181
* },
82+
* ApplicationType: "STANDARD" || "SERVICE" || "MCP_SERVER",
8283
* };
8384
* const command = new UpdateApplicationCommand(input);
8485
* const response = await client.send(command);

clients/client-appintegrations/src/models/enums.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,20 @@ export const ContactHandlingScope = {
1212
*/
1313
export type ContactHandlingScope = (typeof ContactHandlingScope)[keyof typeof ContactHandlingScope];
1414

15+
/**
16+
* @public
17+
* @enum
18+
*/
19+
export const ApplicationType = {
20+
MCP_SERVER: "MCP_SERVER",
21+
SERVICE: "SERVICE",
22+
STANDARD: "STANDARD",
23+
} as const;
24+
/**
25+
* @public
26+
*/
27+
export type ApplicationType = (typeof ApplicationType)[keyof typeof ApplicationType];
28+
1529
/**
1630
* @public
1731
* @enum

clients/client-appintegrations/src/models/models_0.ts

Lines changed: 39 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// smithy-typescript generated code
2-
import { ContactHandlingScope, ExecutionMode, ExecutionStatus } from "./enums";
2+
import { ApplicationType, ContactHandlingScope, ExecutionMode, ExecutionStatus } from "./enums";
33

44
/**
55
* <p>The contact handling configuration for the application.</p>
@@ -182,6 +182,8 @@ export interface CreateApplicationRequest {
182182

183183
/**
184184
* <p>Indicates whether the application is a service.</p>
185+
*
186+
* @deprecated IsService has been deprecated in favor of ApplicationType
185187
* @public
186188
*/
187189
IsService?: boolean | undefined;
@@ -203,6 +205,12 @@ export interface CreateApplicationRequest {
203205
* @public
204206
*/
205207
IframeConfig?: IframeConfig | undefined;
208+
209+
/**
210+
* <p>The type of application.</p>
211+
* @public
212+
*/
213+
ApplicationType?: ApplicationType | undefined;
206214
}
207215

208216
/**
@@ -721,6 +729,8 @@ export interface GetApplicationResponse {
721729

722730
/**
723731
* <p>Indicates whether the application is a service.</p>
732+
*
733+
* @deprecated IsService has been deprecated in favor of ApplicationType
724734
* @public
725735
*/
726736
IsService?: boolean | undefined;
@@ -742,6 +752,12 @@ export interface GetApplicationResponse {
742752
* @public
743753
*/
744754
IframeConfig?: IframeConfig | undefined;
755+
756+
/**
757+
* <p>The type of application.</p>
758+
* @public
759+
*/
760+
ApplicationType?: ApplicationType | undefined;
745761
}
746762

747763
/**
@@ -953,6 +969,12 @@ export interface ListApplicationsRequest {
953969
* @public
954970
*/
955971
MaxResults?: number | undefined;
972+
973+
/**
974+
* <p>The type of application.</p>
975+
* @public
976+
*/
977+
ApplicationType?: ApplicationType | undefined;
956978
}
957979

958980
/**
@@ -998,9 +1020,17 @@ export interface ApplicationSummary {
9981020

9991021
/**
10001022
* <p>Indicates whether the application is a service.</p>
1023+
*
1024+
* @deprecated IsService has been deprecated in favor of ApplicationType
10011025
* @public
10021026
*/
10031027
IsService?: boolean | undefined;
1028+
1029+
/**
1030+
* <p>The type of application.</p>
1031+
* @public
1032+
*/
1033+
ApplicationType?: ApplicationType | undefined;
10041034
}
10051035

10061036
/**
@@ -1459,6 +1489,8 @@ export interface UpdateApplicationRequest {
14591489

14601490
/**
14611491
* <p>Indicates whether the application is a service.</p>
1492+
*
1493+
* @deprecated IsService has been deprecated in favor of ApplicationType
14621494
* @public
14631495
*/
14641496
IsService?: boolean | undefined;
@@ -1480,6 +1512,12 @@ export interface UpdateApplicationRequest {
14801512
* @public
14811513
*/
14821514
IframeConfig?: IframeConfig | undefined;
1515+
1516+
/**
1517+
* <p>The type of application.</p>
1518+
* @public
1519+
*/
1520+
ApplicationType?: ApplicationType | undefined;
14831521
}
14841522

14851523
/**

clients/client-appintegrations/src/schemas/schemas_0.ts

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ const _AL = "ApplicationsList";
1111
const _AO = "ApprovedOrigins";
1212
const _AS = "ApplicationSummary";
1313
const _ASC = "ApplicationSourceConfig";
14+
const _AT = "ApplicationType";
1415
const _AU = "AccessUrl";
1516
const _Al = "Allow";
1617
const _Ap = "Applications";
@@ -166,6 +167,7 @@ const _UOE = "UnsupportedOperationException";
166167
const _UR = "UntagResource";
167168
const _URR = "UntagResourceRequest";
168169
const _URRn = "UntagResourceResponse";
170+
const _aT = "applicationType";
169171
const _c = "client";
170172
const _e = "error";
171173
const _h = "http";
@@ -225,16 +227,16 @@ export var ApplicationSummary: StaticStructureSchema = [
225227
n0,
226228
_AS,
227229
0,
228-
[_A, _I, _N, _Na, _CT, _LMT, _IS],
229-
[0, 0, 0, 0, 4, 4, 2],
230+
[_A, _I, _N, _Na, _CT, _LMT, _IS, _AT],
231+
[0, 0, 0, 0, 4, 4, 2, 0],
230232
];
231233
export var ContactHandling: StaticStructureSchema = [3, n0, _CH, 0, [_S], [0]];
232234
export var CreateApplicationRequest: StaticStructureSchema = [
233235
3,
234236
n0,
235237
_CAR,
236238
0,
237-
[_N, _Na, _D, _ASC, _Su, _P, _CTl, _T, _Pe, _IS, _IT, _AC, _IC],
239+
[_N, _Na, _D, _ASC, _Su, _P, _CTl, _T, _Pe, _IS, _IT, _AC, _IC, _AT],
238240
[
239241
0,
240242
0,
@@ -249,6 +251,7 @@ export var CreateApplicationRequest: StaticStructureSchema = [
249251
1,
250252
() => ApplicationConfig,
251253
() => IframeConfig,
254+
0,
252255
],
253256
];
254257
export var CreateApplicationResponse: StaticStructureSchema = [3, n0, _CARr, 0, [_A, _I], [0, 0]];
@@ -369,7 +372,7 @@ export var GetApplicationResponse: StaticStructureSchema = [
369372
n0,
370373
_GARe,
371374
0,
372-
[_A, _I, _N, _Na, _D, _ASC, _Su, _P, _CT, _LMT, _T, _Pe, _IS, _IT, _AC, _IC],
375+
[_A, _I, _N, _Na, _D, _ASC, _Su, _P, _CT, _LMT, _T, _Pe, _IS, _IT, _AC, _IC, _AT],
373376
[
374377
0,
375378
0,
@@ -387,6 +390,7 @@ export var GetApplicationResponse: StaticStructureSchema = [
387390
1,
388391
() => ApplicationConfig,
389392
() => IframeConfig,
393+
0,
390394
],
391395
];
392396
export var GetDataIntegrationRequest: StaticStructureSchema = [3, n0, _GDIR, 0, [_Id], [[0, 1]]];
@@ -481,7 +485,7 @@ export var ListApplicationsRequest: StaticStructureSchema = [
481485
n0,
482486
_LAR,
483487
0,
484-
[_NT, _MR],
488+
[_NT, _MR, _AT],
485489
[
486490
[
487491
0,
@@ -495,6 +499,12 @@ export var ListApplicationsRequest: StaticStructureSchema = [
495499
[_hQ]: _mR,
496500
},
497501
],
502+
[
503+
0,
504+
{
505+
[_hQ]: _aT,
506+
},
507+
],
498508
],
499509
];
500510
export var ListApplicationsResponse: StaticStructureSchema = [3, n0, _LARi, 0, [_Ap, _NT], [() => ApplicationsList, 0]];
@@ -698,7 +708,7 @@ export var UpdateApplicationRequest: StaticStructureSchema = [
698708
n0,
699709
_UAR,
700710
0,
701-
[_A, _N, _D, _ASC, _Su, _P, _Pe, _IS, _IT, _AC, _IC],
711+
[_A, _N, _D, _ASC, _Su, _P, _Pe, _IS, _IT, _AC, _IC, _AT],
702712
[
703713
[0, 1],
704714
0,
@@ -711,6 +721,7 @@ export var UpdateApplicationRequest: StaticStructureSchema = [
711721
1,
712722
() => ApplicationConfig,
713723
() => IframeConfig,
724+
0,
714725
],
715726
];
716727
export var UpdateApplicationResponse: StaticStructureSchema = [3, n0, _UARp, 0, [], []];

0 commit comments

Comments
 (0)