@aws-sdk/client-bedrock-agentcore-control 3.1081.0 → 3.1082.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 CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1080.0";
72
+ var version = "3.1081.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -1317,7 +1317,8 @@ const _aS = "allowedScopes";
1317
1317
  const _aSA = "appSecretArn";
1318
1318
  const _aSC = "appSecretConfig";
1319
1319
  const _aSJK = "appSecretJsonKey";
1320
- const _aSM = "authorizationServerMetadata";
1320
+ const _aSM = "advertisedScopeMapping";
1321
+ const _aSMu = "authorizationServerMetadata";
1321
1322
  const _aSS = "appSecretSource";
1322
1323
  const _aSg = "agentSkills";
1323
1324
  const _aSp = "appSecret";
@@ -2493,8 +2494,8 @@ var CustomDescriptor$ = [3, n0, _CD,
2493
2494
  ];
2494
2495
  var CustomJWTAuthorizerConfiguration$ = [3, n0, _CJWTAC,
2495
2496
  0,
2496
- [_dU, _aAl, _aCl, _aS, _cCu, _pE, _pEO, _aWC],
2497
- [0, 64 | 0, 64 | 0, 64 | 0, () => CustomClaimValidationsType, () => PrivateEndpoint$, () => PrivateEndpointOverrides, () => AllowedWorkloadConfiguration$], 1
2497
+ [_dU, _aAl, _aCl, _aS, _aSM, _cCu, _pE, _pEO, _aWC],
2498
+ [0, 64 | 0, 64 | 0, 64 | 0, 128 | 0, () => CustomClaimValidationsType, () => PrivateEndpoint$, () => PrivateEndpointOverrides, () => AllowedWorkloadConfiguration$], 1
2498
2499
  ];
