@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,123 @@
|
|
|
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 { GetPaymentCredentialProviderRequest, GetPaymentCredentialProviderResponse } from "../models/models_1";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetPaymentCredentialProviderCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetPaymentCredentialProviderCommandInput extends GetPaymentCredentialProviderRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetPaymentCredentialProviderCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetPaymentCredentialProviderCommandOutput extends GetPaymentCredentialProviderResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetPaymentCredentialProviderCommand_base: {
|
|
25
|
+
new (input: GetPaymentCredentialProviderCommandInput): import("@smithy/smithy-client").CommandImpl<GetPaymentCredentialProviderCommandInput, GetPaymentCredentialProviderCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetPaymentCredentialProviderCommandInput): import("@smithy/smithy-client").CommandImpl<GetPaymentCredentialProviderCommandInput, GetPaymentCredentialProviderCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Retrieves information about a specific payment credential provider.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BedrockAgentCoreControlClient, GetPaymentCredentialProviderCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
|
|
35
|
+
* // const { BedrockAgentCoreControlClient, GetPaymentCredentialProviderCommand } = 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 = { // GetPaymentCredentialProviderRequest
|
|
40
|
+
* name: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new GetPaymentCredentialProviderCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // GetPaymentCredentialProviderResponse
|
|
45
|
+
* // name: "STRING_VALUE", // required
|
|
46
|
+
* // credentialProviderArn: "STRING_VALUE", // required
|
|
47
|
+
* // credentialProviderVendor: "CoinbaseCDP" || "StripePrivy", // required
|
|
48
|
+
* // providerConfigurationOutput: { // PaymentProviderConfigurationOutput Union: only one key present
|
|
49
|
+
* // coinbaseCdpConfiguration: { // CoinbaseCdpConfigurationOutput
|
|
50
|
+
* // apiKeyId: "STRING_VALUE", // required
|
|
51
|
+
* // apiKeySecretArn: { // Secret
|
|
52
|
+
* // secretArn: "STRING_VALUE", // required
|
|
53
|
+
* // },
|
|
54
|
+
* // walletSecretArn: {
|
|
55
|
+
* // secretArn: "STRING_VALUE", // required
|
|
56
|
+
* // },
|
|
57
|
+
* // },
|
|
58
|
+
* // stripePrivyConfiguration: { // StripePrivyConfigurationOutput
|
|
59
|
+
* // appId: "STRING_VALUE", // required
|
|
60
|
+
* // appSecretArn: {
|
|
61
|
+
* // secretArn: "STRING_VALUE", // required
|
|
62
|
+
* // },
|
|
63
|
+
* // authorizationPrivateKeyArn: {
|
|
64
|
+
* // secretArn: "STRING_VALUE", // required
|
|
65
|
+
* // },
|
|
66
|
+
* // authorizationId: "STRING_VALUE", // required
|
|
67
|
+
* // },
|
|
68
|
+
* // },
|
|
69
|
+
* // createdTime: new Date("TIMESTAMP"), // required
|
|
70
|
+
* // lastUpdatedTime: new Date("TIMESTAMP"), // required
|
|
71
|
+
* // tags: { // TagsMap
|
|
72
|
+
* // "<keys>": "STRING_VALUE",
|
|
73
|
+
* // },
|
|
74
|
+
* // };
|
|
75
|
+
*
|
|
76
|
+
* ```
|
|
77
|
+
*
|
|
78
|
+
* @param GetPaymentCredentialProviderCommandInput - {@link GetPaymentCredentialProviderCommandInput}
|
|
79
|
+
* @returns {@link GetPaymentCredentialProviderCommandOutput}
|
|
80
|
+
* @see {@link GetPaymentCredentialProviderCommandInput} for command's `input` shape.
|
|
81
|
+
* @see {@link GetPaymentCredentialProviderCommandOutput} for command's `response` shape.
|
|
82
|
+
* @see {@link BedrockAgentCoreControlClientResolvedConfig | config} for BedrockAgentCoreControlClient's `config` shape.
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
85
|
+
* <p>This exception is thrown when a request is denied per access permissions</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link DecryptionFailure} (client fault)
|
|
88
|
+
* <p>Exception thrown when decryption of a secret fails.</p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link InternalServerException} (server fault)
|
|
91
|
+
* <p>This exception is thrown if there was an unexpected error during processing of request</p>
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
94
|
+
* <p>This exception is thrown when a resource referenced by the operation does not exist</p>
|
|
95
|
+
*
|
|
96
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
97
|
+
* <p>This exception is thrown when the number of requests exceeds the limit</p>
|
|
98
|
+
*
|
|
99
|
+
* @throws {@link UnauthorizedException} (client fault)
|
|
100
|
+
* <p>This exception is thrown when the JWT bearer token is invalid or not found for OAuth bearer token based access</p>
|
|
101
|
+
*
|
|
102
|
+
* @throws {@link ValidationException} (client fault)
|
|
103
|
+
* <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
104
|
+
*
|
|
105
|
+
* @throws {@link BedrockAgentCoreControlServiceException}
|
|
106
|
+
* <p>Base exception class for all service exceptions from BedrockAgentCoreControl service.</p>
|
|
107
|
+
*
|
|
108
|
+
*
|
|
109
|
+
* @public
|
|
110
|
+
*/
|
|
111
|
+
export declare class GetPaymentCredentialProviderCommand extends GetPaymentCredentialProviderCommand_base {
|
|
112
|
+
/** @internal type navigation helper, not in runtime. */
|
|
113
|
+
protected static __types: {
|
|
114
|
+
api: {
|
|
115
|
+
input: GetPaymentCredentialProviderRequest;
|
|
116
|
+
output: GetPaymentCredentialProviderResponse;
|
|
117
|
+
};
|
|
118
|
+
sdk: {
|
|
119
|
+
input: GetPaymentCredentialProviderCommandInput;
|
|
120
|
+
output: GetPaymentCredentialProviderCommandOutput;
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
}
|
|
@@ -0,0 +1,173 @@
|
|
|
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 { GetPaymentManagerRequest, GetPaymentManagerResponse } from "../models/models_1";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetPaymentManagerCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetPaymentManagerCommandInput extends GetPaymentManagerRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetPaymentManagerCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetPaymentManagerCommandOutput extends GetPaymentManagerResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetPaymentManagerCommand_base: {
|
|
25
|
+
new (input: GetPaymentManagerCommandInput): import("@smithy/smithy-client").CommandImpl<GetPaymentManagerCommandInput, GetPaymentManagerCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetPaymentManagerCommandInput): import("@smithy/smithy-client").CommandImpl<GetPaymentManagerCommandInput, GetPaymentManagerCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Retrieves information about a specific payment manager.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BedrockAgentCoreControlClient, GetPaymentManagerCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
|
|
35
|
+
* // const { BedrockAgentCoreControlClient, GetPaymentManagerCommand } = 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 = { // GetPaymentManagerRequest
|
|
40
|
+
* paymentManagerId: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new GetPaymentManagerCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // GetPaymentManagerResponse
|
|
45
|
+
* // paymentManagerArn: "STRING_VALUE", // required
|
|
46
|
+
* // paymentManagerId: "STRING_VALUE", // required
|
|
47
|
+
* // name: "STRING_VALUE", // required
|
|
48
|
+
* // description: "STRING_VALUE",
|
|
49
|
+
* // authorizerType: "CUSTOM_JWT" || "AWS_IAM", // required
|
|
50
|
+
* // authorizerConfiguration: { // AuthorizerConfiguration Union: only one key present
|
|
51
|
+
* // customJWTAuthorizer: { // CustomJWTAuthorizerConfiguration
|
|
52
|
+
* // discoveryUrl: "STRING_VALUE", // required
|
|
53
|
+
* // allowedAudience: [ // AllowedAudienceList
|
|
54
|
+
* // "STRING_VALUE",
|
|
55
|
+
* // ],
|
|
56
|
+
* // allowedClients: [ // AllowedClientsList
|
|
57
|
+
* // "STRING_VALUE",
|
|
58
|
+
* // ],
|
|
59
|
+
* // allowedScopes: [ // AllowedScopesType
|
|
60
|
+
* // "STRING_VALUE",
|
|
61
|
+
* // ],
|
|
62
|
+
* // customClaims: [ // CustomClaimValidationsType
|
|
63
|
+
* // { // CustomClaimValidationType
|
|
64
|
+
* // inboundTokenClaimName: "STRING_VALUE", // required
|
|
65
|
+
* // inboundTokenClaimValueType: "STRING" || "STRING_ARRAY", // required
|
|
66
|
+
* // authorizingClaimMatchValue: { // AuthorizingClaimMatchValueType
|
|
67
|
+
* // claimMatchValue: { // ClaimMatchValueType Union: only one key present
|
|
68
|
+
* // matchValueString: "STRING_VALUE",
|
|
69
|
+
* // matchValueStringList: [ // MatchValueStringList
|
|
70
|
+
* // "STRING_VALUE",
|
|
71
|
+
* // ],
|
|
72
|
+
* // },
|
|
73
|
+
* // claimMatchOperator: "EQUALS" || "CONTAINS" || "CONTAINS_ANY", // required
|
|
74
|
+
* // },
|
|
75
|
+
* // },
|
|
76
|
+
* // ],
|
|
77
|
+
* // privateEndpoint: { // PrivateEndpoint Union: only one key present
|
|
78
|
+
* // selfManagedLatticeResource: { // SelfManagedLatticeResource Union: only one key present
|
|
79
|
+
* // resourceConfigurationIdentifier: "STRING_VALUE",
|
|
80
|
+
* // },
|
|
81
|
+
* // managedVpcResource: { // ManagedVpcResource
|
|
82
|
+
* // vpcIdentifier: "STRING_VALUE", // required
|
|
83
|
+
* // subnetIds: [ // SubnetIds // required
|
|
84
|
+
* // "STRING_VALUE",
|
|
85
|
+
* // ],
|
|
86
|
+
* // endpointIpAddressType: "IPV4" || "IPV6", // required
|
|
87
|
+
* // securityGroupIds: [ // SecurityGroupIds
|
|
88
|
+
* // "STRING_VALUE",
|
|
89
|
+
* // ],
|
|
90
|
+
* // tags: { // TagsMap
|
|
91
|
+
* // "<keys>": "STRING_VALUE",
|
|
92
|
+
* // },
|
|
93
|
+
* // routingDomain: "STRING_VALUE",
|
|
94
|
+
* // },
|
|
95
|
+
* // },
|
|
96
|
+
* // privateEndpointOverrides: [ // PrivateEndpointOverrides
|
|
97
|
+
* // { // PrivateEndpointOverride
|
|
98
|
+
* // domain: "STRING_VALUE", // required
|
|
99
|
+
* // privateEndpoint: {// Union: only one key present
|
|
100
|
+
* // selfManagedLatticeResource: {// Union: only one key present
|
|
101
|
+
* // resourceConfigurationIdentifier: "STRING_VALUE",
|
|
102
|
+
* // },
|
|
103
|
+
* // managedVpcResource: {
|
|
104
|
+
* // vpcIdentifier: "STRING_VALUE", // required
|
|
105
|
+
* // subnetIds: [ // required
|
|
106
|
+
* // "STRING_VALUE",
|
|
107
|
+
* // ],
|
|
108
|
+
* // endpointIpAddressType: "IPV4" || "IPV6", // required
|
|
109
|
+
* // securityGroupIds: [
|
|
110
|
+
* // "STRING_VALUE",
|
|
111
|
+
* // ],
|
|
112
|
+
* // tags: {
|
|
113
|
+
* // "<keys>": "STRING_VALUE",
|
|
114
|
+
* // },
|
|
115
|
+
* // routingDomain: "STRING_VALUE",
|
|
116
|
+
* // },
|
|
117
|
+
* // },
|
|
118
|
+
* // },
|
|
119
|
+
* // ],
|
|
120
|
+
* // },
|
|
121
|
+
* // },
|
|
122
|
+
* // roleArn: "STRING_VALUE", // required
|
|
123
|
+
* // workloadIdentityDetails: { // WorkloadIdentityDetails
|
|
124
|
+
* // workloadIdentityArn: "STRING_VALUE", // required
|
|
125
|
+
* // },
|
|
126
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
127
|
+
* // lastUpdatedAt: new Date("TIMESTAMP"), // required
|
|
128
|
+
* // status: "CREATING" || "UPDATING" || "DELETING" || "READY" || "CREATE_FAILED" || "UPDATE_FAILED" || "DELETE_FAILED", // required
|
|
129
|
+
* // tags: "<TagsMap>",
|
|
130
|
+
* // };
|
|
131
|
+
*
|
|
132
|
+
* ```
|
|
133
|
+
*
|
|
134
|
+
* @param GetPaymentManagerCommandInput - {@link GetPaymentManagerCommandInput}
|
|
135
|
+
* @returns {@link GetPaymentManagerCommandOutput}
|
|
136
|
+
* @see {@link GetPaymentManagerCommandInput} for command's `input` shape.
|
|
137
|
+
* @see {@link GetPaymentManagerCommandOutput} for command's `response` shape.
|
|
138
|
+
* @see {@link BedrockAgentCoreControlClientResolvedConfig | config} for BedrockAgentCoreControlClient's `config` shape.
|
|
139
|
+
*
|
|
140
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
141
|
+
* <p>This exception is thrown when a request is denied per access permissions</p>
|
|
142
|
+
*
|
|
143
|
+
* @throws {@link InternalServerException} (server fault)
|
|
144
|
+
* <p>This exception is thrown if there was an unexpected error during processing of request</p>
|
|
145
|
+
*
|
|
146
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
147
|
+
* <p>This exception is thrown when a resource referenced by the operation does not exist</p>
|
|
148
|
+
*
|
|
149
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
150
|
+
* <p>This exception is thrown when the number of requests exceeds the limit</p>
|
|
151
|
+
*
|
|
152
|
+
* @throws {@link ValidationException} (client fault)
|
|
153
|
+
* <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
154
|
+
*
|
|
155
|
+
* @throws {@link BedrockAgentCoreControlServiceException}
|
|
156
|
+
* <p>Base exception class for all service exceptions from BedrockAgentCoreControl service.</p>
|
|
157
|
+
*
|
|
158
|
+
*
|
|
159
|
+
* @public
|
|
160
|
+
*/
|
|
161
|
+
export declare class GetPaymentManagerCommand extends GetPaymentManagerCommand_base {
|
|
162
|
+
/** @internal type navigation helper, not in runtime. */
|
|
163
|
+
protected static __types: {
|
|
164
|
+
api: {
|
|
165
|
+
input: GetPaymentManagerRequest;
|
|
166
|
+
output: GetPaymentManagerResponse;
|
|
167
|
+
};
|
|
168
|
+
sdk: {
|
|
169
|
+
input: GetPaymentManagerCommandInput;
|
|
170
|
+
output: GetPaymentManagerCommandOutput;
|
|
171
|
+
};
|
|
172
|
+
};
|
|
173
|
+
}
|
|
@@ -0,0 +1,97 @@
|
|
|
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 { ListPaymentConnectorsRequest, ListPaymentConnectorsResponse } from "../models/models_1";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListPaymentConnectorsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListPaymentConnectorsCommandInput extends ListPaymentConnectorsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListPaymentConnectorsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListPaymentConnectorsCommandOutput extends ListPaymentConnectorsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListPaymentConnectorsCommand_base: {
|
|
25
|
+
new (input: ListPaymentConnectorsCommandInput): import("@smithy/smithy-client").CommandImpl<ListPaymentConnectorsCommandInput, ListPaymentConnectorsCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListPaymentConnectorsCommandInput): import("@smithy/smithy-client").CommandImpl<ListPaymentConnectorsCommandInput, ListPaymentConnectorsCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Lists all payment connectors for a specified payment manager.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BedrockAgentCoreControlClient, ListPaymentConnectorsCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
|
|
35
|
+
* // const { BedrockAgentCoreControlClient, ListPaymentConnectorsCommand } = 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 = { // ListPaymentConnectorsRequest
|
|
40
|
+
* paymentManagerId: "STRING_VALUE", // required
|
|
41
|
+
* maxResults: Number("int"),
|
|
42
|
+
* nextToken: "STRING_VALUE",
|
|
43
|
+
* };
|
|
44
|
+
* const command = new ListPaymentConnectorsCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // ListPaymentConnectorsResponse
|
|
47
|
+
* // paymentConnectors: [ // PaymentConnectorSummaries // required
|
|
48
|
+
* // { // PaymentConnectorSummary
|
|
49
|
+
* // paymentConnectorId: "STRING_VALUE", // required
|
|
50
|
+
* // name: "STRING_VALUE", // required
|
|
51
|
+
* // type: "CoinbaseCDP" || "StripePrivy", // required
|
|
52
|
+
* // status: "CREATING" || "UPDATING" || "DELETING" || "READY" || "CREATE_FAILED" || "UPDATE_FAILED" || "DELETE_FAILED", // required
|
|
53
|
+
* // lastUpdatedAt: new Date("TIMESTAMP"), // required
|
|
54
|
+
* // },
|
|
55
|
+
* // ],
|
|
56
|
+
* // nextToken: "STRING_VALUE",
|
|
57
|
+
* // };
|
|
58
|
+
*
|
|
59
|
+
* ```
|
|
60
|
+
*
|
|
61
|
+
* @param ListPaymentConnectorsCommandInput - {@link ListPaymentConnectorsCommandInput}
|
|
62
|
+
* @returns {@link ListPaymentConnectorsCommandOutput}
|
|
63
|
+
* @see {@link ListPaymentConnectorsCommandInput} for command's `input` shape.
|
|
64
|
+
* @see {@link ListPaymentConnectorsCommandOutput} for command's `response` shape.
|
|
65
|
+
* @see {@link BedrockAgentCoreControlClientResolvedConfig | config} for BedrockAgentCoreControlClient's `config` shape.
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
68
|
+
* <p>This exception is thrown when a request is denied per access permissions</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link InternalServerException} (server fault)
|
|
71
|
+
* <p>This exception is thrown if there was an unexpected error during processing of request</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
74
|
+
* <p>This exception is thrown when the number of requests exceeds the limit</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ValidationException} (client fault)
|
|
77
|
+
* <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link BedrockAgentCoreControlServiceException}
|
|
80
|
+
* <p>Base exception class for all service exceptions from BedrockAgentCoreControl service.</p>
|
|
81
|
+
*
|
|
82
|
+
*
|
|
83
|
+
* @public
|
|
84
|
+
*/
|
|
85
|
+
export declare class ListPaymentConnectorsCommand extends ListPaymentConnectorsCommand_base {
|
|
86
|
+
/** @internal type navigation helper, not in runtime. */
|
|
87
|
+
protected static __types: {
|
|
88
|
+
api: {
|
|
89
|
+
input: ListPaymentConnectorsRequest;
|
|
90
|
+
output: ListPaymentConnectorsResponse;
|
|
91
|
+
};
|
|
92
|
+
sdk: {
|
|
93
|
+
input: ListPaymentConnectorsCommandInput;
|
|
94
|
+
output: ListPaymentConnectorsCommandOutput;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
}
|
|
@@ -0,0 +1,102 @@
|
|
|
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 { ListPaymentCredentialProvidersRequest, ListPaymentCredentialProvidersResponse } from "../models/models_1";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListPaymentCredentialProvidersCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListPaymentCredentialProvidersCommandInput extends ListPaymentCredentialProvidersRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListPaymentCredentialProvidersCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListPaymentCredentialProvidersCommandOutput extends ListPaymentCredentialProvidersResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListPaymentCredentialProvidersCommand_base: {
|
|
25
|
+
new (input: ListPaymentCredentialProvidersCommandInput): import("@smithy/smithy-client").CommandImpl<ListPaymentCredentialProvidersCommandInput, ListPaymentCredentialProvidersCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListPaymentCredentialProvidersCommandInput]): import("@smithy/smithy-client").CommandImpl<ListPaymentCredentialProvidersCommandInput, ListPaymentCredentialProvidersCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Lists all payment credential providers in the account.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BedrockAgentCoreControlClient, ListPaymentCredentialProvidersCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
|
|
35
|
+
* // const { BedrockAgentCoreControlClient, ListPaymentCredentialProvidersCommand } = 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 = { // ListPaymentCredentialProvidersRequest
|
|
40
|
+
* nextToken: "STRING_VALUE",
|
|
41
|
+
* maxResults: Number("int"),
|
|
42
|
+
* };
|
|
43
|
+
* const command = new ListPaymentCredentialProvidersCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // ListPaymentCredentialProvidersResponse
|
|
46
|
+
* // credentialProviders: [ // PaymentCredentialProviders // required
|
|
47
|
+
* // { // PaymentCredentialProviderItem
|
|
48
|
+
* // name: "STRING_VALUE", // required
|
|
49
|
+
* // credentialProviderVendor: "CoinbaseCDP" || "StripePrivy", // required
|
|
50
|
+
* // credentialProviderArn: "STRING_VALUE", // required
|
|
51
|
+
* // createdTime: new Date("TIMESTAMP"), // required
|
|
52
|
+
* // lastUpdatedTime: new Date("TIMESTAMP"), // required
|
|
53
|
+
* // },
|
|
54
|
+
* // ],
|
|
55
|
+
* // nextToken: "STRING_VALUE",
|
|
56
|
+
* // };
|
|
57
|
+
*
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
60
|
+
* @param ListPaymentCredentialProvidersCommandInput - {@link ListPaymentCredentialProvidersCommandInput}
|
|
61
|
+
* @returns {@link ListPaymentCredentialProvidersCommandOutput}
|
|
62
|
+
* @see {@link ListPaymentCredentialProvidersCommandInput} for command's `input` shape.
|
|
63
|
+
* @see {@link ListPaymentCredentialProvidersCommandOutput} for command's `response` shape.
|
|
64
|
+
* @see {@link BedrockAgentCoreControlClientResolvedConfig | config} for BedrockAgentCoreControlClient's `config` shape.
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
67
|
+
* <p>This exception is thrown when a request is denied per access permissions</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link InternalServerException} (server fault)
|
|
70
|
+
* <p>This exception is thrown if there was an unexpected error during processing of request</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
73
|
+
* <p>This exception is thrown when a resource referenced by the operation does not exist</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
76
|
+
* <p>This exception is thrown when the number of requests exceeds the limit</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link UnauthorizedException} (client fault)
|
|
79
|
+
* <p>This exception is thrown when the JWT bearer token is invalid or not found for OAuth bearer token based access</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ValidationException} (client fault)
|
|
82
|
+
* <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link BedrockAgentCoreControlServiceException}
|
|
85
|
+
* <p>Base exception class for all service exceptions from BedrockAgentCoreControl service.</p>
|
|
86
|
+
*
|
|
87
|
+
*
|
|
88
|
+
* @public
|
|
89
|
+
*/
|
|
90
|
+
export declare class ListPaymentCredentialProvidersCommand extends ListPaymentCredentialProvidersCommand_base {
|
|
91
|
+
/** @internal type navigation helper, not in runtime. */
|
|
92
|
+
protected static __types: {
|
|
93
|
+
api: {
|
|
94
|
+
input: ListPaymentCredentialProvidersRequest;
|
|
95
|
+
output: ListPaymentCredentialProvidersResponse;
|
|
96
|
+
};
|
|
97
|
+
sdk: {
|
|
98
|
+
input: ListPaymentCredentialProvidersCommandInput;
|
|
99
|
+
output: ListPaymentCredentialProvidersCommandOutput;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
}
|
|
@@ -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 { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
|
|
4
|
+
import type { ListPaymentManagersRequest, ListPaymentManagersResponse } from "../models/models_1";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListPaymentManagersCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListPaymentManagersCommandInput extends ListPaymentManagersRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListPaymentManagersCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListPaymentManagersCommandOutput extends ListPaymentManagersResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListPaymentManagersCommand_base: {
|
|
25
|
+
new (input: ListPaymentManagersCommandInput): import("@smithy/smithy-client").CommandImpl<ListPaymentManagersCommandInput, ListPaymentManagersCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListPaymentManagersCommandInput]): import("@smithy/smithy-client").CommandImpl<ListPaymentManagersCommandInput, ListPaymentManagersCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Lists all payment managers in the account.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BedrockAgentCoreControlClient, ListPaymentManagersCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
|
|
35
|
+
* // const { BedrockAgentCoreControlClient, ListPaymentManagersCommand } = 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 = { // ListPaymentManagersRequest
|
|
40
|
+
* maxResults: Number("int"),
|
|
41
|
+
* nextToken: "STRING_VALUE",
|
|
42
|
+
* };
|
|
43
|
+
* const command = new ListPaymentManagersCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // ListPaymentManagersResponse
|
|
46
|
+
* // paymentManagers: [ // PaymentManagerSummaries // required
|
|
47
|
+
* // { // PaymentManagerSummary
|
|
48
|
+
* // paymentManagerArn: "STRING_VALUE", // required
|
|
49
|
+
* // paymentManagerId: "STRING_VALUE", // required
|
|
50
|
+
* // name: "STRING_VALUE", // required
|
|
51
|
+
* // description: "STRING_VALUE",
|
|
52
|
+
* // authorizerType: "CUSTOM_JWT" || "AWS_IAM", // required
|
|
53
|
+
* // roleArn: "STRING_VALUE", // required
|
|
54
|
+
* // status: "CREATING" || "UPDATING" || "DELETING" || "READY" || "CREATE_FAILED" || "UPDATE_FAILED" || "DELETE_FAILED", // required
|
|
55
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
56
|
+
* // lastUpdatedAt: new Date("TIMESTAMP"), // required
|
|
57
|
+
* // },
|
|
58
|
+
* // ],
|
|
59
|
+
* // nextToken: "STRING_VALUE",
|
|
60
|
+
* // };
|
|
61
|
+
*
|
|
62
|
+
* ```
|
|
63
|
+
*
|
|
64
|
+
* @param ListPaymentManagersCommandInput - {@link ListPaymentManagersCommandInput}
|
|
65
|
+
* @returns {@link ListPaymentManagersCommandOutput}
|
|
66
|
+
* @see {@link ListPaymentManagersCommandInput} for command's `input` shape.
|
|
67
|
+
* @see {@link ListPaymentManagersCommandOutput} for command's `response` shape.
|
|
68
|
+
* @see {@link BedrockAgentCoreControlClientResolvedConfig | config} for BedrockAgentCoreControlClient's `config` shape.
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
71
|
+
* <p>This exception is thrown when a request is denied per access permissions</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link InternalServerException} (server fault)
|
|
74
|
+
* <p>This exception is thrown if there was an unexpected error during processing of request</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
77
|
+
* <p>This exception is thrown when the number of requests exceeds the limit</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ValidationException} (client fault)
|
|
80
|
+
* <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link BedrockAgentCoreControlServiceException}
|
|
83
|
+
* <p>Base exception class for all service exceptions from BedrockAgentCoreControl service.</p>
|
|
84
|
+
*
|
|
85
|
+
*
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
88
|
+
export declare class ListPaymentManagersCommand extends ListPaymentManagersCommand_base {
|
|
89
|
+
/** @internal type navigation helper, not in runtime. */
|
|
90
|
+
protected static __types: {
|
|
91
|
+
api: {
|
|
92
|
+
input: ListPaymentManagersRequest;
|
|
93
|
+
output: ListPaymentManagersResponse;
|
|
94
|
+
};
|
|
95
|
+
sdk: {
|
|
96
|
+
input: ListPaymentManagersCommandInput;
|
|
97
|
+
output: ListPaymentManagersCommandOutput;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
}
|