@aws-sdk/client-bedrock-agentcore 3.1043.0 → 3.1045.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. package/README.md +77 -0
  2. package/dist-cjs/index.js +217 -0
  3. package/dist-cjs/schemas/schemas_0.js +458 -33
  4. package/dist-es/BedrockAgentCore.js +26 -0
  5. package/dist-es/commands/CreatePaymentInstrumentCommand.js +16 -0
  6. package/dist-es/commands/CreatePaymentSessionCommand.js +16 -0
  7. package/dist-es/commands/DeletePaymentInstrumentCommand.js +16 -0
  8. package/dist-es/commands/DeletePaymentSessionCommand.js +16 -0
  9. package/dist-es/commands/GetPaymentInstrumentBalanceCommand.js +16 -0
  10. package/dist-es/commands/GetPaymentInstrumentCommand.js +16 -0
  11. package/dist-es/commands/GetPaymentSessionCommand.js +16 -0
  12. package/dist-es/commands/GetResourcePaymentTokenCommand.js +16 -0
  13. package/dist-es/commands/ListPaymentInstrumentsCommand.js +16 -0
  14. package/dist-es/commands/ListPaymentSessionsCommand.js +16 -0
  15. package/dist-es/commands/ProcessPaymentCommand.js +16 -0
  16. package/dist-es/commands/index.js +11 -0
  17. package/dist-es/models/enums.js +45 -0
  18. package/dist-es/pagination/ListPaymentInstrumentsPaginator.js +4 -0
  19. package/dist-es/pagination/ListPaymentSessionsPaginator.js +4 -0
  20. package/dist-es/pagination/index.js +2 -0
  21. package/dist-es/schemas/schemas_0.js +449 -25
  22. package/dist-types/BedrockAgentCore.d.ts +91 -0
  23. package/dist-types/BedrockAgentCoreClient.d.ts +13 -2
  24. package/dist-types/commands/CreatePaymentInstrumentCommand.d.ts +212 -0
  25. package/dist-types/commands/CreatePaymentSessionCommand.d.ts +122 -0
  26. package/dist-types/commands/DeletePaymentInstrumentCommand.d.ts +110 -0
  27. package/dist-types/commands/DeletePaymentSessionCommand.d.ts +105 -0
  28. package/dist-types/commands/GetPaymentInstrumentBalanceCommand.d.ts +102 -0
  29. package/dist-types/commands/GetPaymentInstrumentCommand.d.ts +155 -0
  30. package/dist-types/commands/GetPaymentSessionCommand.d.ts +112 -0
  31. package/dist-types/commands/GetResourcePaymentTokenCommand.d.ts +119 -0
  32. package/dist-types/commands/InvokeHarnessCommand.d.ts +1 -1
  33. package/dist-types/commands/ListPaymentInstrumentsCommand.d.ts +103 -0
  34. package/dist-types/commands/ListPaymentSessionsCommand.d.ts +100 -0
  35. package/dist-types/commands/ProcessPaymentCommand.d.ts +117 -0
  36. package/dist-types/commands/RetrieveMemoryRecordsCommand.d.ts +1 -1
  37. package/dist-types/commands/SearchRegistryRecordsCommand.d.ts +1 -2
  38. package/dist-types/commands/StartMemoryExtractionJobCommand.d.ts +1 -1
  39. package/dist-types/commands/index.d.ts +11 -0
  40. package/dist-types/models/enums.d.ts +140 -0
  41. package/dist-types/models/models_0.d.ts +222 -154
  42. package/dist-types/models/models_1.d.ts +1321 -2
  43. package/dist-types/pagination/ListPaymentInstrumentsPaginator.d.ts +7 -0
  44. package/dist-types/pagination/ListPaymentSessionsPaginator.d.ts +7 -0
  45. package/dist-types/pagination/index.d.ts +2 -0
  46. package/dist-types/schemas/schemas_0.d.ts +59 -0
  47. package/dist-types/ts3.4/BedrockAgentCore.d.ts +201 -0
  48. package/dist-types/ts3.4/BedrockAgentCoreClient.d.ts +66 -0
  49. package/dist-types/ts3.4/commands/CreatePaymentInstrumentCommand.d.ts +51 -0
  50. package/dist-types/ts3.4/commands/CreatePaymentSessionCommand.d.ts +51 -0
  51. package/dist-types/ts3.4/commands/DeletePaymentInstrumentCommand.d.ts +51 -0
  52. package/dist-types/ts3.4/commands/DeletePaymentSessionCommand.d.ts +51 -0
  53. package/dist-types/ts3.4/commands/GetPaymentInstrumentBalanceCommand.d.ts +51 -0
  54. package/dist-types/ts3.4/commands/GetPaymentInstrumentCommand.d.ts +51 -0
  55. package/dist-types/ts3.4/commands/GetPaymentSessionCommand.d.ts +51 -0
  56. package/dist-types/ts3.4/commands/GetResourcePaymentTokenCommand.d.ts +51 -0
  57. package/dist-types/ts3.4/commands/ListPaymentInstrumentsCommand.d.ts +51 -0
  58. package/dist-types/ts3.4/commands/ListPaymentSessionsCommand.d.ts +51 -0
  59. package/dist-types/ts3.4/commands/ProcessPaymentCommand.d.ts +50 -0
  60. package/dist-types/ts3.4/commands/RetrieveMemoryRecordsCommand.d.ts +1 -1
  61. package/dist-types/ts3.4/commands/SearchRegistryRecordsCommand.d.ts +4 -2
  62. package/dist-types/ts3.4/commands/StartMemoryExtractionJobCommand.d.ts +1 -1
  63. package/dist-types/ts3.4/commands/index.d.ts +11 -0
  64. package/dist-types/ts3.4/models/enums.d.ts +62 -0
  65. package/dist-types/ts3.4/models/models_0.d.ts +84 -38
  66. package/dist-types/ts3.4/models/models_1.d.ts +423 -2
  67. package/dist-types/ts3.4/pagination/ListPaymentInstrumentsPaginator.d.ts +11 -0
  68. package/dist-types/ts3.4/pagination/ListPaymentSessionsPaginator.d.ts +11 -0
  69. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  70. package/dist-types/ts3.4/schemas/schemas_0.d.ts +59 -0
  71. package/package.json +1 -1
