@aws-sdk/client-bedrock-agentcore 3.1103.0 → 3.1105.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 +7 -0
- package/dist-cjs/index.js +36 -1
- package/dist-es/BedrockAgentCore.js +2 -0
- package/dist-es/commands/DeleteCapacityProviderSessionCommand.js +4 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/enums.js +8 -0
- package/dist-es/schemas/schemas_0.js +18 -0
- package/dist-types/BedrockAgentCore.d.ts +7 -0
- package/dist-types/BedrockAgentCoreClient.d.ts +3 -2
- package/dist-types/commands/DeleteCapacityProviderSessionCommand.d.ts +89 -0
- package/dist-types/commands/GetMemoryRecordCommand.d.ts +2 -1
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/enums.d.ts +16 -0
- package/dist-types/models/models_0.d.ts +36 -47
- package/dist-types/models/models_1.d.ts +46 -0
- package/dist-types/schemas/schemas_0.d.ts +3 -0
- package/dist-types/ts3.4/BedrockAgentCore.d.ts +17 -0
- package/dist-types/ts3.4/BedrockAgentCoreClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/DeleteCapacityProviderSessionCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetMemoryRecordCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +10 -0
- package/dist-types/ts3.4/models/models_0.d.ts +10 -11
- package/dist-types/ts3.4/models/models_1.d.ts +11 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +3 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -251,6 +251,13 @@ DeleteBatchEvaluation
|
|
|
251
251
|
</details>
|
|
252
252
|
<details>
|
|
253
253
|
<summary>
|
|
254
|
+
DeleteCapacityProviderSession
|
|
255
|
+
</summary>
|
|
256
|
+
|
|
257
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock-agentcore/command/DeleteCapacityProviderSessionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agentcore/Interface/DeleteCapacityProviderSessionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agentcore/Interface/DeleteCapacityProviderSessionCommandOutput/)
|
|
258
|
+
</details>
|
|
259
|
+
<details>
|
|
260
|
+
<summary>
|
|
254
261
|
DeleteEvent
|
|
255
262
|
</summary>
|
|
256
263
|
|
package/dist-cjs/index.js
CHANGED
|
@@ -70,7 +70,7 @@ const commonParams = {
|
|
|
70
70
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
71
71
|
};
|
|
72
72
|
|
|
73
|
-
var version = "3.
|
|
73
|
+
var version = "3.1104.0";
|
|
74
74
|
var packageInfo = {
|
|
75
75
|
version: version};
|
|
76
76
|
|
|
@@ -419,6 +419,9 @@ const _DABTRe = "DeleteABTestResponse";
|
|
|
419
419
|
const _DBE = "DeleteBatchEvaluation";
|
|
420
420
|
const _DBER = "DeleteBatchEvaluationRequest";
|
|
421
421
|
const _DBERe = "DeleteBatchEvaluationResponse";
|
|
422
|
+
const _DCPS = "DeleteCapacityProviderSession";
|
|
423
|
+
const _DCPSR = "DeleteCapacityProviderSessionRequest";
|
|
424
|
+
const _DCPSRe = "DeleteCapacityProviderSessionResponse";
|
|
422
425
|
const _DE = "DeleteEvent";
|
|
423
426
|
const _DEI = "DeleteEventInput";
|
|
424
427
|
const _DEO = "DeleteEventOutput";
|
|
@@ -968,6 +971,8 @@ const _cII = "codeInterpreterIdentifier";
|
|
|
968
971
|
const _cIo = "confidenceInterval";
|
|
969
972
|
const _cL = "cloudwatchLogs";
|
|
970
973
|
const _cP = "customParameters";
|
|
974
|
+
const _cPA = "capacityProviderArn";
|
|
975
|
+
const _cPI = "capacityProviderId";
|
|
971
976
|
const _cRI = "currentRunId";
|
|
972
977
|
const _cRIT = "cacheReadInputTokens";
|
|
973
978
|
const _cS = "controlStats";
|
|
@@ -1848,6 +1853,16 @@ var DeleteBatchEvaluationResponse$ = [3, n0, _DBERe,
|
|
|
1848
1853
|
[_bEI, _bEA, _sta],
|
|
1849
1854
|
[0, 0, 0], 3
|
|
1850
1855
|
];
|
|
1856
|
+
var DeleteCapacityProviderSessionRequest$ = [3, n0, _DCPSR,
|
|
1857
|
+
0,
|
|
1858
|
+
[_cPI, _sI],
|
|
1859
|
+
[[0, 1], [0, 1]], 2
|
|
1860
|
+
];
|
|
1861
|
+
var DeleteCapacityProviderSessionResponse$ = [3, n0, _DCPSRe,
|
|
1862
|
+
0,
|
|
1863
|
+
[_cPA, _sI, _sta],
|
|
1864
|
+
[0, 0, 0], 3
|
|
1865
|
+
];
|
|
1851
1866
|
var DeleteEventInput$ = [3, n0, _DEI,
|
|
1852
1867
|
0,
|
|
1853
1868
|
[_mI, _sI, _eI, _aI],
|
|
@@ -3687,6 +3702,9 @@ var DeleteABTest$ = [9, n0, _DABT,
|
|
|
3687
3702
|
var DeleteBatchEvaluation$ = [9, n0, _DBE,
|
|
3688
3703
|
{ [_ht]: ["DELETE", "/evaluations/batch-evaluate/{batchEvaluationId}", 202] }, () => DeleteBatchEvaluationRequest$, () => DeleteBatchEvaluationResponse$
|
|
3689
3704
|
];
|
|
3705
|
+
var DeleteCapacityProviderSession$ = [9, n0, _DCPS,
|
|
3706
|
+
{ [_ht]: ["DELETE", "/capacity-providers/{capacityProviderId}/sessions/{sessionId}", 202] }, () => DeleteCapacityProviderSessionRequest$, () => DeleteCapacityProviderSessionResponse$
|
|
3707
|
+
];
|
|
3690
3708
|
var DeleteEvent$ = [9, n0, _DE,
|
|
3691
3709
|
{ [_ht]: ["DELETE", "/memories/{memoryId}/actor/{actorId}/sessions/{sessionId}/events/{eventId}", 200] }, () => DeleteEventInput$, () => DeleteEventOutput$
|
|
3692
3710
|
];
|
|
@@ -4036,6 +4054,9 @@ class DeleteABTestCommand extends command(_ep0, _mw0, "DeleteABTest", DeleteABTe
|
|
|
4036
4054
|
class DeleteBatchEvaluationCommand extends command(_ep0, _mw0, "DeleteBatchEvaluation", DeleteBatchEvaluation$) {
|
|
4037
4055
|
}
|
|
4038
4056
|
|
|
4057
|
+
class DeleteCapacityProviderSessionCommand extends command(_ep0, _mw0, "DeleteCapacityProviderSession", DeleteCapacityProviderSession$) {
|
|
4058
|
+
}
|
|
4059
|
+
|
|
4039
4060
|
class DeleteEventCommand extends command(_ep0, _mw0, "DeleteEvent", DeleteEvent$) {
|
|
4040
4061
|
}
|
|
4041
4062
|
|
|
@@ -4234,6 +4255,7 @@ const commands = {
|
|
|
4234
4255
|
CreatePaymentSessionCommand,
|
|
4235
4256
|
DeleteABTestCommand,
|
|
4236
4257
|
DeleteBatchEvaluationCommand,
|
|
4258
|
+
DeleteCapacityProviderSessionCommand,
|
|
4237
4259
|
DeleteEventCommand,
|
|
4238
4260
|
DeleteMemoryRecordCommand,
|
|
4239
4261
|
DeletePaymentInstrumentCommand,
|
|
@@ -4404,6 +4426,14 @@ const BrowserActionStatus = {
|
|
|
4404
4426
|
FAILED: "FAILED",
|
|
4405
4427
|
SUCCESS: "SUCCESS",
|
|
4406
4428
|
};
|
|
4429
|
+
const CapacityProviderSessionStatus = {
|
|
4430
|
+
ACTIVE: "Active",
|
|
4431
|
+
DELETED: "Deleted",
|
|
4432
|
+
DELETING: "Deleting",
|
|
4433
|
+
DEPROVISIONING: "Deprovisioning",
|
|
4434
|
+
PROVISIONING: "Provisioning",
|
|
4435
|
+
STOPPED: "Stopped",
|
|
4436
|
+
};
|
|
4407
4437
|
const CodeInterpreterSessionStatus = {
|
|
4408
4438
|
READY: "READY",
|
|
4409
4439
|
TERMINATED: "TERMINATED",
|
|
@@ -4671,6 +4701,7 @@ exports.BrowserProfileConfiguration$ = BrowserProfileConfiguration$;
|
|
|
4671
4701
|
exports.BrowserSessionStatus = BrowserSessionStatus;
|
|
4672
4702
|
exports.BrowserSessionStream$ = BrowserSessionStream$;
|
|
4673
4703
|
exports.BrowserSessionSummary$ = BrowserSessionSummary$;
|
|
4704
|
+
exports.CapacityProviderSessionStatus = CapacityProviderSessionStatus;
|
|
4674
4705
|
exports.Certificate$ = Certificate$;
|
|
4675
4706
|
exports.CertificateLocation$ = CertificateLocation$;
|
|
4676
4707
|
exports.CloudWatchFilterConfig$ = CloudWatchFilterConfig$;
|
|
@@ -4735,6 +4766,10 @@ exports.DeleteBatchEvaluation$ = DeleteBatchEvaluation$;
|
|
|
4735
4766
|
exports.DeleteBatchEvaluationCommand = DeleteBatchEvaluationCommand;
|
|
4736
4767
|
exports.DeleteBatchEvaluationRequest$ = DeleteBatchEvaluationRequest$;
|
|
4737
4768
|
exports.DeleteBatchEvaluationResponse$ = DeleteBatchEvaluationResponse$;
|
|
4769
|
+
exports.DeleteCapacityProviderSession$ = DeleteCapacityProviderSession$;
|
|
4770
|
+
exports.DeleteCapacityProviderSessionCommand = DeleteCapacityProviderSessionCommand;
|
|
4771
|
+
exports.DeleteCapacityProviderSessionRequest$ = DeleteCapacityProviderSessionRequest$;
|
|
4772
|
+
exports.DeleteCapacityProviderSessionResponse$ = DeleteCapacityProviderSessionResponse$;
|
|
4738
4773
|
exports.DeleteEvent$ = DeleteEvent$;
|
|
4739
4774
|
exports.DeleteEventCommand = DeleteEventCommand;
|
|
4740
4775
|
exports.DeleteEventInput$ = DeleteEventInput$;
|
|
@@ -10,6 +10,7 @@ import { CreatePaymentInstrumentCommand, } from "./commands/CreatePaymentInstrum
|
|
|
10
10
|
import { CreatePaymentSessionCommand, } from "./commands/CreatePaymentSessionCommand";
|
|
11
11
|
import { DeleteABTestCommand, } from "./commands/DeleteABTestCommand";
|
|
12
12
|
import { DeleteBatchEvaluationCommand, } from "./commands/DeleteBatchEvaluationCommand";
|
|
13
|
+
import { DeleteCapacityProviderSessionCommand, } from "./commands/DeleteCapacityProviderSessionCommand";
|
|
13
14
|
import { DeleteEventCommand, } from "./commands/DeleteEventCommand";
|
|
14
15
|
import { DeleteMemoryRecordCommand, } from "./commands/DeleteMemoryRecordCommand";
|
|
15
16
|
import { DeletePaymentInstrumentCommand, } from "./commands/DeletePaymentInstrumentCommand";
|
|
@@ -87,6 +88,7 @@ const commands = {
|
|
|
87
88
|
CreatePaymentSessionCommand,
|
|
88
89
|
DeleteABTestCommand,
|
|
89
90
|
DeleteBatchEvaluationCommand,
|
|
91
|
+
DeleteCapacityProviderSessionCommand,
|
|
90
92
|
DeleteEventCommand,
|
|
91
93
|
DeleteMemoryRecordCommand,
|
|
92
94
|
DeletePaymentInstrumentCommand,
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
2
|
+
import { DeleteCapacityProviderSession$ } from "../schemas/schemas_0";
|
|
3
|
+
export class DeleteCapacityProviderSessionCommand extends command(_ep0, _mw0, "DeleteCapacityProviderSession", DeleteCapacityProviderSession$) {
|
|
4
|
+
}
|
|
@@ -8,6 +8,7 @@ export * from "./CreatePaymentInstrumentCommand";
|
|
|
8
8
|
export * from "./CreatePaymentSessionCommand";
|
|
9
9
|
export * from "./DeleteABTestCommand";
|
|
10
10
|
export * from "./DeleteBatchEvaluationCommand";
|
|
11
|
+
export * from "./DeleteCapacityProviderSessionCommand";
|
|
11
12
|
export * from "./DeleteEventCommand";
|
|
12
13
|
export * from "./DeleteMemoryRecordCommand";
|
|
13
14
|
export * from "./DeletePaymentInstrumentCommand";
|
package/dist-es/models/enums.js
CHANGED
|
@@ -95,6 +95,14 @@ export const BrowserActionStatus = {
|
|
|
95
95
|
FAILED: "FAILED",
|
|
96
96
|
SUCCESS: "SUCCESS",
|
|
97
97
|
};
|
|
98
|
+
export const CapacityProviderSessionStatus = {
|
|
99
|
+
ACTIVE: "Active",
|
|
100
|
+
DELETED: "Deleted",
|
|
101
|
+
DELETING: "Deleting",
|
|
102
|
+
DEPROVISIONING: "Deprovisioning",
|
|
103
|
+
PROVISIONING: "Provisioning",
|
|
104
|
+
STOPPED: "Stopped",
|
|
105
|
+
};
|
|
98
106
|
export const CodeInterpreterSessionStatus = {
|
|
99
107
|
READY: "READY",
|
|
100
108
|
TERMINATED: "TERMINATED",
|
|
@@ -104,6 +104,9 @@ const _DABTRe = "DeleteABTestResponse";
|
|
|
104
104
|
const _DBE = "DeleteBatchEvaluation";
|
|
105
105
|
const _DBER = "DeleteBatchEvaluationRequest";
|
|
106
106
|
const _DBERe = "DeleteBatchEvaluationResponse";
|
|
107
|
+
const _DCPS = "DeleteCapacityProviderSession";
|
|
108
|
+
const _DCPSR = "DeleteCapacityProviderSessionRequest";
|
|
109
|
+
const _DCPSRe = "DeleteCapacityProviderSessionResponse";
|
|
107
110
|
const _DE = "DeleteEvent";
|
|
108
111
|
const _DEI = "DeleteEventInput";
|
|
109
112
|
const _DEO = "DeleteEventOutput";
|
|
@@ -653,6 +656,8 @@ const _cII = "codeInterpreterIdentifier";
|
|
|
653
656
|
const _cIo = "confidenceInterval";
|
|
654
657
|
const _cL = "cloudwatchLogs";
|
|
655
658
|
const _cP = "customParameters";
|
|
659
|
+
const _cPA = "capacityProviderArn";
|
|
660
|
+
const _cPI = "capacityProviderId";
|
|
656
661
|
const _cRI = "currentRunId";
|
|
657
662
|
const _cRIT = "cacheReadInputTokens";
|
|
658
663
|
const _cS = "controlStats";
|
|
@@ -1536,6 +1541,16 @@ export var DeleteBatchEvaluationResponse$ = [3, n0, _DBERe,
|
|
|
1536
1541
|
[_bEI, _bEA, _sta],
|
|
1537
1542
|
[0, 0, 0], 3
|
|
1538
1543
|
];
|
|
1544
|
+
export var DeleteCapacityProviderSessionRequest$ = [3, n0, _DCPSR,
|
|
1545
|
+
0,
|
|
1546
|
+
[_cPI, _sI],
|
|
1547
|
+
[[0, 1], [0, 1]], 2
|
|
1548
|
+
];
|
|
1549
|
+
export var DeleteCapacityProviderSessionResponse$ = [3, n0, _DCPSRe,
|
|
1550
|
+
0,
|
|
1551
|
+
[_cPA, _sI, _sta],
|
|
1552
|
+
[0, 0, 0], 3
|
|
1553
|
+
];
|
|
1539
1554
|
export var DeleteEventInput$ = [3, n0, _DEI,
|
|
1540
1555
|
0,
|
|
1541
1556
|
[_mI, _sI, _eI, _aI],
|
|
@@ -3399,6 +3414,9 @@ export var DeleteABTest$ = [9, n0, _DABT,
|
|
|
3399
3414
|
export var DeleteBatchEvaluation$ = [9, n0, _DBE,
|
|
3400
3415
|
{ [_ht]: ["DELETE", "/evaluations/batch-evaluate/{batchEvaluationId}", 202] }, () => DeleteBatchEvaluationRequest$, () => DeleteBatchEvaluationResponse$
|
|
3401
3416
|
];
|
|
3417
|
+
export var DeleteCapacityProviderSession$ = [9, n0, _DCPS,
|
|
3418
|
+
{ [_ht]: ["DELETE", "/capacity-providers/{capacityProviderId}/sessions/{sessionId}", 202] }, () => DeleteCapacityProviderSessionRequest$, () => DeleteCapacityProviderSessionResponse$
|
|
3419
|
+
];
|
|
3402
3420
|
export var DeleteEvent$ = [9, n0, _DE,
|
|
3403
3421
|
{ [_ht]: ["DELETE", "/memories/{memoryId}/actor/{actorId}/sessions/{sessionId}/events/{eventId}", 200] }, () => DeleteEventInput$, () => DeleteEventOutput$
|
|
3404
3422
|
];
|
|
@@ -10,6 +10,7 @@ import { type CreatePaymentInstrumentCommandInput, type CreatePaymentInstrumentC
|
|
|
10
10
|
import { type CreatePaymentSessionCommandInput, type CreatePaymentSessionCommandOutput } from "./commands/CreatePaymentSessionCommand";
|
|
11
11
|
import { type DeleteABTestCommandInput, type DeleteABTestCommandOutput } from "./commands/DeleteABTestCommand";
|
|
12
12
|
import { type DeleteBatchEvaluationCommandInput, type DeleteBatchEvaluationCommandOutput } from "./commands/DeleteBatchEvaluationCommand";
|
|
13
|
+
import { type DeleteCapacityProviderSessionCommandInput, type DeleteCapacityProviderSessionCommandOutput } from "./commands/DeleteCapacityProviderSessionCommand";
|
|
13
14
|
import { type DeleteEventCommandInput, type DeleteEventCommandOutput } from "./commands/DeleteEventCommand";
|
|
14
15
|
import { type DeleteMemoryRecordCommandInput, type DeleteMemoryRecordCommandOutput } from "./commands/DeleteMemoryRecordCommand";
|
|
15
16
|
import { type DeletePaymentInstrumentCommandInput, type DeletePaymentInstrumentCommandOutput } from "./commands/DeletePaymentInstrumentCommand";
|
|
@@ -126,6 +127,12 @@ export interface BedrockAgentCore {
|
|
|
126
127
|
deleteBatchEvaluation(args: DeleteBatchEvaluationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteBatchEvaluationCommandOutput>;
|
|
127
128
|
deleteBatchEvaluation(args: DeleteBatchEvaluationCommandInput, cb: (err: any, data?: DeleteBatchEvaluationCommandOutput) => void): void;
|
|
128
129
|
deleteBatchEvaluation(args: DeleteBatchEvaluationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteBatchEvaluationCommandOutput) => void): void;
|
|
130
|
+
/**
|
|
131
|
+
* @see {@link DeleteCapacityProviderSessionCommand}
|
|
132
|
+
*/
|
|
133
|
+
deleteCapacityProviderSession(args: DeleteCapacityProviderSessionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteCapacityProviderSessionCommandOutput>;
|
|
134
|
+
deleteCapacityProviderSession(args: DeleteCapacityProviderSessionCommandInput, cb: (err: any, data?: DeleteCapacityProviderSessionCommandOutput) => void): void;
|
|
135
|
+
deleteCapacityProviderSession(args: DeleteCapacityProviderSessionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteCapacityProviderSessionCommandOutput) => void): void;
|
|
129
136
|
/**
|
|
130
137
|
* @see {@link DeleteEventCommand}
|
|
131
138
|
*/
|
|
@@ -17,6 +17,7 @@ import type { CreatePaymentInstrumentCommandInput, CreatePaymentInstrumentComman
|
|
|
17
17
|
import type { CreatePaymentSessionCommandInput, CreatePaymentSessionCommandOutput } from "./commands/CreatePaymentSessionCommand";
|
|
18
18
|
import type { DeleteABTestCommandInput, DeleteABTestCommandOutput } from "./commands/DeleteABTestCommand";
|
|
19
19
|
import type { DeleteBatchEvaluationCommandInput, DeleteBatchEvaluationCommandOutput } from "./commands/DeleteBatchEvaluationCommand";
|
|
20
|
+
import type { DeleteCapacityProviderSessionCommandInput, DeleteCapacityProviderSessionCommandOutput } from "./commands/DeleteCapacityProviderSessionCommand";
|
|
20
21
|
import type { DeleteEventCommandInput, DeleteEventCommandOutput } from "./commands/DeleteEventCommand";
|
|
21
22
|
import type { DeleteMemoryRecordCommandInput, DeleteMemoryRecordCommandOutput } from "./commands/DeleteMemoryRecordCommand";
|
|
22
23
|
import type { DeletePaymentInstrumentCommandInput, DeletePaymentInstrumentCommandOutput } from "./commands/DeletePaymentInstrumentCommand";
|
|
@@ -78,11 +79,11 @@ export { __Client };
|
|
|
78
79
|
/**
|
|
79
80
|
* @public
|
|
80
81
|
*/
|
|
81
|
-
export type ServiceInputTypes = BatchCreateMemoryRecordsCommandInput | BatchDeleteMemoryRecordsCommandInput | BatchUpdateMemoryRecordsCommandInput | CompleteResourceTokenAuthCommandInput | CreateABTestCommandInput | CreateEventCommandInput | CreatePaymentInstrumentCommandInput | CreatePaymentSessionCommandInput | DeleteABTestCommandInput | DeleteBatchEvaluationCommandInput | DeleteEventCommandInput | DeleteMemoryRecordCommandInput | DeletePaymentInstrumentCommandInput | DeletePaymentSessionCommandInput | DeleteRecommendationCommandInput | EvaluateCommandInput | GetABTestCommandInput | GetAgentCardCommandInput | GetBatchEvaluationCommandInput | GetBrowserSessionCommandInput | GetCodeInterpreterSessionCommandInput | GetEventCommandInput | GetMemoryRecordCommandInput | GetPaymentInstrumentBalanceCommandInput | GetPaymentInstrumentCommandInput | GetPaymentSessionCommandInput | GetRecommendationCommandInput | GetResourceApiKeyCommandInput | GetResourceOauth2TokenCommandInput | GetResourcePaymentTokenCommandInput | GetWorkloadAccessTokenCommandInput | GetWorkloadAccessTokenForJWTCommandInput | GetWorkloadAccessTokenForUserIdCommandInput | InvokeAgentRuntimeCommandCommandInput | InvokeAgentRuntimeCommandInput | InvokeBrowserCommandInput | InvokeCodeInterpreterCommandInput | InvokeHarnessCommandInput | ListABTestsCommandInput | ListActorsCommandInput | ListBatchEvaluationsCommandInput | ListBrowserSessionsCommandInput | ListCodeInterpreterSessionsCommandInput | ListEventsCommandInput | ListMemoryExtractionJobsCommandInput | ListMemoryRecordsCommandInput | ListPaymentInstrumentsCommandInput | ListPaymentSessionsCommandInput | ListRecommendationsCommandInput | ListSessionsCommandInput | ProcessPaymentCommandInput | RetrieveMemoryRecordsCommandInput | SaveBrowserSessionProfileCommandInput | SearchRegistryRecordsCommandInput | StartBatchEvaluationCommandInput | StartBrowserSessionCommandInput | StartCodeInterpreterSessionCommandInput | StartMemoryExtractionJobCommandInput | StartRecommendationCommandInput | StopBatchEvaluationCommandInput | StopBrowserSessionCommandInput | StopCodeInterpreterSessionCommandInput | StopRuntimeSessionCommandInput | UpdateABTestCommandInput | UpdateBrowserStreamCommandInput;
|
|
82
|
+
export type ServiceInputTypes = BatchCreateMemoryRecordsCommandInput | BatchDeleteMemoryRecordsCommandInput | BatchUpdateMemoryRecordsCommandInput | CompleteResourceTokenAuthCommandInput | CreateABTestCommandInput | CreateEventCommandInput | CreatePaymentInstrumentCommandInput | CreatePaymentSessionCommandInput | DeleteABTestCommandInput | DeleteBatchEvaluationCommandInput | DeleteCapacityProviderSessionCommandInput | DeleteEventCommandInput | DeleteMemoryRecordCommandInput | DeletePaymentInstrumentCommandInput | DeletePaymentSessionCommandInput | DeleteRecommendationCommandInput | EvaluateCommandInput | GetABTestCommandInput | GetAgentCardCommandInput | GetBatchEvaluationCommandInput | GetBrowserSessionCommandInput | GetCodeInterpreterSessionCommandInput | GetEventCommandInput | GetMemoryRecordCommandInput | GetPaymentInstrumentBalanceCommandInput | GetPaymentInstrumentCommandInput | GetPaymentSessionCommandInput | GetRecommendationCommandInput | GetResourceApiKeyCommandInput | GetResourceOauth2TokenCommandInput | GetResourcePaymentTokenCommandInput | GetWorkloadAccessTokenCommandInput | GetWorkloadAccessTokenForJWTCommandInput | GetWorkloadAccessTokenForUserIdCommandInput | InvokeAgentRuntimeCommandCommandInput | InvokeAgentRuntimeCommandInput | InvokeBrowserCommandInput | InvokeCodeInterpreterCommandInput | InvokeHarnessCommandInput | ListABTestsCommandInput | ListActorsCommandInput | ListBatchEvaluationsCommandInput | ListBrowserSessionsCommandInput | ListCodeInterpreterSessionsCommandInput | ListEventsCommandInput | ListMemoryExtractionJobsCommandInput | ListMemoryRecordsCommandInput | ListPaymentInstrumentsCommandInput | ListPaymentSessionsCommandInput | ListRecommendationsCommandInput | ListSessionsCommandInput | ProcessPaymentCommandInput | RetrieveMemoryRecordsCommandInput | SaveBrowserSessionProfileCommandInput | SearchRegistryRecordsCommandInput | StartBatchEvaluationCommandInput | StartBrowserSessionCommandInput | StartCodeInterpreterSessionCommandInput | StartMemoryExtractionJobCommandInput | StartRecommendationCommandInput | StopBatchEvaluationCommandInput | StopBrowserSessionCommandInput | StopCodeInterpreterSessionCommandInput | StopRuntimeSessionCommandInput | UpdateABTestCommandInput | UpdateBrowserStreamCommandInput;
|
|
82
83
|
/**
|
|
83
84
|
* @public
|
|
84
85
|
*/
|
|
85
|
-
export type ServiceOutputTypes = BatchCreateMemoryRecordsCommandOutput | BatchDeleteMemoryRecordsCommandOutput | BatchUpdateMemoryRecordsCommandOutput | CompleteResourceTokenAuthCommandOutput | CreateABTestCommandOutput | CreateEventCommandOutput | CreatePaymentInstrumentCommandOutput | CreatePaymentSessionCommandOutput | DeleteABTestCommandOutput | DeleteBatchEvaluationCommandOutput | DeleteEventCommandOutput | DeleteMemoryRecordCommandOutput | DeletePaymentInstrumentCommandOutput | DeletePaymentSessionCommandOutput | DeleteRecommendationCommandOutput | EvaluateCommandOutput | GetABTestCommandOutput | GetAgentCardCommandOutput | GetBatchEvaluationCommandOutput | GetBrowserSessionCommandOutput | GetCodeInterpreterSessionCommandOutput | GetEventCommandOutput | GetMemoryRecordCommandOutput | GetPaymentInstrumentBalanceCommandOutput | GetPaymentInstrumentCommandOutput | GetPaymentSessionCommandOutput | GetRecommendationCommandOutput | GetResourceApiKeyCommandOutput | GetResourceOauth2TokenCommandOutput | GetResourcePaymentTokenCommandOutput | GetWorkloadAccessTokenCommandOutput | GetWorkloadAccessTokenForJWTCommandOutput | GetWorkloadAccessTokenForUserIdCommandOutput | InvokeAgentRuntimeCommandCommandOutput | InvokeAgentRuntimeCommandOutput | InvokeBrowserCommandOutput | InvokeCodeInterpreterCommandOutput | InvokeHarnessCommandOutput | ListABTestsCommandOutput | ListActorsCommandOutput | ListBatchEvaluationsCommandOutput | ListBrowserSessionsCommandOutput | ListCodeInterpreterSessionsCommandOutput | ListEventsCommandOutput | ListMemoryExtractionJobsCommandOutput | ListMemoryRecordsCommandOutput | ListPaymentInstrumentsCommandOutput | ListPaymentSessionsCommandOutput | ListRecommendationsCommandOutput | ListSessionsCommandOutput | ProcessPaymentCommandOutput | RetrieveMemoryRecordsCommandOutput | SaveBrowserSessionProfileCommandOutput | SearchRegistryRecordsCommandOutput | StartBatchEvaluationCommandOutput | StartBrowserSessionCommandOutput | StartCodeInterpreterSessionCommandOutput | StartMemoryExtractionJobCommandOutput | StartRecommendationCommandOutput | StopBatchEvaluationCommandOutput | StopBrowserSessionCommandOutput | StopCodeInterpreterSessionCommandOutput | StopRuntimeSessionCommandOutput | UpdateABTestCommandOutput | UpdateBrowserStreamCommandOutput;
|
|
86
|
+
export type ServiceOutputTypes = BatchCreateMemoryRecordsCommandOutput | BatchDeleteMemoryRecordsCommandOutput | BatchUpdateMemoryRecordsCommandOutput | CompleteResourceTokenAuthCommandOutput | CreateABTestCommandOutput | CreateEventCommandOutput | CreatePaymentInstrumentCommandOutput | CreatePaymentSessionCommandOutput | DeleteABTestCommandOutput | DeleteBatchEvaluationCommandOutput | DeleteCapacityProviderSessionCommandOutput | DeleteEventCommandOutput | DeleteMemoryRecordCommandOutput | DeletePaymentInstrumentCommandOutput | DeletePaymentSessionCommandOutput | DeleteRecommendationCommandOutput | EvaluateCommandOutput | GetABTestCommandOutput | GetAgentCardCommandOutput | GetBatchEvaluationCommandOutput | GetBrowserSessionCommandOutput | GetCodeInterpreterSessionCommandOutput | GetEventCommandOutput | GetMemoryRecordCommandOutput | GetPaymentInstrumentBalanceCommandOutput | GetPaymentInstrumentCommandOutput | GetPaymentSessionCommandOutput | GetRecommendationCommandOutput | GetResourceApiKeyCommandOutput | GetResourceOauth2TokenCommandOutput | GetResourcePaymentTokenCommandOutput | GetWorkloadAccessTokenCommandOutput | GetWorkloadAccessTokenForJWTCommandOutput | GetWorkloadAccessTokenForUserIdCommandOutput | InvokeAgentRuntimeCommandCommandOutput | InvokeAgentRuntimeCommandOutput | InvokeBrowserCommandOutput | InvokeCodeInterpreterCommandOutput | InvokeHarnessCommandOutput | ListABTestsCommandOutput | ListActorsCommandOutput | ListBatchEvaluationsCommandOutput | ListBrowserSessionsCommandOutput | ListCodeInterpreterSessionsCommandOutput | ListEventsCommandOutput | ListMemoryExtractionJobsCommandOutput | ListMemoryRecordsCommandOutput | ListPaymentInstrumentsCommandOutput | ListPaymentSessionsCommandOutput | ListRecommendationsCommandOutput | ListSessionsCommandOutput | ProcessPaymentCommandOutput | RetrieveMemoryRecordsCommandOutput | SaveBrowserSessionProfileCommandOutput | SearchRegistryRecordsCommandOutput | StartBatchEvaluationCommandOutput | StartBrowserSessionCommandOutput | StartCodeInterpreterSessionCommandOutput | StartMemoryExtractionJobCommandOutput | StartRecommendationCommandOutput | StopBatchEvaluationCommandOutput | StopBrowserSessionCommandOutput | StopCodeInterpreterSessionCommandOutput | StopRuntimeSessionCommandOutput | UpdateABTestCommandOutput | UpdateBrowserStreamCommandOutput;
|
|
86
87
|
/**
|
|
87
88
|
* @public
|
|
88
89
|
*/
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { DeleteCapacityProviderSessionRequest, DeleteCapacityProviderSessionResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link DeleteCapacityProviderSessionCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface DeleteCapacityProviderSessionCommandInput extends DeleteCapacityProviderSessionRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link DeleteCapacityProviderSessionCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface DeleteCapacityProviderSessionCommandOutput extends DeleteCapacityProviderSessionResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const DeleteCapacityProviderSessionCommand_base: {
|
|
22
|
+
new (input: DeleteCapacityProviderSessionCommandInput): import("@smithy/core/client").CommandImpl<DeleteCapacityProviderSessionCommandInput, DeleteCapacityProviderSessionCommandOutput, import("..").BedrockAgentCoreClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: DeleteCapacityProviderSessionCommandInput): import("@smithy/core/client").CommandImpl<DeleteCapacityProviderSessionCommandInput, DeleteCapacityProviderSessionCommandOutput, import("..").BedrockAgentCoreClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Deletes a session associated with a capacity provider in Amazon Bedrock AgentCore and makes the session unavailable for further use. To delete a capacity provider session, specify both the capacity provider identifier and the session ID. After you delete a session, you cannot restart it.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { BedrockAgentCoreClient, DeleteCapacityProviderSessionCommand } from "@aws-sdk/client-bedrock-agentcore"; // ES Modules import
|
|
32
|
+
* // const { BedrockAgentCoreClient, DeleteCapacityProviderSessionCommand } = require("@aws-sdk/client-bedrock-agentcore"); // CommonJS import
|
|
33
|
+
* // import type { BedrockAgentCoreClientConfig } from "@aws-sdk/client-bedrock-agentcore";
|
|
34
|
+
* const config = {}; // type is BedrockAgentCoreClientConfig
|
|
35
|
+
* const client = new BedrockAgentCoreClient(config);
|
|
36
|
+
* const input = { // DeleteCapacityProviderSessionRequest
|
|
37
|
+
* capacityProviderId: "STRING_VALUE", // required
|
|
38
|
+
* sessionId: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new DeleteCapacityProviderSessionCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // DeleteCapacityProviderSessionResponse
|
|
43
|
+
* // capacityProviderArn: "STRING_VALUE", // required
|
|
44
|
+
* // sessionId: "STRING_VALUE", // required
|
|
45
|
+
* // status: "Provisioning" || "Deprovisioning" || "Active" || "Deleting" || "Deleted" || "Stopped", // required
|
|
46
|
+
* // };
|
|
47
|
+
*
|
|
48
|
+
* ```
|
|
49
|
+
*
|
|
50
|
+
* @param DeleteCapacityProviderSessionCommandInput - {@link DeleteCapacityProviderSessionCommandInput}
|
|
51
|
+
* @returns {@link DeleteCapacityProviderSessionCommandOutput}
|
|
52
|
+
* @see {@link DeleteCapacityProviderSessionCommandInput} for command's `input` shape.
|
|
53
|
+
* @see {@link DeleteCapacityProviderSessionCommandOutput} for command's `response` shape.
|
|
54
|
+
* @see {@link BedrockAgentCoreClientResolvedConfig | config} for BedrockAgentCoreClient's `config` shape.
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
57
|
+
* <p>The exception that occurs when you do not have sufficient permissions to perform an action. Verify that your IAM policy includes the necessary permissions for the operation you are trying to perform.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link InternalServerException} (server fault)
|
|
60
|
+
* <p>The exception that occurs when the service encounters an unexpected internal error. This is a temporary condition that will resolve itself with retries. We recommend implementing exponential backoff retry logic in your application.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
63
|
+
* <p>The exception that occurs when the specified resource does not exist. This can happen when using an invalid identifier or when trying to access a resource that has been deleted.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
66
|
+
* <p>The exception that occurs when the request was denied due to request throttling. This happens when you exceed the allowed request rate for an operation. Reduce the frequency of requests or implement exponential backoff retry logic in your application.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ValidationException} (client fault)
|
|
69
|
+
* <p>The exception that occurs when the input fails to satisfy the constraints specified by the service. Check the error message for details about which input parameter is invalid and correct your request.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link BedrockAgentCoreServiceException}
|
|
72
|
+
* <p>Base exception class for all service exceptions from BedrockAgentCore service.</p>
|
|
73
|
+
*
|
|
74
|
+
*
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
77
|
+
export declare class DeleteCapacityProviderSessionCommand extends DeleteCapacityProviderSessionCommand_base {
|
|
78
|
+
/** @internal type navigation helper, not in runtime. */
|
|
79
|
+
protected static __types: {
|
|
80
|
+
api: {
|
|
81
|
+
input: DeleteCapacityProviderSessionRequest;
|
|
82
|
+
output: DeleteCapacityProviderSessionResponse;
|
|
83
|
+
};
|
|
84
|
+
sdk: {
|
|
85
|
+
input: DeleteCapacityProviderSessionCommandInput;
|
|
86
|
+
output: DeleteCapacityProviderSessionCommandOutput;
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { GetMemoryRecordInput
|
|
2
|
+
import type { GetMemoryRecordInput } from "../models/models_0";
|
|
3
|
+
import type { GetMemoryRecordOutput } from "../models/models_1";
|
|
3
4
|
/**
|
|
4
5
|
* @public
|
|
5
6
|
*/
|
|
@@ -8,6 +8,7 @@ export * from "./CreatePaymentInstrumentCommand";
|
|
|
8
8
|
export * from "./CreatePaymentSessionCommand";
|
|
9
9
|
export * from "./DeleteABTestCommand";
|
|
10
10
|
export * from "./DeleteBatchEvaluationCommand";
|
|
11
|
+
export * from "./DeleteCapacityProviderSessionCommand";
|
|
11
12
|
export * from "./DeleteEventCommand";
|
|
12
13
|
export * from "./DeleteMemoryRecordCommand";
|
|
13
14
|
export * from "./DeletePaymentInstrumentCommand";
|
|
@@ -191,6 +191,22 @@ export declare const BrowserActionStatus: {
|
|
|
191
191
|
* @public
|
|
192
192
|
*/
|
|
193
193
|
export type BrowserActionStatus = (typeof BrowserActionStatus)[keyof typeof BrowserActionStatus];
|
|
194
|
+
/**
|
|
195
|
+
* @public
|
|
196
|
+
* @enum
|
|
197
|
+
*/
|
|
198
|
+
export declare const CapacityProviderSessionStatus: {
|
|
199
|
+
readonly ACTIVE: "Active";
|
|
200
|
+
readonly DELETED: "Deleted";
|
|
201
|
+
readonly DELETING: "Deleting";
|
|
202
|
+
readonly DEPROVISIONING: "Deprovisioning";
|
|
203
|
+
readonly PROVISIONING: "Provisioning";
|
|
204
|
+
readonly STOPPED: "Stopped";
|
|
205
|
+
};
|
|
206
|
+
/**
|
|
207
|
+
* @public
|
|
208
|
+
*/
|
|
209
|
+
export type CapacityProviderSessionStatus = (typeof CapacityProviderSessionStatus)[keyof typeof CapacityProviderSessionStatus];
|
|
194
210
|
/**
|
|
195
211
|
* @public
|
|
196
212
|
* @enum
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { DocumentType as __DocumentType, StreamingBlobTypes } from "@smithy/types";
|
|
2
|
-
import type { ABTestExecutionStatus, ABTestStatus, AutomationStreamStatus, BatchEvaluationStatus, BrowserActionStatus, BrowserEnterprisePolicyType, BrowserSessionStatus, CloudWatchLogsFilterOperator, CodeInterpreterSessionStatus, CommandExecutionStatus, ContentBlockType, ExtractionMode, HarnessBedrockApiFormat, HarnessConversationRole, HarnessOpenAiApiFormat, HarnessStopReason, HarnessToolType, HarnessToolUseStatus, HarnessToolUseType, InsightsFailureCategory, LanguageRuntime, MemoryRecordStatus, MouseButton, Oauth2FlowType, OAuthGrantType, PaymentHttpMethodType, ProgrammingLanguage, RecommendationStatus, RecommendationType, ResourceContentType, Role, ScreenshotFormat, SessionStatus, TaskStatus, ToolName } from "./enums";
|
|
2
|
+
import type { ABTestExecutionStatus, ABTestStatus, AutomationStreamStatus, BatchEvaluationStatus, BrowserActionStatus, BrowserEnterprisePolicyType, BrowserSessionStatus, CapacityProviderSessionStatus, CloudWatchLogsFilterOperator, CodeInterpreterSessionStatus, CommandExecutionStatus, ContentBlockType, ExtractionMode, HarnessBedrockApiFormat, HarnessConversationRole, HarnessOpenAiApiFormat, HarnessStopReason, HarnessToolType, HarnessToolUseStatus, HarnessToolUseType, InsightsFailureCategory, LanguageRuntime, MemoryRecordStatus, MouseButton, Oauth2FlowType, OAuthGrantType, PaymentHttpMethodType, ProgrammingLanguage, RecommendationStatus, RecommendationType, ResourceContentType, Role, ScreenshotFormat, SessionStatus, TaskStatus, ToolName } from "./enums";
|
|
3
3
|
import type { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, RuntimeClientError, ServiceQuotaExceededException, ThrottlingException, ValidationException } from "./errors";
|
|
4
4
|
/**
|
|
5
5
|
* <p> The agent card definition for A2A descriptors, including the schema version and inline content that describes the agent's capabilities.</p>
|
|
@@ -2690,6 +2690,41 @@ export interface UpdateBrowserStreamResponse {
|
|
|
2690
2690
|
*/
|
|
2691
2691
|
updatedAt: Date | undefined;
|
|
2692
2692
|
}
|
|
2693
|
+
/**
|
|
2694
|
+
* @public
|
|
2695
|
+
*/
|
|
2696
|
+
export interface DeleteCapacityProviderSessionRequest {
|
|
2697
|
+
/**
|
|
2698
|
+
* <p>The unique identifier of the capacity provider associated with the session.</p>
|
|
2699
|
+
* @public
|
|
2700
|
+
*/
|
|
2701
|
+
capacityProviderId: string | undefined;
|
|
2702
|
+
/**
|
|
2703
|
+
* <p>The unique identifier of the capacity provider session to delete.</p>
|
|
2704
|
+
* @public
|
|
2705
|
+
*/
|
|
2706
|
+
sessionId: string | undefined;
|
|
2707
|
+
}
|
|
2708
|
+
/**
|
|
2709
|
+
* @public
|
|
2710
|
+
*/
|
|
2711
|
+
export interface DeleteCapacityProviderSessionResponse {
|
|
2712
|
+
/**
|
|
2713
|
+
* <p>The Amazon Resource Name (ARN) of the capacity provider associated with the deleted session.</p>
|
|
2714
|
+
* @public
|
|
2715
|
+
*/
|
|
2716
|
+
capacityProviderArn: string | undefined;
|
|
2717
|
+
/**
|
|
2718
|
+
* <p>The unique identifier of the deleted capacity provider session.</p>
|
|
2719
|
+
* @public
|
|
2720
|
+
*/
|
|
2721
|
+
sessionId: string | undefined;
|
|
2722
|
+
/**
|
|
2723
|
+
* <p>The current status of the capacity provider session. When the status is <code>Deleting</code>, the session is being deleted and is not available. When the status is <code>Deleted</code>, the session is no longer available.</p>
|
|
2724
|
+
* @public
|
|
2725
|
+
*/
|
|
2726
|
+
status: CapacityProviderSessionStatus | undefined;
|
|
2727
|
+
}
|
|
2693
2728
|
/**
|
|
2694
2729
|
* @public
|
|
2695
2730
|
*/
|
|
@@ -8631,49 +8666,3 @@ export interface GetMemoryRecordInput {
|
|
|
8631
8666
|
*/
|
|
8632
8667
|
memoryRecordId: string | undefined;
|
|
8633
8668
|
}
|
|
8634
|
-
/**
|
|
8635
|
-
* <p>Contains information about a memory record in an AgentCore Memory resource.</p>
|
|
8636
|
-
* @public
|
|
8637
|
-
*/
|
|
8638
|
-
export interface MemoryRecord {
|
|
8639
|
-
/**
|
|
8640
|
-
* <p>The unique identifier of the memory record.</p>
|
|
8641
|
-
* @public
|
|
8642
|
-
*/
|
|
8643
|
-
memoryRecordId: string | undefined;
|
|
8644
|
-
/**
|
|
8645
|
-
* <p>The content of the memory record.</p>
|
|
8646
|
-
* @public
|
|
8647
|
-
*/
|
|
8648
|
-
content: MemoryContent | undefined;
|
|
8649
|
-
/**
|
|
8650
|
-
* <p>The identifier of the memory strategy associated with this record.</p>
|
|
8651
|
-
* @public
|
|
8652
|
-
*/
|
|
8653
|
-
memoryStrategyId: string | undefined;
|
|
8654
|
-
/**
|
|
8655
|
-
* <p>The namespaces associated with this memory record. Namespaces help organize and categorize memory records.</p>
|
|
8656
|
-
* @public
|
|
8657
|
-
*/
|
|
8658
|
-
namespaces: string[] | undefined;
|
|
8659
|
-
/**
|
|
8660
|
-
* <p>The timestamp when the memory record was created.</p>
|
|
8661
|
-
* @public
|
|
8662
|
-
*/
|
|
8663
|
-
createdAt: Date | undefined;
|
|
8664
|
-
/**
|
|
8665
|
-
* <p>A map of metadata key-value pairs associated with a memory record.</p>
|
|
8666
|
-
* @public
|
|
8667
|
-
*/
|
|
8668
|
-
metadata?: Record<string, MemoryRecordMetadataValue> | undefined;
|
|
8669
|
-
}
|
|
8670
|
-
/**
|
|
8671
|
-
* @public
|
|
8672
|
-
*/
|
|
8673
|
-
export interface GetMemoryRecordOutput {
|
|
8674
|
-
/**
|
|
8675
|
-
* <p>The requested memory record.</p>
|
|
8676
|
-
* @public
|
|
8677
|
-
*/
|
|
8678
|
-
memoryRecord: MemoryRecord | undefined;
|
|
8679
|
-
}
|
|
@@ -1,6 +1,52 @@
|
|
|
1
1
|
import type { DocumentType as __DocumentType } from "@smithy/types";
|
|
2
2
|
import type { BlockchainChainId, CryptoWalletNetwork, Currency, DescriptorType, EventFilterCondition, ExtractionJobStatus, InstrumentBalanceToken, MemoryRecordOperatorType, OperatorType, PaymentInstrumentStatus, PaymentInstrumentType, PaymentSessionStatus, PaymentStatus, PaymentType, RegistryRecordStatus } from "./enums";
|
|
3
3
|
import type { A2aDescriptor, ActorSummary, AgentSkillsDescriptor, Event, MemoryContent, MemoryRecordMetadataValue, MetadataValue } from "./models_0";
|
|
4
|
+
/**
|
|
5
|
+
* <p>Contains information about a memory record in an AgentCore Memory resource.</p>
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export interface MemoryRecord {
|
|
9
|
+
/**
|
|
10
|
+
* <p>The unique identifier of the memory record.</p>
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
memoryRecordId: string | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* <p>The content of the memory record.</p>
|
|
16
|
+
* @public
|
|
17
|
+
*/
|
|
18
|
+
content: MemoryContent | undefined;
|
|
19
|
+
/**
|
|
20
|
+
* <p>The identifier of the memory strategy associated with this record.</p>
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
23
|
+
memoryStrategyId: string | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* <p>The namespaces associated with this memory record. Namespaces help organize and categorize memory records.</p>
|
|
26
|
+
* @public
|
|
27
|
+
*/
|
|
28
|
+
namespaces: string[] | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* <p>The timestamp when the memory record was created.</p>
|
|
31
|
+
* @public
|
|
32
|
+
*/
|
|
33
|
+
createdAt: Date | undefined;
|
|
34
|
+
/**
|
|
35
|
+
* <p>A map of metadata key-value pairs associated with a memory record.</p>
|
|
36
|
+
* @public
|
|
37
|
+
*/
|
|
38
|
+
metadata?: Record<string, MemoryRecordMetadataValue> | undefined;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* @public
|
|
42
|
+
*/
|
|
43
|
+
export interface GetMemoryRecordOutput {
|
|
44
|
+
/**
|
|
45
|
+
* <p>The requested memory record.</p>
|
|
46
|
+
* @public
|
|
47
|
+
*/
|
|
48
|
+
memoryRecord: MemoryRecord | undefined;
|
|
49
|
+
}
|
|
4
50
|
/**
|
|
5
51
|
* @public
|
|
6
52
|
*/
|
|
@@ -85,6 +85,8 @@ export declare var DeleteABTestRequest$: StaticStructureSchema;
|
|
|
85
85
|
export declare var DeleteABTestResponse$: StaticStructureSchema;
|
|
86
86
|
export declare var DeleteBatchEvaluationRequest$: StaticStructureSchema;
|
|
87
87
|
export declare var DeleteBatchEvaluationResponse$: StaticStructureSchema;
|
|
88
|
+
export declare var DeleteCapacityProviderSessionRequest$: StaticStructureSchema;
|
|
89
|
+
export declare var DeleteCapacityProviderSessionResponse$: StaticStructureSchema;
|
|
88
90
|
export declare var DeleteEventInput$: StaticStructureSchema;
|
|
89
91
|
export declare var DeleteEventOutput$: StaticStructureSchema;
|
|
90
92
|
export declare var DeleteMemoryRecordInput$: StaticStructureSchema;
|
|
@@ -410,6 +412,7 @@ export declare var CreatePaymentInstrument$: StaticOperationSchema;
|
|
|
410
412
|
export declare var CreatePaymentSession$: StaticOperationSchema;
|
|
411
413
|
export declare var DeleteABTest$: StaticOperationSchema;
|
|
412
414
|
export declare var DeleteBatchEvaluation$: StaticOperationSchema;
|
|
415
|
+
export declare var DeleteCapacityProviderSession$: StaticOperationSchema;
|
|
413
416
|
export declare var DeleteEvent$: StaticOperationSchema;
|
|
414
417
|
export declare var DeleteMemoryRecord$: StaticOperationSchema;
|
|
415
418
|
export declare var DeletePaymentInstrument$: StaticOperationSchema;
|
|
@@ -41,6 +41,10 @@ import {
|
|
|
41
41
|
DeleteBatchEvaluationCommandInput,
|
|
42
42
|
DeleteBatchEvaluationCommandOutput,
|
|
43
43
|
} from "./commands/DeleteBatchEvaluationCommand";
|
|
44
|
+
import {
|
|
45
|
+
DeleteCapacityProviderSessionCommandInput,
|
|
46
|
+
DeleteCapacityProviderSessionCommandOutput,
|
|
47
|
+
} from "./commands/DeleteCapacityProviderSessionCommand";
|
|
44
48
|
import { DeleteEventCommandInput, DeleteEventCommandOutput } from "./commands/DeleteEventCommand";
|
|
45
49
|
import {
|
|
46
50
|
DeleteMemoryRecordCommandInput,
|
|
@@ -371,6 +375,19 @@ export interface BedrockAgentCore {
|
|
|
371
375
|
options: __HttpHandlerOptions,
|
|
372
376
|
cb: (err: any, data?: DeleteBatchEvaluationCommandOutput) => void,
|
|
373
377
|
): void;
|
|
378
|
+
deleteCapacityProviderSession(
|
|
379
|
+
args: DeleteCapacityProviderSessionCommandInput,
|
|
380
|
+
options?: __HttpHandlerOptions,
|
|
381
|
+
): Promise<DeleteCapacityProviderSessionCommandOutput>;
|
|
382
|
+
deleteCapacityProviderSession(
|
|
383
|
+
args: DeleteCapacityProviderSessionCommandInput,
|
|
384
|
+
cb: (err: any, data?: DeleteCapacityProviderSessionCommandOutput) => void,
|
|
385
|
+
): void;
|
|
386
|
+
deleteCapacityProviderSession(
|
|
387
|
+
args: DeleteCapacityProviderSessionCommandInput,
|
|
388
|
+
options: __HttpHandlerOptions,
|
|
389
|
+
cb: (err: any, data?: DeleteCapacityProviderSessionCommandOutput) => void,
|
|
390
|
+
): void;
|
|
374
391
|
deleteEvent(
|
|
375
392
|
args: DeleteEventCommandInput,
|
|
376
393
|
options?: __HttpHandlerOptions,
|
|
@@ -76,6 +76,10 @@ import {
|
|
|
76
76
|
DeleteBatchEvaluationCommandInput,
|
|
77
77
|
DeleteBatchEvaluationCommandOutput,
|
|
78
78
|
} from "./commands/DeleteBatchEvaluationCommand";
|
|
79
|
+
import {
|
|
80
|
+
DeleteCapacityProviderSessionCommandInput,
|
|
81
|
+
DeleteCapacityProviderSessionCommandOutput,
|
|
82
|
+
} from "./commands/DeleteCapacityProviderSessionCommand";
|
|
79
83
|
import { DeleteEventCommandInput, DeleteEventCommandOutput } from "./commands/DeleteEventCommand";
|
|
80
84
|
import {
|
|
81
85
|
DeleteMemoryRecordCommandInput,
|
|
@@ -293,6 +297,7 @@ export type ServiceInputTypes =
|
|
|
293
297
|
| CreatePaymentSessionCommandInput
|
|
294
298
|
| DeleteABTestCommandInput
|
|
295
299
|
| DeleteBatchEvaluationCommandInput
|
|
300
|
+
| DeleteCapacityProviderSessionCommandInput
|
|
296
301
|
| DeleteEventCommandInput
|
|
297
302
|
| DeleteMemoryRecordCommandInput
|
|
298
303
|
| DeletePaymentInstrumentCommandInput
|
|
@@ -359,6 +364,7 @@ export type ServiceOutputTypes =
|
|
|
359
364
|
| CreatePaymentSessionCommandOutput
|
|
360
365
|
| DeleteABTestCommandOutput
|
|
361
366
|
| DeleteBatchEvaluationCommandOutput
|
|
367
|
+
| DeleteCapacityProviderSessionCommandOutput
|
|
362
368
|
| DeleteEventCommandOutput
|
|
363
369
|
| DeleteMemoryRecordCommandOutput
|
|
364
370
|
| DeletePaymentInstrumentCommandOutput
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
DeleteCapacityProviderSessionRequest,
|
|
4
|
+
DeleteCapacityProviderSessionResponse,
|
|
5
|
+
} from "../models/models_0";
|
|
6
|
+
export { __MetadataBearer };
|
|
7
|
+
export interface DeleteCapacityProviderSessionCommandInput extends DeleteCapacityProviderSessionRequest {}
|
|
8
|
+
export interface DeleteCapacityProviderSessionCommandOutput
|
|
9
|
+
extends DeleteCapacityProviderSessionResponse, __MetadataBearer {}
|
|
10
|
+
declare const DeleteCapacityProviderSessionCommand_base: {
|
|
11
|
+
new (
|
|
12
|
+
input: DeleteCapacityProviderSessionCommandInput,
|
|
13
|
+
): import("@smithy/core/client").CommandImpl<
|
|
14
|
+
DeleteCapacityProviderSessionCommandInput,
|
|
15
|
+
DeleteCapacityProviderSessionCommandOutput,
|
|
16
|
+
import("..").BedrockAgentCoreClientResolvedConfig,
|
|
17
|
+
import("..").ServiceInputTypes,
|
|
18
|
+
import("..").ServiceOutputTypes
|
|
19
|
+
>;
|
|
20
|
+
new (
|
|
21
|
+
input: DeleteCapacityProviderSessionCommandInput,
|
|
22
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
|
+
DeleteCapacityProviderSessionCommandInput,
|
|
24
|
+
DeleteCapacityProviderSessionCommandOutput,
|
|
25
|
+
import("..").BedrockAgentCoreClientResolvedConfig,
|
|
26
|
+
import("..").ServiceInputTypes,
|
|
27
|
+
import("..").ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
|
+
};
|
|
31
|
+
export declare class DeleteCapacityProviderSessionCommand extends DeleteCapacityProviderSessionCommand_base {
|
|
32
|
+
protected static __types: {
|
|
33
|
+
api: {
|
|
34
|
+
input: DeleteCapacityProviderSessionRequest;
|
|
35
|
+
output: DeleteCapacityProviderSessionResponse;
|
|
36
|
+
};
|
|
37
|
+
sdk: {
|
|
38
|
+
input: DeleteCapacityProviderSessionCommandInput;
|
|
39
|
+
output: DeleteCapacityProviderSessionCommandOutput;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import { GetMemoryRecordInput
|
|
2
|
+
import { GetMemoryRecordInput } from "../models/models_0";
|
|
3
|
+
import { GetMemoryRecordOutput } from "../models/models_1";
|
|
3
4
|
export { __MetadataBearer };
|
|
4
5
|
export interface GetMemoryRecordCommandInput extends GetMemoryRecordInput {}
|
|
5
6
|
export interface GetMemoryRecordCommandOutput extends GetMemoryRecordOutput, __MetadataBearer {}
|
|
@@ -8,6 +8,7 @@ export * from "./CreatePaymentInstrumentCommand";
|
|
|
8
8
|
export * from "./CreatePaymentSessionCommand";
|
|
9
9
|
export * from "./DeleteABTestCommand";
|
|
10
10
|
export * from "./DeleteBatchEvaluationCommand";
|
|
11
|
+
export * from "./DeleteCapacityProviderSessionCommand";
|
|
11
12
|
export * from "./DeleteEventCommand";
|
|
12
13
|
export * from "./DeleteMemoryRecordCommand";
|
|
13
14
|
export * from "./DeletePaymentInstrumentCommand";
|
|
@@ -114,6 +114,16 @@ export declare const BrowserActionStatus: {
|
|
|
114
114
|
readonly SUCCESS: "SUCCESS";
|
|
115
115
|
};
|
|
116
116
|
export type BrowserActionStatus = (typeof BrowserActionStatus)[keyof typeof BrowserActionStatus];
|
|
117
|
+
export declare const CapacityProviderSessionStatus: {
|
|
118
|
+
readonly ACTIVE: "Active";
|
|
119
|
+
readonly DELETED: "Deleted";
|
|
120
|
+
readonly DELETING: "Deleting";
|
|
121
|
+
readonly DEPROVISIONING: "Deprovisioning";
|
|
122
|
+
readonly PROVISIONING: "Provisioning";
|
|
123
|
+
readonly STOPPED: "Stopped";
|
|
124
|
+
};
|
|
125
|
+
export type CapacityProviderSessionStatus =
|
|
126
|
+
(typeof CapacityProviderSessionStatus)[keyof typeof CapacityProviderSessionStatus];
|
|
117
127
|
export declare const CodeInterpreterSessionStatus: {
|
|
118
128
|
readonly READY: "READY";
|
|
119
129
|
readonly TERMINATED: "TERMINATED";
|
|
@@ -7,6 +7,7 @@ import {
|
|
|
7
7
|
BrowserActionStatus,
|
|
8
8
|
BrowserEnterprisePolicyType,
|
|
9
9
|
BrowserSessionStatus,
|
|
10
|
+
CapacityProviderSessionStatus,
|
|
10
11
|
CloudWatchLogsFilterOperator,
|
|
11
12
|
CodeInterpreterSessionStatus,
|
|
12
13
|
CommandExecutionStatus,
|
|
@@ -1051,6 +1052,15 @@ export interface UpdateBrowserStreamResponse {
|
|
|
1051
1052
|
streams: BrowserSessionStream | undefined;
|
|
1052
1053
|
updatedAt: Date | undefined;
|
|
1053
1054
|
}
|
|
1055
|
+
export interface DeleteCapacityProviderSessionRequest {
|
|
1056
|
+
capacityProviderId: string | undefined;
|
|
1057
|
+
sessionId: string | undefined;
|
|
1058
|
+
}
|
|
1059
|
+
export interface DeleteCapacityProviderSessionResponse {
|
|
1060
|
+
capacityProviderArn: string | undefined;
|
|
1061
|
+
sessionId: string | undefined;
|
|
1062
|
+
status: CapacityProviderSessionStatus | undefined;
|
|
1063
|
+
}
|
|
1054
1064
|
export interface GetCodeInterpreterSessionRequest {
|
|
1055
1065
|
codeInterpreterIdentifier: string | undefined;
|
|
1056
1066
|
sessionId: string | undefined;
|
|
@@ -3215,14 +3225,3 @@ export interface GetMemoryRecordInput {
|
|
|
3215
3225
|
memoryId: string | undefined;
|
|
3216
3226
|
memoryRecordId: string | undefined;
|
|
3217
3227
|
}
|
|
3218
|
-
export interface MemoryRecord {
|
|
3219
|
-
memoryRecordId: string | undefined;
|
|
3220
|
-
content: MemoryContent | undefined;
|
|
3221
|
-
memoryStrategyId: string | undefined;
|
|
3222
|
-
namespaces: string[] | undefined;
|
|
3223
|
-
createdAt: Date | undefined;
|
|
3224
|
-
metadata?: Record<string, MemoryRecordMetadataValue> | undefined;
|
|
3225
|
-
}
|
|
3226
|
-
export interface GetMemoryRecordOutput {
|
|
3227
|
-
memoryRecord: MemoryRecord | undefined;
|
|
3228
|
-
}
|
|
@@ -25,6 +25,17 @@ import {
|
|
|
25
25
|
MemoryRecordMetadataValue,
|
|
26
26
|
MetadataValue,
|
|
27
27
|
} from "./models_0";
|
|
28
|
+
export interface MemoryRecord {
|
|
29
|
+
memoryRecordId: string | undefined;
|
|
30
|
+
content: MemoryContent | undefined;
|
|
31
|
+
memoryStrategyId: string | undefined;
|
|
32
|
+
namespaces: string[] | undefined;
|
|
33
|
+
createdAt: Date | undefined;
|
|
34
|
+
metadata?: Record<string, MemoryRecordMetadataValue> | undefined;
|
|
35
|
+
}
|
|
36
|
+
export interface GetMemoryRecordOutput {
|
|
37
|
+
memoryRecord: MemoryRecord | undefined;
|
|
38
|
+
}
|
|
28
39
|
export interface ListActorsInput {
|
|
29
40
|
memoryId: string | undefined;
|
|
30
41
|
maxResults?: number | undefined;
|
|
@@ -85,6 +85,8 @@ export declare var DeleteABTestRequest$: StaticStructureSchema;
|
|
|
85
85
|
export declare var DeleteABTestResponse$: StaticStructureSchema;
|
|
86
86
|
export declare var DeleteBatchEvaluationRequest$: StaticStructureSchema;
|
|
87
87
|
export declare var DeleteBatchEvaluationResponse$: StaticStructureSchema;
|
|
88
|
+
export declare var DeleteCapacityProviderSessionRequest$: StaticStructureSchema;
|
|
89
|
+
export declare var DeleteCapacityProviderSessionResponse$: StaticStructureSchema;
|
|
88
90
|
export declare var DeleteEventInput$: StaticStructureSchema;
|
|
89
91
|
export declare var DeleteEventOutput$: StaticStructureSchema;
|
|
90
92
|
export declare var DeleteMemoryRecordInput$: StaticStructureSchema;
|
|
@@ -410,6 +412,7 @@ export declare var CreatePaymentInstrument$: StaticOperationSchema;
|
|
|
410
412
|
export declare var CreatePaymentSession$: StaticOperationSchema;
|
|
411
413
|
export declare var DeleteABTest$: StaticOperationSchema;
|
|
412
414
|
export declare var DeleteBatchEvaluation$: StaticOperationSchema;
|
|
415
|
+
export declare var DeleteCapacityProviderSession$: StaticOperationSchema;
|
|
413
416
|
export declare var DeleteEvent$: StaticOperationSchema;
|
|
414
417
|
export declare var DeleteMemoryRecord$: StaticOperationSchema;
|
|
415
418
|
export declare var DeletePaymentInstrument$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-bedrock-agentcore",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1105.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Bedrock Agentcore Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-bedrock-agentcore",
|
|
6
6
|
"license": "Apache-2.0",
|