@aws-sdk/client-bedrock-agentcore-control 3.907.0 → 3.909.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.
Files changed (40) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/index.js +234 -21
  3. package/dist-es/BedrockAgentCoreControl.js +2 -0
  4. package/dist-es/commands/CreateAgentRuntimeEndpointCommand.js +2 -2
  5. package/dist-es/commands/DeleteAgentRuntimeEndpointCommand.js +2 -2
  6. package/dist-es/commands/SynchronizeGatewayTargetsCommand.js +23 -0
  7. package/dist-es/commands/index.js +1 -0
  8. package/dist-es/models/models_0.js +115 -0
  9. package/dist-es/protocols/Aws_restJson1.js +91 -19
  10. package/dist-types/BedrockAgentCoreControl.d.ts +7 -0
  11. package/dist-types/BedrockAgentCoreControlClient.d.ts +3 -2
  12. package/dist-types/commands/CreateAgentRuntimeEndpointCommand.d.ts +2 -0
  13. package/dist-types/commands/CreateApiKeyCredentialProviderCommand.d.ts +3 -0
  14. package/dist-types/commands/CreateGatewayCommand.d.ts +1 -1
  15. package/dist-types/commands/CreateGatewayTargetCommand.d.ts +9 -2
  16. package/dist-types/commands/CreateMemoryCommand.d.ts +41 -1
  17. package/dist-types/commands/CreateOauth2CredentialProviderCommand.d.ts +127 -1
  18. package/dist-types/commands/CreateWorkloadIdentityCommand.d.ts +3 -0
  19. package/dist-types/commands/DeleteAgentRuntimeCommand.d.ts +1 -0
  20. package/dist-types/commands/DeleteAgentRuntimeEndpointCommand.d.ts +2 -0
  21. package/dist-types/commands/DeleteGatewayTargetCommand.d.ts +1 -1
  22. package/dist-types/commands/GetGatewayTargetCommand.d.ts +5 -1
  23. package/dist-types/commands/GetMemoryCommand.d.ts +21 -1
  24. package/dist-types/commands/GetOauth2CredentialProviderCommand.d.ts +35 -1
  25. package/dist-types/commands/ListGatewayTargetsCommand.d.ts +1 -1
  26. package/dist-types/commands/ListOauth2CredentialProvidersCommand.d.ts +1 -1
  27. package/dist-types/commands/SynchronizeGatewayTargetsCommand.d.ts +192 -0
  28. package/dist-types/commands/UpdateGatewayTargetCommand.d.ts +9 -2
  29. package/dist-types/commands/UpdateMemoryCommand.d.ts +61 -1
  30. package/dist-types/commands/UpdateOauth2CredentialProviderCommand.d.ts +55 -2
  31. package/dist-types/commands/index.d.ts +1 -0
  32. package/dist-types/models/models_0.d.ts +899 -51
  33. package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
  34. package/dist-types/ts3.4/BedrockAgentCoreControl.d.ts +17 -0
  35. package/dist-types/ts3.4/BedrockAgentCoreControlClient.d.ts +6 -0
  36. package/dist-types/ts3.4/commands/SynchronizeGatewayTargetsCommand.d.ts +51 -0
  37. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  38. package/dist-types/ts3.4/models/models_0.d.ts +418 -13
  39. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
  40. package/package.json +14 -14
@@ -56,6 +56,7 @@ export const se_CreateApiKeyCredentialProviderCommand = async (input, context) =
56
56
  body = JSON.stringify(take(input, {
57
57
  apiKey: [],
58
58
  name: [],
59
+ tags: (_) => _json(_),
59
60
  }));
60
61
  b.m("POST").h(headers).b(body);
61
62
  return b.build();
@@ -169,6 +170,7 @@ export const se_CreateOauth2CredentialProviderCommand = async (input, context) =
169
170
  credentialProviderVendor: [],
170
171
  name: [],
171
172
  oauth2ProviderConfigInput: (_) => _json(_),
173
+ tags: (_) => _json(_),
172
174
  }));
173
175
  b.m("POST").h(headers).b(body);
174
176
  return b.build();