@@ -0,0 +1,119 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreClient";
4
+ import type { GetResourcePaymentTokenRequest, GetResourcePaymentTokenResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetResourcePaymentTokenCommand}.
14
+ */
15
+ export interface GetResourcePaymentTokenCommandInput extends GetResourcePaymentTokenRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetResourcePaymentTokenCommand}.
21
+ */
22
+ export interface GetResourcePaymentTokenCommandOutput extends GetResourcePaymentTokenResponse, __MetadataBearer {
23
+ }
24
+ declare const GetResourcePaymentTokenCommand_base: {
25
+ new (input: GetResourcePaymentTokenCommandInput): import("@smithy/smithy-client").CommandImpl<GetResourcePaymentTokenCommandInput, GetResourcePaymentTokenCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetResourcePaymentTokenCommandInput): import("@smithy/smithy-client").CommandImpl<GetResourcePaymentTokenCommandInput, GetResourcePaymentTokenCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Generates authentication tokens for payment providers that use vendor-specific authentication mechanisms.
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { BedrockAgentCoreClient, GetResourcePaymentTokenCommand } from "@aws-sdk/client-bedrock-agentcore"; // ES Modules import
35
+ * // const { BedrockAgentCoreClient, GetResourcePaymentTokenCommand } = require("@aws-sdk/client-bedrock-agentcore"); // CommonJS import
36
+ * // import type { BedrockAgentCoreClientConfig } from "@aws-sdk/client-bedrock-agentcore";
37
+ * const config = {}; // type is BedrockAgentCoreClientConfig
38
+ * const client = new BedrockAgentCoreClient(config);
39
+ * const input = { // GetResourcePaymentTokenRequest
40
+ * workloadIdentityToken: "STRING_VALUE", // required
41
+ * resourceCredentialProviderName: "STRING_VALUE", // required
42
+ * paymentTokenRequest: { // PaymentTokenRequestInput Union: only one key present
43
+ * coinbaseCdpTokenRequest: { // CoinbaseCdpTokenRequestInput
44
+ * requestMethod: "GET" || "POST" || "PUT" || "DELETE" || "PATCH", // required
45
+ * requestHost: "STRING_VALUE",
46
+ * requestPath: "STRING_VALUE", // required
47
+ * includeWalletAuthToken: true || false,
48
+ * requestBody: "STRING_VALUE",
49
+ * },
50
+ * stripePrivyTokenRequest: { // StripePrivyTokenRequestInput
51
+ * requestHost: "STRING_VALUE",
52
+ * requestPath: "STRING_VALUE", // required
53
+ * requestBody: "STRING_VALUE", // required
54
+ * includeAuthorizationSignature: true || false,
55
+ * },
56
+ * },
57
+ * };
58
+ * const command = new GetResourcePaymentTokenCommand(input);
59
+ * const response = await client.send(command);
60
+ * // { // GetResourcePaymentTokenResponse
61
+ * // paymentTokenResponse: { // PaymentTokenResponseOutput Union: only one key present
62
+ * // coinbaseCdpTokenResponse: { // CoinbaseCdpTokenResponseOutput
63
+ * // bearerToken: "STRING_VALUE", // required
64
+ * // walletAuthToken: "STRING_VALUE",
65
+ * // },
66
+ * // stripePrivyTokenResponse: { // StripePrivyTokenResponseOutput
67
+ * // authorizationSignature: "STRING_VALUE",
68
+ * // requestExpiry: Number("long"),
69
+ * // appId: "STRING_VALUE", // required
70
+ * // basicAuthToken: "STRING_VALUE", // required
71
+ * // },
72
+ * // },
73
+ * // };
74
+ *
75
+ * ```
76
+ *
77
+ * @param GetResourcePaymentTokenCommandInput - {@link GetResourcePaymentTokenCommandInput}
78
+ * @returns {@link GetResourcePaymentTokenCommandOutput}
79
+ * @see {@link GetResourcePaymentTokenCommandInput} for command's `input` shape.
80
+ * @see {@link GetResourcePaymentTokenCommandOutput} for command's `response` shape.
81
+ * @see {@link BedrockAgentCoreClientResolvedConfig | config} for BedrockAgentCoreClient's `config` shape.
82
+ *
83
+ * @throws {@link AccessDeniedException} (client fault)
84
+ * <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>
85
+ *
86
+ * @throws {@link InternalServerException} (server fault)
87
+ * <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>
88
+ *
89
+ * @throws {@link ResourceNotFoundException} (client fault)
90
+ * <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>
91
+ *
92
+ * @throws {@link ThrottlingException} (client fault)
93
+ * <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>
94
+ *
95
+ * @throws {@link UnauthorizedException} (client fault)
96
+ * <p>This exception is thrown when the JWT bearer token is invalid or not found for OAuth bearer token based access</p>
97
+ *
98
+ * @throws {@link ValidationException} (client fault)
99
+ * <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>
100
+ *
101
+ * @throws {@link BedrockAgentCoreServiceException}
102
+ * <p>Base exception class for all service exceptions from BedrockAgentCore service.</p>
103
+ *
104
+ *
105
+ * @public
106
+ */
107
+ export declare class GetResourcePaymentTokenCommand extends GetResourcePaymentTokenCommand_base {
108
+ /** @internal type navigation helper, not in runtime. */
109
+ protected static __types: {
110
+ api: {
111
+ input: GetResourcePaymentTokenRequest;
112
+ output: GetResourcePaymentTokenResponse;
113
+ };
114
+ sdk: {
115
+ input: GetResourcePaymentTokenCommandInput;
116
+ output: GetResourcePaymentTokenCommandOutput;
117
+ };
118
+ };
119
+ }
@@ -129,7 +129,7 @@ declare const InvokeHarnessCommand_base: {
129
129
  * customParameters: { // OAuthCustomParameters
130
130
  * "<keys>": "STRING_VALUE",
131
131
  * },
132
- * grantType: "CLIENT_CREDENTIALS" || "AUTHORIZATION_CODE",
132
+ * grantType: "CLIENT_CREDENTIALS" || "AUTHORIZATION_CODE" || "TOKEN_EXCHANGE",
133
133
  * defaultReturnUrl: "STRING_VALUE",
134
134
  * },
135
135
  * },
@@ -0,0 +1,103 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreClient";
4
+ import type { ListPaymentInstrumentsRequest, ListPaymentInstrumentsResponse } from "../models/models_1";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListPaymentInstrumentsCommand}.
14
+ */
15
+ export interface ListPaymentInstrumentsCommandInput extends ListPaymentInstrumentsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListPaymentInstrumentsCommand}.
21
+ */
22
+ export interface ListPaymentInstrumentsCommandOutput extends ListPaymentInstrumentsResponse, __MetadataBearer {
23
+ }
24
+ declare const ListPaymentInstrumentsCommand_base: {
25
+ new (input: ListPaymentInstrumentsCommandInput): import("@smithy/smithy-client").CommandImpl<ListPaymentInstrumentsCommandInput, ListPaymentInstrumentsCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ListPaymentInstrumentsCommandInput): import("@smithy/smithy-client").CommandImpl<ListPaymentInstrumentsCommandInput, ListPaymentInstrumentsCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * List payment instruments for a manager
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { BedrockAgentCoreClient, ListPaymentInstrumentsCommand } from "@aws-sdk/client-bedrock-agentcore"; // ES Modules import
35
+ * // const { BedrockAgentCoreClient, ListPaymentInstrumentsCommand } = require("@aws-sdk/client-bedrock-agentcore"); // CommonJS import
36
+ * // import type { BedrockAgentCoreClientConfig } from "@aws-sdk/client-bedrock-agentcore";
37
+ * const config = {}; // type is BedrockAgentCoreClientConfig
38
+ * const client = new BedrockAgentCoreClient(config);
39
+ * const input = { // ListPaymentInstrumentsRequest
40
+ * userId: "STRING_VALUE",
41
+ * agentName: "STRING_VALUE",
42
+ * paymentManagerArn: "STRING_VALUE", // required
43
+ * paymentConnectorId: "STRING_VALUE",
44
+ * nextToken: "STRING_VALUE",
45
+ * maxResults: Number("int"),
46
+ * };
47
+ * const command = new ListPaymentInstrumentsCommand(input);
48
+ * const response = await client.send(command);
49
+ * // { // ListPaymentInstrumentsResponse
50
+ * // paymentInstruments: [ // PaymentInstrumentSummaryList // required
51
+ * // { // PaymentInstrumentSummary
52
+ * // paymentInstrumentId: "STRING_VALUE", // required
53
+ * // paymentManagerArn: "STRING_VALUE", // required
54
+ * // paymentConnectorId: "STRING_VALUE", // required
55
+ * // userId: "STRING_VALUE", // required
56
+ * // paymentInstrumentType: "EMBEDDED_CRYPTO_WALLET", // required
57
+ * // status: "INITIATED" || "ACTIVE" || "FAILED" || "DELETED", // required
58
+ * // createdAt: new Date("TIMESTAMP"), // required
59
+ * // updatedAt: new Date("TIMESTAMP"), // required
60
+ * // },
61
+ * // ],
62
+ * // nextToken: "STRING_VALUE",
63
+ * // };
64
+ *
65
+ * ```
66
+ *
67
+ * @param ListPaymentInstrumentsCommandInput - {@link ListPaymentInstrumentsCommandInput}
68
+ * @returns {@link ListPaymentInstrumentsCommandOutput}
69
+ * @see {@link ListPaymentInstrumentsCommandInput} for command's `input` shape.
70
+ * @see {@link ListPaymentInstrumentsCommandOutput} for command's `response` shape.
71
+ * @see {@link BedrockAgentCoreClientResolvedConfig | config} for BedrockAgentCoreClient's `config` shape.
72
+ *
73
+ * @throws {@link AccessDeniedException} (client fault)
74
+ * <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>
75
+ *
76
+ * @throws {@link InternalServerException} (server fault)
77
+ * <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>
78
+ *
79
+ * @throws {@link ThrottlingException} (client fault)
80
+ * <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>
81
+ *
82
+ * @throws {@link ValidationException} (client fault)
83
+ * <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>
84
+ *
85
+ * @throws {@link BedrockAgentCoreServiceException}
86
+ * <p>Base exception class for all service exceptions from BedrockAgentCore service.</p>
87
+ *
88
+ *
89
+ * @public
90
+ */
91
+ export declare class ListPaymentInstrumentsCommand extends ListPaymentInstrumentsCommand_base {
92
+ /** @internal type navigation helper, not in runtime. */
93
+ protected static __types: {
94
+ api: {
95
+ input: ListPaymentInstrumentsRequest;
96
+ output: ListPaymentInstrumentsResponse;
97
+ };
98
+ sdk: {
99
+ input: ListPaymentInstrumentsCommandInput;
100
+ output: ListPaymentInstrumentsCommandOutput;
101
+ };
102
+ };
103
+ }
@@ -0,0 +1,100 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreClient";
4
+ import type { ListPaymentSessionsRequest, ListPaymentSessionsResponse } from "../models/models_1";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListPaymentSessionsCommand}.
14
+ */
15
+ export interface ListPaymentSessionsCommandInput extends ListPaymentSessionsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListPaymentSessionsCommand}.
21
+ */
22
+ export interface ListPaymentSessionsCommandOutput extends ListPaymentSessionsResponse, __MetadataBearer {
23
+ }
24
+ declare const ListPaymentSessionsCommand_base: {
25
+ new (input: ListPaymentSessionsCommandInput): import("@smithy/smithy-client").CommandImpl<ListPaymentSessionsCommandInput, ListPaymentSessionsCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ListPaymentSessionsCommandInput): import("@smithy/smithy-client").CommandImpl<ListPaymentSessionsCommandInput, ListPaymentSessionsCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * List payment manager sessions
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { BedrockAgentCoreClient, ListPaymentSessionsCommand } from "@aws-sdk/client-bedrock-agentcore"; // ES Modules import
35
+ * // const { BedrockAgentCoreClient, ListPaymentSessionsCommand } = require("@aws-sdk/client-bedrock-agentcore"); // CommonJS import
36
+ * // import type { BedrockAgentCoreClientConfig } from "@aws-sdk/client-bedrock-agentcore";
37
+ * const config = {}; // type is BedrockAgentCoreClientConfig
38
+ * const client = new BedrockAgentCoreClient(config);
39
+ * const input = { // ListPaymentSessionsRequest
40
+ * userId: "STRING_VALUE",
41
+ * agentName: "STRING_VALUE",
42
+ * paymentManagerArn: "STRING_VALUE", // required
43
+ * nextToken: "STRING_VALUE",
44
+ * maxResults: Number("int"),
45
+ * };
46
+ * const command = new ListPaymentSessionsCommand(input);
47
+ * const response = await client.send(command);
48
+ * // { // ListPaymentSessionsResponse
49
+ * // paymentSessions: [ // PaymentSessionSummaryList // required
50
+ * // { // PaymentSessionSummary
51
+ * // paymentSessionId: "STRING_VALUE", // required
52
+ * // paymentManagerArn: "STRING_VALUE", // required
53
+ * // userId: "STRING_VALUE", // required
54
+ * // expiryTimeInMinutes: Number("int"), // required
55
+ * // createdAt: new Date("TIMESTAMP"), // required
56
+ * // updatedAt: new Date("TIMESTAMP"), // required
57
+ * // },
58
+ * // ],
59
+ * // nextToken: "STRING_VALUE",
60
+ * // };
61
+ *
62
+ * ```
63
+ *
64
+ * @param ListPaymentSessionsCommandInput - {@link ListPaymentSessionsCommandInput}
65
+ * @returns {@link ListPaymentSessionsCommandOutput}
66
+ * @see {@link ListPaymentSessionsCommandInput} for command's `input` shape.
67
+ * @see {@link ListPaymentSessionsCommandOutput} for command's `response` shape.
68
+ * @see {@link BedrockAgentCoreClientResolvedConfig | config} for BedrockAgentCoreClient's `config` shape.
69
+ *
70
+ * @throws {@link AccessDeniedException} (client fault)
71
+ * <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>
72
+ *
73
+ * @throws {@link InternalServerException} (server fault)
74
+ * <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>
75
+ *
76
+ * @throws {@link ThrottlingException} (client fault)
77
+ * <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>
78
+ *
79
+ * @throws {@link ValidationException} (client fault)
80
+ * <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>
81
+ *
82
+ * @throws {@link BedrockAgentCoreServiceException}
83
+ * <p>Base exception class for all service exceptions from BedrockAgentCore service.</p>
84
+ *
85
+ *
86
+ * @public
87
+ */
88
+ export declare class ListPaymentSessionsCommand extends ListPaymentSessionsCommand_base {
89
+ /** @internal type navigation helper, not in runtime. */
90
+ protected static __types: {
91
+ api: {
92
+ input: ListPaymentSessionsRequest;
93
+ output: ListPaymentSessionsResponse;
94
+ };
95
+ sdk: {
96
+ input: ListPaymentSessionsCommandInput;
97
+ output: ListPaymentSessionsCommandOutput;
98
+ };
99
+ };
100
+ }
@@ -0,0 +1,117 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreClient";
4
+ import type { ProcessPaymentRequest, ProcessPaymentResponse } from "../models/models_1";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ProcessPaymentCommand}.
14
+ */
15
+ export interface ProcessPaymentCommandInput extends ProcessPaymentRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ProcessPaymentCommand}.
21
+ */
22
+ export interface ProcessPaymentCommandOutput extends ProcessPaymentResponse, __MetadataBearer {
23
+ }
24
+ declare const ProcessPaymentCommand_base: {
25
+ new (input: ProcessPaymentCommandInput): import("@smithy/smithy-client").CommandImpl<ProcessPaymentCommandInput, ProcessPaymentCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ProcessPaymentCommandInput): import("@smithy/smithy-client").CommandImpl<ProcessPaymentCommandInput, ProcessPaymentCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Process a payment transaction
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { BedrockAgentCoreClient, ProcessPaymentCommand } from "@aws-sdk/client-bedrock-agentcore"; // ES Modules import
35
+ * // const { BedrockAgentCoreClient, ProcessPaymentCommand } = require("@aws-sdk/client-bedrock-agentcore"); // CommonJS import
36
+ * // import type { BedrockAgentCoreClientConfig } from "@aws-sdk/client-bedrock-agentcore";
37
+ * const config = {}; // type is BedrockAgentCoreClientConfig
38
+ * const client = new BedrockAgentCoreClient(config);
39
+ * const input = { // ProcessPaymentRequest
40
+ * userId: "STRING_VALUE",
41
+ * agentName: "STRING_VALUE",
42
+ * paymentManagerArn: "STRING_VALUE", // required
43
+ * paymentSessionId: "STRING_VALUE", // required
44
+ * paymentInstrumentId: "STRING_VALUE", // required
45
+ * paymentType: "CRYPTO_X402", // required
46
+ * paymentInput: { // PaymentInput Union: only one key present
47
+ * cryptoX402: { // CryptoX402PaymentInput
48
+ * version: "STRING_VALUE", // required
49
+ * payload: "DOCUMENT_VALUE", // required
50
+ * },
51
+ * },
52
+ * clientToken: "STRING_VALUE",
53
+ * };
54
+ * const command = new ProcessPaymentCommand(input);
55
+ * const response = await client.send(command);
56
+ * // { // ProcessPaymentResponse
57
+ * // processPaymentId: "STRING_VALUE", // required
58
+ * // paymentManagerArn: "STRING_VALUE", // required
59
+ * // paymentSessionId: "STRING_VALUE", // required
60
+ * // paymentInstrumentId: "STRING_VALUE", // required
61
+ * // paymentType: "CRYPTO_X402", // required
62
+ * // status: "PROOF_GENERATED", // required
63
+ * // paymentOutput: { // PaymentOutput Union: only one key present
64
+ * // cryptoX402: { // CryptoX402PaymentOutput
65
+ * // version: "STRING_VALUE", // required
66
+ * // payload: "DOCUMENT_VALUE", // required
67
+ * // },
68
+ * // },
69
+ * // createdAt: new Date("TIMESTAMP"), // required
70
+ * // updatedAt: new Date("TIMESTAMP"), // required
71
+ * // };
72
+ *
73
+ * ```
74
+ *
75
+ * @param ProcessPaymentCommandInput - {@link ProcessPaymentCommandInput}
76
+ * @returns {@link ProcessPaymentCommandOutput}
77
+ * @see {@link ProcessPaymentCommandInput} for command's `input` shape.
78
+ * @see {@link ProcessPaymentCommandOutput} for command's `response` shape.
79
+ * @see {@link BedrockAgentCoreClientResolvedConfig | config} for BedrockAgentCoreClient's `config` shape.
80
+ *
81
+ * @throws {@link AccessDeniedException} (client fault)
82
+ * <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>
83
+ *
84
+ * @throws {@link ConflictException} (client fault)
85
+ * <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>
86
+ *
87
+ * @throws {@link InternalServerException} (server fault)
88
+ * <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>
89
+ *
90
+ * @throws {@link ServiceQuotaExceededException} (client fault)
91
+ * <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>
92
+ *
93
+ * @throws {@link ThrottlingException} (client fault)
94
+ * <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>
95
+ *
96
+ * @throws {@link ValidationException} (client fault)
97
+ * <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>
98
+ *
99
+ * @throws {@link BedrockAgentCoreServiceException}
100
+ * <p>Base exception class for all service exceptions from BedrockAgentCore service.</p>
101
+ *
102
+ *
103
+ * @public
104
+ */
105
+ export declare class ProcessPaymentCommand extends ProcessPaymentCommand_base {
106
+ /** @internal type navigation helper, not in runtime. */
107
+ protected static __types: {
108
+ api: {
109
+ input: ProcessPaymentRequest;
110
+ output: ProcessPaymentResponse;
111
+ };
112
+ sdk: {
113
+ input: ProcessPaymentCommandInput;
114
+ output: ProcessPaymentCommandOutput;
115
+ };
116
+ };
117
+ }
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreClient";
4
- import type { RetrieveMemoryRecordsInput, RetrieveMemoryRecordsOutput } from "../models/models_0";
4
+ import type { RetrieveMemoryRecordsInput, RetrieveMemoryRecordsOutput } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,8 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreClient";
4
- import type { SearchRegistryRecordsRequest } from "../models/models_0";
5
- import type { SearchRegistryRecordsResponse } from "../models/models_1";
4
+ import type { SearchRegistryRecordsRequest, SearchRegistryRecordsResponse } from "../models/models_1";
6
5
  /**
7
6
  * @public
8
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreClient";
4
- import type { StartMemoryExtractionJobInput, StartMemoryExtractionJobOutput } from "../models/models_0";
4
+ import type { StartMemoryExtractionJobInput, StartMemoryExtractionJobOutput } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -4,10 +4,14 @@ export * from "./BatchUpdateMemoryRecordsCommand";
4
4
  export * from "./CompleteResourceTokenAuthCommand";
5
5
  export * from "./CreateABTestCommand";
6
6
  export * from "./CreateEventCommand";
7
+ export * from "./CreatePaymentInstrumentCommand";
8
+ export * from "./CreatePaymentSessionCommand";
7
9
  export * from "./DeleteABTestCommand";
8
10
  export * from "./DeleteBatchEvaluationCommand";
9
11
  export * from "./DeleteEventCommand";
10
12
  export * from "./DeleteMemoryRecordCommand";
13
+ export * from "./DeletePaymentInstrumentCommand";
14
+ export * from "./DeletePaymentSessionCommand";
11
15
  export * from "./DeleteRecommendationCommand";
12
16
  export * from "./EvaluateCommand";
13
17
  export * from "./GetABTestCommand";
@@ -17,9 +21,13 @@ export * from "./GetBrowserSessionCommand";
17
21
  export * from "./GetCodeInterpreterSessionCommand";
18
22
  export * from "./GetEventCommand";
19
23
  export * from "./GetMemoryRecordCommand";
24
+ export * from "./GetPaymentInstrumentBalanceCommand";
25
+ export * from "./GetPaymentInstrumentCommand";
26
+ export * from "./GetPaymentSessionCommand";
20
27
  export * from "./GetRecommendationCommand";
21
28
  export * from "./GetResourceApiKeyCommand";
22
29
  export * from "./GetResourceOauth2TokenCommand";
30
+ export * from "./GetResourcePaymentTokenCommand";
23
31
  export * from "./GetWorkloadAccessTokenCommand";
24
32
  export * from "./GetWorkloadAccessTokenForJWTCommand";
25
33
  export * from "./GetWorkloadAccessTokenForUserIdCommand";
@@ -36,8 +44,11 @@ export * from "./ListCodeInterpreterSessionsCommand";
36
44
  export * from "./ListEventsCommand";
37
45
  export * from "./ListMemoryExtractionJobsCommand";
38
46
  export * from "./ListMemoryRecordsCommand";
47
+ export * from "./ListPaymentInstrumentsCommand";
48
+ export * from "./ListPaymentSessionsCommand";
39
49
  export * from "./ListRecommendationsCommand";
40
50
  export * from "./ListSessionsCommand";
51
+ export * from "./ProcessPaymentCommand";
41
52
  export * from "./RetrieveMemoryRecordsCommand";
42
53
  export * from "./SaveBrowserSessionProfileCommand";
43
54
  export * from "./SearchRegistryRecordsCommand";