2499
2500
  var CustomMemoryStrategyInput$ = [3, n0, _CMSI,
2500
2501
  0,
@@ -5497,7 +5498,7 @@ var ModifyReflectionConfiguration$ = [4, n0, _MRC,
5497
5498
  ];
5498
5499
  var Oauth2Discovery$ = [4, n0, _OD,
5499
5500
  0,
5500
- [_dU, _aSM],
5501
+ [_dU, _aSMu],
5501
5502
  [0, () => Oauth2AuthorizationServerMetadata$]
5502
5503
  ];
5503
5504
  var Oauth2ProviderConfigInput$ = [4, n0, _OPCI,
@@ -1002,7 +1002,8 @@ const _aS = "allowedScopes";
1002
1002
  const _aSA = "appSecretArn";
1003
1003
  const _aSC = "appSecretConfig";
1004
1004
  const _aSJK = "appSecretJsonKey";
1005
- const _aSM = "authorizationServerMetadata";
1005
+ const _aSM = "advertisedScopeMapping";
1006
+ const _aSMu = "authorizationServerMetadata";
1006
1007
  const _aSS = "appSecretSource";
1007
1008
  const _aSg = "agentSkills";
1008
1009
  const _aSp = "appSecret";
@@ -2181,8 +2182,8 @@ export var CustomDescriptor$ = [3, n0, _CD,
2181
2182
  ];
2182
2183
  export var CustomJWTAuthorizerConfiguration$ = [3, n0, _CJWTAC,
2183
2184
  0,
2184
- [_dU, _aAl, _aCl, _aS, _cCu, _pE, _pEO, _aWC],
2185
- [0, 64 | 0, 64 | 0, 64 | 0, () => CustomClaimValidationsType, () => PrivateEndpoint$, () => PrivateEndpointOverrides, () => AllowedWorkloadConfiguration$], 1
2185
+ [_dU, _aAl, _aCl, _aS, _aSM, _cCu, _pE, _pEO, _aWC],
2186
+ [0, 64 | 0, 64 | 0, 64 | 0, 128 | 0, () => CustomClaimValidationsType, () => PrivateEndpoint$, () => PrivateEndpointOverrides, () => AllowedWorkloadConfiguration$], 1
2186
2187
  ];
2187
2188
  export var CustomMemoryStrategyInput$ = [3, n0, _CMSI,
2188
2189
  0,
@@ -4936,6 +4937,7 @@ var WorkloadIdentityList = [1, n0, _WIL,
4936
4937
  0, () => WorkloadIdentityType$
4937
4938
  ];
4938
4939
  var WorkloadIdentityNameListType = 64 | 0;
4940
+ var AdvertisedScopeMappingType = 128 | 0;
4939
4941
  var ComponentConfigurationMap = [2, n0, _CCM,
4940
4942
  0, [0,
4941
4943
  0],
@@ -5230,7 +5232,7 @@ export var ModifyReflectionConfiguration$ = [4, n0, _MRC,
5230
5232
  ];
5231
5233
  export var Oauth2Discovery$ = [4, n0, _OD,
5232
5234
  0,
5233
- [_dU, _aSM],
5235
+ [_dU, _aSMu],
5234
5236
  [0, () => Oauth2AuthorizationServerMetadata$]
5235
5237
  ];
5236
5238
  export var Oauth2ProviderConfigInput$ = [4, n0, _OPCI,
@@ -80,6 +80,9 @@ declare const CreateAgentRuntimeCommand_base: {
80
80
  * allowedScopes: [ // AllowedScopesType
81
81
  * "STRING_VALUE",
82
82
  * ],
83
+ * advertisedScopeMapping: { // AdvertisedScopeMappingType
84
+ * "<keys>": "STRING_VALUE",
85
+ * },
83
86
  * customClaims: [ // CustomClaimValidationsType
84
87
  * { // CustomClaimValidationType
85
88
  * inboundTokenClaimName: "STRING_VALUE", // required
@@ -67,6 +67,9 @@ declare const CreateGatewayCommand_base: {
67
67
  * allowedScopes: [ // AllowedScopesType
68
68
  * "STRING_VALUE",
69
69
  * ],
70
+ * advertisedScopeMapping: { // AdvertisedScopeMappingType
71
+ * "<keys>": "STRING_VALUE",
72
+ * },
70
73
  * customClaims: [ // CustomClaimValidationsType
71
74
  * { // CustomClaimValidationType
72
75
  * inboundTokenClaimName: "STRING_VALUE", // required
@@ -211,6 +214,9 @@ declare const CreateGatewayCommand_base: {
211
214
  * // allowedScopes: [ // AllowedScopesType
212
215
  * // "STRING_VALUE",
213
216
  * // ],
217
+ * // advertisedScopeMapping: { // AdvertisedScopeMappingType
218
+ * // "<keys>": "STRING_VALUE",
219
+ * // },
214
220
  * // customClaims: [ // CustomClaimValidationsType
215
221
  * // { // CustomClaimValidationType
216
222
  * // inboundTokenClaimName: "STRING_VALUE", // required
@@ -92,6 +92,9 @@ declare const CreateHarnessCommand_base: {
92
92
  * allowedScopes: [ // AllowedScopesType
93
93
  * "STRING_VALUE",
94
94
  * ],
95
+ * advertisedScopeMapping: { // AdvertisedScopeMappingType
96
+ * "<keys>": "STRING_VALUE",
97
+ * },
95
98
  * customClaims: [ // CustomClaimValidationsType
96
99
  * { // CustomClaimValidationType
97
100
  * inboundTokenClaimName: "STRING_VALUE", // required
@@ -500,6 +503,9 @@ declare const CreateHarnessCommand_base: {
500
503
  * // allowedScopes: [ // AllowedScopesType
501
504
  * // "STRING_VALUE",
502
505
  * // ],
506
+ * // advertisedScopeMapping: { // AdvertisedScopeMappingType
507
+ * // "<keys>": "STRING_VALUE",
508
+ * // },
503
509
  * // customClaims: [ // CustomClaimValidationsType
504
510
  * // { // CustomClaimValidationType
505
511
  * // inboundTokenClaimName: "STRING_VALUE", // required
@@ -49,6 +49,9 @@ declare const CreatePaymentManagerCommand_base: {
49
49
  * allowedScopes: [ // AllowedScopesType
50
50
  * "STRING_VALUE",
51
51
  * ],
52
+ * advertisedScopeMapping: { // AdvertisedScopeMappingType
53
+ * "<keys>": "STRING_VALUE",
54
+ * },
52
55
  * customClaims: [ // CustomClaimValidationsType
53
56
  * { // CustomClaimValidationType
54
57
  * inboundTokenClaimName: "STRING_VALUE", // required
@@ -142,6 +145,9 @@ declare const CreatePaymentManagerCommand_base: {
142
145
  * // allowedScopes: [ // AllowedScopesType
143
146
  * // "STRING_VALUE",
144
147
  * // ],
148
+ * // advertisedScopeMapping: { // AdvertisedScopeMappingType
149
+ * // "<keys>": "STRING_VALUE",
150
+ * // },
145
151
  * // customClaims: [ // CustomClaimValidationsType
146
152
  * // { // CustomClaimValidationType
147
153
  * // inboundTokenClaimName: "STRING_VALUE", // required
@@ -49,6 +49,9 @@ declare const CreateRegistryCommand_base: {
49
49
  * allowedScopes: [ // AllowedScopesType
50
50
  * "STRING_VALUE",
51
51
  * ],
52
+ * advertisedScopeMapping: { // AdvertisedScopeMappingType
53
+ * "<keys>": "STRING_VALUE",
54
+ * },
52
55
  * customClaims: [ // CustomClaimValidationsType
53
56
  * { // CustomClaimValidationType
54
57
  * inboundTokenClaimName: "STRING_VALUE", // required
@@ -228,6 +228,9 @@ declare const DeleteHarnessCommand_base: {
228
228
  * // allowedScopes: [ // AllowedScopesType
229
229
  * // "STRING_VALUE",
230
230
  * // ],
231
+ * // advertisedScopeMapping: { // AdvertisedScopeMappingType
232
+ * // "<keys>": "STRING_VALUE",
233
+ * // },
231
234
  * // customClaims: [ // CustomClaimValidationsType
232
235
  * // { // CustomClaimValidationType
233
236
  * // inboundTokenClaimName: "STRING_VALUE", // required
@@ -105,6 +105,9 @@ declare const GetAgentRuntimeCommand_base: {
105
105
  * // allowedScopes: [ // AllowedScopesType
106
106
  * // "STRING_VALUE",
107
107
  * // ],
108
+ * // advertisedScopeMapping: { // AdvertisedScopeMappingType
109
+ * // "<keys>": "STRING_VALUE",
110
+ * // },
108
111
  * // customClaims: [ // CustomClaimValidationsType
109
112
  * // { // CustomClaimValidationType
110
113
  * // inboundTokenClaimName: "STRING_VALUE", // required
@@ -80,6 +80,9 @@ declare const GetGatewayCommand_base: {
80
80
  * // allowedScopes: [ // AllowedScopesType
81
81
  * // "STRING_VALUE",
82
82
  * // ],
83
+ * // advertisedScopeMapping: { // AdvertisedScopeMappingType
84
+ * // "<keys>": "STRING_VALUE",
85
+ * // },
83
86
  * // customClaims: [ // CustomClaimValidationsType
84
87
  * // { // CustomClaimValidationType
85
88
  * // inboundTokenClaimName: "STRING_VALUE", // required
@@ -227,6 +227,9 @@ declare const GetHarnessCommand_base: {
227
227
  * // allowedScopes: [ // AllowedScopesType
228
228
  * // "STRING_VALUE",
229
229
  * // ],
230
+ * // advertisedScopeMapping: { // AdvertisedScopeMappingType
231
+ * // "<keys>": "STRING_VALUE",
232
+ * // },
230
233
  * // customClaims: [ // CustomClaimValidationsType
231
234
  * // { // CustomClaimValidationType
232
235
  * // inboundTokenClaimName: "STRING_VALUE", // required
@@ -56,6 +56,9 @@ declare const GetPaymentManagerCommand_base: {
56
56
  * // allowedScopes: [ // AllowedScopesType
57
57
  * // "STRING_VALUE",
58
58
  * // ],
59
+ * // advertisedScopeMapping: { // AdvertisedScopeMappingType
60
+ * // "<keys>": "STRING_VALUE",
61
+ * // },
59
62
  * // customClaims: [ // CustomClaimValidationsType
60
63
  * // { // CustomClaimValidationType
61
64
  * // inboundTokenClaimName: "STRING_VALUE", // required
@@ -56,6 +56,9 @@ declare const GetRegistryCommand_base: {
56
56
  * // allowedScopes: [ // AllowedScopesType
57
57
  * // "STRING_VALUE",
58
58
  * // ],
59
+ * // advertisedScopeMapping: { // AdvertisedScopeMappingType
60
+ * // "<keys>": "STRING_VALUE",
61
+ * // },
59
62
  * // customClaims: [ // CustomClaimValidationsType
60
63
  * // { // CustomClaimValidationType
61
64
  * // inboundTokenClaimName: "STRING_VALUE", // required
@@ -79,6 +79,9 @@ declare const UpdateAgentRuntimeCommand_base: {
79
79
  * allowedScopes: [ // AllowedScopesType
80
80
  * "STRING_VALUE",
81
81
  * ],
82
+ * advertisedScopeMapping: { // AdvertisedScopeMappingType
83
+ * "<keys>": "STRING_VALUE",
84
+ * },
82
85
  * customClaims: [ // CustomClaimValidationsType
83
86
  * { // CustomClaimValidationType
84
87
  * inboundTokenClaimName: "STRING_VALUE", // required
@@ -67,6 +67,9 @@ declare const UpdateGatewayCommand_base: {
67
67
  * allowedScopes: [ // AllowedScopesType
68
68
  * "STRING_VALUE",
69
69
  * ],
70
+ * advertisedScopeMapping: { // AdvertisedScopeMappingType
71
+ * "<keys>": "STRING_VALUE",
72
+ * },
70
73
  * customClaims: [ // CustomClaimValidationsType
71
74
  * { // CustomClaimValidationType
72
75
  * inboundTokenClaimName: "STRING_VALUE", // required
@@ -218,6 +221,9 @@ declare const UpdateGatewayCommand_base: {
218
221
  * // allowedScopes: [ // AllowedScopesType
219
222
  * // "STRING_VALUE",
220
223
  * // ],
224
+ * // advertisedScopeMapping: { // AdvertisedScopeMappingType
225
+ * // "<keys>": "STRING_VALUE",
226
+ * // },
221
227
  * // customClaims: [ // CustomClaimValidationsType
222
228
  * // { // CustomClaimValidationType
223
229
  * // inboundTokenClaimName: "STRING_VALUE", // required
@@ -95,6 +95,9 @@ declare const UpdateHarnessCommand_base: {
95
95
  * allowedScopes: [ // AllowedScopesType
96
96
  * "STRING_VALUE",
97
97
  * ],
98
+ * advertisedScopeMapping: { // AdvertisedScopeMappingType
99
+ * "<keys>": "STRING_VALUE",
100
+ * },
98
101
  * customClaims: [ // CustomClaimValidationsType
99
102
  * { // CustomClaimValidationType
100
103
  * inboundTokenClaimName: "STRING_VALUE", // required
@@ -505,6 +508,9 @@ declare const UpdateHarnessCommand_base: {
505
508
  * // allowedScopes: [ // AllowedScopesType
506
509
  * // "STRING_VALUE",
507
510
  * // ],
511
+ * // advertisedScopeMapping: { // AdvertisedScopeMappingType
512
+ * // "<keys>": "STRING_VALUE",
513
+ * // },
508
514
  * // customClaims: [ // CustomClaimValidationsType
509
515
  * // { // CustomClaimValidationType
510
516
  * // inboundTokenClaimName: "STRING_VALUE", // required
@@ -49,6 +49,9 @@ declare const UpdatePaymentManagerCommand_base: {
49
49
  * allowedScopes: [ // AllowedScopesType
50
50
  * "STRING_VALUE",
51
51
  * ],
52
+ * advertisedScopeMapping: { // AdvertisedScopeMappingType
53
+ * "<keys>": "STRING_VALUE",
54
+ * },
52
55
  * customClaims: [ // CustomClaimValidationsType
53
56
  * { // CustomClaimValidationType
54
57
  * inboundTokenClaimName: "STRING_VALUE", // required
@@ -52,6 +52,9 @@ declare const UpdateRegistryCommand_base: {
52
52
  * allowedScopes: [ // AllowedScopesType
53
53
  * "STRING_VALUE",
54
54
  * ],
55
+ * advertisedScopeMapping: { // AdvertisedScopeMappingType
56
+ * "<keys>": "STRING_VALUE",
57
+ * },
55
58
  * customClaims: [ // CustomClaimValidationsType
56
59
  * { // CustomClaimValidationType
57
60
  * inboundTokenClaimName: "STRING_VALUE", // required
@@ -149,6 +152,9 @@ declare const UpdateRegistryCommand_base: {
149
152
  * // allowedScopes: [ // AllowedScopesType
150
153
  * // "STRING_VALUE",
151
154
  * // ],
155
+ * // advertisedScopeMapping: { // AdvertisedScopeMappingType
156
+ * // "<keys>": "STRING_VALUE",
157
+ * // },
152
158
  * // customClaims: [ // CustomClaimValidationsType
153
159
  * // { // CustomClaimValidationType
154
160
  * // inboundTokenClaimName: "STRING_VALUE", // required
@@ -1173,6 +1173,11 @@ export interface CustomJWTAuthorizerConfiguration {
1173
1173
  * @public
1174
1174
  */
1175
1175
  allowedScopes?: string[] | undefined;
1176
+ /**
1177
+ * <p>A map that associates each scope in <code>allowedScopes</code> with a corresponding advertised scope value. The advertised scope appears in OAuth protected resource metadata and <code>WWW-Authenticate</code> response headers. Use this parameter when the scope that clients request from your identity provider differs from the scope in the validated token. Each key is a scope from <code>allowedScopes</code> that the service uses for token validation. Each value is the corresponding scope that the service advertises to clients. Scopes without a mapping entry appear unchanged to clients.</p>
1178
+ * @public
1179
+ */
1180
+ advertisedScopeMapping?: Record<string, string> | undefined;
1176
1181
  /**
1177
1182
  * <p>An array of objects that define a custom claim validation name, value, and operation </p>
1178
1183
  * @public
@@ -6565,7 +6570,7 @@ export interface PassthroughTargetConfiguration {
6565
6570
  */
6566
6571
  endpoint: string | undefined;
6567
6572
  /**
6568
- * The application protocol the passthrough target implements. Required for passthrough targets.
6573
+ * <p>The application protocol that the passthrough target implements. This value is required for passthrough targets:</p> <ul> <li> <p> <code>MCP</code> - The Model Context Protocol.</p> </li> <li> <p> <code>A2A</code> - The Agent-to-Agent protocol.</p> </li> <li> <p> <code>INFERENCE</code> - The protocol for routing requests to a large language model (LLM) provider.</p> </li> <li> <p> <code>CUSTOM</code> - A custom application protocol.</p> </li> </ul>
6569
6574
  * @public
6570
6575
  */
6571
6576
  protocolType: PassthroughProtocolType | undefined;
@@ -2955,8 +2955,7 @@ export interface Memory {
2955
2955
  */
2956
2956
  streamDeliveryResources?: StreamDeliveryResources | undefined;
2957
2957
  /**
2958
- * ARN of the resource managing this memory (e.g. a harness). When set, strategy
2959
- * modifications and deletion are only allowed through the managing resource.
2958
+ * <p>ARN of the resource managing this memory (e.g. a harness). When set, strategy modifications and deletion are only allowed through the managing resource.</p>
2960
2959
  * @public
2961
2960
  */
2962
2961
  managedByResourceArn?: string | undefined;
@@ -3072,7 +3071,7 @@ export interface MemorySummary {
3072
3071
  */
3073
3072
  updatedAt: Date | undefined;
3074
3073
  /**
3075
- * ARN of the resource managing this memory (e.g. a harness). Null if not managed.
3074
+ * <p>ARN of the resource managing this memory (e.g. a harness). Null if not managed.</p>
3076
3075
  * @public
3077
3076
  */
3078
3077
  managedByResourceArn?: string | undefined;
@@ -451,6 +451,7 @@ export interface CustomJWTAuthorizerConfiguration {
451
451
  allowedAudience?: string[] | undefined;
452
452
  allowedClients?: string[] | undefined;
453
453
  allowedScopes?: string[] | undefined;
454
+ advertisedScopeMapping?: Record<string, string> | undefined;
454
455
  customClaims?: CustomClaimValidationType[] | undefined;
455
456
  privateEndpoint?: PrivateEndpoint | undefined;
456
457
  privateEndpointOverrides?: PrivateEndpointOverride[] | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-bedrock-agentcore-control",
3
3
  "description": "AWS SDK for JavaScript Bedrock Agentcore Control Client for Node.js, Browser and React Native",
4
- "version": "3.1081.0",
4
+ "version": "3.1082.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline",
@@ -19,13 +19,13 @@
19
19
  "module": "./dist-es/index.js",
20
20
  "sideEffects": false,
21
21
  "dependencies": {
22
- "@aws-sdk/core": "^3.974.29",
23
- "@aws-sdk/credential-provider-node": "^3.972.64",
24
- "@aws-sdk/types": "^3.973.15",
25
- "@smithy/core": "^3.29.0",
26
- "@smithy/fetch-http-handler": "^5.6.2",
27
- "@smithy/node-http-handler": "^4.9.2",
28
- "@smithy/types": "^4.15.1",
22
+ "@aws-sdk/core": "^3.975.0",
23
+ "@aws-sdk/credential-provider-node": "^3.972.65",
24
+ "@aws-sdk/types": "^3.974.0",
25
+ "@smithy/core": "^3.29.2",
26
+ "@smithy/fetch-http-handler": "^5.6.4",
27
+ "@smithy/node-http-handler": "^4.9.4",
28
+ "@smithy/types": "^4.16.0",
29
29
  "tslib": "^2.6.2"
30
30
  },
31
31
  "devDependencies": {