@@ -183,6 +185,7 @@ export const se_CreateWorkloadIdentityCommand = async (input, context) => {
183
185
  body = JSON.stringify(take(input, {
184
186
  allowedResourceOauth2ReturnUrls: (_) => _json(_),
185
187
  name: [],
188
+ tags: (_) => _json(_),
186
189
  }));
187
190
  b.m("POST").h(headers).b(body);
188
191
  return b.build();
@@ -591,6 +594,20 @@ export const se_SetTokenVaultCMKCommand = async (input, context) => {
591
594
  b.m("POST").h(headers).b(body);
592
595
  return b.build();
593
596
  };
597
+ export const se_SynchronizeGatewayTargetsCommand = async (input, context) => {
598
+ const b = rb(input, context);
599
+ const headers = {
600
+ "content-type": "application/json",
601
+ };
602
+ b.bp("/gateways/{gatewayIdentifier}/synchronizeTargets");
603
+ b.p("gatewayIdentifier", () => input.gatewayIdentifier, "{gatewayIdentifier}", false);
604
+ let body;
605
+ body = JSON.stringify(take(input, {
606
+ targetIdList: (_) => _json(_),
607
+ }));
608
+ b.m("PUT").h(headers).b(body);
609
+ return b.build();
610
+ };
594
611
  export const se_TagResourceCommand = async (input, context) => {
595
612
  const b = rb(input, context);
596
613
  const headers = {
@@ -759,7 +776,7 @@ export const se_UpdateWorkloadIdentityCommand = async (input, context) => {
759
776
  return b.build();
760
777
  };
761
778
  export const de_CreateAgentRuntimeCommand = async (output, context) => {
762
- if (output.statusCode !== 201 && output.statusCode >= 300) {
779
+ if (output.statusCode !== 202 && output.statusCode >= 300) {
763
780
  return de_CommandError(output, context);
764
781
  }
765
782
  const contents = map({
@@ -778,7 +795,7 @@ export const de_CreateAgentRuntimeCommand = async (output, context) => {
778
795
  return contents;
779
796
  };
780
797
  export const de_CreateAgentRuntimeEndpointCommand = async (output, context) => {
781
- if (output.statusCode !== 200 && output.statusCode >= 300) {
798
+ if (output.statusCode !== 202 && output.statusCode >= 300) {
782
799
  return de_CommandError(output, context);
783
800
  }
784
801
  const contents = map({
@@ -788,7 +805,9 @@ export const de_CreateAgentRuntimeEndpointCommand = async (output, context) => {
788
805
  const doc = take(data, {
789
806
  agentRuntimeArn: __expectString,
790
807
  agentRuntimeEndpointArn: __expectString,
808
+ agentRuntimeId: __expectString,
791
809
  createdAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
810
+ endpointName: __expectString,
792
811
  status: __expectString,
793
812
  targetVersion: __expectString,
794
813
  });
@@ -796,7 +815,7 @@ export const de_CreateAgentRuntimeEndpointCommand = async (output, context) => {
796
815
  return contents;
797
816
  };
798
817
  export const de_CreateApiKeyCredentialProviderCommand = async (output, context) => {
799
- if (output.statusCode !== 200 && output.statusCode >= 300) {
818
+ if (output.statusCode !== 201 && output.statusCode >= 300) {
800
819
  return de_CommandError(output, context);
801
820
  }
802
821
  const contents = map({
@@ -812,7 +831,7 @@ export const de_CreateApiKeyCredentialProviderCommand = async (output, context)
812
831
  return contents;
813
832
  };
814
833
  export const de_CreateBrowserCommand = async (output, context) => {
815
- if (output.statusCode !== 201 && output.statusCode >= 300) {
834
+ if (output.statusCode !== 202 && output.statusCode >= 300) {
816
835
  return de_CommandError(output, context);
817
836
  }
818
837
  const contents = map({
@@ -829,7 +848,7 @@ export const de_CreateBrowserCommand = async (output, context) => {
829
848
  return contents;
830
849
  };
831
850
  export const de_CreateCodeInterpreterCommand = async (output, context) => {
832
- if (output.statusCode !== 201 && output.statusCode >= 300) {
851
+ if (output.statusCode !== 202 && output.statusCode >= 300) {
833
852
  return de_CommandError(output, context);
834
853
  }
835
854
  const contents = map({
@@ -888,6 +907,7 @@ export const de_CreateGatewayTargetCommand = async (output, context) => {
888
907
  credentialProviderConfigurations: _json,
889
908
  description: __expectString,
890
909
  gatewayArn: __expectString,
910
+ lastSynchronizedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
891
911
  name: __expectString,
892
912
  status: __expectString,
893
913
  statusReasons: _json,
@@ -899,7 +919,7 @@ export const de_CreateGatewayTargetCommand = async (output, context) => {
899
919
  return contents;
900
920
  };
901
921
  export const de_CreateMemoryCommand = async (output, context) => {
902
- if (output.statusCode !== 200 && output.statusCode >= 300) {
922
+ if (output.statusCode !== 202 && output.statusCode >= 300) {
903
923
  return de_CommandError(output, context);
904
924
  }
905
925
  const contents = map({
@@ -913,7 +933,7 @@ export const de_CreateMemoryCommand = async (output, context) => {
913
933
  return contents;
914
934
  };
915
935
  export const de_CreateOauth2CredentialProviderCommand = async (output, context) => {
916
- if (output.statusCode !== 200 && output.statusCode >= 300) {
936
+ if (output.statusCode !== 201 && output.statusCode >= 300) {
917
937
  return de_CommandError(output, context);
918
938
  }
919
939
  const contents = map({
@@ -921,15 +941,17 @@ export const de_CreateOauth2CredentialProviderCommand = async (output, context)
921
941
  });
922
942
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
923
943
  const doc = take(data, {
944
+ callbackUrl: __expectString,
924
945
  clientSecretArn: _json,
925
946
  credentialProviderArn: __expectString,
926
947
  name: __expectString,
948
+ oauth2ProviderConfigOutput: (_) => _json(__expectUnion(_)),
927
949
  });
928
950
  Object.assign(contents, doc);
929
951
  return contents;
930
952
  };
931
953
  export const de_CreateWorkloadIdentityCommand = async (output, context) => {
932
- if (output.statusCode !== 200 && output.statusCode >= 300) {
954
+ if (output.statusCode !== 201 && output.statusCode >= 300) {
933
955
  return de_CommandError(output, context);
934
956
  }
935
957
  const contents = map({
@@ -945,7 +967,7 @@ export const de_CreateWorkloadIdentityCommand = async (output, context) => {
945
967
  return contents;
946
968
  };
947
969
  export const de_DeleteAgentRuntimeCommand = async (output, context) => {
948
- if (output.statusCode !== 200 && output.statusCode >= 300) {
970
+ if (output.statusCode !== 202 && output.statusCode >= 300) {
949
971
  return de_CommandError(output, context);
950
972
  }
951
973
  const contents = map({
@@ -953,13 +975,14 @@ export const de_DeleteAgentRuntimeCommand = async (output, context) => {
953
975
  });
954
976
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
955
977
  const doc = take(data, {
978
+ agentRuntimeId: __expectString,
956
979
  status: __expectString,
957
980
  });
958
981
  Object.assign(contents, doc);
959
982
  return contents;
960
983
  };
961
984
  export const de_DeleteAgentRuntimeEndpointCommand = async (output, context) => {
962
- if (output.statusCode !== 200 && output.statusCode >= 300) {
985
+ if (output.statusCode !== 202 && output.statusCode >= 300) {
963
986
  return de_CommandError(output, context);
964
987
  }
965
988
  const contents = map({
@@ -967,13 +990,15 @@ export const de_DeleteAgentRuntimeEndpointCommand = async (output, context) => {
967
990
  });
968
991
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
969
992
  const doc = take(data, {
993
+ agentRuntimeId: __expectString,
994
+ endpointName: __expectString,
970
995
  status: __expectString,
971
996
  });
972
997
  Object.assign(contents, doc);
973
998
  return contents;
974
999
  };
975
1000
  export const de_DeleteApiKeyCredentialProviderCommand = async (output, context) => {
976
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1001
+ if (output.statusCode !== 204 && output.statusCode >= 300) {
977
1002
  return de_CommandError(output, context);
978
1003
  }
979
1004
  const contents = map({
@@ -983,7 +1008,7 @@ export const de_DeleteApiKeyCredentialProviderCommand = async (output, context)
983
1008
  return contents;
984
1009
  };
985
1010
  export const de_DeleteBrowserCommand = async (output, context) => {
986
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1011
+ if (output.statusCode !== 202 && output.statusCode >= 300) {
987
1012
  return de_CommandError(output, context);
988
1013
  }
989
1014
  const contents = map({
@@ -999,7 +1024,7 @@ export const de_DeleteBrowserCommand = async (output, context) => {
999
1024
  return contents;
1000
1025
  };
1001
1026
  export const de_DeleteCodeInterpreterCommand = async (output, context) => {
1002
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1027
+ if (output.statusCode !== 202 && output.statusCode >= 300) {
1003
1028
  return de_CommandError(output, context);
1004
1029
  }
1005
1030
  const contents = map({
@@ -1048,7 +1073,7 @@ export const de_DeleteGatewayTargetCommand = async (output, context) => {
1048
1073
  return contents;
1049
1074
  };
1050
1075
  export const de_DeleteMemoryCommand = async (output, context) => {
1051
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1076
+ if (output.statusCode !== 202 && output.statusCode >= 300) {
1052
1077
  return de_CommandError(output, context);
1053
1078
  }
1054
1079
  const contents = map({
@@ -1063,7 +1088,7 @@ export const de_DeleteMemoryCommand = async (output, context) => {
1063
1088
  return contents;
1064
1089
  };
1065
1090
  export const de_DeleteOauth2CredentialProviderCommand = async (output, context) => {
1066
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1091
+ if (output.statusCode !== 204 && output.statusCode >= 300) {
1067
1092
  return de_CommandError(output, context);
1068
1093
  }
1069
1094
  const contents = map({
@@ -1073,7 +1098,7 @@ export const de_DeleteOauth2CredentialProviderCommand = async (output, context)
1073
1098
  return contents;
1074
1099
  };
1075
1100
  export const de_DeleteWorkloadIdentityCommand = async (output, context) => {
1076
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1101
+ if (output.statusCode !== 204 && output.statusCode >= 300) {
1077
1102
  return de_CommandError(output, context);
1078
1103
  }
1079
1104
  const contents = map({
@@ -1244,6 +1269,7 @@ export const de_GetGatewayTargetCommand = async (output, context) => {
1244
1269
  credentialProviderConfigurations: _json,
1245
1270
  description: __expectString,
1246
1271
  gatewayArn: __expectString,
1272
+ lastSynchronizedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
1247
1273
  name: __expectString,
1248
1274
  status: __expectString,
1249
1275
  statusReasons: _json,
@@ -1277,6 +1303,7 @@ export const de_GetOauth2CredentialProviderCommand = async (output, context) =>
1277
1303
  });
1278
1304
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1279
1305
  const doc = take(data, {
1306
+ callbackUrl: __expectString,
1280
1307
  clientSecretArn: _json,
1281
1308
  createdTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1282
1309
  credentialProviderArn: __expectString,
@@ -1517,6 +1544,20 @@ export const de_SetTokenVaultCMKCommand = async (output, context) => {
1517
1544
  Object.assign(contents, doc);
1518
1545
  return contents;
1519
1546
  };
1547
+ export const de_SynchronizeGatewayTargetsCommand = async (output, context) => {
1548
+ if (output.statusCode !== 202 && output.statusCode >= 300) {
1549
+ return de_CommandError(output, context);
1550
+ }
1551
+ const contents = map({
1552
+ $metadata: deserializeMetadata(output),
1553
+ });
1554
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1555
+ const doc = take(data, {
1556
+ targets: (_) => de_GatewayTargetList(_, context),
1557
+ });
1558
+ Object.assign(contents, doc);
1559
+ return contents;
1560
+ };
1520
1561
  export const de_TagResourceCommand = async (output, context) => {
1521
1562
  if (output.statusCode !== 204 && output.statusCode >= 300) {
1522
1563
  return de_CommandError(output, context);
@@ -1538,7 +1579,7 @@ export const de_UntagResourceCommand = async (output, context) => {
1538
1579
  return contents;
1539
1580
  };
1540
1581
  export const de_UpdateAgentRuntimeCommand = async (output, context) => {
1541
- if (output.statusCode !== 201 && output.statusCode >= 300) {
1582
+ if (output.statusCode !== 202 && output.statusCode >= 300) {
1542
1583
  return de_CommandError(output, context);
1543
1584
  }
1544
1585
  const contents = map({
@@ -1558,7 +1599,7 @@ export const de_UpdateAgentRuntimeCommand = async (output, context) => {
1558
1599
  return contents;
1559
1600
  };
1560
1601
  export const de_UpdateAgentRuntimeEndpointCommand = async (output, context) => {
1561
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1602
+ if (output.statusCode !== 202 && output.statusCode >= 300) {
1562
1603
  return de_CommandError(output, context);
1563
1604
  }
1564
1605
  const contents = map({
@@ -1638,6 +1679,7 @@ export const de_UpdateGatewayTargetCommand = async (output, context) => {
1638
1679
  credentialProviderConfigurations: _json,
1639
1680
  description: __expectString,
1640
1681
  gatewayArn: __expectString,
1682
+ lastSynchronizedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
1641
1683
  name: __expectString,
1642
1684
  status: __expectString,
1643
1685
  statusReasons: _json,
@@ -1649,7 +1691,7 @@ export const de_UpdateGatewayTargetCommand = async (output, context) => {
1649
1691
  return contents;
1650
1692
  };
1651
1693
  export const de_UpdateMemoryCommand = async (output, context) => {
1652
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1694
+ if (output.statusCode !== 202 && output.statusCode >= 300) {
1653
1695
  return de_CommandError(output, context);
1654
1696
  }
1655
1697
  const contents = map({
@@ -1671,6 +1713,7 @@ export const de_UpdateOauth2CredentialProviderCommand = async (output, context)
1671
1713
  });
1672
1714
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1673
1715
  const doc = take(data, {
1716
+ callbackUrl: __expectString,
1674
1717
  clientSecretArn: _json,
1675
1718
  createdTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1676
1719
  credentialProviderArn: __expectString,
@@ -1952,6 +1995,7 @@ const se_McpLambdaTargetConfiguration = (input, context) => {
1952
1995
  const se_McpTargetConfiguration = (input, context) => {
1953
1996
  return McpTargetConfiguration.visit(input, {
1954
1997
  lambda: (value) => ({ lambda: se_McpLambdaTargetConfiguration(value, context) }),
1998
+ mcpServer: (value) => ({ mcpServer: _json(value) }),
1955
1999
  openApiSchema: (value) => ({ openApiSchema: _json(value) }),
1956
2000
  smithyModel: (value) => ({ smithyModel: _json(value) }),
1957
2001
  _: (name, value) => ({ [name]: value }),
@@ -2118,6 +2162,29 @@ const de_GatewaySummary = (output, context) => {
2118
2162
  updatedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
2119
2163
  });
2120
2164
  };
2165
+ const de_GatewayTarget = (output, context) => {
2166
+ return take(output, {
2167
+ createdAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
2168
+ credentialProviderConfigurations: _json,
2169
+ description: __expectString,
2170
+ gatewayArn: __expectString,
2171
+ lastSynchronizedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
2172
+ name: __expectString,
2173
+ status: __expectString,
2174
+ statusReasons: _json,
2175
+ targetConfiguration: (_) => de_TargetConfiguration(__expectUnion(_), context),
2176
+ targetId: __expectString,
2177
+ updatedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
2178
+ });
2179
+ };
2180
+ const de_GatewayTargetList = (output, context) => {
2181
+ const retVal = (output || [])
2182
+ .filter((e) => e != null)
2183
+ .map((entry) => {
2184
+ return de_GatewayTarget(entry, context);
2185
+ });
2186
+ return retVal;
2187
+ };
2121
2188
  const de_McpLambdaTargetConfiguration = (output, context) => {
2122
2189
  return take(output, {
2123
2190
  lambdaArn: __expectString,
@@ -2130,6 +2197,11 @@ const de_McpTargetConfiguration = (output, context) => {
2130
2197
  lambda: de_McpLambdaTargetConfiguration(output.lambda, context),
2131
2198
  };
2132
2199
  }
2200
+ if (output.mcpServer != null) {
2201
+ return {
2202
+ mcpServer: _json(output.mcpServer),
2203
+ };
2204
+ }
2133
2205
  if (output.openApiSchema != null) {
2134
2206
  return {
2135
2207
  openApiSchema: _json(__expectUnion(output.openApiSchema)),
@@ -44,6 +44,7 @@ import { ListOauth2CredentialProvidersCommandInput, ListOauth2CredentialProvider
44
44
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
45
45
  import { ListWorkloadIdentitiesCommandInput, ListWorkloadIdentitiesCommandOutput } from "./commands/ListWorkloadIdentitiesCommand";
46
46
  import { SetTokenVaultCMKCommandInput, SetTokenVaultCMKCommandOutput } from "./commands/SetTokenVaultCMKCommand";
47
+ import { SynchronizeGatewayTargetsCommandInput, SynchronizeGatewayTargetsCommandOutput } from "./commands/SynchronizeGatewayTargetsCommand";
47
48
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
48
49
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
49
50
  import { UpdateAgentRuntimeCommandInput, UpdateAgentRuntimeCommandOutput } from "./commands/UpdateAgentRuntimeCommand";
@@ -328,6 +329,12 @@ export interface BedrockAgentCoreControl {
328
329
  setTokenVaultCMK(args: SetTokenVaultCMKCommandInput, options?: __HttpHandlerOptions): Promise<SetTokenVaultCMKCommandOutput>;
329
330
  setTokenVaultCMK(args: SetTokenVaultCMKCommandInput, cb: (err: any, data?: SetTokenVaultCMKCommandOutput) => void): void;
330
331
  setTokenVaultCMK(args: SetTokenVaultCMKCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SetTokenVaultCMKCommandOutput) => void): void;
332
+ /**
333
+ * @see {@link SynchronizeGatewayTargetsCommand}
334
+ */
335
+ synchronizeGatewayTargets(args: SynchronizeGatewayTargetsCommandInput, options?: __HttpHandlerOptions): Promise<SynchronizeGatewayTargetsCommandOutput>;
336
+ synchronizeGatewayTargets(args: SynchronizeGatewayTargetsCommandInput, cb: (err: any, data?: SynchronizeGatewayTargetsCommandOutput) => void): void;
337
+ synchronizeGatewayTargets(args: SynchronizeGatewayTargetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SynchronizeGatewayTargetsCommandOutput) => void): void;
331
338
  /**
332
339
  * @see {@link TagResourceCommand}
333
340
  */
@@ -51,6 +51,7 @@ import { ListOauth2CredentialProvidersCommandInput, ListOauth2CredentialProvider
51
51
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
52
52
  import { ListWorkloadIdentitiesCommandInput, ListWorkloadIdentitiesCommandOutput } from "./commands/ListWorkloadIdentitiesCommand";
53
53
  import { SetTokenVaultCMKCommandInput, SetTokenVaultCMKCommandOutput } from "./commands/SetTokenVaultCMKCommand";
54
+ import { SynchronizeGatewayTargetsCommandInput, SynchronizeGatewayTargetsCommandOutput } from "./commands/SynchronizeGatewayTargetsCommand";
54
55
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
55
56
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
56
57
  import { UpdateAgentRuntimeCommandInput, UpdateAgentRuntimeCommandOutput } from "./commands/UpdateAgentRuntimeCommand";
@@ -67,11 +68,11 @@ export { __Client };
67
68
  /**
68
69
  * @public
69
70
  */
70
- export type ServiceInputTypes = CreateAgentRuntimeCommandInput | CreateAgentRuntimeEndpointCommandInput | CreateApiKeyCredentialProviderCommandInput | CreateBrowserCommandInput | CreateCodeInterpreterCommandInput | CreateGatewayCommandInput | CreateGatewayTargetCommandInput | CreateMemoryCommandInput | CreateOauth2CredentialProviderCommandInput | CreateWorkloadIdentityCommandInput | DeleteAgentRuntimeCommandInput | DeleteAgentRuntimeEndpointCommandInput | DeleteApiKeyCredentialProviderCommandInput | DeleteBrowserCommandInput | DeleteCodeInterpreterCommandInput | DeleteGatewayCommandInput | DeleteGatewayTargetCommandInput | DeleteMemoryCommandInput | DeleteOauth2CredentialProviderCommandInput | DeleteWorkloadIdentityCommandInput | GetAgentRuntimeCommandInput | GetAgentRuntimeEndpointCommandInput | GetApiKeyCredentialProviderCommandInput | GetBrowserCommandInput | GetCodeInterpreterCommandInput | GetGatewayCommandInput | GetGatewayTargetCommandInput | GetMemoryCommandInput | GetOauth2CredentialProviderCommandInput | GetTokenVaultCommandInput | GetWorkloadIdentityCommandInput | ListAgentRuntimeEndpointsCommandInput | ListAgentRuntimeVersionsCommandInput | ListAgentRuntimesCommandInput | ListApiKeyCredentialProvidersCommandInput | ListBrowsersCommandInput | ListCodeInterpretersCommandInput | ListGatewayTargetsCommandInput | ListGatewaysCommandInput | ListMemoriesCommandInput | ListOauth2CredentialProvidersCommandInput | ListTagsForResourceCommandInput | ListWorkloadIdentitiesCommandInput | SetTokenVaultCMKCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAgentRuntimeCommandInput | UpdateAgentRuntimeEndpointCommandInput | UpdateApiKeyCredentialProviderCommandInput | UpdateGatewayCommandInput | UpdateGatewayTargetCommandInput | UpdateMemoryCommandInput | UpdateOauth2CredentialProviderCommandInput | UpdateWorkloadIdentityCommandInput;
71
+ export type ServiceInputTypes = CreateAgentRuntimeCommandInput | CreateAgentRuntimeEndpointCommandInput | CreateApiKeyCredentialProviderCommandInput | CreateBrowserCommandInput | CreateCodeInterpreterCommandInput | CreateGatewayCommandInput | CreateGatewayTargetCommandInput | CreateMemoryCommandInput | CreateOauth2CredentialProviderCommandInput | CreateWorkloadIdentityCommandInput | DeleteAgentRuntimeCommandInput | DeleteAgentRuntimeEndpointCommandInput | DeleteApiKeyCredentialProviderCommandInput | DeleteBrowserCommandInput | DeleteCodeInterpreterCommandInput | DeleteGatewayCommandInput | DeleteGatewayTargetCommandInput | DeleteMemoryCommandInput | DeleteOauth2CredentialProviderCommandInput | DeleteWorkloadIdentityCommandInput | GetAgentRuntimeCommandInput | GetAgentRuntimeEndpointCommandInput | GetApiKeyCredentialProviderCommandInput | GetBrowserCommandInput | GetCodeInterpreterCommandInput | GetGatewayCommandInput | GetGatewayTargetCommandInput | GetMemoryCommandInput | GetOauth2CredentialProviderCommandInput | GetTokenVaultCommandInput | GetWorkloadIdentityCommandInput | ListAgentRuntimeEndpointsCommandInput | ListAgentRuntimeVersionsCommandInput | ListAgentRuntimesCommandInput | ListApiKeyCredentialProvidersCommandInput | ListBrowsersCommandInput | ListCodeInterpretersCommandInput | ListGatewayTargetsCommandInput | ListGatewaysCommandInput | ListMemoriesCommandInput | ListOauth2CredentialProvidersCommandInput | ListTagsForResourceCommandInput | ListWorkloadIdentitiesCommandInput | SetTokenVaultCMKCommandInput | SynchronizeGatewayTargetsCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAgentRuntimeCommandInput | UpdateAgentRuntimeEndpointCommandInput | UpdateApiKeyCredentialProviderCommandInput | UpdateGatewayCommandInput | UpdateGatewayTargetCommandInput | UpdateMemoryCommandInput | UpdateOauth2CredentialProviderCommandInput | UpdateWorkloadIdentityCommandInput;
71
72
  /**
72
73
  * @public
73
74
  */
74
- export type ServiceOutputTypes = CreateAgentRuntimeCommandOutput | CreateAgentRuntimeEndpointCommandOutput | CreateApiKeyCredentialProviderCommandOutput | CreateBrowserCommandOutput | CreateCodeInterpreterCommandOutput | CreateGatewayCommandOutput | CreateGatewayTargetCommandOutput | CreateMemoryCommandOutput | CreateOauth2CredentialProviderCommandOutput | CreateWorkloadIdentityCommandOutput | DeleteAgentRuntimeCommandOutput | DeleteAgentRuntimeEndpointCommandOutput | DeleteApiKeyCredentialProviderCommandOutput | DeleteBrowserCommandOutput | DeleteCodeInterpreterCommandOutput | DeleteGatewayCommandOutput | DeleteGatewayTargetCommandOutput | DeleteMemoryCommandOutput | DeleteOauth2CredentialProviderCommandOutput | DeleteWorkloadIdentityCommandOutput | GetAgentRuntimeCommandOutput | GetAgentRuntimeEndpointCommandOutput | GetApiKeyCredentialProviderCommandOutput | GetBrowserCommandOutput | GetCodeInterpreterCommandOutput | GetGatewayCommandOutput | GetGatewayTargetCommandOutput | GetMemoryCommandOutput | GetOauth2CredentialProviderCommandOutput | GetTokenVaultCommandOutput | GetWorkloadIdentityCommandOutput | ListAgentRuntimeEndpointsCommandOutput | ListAgentRuntimeVersionsCommandOutput | ListAgentRuntimesCommandOutput | ListApiKeyCredentialProvidersCommandOutput | ListBrowsersCommandOutput | ListCodeInterpretersCommandOutput | ListGatewayTargetsCommandOutput | ListGatewaysCommandOutput | ListMemoriesCommandOutput | ListOauth2CredentialProvidersCommandOutput | ListTagsForResourceCommandOutput | ListWorkloadIdentitiesCommandOutput | SetTokenVaultCMKCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAgentRuntimeCommandOutput | UpdateAgentRuntimeEndpointCommandOutput | UpdateApiKeyCredentialProviderCommandOutput | UpdateGatewayCommandOutput | UpdateGatewayTargetCommandOutput | UpdateMemoryCommandOutput | UpdateOauth2CredentialProviderCommandOutput | UpdateWorkloadIdentityCommandOutput;
75
+ export type ServiceOutputTypes = CreateAgentRuntimeCommandOutput | CreateAgentRuntimeEndpointCommandOutput | CreateApiKeyCredentialProviderCommandOutput | CreateBrowserCommandOutput | CreateCodeInterpreterCommandOutput | CreateGatewayCommandOutput | CreateGatewayTargetCommandOutput | CreateMemoryCommandOutput | CreateOauth2CredentialProviderCommandOutput | CreateWorkloadIdentityCommandOutput | DeleteAgentRuntimeCommandOutput | DeleteAgentRuntimeEndpointCommandOutput | DeleteApiKeyCredentialProviderCommandOutput | DeleteBrowserCommandOutput | DeleteCodeInterpreterCommandOutput | DeleteGatewayCommandOutput | DeleteGatewayTargetCommandOutput | DeleteMemoryCommandOutput | DeleteOauth2CredentialProviderCommandOutput | DeleteWorkloadIdentityCommandOutput | GetAgentRuntimeCommandOutput | GetAgentRuntimeEndpointCommandOutput | GetApiKeyCredentialProviderCommandOutput | GetBrowserCommandOutput | GetCodeInterpreterCommandOutput | GetGatewayCommandOutput | GetGatewayTargetCommandOutput | GetMemoryCommandOutput | GetOauth2CredentialProviderCommandOutput | GetTokenVaultCommandOutput | GetWorkloadIdentityCommandOutput | ListAgentRuntimeEndpointsCommandOutput | ListAgentRuntimeVersionsCommandOutput | ListAgentRuntimesCommandOutput | ListApiKeyCredentialProvidersCommandOutput | ListBrowsersCommandOutput | ListCodeInterpretersCommandOutput | ListGatewayTargetsCommandOutput | ListGatewaysCommandOutput | ListMemoriesCommandOutput | ListOauth2CredentialProvidersCommandOutput | ListTagsForResourceCommandOutput | ListWorkloadIdentitiesCommandOutput | SetTokenVaultCMKCommandOutput | SynchronizeGatewayTargetsCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAgentRuntimeCommandOutput | UpdateAgentRuntimeEndpointCommandOutput | UpdateApiKeyCredentialProviderCommandOutput | UpdateGatewayCommandOutput | UpdateGatewayTargetCommandOutput | UpdateMemoryCommandOutput | UpdateOauth2CredentialProviderCommandOutput | UpdateWorkloadIdentityCommandOutput;
75
76
  /**
76
77
  * @public
77
78
  */
@@ -52,6 +52,8 @@ declare const CreateAgentRuntimeEndpointCommand_base: {
52
52
  * // targetVersion: "STRING_VALUE", // required
53
53
  * // agentRuntimeEndpointArn: "STRING_VALUE", // required
54
54
  * // agentRuntimeArn: "STRING_VALUE", // required
55
+ * // agentRuntimeId: "STRING_VALUE",
56
+ * // endpointName: "STRING_VALUE",
55
57
  * // status: "CREATING" || "CREATE_FAILED" || "UPDATING" || "UPDATE_FAILED" || "READY" || "DELETING", // required
56
58
  * // createdAt: new Date("TIMESTAMP"), // required
57
59
  * // };
@@ -39,6 +39,9 @@ declare const CreateApiKeyCredentialProviderCommand_base: {
39
39
  * const input = { // CreateApiKeyCredentialProviderRequest
40
40
  * name: "STRING_VALUE", // required
41
41
  * apiKey: "STRING_VALUE", // required
42
+ * tags: { // TagsMap
43
+ * "<keys>": "STRING_VALUE",
44
+ * },
42
45
  * };
43
46
  * const command = new CreateApiKeyCredentialProviderCommand(input);
44
47
  * const response = await client.send(command);
@@ -27,7 +27,7 @@ declare const CreateGatewayCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Creates a gateway for Amazon Bedrock Agent. A gateway serves as an integration point between your agent and external services.</p> <p>To create a gateway, you must specify a name, protocol type, and IAM role. The role grants the gateway permission to access Amazon Web Services services and resources.</p>
30
+ * <p>Creates a gateway for Amazon Bedrock Agent. A gateway serves as an integration point between your agent and external services.</p> <p>If you specify <code>CUSTOM_JWT</code> as the <code>authorizerType</code>, you must provide an <code>authorizerConfiguration</code>.</p>
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
@@ -94,9 +94,12 @@ declare const CreateGatewayTargetCommand_base: {
94
94
  * ],
95
95
  * },
96
96
  * },
97
+ * mcpServer: { // McpServerTargetConfiguration
98
+ * endpoint: "STRING_VALUE", // required
99
+ * },
97
100
  * },
98
101
  * },
99
- * credentialProviderConfigurations: [ // CredentialProviderConfigurations // required
102
+ * credentialProviderConfigurations: [ // CredentialProviderConfigurations
100
103
  * { // CredentialProviderConfiguration
101
104
  * credentialProviderType: "GATEWAY_IAM_ROLE" || "OAUTH" || "API_KEY", // required
102
105
  * credentialProvider: { // CredentialProvider Union: only one key present
@@ -126,7 +129,7 @@ declare const CreateGatewayTargetCommand_base: {
126
129
  * // targetId: "STRING_VALUE", // required
127
130
  * // createdAt: new Date("TIMESTAMP"), // required
128
131
  * // updatedAt: new Date("TIMESTAMP"), // required
129
- * // status: "CREATING" || "UPDATING" || "UPDATE_UNSUCCESSFUL" || "DELETING" || "READY" || "FAILED", // required
132
+ * // status: "CREATING" || "UPDATING" || "UPDATE_UNSUCCESSFUL" || "DELETING" || "READY" || "FAILED" || "SYNCHRONIZING" || "SYNCHRONIZE_UNSUCCESSFUL", // required
130
133
  * // statusReasons: [ // StatusReasons
131
134
  * // "STRING_VALUE",
132
135
  * // ],
@@ -185,6 +188,9 @@ declare const CreateGatewayTargetCommand_base: {
185
188
  * // ],
186
189
  * // },
187
190
  * // },
191
+ * // mcpServer: { // McpServerTargetConfiguration
192
+ * // endpoint: "STRING_VALUE", // required
193
+ * // },
188
194
  * // },
189
195
  * // },
190
196
  * // credentialProviderConfigurations: [ // CredentialProviderConfigurations // required
@@ -209,6 +215,7 @@ declare const CreateGatewayTargetCommand_base: {
209
215
  * // },
210
216
  * // },
211
217
  * // ],
218
+ * // lastSynchronizedAt: new Date("TIMESTAMP"),
212
219
  * // };
213
220
  *
214
221
  * ```
@@ -99,6 +99,26 @@ declare const CreateMemoryCommand_base: {
99
99
  * modelId: "STRING_VALUE", // required
100
100
  * },
101
101
  * },
102
+ * selfManagedConfiguration: { // SelfManagedConfigurationInput
103
+ * triggerConditions: [ // TriggerConditionInputList
104
+ * { // TriggerConditionInput Union: only one key present
105
+ * messageBasedTrigger: { // MessageBasedTriggerInput
106
+ * messageCount: Number("int"),
107
+ * },
108
+ * tokenBasedTrigger: { // TokenBasedTriggerInput
109
+ * tokenCount: Number("int"),
110
+ * },
111
+ * timeBasedTrigger: { // TimeBasedTriggerInput
112
+ * idleSessionTimeout: Number("int"),
113
+ * },
114
+ * },
115
+ * ],
116
+ * invocationConfiguration: { // InvocationConfigurationInput
117
+ * topicArn: "STRING_VALUE", // required
118
+ * payloadDeliveryBucketName: "STRING_VALUE", // required
119
+ * },
120
+ * historicalContextWindowSize: Number("int"),
121
+ * },
102
122
  * },
103
123
  * },
104
124
  * },
@@ -128,7 +148,7 @@ declare const CreateMemoryCommand_base: {
128
148
  * // name: "STRING_VALUE", // required
129
149
  * // description: "STRING_VALUE",
130
150
  * // configuration: { // StrategyConfiguration
131
- * // type: "SEMANTIC_OVERRIDE" || "SUMMARY_OVERRIDE" || "USER_PREFERENCE_OVERRIDE",
151
+ * // type: "SEMANTIC_OVERRIDE" || "SUMMARY_OVERRIDE" || "USER_PREFERENCE_OVERRIDE" || "SELF_MANAGED",
132
152
  * // extraction: { // ExtractionConfiguration Union: only one key present
133
153
  * // customExtractionConfiguration: { // CustomExtractionConfiguration Union: only one key present
134
154
  * // semanticExtractionOverride: { // SemanticExtractionOverride
@@ -157,6 +177,26 @@ declare const CreateMemoryCommand_base: {
157
177
  * // },
158
178
  * // },
159
179
  * // },
180
+ * // selfManagedConfiguration: { // SelfManagedConfiguration
181
+ * // triggerConditions: [ // TriggerConditionsList // required
182
+ * // { // TriggerCondition Union: only one key present
183
+ * // messageBasedTrigger: { // MessageBasedTrigger
184
+ * // messageCount: Number("int"),
185
+ * // },
186
+ * // tokenBasedTrigger: { // TokenBasedTrigger
187
+ * // tokenCount: Number("int"),
188
+ * // },
189
+ * // timeBasedTrigger: { // TimeBasedTrigger
190
+ * // idleSessionTimeout: Number("int"),
191
+ * // },
192
+ * // },
193
+ * // ],
194
+ * // invocationConfiguration: { // InvocationConfiguration
195
+ * // topicArn: "STRING_VALUE", // required
196
+ * // payloadDeliveryBucketName: "STRING_VALUE", // required
197
+ * // },
198
+ * // historicalContextWindowSize: Number("int"), // required
199
+ * // },
160
200
  * // },
161
201
  * // type: "SEMANTIC" || "SUMMARIZATION" || "USER_PREFERENCE" || "CUSTOM", // required
162
202
  * // namespaces: [ // NamespacesList // required