@aws-sdk/client-bedrock-agentcore-control 3.1044.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.
- package/README.md +105 -0
- package/dist-cjs/index.js +257 -0
- package/dist-cjs/schemas/schemas_0.js +368 -16
- package/dist-es/BedrockAgentCoreControl.js +36 -0
- package/dist-es/commands/CreatePaymentConnectorCommand.js +16 -0
- package/dist-es/commands/CreatePaymentCredentialProviderCommand.js +16 -0
- package/dist-es/commands/CreatePaymentManagerCommand.js +16 -0
- package/dist-es/commands/DeletePaymentConnectorCommand.js +16 -0
- package/dist-es/commands/DeletePaymentCredentialProviderCommand.js +16 -0
- package/dist-es/commands/DeletePaymentManagerCommand.js +16 -0
- package/dist-es/commands/GetPaymentConnectorCommand.js +16 -0
- package/dist-es/commands/GetPaymentCredentialProviderCommand.js +16 -0
- package/dist-es/commands/GetPaymentManagerCommand.js +16 -0
- package/dist-es/commands/ListPaymentConnectorsCommand.js +16 -0
- package/dist-es/commands/ListPaymentCredentialProvidersCommand.js +16 -0
- package/dist-es/commands/ListPaymentManagersCommand.js +16 -0
- package/dist-es/commands/UpdatePaymentConnectorCommand.js +16 -0
- package/dist-es/commands/UpdatePaymentCredentialProviderCommand.js +16 -0
- package/dist-es/commands/UpdatePaymentManagerCommand.js +16 -0
- package/dist-es/commands/index.js +15 -0
- package/dist-es/models/enums.js +30 -0
- package/dist-es/pagination/ListPaymentConnectorsPaginator.js +4 -0
- package/dist-es/pagination/ListPaymentCredentialProvidersPaginator.js +4 -0
- package/dist-es/pagination/ListPaymentManagersPaginator.js +4 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/schemas/schemas_0.js +353 -2
- package/dist-types/BedrockAgentCoreControl.d.ts +128 -0
- package/dist-types/BedrockAgentCoreControlClient.d.ts +17 -2
- package/dist-types/commands/CreatePaymentConnectorCommand.d.ts +124 -0
- package/dist-types/commands/CreatePaymentCredentialProviderCommand.d.ts +147 -0
- package/dist-types/commands/CreatePaymentManagerCommand.d.ts +251 -0
- package/dist-types/commands/DeletePaymentConnectorCommand.d.ts +92 -0
- package/dist-types/commands/DeletePaymentCredentialProviderCommand.d.ts +90 -0
- package/dist-types/commands/DeletePaymentManagerCommand.d.ts +91 -0
- package/dist-types/commands/GetPaymentConnectorCommand.d.ts +106 -0
- package/dist-types/commands/GetPaymentCredentialProviderCommand.d.ts +123 -0
- package/dist-types/commands/GetPaymentManagerCommand.d.ts +173 -0
- package/dist-types/commands/ListPaymentConnectorsCommand.d.ts +97 -0
- package/dist-types/commands/ListPaymentCredentialProvidersCommand.d.ts +102 -0
- package/dist-types/commands/ListPaymentManagersCommand.d.ts +100 -0
- package/dist-types/commands/UpdatePaymentConnectorCommand.d.ts +124 -0
- package/dist-types/commands/UpdatePaymentCredentialProviderCommand.d.ts +143 -0
- package/dist-types/commands/UpdatePaymentManagerCommand.d.ts +180 -0
- package/dist-types/commands/index.d.ts +15 -0
- package/dist-types/models/enums.d.ts +76 -0
- package/dist-types/models/models_0.d.ts +1 -1
- package/dist-types/models/models_1.d.ts +1149 -6
- package/dist-types/pagination/ListPaymentConnectorsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPaymentCredentialProvidersPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPaymentManagersPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/schemas/schemas_0.d.ts +56 -0
- package/dist-types/ts3.4/BedrockAgentCoreControl.d.ts +278 -0
- package/dist-types/ts3.4/BedrockAgentCoreControlClient.d.ts +90 -0
- package/dist-types/ts3.4/commands/CreatePaymentConnectorCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreatePaymentCredentialProviderCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreatePaymentManagerCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeletePaymentConnectorCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeletePaymentCredentialProviderCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeletePaymentManagerCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetPaymentConnectorCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetPaymentCredentialProviderCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetPaymentManagerCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListPaymentConnectorsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListPaymentCredentialProvidersCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListPaymentManagersCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdatePaymentConnectorCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdatePaymentCredentialProviderCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdatePaymentManagerCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +15 -0
- package/dist-types/ts3.4/models/enums.d.ts +40 -0
- package/dist-types/ts3.4/models/models_1.d.ts +331 -0
- package/dist-types/ts3.4/pagination/ListPaymentConnectorsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPaymentCredentialProvidersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPaymentManagersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +56 -0
- package/package.json +1 -1
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
|
|
4
|
+
import type { UpdatePaymentConnectorRequest, UpdatePaymentConnectorResponse } from "../models/models_1";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UpdatePaymentConnectorCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdatePaymentConnectorCommandInput extends UpdatePaymentConnectorRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdatePaymentConnectorCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdatePaymentConnectorCommandOutput extends UpdatePaymentConnectorResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdatePaymentConnectorCommand_base: {
|
|
25
|
+
new (input: UpdatePaymentConnectorCommandInput): import("@smithy/smithy-client").CommandImpl<UpdatePaymentConnectorCommandInput, UpdatePaymentConnectorCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdatePaymentConnectorCommandInput): import("@smithy/smithy-client").CommandImpl<UpdatePaymentConnectorCommandInput, UpdatePaymentConnectorCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Updates an existing payment connector. This operation uses PATCH semantics, so you only need to specify the fields you want to change.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BedrockAgentCoreControlClient, UpdatePaymentConnectorCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
|
|
35
|
+
* // const { BedrockAgentCoreControlClient, UpdatePaymentConnectorCommand } = require("@aws-sdk/client-bedrock-agentcore-control"); // CommonJS import
|
|
36
|
+
* // import type { BedrockAgentCoreControlClientConfig } from "@aws-sdk/client-bedrock-agentcore-control";
|
|
37
|
+
* const config = {}; // type is BedrockAgentCoreControlClientConfig
|
|
38
|
+
* const client = new BedrockAgentCoreControlClient(config);
|
|
39
|
+
* const input = { // UpdatePaymentConnectorRequest
|
|
40
|
+
* paymentManagerId: "STRING_VALUE", // required
|
|
41
|
+
* paymentConnectorId: "STRING_VALUE", // required
|
|
42
|
+
* description: "STRING_VALUE",
|
|
43
|
+
* type: "CoinbaseCDP" || "StripePrivy",
|
|
44
|
+
* credentialProviderConfigurations: [ // CredentialsProviderConfigurations
|
|
45
|
+
* { // CredentialsProviderConfiguration Union: only one key present
|
|
46
|
+
* coinbaseCDP: { // PaymentCredentialProviderConfiguration
|
|
47
|
+
* credentialProviderArn: "STRING_VALUE", // required
|
|
48
|
+
* },
|
|
49
|
+
* stripePrivy: {
|
|
50
|
+
* credentialProviderArn: "STRING_VALUE", // required
|
|
51
|
+
* },
|
|
52
|
+
* },
|
|
53
|
+
* ],
|
|
54
|
+
* clientToken: "STRING_VALUE",
|
|
55
|
+
* };
|
|
56
|
+
* const command = new UpdatePaymentConnectorCommand(input);
|
|
57
|
+
* const response = await client.send(command);
|
|
58
|
+
* // { // UpdatePaymentConnectorResponse
|
|
59
|
+
* // paymentConnectorId: "STRING_VALUE", // required
|
|
60
|
+
* // paymentManagerId: "STRING_VALUE", // required
|
|
61
|
+
* // name: "STRING_VALUE", // required
|
|
62
|
+
* // type: "CoinbaseCDP" || "StripePrivy", // required
|
|
63
|
+
* // credentialProviderConfigurations: [ // CredentialsProviderConfigurations // required
|
|
64
|
+
* // { // CredentialsProviderConfiguration Union: only one key present
|
|
65
|
+
* // coinbaseCDP: { // PaymentCredentialProviderConfiguration
|
|
66
|
+
* // credentialProviderArn: "STRING_VALUE", // required
|
|
67
|
+
* // },
|
|
68
|
+
* // stripePrivy: {
|
|
69
|
+
* // credentialProviderArn: "STRING_VALUE", // required
|
|
70
|
+
* // },
|
|
71
|
+
* // },
|
|
72
|
+
* // ],
|
|
73
|
+
* // lastUpdatedAt: new Date("TIMESTAMP"), // required
|
|
74
|
+
* // status: "CREATING" || "UPDATING" || "DELETING" || "READY" || "CREATE_FAILED" || "UPDATE_FAILED" || "DELETE_FAILED", // required
|
|
75
|
+
* // };
|
|
76
|
+
*
|
|
77
|
+
* ```
|
|
78
|
+
*
|
|
79
|
+
* @param UpdatePaymentConnectorCommandInput - {@link UpdatePaymentConnectorCommandInput}
|
|
80
|
+
* @returns {@link UpdatePaymentConnectorCommandOutput}
|
|
81
|
+
* @see {@link UpdatePaymentConnectorCommandInput} for command's `input` shape.
|
|
82
|
+
* @see {@link UpdatePaymentConnectorCommandOutput} for command's `response` shape.
|
|
83
|
+
* @see {@link BedrockAgentCoreControlClientResolvedConfig | config} for BedrockAgentCoreControlClient's `config` shape.
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
86
|
+
* <p>This exception is thrown when a request is denied per access permissions</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link ConflictException} (client fault)
|
|
89
|
+
* <p>This exception is thrown when there is a conflict performing an operation</p>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link InternalServerException} (server fault)
|
|
92
|
+
* <p>This exception is thrown if there was an unexpected error during processing of request</p>
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
95
|
+
* <p>This exception is thrown when a resource referenced by the operation does not exist</p>
|
|
96
|
+
*
|
|
97
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
98
|
+
* <p>This exception is thrown when a request is made beyond the service quota</p>
|
|
99
|
+
*
|
|
100
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
101
|
+
* <p>This exception is thrown when the number of requests exceeds the limit</p>
|
|
102
|
+
*
|
|
103
|
+
* @throws {@link ValidationException} (client fault)
|
|
104
|
+
* <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
105
|
+
*
|
|
106
|
+
* @throws {@link BedrockAgentCoreControlServiceException}
|
|
107
|
+
* <p>Base exception class for all service exceptions from BedrockAgentCoreControl service.</p>
|
|
108
|
+
*
|
|
109
|
+
*
|
|
110
|
+
* @public
|
|
111
|
+
*/
|
|
112
|
+
export declare class UpdatePaymentConnectorCommand extends UpdatePaymentConnectorCommand_base {
|
|
113
|
+
/** @internal type navigation helper, not in runtime. */
|
|
114
|
+
protected static __types: {
|
|
115
|
+
api: {
|
|
116
|
+
input: UpdatePaymentConnectorRequest;
|
|
117
|
+
output: UpdatePaymentConnectorResponse;
|
|
118
|
+
};
|
|
119
|
+
sdk: {
|
|
120
|
+
input: UpdatePaymentConnectorCommandInput;
|
|
121
|
+
output: UpdatePaymentConnectorCommandOutput;
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
}
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
|
|
4
|
+
import type { UpdatePaymentCredentialProviderRequest, UpdatePaymentCredentialProviderResponse } from "../models/models_1";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UpdatePaymentCredentialProviderCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdatePaymentCredentialProviderCommandInput extends UpdatePaymentCredentialProviderRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdatePaymentCredentialProviderCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdatePaymentCredentialProviderCommandOutput extends UpdatePaymentCredentialProviderResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdatePaymentCredentialProviderCommand_base: {
|
|
25
|
+
new (input: UpdatePaymentCredentialProviderCommandInput): import("@smithy/smithy-client").CommandImpl<UpdatePaymentCredentialProviderCommandInput, UpdatePaymentCredentialProviderCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdatePaymentCredentialProviderCommandInput): import("@smithy/smithy-client").CommandImpl<UpdatePaymentCredentialProviderCommandInput, UpdatePaymentCredentialProviderCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Updates an existing payment credential provider with new authentication credentials.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BedrockAgentCoreControlClient, UpdatePaymentCredentialProviderCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
|
|
35
|
+
* // const { BedrockAgentCoreControlClient, UpdatePaymentCredentialProviderCommand } = require("@aws-sdk/client-bedrock-agentcore-control"); // CommonJS import
|
|
36
|
+
* // import type { BedrockAgentCoreControlClientConfig } from "@aws-sdk/client-bedrock-agentcore-control";
|
|
37
|
+
* const config = {}; // type is BedrockAgentCoreControlClientConfig
|
|
38
|
+
* const client = new BedrockAgentCoreControlClient(config);
|
|
39
|
+
* const input = { // UpdatePaymentCredentialProviderRequest
|
|
40
|
+
* name: "STRING_VALUE", // required
|
|
41
|
+
* credentialProviderVendor: "CoinbaseCDP" || "StripePrivy", // required
|
|
42
|
+
* providerConfigurationInput: { // PaymentProviderConfigurationInput Union: only one key present
|
|
43
|
+
* coinbaseCdpConfiguration: { // CoinbaseCdpConfigurationInput
|
|
44
|
+
* apiKeyId: "STRING_VALUE", // required
|
|
45
|
+
* apiKeySecret: "STRING_VALUE", // required
|
|
46
|
+
* walletSecret: "STRING_VALUE", // required
|
|
47
|
+
* },
|
|
48
|
+
* stripePrivyConfiguration: { // StripePrivyConfigurationInput
|
|
49
|
+
* appId: "STRING_VALUE", // required
|
|
50
|
+
* appSecret: "STRING_VALUE", // required
|
|
51
|
+
* authorizationPrivateKey: "STRING_VALUE", // required
|
|
52
|
+
* authorizationId: "STRING_VALUE", // required
|
|
53
|
+
* },
|
|
54
|
+
* },
|
|
55
|
+
* };
|
|
56
|
+
* const command = new UpdatePaymentCredentialProviderCommand(input);
|
|
57
|
+
* const response = await client.send(command);
|
|
58
|
+
* // { // UpdatePaymentCredentialProviderResponse
|
|
59
|
+
* // name: "STRING_VALUE", // required
|
|
60
|
+
* // credentialProviderVendor: "CoinbaseCDP" || "StripePrivy", // required
|
|
61
|
+
* // credentialProviderArn: "STRING_VALUE", // required
|
|
62
|
+
* // providerConfigurationOutput: { // PaymentProviderConfigurationOutput Union: only one key present
|
|
63
|
+
* // coinbaseCdpConfiguration: { // CoinbaseCdpConfigurationOutput
|
|
64
|
+
* // apiKeyId: "STRING_VALUE", // required
|
|
65
|
+
* // apiKeySecretArn: { // Secret
|
|
66
|
+
* // secretArn: "STRING_VALUE", // required
|
|
67
|
+
* // },
|
|
68
|
+
* // walletSecretArn: {
|
|
69
|
+
* // secretArn: "STRING_VALUE", // required
|
|
70
|
+
* // },
|
|
71
|
+
* // },
|
|
72
|
+
* // stripePrivyConfiguration: { // StripePrivyConfigurationOutput
|
|
73
|
+
* // appId: "STRING_VALUE", // required
|
|
74
|
+
* // appSecretArn: {
|
|
75
|
+
* // secretArn: "STRING_VALUE", // required
|
|
76
|
+
* // },
|
|
77
|
+
* // authorizationPrivateKeyArn: {
|
|
78
|
+
* // secretArn: "STRING_VALUE", // required
|
|
79
|
+
* // },
|
|
80
|
+
* // authorizationId: "STRING_VALUE", // required
|
|
81
|
+
* // },
|
|
82
|
+
* // },
|
|
83
|
+
* // createdTime: new Date("TIMESTAMP"), // required
|
|
84
|
+
* // lastUpdatedTime: new Date("TIMESTAMP"), // required
|
|
85
|
+
* // };
|
|
86
|
+
*
|
|
87
|
+
* ```
|
|
88
|
+
*
|
|
89
|
+
* @param UpdatePaymentCredentialProviderCommandInput - {@link UpdatePaymentCredentialProviderCommandInput}
|
|
90
|
+
* @returns {@link UpdatePaymentCredentialProviderCommandOutput}
|
|
91
|
+
* @see {@link UpdatePaymentCredentialProviderCommandInput} for command's `input` shape.
|
|
92
|
+
* @see {@link UpdatePaymentCredentialProviderCommandOutput} for command's `response` shape.
|
|
93
|
+
* @see {@link BedrockAgentCoreControlClientResolvedConfig | config} for BedrockAgentCoreControlClient's `config` shape.
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
96
|
+
* <p>This exception is thrown when a request is denied per access permissions</p>
|
|
97
|
+
*
|
|
98
|
+
* @throws {@link ConflictException} (client fault)
|
|
99
|
+
* <p>This exception is thrown when there is a conflict performing an operation</p>
|
|
100
|
+
*
|
|
101
|
+
* @throws {@link DecryptionFailure} (client fault)
|
|
102
|
+
* <p>Exception thrown when decryption of a secret fails.</p>
|
|
103
|
+
*
|
|
104
|
+
* @throws {@link EncryptionFailure} (client fault)
|
|
105
|
+
* <p>Exception thrown when encryption of a secret fails.</p>
|
|
106
|
+
*
|
|
107
|
+
* @throws {@link InternalServerException} (server fault)
|
|
108
|
+
* <p>This exception is thrown if there was an unexpected error during processing of request</p>
|
|
109
|
+
*
|
|
110
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
111
|
+
* <p>This exception is thrown when a resource referenced by the operation does not exist</p>
|
|
112
|
+
*
|
|
113
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
114
|
+
* <p>This exception is thrown when a request is made beyond the service quota</p>
|
|
115
|
+
*
|
|
116
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
117
|
+
* <p>This exception is thrown when the number of requests exceeds the limit</p>
|
|
118
|
+
*
|
|
119
|
+
* @throws {@link UnauthorizedException} (client fault)
|
|
120
|
+
* <p>This exception is thrown when the JWT bearer token is invalid or not found for OAuth bearer token based access</p>
|
|
121
|
+
*
|
|
122
|
+
* @throws {@link ValidationException} (client fault)
|
|
123
|
+
* <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
124
|
+
*
|
|
125
|
+
* @throws {@link BedrockAgentCoreControlServiceException}
|
|
126
|
+
* <p>Base exception class for all service exceptions from BedrockAgentCoreControl service.</p>
|
|
127
|
+
*
|
|
128
|
+
*
|
|
129
|
+
* @public
|
|
130
|
+
*/
|
|
131
|
+
export declare class UpdatePaymentCredentialProviderCommand extends UpdatePaymentCredentialProviderCommand_base {
|
|
132
|
+
/** @internal type navigation helper, not in runtime. */
|
|
133
|
+
protected static __types: {
|
|
134
|
+
api: {
|
|
135
|
+
input: UpdatePaymentCredentialProviderRequest;
|
|
136
|
+
output: UpdatePaymentCredentialProviderResponse;
|
|
137
|
+
};
|
|
138
|
+
sdk: {
|
|
139
|
+
input: UpdatePaymentCredentialProviderCommandInput;
|
|
140
|
+
output: UpdatePaymentCredentialProviderCommandOutput;
|
|
141
|
+
};
|
|
142
|
+
};
|
|
143
|
+
}
|
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
|
|
4
|
+
import type { UpdatePaymentManagerRequest, UpdatePaymentManagerResponse } from "../models/models_1";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UpdatePaymentManagerCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdatePaymentManagerCommandInput extends UpdatePaymentManagerRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdatePaymentManagerCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdatePaymentManagerCommandOutput extends UpdatePaymentManagerResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdatePaymentManagerCommand_base: {
|
|
25
|
+
new (input: UpdatePaymentManagerCommandInput): import("@smithy/smithy-client").CommandImpl<UpdatePaymentManagerCommandInput, UpdatePaymentManagerCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdatePaymentManagerCommandInput): import("@smithy/smithy-client").CommandImpl<UpdatePaymentManagerCommandInput, UpdatePaymentManagerCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Updates an existing payment manager. This operation uses PATCH semantics, so you only need to specify the fields you want to change.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BedrockAgentCoreControlClient, UpdatePaymentManagerCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
|
|
35
|
+
* // const { BedrockAgentCoreControlClient, UpdatePaymentManagerCommand } = require("@aws-sdk/client-bedrock-agentcore-control"); // CommonJS import
|
|
36
|
+
* // import type { BedrockAgentCoreControlClientConfig } from "@aws-sdk/client-bedrock-agentcore-control";
|
|
37
|
+
* const config = {}; // type is BedrockAgentCoreControlClientConfig
|
|
38
|
+
* const client = new BedrockAgentCoreControlClient(config);
|
|
39
|
+
* const input = { // UpdatePaymentManagerRequest
|
|
40
|
+
* paymentManagerId: "STRING_VALUE", // required
|
|
41
|
+
* description: "STRING_VALUE",
|
|
42
|
+
* authorizerType: "CUSTOM_JWT" || "AWS_IAM",
|
|
43
|
+
* authorizerConfiguration: { // AuthorizerConfiguration Union: only one key present
|
|
44
|
+
* customJWTAuthorizer: { // CustomJWTAuthorizerConfiguration
|
|
45
|
+
* discoveryUrl: "STRING_VALUE", // required
|
|
46
|
+
* allowedAudience: [ // AllowedAudienceList
|
|
47
|
+
* "STRING_VALUE",
|
|
48
|
+
* ],
|
|
49
|
+
* allowedClients: [ // AllowedClientsList
|
|
50
|
+
* "STRING_VALUE",
|
|
51
|
+
* ],
|
|
52
|
+
* allowedScopes: [ // AllowedScopesType
|
|
53
|
+
* "STRING_VALUE",
|
|
54
|
+
* ],
|
|
55
|
+
* customClaims: [ // CustomClaimValidationsType
|
|
56
|
+
* { // CustomClaimValidationType
|
|
57
|
+
* inboundTokenClaimName: "STRING_VALUE", // required
|
|
58
|
+
* inboundTokenClaimValueType: "STRING" || "STRING_ARRAY", // required
|
|
59
|
+
* authorizingClaimMatchValue: { // AuthorizingClaimMatchValueType
|
|
60
|
+
* claimMatchValue: { // ClaimMatchValueType Union: only one key present
|
|
61
|
+
* matchValueString: "STRING_VALUE",
|
|
62
|
+
* matchValueStringList: [ // MatchValueStringList
|
|
63
|
+
* "STRING_VALUE",
|
|
64
|
+
* ],
|
|
65
|
+
* },
|
|
66
|
+
* claimMatchOperator: "EQUALS" || "CONTAINS" || "CONTAINS_ANY", // required
|
|
67
|
+
* },
|
|
68
|
+
* },
|
|
69
|
+
* ],
|
|
70
|
+
* privateEndpoint: { // PrivateEndpoint Union: only one key present
|
|
71
|
+
* selfManagedLatticeResource: { // SelfManagedLatticeResource Union: only one key present
|
|
72
|
+
* resourceConfigurationIdentifier: "STRING_VALUE",
|
|
73
|
+
* },
|
|
74
|
+
* managedVpcResource: { // ManagedVpcResource
|
|
75
|
+
* vpcIdentifier: "STRING_VALUE", // required
|
|
76
|
+
* subnetIds: [ // SubnetIds // required
|
|
77
|
+
* "STRING_VALUE",
|
|
78
|
+
* ],
|
|
79
|
+
* endpointIpAddressType: "IPV4" || "IPV6", // required
|
|
80
|
+
* securityGroupIds: [ // SecurityGroupIds
|
|
81
|
+
* "STRING_VALUE",
|
|
82
|
+
* ],
|
|
83
|
+
* tags: { // TagsMap
|
|
84
|
+
* "<keys>": "STRING_VALUE",
|
|
85
|
+
* },
|
|
86
|
+
* routingDomain: "STRING_VALUE",
|
|
87
|
+
* },
|
|
88
|
+
* },
|
|
89
|
+
* privateEndpointOverrides: [ // PrivateEndpointOverrides
|
|
90
|
+
* { // PrivateEndpointOverride
|
|
91
|
+
* domain: "STRING_VALUE", // required
|
|
92
|
+
* privateEndpoint: {// Union: only one key present
|
|
93
|
+
* selfManagedLatticeResource: {// Union: only one key present
|
|
94
|
+
* resourceConfigurationIdentifier: "STRING_VALUE",
|
|
95
|
+
* },
|
|
96
|
+
* managedVpcResource: {
|
|
97
|
+
* vpcIdentifier: "STRING_VALUE", // required
|
|
98
|
+
* subnetIds: [ // required
|
|
99
|
+
* "STRING_VALUE",
|
|
100
|
+
* ],
|
|
101
|
+
* endpointIpAddressType: "IPV4" || "IPV6", // required
|
|
102
|
+
* securityGroupIds: [
|
|
103
|
+
* "STRING_VALUE",
|
|
104
|
+
* ],
|
|
105
|
+
* tags: {
|
|
106
|
+
* "<keys>": "STRING_VALUE",
|
|
107
|
+
* },
|
|
108
|
+
* routingDomain: "STRING_VALUE",
|
|
109
|
+
* },
|
|
110
|
+
* },
|
|
111
|
+
* },
|
|
112
|
+
* ],
|
|
113
|
+
* },
|
|
114
|
+
* },
|
|
115
|
+
* roleArn: "STRING_VALUE",
|
|
116
|
+
* clientToken: "STRING_VALUE",
|
|
117
|
+
* };
|
|
118
|
+
* const command = new UpdatePaymentManagerCommand(input);
|
|
119
|
+
* const response = await client.send(command);
|
|
120
|
+
* // { // UpdatePaymentManagerResponse
|
|
121
|
+
* // paymentManagerArn: "STRING_VALUE", // required
|
|
122
|
+
* // paymentManagerId: "STRING_VALUE", // required
|
|
123
|
+
* // name: "STRING_VALUE", // required
|
|
124
|
+
* // authorizerType: "CUSTOM_JWT" || "AWS_IAM", // required
|
|
125
|
+
* // roleArn: "STRING_VALUE", // required
|
|
126
|
+
* // workloadIdentityDetails: { // WorkloadIdentityDetails
|
|
127
|
+
* // workloadIdentityArn: "STRING_VALUE", // required
|
|
128
|
+
* // },
|
|
129
|
+
* // lastUpdatedAt: new Date("TIMESTAMP"), // required
|
|
130
|
+
* // status: "CREATING" || "UPDATING" || "DELETING" || "READY" || "CREATE_FAILED" || "UPDATE_FAILED" || "DELETE_FAILED", // required
|
|
131
|
+
* // };
|
|
132
|
+
*
|
|
133
|
+
* ```
|
|
134
|
+
*
|
|
135
|
+
* @param UpdatePaymentManagerCommandInput - {@link UpdatePaymentManagerCommandInput}
|
|
136
|
+
* @returns {@link UpdatePaymentManagerCommandOutput}
|
|
137
|
+
* @see {@link UpdatePaymentManagerCommandInput} for command's `input` shape.
|
|
138
|
+
* @see {@link UpdatePaymentManagerCommandOutput} for command's `response` shape.
|
|
139
|
+
* @see {@link BedrockAgentCoreControlClientResolvedConfig | config} for BedrockAgentCoreControlClient's `config` shape.
|
|
140
|
+
*
|
|
141
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
142
|
+
* <p>This exception is thrown when a request is denied per access permissions</p>
|
|
143
|
+
*
|
|
144
|
+
* @throws {@link ConflictException} (client fault)
|
|
145
|
+
* <p>This exception is thrown when there is a conflict performing an operation</p>
|
|
146
|
+
*
|
|
147
|
+
* @throws {@link InternalServerException} (server fault)
|
|
148
|
+
* <p>This exception is thrown if there was an unexpected error during processing of request</p>
|
|
149
|
+
*
|
|
150
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
151
|
+
* <p>This exception is thrown when a resource referenced by the operation does not exist</p>
|
|
152
|
+
*
|
|
153
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
154
|
+
* <p>This exception is thrown when a request is made beyond the service quota</p>
|
|
155
|
+
*
|
|
156
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
157
|
+
* <p>This exception is thrown when the number of requests exceeds the limit</p>
|
|
158
|
+
*
|
|
159
|
+
* @throws {@link ValidationException} (client fault)
|
|
160
|
+
* <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
161
|
+
*
|
|
162
|
+
* @throws {@link BedrockAgentCoreControlServiceException}
|
|
163
|
+
* <p>Base exception class for all service exceptions from BedrockAgentCoreControl service.</p>
|
|
164
|
+
*
|
|
165
|
+
*
|
|
166
|
+
* @public
|
|
167
|
+
*/
|
|
168
|
+
export declare class UpdatePaymentManagerCommand extends UpdatePaymentManagerCommand_base {
|
|
169
|
+
/** @internal type navigation helper, not in runtime. */
|
|
170
|
+
protected static __types: {
|
|
171
|
+
api: {
|
|
172
|
+
input: UpdatePaymentManagerRequest;
|
|
173
|
+
output: UpdatePaymentManagerResponse;
|
|
174
|
+
};
|
|
175
|
+
sdk: {
|
|
176
|
+
input: UpdatePaymentManagerCommandInput;
|
|
177
|
+
output: UpdatePaymentManagerCommandOutput;
|
|
178
|
+
};
|
|
179
|
+
};
|
|
180
|
+
}
|
|
@@ -13,6 +13,9 @@ export * from "./CreateHarnessCommand";
|
|
|
13
13
|
export * from "./CreateMemoryCommand";
|
|
14
14
|
export * from "./CreateOauth2CredentialProviderCommand";
|
|
15
15
|
export * from "./CreateOnlineEvaluationConfigCommand";
|
|
16
|
+
export * from "./CreatePaymentConnectorCommand";
|
|
17
|
+
export * from "./CreatePaymentCredentialProviderCommand";
|
|
18
|
+
export * from "./CreatePaymentManagerCommand";
|
|
16
19
|
export * from "./CreatePolicyCommand";
|
|
17
20
|
export * from "./CreatePolicyEngineCommand";
|
|
18
21
|
export * from "./CreateRegistryCommand";
|
|
@@ -33,6 +36,9 @@ export * from "./DeleteHarnessCommand";
|
|
|
33
36
|
export * from "./DeleteMemoryCommand";
|
|
34
37
|
export * from "./DeleteOauth2CredentialProviderCommand";
|
|
35
38
|
export * from "./DeleteOnlineEvaluationConfigCommand";
|
|
39
|
+
export * from "./DeletePaymentConnectorCommand";
|
|
40
|
+
export * from "./DeletePaymentCredentialProviderCommand";
|
|
41
|
+
export * from "./DeletePaymentManagerCommand";
|
|
36
42
|
export * from "./DeletePolicyCommand";
|
|
37
43
|
export * from "./DeletePolicyEngineCommand";
|
|
38
44
|
export * from "./DeleteRegistryCommand";
|
|
@@ -55,6 +61,9 @@ export * from "./GetHarnessCommand";
|
|
|
55
61
|
export * from "./GetMemoryCommand";
|
|
56
62
|
export * from "./GetOauth2CredentialProviderCommand";
|
|
57
63
|
export * from "./GetOnlineEvaluationConfigCommand";
|
|
64
|
+
export * from "./GetPaymentConnectorCommand";
|
|
65
|
+
export * from "./GetPaymentCredentialProviderCommand";
|
|
66
|
+
export * from "./GetPaymentManagerCommand";
|
|
58
67
|
export * from "./GetPolicyCommand";
|
|
59
68
|
export * from "./GetPolicyEngineCommand";
|
|
60
69
|
export * from "./GetPolicyGenerationCommand";
|
|
@@ -80,6 +89,9 @@ export * from "./ListHarnessesCommand";
|
|
|
80
89
|
export * from "./ListMemoriesCommand";
|
|
81
90
|
export * from "./ListOauth2CredentialProvidersCommand";
|
|
82
91
|
export * from "./ListOnlineEvaluationConfigsCommand";
|
|
92
|
+
export * from "./ListPaymentConnectorsCommand";
|
|
93
|
+
export * from "./ListPaymentCredentialProvidersCommand";
|
|
94
|
+
export * from "./ListPaymentManagersCommand";
|
|
83
95
|
export * from "./ListPoliciesCommand";
|
|
84
96
|
export * from "./ListPolicyEnginesCommand";
|
|
85
97
|
export * from "./ListPolicyGenerationAssetsCommand";
|
|
@@ -107,6 +119,9 @@ export * from "./UpdateHarnessCommand";
|
|
|
107
119
|
export * from "./UpdateMemoryCommand";
|
|
108
120
|
export * from "./UpdateOauth2CredentialProviderCommand";
|
|
109
121
|
export * from "./UpdateOnlineEvaluationConfigCommand";
|
|
122
|
+
export * from "./UpdatePaymentConnectorCommand";
|
|
123
|
+
export * from "./UpdatePaymentCredentialProviderCommand";
|
|
124
|
+
export * from "./UpdatePaymentManagerCommand";
|
|
110
125
|
export * from "./UpdatePolicyCommand";
|
|
111
126
|
export * from "./UpdatePolicyEngineCommand";
|
|
112
127
|
export * from "./UpdateRegistryCommand";
|
|
@@ -827,6 +827,82 @@ export declare const OnlineEvaluationConfigStatus: {
|
|
|
827
827
|
* @public
|
|
828
828
|
*/
|
|
829
829
|
export type OnlineEvaluationConfigStatus = (typeof OnlineEvaluationConfigStatus)[keyof typeof OnlineEvaluationConfigStatus];
|
|
830
|
+
/**
|
|
831
|
+
* @public
|
|
832
|
+
* @enum
|
|
833
|
+
*/
|
|
834
|
+
export declare const PaymentCredentialProviderVendorType: {
|
|
835
|
+
/**
|
|
836
|
+
* Coinbase Developer Platform - https://docs.cdp.coinbase.com/
|
|
837
|
+
*/
|
|
838
|
+
readonly CoinbaseCDP: "CoinbaseCDP";
|
|
839
|
+
/**
|
|
840
|
+
* Stripe + Privy - https://docs.privy.io/
|
|
841
|
+
*/
|
|
842
|
+
readonly StripePrivy: "StripePrivy";
|
|
843
|
+
};
|
|
844
|
+
/**
|
|
845
|
+
* @public
|
|
846
|
+
*/
|
|
847
|
+
export type PaymentCredentialProviderVendorType = (typeof PaymentCredentialProviderVendorType)[keyof typeof PaymentCredentialProviderVendorType];
|
|
848
|
+
/**
|
|
849
|
+
* @public
|
|
850
|
+
* @enum
|
|
851
|
+
*/
|
|
852
|
+
export declare const PaymentsAuthorizerType: {
|
|
853
|
+
readonly AWS_IAM: "AWS_IAM";
|
|
854
|
+
readonly CUSTOM_JWT: "CUSTOM_JWT";
|
|
855
|
+
};
|
|
856
|
+
/**
|
|
857
|
+
* @public
|
|
858
|
+
*/
|
|
859
|
+
export type PaymentsAuthorizerType = (typeof PaymentsAuthorizerType)[keyof typeof PaymentsAuthorizerType];
|
|
860
|
+
/**
|
|
861
|
+
* @public
|
|
862
|
+
* @enum
|
|
863
|
+
*/
|
|
864
|
+
export declare const PaymentManagerStatus: {
|
|
865
|
+
readonly CREATE_FAILED: "CREATE_FAILED";
|
|
866
|
+
readonly CREATING: "CREATING";
|
|
867
|
+
readonly DELETE_FAILED: "DELETE_FAILED";
|
|
868
|
+
readonly DELETING: "DELETING";
|
|
869
|
+
readonly READY: "READY";
|
|
870
|
+
readonly UPDATE_FAILED: "UPDATE_FAILED";
|
|
871
|
+
readonly UPDATING: "UPDATING";
|
|
872
|
+
};
|
|
873
|
+
/**
|
|
874
|
+
* @public
|
|
875
|
+
*/
|
|
876
|
+
export type PaymentManagerStatus = (typeof PaymentManagerStatus)[keyof typeof PaymentManagerStatus];
|
|
877
|
+
/**
|
|
878
|
+
* @public
|
|
879
|
+
* @enum
|
|
880
|
+
*/
|
|
881
|
+
export declare const PaymentConnectorType: {
|
|
882
|
+
readonly COINBASE_CDP: "CoinbaseCDP";
|
|
883
|
+
readonly STRIPE_PRIVY: "StripePrivy";
|
|
884
|
+
};
|
|
885
|
+
/**
|
|
886
|
+
* @public
|
|
887
|
+
*/
|
|
888
|
+
export type PaymentConnectorType = (typeof PaymentConnectorType)[keyof typeof PaymentConnectorType];
|
|
889
|
+
/**
|
|
890
|
+
* @public
|
|
891
|
+
* @enum
|
|
892
|
+
*/
|
|
893
|
+
export declare const PaymentConnectorStatus: {
|
|
894
|
+
readonly CREATE_FAILED: "CREATE_FAILED";
|
|
895
|
+
readonly CREATING: "CREATING";
|
|
896
|
+
readonly DELETE_FAILED: "DELETE_FAILED";
|
|
897
|
+
readonly DELETING: "DELETING";
|
|
898
|
+
readonly READY: "READY";
|
|
899
|
+
readonly UPDATE_FAILED: "UPDATE_FAILED";
|
|
900
|
+
readonly UPDATING: "UPDATING";
|
|
901
|
+
};
|
|
902
|
+
/**
|
|
903
|
+
* @public
|
|
904
|
+
*/
|
|
905
|
+
export type PaymentConnectorStatus = (typeof PaymentConnectorStatus)[keyof typeof PaymentConnectorStatus];
|
|
830
906
|
/**
|
|
831
907
|
* @public
|
|
832
908
|
* @enum
|
|
@@ -1035,7 +1035,7 @@ export interface CustomJWTAuthorizerConfiguration {
|
|
|
1035
1035
|
*/
|
|
1036
1036
|
privateEndpoint?: PrivateEndpoint | undefined;
|
|
1037
1037
|
/**
|
|
1038
|
-
* <p>
|
|
1038
|
+
* <p>The private endpoint overrides for the custom JWT authorizer configuration.</p>
|
|
1039
1039
|
* @public
|
|
1040
1040
|
*/
|
|
1041
1041
|
privateEndpointOverrides?: PrivateEndpointOverride[] | undefined;
|