@aws-sdk/client-bedrock-agentcore-control 3.1110.0 → 3.1112.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/index.js +95 -38
- package/dist-es/models/enums.js +18 -0
- package/dist-es/models/errors.js +16 -0
- package/dist-es/schemas/schemas_0.js +56 -38
- package/dist-types/commands/CreateAgentRuntimeCommand.d.ts +1 -1
- package/dist-types/commands/CreateDatasetCommand.d.ts +1 -1
- package/dist-types/commands/CreateEvaluatorCommand.d.ts +26 -0
- package/dist-types/commands/CreatePaymentConnectorCommand.d.ts +6 -1
- package/dist-types/commands/CreatePaymentManagerCommand.d.ts +2 -0
- package/dist-types/commands/CreatePolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeletePaymentConnectorCommand.d.ts +1 -1
- package/dist-types/commands/GetAgentRuntimeCommand.d.ts +1 -1
- package/dist-types/commands/GetDatasetCommand.d.ts +1 -1
- package/dist-types/commands/GetEvaluatorCommand.d.ts +28 -0
- package/dist-types/commands/GetPaymentConnectorCommand.d.ts +2 -1
- package/dist-types/commands/GetPaymentManagerCommand.d.ts +1 -0
- package/dist-types/commands/GetPolicyGenerationCommand.d.ts +1 -2
- package/dist-types/commands/ListDatasetsCommand.d.ts +1 -1
- package/dist-types/commands/ListEvaluatorsCommand.d.ts +2 -1
- package/dist-types/commands/ListPaymentConnectorsCommand.d.ts +1 -1
- package/dist-types/commands/ListPaymentManagersCommand.d.ts +1 -0
- package/dist-types/commands/UpdateAgentRuntimeCommand.d.ts +1 -1
- package/dist-types/commands/UpdateEvaluatorCommand.d.ts +26 -0
- package/dist-types/commands/UpdatePaymentConnectorCommand.d.ts +5 -1
- package/dist-types/commands/UpdatePaymentManagerCommand.d.ts +2 -0
- package/dist-types/commands/UpdatePolicyCommand.d.ts +1 -1
- package/dist-types/models/enums.d.ts +37 -0
- package/dist-types/models/errors.d.ts +22 -0
- package/dist-types/models/models_0.d.ts +49 -15
- package/dist-types/models/models_1.d.ts +63 -17
- package/dist-types/models/models_2.d.ts +15 -0
- package/dist-types/runtimeConfig.browser.d.ts +38 -38
- package/dist-types/runtimeConfig.d.ts +36 -36
- package/dist-types/runtimeConfig.native.d.ts +37 -37
- package/dist-types/runtimeConfig.shared.d.ts +2 -2
- package/dist-types/schemas/schemas_0.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetPolicyGenerationCommand.d.ts +1 -2
- package/dist-types/ts3.4/models/enums.d.ts +21 -0
- package/dist-types/ts3.4/models/errors.d.ts +7 -0
- package/dist-types/ts3.4/models/models_0.d.ts +21 -5
- package/dist-types/ts3.4/models/models_1.d.ts +15 -5
- package/dist-types/ts3.4/models/models_2.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +54 -56
- package/dist-types/ts3.4/runtimeConfig.d.ts +57 -57
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +58 -60
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +2 -0
- package/package.json +5 -5
|
@@ -3,49 +3,14 @@ import type { BedrockAgentCoreControlClientConfig } from "./BedrockAgentCoreCont
|
|
|
3
3
|
* @internal
|
|
4
4
|
*/
|
|
5
5
|
export declare const getRuntimeConfig: (config: BedrockAgentCoreControlClientConfig) => {
|
|
6
|
-
runtime: string;
|
|
7
|
-
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/core/protocols").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
8
6
|
cacheMiddleware?: boolean;
|
|
9
|
-
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
|
|
10
|
-
protocolSettings: {
|
|
11
|
-
defaultNamespace?: string;
|
|
12
|
-
[setting: string]: unknown;
|
|
13
|
-
};
|
|
14
|
-
apiVersion: string;
|
|
15
|
-
sha256: import("@smithy/types").HashConstructor;
|
|
16
|
-
urlParser: import("@smithy/types").UrlParser;
|
|
17
|
-
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
18
|
-
streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
|
|
19
|
-
base64Decoder: import("@smithy/types").Decoder;
|
|
20
|
-
base64Encoder: (_input: Uint8Array | string) => string;
|
|
21
|
-
utf8Decoder: import("@smithy/types").Decoder;
|
|
22
|
-
utf8Encoder: (input: Uint8Array | string) => string;
|
|
23
|
-
disableHostPrefix: boolean;
|
|
24
|
-
serviceId: string;
|
|
25
|
-
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
26
|
-
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
27
|
-
region: string | import("@smithy/types").Provider<any>;
|
|
28
|
-
profile?: string;
|
|
29
|
-
defaultUserAgentProvider: (config?: import("@aws-sdk/core/client").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
30
|
-
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
31
|
-
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
32
|
-
retryMode: string | import("@smithy/types").Provider<string>;
|
|
33
|
-
logger: import("@smithy/types").Logger;
|
|
34
|
-
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
35
|
-
defaultsMode: import("@smithy/core/client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
|
|
36
7
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
37
8
|
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
38
|
-
|
|
39
|
-
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
40
|
-
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
41
|
-
logger?: import("@smithy/types").Logger;
|
|
42
|
-
}) => import("@smithy/types").EndpointV2;
|
|
9
|
+
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Endpoint | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<string> | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
43
10
|
tls?: boolean;
|
|
44
11
|
ignoreConfiguredEndpointUrls?: boolean;
|
|
45
12
|
serviceConfiguredEndpoint?: never;
|
|
46
|
-
|
|
47
|
-
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
48
|
-
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").BedrockAgentCoreControlHttpAuthSchemeProvider;
|
|
13
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
49
14
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
|
|
50
15
|
signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
|
|
51
16
|
signingEscapePath?: boolean;
|
|
@@ -53,4 +18,39 @@ export declare const getRuntimeConfig: (config: BedrockAgentCoreControlClientCon
|
|
|
53
18
|
signingRegion?: string;
|
|
54
19
|
signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
|
|
55
20
|
disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
|
|
21
|
+
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
22
|
+
apiVersion: string;
|
|
23
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
24
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
25
|
+
disableHostPrefix: boolean;
|
|
26
|
+
endpointProvider: (params: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
27
|
+
logger?: import("@smithy/types").Logger;
|
|
28
|
+
}) => import("@smithy/types").EndpointV2;
|
|
29
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
30
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").BedrockAgentCoreControlHttpAuthSchemeProvider;
|
|
31
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
32
|
+
logger: import("@smithy/types").Logger;
|
|
33
|
+
protocol: import("@smithy/types").$ClientProtocol<any, any> | import("@smithy/types").$ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
|
|
34
|
+
protocolSettings: {
|
|
35
|
+
[setting: string]: unknown;
|
|
36
|
+
defaultNamespace?: string;
|
|
37
|
+
};
|
|
38
|
+
serviceId: string;
|
|
39
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
40
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
41
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
42
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
43
|
+
profile?: string;
|
|
44
|
+
defaultsMode: import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode> | import("@smithy/core/client").DefaultsMode;
|
|
45
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
46
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
47
|
+
defaultUserAgentProvider: (config?: import("@aws-sdk/core/client").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
48
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
49
|
+
region: string | import("@smithy/types").Provider<any>;
|
|
50
|
+
requestHandler: import("@smithy/fetch-http-handler").FetchHttpHandler | import("@smithy/types").FetchHttpHandlerOptions | import("@smithy/types").NodeHttpHandlerOptions | Record<string, unknown> | import("@smithy/core/protocols").HttpHandler<any>;
|
|
51
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
52
|
+
streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
|
|
53
|
+
useDualstackEndpoint: boolean | (() => Promise<boolean>);
|
|
54
|
+
useFipsEndpoint: boolean | (() => Promise<boolean>);
|
|
55
|
+
runtime: string;
|
|
56
56
|
};
|
|
@@ -8,14 +8,14 @@ export declare const getRuntimeConfig: (config: BedrockAgentCoreControlClientCon
|
|
|
8
8
|
base64Decoder: import("@smithy/types").Decoder;
|
|
9
9
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
10
10
|
disableHostPrefix: boolean;
|
|
11
|
-
endpointProvider: (
|
|
11
|
+
endpointProvider: (params: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
12
12
|
logger?: import("@smithy/types").Logger;
|
|
13
13
|
}) => import("@smithy/types").EndpointV2;
|
|
14
14
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
15
15
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").BedrockAgentCoreControlHttpAuthSchemeProvider;
|
|
16
16
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
17
17
|
logger: import("@smithy/types").Logger;
|
|
18
|
-
protocol: import("@smithy/types")
|
|
18
|
+
protocol: import("@smithy/types").$ClientProtocol<any, any> | import("@smithy/types").$ClientProtocolCtor<any, any> | typeof AwsRestJsonProtocol;
|
|
19
19
|
protocolSettings: {
|
|
20
20
|
[setting: string]: unknown;
|
|
21
21
|
defaultNamespace?: string;
|
|
@@ -12,6 +12,7 @@ export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
|
12
12
|
export declare var RetryableConflictException$: StaticErrorSchema;
|
|
13
13
|
export declare var ServiceException$: StaticErrorSchema;
|
|
14
14
|
export declare var ServiceQuotaExceededException$: StaticErrorSchema;
|
|
15
|
+
export declare var SubscriptionRequiredException$: StaticErrorSchema;
|
|
15
16
|
export declare var ThrottledException$: StaticErrorSchema;
|
|
16
17
|
export declare var ThrottlingException$: StaticErrorSchema;
|
|
17
18
|
export declare var UnauthorizedException$: StaticErrorSchema;
|
|
@@ -201,6 +202,7 @@ export declare var DeleteResourcePolicyRequest$: StaticStructureSchema;
|
|
|
201
202
|
export declare var DeleteResourcePolicyResponse$: StaticStructureSchema;
|
|
202
203
|
export declare var DeleteWorkloadIdentityRequest$: StaticStructureSchema;
|
|
203
204
|
export declare var DeleteWorkloadIdentityResponse$: StaticStructureSchema;
|
|
205
|
+
export declare var DerivedEvaluatorConfig$: StaticStructureSchema;
|
|
204
206
|
export declare var Descriptors$: StaticStructureSchema;
|
|
205
207
|
export declare var EbsVolumeConfiguration$: StaticStructureSchema;
|
|
206
208
|
export declare var Ec2Configuration$: StaticStructureSchema;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import { GetPolicyGenerationRequest } from "../models/
|
|
3
|
-
import { GetPolicyGenerationResponse } from "../models/models_2";
|
|
2
|
+
import { GetPolicyGenerationRequest, GetPolicyGenerationResponse } from "../models/models_2";
|
|
4
3
|
export { __MetadataBearer };
|
|
5
4
|
export interface GetPolicyGenerationCommandInput extends GetPolicyGenerationRequest {}
|
|
6
5
|
export interface GetPolicyGenerationCommandOutput
|
|
@@ -198,6 +198,7 @@ export type ConfigurationBundleStatus =
|
|
|
198
198
|
export declare const DatasetSchemaType: {
|
|
199
199
|
readonly AGENTCORE_EVALUATION_PREDEFINED_V1: "AGENTCORE_EVALUATION_PREDEFINED_V1";
|
|
200
200
|
readonly AGENTCORE_EVALUATION_SIMULATED_V1: "AGENTCORE_EVALUATION_SIMULATED_V1";
|
|
201
|
+
readonly GENERIC_EVALUATION_PREDEFINED_V1: "GENERIC_EVALUATION_PREDEFINED_V1";
|
|
201
202
|
};
|
|
202
203
|
export type DatasetSchemaType = (typeof DatasetSchemaType)[keyof typeof DatasetSchemaType];
|
|
203
204
|
export declare const DraftStatus: {
|
|
@@ -229,8 +230,17 @@ export declare const EvaluatorType: {
|
|
|
229
230
|
readonly BUILTIN: "Builtin";
|
|
230
231
|
readonly CODE: "CustomCode";
|
|
231
232
|
readonly CUSTOM: "Custom";
|
|
233
|
+
readonly CUSTOM_DERIVED: "CustomDerived";
|
|
234
|
+
readonly THIRD_PARTY: "ThirdParty";
|
|
232
235
|
};
|
|
233
236
|
export type EvaluatorType = (typeof EvaluatorType)[keyof typeof EvaluatorType];
|
|
237
|
+
export declare const Provider: {
|
|
238
|
+
readonly AUTO_EVAL: "AutoEval";
|
|
239
|
+
readonly AWS: "AWS";
|
|
240
|
+
readonly CUSTOM: "Custom";
|
|
241
|
+
readonly DEEP_EVAL: "DeepEval";
|
|
242
|
+
};
|
|
243
|
+
export type Provider = (typeof Provider)[keyof typeof Provider];
|
|
234
244
|
export declare const Period: {
|
|
235
245
|
readonly MINUTE: "minute";
|
|
236
246
|
readonly SECOND: "second";
|
|
@@ -625,16 +635,27 @@ export declare const PaymentManagerStatus: {
|
|
|
625
635
|
readonly UPDATING: "UPDATING";
|
|
626
636
|
};
|
|
627
637
|
export type PaymentManagerStatus = (typeof PaymentManagerStatus)[keyof typeof PaymentManagerStatus];
|
|
638
|
+
export declare const PaymentConnectorProvisionMode: {
|
|
639
|
+
readonly MANUAL: "MANUAL";
|
|
640
|
+
readonly QUICK_CREATE: "QUICK_CREATE";
|
|
641
|
+
};
|
|
642
|
+
export type PaymentConnectorProvisionMode =
|
|
643
|
+
(typeof PaymentConnectorProvisionMode)[keyof typeof PaymentConnectorProvisionMode];
|
|
628
644
|
export declare const PaymentConnectorType: {
|
|
629
645
|
readonly COINBASE_CDP: "CoinbaseCDP";
|
|
630
646
|
readonly STRIPE_PRIVY: "StripePrivy";
|
|
631
647
|
};
|
|
632
648
|
export type PaymentConnectorType = (typeof PaymentConnectorType)[keyof typeof PaymentConnectorType];
|
|
633
649
|
export declare const PaymentConnectorStatus: {
|
|
650
|
+
readonly AUTHENTICATION_EXPIRED: "AUTHENTICATION_EXPIRED";
|
|
651
|
+
readonly AUTHENTICATION_FAILED: "AUTHENTICATION_FAILED";
|
|
652
|
+
readonly AWS_MARKETPLACE_SUBSCRIPTION_REQUIRED: "AWS_MARKETPLACE_SUBSCRIPTION_REQUIRED";
|
|
634
653
|
readonly CREATE_FAILED: "CREATE_FAILED";
|
|
635
654
|
readonly CREATING: "CREATING";
|
|
636
655
|
readonly DELETE_FAILED: "DELETE_FAILED";
|
|
637
656
|
readonly DELETING: "DELETING";
|
|
657
|
+
readonly PENDING_AUTHENTICATION: "PENDING_AUTHENTICATION";
|
|
658
|
+
readonly PROVISIONING: "PROVISIONING";
|
|
638
659
|
readonly READY: "READY";
|
|
639
660
|
readonly UPDATE_FAILED: "UPDATE_FAILED";
|
|
640
661
|
readonly UPDATING: "UPDATING";
|
|
@@ -77,6 +77,13 @@ export declare class ThrottledException extends __BaseException {
|
|
|
77
77
|
$retryable: {};
|
|
78
78
|
constructor(opts: __ExceptionOptionType<ThrottledException, __BaseException>);
|
|
79
79
|
}
|
|
80
|
+
export declare class SubscriptionRequiredException extends __BaseException {
|
|
81
|
+
readonly name: "SubscriptionRequiredException";
|
|
82
|
+
readonly $fault: "client";
|
|
83
|
+
subscriptionUrl?: string | undefined;
|
|
84
|
+
productName?: string | undefined;
|
|
85
|
+
constructor(opts: __ExceptionOptionType<SubscriptionRequiredException, __BaseException>);
|
|
86
|
+
}
|
|
80
87
|
export declare class ConcurrentModificationException extends __BaseException {
|
|
81
88
|
readonly name: "ConcurrentModificationException";
|
|
82
89
|
readonly $fault: "client";
|
|
@@ -42,6 +42,7 @@ import {
|
|
|
42
42
|
PassthroughProtocolType,
|
|
43
43
|
Period,
|
|
44
44
|
PrincipalMatchOperator,
|
|
45
|
+
Provider,
|
|
45
46
|
ResourceType,
|
|
46
47
|
SearchType,
|
|
47
48
|
SecretSourceType,
|
|
@@ -474,7 +475,7 @@ export declare namespace AuthorizerConfiguration {
|
|
|
474
475
|
}
|
|
475
476
|
}
|
|
476
477
|
export interface CapacityProviderConfiguration {
|
|
477
|
-
capacityProviderArn
|
|
478
|
+
capacityProviderArn: string | undefined;
|
|
478
479
|
}
|
|
479
480
|
export interface CapacityProviderVolumeConfiguration {
|
|
480
481
|
volumeName: string | undefined;
|
|
@@ -626,7 +627,7 @@ export interface GetAgentRuntimeResponse {
|
|
|
626
627
|
createdAt: Date | undefined;
|
|
627
628
|
lastUpdatedAt: Date | undefined;
|
|
628
629
|
roleArn: string | undefined;
|
|
629
|
-
networkConfiguration
|
|
630
|
+
networkConfiguration?: NetworkConfiguration | undefined;
|
|
630
631
|
status: AgentRuntimeStatus | undefined;
|
|
631
632
|
lifecycleConfiguration: LifecycleConfiguration | undefined;
|
|
632
633
|
failureReason?: string | undefined;
|
|
@@ -1597,6 +1598,10 @@ export declare namespace EvaluatorModelConfig {
|
|
|
1597
1598
|
_: (name: string, value: any) => T;
|
|
1598
1599
|
}
|
|
1599
1600
|
}
|
|
1601
|
+
export interface DerivedEvaluatorConfig {
|
|
1602
|
+
baseEvaluatorId: string | undefined;
|
|
1603
|
+
modelConfig: EvaluatorModelConfig | undefined;
|
|
1604
|
+
}
|
|
1600
1605
|
export interface CategoricalScaleDefinition {
|
|
1601
1606
|
definition: string | undefined;
|
|
1602
1607
|
label: string | undefined;
|
|
@@ -1639,27 +1644,38 @@ export interface LlmAsAJudgeEvaluatorConfig {
|
|
|
1639
1644
|
}
|
|
1640
1645
|
export type EvaluatorConfig =
|
|
1641
1646
|
| EvaluatorConfig.CodeBasedMember
|
|
1647
|
+
| EvaluatorConfig.DerivedMember
|
|
1642
1648
|
| EvaluatorConfig.LlmAsAJudgeMember
|
|
1643
1649
|
| EvaluatorConfig.$UnknownMember;
|
|
1644
1650
|
export declare namespace EvaluatorConfig {
|
|
1645
1651
|
interface LlmAsAJudgeMember {
|
|
1646
1652
|
llmAsAJudge: LlmAsAJudgeEvaluatorConfig;
|
|
1647
1653
|
codeBased?: never;
|
|
1654
|
+
derived?: never;
|
|
1648
1655
|
$unknown?: never;
|
|
1649
1656
|
}
|
|
1650
1657
|
interface CodeBasedMember {
|
|
1651
1658
|
llmAsAJudge?: never;
|
|
1652
1659
|
codeBased: CodeBasedEvaluatorConfig;
|
|
1660
|
+
derived?: never;
|
|
1661
|
+
$unknown?: never;
|
|
1662
|
+
}
|
|
1663
|
+
interface DerivedMember {
|
|
1664
|
+
llmAsAJudge?: never;
|
|
1665
|
+
codeBased?: never;
|
|
1666
|
+
derived: DerivedEvaluatorConfig;
|
|
1653
1667
|
$unknown?: never;
|
|
1654
1668
|
}
|
|
1655
1669
|
interface $UnknownMember {
|
|
1656
1670
|
llmAsAJudge?: never;
|
|
1657
1671
|
codeBased?: never;
|
|
1672
|
+
derived?: never;
|
|
1658
1673
|
$unknown: [string, any];
|
|
1659
1674
|
}
|
|
1660
1675
|
interface Visitor<T> {
|
|
1661
1676
|
llmAsAJudge: (value: LlmAsAJudgeEvaluatorConfig) => T;
|
|
1662
1677
|
codeBased: (value: CodeBasedEvaluatorConfig) => T;
|
|
1678
|
+
derived: (value: DerivedEvaluatorConfig) => T;
|
|
1663
1679
|
_: (name: string, value: any) => T;
|
|
1664
1680
|
}
|
|
1665
1681
|
}
|
|
@@ -1696,6 +1712,8 @@ export interface GetEvaluatorResponse {
|
|
|
1696
1712
|
evaluatorName: string | undefined;
|
|
1697
1713
|
description?: string | undefined;
|
|
1698
1714
|
evaluatorConfig: EvaluatorConfig | undefined;
|
|
1715
|
+
evaluatorType?: EvaluatorType | undefined;
|
|
1716
|
+
provider?: Provider | undefined;
|
|
1699
1717
|
level: EvaluatorLevel | undefined;
|
|
1700
1718
|
status: EvaluatorStatus | undefined;
|
|
1701
1719
|
createdAt: Date | undefined;
|
|
@@ -1713,6 +1731,7 @@ export interface EvaluatorSummary {
|
|
|
1713
1731
|
evaluatorName: string | undefined;
|
|
1714
1732
|
description?: string | undefined;
|
|
1715
1733
|
evaluatorType: EvaluatorType | undefined;
|
|
1734
|
+
provider?: Provider | undefined;
|
|
1716
1735
|
level?: EvaluatorLevel | undefined;
|
|
1717
1736
|
status: EvaluatorStatus | undefined;
|
|
1718
1737
|
createdAt: Date | undefined;
|
|
@@ -2359,7 +2378,4 @@ export declare namespace HttpTargetConfiguration {
|
|
|
2359
2378
|
export interface InferenceConnectorSource {
|
|
2360
2379
|
connectorId: string | undefined;
|
|
2361
2380
|
}
|
|
2362
|
-
export interface InferenceConnectorTargetConfiguration {
|
|
2363
|
-
source: InferenceConnectorSource | undefined;
|
|
2364
|
-
}
|
|
2365
2381
|
export interface Unit {}
|
|
@@ -26,6 +26,7 @@ import {
|
|
|
26
26
|
OnlineEvaluationConfigStatus,
|
|
27
27
|
OnlineEvaluationExecutionStatus,
|
|
28
28
|
OverrideType,
|
|
29
|
+
PaymentConnectorProvisionMode,
|
|
29
30
|
PaymentConnectorStatus,
|
|
30
31
|
PaymentConnectorType,
|
|
31
32
|
PaymentCredentialProviderVendorType,
|
|
@@ -43,7 +44,7 @@ import {
|
|
|
43
44
|
AuthorizerConfiguration,
|
|
44
45
|
ContainerConfiguration,
|
|
45
46
|
FilesystemConfiguration,
|
|
46
|
-
|
|
47
|
+
InferenceConnectorSource,
|
|
47
48
|
LifecycleConfiguration,
|
|
48
49
|
NetworkConfiguration,
|
|
49
50
|
OAuthCredentialProvider,
|
|
@@ -56,6 +57,9 @@ import {
|
|
|
56
57
|
UpdatedDescription,
|
|
57
58
|
WorkloadIdentityDetails,
|
|
58
59
|
} from "./models_0";
|
|
60
|
+
export interface InferenceConnectorTargetConfiguration {
|
|
61
|
+
source: InferenceConnectorSource | undefined;
|
|
62
|
+
}
|
|
59
63
|
export interface ProviderPrefix {
|
|
60
64
|
strip?: boolean | undefined;
|
|
61
65
|
separator?: string | undefined;
|
|
@@ -2722,6 +2726,7 @@ export interface CreatePaymentManagerRequest {
|
|
|
2722
2726
|
roleArn: string | undefined;
|
|
2723
2727
|
clientToken?: string | undefined;
|
|
2724
2728
|
tags?: Record<string, string> | undefined;
|
|
2729
|
+
kmsKeyArn?: string | undefined;
|
|
2725
2730
|
}
|
|
2726
2731
|
export interface CreatePaymentManagerResponse {
|
|
2727
2732
|
paymentManagerArn: string | undefined;
|
|
@@ -2734,6 +2739,7 @@ export interface CreatePaymentManagerResponse {
|
|
|
2734
2739
|
createdAt: Date | undefined;
|
|
2735
2740
|
status: PaymentManagerStatus | undefined;
|
|
2736
2741
|
tags?: Record<string, string> | undefined;
|
|
2742
|
+
kmsKeyArn?: string | undefined;
|
|
2737
2743
|
}
|
|
2738
2744
|
export interface DeletePaymentManagerRequest {
|
|
2739
2745
|
paymentManagerId: string | undefined;
|
|
@@ -2759,6 +2765,7 @@ export interface GetPaymentManagerResponse {
|
|
|
2759
2765
|
lastUpdatedAt: Date | undefined;
|
|
2760
2766
|
status: PaymentManagerStatus | undefined;
|
|
2761
2767
|
tags?: Record<string, string> | undefined;
|
|
2768
|
+
kmsKeyArn?: string | undefined;
|
|
2762
2769
|
}
|
|
2763
2770
|
export interface ListPaymentManagersRequest {
|
|
2764
2771
|
maxResults?: number | undefined;
|
|
@@ -2774,6 +2781,7 @@ export interface PaymentManagerSummary {
|
|
|
2774
2781
|
status: PaymentManagerStatus | undefined;
|
|
2775
2782
|
createdAt?: Date | undefined;
|
|
2776
2783
|
lastUpdatedAt: Date | undefined;
|
|
2784
|
+
kmsKeyArn?: string | undefined;
|
|
2777
2785
|
}
|
|
2778
2786
|
export interface ListPaymentManagersResponse {
|
|
2779
2787
|
paymentManagers: PaymentManagerSummary[] | undefined;
|
|
@@ -2814,6 +2822,7 @@ export interface CreatePaymentConnectorRequest {
|
|
|
2814
2822
|
description?: string | undefined;
|
|
2815
2823
|
type: PaymentConnectorType | undefined;
|
|
2816
2824
|
credentialProviderConfigurations: CredentialsProviderConfiguration[] | undefined;
|
|
2825
|
+
provisionMode?: PaymentConnectorProvisionMode | undefined;
|
|
2817
2826
|
clientToken?: string | undefined;
|
|
2818
2827
|
}
|
|
2819
2828
|
export interface CreatePaymentConnectorResponse {
|
|
@@ -2824,6 +2833,7 @@ export interface CreatePaymentConnectorResponse {
|
|
|
2824
2833
|
credentialProviderConfigurations: CredentialsProviderConfiguration[] | undefined;
|
|
2825
2834
|
createdAt: Date | undefined;
|
|
2826
2835
|
status: PaymentConnectorStatus | undefined;
|
|
2836
|
+
authorizationUrl?: string | undefined;
|
|
2827
2837
|
}
|
|
2828
2838
|
export interface DeletePaymentConnectorRequest {
|
|
2829
2839
|
paymentManagerId: string | undefined;
|
|
@@ -2847,6 +2857,7 @@ export interface GetPaymentConnectorResponse {
|
|
|
2847
2857
|
createdAt: Date | undefined;
|
|
2848
2858
|
lastUpdatedAt: Date | undefined;
|
|
2849
2859
|
status: PaymentConnectorStatus | undefined;
|
|
2860
|
+
authorizationUrl?: string | undefined;
|
|
2850
2861
|
}
|
|
2851
2862
|
export interface ListPaymentConnectorsRequest {
|
|
2852
2863
|
paymentManagerId: string | undefined;
|
|
@@ -2880,6 +2891,7 @@ export interface UpdatePaymentConnectorResponse {
|
|
|
2880
2891
|
credentialProviderConfigurations: CredentialsProviderConfiguration[] | undefined;
|
|
2881
2892
|
lastUpdatedAt: Date | undefined;
|
|
2882
2893
|
status: PaymentConnectorStatus | undefined;
|
|
2894
|
+
authorizationUrl?: string | undefined;
|
|
2883
2895
|
}
|
|
2884
2896
|
export interface UpdatePaymentManagerRequest {
|
|
2885
2897
|
paymentManagerId: string | undefined;
|
|
@@ -2888,6 +2900,7 @@ export interface UpdatePaymentManagerRequest {
|
|
|
2888
2900
|
authorizerConfiguration?: AuthorizerConfiguration | undefined;
|
|
2889
2901
|
roleArn?: string | undefined;
|
|
2890
2902
|
clientToken?: string | undefined;
|
|
2903
|
+
kmsKeyArn?: string | undefined;
|
|
2891
2904
|
}
|
|
2892
2905
|
export interface UpdatePaymentManagerResponse {
|
|
2893
2906
|
paymentManagerArn: string | undefined;
|
|
@@ -2898,6 +2911,7 @@ export interface UpdatePaymentManagerResponse {
|
|
|
2898
2911
|
workloadIdentityDetails?: WorkloadIdentityDetails | undefined;
|
|
2899
2912
|
lastUpdatedAt: Date | undefined;
|
|
2900
2913
|
status: PaymentManagerStatus | undefined;
|
|
2914
|
+
kmsKeyArn?: string | undefined;
|
|
2901
2915
|
}
|
|
2902
2916
|
export interface CreatePolicyEngineRequest {
|
|
2903
2917
|
name: string | undefined;
|
|
@@ -3008,7 +3022,3 @@ export interface UpdatePolicyEngineResponse {
|
|
|
3008
3022
|
description?: string | undefined;
|
|
3009
3023
|
statusReasons: string[] | undefined;
|
|
3010
3024
|
}
|
|
3011
|
-
export interface GetPolicyGenerationRequest {
|
|
3012
|
-
policyGenerationId: string | undefined;
|
|
3013
|
-
policyEngineId: string | undefined;
|
|
3014
|
-
}
|
|
@@ -39,6 +39,10 @@ import {
|
|
|
39
39
|
McpServerTargetConfiguration,
|
|
40
40
|
UpdatedAuthorizerConfiguration,
|
|
41
41
|
} from "./models_1";
|
|
42
|
+
export interface GetPolicyGenerationRequest {
|
|
43
|
+
policyGenerationId: string | undefined;
|
|
44
|
+
policyEngineId: string | undefined;
|
|
45
|
+
}
|
|
42
46
|
export type Resource = Resource.ArnMember | Resource.$UnknownMember;
|
|
43
47
|
export declare namespace Resource {
|
|
44
48
|
interface ArnMember {
|
|
@@ -1,81 +1,30 @@
|
|
|
1
1
|
import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
|
|
2
2
|
import { BedrockAgentCoreControlClientConfig } from "./BedrockAgentCoreControlClient";
|
|
3
3
|
export declare const getRuntimeConfig: (config: BedrockAgentCoreControlClientConfig) => {
|
|
4
|
-
|
|
5
|
-
defaultsMode: import("@smithy/types").Provider<
|
|
6
|
-
import("@smithy/core/client").ResolvedDefaultsMode
|
|
7
|
-
>;
|
|
8
|
-
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
|
-
credentialDefaultProvider:
|
|
10
|
-
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
11
|
-
| ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
12
|
-
defaultUserAgentProvider: (
|
|
13
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
14
|
-
) => Promise<import("@smithy/types").UserAgent>;
|
|
15
|
-
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
16
|
-
region: string | import("@smithy/types").Provider<any>;
|
|
17
|
-
requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
|
|
18
|
-
retryMode: string | import("@smithy/types").Provider<string>;
|
|
19
|
-
streamCollector: (
|
|
20
|
-
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
21
|
-
) => Promise<Uint8Array>;
|
|
22
|
-
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
23
|
-
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
24
|
-
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
25
|
-
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
26
|
-
cacheMiddleware?: boolean | undefined;
|
|
27
|
-
protocol:
|
|
28
|
-
| import("@smithy/types").ClientProtocol<any, any>
|
|
29
|
-
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
30
|
-
| typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
|
|
31
|
-
protocolSettings: {
|
|
32
|
-
defaultNamespace?: string;
|
|
33
|
-
[setting: string]: unknown;
|
|
34
|
-
};
|
|
35
|
-
apiVersion: string;
|
|
36
|
-
sha256: import("@smithy/types").HashConstructor;
|
|
37
|
-
urlParser: import("@smithy/types").UrlParser;
|
|
38
|
-
base64Decoder: import("@smithy/types").Decoder;
|
|
39
|
-
base64Encoder: (_input: Uint8Array | string) => string;
|
|
40
|
-
utf8Decoder: import("@smithy/types").Decoder;
|
|
41
|
-
utf8Encoder: (input: Uint8Array | string) => string;
|
|
42
|
-
disableHostPrefix: boolean;
|
|
43
|
-
serviceId: string;
|
|
44
|
-
profile?: string;
|
|
45
|
-
logger: import("@smithy/types").Logger;
|
|
46
|
-
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
4
|
+
cacheMiddleware?: boolean;
|
|
47
5
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
48
6
|
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
49
|
-
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
50
7
|
endpoint?:
|
|
51
8
|
| ((
|
|
52
9
|
| string
|
|
53
10
|
| import("@smithy/types").Endpoint
|
|
54
|
-
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
55
11
|
| import("@smithy/types").EndpointV2
|
|
12
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
56
13
|
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
57
14
|
) &
|
|
58
15
|
(
|
|
59
16
|
| string
|
|
60
|
-
| import("@smithy/types").Provider<string>
|
|
61
17
|
| import("@smithy/types").Endpoint
|
|
62
|
-
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
63
18
|
| import("@smithy/types").EndpointV2
|
|
19
|
+
| import("@smithy/types").Provider<string>
|
|
20
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
64
21
|
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
65
22
|
))
|
|
66
23
|
| undefined;
|
|
67
|
-
endpointProvider: (
|
|
68
|
-
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
69
|
-
context?: {
|
|
70
|
-
logger?: import("@smithy/types").Logger;
|
|
71
|
-
},
|
|
72
|
-
) => import("@smithy/types").EndpointV2;
|
|
73
24
|
tls?: boolean;
|
|
74
25
|
ignoreConfiguredEndpointUrls?: boolean;
|
|
75
26
|
serviceConfiguredEndpoint?: never;
|
|
76
|
-
|
|
77
|
-
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
78
|
-
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").BedrockAgentCoreControlHttpAuthSchemeProvider;
|
|
27
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
79
28
|
credentials?:
|
|
80
29
|
| import("@smithy/types").AwsCredentialIdentity
|
|
81
30
|
| import("@smithy/types").AwsCredentialIdentityProvider;
|
|
@@ -92,4 +41,53 @@ export declare const getRuntimeConfig: (config: BedrockAgentCoreControlClientCon
|
|
|
92
41
|
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
93
42
|
) => import("@smithy/types").RequestSigner;
|
|
94
43
|
disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
|
|
44
|
+
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
45
|
+
apiVersion: string;
|
|
46
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
47
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
48
|
+
disableHostPrefix: boolean;
|
|
49
|
+
endpointProvider: (
|
|
50
|
+
params: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
51
|
+
context?: {
|
|
52
|
+
logger?: import("@smithy/types").Logger;
|
|
53
|
+
},
|
|
54
|
+
) => import("@smithy/types").EndpointV2;
|
|
55
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
56
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").BedrockAgentCoreControlHttpAuthSchemeProvider;
|
|
57
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
58
|
+
logger: import("@smithy/types").Logger;
|
|
59
|
+
protocol:
|
|
60
|
+
| import("@smithy/types").$ClientProtocol<any, any>
|
|
61
|
+
| import("@smithy/types").$ClientProtocolCtor<any, any>
|
|
62
|
+
| typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
|
|
63
|
+
protocolSettings: {
|
|
64
|
+
[setting: string]: unknown;
|
|
65
|
+
defaultNamespace?: string;
|
|
66
|
+
};
|
|
67
|
+
serviceId: string;
|
|
68
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
69
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
70
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
71
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
72
|
+
profile?: string;
|
|
73
|
+
runtime: string;
|
|
74
|
+
defaultsMode: import("@smithy/types").Provider<
|
|
75
|
+
import("@smithy/core/client").ResolvedDefaultsMode
|
|
76
|
+
>;
|
|
77
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
78
|
+
credentialDefaultProvider:
|
|
79
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
80
|
+
| ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
81
|
+
defaultUserAgentProvider: (
|
|
82
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
83
|
+
) => Promise<import("@smithy/types").UserAgent>;
|
|
84
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
85
|
+
region: string | import("@smithy/types").Provider<any>;
|
|
86
|
+
requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
|
|
87
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
88
|
+
streamCollector: (
|
|
89
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
90
|
+
) => Promise<Uint8Array>;
|
|
91
|
+
useDualstackEndpoint: boolean | (() => Promise<boolean>);
|
|
92
|
+
useFipsEndpoint: boolean | (() => Promise<boolean>);
|
|
95
93
|
};
|