@aws-sdk/client-bedrock-agentcore 3.1048.0 → 3.1050.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/models/errors.js +15 -15
- package/dist-es/models/errors.js +13 -13
- package/dist-types/commands/CreatePaymentInstrumentCommand.d.ts +1 -1
- package/dist-types/commands/CreatePaymentSessionCommand.d.ts +1 -1
- package/dist-types/commands/DeletePaymentInstrumentCommand.d.ts +1 -19
- package/dist-types/commands/DeletePaymentSessionCommand.d.ts +1 -15
- package/dist-types/commands/GetPaymentInstrumentBalanceCommand.d.ts +1 -1
- package/dist-types/commands/GetPaymentInstrumentCommand.d.ts +1 -1
- package/dist-types/commands/GetPaymentSessionCommand.d.ts +1 -1
- package/dist-types/commands/GetResourcePaymentTokenCommand.d.ts +1 -1
- package/dist-types/commands/InvokeAgentRuntimeCommand.d.ts +3 -0
- package/dist-types/commands/ListPaymentInstrumentsCommand.d.ts +1 -1
- package/dist-types/commands/ListPaymentSessionsCommand.d.ts +1 -1
- package/dist-types/commands/ProcessPaymentCommand.d.ts +1 -1
- package/dist-types/commands/StopRuntimeSessionCommand.d.ts +3 -0
- package/dist-types/models/enums.d.ts +5 -5
- package/dist-types/models/errors.d.ts +13 -13
- package/dist-types/models/models_0.d.ts +38 -40
- package/dist-types/models/models_1.d.ts +187 -210
- package/dist-types/ts3.4/models/errors.d.ts +8 -8
- package/package.json +3 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.InvalidInputException = exports.ThrottledException = exports.ServiceException = exports.DuplicateIdException = exports.UnauthorizedException = exports.ConflictException = exports.RetryableConflictException = exports.ValidationException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.RuntimeClientError = exports.ResourceNotFoundException = exports.InternalServerException = exports.AccessDeniedException = void 0;
|
|
4
4
|
const BedrockAgentCoreServiceException_1 = require("./BedrockAgentCoreServiceException");
|
|
5
5
|
class AccessDeniedException extends BedrockAgentCoreServiceException_1.BedrockAgentCoreServiceException {
|
|
6
6
|
name = "AccessDeniedException";
|
|
@@ -97,6 +97,20 @@ class ValidationException extends BedrockAgentCoreServiceException_1.BedrockAgen
|
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
99
|
exports.ValidationException = ValidationException;
|
|
100
|
+
class RetryableConflictException extends BedrockAgentCoreServiceException_1.BedrockAgentCoreServiceException {
|
|
101
|
+
name = "RetryableConflictException";
|
|
102
|
+
$fault = "client";
|
|
103
|
+
$retryable = {};
|
|
104
|
+
constructor(opts) {
|
|
105
|
+
super({
|
|
106
|
+
name: "RetryableConflictException",
|
|
107
|
+
$fault: "client",
|
|
108
|
+
...opts,
|
|
109
|
+
});
|
|
110
|
+
Object.setPrototypeOf(this, RetryableConflictException.prototype);
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
exports.RetryableConflictException = RetryableConflictException;
|
|
100
114
|
class ConflictException extends BedrockAgentCoreServiceException_1.BedrockAgentCoreServiceException {
|
|
101
115
|
name = "ConflictException";
|
|
102
116
|
$fault = "client";
|
|
@@ -175,17 +189,3 @@ class InvalidInputException extends BedrockAgentCoreServiceException_1.BedrockAg
|
|
|
175
189
|
}
|
|
176
190
|
}
|
|
177
191
|
exports.InvalidInputException = InvalidInputException;
|
|
178
|
-
class RetryableConflictException extends BedrockAgentCoreServiceException_1.BedrockAgentCoreServiceException {
|
|
179
|
-
name = "RetryableConflictException";
|
|
180
|
-
$fault = "client";
|
|
181
|
-
$retryable = {};
|
|
182
|
-
constructor(opts) {
|
|
183
|
-
super({
|
|
184
|
-
name: "RetryableConflictException",
|
|
185
|
-
$fault: "client",
|
|
186
|
-
...opts,
|
|
187
|
-
});
|
|
188
|
-
Object.setPrototypeOf(this, RetryableConflictException.prototype);
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
exports.RetryableConflictException = RetryableConflictException;
|
package/dist-es/models/errors.js
CHANGED
|
@@ -87,6 +87,19 @@ export class ValidationException extends __BaseException {
|
|
|
87
87
|
this.fieldList = opts.fieldList;
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
|
+
export class RetryableConflictException extends __BaseException {
|
|
91
|
+
name = "RetryableConflictException";
|
|
92
|
+
$fault = "client";
|
|
93
|
+
$retryable = {};
|
|
94
|
+
constructor(opts) {
|
|
95
|
+
super({
|
|
96
|
+
name: "RetryableConflictException",
|
|
97
|
+
$fault: "client",
|
|
98
|
+
...opts,
|
|
99
|
+
});
|
|
100
|
+
Object.setPrototypeOf(this, RetryableConflictException.prototype);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
90
103
|
export class ConflictException extends __BaseException {
|
|
91
104
|
name = "ConflictException";
|
|
92
105
|
$fault = "client";
|
|
@@ -159,16 +172,3 @@ export class InvalidInputException extends __BaseException {
|
|
|
159
172
|
Object.setPrototypeOf(this, InvalidInputException.prototype);
|
|
160
173
|
}
|
|
161
174
|
}
|
|
162
|
-
export class RetryableConflictException extends __BaseException {
|
|
163
|
-
name = "RetryableConflictException";
|
|
164
|
-
$fault = "client";
|
|
165
|
-
$retryable = {};
|
|
166
|
-
constructor(opts) {
|
|
167
|
-
super({
|
|
168
|
-
name: "RetryableConflictException",
|
|
169
|
-
$fault: "client",
|
|
170
|
-
...opts,
|
|
171
|
-
});
|
|
172
|
-
Object.setPrototypeOf(this, RetryableConflictException.prototype);
|
|
173
|
-
}
|
|
174
|
-
}
|
|
@@ -29,7 +29,7 @@ declare const CreatePaymentInstrumentCommand_base: {
|
|
|
29
29
|
};
|
|
30
30
|
};
|
|
31
31
|
/**
|
|
32
|
-
* Create a new payment instrument for a connector
|
|
32
|
+
* <p>Create a new payment instrument for a connector.</p>
|
|
33
33
|
* @example
|
|
34
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
35
|
* ```javascript
|
|
@@ -29,7 +29,7 @@ declare const CreatePaymentSessionCommand_base: {
|
|
|
29
29
|
};
|
|
30
30
|
};
|
|
31
31
|
/**
|
|
32
|
-
* Create a new payment
|
|
32
|
+
* <p>Create a new payment session.</p>
|
|
33
33
|
* @example
|
|
34
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
35
|
* ```javascript
|
|
@@ -29,25 +29,7 @@ declare const DeletePaymentInstrumentCommand_base: {
|
|
|
29
29
|
};
|
|
30
30
|
};
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
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
|
|
32
|
+
* <p>Deletes a payment instrument. This is a soft delete operation that preserves the record for audit and compliance purposes.</p>
|
|
51
33
|
* @example
|
|
52
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
53
35
|
* ```javascript
|
|
@@ -29,21 +29,7 @@ declare const DeletePaymentSessionCommand_base: {
|
|
|
29
29
|
};
|
|
30
30
|
};
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
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
|
|
32
|
+
* <p>Deletes a payment session. This permanently removes the payment session record.</p>
|
|
47
33
|
* @example
|
|
48
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
49
35
|
* ```javascript
|
|
@@ -29,7 +29,7 @@ declare const GetPaymentInstrumentBalanceCommand_base: {
|
|
|
29
29
|
};
|
|
30
30
|
};
|
|
31
31
|
/**
|
|
32
|
-
* Get the balance of a payment instrument
|
|
32
|
+
* <p>Get the balance of a payment instrument.</p>
|
|
33
33
|
* @example
|
|
34
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
35
|
* ```javascript
|
|
@@ -29,7 +29,7 @@ declare const GetResourcePaymentTokenCommand_base: {
|
|
|
29
29
|
};
|
|
30
30
|
};
|
|
31
31
|
/**
|
|
32
|
-
* Generates authentication tokens for payment providers that use vendor-specific authentication mechanisms
|
|
32
|
+
* <p>Generates authentication tokens for payment providers that use vendor-specific authentication mechanisms.</p>
|
|
33
33
|
* @example
|
|
34
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
35
|
* ```javascript
|
|
@@ -98,6 +98,9 @@ declare const InvokeAgentRuntimeCommand_base: {
|
|
|
98
98
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
99
99
|
* <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>
|
|
100
100
|
*
|
|
101
|
+
* @throws {@link RetryableConflictException} (client fault)
|
|
102
|
+
* <p>The exception that occurs when there is a retryable conflict performing an operation. This is a temporary condition that may resolve itself with retries. We recommend implementing exponential backoff retry logic in your application.</p>
|
|
103
|
+
*
|
|
101
104
|
* @throws {@link RuntimeClientError} (client fault)
|
|
102
105
|
* <p>The exception that occurs when there is an error in the runtime client. This can happen due to network issues, invalid configuration, or other client-side problems. Check the error message for specific details about the error.</p>
|
|
103
106
|
*
|
|
@@ -29,7 +29,7 @@ declare const ListPaymentInstrumentsCommand_base: {
|
|
|
29
29
|
};
|
|
30
30
|
};
|
|
31
31
|
/**
|
|
32
|
-
* List payment instruments for a manager
|
|
32
|
+
* <p>List payment instruments for a manager.</p>
|
|
33
33
|
* @example
|
|
34
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
35
|
* ```javascript
|
|
@@ -29,7 +29,7 @@ declare const ProcessPaymentCommand_base: {
|
|
|
29
29
|
};
|
|
30
30
|
};
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
32
|
+
* <p>Processes a payment using a payment instrument within a payment session.</p>
|
|
33
33
|
* @example
|
|
34
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
35
|
* ```javascript
|
|
@@ -71,6 +71,9 @@ declare const StopRuntimeSessionCommand_base: {
|
|
|
71
71
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
72
72
|
* <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>
|
|
73
73
|
*
|
|
74
|
+
* @throws {@link RetryableConflictException} (client fault)
|
|
75
|
+
* <p>The exception that occurs when there is a retryable conflict performing an operation. This is a temporary condition that may resolve itself with retries. We recommend implementing exponential backoff retry logic in your application.</p>
|
|
76
|
+
*
|
|
74
77
|
* @throws {@link RuntimeClientError} (client fault)
|
|
75
78
|
* <p>The exception that occurs when there is an error in the runtime client. This can happen due to network issues, invalid configuration, or other client-side problems. Check the error message for specific details about the error.</p>
|
|
76
79
|
*
|
|
@@ -543,23 +543,23 @@ export type PaymentInstrumentStatus = (typeof PaymentInstrumentStatus)[keyof typ
|
|
|
543
543
|
*/
|
|
544
544
|
export declare const BlockchainChainId: {
|
|
545
545
|
/**
|
|
546
|
-
* Base Mainnet (EVM L2)
|
|
546
|
+
* <p>Base Mainnet (EVM L2)</p>
|
|
547
547
|
*/
|
|
548
548
|
readonly BASE: "BASE";
|
|
549
549
|
/**
|
|
550
|
-
* Base Sepolia testnet (EVM L2)
|
|
550
|
+
* <p>Base Sepolia testnet (EVM L2)</p>
|
|
551
551
|
*/
|
|
552
552
|
readonly BASE_SEPOLIA: "BASE_SEPOLIA";
|
|
553
553
|
/**
|
|
554
|
-
* Ethereum Mainnet (EVM L1)
|
|
554
|
+
* <p>Ethereum Mainnet (EVM L1)</p>
|
|
555
555
|
*/
|
|
556
556
|
readonly ETHEREUM: "ETHEREUM";
|
|
557
557
|
/**
|
|
558
|
-
* Solana Mainnet
|
|
558
|
+
* <p>Solana Mainnet</p>
|
|
559
559
|
*/
|
|
560
560
|
readonly SOLANA: "SOLANA";
|
|
561
561
|
/**
|
|
562
|
-
* Solana Devnet testnet
|
|
562
|
+
* <p>Solana Devnet testnet</p>
|
|
563
563
|
*/
|
|
564
564
|
readonly SOLANA_DEVNET: "SOLANA_DEVNET";
|
|
565
565
|
};
|
|
@@ -88,6 +88,19 @@ export declare class ValidationException extends __BaseException {
|
|
|
88
88
|
*/
|
|
89
89
|
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
90
90
|
}
|
|
91
|
+
/**
|
|
92
|
+
* <p>The exception that occurs when there is a retryable conflict performing an operation. This is a temporary condition that may resolve itself with retries. We recommend implementing exponential backoff retry logic in your application.</p>
|
|
93
|
+
* @public
|
|
94
|
+
*/
|
|
95
|
+
export declare class RetryableConflictException extends __BaseException {
|
|
96
|
+
readonly name: "RetryableConflictException";
|
|
97
|
+
readonly $fault: "client";
|
|
98
|
+
$retryable: {};
|
|
99
|
+
/**
|
|
100
|
+
* @internal
|
|
101
|
+
*/
|
|
102
|
+
constructor(opts: __ExceptionOptionType<RetryableConflictException, __BaseException>);
|
|
103
|
+
}
|
|
91
104
|
/**
|
|
92
105
|
* <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
106
|
* @public
|
|
@@ -160,16 +173,3 @@ export declare class InvalidInputException extends __BaseException {
|
|
|
160
173
|
*/
|
|
161
174
|
constructor(opts: __ExceptionOptionType<InvalidInputException, __BaseException>);
|
|
162
175
|
}
|
|
163
|
-
/**
|
|
164
|
-
* <p>The exception that occurs when there is a retryable conflict performing an operation. This is a temporary condition that may resolve itself with retries. We recommend implementing exponential backoff retry logic in your application.</p>
|
|
165
|
-
* @public
|
|
166
|
-
*/
|
|
167
|
-
export declare class RetryableConflictException extends __BaseException {
|
|
168
|
-
readonly name: "RetryableConflictException";
|
|
169
|
-
readonly $fault: "client";
|
|
170
|
-
$retryable: {};
|
|
171
|
-
/**
|
|
172
|
-
* @internal
|
|
173
|
-
*/
|
|
174
|
-
constructor(opts: __ExceptionOptionType<RetryableConflictException, __BaseException>);
|
|
175
|
-
}
|
|
@@ -3529,7 +3529,7 @@ export interface CloudWatchLogsSource {
|
|
|
3529
3529
|
filterConfig?: CloudWatchFilterConfig | undefined;
|
|
3530
3530
|
}
|
|
3531
3531
|
/**
|
|
3532
|
-
*
|
|
3532
|
+
* <p>Configuration for the data source used in evaluation.</p>
|
|
3533
3533
|
* @public
|
|
3534
3534
|
*/
|
|
3535
3535
|
export type DataSourceConfig = DataSourceConfig.CloudWatchLogsMember | DataSourceConfig.$UnknownMember;
|
|
@@ -3635,7 +3635,7 @@ export interface EvaluationJobResults {
|
|
|
3635
3635
|
evaluatorSummaries?: EvaluatorSummary[] | undefined;
|
|
3636
3636
|
}
|
|
3637
3637
|
/**
|
|
3638
|
-
* An evaluator to run against sessions
|
|
3638
|
+
* <p>An evaluator to run against sessions.</p>
|
|
3639
3639
|
* @public
|
|
3640
3640
|
*/
|
|
3641
3641
|
export interface Evaluator {
|
|
@@ -3646,7 +3646,7 @@ export interface Evaluator {
|
|
|
3646
3646
|
evaluatorId: string | undefined;
|
|
3647
3647
|
}
|
|
3648
3648
|
/**
|
|
3649
|
-
* CloudWatch Logs destination for batch evaluation results
|
|
3649
|
+
* <p>CloudWatch Logs destination for batch evaluation results.</p>
|
|
3650
3650
|
* @public
|
|
3651
3651
|
*/
|
|
3652
3652
|
export interface CloudWatchOutputConfig {
|
|
@@ -3662,7 +3662,7 @@ export interface CloudWatchOutputConfig {
|
|
|
3662
3662
|
logStreamName: string | undefined;
|
|
3663
3663
|
}
|
|
3664
3664
|
/**
|
|
3665
|
-
* Output destination configuration
|
|
3665
|
+
* <p>Output destination configuration.</p>
|
|
3666
3666
|
* @public
|
|
3667
3667
|
*/
|
|
3668
3668
|
export type OutputConfig = OutputConfig.CloudWatchConfigMember | OutputConfig.$UnknownMember;
|
|
@@ -4311,7 +4311,7 @@ export interface ListBatchEvaluationsRequest {
|
|
|
4311
4311
|
nextToken?: string | undefined;
|
|
4312
4312
|
}
|
|
4313
4313
|
/**
|
|
4314
|
-
* Summary representation for list responses
|
|
4314
|
+
* <p>Summary representation for list responses.</p>
|
|
4315
4315
|
* @public
|
|
4316
4316
|
*/
|
|
4317
4317
|
export interface BatchEvaluationSummary {
|
|
@@ -4517,7 +4517,7 @@ export interface GroundTruthTurn {
|
|
|
4517
4517
|
*/
|
|
4518
4518
|
export interface InlineGroundTruth {
|
|
4519
4519
|
/**
|
|
4520
|
-
*
|
|
4520
|
+
* <p>Assertions for evaluation, reuses common model EvaluationContentList.</p>
|
|
4521
4521
|
* @public
|
|
4522
4522
|
*/
|
|
4523
4523
|
assertions?: EvaluationContent[] | undefined;
|
|
@@ -4533,7 +4533,7 @@ export interface InlineGroundTruth {
|
|
|
4533
4533
|
turns?: GroundTruthTurn[] | undefined;
|
|
4534
4534
|
}
|
|
4535
4535
|
/**
|
|
4536
|
-
* Where to pull ground truth from
|
|
4536
|
+
* <p>Where to pull ground truth from.</p>
|
|
4537
4537
|
* @public
|
|
4538
4538
|
*/
|
|
4539
4539
|
export type GroundTruthSource = GroundTruthSource.InlineMember | GroundTruthSource.$UnknownMember;
|
|
@@ -5010,64 +5010,64 @@ export interface GetResourceOauth2TokenResponse {
|
|
|
5010
5010
|
sessionStatus?: SessionStatus | undefined;
|
|
5011
5011
|
}
|
|
5012
5012
|
/**
|
|
5013
|
-
* Coinbase CDP token request parameters
|
|
5013
|
+
* <p>Coinbase CDP token request parameters.</p>
|
|
5014
5014
|
* @public
|
|
5015
5015
|
*/
|
|
5016
5016
|
export interface CoinbaseCdpTokenRequestInput {
|
|
5017
5017
|
/**
|
|
5018
|
-
* The HTTP method for the payment API request
|
|
5018
|
+
* <p>The HTTP method for the payment API request.</p>
|
|
5019
5019
|
* @public
|
|
5020
5020
|
*/
|
|
5021
5021
|
requestMethod: PaymentHttpMethodType | undefined;
|
|
5022
5022
|
/**
|
|
5023
|
-
*
|
|
5023
|
+
* <p>The host for the payment API request. Defaults to "api.cdp.coinbase.com".</p>
|
|
5024
5024
|
* @public
|
|
5025
5025
|
*/
|
|
5026
5026
|
requestHost?: string | undefined;
|
|
5027
5027
|
/**
|
|
5028
|
-
* The path of the payment API request
|
|
5028
|
+
* <p>The path of the payment API request.</p>
|
|
5029
5029
|
* @public
|
|
5030
5030
|
*/
|
|
5031
5031
|
requestPath: string | undefined;
|
|
5032
5032
|
/**
|
|
5033
|
-
* Set to true for wallet write operations (requires walletSecret configured)
|
|
5033
|
+
* <p>Set to true for wallet write operations (requires walletSecret configured).</p>
|
|
5034
5034
|
* @public
|
|
5035
5035
|
*/
|
|
5036
5036
|
includeWalletAuthToken?: boolean | undefined;
|
|
5037
5037
|
/**
|
|
5038
|
-
* Request body JSON
|
|
5038
|
+
* <p>Request body JSON — used to generate wallet auth JWT.</p>
|
|
5039
5039
|
* @public
|
|
5040
5040
|
*/
|
|
5041
5041
|
requestBody?: string | undefined;
|
|
5042
5042
|
}
|
|
5043
5043
|
/**
|
|
5044
|
-
*
|
|
5044
|
+
* <p>Stripe Privy token request parameters.</p>
|
|
5045
5045
|
* @public
|
|
5046
5046
|
*/
|
|
5047
5047
|
export interface StripePrivyTokenRequestInput {
|
|
5048
5048
|
/**
|
|
5049
|
-
*
|
|
5049
|
+
* <p>The host for the Privy API request. Defaults to "api.privy.io".</p>
|
|
5050
5050
|
* @public
|
|
5051
5051
|
*/
|
|
5052
5052
|
requestHost?: string | undefined;
|
|
5053
5053
|
/**
|
|
5054
|
-
* The path of the Stripe Privy API request
|
|
5054
|
+
* <p>The path of the Stripe Privy API request.</p>
|
|
5055
5055
|
* @public
|
|
5056
5056
|
*/
|
|
5057
5057
|
requestPath: string | undefined;
|
|
5058
5058
|
/**
|
|
5059
|
-
* Request body JSON for the Privy API call
|
|
5059
|
+
* <p>Request body JSON for the Privy API call.</p>
|
|
5060
5060
|
* @public
|
|
5061
5061
|
*/
|
|
5062
5062
|
requestBody: string | undefined;
|
|
5063
5063
|
/**
|
|
5064
|
-
* Set to true to generate privy-authorization-signature
|
|
5064
|
+
* <p>Set to true to generate privy-authorization-signature.</p>
|
|
5065
5065
|
* @public
|
|
5066
5066
|
*/
|
|
5067
5067
|
includeAuthorizationSignature?: boolean | undefined;
|
|
5068
5068
|
}
|
|
5069
5069
|
/**
|
|
5070
|
-
*
|
|
5070
|
+
* <p>Vendor-specific token request configuration.</p>
|
|
5071
5071
|
* @public
|
|
5072
5072
|
*/
|
|
5073
5073
|
export type PaymentTokenRequestInput = PaymentTokenRequestInput.CoinbaseCdpTokenRequestMember | PaymentTokenRequestInput.StripePrivyTokenRequestMember | PaymentTokenRequestInput.$UnknownMember;
|
|
@@ -5076,7 +5076,7 @@ export type PaymentTokenRequestInput = PaymentTokenRequestInput.CoinbaseCdpToken
|
|
|
5076
5076
|
*/
|
|
5077
5077
|
export declare namespace PaymentTokenRequestInput {
|
|
5078
5078
|
/**
|
|
5079
|
-
* Coinbase CDP token request
|
|
5079
|
+
* <p>The Coinbase CDP token request.</p>
|
|
5080
5080
|
* @public
|
|
5081
5081
|
*/
|
|
5082
5082
|
interface CoinbaseCdpTokenRequestMember {
|
|
@@ -5085,7 +5085,7 @@ export declare namespace PaymentTokenRequestInput {
|
|
|
5085
5085
|
$unknown?: never;
|
|
5086
5086
|
}
|
|
5087
5087
|
/**
|
|
5088
|
-
*
|
|
5088
|
+
* <p>The Stripe Privy token request.</p>
|
|
5089
5089
|
* @public
|
|
5090
5090
|
*/
|
|
5091
5091
|
interface StripePrivyTokenRequestMember {
|
|
@@ -5116,66 +5116,65 @@ export declare namespace PaymentTokenRequestInput {
|
|
|
5116
5116
|
*/
|
|
5117
5117
|
export interface GetResourcePaymentTokenRequest {
|
|
5118
5118
|
/**
|
|
5119
|
-
* Workload access token for authorization
|
|
5119
|
+
* <p>Workload access token for authorization.</p>
|
|
5120
5120
|
* @public
|
|
5121
5121
|
*/
|
|
5122
5122
|
workloadIdentityToken: string | undefined;
|
|
5123
5123
|
/**
|
|
5124
|
-
* Name of the payment credential provider to use
|
|
5124
|
+
* <p>Name of the payment credential provider to use.</p>
|
|
5125
5125
|
* @public
|
|
5126
5126
|
*/
|
|
5127
5127
|
resourceCredentialProviderName: string | undefined;
|
|
5128
5128
|
/**
|
|
5129
|
-
* Vendor-specific token request input
|
|
5130
|
-
* Contains all request parameters in a type-safe, vendor-specific structure
|
|
5129
|
+
* <p>Vendor-specific token request input. Contains all request parameters in a type-safe, vendor-specific structure.</p>
|
|
5131
5130
|
* @public
|
|
5132
5131
|
*/
|
|
5133
5132
|
paymentTokenRequest: PaymentTokenRequestInput | undefined;
|
|
5134
5133
|
}
|
|
5135
5134
|
/**
|
|
5136
|
-
* Coinbase CDP token response
|
|
5135
|
+
* <p>Coinbase CDP token response.</p>
|
|
5137
5136
|
* @public
|
|
5138
5137
|
*/
|
|
5139
5138
|
export interface CoinbaseCdpTokenResponseOutput {
|
|
5140
5139
|
/**
|
|
5141
|
-
* Bearer Token for Authorization header
|
|
5140
|
+
* <p>Bearer Token for Authorization header.</p>
|
|
5142
5141
|
* @public
|
|
5143
5142
|
*/
|
|
5144
5143
|
bearerToken: string | undefined;
|
|
5145
5144
|
/**
|
|
5146
|
-
* Wallet Auth Token for X-Wallet-Auth header
|
|
5145
|
+
* <p>Wallet Auth Token for X-Wallet-Auth header.</p>
|
|
5147
5146
|
* @public
|
|
5148
5147
|
*/
|
|
5149
5148
|
walletAuthToken?: string | undefined;
|
|
5150
5149
|
}
|
|
5151
5150
|
/**
|
|
5152
|
-
*
|
|
5151
|
+
* <p>Stripe Privy token response containing appId, basicAuthToken, and optionally authorizationSignature.</p>
|
|
5153
5152
|
* @public
|
|
5154
5153
|
*/
|
|
5155
5154
|
export interface StripePrivyTokenResponseOutput {
|
|
5156
5155
|
/**
|
|
5157
|
-
* Base64-encoded ECDSA P-256 authorization signature (only present when includeAuthorizationSignature is true)
|
|
5156
|
+
* <p>Base64-encoded ECDSA P-256 authorization signature (only present when includeAuthorizationSignature is true).</p>
|
|
5158
5157
|
* @public
|
|
5159
5158
|
*/
|
|
5160
5159
|
authorizationSignature?: string | undefined;
|
|
5161
5160
|
/**
|
|
5162
|
-
* Unix timestamp in milliseconds when the authorization signature expires
|
|
5161
|
+
* <p>Unix timestamp in milliseconds when the authorization signature expires.</p>
|
|
5163
5162
|
* @public
|
|
5164
5163
|
*/
|
|
5165
5164
|
requestExpiry?: number | undefined;
|
|
5166
5165
|
/**
|
|
5167
|
-
* The Privy app ID for the privy-app-id header
|
|
5166
|
+
* <p>The Privy app ID for the privy-app-id header.</p>
|
|
5168
5167
|
* @public
|
|
5169
5168
|
*/
|
|
5170
5169
|
appId: string | undefined;
|
|
5171
5170
|
/**
|
|
5172
|
-
* Base64-encoded Basic Auth token (appId:appSecret) for the Authorization header
|
|
5171
|
+
* <p>Base64-encoded Basic Auth token (appId:appSecret) for the Authorization header.</p>
|
|
5173
5172
|
* @public
|
|
5174
5173
|
*/
|
|
5175
5174
|
basicAuthToken: string | undefined;
|
|
5176
5175
|
}
|
|
5177
5176
|
/**
|
|
5178
|
-
*
|
|
5177
|
+
* <p>Vendor-specific token response configuration.</p>
|
|
5179
5178
|
* @public
|
|
5180
5179
|
*/
|
|
5181
5180
|
export type PaymentTokenResponseOutput = PaymentTokenResponseOutput.CoinbaseCdpTokenResponseMember | PaymentTokenResponseOutput.StripePrivyTokenResponseMember | PaymentTokenResponseOutput.$UnknownMember;
|
|
@@ -5184,7 +5183,7 @@ export type PaymentTokenResponseOutput = PaymentTokenResponseOutput.CoinbaseCdpT
|
|
|
5184
5183
|
*/
|
|
5185
5184
|
export declare namespace PaymentTokenResponseOutput {
|
|
5186
5185
|
/**
|
|
5187
|
-
* Coinbase CDP token response
|
|
5186
|
+
* <p>The Coinbase CDP token response.</p>
|
|
5188
5187
|
* @public
|
|
5189
5188
|
*/
|
|
5190
5189
|
interface CoinbaseCdpTokenResponseMember {
|
|
@@ -5193,7 +5192,7 @@ export declare namespace PaymentTokenResponseOutput {
|
|
|
5193
5192
|
$unknown?: never;
|
|
5194
5193
|
}
|
|
5195
5194
|
/**
|
|
5196
|
-
*
|
|
5195
|
+
* <p>The Stripe Privy token response.</p>
|
|
5197
5196
|
* @public
|
|
5198
5197
|
*/
|
|
5199
5198
|
interface StripePrivyTokenResponseMember {
|
|
@@ -5224,8 +5223,7 @@ export declare namespace PaymentTokenResponseOutput {
|
|
|
5224
5223
|
*/
|
|
5225
5224
|
export interface GetResourcePaymentTokenResponse {
|
|
5226
5225
|
/**
|
|
5227
|
-
* Vendor-specific token response output
|
|
5228
|
-
* Contains all response data in a type-safe, vendor-specific structure
|
|
5226
|
+
* <p>Vendor-specific token response output. Contains all response data in a type-safe, vendor-specific structure.</p>
|
|
5229
5227
|
* @public
|
|
5230
5228
|
*/
|
|
5231
5229
|
paymentTokenResponse: PaymentTokenResponseOutput | undefined;
|
|
@@ -8315,12 +8313,12 @@ export interface ListMemoryRecordsInput {
|
|
|
8315
8313
|
*/
|
|
8316
8314
|
memoryId: string | undefined;
|
|
8317
8315
|
/**
|
|
8318
|
-
* <p>The namespace prefix to filter memory records by. Returns all memory records in namespaces that start with the provided prefix.</p>
|
|
8316
|
+
* <p>The namespace prefix to filter memory records by. Returns all memory records in namespaces that start with the provided prefix. Either <code>namespace</code> or <code>namespacePath</code> is required.</p>
|
|
8319
8317
|
* @public
|
|
8320
8318
|
*/
|
|
8321
8319
|
namespace?: string | undefined;
|
|
8322
8320
|
/**
|
|
8323
|
-
* <p>Use namespacePath for hierarchical retrievals. Return all memory records where namespace falls under the same parent hierarchy.</p>
|
|
8321
|
+
* <p>Use namespacePath for hierarchical retrievals. Return all memory records where namespace falls under the same parent hierarchy. Either <code>namespace</code> or <code>namespacePath</code> is required.</p>
|
|
8324
8322
|
* @public
|
|
8325
8323
|
*/
|
|
8326
8324
|
namespacePath?: string | undefined;
|