@aws-sdk/client-bedrock-agentcore 3.1044.0 → 3.1046.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +77 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +4 -4
- package/dist-cjs/endpoint/bdd.js +2 -2
- package/dist-cjs/endpoint/endpointResolver.js +4 -4
- package/dist-cjs/index.js +343 -127
- package/dist-cjs/models/BedrockAgentCoreServiceException.js +3 -3
- package/dist-cjs/runtimeConfig.browser.js +14 -16
- package/dist-cjs/runtimeConfig.js +20 -24
- package/dist-cjs/runtimeConfig.shared.js +10 -12
- package/dist-cjs/schemas/schemas_0.js +458 -33
- package/dist-es/BedrockAgentCore.js +27 -1
- package/dist-es/BedrockAgentCoreClient.js +6 -6
- package/dist-es/auth/httpAuthSchemeProvider.js +1 -1
- package/dist-es/commands/BatchCreateMemoryRecordsCommand.js +2 -2
- package/dist-es/commands/BatchDeleteMemoryRecordsCommand.js +2 -2
- package/dist-es/commands/BatchUpdateMemoryRecordsCommand.js +2 -2
- package/dist-es/commands/CompleteResourceTokenAuthCommand.js +2 -2
- package/dist-es/commands/CreateABTestCommand.js +2 -2
- package/dist-es/commands/CreateEventCommand.js +2 -2
- package/dist-es/commands/CreatePaymentInstrumentCommand.js +16 -0
- package/dist-es/commands/CreatePaymentSessionCommand.js +16 -0
- package/dist-es/commands/DeleteABTestCommand.js +2 -2
- package/dist-es/commands/DeleteBatchEvaluationCommand.js +2 -2
- package/dist-es/commands/DeleteEventCommand.js +2 -2
- package/dist-es/commands/DeleteMemoryRecordCommand.js +2 -2
- package/dist-es/commands/DeletePaymentInstrumentCommand.js +16 -0
- package/dist-es/commands/DeletePaymentSessionCommand.js +16 -0
- package/dist-es/commands/DeleteRecommendationCommand.js +2 -2
- package/dist-es/commands/EvaluateCommand.js +2 -2
- package/dist-es/commands/GetABTestCommand.js +2 -2
- package/dist-es/commands/GetAgentCardCommand.js +2 -2
- package/dist-es/commands/GetBatchEvaluationCommand.js +2 -2
- package/dist-es/commands/GetBrowserSessionCommand.js +2 -2
- package/dist-es/commands/GetCodeInterpreterSessionCommand.js +2 -2
- package/dist-es/commands/GetEventCommand.js +2 -2
- package/dist-es/commands/GetMemoryRecordCommand.js +2 -2
- package/dist-es/commands/GetPaymentInstrumentBalanceCommand.js +16 -0
- package/dist-es/commands/GetPaymentInstrumentCommand.js +16 -0
- package/dist-es/commands/GetPaymentSessionCommand.js +16 -0
- package/dist-es/commands/GetRecommendationCommand.js +2 -2
- package/dist-es/commands/GetResourceApiKeyCommand.js +2 -2
- package/dist-es/commands/GetResourceOauth2TokenCommand.js +2 -2
- package/dist-es/commands/GetResourcePaymentTokenCommand.js +16 -0
- package/dist-es/commands/GetWorkloadAccessTokenCommand.js +2 -2
- package/dist-es/commands/GetWorkloadAccessTokenForJWTCommand.js +2 -2
- package/dist-es/commands/GetWorkloadAccessTokenForUserIdCommand.js +2 -2
- package/dist-es/commands/InvokeAgentRuntimeCommand.js +2 -2
- package/dist-es/commands/InvokeAgentRuntimeCommandCommand.js +2 -2
- package/dist-es/commands/InvokeBrowserCommand.js +2 -2
- package/dist-es/commands/InvokeCodeInterpreterCommand.js +2 -2
- package/dist-es/commands/InvokeHarnessCommand.js +2 -2
- package/dist-es/commands/ListABTestsCommand.js +2 -2
- package/dist-es/commands/ListActorsCommand.js +2 -2
- package/dist-es/commands/ListBatchEvaluationsCommand.js +2 -2
- package/dist-es/commands/ListBrowserSessionsCommand.js +2 -2
- package/dist-es/commands/ListCodeInterpreterSessionsCommand.js +2 -2
- package/dist-es/commands/ListEventsCommand.js +2 -2
- package/dist-es/commands/ListMemoryExtractionJobsCommand.js +2 -2
- package/dist-es/commands/ListMemoryRecordsCommand.js +2 -2
- package/dist-es/commands/ListPaymentInstrumentsCommand.js +16 -0
- package/dist-es/commands/ListPaymentSessionsCommand.js +16 -0
- package/dist-es/commands/ListRecommendationsCommand.js +2 -2
- package/dist-es/commands/ListSessionsCommand.js +2 -2
- package/dist-es/commands/ProcessPaymentCommand.js +16 -0
- package/dist-es/commands/RetrieveMemoryRecordsCommand.js +2 -2
- package/dist-es/commands/SaveBrowserSessionProfileCommand.js +2 -2
- package/dist-es/commands/SearchRegistryRecordsCommand.js +2 -2
- package/dist-es/commands/StartBatchEvaluationCommand.js +2 -2
- package/dist-es/commands/StartBrowserSessionCommand.js +2 -2
- package/dist-es/commands/StartCodeInterpreterSessionCommand.js +2 -2
- package/dist-es/commands/StartMemoryExtractionJobCommand.js +2 -2
- package/dist-es/commands/StartRecommendationCommand.js +2 -2
- package/dist-es/commands/StopBatchEvaluationCommand.js +2 -2
- package/dist-es/commands/StopBrowserSessionCommand.js +2 -2
- package/dist-es/commands/StopCodeInterpreterSessionCommand.js +2 -2
- package/dist-es/commands/StopRuntimeSessionCommand.js +2 -2
- package/dist-es/commands/UpdateABTestCommand.js +2 -2
- package/dist-es/commands/UpdateBrowserStreamCommand.js +2 -2
- package/dist-es/commands/index.js +11 -0
- package/dist-es/endpoint/bdd.js +1 -1
- package/dist-es/endpoint/endpointResolver.js +1 -1
- package/dist-es/models/BedrockAgentCoreServiceException.js +1 -1
- package/dist-es/models/enums.js +45 -0
- package/dist-es/pagination/ListPaymentInstrumentsPaginator.js +4 -0
- package/dist-es/pagination/ListPaymentSessionsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/runtimeConfig.browser.js +5 -7
- package/dist-es/runtimeConfig.js +5 -9
- package/dist-es/runtimeConfig.shared.js +3 -5
- package/dist-es/runtimeExtensions.js +2 -2
- package/dist-es/schemas/schemas_0.js +449 -25
- package/dist-types/BedrockAgentCore.d.ts +91 -0
- package/dist-types/BedrockAgentCoreClient.d.ts +19 -8
- package/dist-types/commands/BatchCreateMemoryRecordsCommand.d.ts +6 -4
- package/dist-types/commands/BatchDeleteMemoryRecordsCommand.d.ts +6 -4
- package/dist-types/commands/BatchUpdateMemoryRecordsCommand.d.ts +6 -4
- package/dist-types/commands/CompleteResourceTokenAuthCommand.d.ts +6 -4
- package/dist-types/commands/CreateABTestCommand.d.ts +6 -4
- package/dist-types/commands/CreateEventCommand.d.ts +6 -4
- package/dist-types/commands/CreatePaymentInstrumentCommand.d.ts +214 -0
- package/dist-types/commands/CreatePaymentSessionCommand.d.ts +124 -0
- package/dist-types/commands/DeleteABTestCommand.d.ts +6 -4
- package/dist-types/commands/DeleteBatchEvaluationCommand.d.ts +6 -4
- package/dist-types/commands/DeleteEventCommand.d.ts +6 -4
- package/dist-types/commands/DeleteMemoryRecordCommand.d.ts +6 -4
- package/dist-types/commands/DeletePaymentInstrumentCommand.d.ts +112 -0
- package/dist-types/commands/DeletePaymentSessionCommand.d.ts +107 -0
- package/dist-types/commands/DeleteRecommendationCommand.d.ts +6 -4
- package/dist-types/commands/EvaluateCommand.d.ts +6 -4
- package/dist-types/commands/GetABTestCommand.d.ts +6 -4
- package/dist-types/commands/GetAgentCardCommand.d.ts +6 -4
- package/dist-types/commands/GetBatchEvaluationCommand.d.ts +6 -4
- package/dist-types/commands/GetBrowserSessionCommand.d.ts +6 -4
- package/dist-types/commands/GetCodeInterpreterSessionCommand.d.ts +6 -4
- package/dist-types/commands/GetEventCommand.d.ts +6 -4
- package/dist-types/commands/GetMemoryRecordCommand.d.ts +6 -4
- package/dist-types/commands/GetPaymentInstrumentBalanceCommand.d.ts +104 -0
- package/dist-types/commands/GetPaymentInstrumentCommand.d.ts +157 -0
- package/dist-types/commands/GetPaymentSessionCommand.d.ts +114 -0
- package/dist-types/commands/GetRecommendationCommand.d.ts +6 -4
- package/dist-types/commands/GetResourceApiKeyCommand.d.ts +6 -4
- package/dist-types/commands/GetResourceOauth2TokenCommand.d.ts +6 -4
- package/dist-types/commands/GetResourcePaymentTokenCommand.d.ts +121 -0
- package/dist-types/commands/GetWorkloadAccessTokenCommand.d.ts +6 -4
- package/dist-types/commands/GetWorkloadAccessTokenForJWTCommand.d.ts +6 -4
- package/dist-types/commands/GetWorkloadAccessTokenForUserIdCommand.d.ts +6 -4
- package/dist-types/commands/InvokeAgentRuntimeCommand.d.ts +6 -4
- package/dist-types/commands/InvokeAgentRuntimeCommandCommand.d.ts +6 -4
- package/dist-types/commands/InvokeBrowserCommand.d.ts +6 -4
- package/dist-types/commands/InvokeCodeInterpreterCommand.d.ts +6 -4
- package/dist-types/commands/InvokeHarnessCommand.d.ts +7 -5
- package/dist-types/commands/ListABTestsCommand.d.ts +6 -4
- package/dist-types/commands/ListActorsCommand.d.ts +6 -4
- package/dist-types/commands/ListBatchEvaluationsCommand.d.ts +6 -4
- package/dist-types/commands/ListBrowserSessionsCommand.d.ts +6 -4
- package/dist-types/commands/ListCodeInterpreterSessionsCommand.d.ts +6 -4
- package/dist-types/commands/ListEventsCommand.d.ts +6 -4
- package/dist-types/commands/ListMemoryExtractionJobsCommand.d.ts +6 -4
- package/dist-types/commands/ListMemoryRecordsCommand.d.ts +6 -4
- package/dist-types/commands/ListPaymentInstrumentsCommand.d.ts +105 -0
- package/dist-types/commands/ListPaymentSessionsCommand.d.ts +102 -0
- package/dist-types/commands/ListRecommendationsCommand.d.ts +6 -4
- package/dist-types/commands/ListSessionsCommand.d.ts +6 -4
- package/dist-types/commands/ProcessPaymentCommand.d.ts +119 -0
- package/dist-types/commands/RetrieveMemoryRecordsCommand.d.ts +7 -5
- package/dist-types/commands/SaveBrowserSessionProfileCommand.d.ts +6 -4
- package/dist-types/commands/SearchRegistryRecordsCommand.d.ts +7 -6
- package/dist-types/commands/StartBatchEvaluationCommand.d.ts +6 -4
- package/dist-types/commands/StartBrowserSessionCommand.d.ts +6 -4
- package/dist-types/commands/StartCodeInterpreterSessionCommand.d.ts +6 -4
- package/dist-types/commands/StartMemoryExtractionJobCommand.d.ts +7 -5
- package/dist-types/commands/StartRecommendationCommand.d.ts +6 -4
- package/dist-types/commands/StopBatchEvaluationCommand.d.ts +6 -4
- package/dist-types/commands/StopBrowserSessionCommand.d.ts +6 -4
- package/dist-types/commands/StopCodeInterpreterSessionCommand.d.ts +6 -4
- package/dist-types/commands/StopRuntimeSessionCommand.d.ts +6 -4
- package/dist-types/commands/UpdateABTestCommand.d.ts +6 -4
- package/dist-types/commands/UpdateBrowserStreamCommand.d.ts +6 -4
- package/dist-types/commands/index.d.ts +11 -0
- package/dist-types/endpoint/bdd.d.ts +1 -1
- package/dist-types/extensionConfiguration.d.ts +1 -1
- package/dist-types/models/BedrockAgentCoreServiceException.d.ts +1 -1
- package/dist-types/models/enums.d.ts +140 -0
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +222 -154
- package/dist-types/models/models_1.d.ts +1321 -2
- package/dist-types/pagination/ListPaymentInstrumentsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPaymentSessionsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/schemas/schemas_0.d.ts +59 -0
- package/dist-types/ts3.4/BedrockAgentCore.d.ts +201 -0
- package/dist-types/ts3.4/BedrockAgentCoreClient.d.ts +78 -18
- package/dist-types/ts3.4/commands/BatchCreateMemoryRecordsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/BatchDeleteMemoryRecordsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/BatchUpdateMemoryRecordsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CompleteResourceTokenAuthCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateABTestCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateEventCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreatePaymentInstrumentCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/CreatePaymentSessionCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/DeleteABTestCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteBatchEvaluationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteEventCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteMemoryRecordCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeletePaymentInstrumentCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/DeletePaymentSessionCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/DeleteRecommendationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/EvaluateCommand.d.ts +6 -8
- package/dist-types/ts3.4/commands/GetABTestCommand.d.ts +6 -8
- package/dist-types/ts3.4/commands/GetAgentCardCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetBatchEvaluationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetBrowserSessionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetCodeInterpreterSessionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetEventCommand.d.ts +6 -8
- package/dist-types/ts3.4/commands/GetMemoryRecordCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetPaymentInstrumentBalanceCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/GetPaymentInstrumentCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/GetPaymentSessionCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/GetRecommendationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetResourceApiKeyCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetResourceOauth2TokenCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetResourcePaymentTokenCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/GetWorkloadAccessTokenCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetWorkloadAccessTokenForJWTCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetWorkloadAccessTokenForUserIdCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/InvokeAgentRuntimeCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/InvokeAgentRuntimeCommandCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/InvokeBrowserCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/InvokeCodeInterpreterCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/InvokeHarnessCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListABTestsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListActorsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListBatchEvaluationsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListBrowserSessionsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListCodeInterpreterSessionsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListEventsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListMemoryExtractionJobsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListMemoryRecordsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListPaymentInstrumentsCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/ListPaymentSessionsCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/ListRecommendationsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListSessionsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ProcessPaymentCommand.d.ts +52 -0
- package/dist-types/ts3.4/commands/RetrieveMemoryRecordsCommand.d.ts +7 -5
- package/dist-types/ts3.4/commands/SaveBrowserSessionProfileCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/SearchRegistryRecordsCommand.d.ts +10 -6
- package/dist-types/ts3.4/commands/StartBatchEvaluationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/StartBrowserSessionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/StartCodeInterpreterSessionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/StartMemoryExtractionJobCommand.d.ts +7 -5
- package/dist-types/ts3.4/commands/StartRecommendationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/StopBatchEvaluationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/StopBrowserSessionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/StopCodeInterpreterSessionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/StopRuntimeSessionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateABTestCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateBrowserStreamCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/index.d.ts +11 -0
- package/dist-types/ts3.4/endpoint/bdd.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/models/BedrockAgentCoreServiceException.d.ts +1 -1
- package/dist-types/ts3.4/models/enums.d.ts +62 -0
- package/dist-types/ts3.4/models/errors.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +84 -38
- package/dist-types/ts3.4/models/models_1.d.ts +423 -2
- package/dist-types/ts3.4/pagination/ListPaymentInstrumentsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPaymentSessionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +59 -0
- package/package.json +13 -38
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreClient";
|
|
4
|
+
import type { CreatePaymentSessionRequest, CreatePaymentSessionResponse } from "../models/models_1";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreatePaymentSessionCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreatePaymentSessionCommandInput extends CreatePaymentSessionRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreatePaymentSessionCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreatePaymentSessionCommandOutput extends CreatePaymentSessionResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreatePaymentSessionCommand_base: {
|
|
25
|
+
new (input: CreatePaymentSessionCommandInput): import("@smithy/core/client").CommandImpl<CreatePaymentSessionCommandInput, CreatePaymentSessionCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreatePaymentSessionCommandInput): import("@smithy/core/client").CommandImpl<CreatePaymentSessionCommandInput, CreatePaymentSessionCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Create a new payment manager session
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { BedrockAgentCoreClient, CreatePaymentSessionCommand } from "@aws-sdk/client-bedrock-agentcore"; // ES Modules import
|
|
37
|
+
* // const { BedrockAgentCoreClient, CreatePaymentSessionCommand } = require("@aws-sdk/client-bedrock-agentcore"); // CommonJS import
|
|
38
|
+
* // import type { BedrockAgentCoreClientConfig } from "@aws-sdk/client-bedrock-agentcore";
|
|
39
|
+
* const config = {}; // type is BedrockAgentCoreClientConfig
|
|
40
|
+
* const client = new BedrockAgentCoreClient(config);
|
|
41
|
+
* const input = { // CreatePaymentSessionRequest
|
|
42
|
+
* userId: "STRING_VALUE",
|
|
43
|
+
* agentName: "STRING_VALUE",
|
|
44
|
+
* paymentManagerArn: "STRING_VALUE", // required
|
|
45
|
+
* limits: { // SessionLimits
|
|
46
|
+
* maxSpendAmount: { // Amount
|
|
47
|
+
* value: "STRING_VALUE", // required
|
|
48
|
+
* currency: "USD", // required
|
|
49
|
+
* },
|
|
50
|
+
* },
|
|
51
|
+
* expiryTimeInMinutes: Number("int"), // required
|
|
52
|
+
* clientToken: "STRING_VALUE",
|
|
53
|
+
* };
|
|
54
|
+
* const command = new CreatePaymentSessionCommand(input);
|
|
55
|
+
* const response = await client.send(command);
|
|
56
|
+
* // { // CreatePaymentSessionResponse
|
|
57
|
+
* // paymentSession: { // PaymentSession
|
|
58
|
+
* // paymentSessionId: "STRING_VALUE", // required
|
|
59
|
+
* // paymentManagerArn: "STRING_VALUE", // required
|
|
60
|
+
* // limits: { // SessionLimits
|
|
61
|
+
* // maxSpendAmount: { // Amount
|
|
62
|
+
* // value: "STRING_VALUE", // required
|
|
63
|
+
* // currency: "USD", // required
|
|
64
|
+
* // },
|
|
65
|
+
* // },
|
|
66
|
+
* // userId: "STRING_VALUE", // required
|
|
67
|
+
* // expiryTimeInMinutes: Number("int"), // required
|
|
68
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
69
|
+
* // availableLimits: { // AvailableLimits
|
|
70
|
+
* // availableSpendAmount: {
|
|
71
|
+
* // value: "STRING_VALUE", // required
|
|
72
|
+
* // currency: "USD", // required
|
|
73
|
+
* // },
|
|
74
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
75
|
+
* // },
|
|
76
|
+
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
77
|
+
* // },
|
|
78
|
+
* // };
|
|
79
|
+
*
|
|
80
|
+
* ```
|
|
81
|
+
*
|
|
82
|
+
* @param CreatePaymentSessionCommandInput - {@link CreatePaymentSessionCommandInput}
|
|
83
|
+
* @returns {@link CreatePaymentSessionCommandOutput}
|
|
84
|
+
* @see {@link CreatePaymentSessionCommandInput} for command's `input` shape.
|
|
85
|
+
* @see {@link CreatePaymentSessionCommandOutput} for command's `response` shape.
|
|
86
|
+
* @see {@link BedrockAgentCoreClientResolvedConfig | config} for BedrockAgentCoreClient's `config` shape.
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
89
|
+
* <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>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link ConflictException} (client fault)
|
|
92
|
+
* <p>The exception that occurs when the request conflicts with the current state of the resource. This can happen when trying to modify a resource that is currently being modified by another request, or when trying to create a resource that already exists.</p>
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link InternalServerException} (server fault)
|
|
95
|
+
* <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>
|
|
96
|
+
*
|
|
97
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
98
|
+
* <p>The exception that occurs when the request would cause a service quota to be exceeded. Review your service quotas and either reduce your request rate or request a quota increase.</p>
|
|
99
|
+
*
|
|
100
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
101
|
+
* <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>
|
|
102
|
+
*
|
|
103
|
+
* @throws {@link ValidationException} (client fault)
|
|
104
|
+
* <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>
|
|
105
|
+
*
|
|
106
|
+
* @throws {@link BedrockAgentCoreServiceException}
|
|
107
|
+
* <p>Base exception class for all service exceptions from BedrockAgentCore service.</p>
|
|
108
|
+
*
|
|
109
|
+
*
|
|
110
|
+
* @public
|
|
111
|
+
*/
|
|
112
|
+
export declare class CreatePaymentSessionCommand extends CreatePaymentSessionCommand_base {
|
|
113
|
+
/** @internal type navigation helper, not in runtime. */
|
|
114
|
+
protected static __types: {
|
|
115
|
+
api: {
|
|
116
|
+
input: CreatePaymentSessionRequest;
|
|
117
|
+
output: CreatePaymentSessionResponse;
|
|
118
|
+
};
|
|
119
|
+
sdk: {
|
|
120
|
+
input: CreatePaymentSessionCommandInput;
|
|
121
|
+
output: CreatePaymentSessionCommandOutput;
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreClient";
|
|
4
4
|
import type { DeleteABTestRequest, DeleteABTestResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface DeleteABTestCommandInput extends DeleteABTestRequest {
|
|
|
22
22
|
export interface DeleteABTestCommandOutput extends DeleteABTestResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const DeleteABTestCommand_base: {
|
|
25
|
-
new (input: DeleteABTestCommandInput): import("@smithy/
|
|
26
|
-
new (input: DeleteABTestCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: DeleteABTestCommandInput): import("@smithy/core/client").CommandImpl<DeleteABTestCommandInput, DeleteABTestCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteABTestCommandInput): import("@smithy/core/client").CommandImpl<DeleteABTestCommandInput, DeleteABTestCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Deletes an A/B test and its associated gateway rules.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreClient";
|
|
4
4
|
import type { DeleteBatchEvaluationRequest, DeleteBatchEvaluationResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface DeleteBatchEvaluationCommandInput extends DeleteBatchEvaluation
|
|
|
22
22
|
export interface DeleteBatchEvaluationCommandOutput extends DeleteBatchEvaluationResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const DeleteBatchEvaluationCommand_base: {
|
|
25
|
-
new (input: DeleteBatchEvaluationCommandInput): import("@smithy/
|
|
26
|
-
new (input: DeleteBatchEvaluationCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: DeleteBatchEvaluationCommandInput): import("@smithy/core/client").CommandImpl<DeleteBatchEvaluationCommandInput, DeleteBatchEvaluationCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteBatchEvaluationCommandInput): import("@smithy/core/client").CommandImpl<DeleteBatchEvaluationCommandInput, DeleteBatchEvaluationCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Deletes a batch evaluation and its associated results.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreClient";
|
|
4
4
|
import type { DeleteEventInput, DeleteEventOutput } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface DeleteEventCommandInput extends DeleteEventInput {
|
|
|
22
22
|
export interface DeleteEventCommandOutput extends DeleteEventOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const DeleteEventCommand_base: {
|
|
25
|
-
new (input: DeleteEventCommandInput): import("@smithy/
|
|
26
|
-
new (input: DeleteEventCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: DeleteEventCommandInput): import("@smithy/core/client").CommandImpl<DeleteEventCommandInput, DeleteEventCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteEventCommandInput): import("@smithy/core/client").CommandImpl<DeleteEventCommandInput, DeleteEventCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Deletes an event from an AgentCore Memory resource. When you delete an event, it is permanently removed.</p> <p>To use this operation, you must have the <code>bedrock-agentcore:DeleteEvent</code> permission.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreClient";
|
|
4
4
|
import type { DeleteMemoryRecordInput, DeleteMemoryRecordOutput } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface DeleteMemoryRecordCommandInput extends DeleteMemoryRecordInput
|
|
|
22
22
|
export interface DeleteMemoryRecordCommandOutput extends DeleteMemoryRecordOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const DeleteMemoryRecordCommand_base: {
|
|
25
|
-
new (input: DeleteMemoryRecordCommandInput): import("@smithy/
|
|
26
|
-
new (input: DeleteMemoryRecordCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: DeleteMemoryRecordCommandInput): import("@smithy/core/client").CommandImpl<DeleteMemoryRecordCommandInput, DeleteMemoryRecordCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteMemoryRecordCommandInput): import("@smithy/core/client").CommandImpl<DeleteMemoryRecordCommandInput, DeleteMemoryRecordCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Deletes a memory record from an AgentCore Memory resource. When you delete a memory record, it is permanently removed.</p> <p>To use this operation, you must have the <code>bedrock-agentcore:DeleteMemoryRecord</code> permission.</p>
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreClient";
|
|
4
|
+
import type { DeletePaymentInstrumentRequest, DeletePaymentInstrumentResponse } from "../models/models_1";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeletePaymentInstrumentCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeletePaymentInstrumentCommandInput extends DeletePaymentInstrumentRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeletePaymentInstrumentCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeletePaymentInstrumentCommandOutput extends DeletePaymentInstrumentResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeletePaymentInstrumentCommand_base: {
|
|
25
|
+
new (input: DeletePaymentInstrumentCommandInput): import("@smithy/core/client").CommandImpl<DeletePaymentInstrumentCommandInput, DeletePaymentInstrumentCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeletePaymentInstrumentCommandInput): import("@smithy/core/client").CommandImpl<DeletePaymentInstrumentCommandInput, DeletePaymentInstrumentCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Delete a payment instrument
|
|
33
|
+
*
|
|
34
|
+
* Marks a payment instrument as deleted by updating its status to DELETED. This is a soft delete
|
|
35
|
+
* operation that preserves the record in the database for audit and compliance purposes. The record
|
|
36
|
+
* remains queryable for audit purposes but is excluded from normal list and get operations.
|
|
37
|
+
*
|
|
38
|
+
* Deleting an already-deleted or non-existent instrument returns ResourceNotFoundException (404).
|
|
39
|
+
*
|
|
40
|
+
* Authorization: The caller must own the instrument (accountId, userId, and paymentManagerId must match).
|
|
41
|
+
* If authorization fails, a 403 Forbidden error is returned.
|
|
42
|
+
*
|
|
43
|
+
* Timestamp Management: The updatedAt timestamp is set to the current time, while createdAt is preserved.
|
|
44
|
+
* The version field is incremented for optimistic locking.
|
|
45
|
+
*
|
|
46
|
+
* Errors:
|
|
47
|
+
* - ResourceNotFoundException: The instrument does not exist or is already deleted
|
|
48
|
+
* - AccessDeniedException: The caller is not authorized to delete this instrument
|
|
49
|
+
* - ValidationException: Required fields are missing or invalid
|
|
50
|
+
* - InternalServerException: An unexpected server error occurred
|
|
51
|
+
* @example
|
|
52
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
53
|
+
* ```javascript
|
|
54
|
+
* import { BedrockAgentCoreClient, DeletePaymentInstrumentCommand } from "@aws-sdk/client-bedrock-agentcore"; // ES Modules import
|
|
55
|
+
* // const { BedrockAgentCoreClient, DeletePaymentInstrumentCommand } = require("@aws-sdk/client-bedrock-agentcore"); // CommonJS import
|
|
56
|
+
* // import type { BedrockAgentCoreClientConfig } from "@aws-sdk/client-bedrock-agentcore";
|
|
57
|
+
* const config = {}; // type is BedrockAgentCoreClientConfig
|
|
58
|
+
* const client = new BedrockAgentCoreClient(config);
|
|
59
|
+
* const input = { // DeletePaymentInstrumentRequest
|
|
60
|
+
* userId: "STRING_VALUE",
|
|
61
|
+
* paymentManagerArn: "STRING_VALUE", // required
|
|
62
|
+
* paymentConnectorId: "STRING_VALUE", // required
|
|
63
|
+
* paymentInstrumentId: "STRING_VALUE", // required
|
|
64
|
+
* };
|
|
65
|
+
* const command = new DeletePaymentInstrumentCommand(input);
|
|
66
|
+
* const response = await client.send(command);
|
|
67
|
+
* // { // DeletePaymentInstrumentResponse
|
|
68
|
+
* // status: "INITIATED" || "ACTIVE" || "FAILED" || "DELETED", // required
|
|
69
|
+
* // };
|
|
70
|
+
*
|
|
71
|
+
* ```
|
|
72
|
+
*
|
|
73
|
+
* @param DeletePaymentInstrumentCommandInput - {@link DeletePaymentInstrumentCommandInput}
|
|
74
|
+
* @returns {@link DeletePaymentInstrumentCommandOutput}
|
|
75
|
+
* @see {@link DeletePaymentInstrumentCommandInput} for command's `input` shape.
|
|
76
|
+
* @see {@link DeletePaymentInstrumentCommandOutput} for command's `response` shape.
|
|
77
|
+
* @see {@link BedrockAgentCoreClientResolvedConfig | config} for BedrockAgentCoreClient's `config` shape.
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
80
|
+
* <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>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link InternalServerException} (server fault)
|
|
83
|
+
* <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>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
86
|
+
* <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>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
89
|
+
* <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>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link ValidationException} (client fault)
|
|
92
|
+
* <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>
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link BedrockAgentCoreServiceException}
|
|
95
|
+
* <p>Base exception class for all service exceptions from BedrockAgentCore service.</p>
|
|
96
|
+
*
|
|
97
|
+
*
|
|
98
|
+
* @public
|
|
99
|
+
*/
|
|
100
|
+
export declare class DeletePaymentInstrumentCommand extends DeletePaymentInstrumentCommand_base {
|
|
101
|
+
/** @internal type navigation helper, not in runtime. */
|
|
102
|
+
protected static __types: {
|
|
103
|
+
api: {
|
|
104
|
+
input: DeletePaymentInstrumentRequest;
|
|
105
|
+
output: DeletePaymentInstrumentResponse;
|
|
106
|
+
};
|
|
107
|
+
sdk: {
|
|
108
|
+
input: DeletePaymentInstrumentCommandInput;
|
|
109
|
+
output: DeletePaymentInstrumentCommandOutput;
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreClient";
|
|
4
|
+
import type { DeletePaymentSessionRequest, DeletePaymentSessionResponse } from "../models/models_1";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeletePaymentSessionCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeletePaymentSessionCommandInput extends DeletePaymentSessionRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeletePaymentSessionCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeletePaymentSessionCommandOutput extends DeletePaymentSessionResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeletePaymentSessionCommand_base: {
|
|
25
|
+
new (input: DeletePaymentSessionCommandInput): import("@smithy/core/client").CommandImpl<DeletePaymentSessionCommandInput, DeletePaymentSessionCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeletePaymentSessionCommandInput): import("@smithy/core/client").CommandImpl<DeletePaymentSessionCommandInput, DeletePaymentSessionCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Delete a payment manager session
|
|
33
|
+
*
|
|
34
|
+
* Permanently removes a payment session record from the database. This is a hard delete operation
|
|
35
|
+
* that removes the session completely.
|
|
36
|
+
*
|
|
37
|
+
* Deleting a non-existent or already-deleted session returns ResourceNotFoundException (404).
|
|
38
|
+
*
|
|
39
|
+
* Authorization: The caller must own the session (accountId, userId, and paymentManagerId must match).
|
|
40
|
+
* If authorization fails, a 403 Forbidden error is returned.
|
|
41
|
+
*
|
|
42
|
+
* Errors:
|
|
43
|
+
* - ResourceNotFoundException: The session does not exist or has already been deleted
|
|
44
|
+
* - AccessDeniedException: The caller is not authorized to delete this session
|
|
45
|
+
* - ValidationException: Required fields are missing or invalid
|
|
46
|
+
* - InternalServerException: An unexpected server error occurred
|
|
47
|
+
* @example
|
|
48
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
49
|
+
* ```javascript
|
|
50
|
+
* import { BedrockAgentCoreClient, DeletePaymentSessionCommand } from "@aws-sdk/client-bedrock-agentcore"; // ES Modules import
|
|
51
|
+
* // const { BedrockAgentCoreClient, DeletePaymentSessionCommand } = require("@aws-sdk/client-bedrock-agentcore"); // CommonJS import
|
|
52
|
+
* // import type { BedrockAgentCoreClientConfig } from "@aws-sdk/client-bedrock-agentcore";
|
|
53
|
+
* const config = {}; // type is BedrockAgentCoreClientConfig
|
|
54
|
+
* const client = new BedrockAgentCoreClient(config);
|
|
55
|
+
* const input = { // DeletePaymentSessionRequest
|
|
56
|
+
* userId: "STRING_VALUE",
|
|
57
|
+
* paymentManagerArn: "STRING_VALUE", // required
|
|
58
|
+
* paymentSessionId: "STRING_VALUE", // required
|
|
59
|
+
* };
|
|
60
|
+
* const command = new DeletePaymentSessionCommand(input);
|
|
61
|
+
* const response = await client.send(command);
|
|
62
|
+
* // { // DeletePaymentSessionResponse
|
|
63
|
+
* // status: "ACTIVE" || "EXPIRED" || "DELETED", // required
|
|
64
|
+
* // };
|
|
65
|
+
*
|
|
66
|
+
* ```
|
|
67
|
+
*
|
|
68
|
+
* @param DeletePaymentSessionCommandInput - {@link DeletePaymentSessionCommandInput}
|
|
69
|
+
* @returns {@link DeletePaymentSessionCommandOutput}
|
|
70
|
+
* @see {@link DeletePaymentSessionCommandInput} for command's `input` shape.
|
|
71
|
+
* @see {@link DeletePaymentSessionCommandOutput} for command's `response` shape.
|
|
72
|
+
* @see {@link BedrockAgentCoreClientResolvedConfig | config} for BedrockAgentCoreClient's `config` shape.
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
75
|
+
* <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>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link InternalServerException} (server fault)
|
|
78
|
+
* <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>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
81
|
+
* <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>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
84
|
+
* <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>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link ValidationException} (client fault)
|
|
87
|
+
* <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>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link BedrockAgentCoreServiceException}
|
|
90
|
+
* <p>Base exception class for all service exceptions from BedrockAgentCore service.</p>
|
|
91
|
+
*
|
|
92
|
+
*
|
|
93
|
+
* @public
|
|
94
|
+
*/
|
|
95
|
+
export declare class DeletePaymentSessionCommand extends DeletePaymentSessionCommand_base {
|
|
96
|
+
/** @internal type navigation helper, not in runtime. */
|
|
97
|
+
protected static __types: {
|
|
98
|
+
api: {
|
|
99
|
+
input: DeletePaymentSessionRequest;
|
|
100
|
+
output: DeletePaymentSessionResponse;
|
|
101
|
+
};
|
|
102
|
+
sdk: {
|
|
103
|
+
input: DeletePaymentSessionCommandInput;
|
|
104
|
+
output: DeletePaymentSessionCommandOutput;
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreClient";
|
|
4
4
|
import type { DeleteRecommendationRequest, DeleteRecommendationResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface DeleteRecommendationCommandInput extends DeleteRecommendationRe
|
|
|
22
22
|
export interface DeleteRecommendationCommandOutput extends DeleteRecommendationResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const DeleteRecommendationCommand_base: {
|
|
25
|
-
new (input: DeleteRecommendationCommandInput): import("@smithy/
|
|
26
|
-
new (input: DeleteRecommendationCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: DeleteRecommendationCommandInput): import("@smithy/core/client").CommandImpl<DeleteRecommendationCommandInput, DeleteRecommendationCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteRecommendationCommandInput): import("@smithy/core/client").CommandImpl<DeleteRecommendationCommandInput, DeleteRecommendationCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Deletes a recommendation and its associated results.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreClient";
|
|
4
4
|
import type { EvaluateRequest, EvaluateResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface EvaluateCommandInput extends EvaluateRequest {
|
|
|
22
22
|
export interface EvaluateCommandOutput extends EvaluateResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const EvaluateCommand_base: {
|
|
25
|
-
new (input: EvaluateCommandInput): import("@smithy/
|
|
26
|
-
new (input: EvaluateCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: EvaluateCommandInput): import("@smithy/core/client").CommandImpl<EvaluateCommandInput, EvaluateCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: EvaluateCommandInput): import("@smithy/core/client").CommandImpl<EvaluateCommandInput, EvaluateCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p> Performs on-demand evaluation of agent traces using a specified evaluator. This synchronous API accepts traces in OpenTelemetry format and returns immediate scoring results with detailed explanations.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreClient";
|
|
4
4
|
import type { GetABTestRequest, GetABTestResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface GetABTestCommandInput extends GetABTestRequest {
|
|
|
22
22
|
export interface GetABTestCommandOutput extends GetABTestResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const GetABTestCommand_base: {
|
|
25
|
-
new (input: GetABTestCommandInput): import("@smithy/
|
|
26
|
-
new (input: GetABTestCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: GetABTestCommandInput): import("@smithy/core/client").CommandImpl<GetABTestCommandInput, GetABTestCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetABTestCommandInput): import("@smithy/core/client").CommandImpl<GetABTestCommandInput, GetABTestCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Retrieves detailed information about an A/B test, including its configuration, status, and statistical results.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreClient";
|
|
4
4
|
import type { GetAgentCardRequest, GetAgentCardResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface GetAgentCardCommandInput extends GetAgentCardRequest {
|
|
|
22
22
|
export interface GetAgentCardCommandOutput extends GetAgentCardResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const GetAgentCardCommand_base: {
|
|
25
|
-
new (input: GetAgentCardCommandInput): import("@smithy/
|
|
26
|
-
new (input: GetAgentCardCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: GetAgentCardCommandInput): import("@smithy/core/client").CommandImpl<GetAgentCardCommandInput, GetAgentCardCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetAgentCardCommandInput): import("@smithy/core/client").CommandImpl<GetAgentCardCommandInput, GetAgentCardCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Retrieves the A2A agent card associated with an AgentCore Runtime agent.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreClient";
|
|
4
4
|
import type { GetBatchEvaluationRequest, GetBatchEvaluationResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface GetBatchEvaluationCommandInput extends GetBatchEvaluationReques
|
|
|
22
22
|
export interface GetBatchEvaluationCommandOutput extends GetBatchEvaluationResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const GetBatchEvaluationCommand_base: {
|
|
25
|
-
new (input: GetBatchEvaluationCommandInput): import("@smithy/
|
|
26
|
-
new (input: GetBatchEvaluationCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: GetBatchEvaluationCommandInput): import("@smithy/core/client").CommandImpl<GetBatchEvaluationCommandInput, GetBatchEvaluationCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetBatchEvaluationCommandInput): import("@smithy/core/client").CommandImpl<GetBatchEvaluationCommandInput, GetBatchEvaluationCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Retrieves detailed information about a batch evaluation, including its status, configuration, results, and any error details.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreClient";
|
|
4
4
|
import type { GetBrowserSessionRequest, GetBrowserSessionResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface GetBrowserSessionCommandInput extends GetBrowserSessionRequest
|
|
|
22
22
|
export interface GetBrowserSessionCommandOutput extends GetBrowserSessionResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const GetBrowserSessionCommand_base: {
|
|
25
|
-
new (input: GetBrowserSessionCommandInput): import("@smithy/
|
|
26
|
-
new (input: GetBrowserSessionCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: GetBrowserSessionCommandInput): import("@smithy/core/client").CommandImpl<GetBrowserSessionCommandInput, GetBrowserSessionCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetBrowserSessionCommandInput): import("@smithy/core/client").CommandImpl<GetBrowserSessionCommandInput, GetBrowserSessionCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Retrieves detailed information about a specific browser session in Amazon Bedrock AgentCore. This operation returns the session's configuration, current status, associated streams, and metadata.</p> <p>To get a browser session, you must specify both the browser identifier and the session ID. The response includes information about the session's viewport configuration, timeout settings, and stream endpoints.</p> <p>The following operations are related to <code>GetBrowserSession</code>:</p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_StartBrowserSession.html">StartBrowserSession</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_ListBrowserSessions.html">ListBrowserSessions</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_StopBrowserSession.html">StopBrowserSession</a> </p> </li> </ul>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreClient";
|
|
4
4
|
import type { GetCodeInterpreterSessionRequest, GetCodeInterpreterSessionResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface GetCodeInterpreterSessionCommandInput extends GetCodeInterprete
|
|
|
22
22
|
export interface GetCodeInterpreterSessionCommandOutput extends GetCodeInterpreterSessionResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const GetCodeInterpreterSessionCommand_base: {
|
|
25
|
-
new (input: GetCodeInterpreterSessionCommandInput): import("@smithy/
|
|
26
|
-
new (input: GetCodeInterpreterSessionCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: GetCodeInterpreterSessionCommandInput): import("@smithy/core/client").CommandImpl<GetCodeInterpreterSessionCommandInput, GetCodeInterpreterSessionCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetCodeInterpreterSessionCommandInput): import("@smithy/core/client").CommandImpl<GetCodeInterpreterSessionCommandInput, GetCodeInterpreterSessionCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Retrieves detailed information about a specific code interpreter session in Amazon Bedrock AgentCore. This operation returns the session's configuration, current status, and metadata.</p> <p>To get a code interpreter session, you must specify both the code interpreter identifier and the session ID. The response includes information about the session's timeout settings and current status.</p> <p>The following operations are related to <code>GetCodeInterpreterSession</code>:</p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_StartCodeInterpreterSession.html">StartCodeInterpreterSession</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_ListCodeInterpreterSessions.html">ListCodeInterpreterSessions</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_StopCodeInterpreterSession.html">StopCodeInterpreterSession</a> </p> </li> </ul>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreClient";
|
|
4
4
|
import type { GetEventInput, GetEventOutput } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface GetEventCommandInput extends GetEventInput {
|
|
|
22
22
|
export interface GetEventCommandOutput extends GetEventOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const GetEventCommand_base: {
|
|
25
|
-
new (input: GetEventCommandInput): import("@smithy/
|
|
26
|
-
new (input: GetEventCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: GetEventCommandInput): import("@smithy/core/client").CommandImpl<GetEventCommandInput, GetEventCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetEventCommandInput): import("@smithy/core/client").CommandImpl<GetEventCommandInput, GetEventCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Retrieves information about a specific event in an AgentCore Memory resource.</p> <p>To use this operation, you must have the <code>bedrock-agentcore:GetEvent</code> permission.</p>
|