@aws-sdk/client-bedrock-agentcore-control 3.1092.0 → 3.1094.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 +39 -11
- package/dist-es/schemas/schemas_0.js +35 -10
- package/dist-types/commands/CreateBrowserCommand.d.ts +14 -0
- package/dist-types/commands/CreateCodeInterpreterCommand.d.ts +14 -0
- package/dist-types/commands/GetBrowserCommand.d.ts +14 -0
- package/dist-types/commands/GetCodeInterpreterCommand.d.ts +14 -0
- package/dist-types/commands/GetRegistryRecordCommand.d.ts +2 -1
- package/dist-types/commands/ListRegistryRecordsCommand.d.ts +1 -2
- package/dist-types/models/models_0.d.ts +108 -128
- package/dist-types/models/models_1.d.ts +129 -168
- package/dist-types/models/models_2.d.ts +167 -1
- package/dist-types/schemas/schemas_0.d.ts +3 -0
- package/dist-types/ts3.4/commands/GetRegistryRecordCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListRegistryRecordsCommand.d.ts +1 -2
- package/dist-types/ts3.4/models/models_0.d.ts +40 -63
- package/dist-types/ts3.4/models/models_1.d.ts +66 -38
- package/dist-types/ts3.4/models/models_2.d.ts +36 -1
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +3 -0
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { DocumentType as __DocumentType } from "@smithy/types";
|
|
2
|
-
import type { AgentManagedRuntimeType, AgentRuntimeEndpointStatus, AgentRuntimeStatus, ApiKeyCredentialLocation, AuthorizerType, BrowserEnterprisePolicyType, BrowserNetworkMode, BrowserProfileStatus, BrowserStatus, ClaimMatchOperatorType, CodeInterpreterNetworkMode, CodeInterpreterStatus, ConfigurationBundleStatus, CredentialProviderType, DatasetSchemaType, DatasetStatus, DraftStatus, EndpointIpAddressType, EvaluatorLevel, EvaluatorStatus, EvaluatorType, ExceptionLevel, GatewayInterceptionPoint, GatewayPolicyEngineMode, GatewayProtocolType, GatewayRuleStatus, GatewayStatus, HarnessBedrockApiFormat, HarnessEndpointStatus, HarnessManagedMemoryStrategyType,
|
|
2
|
+
import type { AgentManagedRuntimeType, AgentRuntimeEndpointStatus, AgentRuntimeStatus, ApiKeyCredentialLocation, AuthorizerType, BrowserEnterprisePolicyType, BrowserNetworkMode, BrowserProfileStatus, BrowserStatus, ClaimMatchOperatorType, CodeInterpreterNetworkMode, CodeInterpreterStatus, ConfigurationBundleStatus, CredentialProviderType, DatasetSchemaType, DatasetStatus, DraftStatus, EndpointIpAddressType, EvaluatorLevel, EvaluatorStatus, EvaluatorType, ExceptionLevel, GatewayInterceptionPoint, GatewayPolicyEngineMode, GatewayProtocolType, GatewayRuleStatus, GatewayStatus, HarnessBedrockApiFormat, HarnessEndpointStatus, HarnessManagedMemoryStrategyType, InboundTokenClaimValueType, IncludedData, InterceptorPayloadExclusion, KeyType, ListingMode, NetworkMode, OAuthGrantType, PassthroughProtocolType, PrincipalMatchOperator, ResourceType, RestApiMethod, SearchType, SecretSourceType, ServerProtocol, TargetStatus, TargetType, WafFailureMode } from "./enums";
|
|
3
3
|
/**
|
|
4
4
|
* <p>The agent card definition for an A2A descriptor. Contains the schema version and inline content for the agent card.</p>
|
|
5
5
|
* @public
|
|
@@ -2606,6 +2606,93 @@ export interface BrowserEnterprisePolicy {
|
|
|
2606
2606
|
*/
|
|
2607
2607
|
type?: BrowserEnterprisePolicyType | undefined;
|
|
2608
2608
|
}
|
|
2609
|
+
/**
|
|
2610
|
+
* <p>The configuration for mounting an Amazon Elastic File System (Amazon EFS) access point that you own into a session.</p>
|
|
2611
|
+
* @public
|
|
2612
|
+
*/
|
|
2613
|
+
export interface EfsConfiguration {
|
|
2614
|
+
/**
|
|
2615
|
+
* <p>The Amazon Resource Name (ARN) of the Amazon Elastic File System (Amazon EFS) access point to mount.</p>
|
|
2616
|
+
* @public
|
|
2617
|
+
*/
|
|
2618
|
+
accessPointArn: string | undefined;
|
|
2619
|
+
/**
|
|
2620
|
+
* <p>The absolute path within the session at which the access point is mounted, for example <code>/mnt/efs</code>. Each mount path must be unique across all file system configurations in the session.</p>
|
|
2621
|
+
* @public
|
|
2622
|
+
*/
|
|
2623
|
+
mountPath: string | undefined;
|
|
2624
|
+
/**
|
|
2625
|
+
* <p>The Amazon Resource Name (ARN) of the Amazon Elastic File System (Amazon EFS) file system that owns the access point.</p>
|
|
2626
|
+
* @public
|
|
2627
|
+
*/
|
|
2628
|
+
fileSystemArn: string | undefined;
|
|
2629
|
+
}
|
|
2630
|
+
/**
|
|
2631
|
+
* <p>The configuration for mounting an Amazon Simple Storage Service (Amazon S3) Files access point that you own into a session.</p>
|
|
2632
|
+
* @public
|
|
2633
|
+
*/
|
|
2634
|
+
export interface S3FilesConfiguration {
|
|
2635
|
+
/**
|
|
2636
|
+
* <p>The Amazon Resource Name (ARN) of the Amazon Simple Storage Service (Amazon S3) Files access point to mount.</p>
|
|
2637
|
+
* @public
|
|
2638
|
+
*/
|
|
2639
|
+
accessPointArn: string | undefined;
|
|
2640
|
+
/**
|
|
2641
|
+
* <p>The absolute path within the session at which the access point is mounted, for example <code>/mnt/s3data</code>. Each mount path must be unique across all file system configurations in the session.</p>
|
|
2642
|
+
* @public
|
|
2643
|
+
*/
|
|
2644
|
+
mountPath: string | undefined;
|
|
2645
|
+
/**
|
|
2646
|
+
* <p>The Amazon Resource Name (ARN) of the Amazon Simple Storage Service (Amazon S3) Files file system that owns the access point.</p>
|
|
2647
|
+
* @public
|
|
2648
|
+
*/
|
|
2649
|
+
fileSystemArn: string | undefined;
|
|
2650
|
+
}
|
|
2651
|
+
/**
|
|
2652
|
+
* <p>Specifies a file system to mount into the session by providing exactly one of the following:</p> <ul> <li> <p> <code>s3FilesConfiguration</code> - Mounts an Amazon Simple Storage Service (Amazon S3) Files access point.</p> </li> <li> <p> <code>efsConfiguration</code> - Mounts an Amazon Elastic File System (Amazon EFS) access point.</p> </li> </ul>
|
|
2653
|
+
* @public
|
|
2654
|
+
*/
|
|
2655
|
+
export type ToolsFileSystemConfiguration = ToolsFileSystemConfiguration.EfsConfigurationMember | ToolsFileSystemConfiguration.S3FilesConfigurationMember | ToolsFileSystemConfiguration.$UnknownMember;
|
|
2656
|
+
/**
|
|
2657
|
+
* @public
|
|
2658
|
+
*/
|
|
2659
|
+
export declare namespace ToolsFileSystemConfiguration {
|
|
2660
|
+
/**
|
|
2661
|
+
* <p>The configuration for mounting your own Amazon Simple Storage Service (Amazon S3) Files access point into the session.</p>
|
|
2662
|
+
* @public
|
|
2663
|
+
*/
|
|
2664
|
+
interface S3FilesConfigurationMember {
|
|
2665
|
+
s3FilesConfiguration: S3FilesConfiguration;
|
|
2666
|
+
efsConfiguration?: never;
|
|
2667
|
+
$unknown?: never;
|
|
2668
|
+
}
|
|
2669
|
+
/**
|
|
2670
|
+
* <p>The configuration for mounting your own Amazon Elastic File System (Amazon EFS) access point into the session.</p>
|
|
2671
|
+
* @public
|
|
2672
|
+
*/
|
|
2673
|
+
interface EfsConfigurationMember {
|
|
2674
|
+
s3FilesConfiguration?: never;
|
|
2675
|
+
efsConfiguration: EfsConfiguration;
|
|
2676
|
+
$unknown?: never;
|
|
2677
|
+
}
|
|
2678
|
+
/**
|
|
2679
|
+
* @public
|
|
2680
|
+
*/
|
|
2681
|
+
interface $UnknownMember {
|
|
2682
|
+
s3FilesConfiguration?: never;
|
|
2683
|
+
efsConfiguration?: never;
|
|
2684
|
+
$unknown: [string, any];
|
|
2685
|
+
}
|
|
2686
|
+
/**
|
|
2687
|
+
* @deprecated unused in schema-serde mode.
|
|
2688
|
+
*
|
|
2689
|
+
*/
|
|
2690
|
+
interface Visitor<T> {
|
|
2691
|
+
s3FilesConfiguration: (value: S3FilesConfiguration) => T;
|
|
2692
|
+
efsConfiguration: (value: EfsConfiguration) => T;
|
|
2693
|
+
_: (name: string, value: any) => T;
|
|
2694
|
+
}
|
|
2695
|
+
}
|
|
2609
2696
|
/**
|
|
2610
2697
|
* <p>The network configuration for a browser. This structure defines how the browser connects to the network.</p>
|
|
2611
2698
|
* @public
|
|
@@ -2682,6 +2769,11 @@ export interface CreateBrowserRequest {
|
|
|
2682
2769
|
* @public
|
|
2683
2770
|
*/
|
|
2684
2771
|
certificates?: Certificate[] | undefined;
|
|
2772
|
+
/**
|
|
2773
|
+
* <p>The file system configurations to mount into the browser. Use these configurations to mount your own Amazon Simple Storage Service (Amazon S3) Files or Amazon Elastic File System (Amazon EFS) access points. Your sessions can then access your data. If you don't specify this field, no file systems are mounted.</p>
|
|
2774
|
+
* @public
|
|
2775
|
+
*/
|
|
2776
|
+
filesystemConfigurations?: ToolsFileSystemConfiguration[] | undefined;
|
|
2685
2777
|
/**
|
|
2686
2778
|
* <p>A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, Amazon Bedrock AgentCore ignores the request but does not return an error.</p>
|
|
2687
2779
|
* @public
|
|
@@ -2828,6 +2920,11 @@ export interface GetBrowserResponse {
|
|
|
2828
2920
|
* @public
|
|
2829
2921
|
*/
|
|
2830
2922
|
certificates?: Certificate[] | undefined;
|
|
2923
|
+
/**
|
|
2924
|
+
* <p>The file system configurations mounted into the browser. Each entry describes an access point and its mount path.</p>
|
|
2925
|
+
* @public
|
|
2926
|
+
*/
|
|
2927
|
+
filesystemConfigurations?: ToolsFileSystemConfiguration[] | undefined;
|
|
2831
2928
|
/**
|
|
2832
2929
|
* <p>The current status of the browser.</p>
|
|
2833
2930
|
* @public
|
|
@@ -2970,6 +3067,11 @@ export interface CreateCodeInterpreterRequest {
|
|
|
2970
3067
|
* @public
|
|
2971
3068
|
*/
|
|
2972
3069
|
certificates?: Certificate[] | undefined;
|
|
3070
|
+
/**
|
|
3071
|
+
* <p>The file system configurations to mount into the code interpreter. Use these configurations to mount your own Amazon Simple Storage Service (Amazon S3) Files or Amazon Elastic File System (Amazon EFS) access points. Your sessions can then access your data. If you don't specify this field, no file systems are mounted.</p>
|
|
3072
|
+
* @public
|
|
3073
|
+
*/
|
|
3074
|
+
filesystemConfigurations?: ToolsFileSystemConfiguration[] | undefined;
|
|
2973
3075
|
/**
|
|
2974
3076
|
* <p>A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, Amazon Bedrock AgentCore ignores the request but does not return an error.</p>
|
|
2975
3077
|
* @public
|
|
@@ -3095,6 +3197,11 @@ export interface GetCodeInterpreterResponse {
|
|
|
3095
3197
|
* @public
|
|
3096
3198
|
*/
|
|
3097
3199
|
certificates?: Certificate[] | undefined;
|
|
3200
|
+
/**
|
|
3201
|
+
* <p>The file system configurations mounted into the code interpreter. Each entry describes an access point and its mount path.</p>
|
|
3202
|
+
* @public
|
|
3203
|
+
*/
|
|
3204
|
+
filesystemConfigurations?: ToolsFileSystemConfiguration[] | undefined;
|
|
3098
3205
|
/**
|
|
3099
3206
|
* <p>The reason for failure if the code interpreter is in a failed state.</p>
|
|
3100
3207
|
* @public
|
|
@@ -7892,133 +7999,6 @@ export interface HarnessLiteLlmModelConfig {
|
|
|
7892
7999
|
*/
|
|
7893
8000
|
additionalParams?: __DocumentType | undefined;
|
|
7894
8001
|
}
|
|
7895
|
-
/**
|
|
7896
|
-
* <p>Configuration for an OpenAI model provider. Requires an API key stored in AgentCore Identity.</p>
|
|
7897
|
-
* @public
|
|
7898
|
-
*/
|
|
7899
|
-
export interface HarnessOpenAiModelConfig {
|
|
7900
|
-
/**
|
|
7901
|
-
* <p>The OpenAI model ID.</p>
|
|
7902
|
-
* @public
|
|
7903
|
-
*/
|
|
7904
|
-
modelId: string | undefined;
|
|
7905
|
-
/**
|
|
7906
|
-
* <p>The ARN of your OpenAI API key on AgentCore Identity.</p>
|
|
7907
|
-
* @public
|
|
7908
|
-
*/
|
|
7909
|
-
apiKeyArn: string | undefined;
|
|
7910
|
-
/**
|
|
7911
|
-
* <p>The maximum number of tokens to allow in the generated response per model call.</p>
|
|
7912
|
-
* @public
|
|
7913
|
-
*/
|
|
7914
|
-
maxTokens?: number | undefined;
|
|
7915
|
-
/**
|
|
7916
|
-
* <p>The temperature to set when calling the model.</p>
|
|
7917
|
-
* @public
|
|
7918
|
-
*/
|
|
7919
|
-
temperature?: number | undefined;
|
|
7920
|
-
/**
|
|
7921
|
-
* <p>The topP set when calling the model.</p>
|
|
7922
|
-
* @public
|
|
7923
|
-
*/
|
|
7924
|
-
topP?: number | undefined;
|
|
7925
|
-
/**
|
|
7926
|
-
* <p>The API format to use when calling the OpenAI provider.</p>
|
|
7927
|
-
* @public
|
|
7928
|
-
*/
|
|
7929
|
-
apiFormat?: HarnessOpenAiApiFormat | undefined;
|
|
7930
|
-
/**
|
|
7931
|
-
* <p>Provider-specific parameters passed through to the model provider unchanged.</p>
|
|
7932
|
-
* @public
|
|
7933
|
-
*/
|
|
7934
|
-
additionalParams?: __DocumentType | undefined;
|
|
7935
|
-
}
|
|
7936
|
-
/**
|
|
7937
|
-
* <p>Specification of which model to use.</p>
|
|
7938
|
-
* @public
|
|
7939
|
-
*/
|
|
7940
|
-
export type HarnessModelConfiguration = HarnessModelConfiguration.BedrockModelConfigMember | HarnessModelConfiguration.GeminiModelConfigMember | HarnessModelConfiguration.LiteLlmModelConfigMember | HarnessModelConfiguration.OpenAiModelConfigMember | HarnessModelConfiguration.$UnknownMember;
|
|
7941
|
-
/**
|
|
7942
|
-
* @public
|
|
7943
|
-
*/
|
|
7944
|
-
export declare namespace HarnessModelConfiguration {
|
|
7945
|
-
/**
|
|
7946
|
-
* <p>Configuration for an Amazon Bedrock model.</p>
|
|
7947
|
-
* @public
|
|
7948
|
-
*/
|
|
7949
|
-
interface BedrockModelConfigMember {
|
|
7950
|
-
bedrockModelConfig: HarnessBedrockModelConfig;
|
|
7951
|
-
openAiModelConfig?: never;
|
|
7952
|
-
geminiModelConfig?: never;
|
|
7953
|
-
liteLlmModelConfig?: never;
|
|
7954
|
-
$unknown?: never;
|
|
7955
|
-
}
|
|
7956
|
-
/**
|
|
7957
|
-
* <p>Configuration for an OpenAI model.</p>
|
|
7958
|
-
* @public
|
|
7959
|
-
*/
|
|
7960
|
-
interface OpenAiModelConfigMember {
|
|
7961
|
-
bedrockModelConfig?: never;
|
|
7962
|
-
openAiModelConfig: HarnessOpenAiModelConfig;
|
|
7963
|
-
geminiModelConfig?: never;
|
|
7964
|
-
liteLlmModelConfig?: never;
|
|
7965
|
-
$unknown?: never;
|
|
7966
|
-
}
|
|
7967
|
-
/**
|
|
7968
|
-
* <p>Configuration for a Google Gemini model.</p>
|
|
7969
|
-
* @public
|
|
7970
|
-
*/
|
|
7971
|
-
interface GeminiModelConfigMember {
|
|
7972
|
-
bedrockModelConfig?: never;
|
|
7973
|
-
openAiModelConfig?: never;
|
|
7974
|
-
geminiModelConfig: HarnessGeminiModelConfig;
|
|
7975
|
-
liteLlmModelConfig?: never;
|
|
7976
|
-
$unknown?: never;
|
|
7977
|
-
}
|
|
7978
|
-
/**
|
|
7979
|
-
* <p>The LiteLLM model configuration for connecting to third-party model providers.</p>
|
|
7980
|
-
* @public
|
|
7981
|
-
*/
|
|
7982
|
-
interface LiteLlmModelConfigMember {
|
|
7983
|
-
bedrockModelConfig?: never;
|
|
7984
|
-
openAiModelConfig?: never;
|
|
7985
|
-
geminiModelConfig?: never;
|
|
7986
|
-
liteLlmModelConfig: HarnessLiteLlmModelConfig;
|
|
7987
|
-
$unknown?: never;
|
|
7988
|
-
}
|
|
7989
|
-
/**
|
|
7990
|
-
* @public
|
|
7991
|
-
*/
|
|
7992
|
-
interface $UnknownMember {
|
|
7993
|
-
bedrockModelConfig?: never;
|
|
7994
|
-
openAiModelConfig?: never;
|
|
7995
|
-
geminiModelConfig?: never;
|
|
7996
|
-
liteLlmModelConfig?: never;
|
|
7997
|
-
$unknown: [string, any];
|
|
7998
|
-
}
|
|
7999
|
-
/**
|
|
8000
|
-
* @deprecated unused in schema-serde mode.
|
|
8001
|
-
*
|
|
8002
|
-
*/
|
|
8003
|
-
interface Visitor<T> {
|
|
8004
|
-
bedrockModelConfig: (value: HarnessBedrockModelConfig) => T;
|
|
8005
|
-
openAiModelConfig: (value: HarnessOpenAiModelConfig) => T;
|
|
8006
|
-
geminiModelConfig: (value: HarnessGeminiModelConfig) => T;
|
|
8007
|
-
liteLlmModelConfig: (value: HarnessLiteLlmModelConfig) => T;
|
|
8008
|
-
_: (name: string, value: any) => T;
|
|
8009
|
-
}
|
|
8010
|
-
}
|
|
8011
|
-
/**
|
|
8012
|
-
* <p>Passed to show that AWS Skills should be included.</p>
|
|
8013
|
-
* @public
|
|
8014
|
-
*/
|
|
8015
|
-
export interface HarnessSkillAwsSkillsSource {
|
|
8016
|
-
/**
|
|
8017
|
-
* <p>Optionally filter allowed skills with glob syntax, e.g., ['core-skills/*'].</p>
|
|
8018
|
-
* @public
|
|
8019
|
-
*/
|
|
8020
|
-
paths?: string[] | undefined;
|
|
8021
|
-
}
|
|
8022
8002
|
/**
|
|
8023
8003
|
* @public
|
|
8024
8004
|
*/
|
|
@@ -1,6 +1,133 @@
|
|
|
1
1
|
import type { DocumentType as __DocumentType } from "@smithy/types";
|
|
2
|
-
import type { ActorTokenContentType, ClientAuthenticationMethodType, ClusteringFrequency, ContentLevel, ContentType, CredentialProviderVendorType, DescriptorType, EnforcementMode, ExtractionType, FilterOperator, FindingType, HarnessStatus, HarnessToolType, HarnessTruncationStrategy, MemoryStatus, MemoryStrategyStatus, MemoryStrategyType, MemoryView, MetadataValueType, OnBehalfOfTokenExchangeGrantTypeType, OnlineEvaluationConfigStatus, OnlineEvaluationExecutionStatus, OverrideType, PaymentConnectorStatus, PaymentConnectorType, PaymentCredentialProviderVendorType, PaymentManagerStatus, PaymentsAuthorizerType, PolicyEngineStatus, PolicyGenerationStatus, PolicyStatus, PolicyValidationMode, RegistryRecordCredentialProviderType, RegistryRecordOAuthGrantType, RegistryRecordStatus, SecretSourceType, Status, SynchronizationType } from "./enums";
|
|
3
|
-
import type { A2aDescriptor, AgentSkillsDescriptor, AuthorizerConfiguration, FilesystemConfiguration, HarnessEnvironmentArtifact, HarnessEnvironmentProviderRequest,
|
|
2
|
+
import type { ActorTokenContentType, ClientAuthenticationMethodType, ClusteringFrequency, ContentLevel, ContentType, CredentialProviderVendorType, DescriptorType, EnforcementMode, ExtractionType, FilterOperator, FindingType, HarnessOpenAiApiFormat, HarnessStatus, HarnessToolType, HarnessTruncationStrategy, MemoryStatus, MemoryStrategyStatus, MemoryStrategyType, MemoryView, MetadataValueType, OnBehalfOfTokenExchangeGrantTypeType, OnlineEvaluationConfigStatus, OnlineEvaluationExecutionStatus, OverrideType, PaymentConnectorStatus, PaymentConnectorType, PaymentCredentialProviderVendorType, PaymentManagerStatus, PaymentsAuthorizerType, PolicyEngineStatus, PolicyGenerationStatus, PolicyStatus, PolicyValidationMode, RegistryRecordCredentialProviderType, RegistryRecordOAuthGrantType, RegistryRecordStatus, SecretSourceType, Status, SynchronizationType } from "./enums";
|
|
3
|
+
import type { A2aDescriptor, AgentSkillsDescriptor, AuthorizerConfiguration, FilesystemConfiguration, HarnessBedrockModelConfig, HarnessEnvironmentArtifact, HarnessEnvironmentProviderRequest, HarnessGeminiModelConfig, HarnessLiteLlmModelConfig, HarnessMemoryConfiguration, LifecycleConfiguration, NetworkConfiguration, OAuthCredentialProvider, PrivateEndpoint, PrivateEndpointOverride, Secret, SecretReference, Unit, WorkloadIdentityDetails } from "./models_0";
|
|
4
|
+
/**
|
|
5
|
+
* <p>Configuration for an OpenAI model provider. Requires an API key stored in AgentCore Identity.</p>
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export interface HarnessOpenAiModelConfig {
|
|
9
|
+
/**
|
|
10
|
+
* <p>The OpenAI model ID.</p>
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
modelId: string | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* <p>The ARN of your OpenAI API key on AgentCore Identity.</p>
|
|
16
|
+
* @public
|
|
17
|
+
*/
|
|
18
|
+
apiKeyArn: string | undefined;
|
|
19
|
+
/**
|
|
20
|
+
* <p>The maximum number of tokens to allow in the generated response per model call.</p>
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
23
|
+
maxTokens?: number | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* <p>The temperature to set when calling the model.</p>
|
|
26
|
+
* @public
|
|
27
|
+
*/
|
|
28
|
+
temperature?: number | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* <p>The topP set when calling the model.</p>
|
|
31
|
+
* @public
|
|
32
|
+
*/
|
|
33
|
+
topP?: number | undefined;
|
|
34
|
+
/**
|
|
35
|
+
* <p>The API format to use when calling the OpenAI provider.</p>
|
|
36
|
+
* @public
|
|
37
|
+
*/
|
|
38
|
+
apiFormat?: HarnessOpenAiApiFormat | undefined;
|
|
39
|
+
/**
|
|
40
|
+
* <p>Provider-specific parameters passed through to the model provider unchanged.</p>
|
|
41
|
+
* @public
|
|
42
|
+
*/
|
|
43
|
+
additionalParams?: __DocumentType | undefined;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* <p>Specification of which model to use.</p>
|
|
47
|
+
* @public
|
|
48
|
+
*/
|
|
49
|
+
export type HarnessModelConfiguration = HarnessModelConfiguration.BedrockModelConfigMember | HarnessModelConfiguration.GeminiModelConfigMember | HarnessModelConfiguration.LiteLlmModelConfigMember | HarnessModelConfiguration.OpenAiModelConfigMember | HarnessModelConfiguration.$UnknownMember;
|
|
50
|
+
/**
|
|
51
|
+
* @public
|
|
52
|
+
*/
|
|
53
|
+
export declare namespace HarnessModelConfiguration {
|
|
54
|
+
/**
|
|
55
|
+
* <p>Configuration for an Amazon Bedrock model.</p>
|
|
56
|
+
* @public
|
|
57
|
+
*/
|
|
58
|
+
interface BedrockModelConfigMember {
|
|
59
|
+
bedrockModelConfig: HarnessBedrockModelConfig;
|
|
60
|
+
openAiModelConfig?: never;
|
|
61
|
+
geminiModelConfig?: never;
|
|
62
|
+
liteLlmModelConfig?: never;
|
|
63
|
+
$unknown?: never;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* <p>Configuration for an OpenAI model.</p>
|
|
67
|
+
* @public
|
|
68
|
+
*/
|
|
69
|
+
interface OpenAiModelConfigMember {
|
|
70
|
+
bedrockModelConfig?: never;
|
|
71
|
+
openAiModelConfig: HarnessOpenAiModelConfig;
|
|
72
|
+
geminiModelConfig?: never;
|
|
73
|
+
liteLlmModelConfig?: never;
|
|
74
|
+
$unknown?: never;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* <p>Configuration for a Google Gemini model.</p>
|
|
78
|
+
* @public
|
|
79
|
+
*/
|
|
80
|
+
interface GeminiModelConfigMember {
|
|
81
|
+
bedrockModelConfig?: never;
|
|
82
|
+
openAiModelConfig?: never;
|
|
83
|
+
geminiModelConfig: HarnessGeminiModelConfig;
|
|
84
|
+
liteLlmModelConfig?: never;
|
|
85
|
+
$unknown?: never;
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* <p>The LiteLLM model configuration for connecting to third-party model providers.</p>
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
interface LiteLlmModelConfigMember {
|
|
92
|
+
bedrockModelConfig?: never;
|
|
93
|
+
openAiModelConfig?: never;
|
|
94
|
+
geminiModelConfig?: never;
|
|
95
|
+
liteLlmModelConfig: HarnessLiteLlmModelConfig;
|
|
96
|
+
$unknown?: never;
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* @public
|
|
100
|
+
*/
|
|
101
|
+
interface $UnknownMember {
|
|
102
|
+
bedrockModelConfig?: never;
|
|
103
|
+
openAiModelConfig?: never;
|
|
104
|
+
geminiModelConfig?: never;
|
|
105
|
+
liteLlmModelConfig?: never;
|
|
106
|
+
$unknown: [string, any];
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* @deprecated unused in schema-serde mode.
|
|
110
|
+
*
|
|
111
|
+
*/
|
|
112
|
+
interface Visitor<T> {
|
|
113
|
+
bedrockModelConfig: (value: HarnessBedrockModelConfig) => T;
|
|
114
|
+
openAiModelConfig: (value: HarnessOpenAiModelConfig) => T;
|
|
115
|
+
geminiModelConfig: (value: HarnessGeminiModelConfig) => T;
|
|
116
|
+
liteLlmModelConfig: (value: HarnessLiteLlmModelConfig) => T;
|
|
117
|
+
_: (name: string, value: any) => T;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* <p>Passed to show that AWS Skills should be included.</p>
|
|
122
|
+
* @public
|
|
123
|
+
*/
|
|
124
|
+
export interface HarnessSkillAwsSkillsSource {
|
|
125
|
+
/**
|
|
126
|
+
* <p>Optionally filter allowed skills with glob syntax, e.g., ['core-skills/*'].</p>
|
|
127
|
+
* @public
|
|
128
|
+
*/
|
|
129
|
+
paths?: string[] | undefined;
|
|
130
|
+
}
|
|
4
131
|
/**
|
|
5
132
|
* <p>Authentication configuration for accessing a private git repository.</p>
|
|
6
133
|
* @public
|
|
@@ -8714,169 +8841,3 @@ export interface GetRegistryRecordRequest {
|
|
|
8714
8841
|
*/
|
|
8715
8842
|
recordId: string | undefined;
|
|
8716
8843
|
}
|
|
8717
|
-
/**
|
|
8718
|
-
* @public
|
|
8719
|
-
*/
|
|
8720
|
-
export interface GetRegistryRecordResponse {
|
|
8721
|
-
/**
|
|
8722
|
-
* <p>The Amazon Resource Name (ARN) of the registry that contains the record.</p>
|
|
8723
|
-
* @public
|
|
8724
|
-
*/
|
|
8725
|
-
registryArn: string | undefined;
|
|
8726
|
-
/**
|
|
8727
|
-
* <p>The Amazon Resource Name (ARN) of the registry record.</p>
|
|
8728
|
-
* @public
|
|
8729
|
-
*/
|
|
8730
|
-
recordArn: string | undefined;
|
|
8731
|
-
/**
|
|
8732
|
-
* <p>The unique identifier of the registry record.</p>
|
|
8733
|
-
* @public
|
|
8734
|
-
*/
|
|
8735
|
-
recordId: string | undefined;
|
|
8736
|
-
/**
|
|
8737
|
-
* <p>The name of the registry record.</p>
|
|
8738
|
-
* @public
|
|
8739
|
-
*/
|
|
8740
|
-
name: string | undefined;
|
|
8741
|
-
/**
|
|
8742
|
-
* <p>The description of the registry record.</p>
|
|
8743
|
-
* @public
|
|
8744
|
-
*/
|
|
8745
|
-
description?: string | undefined;
|
|
8746
|
-
/**
|
|
8747
|
-
* <p>The descriptor type of the registry record. Possible values are <code>MCP</code>, <code>A2A</code>, <code>CUSTOM</code>, and <code>AGENT_SKILLS</code>.</p>
|
|
8748
|
-
* @public
|
|
8749
|
-
*/
|
|
8750
|
-
descriptorType: DescriptorType | undefined;
|
|
8751
|
-
/**
|
|
8752
|
-
* <p>The descriptor-type-specific configuration containing the resource schema and metadata. For details, see the <code>Descriptors</code> data type.</p>
|
|
8753
|
-
* @public
|
|
8754
|
-
*/
|
|
8755
|
-
descriptors: Descriptors | undefined;
|
|
8756
|
-
/**
|
|
8757
|
-
* <p>The version of the registry record.</p>
|
|
8758
|
-
* @public
|
|
8759
|
-
*/
|
|
8760
|
-
recordVersion?: string | undefined;
|
|
8761
|
-
/**
|
|
8762
|
-
* <p>The current status of the registry record. Possible values include <code>CREATING</code>, <code>DRAFT</code>, <code>APPROVED</code>, <code>PENDING_APPROVAL</code>, <code>REJECTED</code>, <code>DEPRECATED</code>, <code>UPDATING</code>, <code>CREATE_FAILED</code>, and <code>UPDATE_FAILED</code>. A record transitions from <code>CREATING</code> to <code>DRAFT</code>, then to <code>PENDING_APPROVAL</code> (via <code>SubmitRegistryRecordForApproval</code>), and finally to <code>APPROVED</code> upon approval.</p>
|
|
8763
|
-
* @public
|
|
8764
|
-
*/
|
|
8765
|
-
status: RegistryRecordStatus | undefined;
|
|
8766
|
-
/**
|
|
8767
|
-
* <p>The timestamp when the registry record was created.</p>
|
|
8768
|
-
* @public
|
|
8769
|
-
*/
|
|
8770
|
-
createdAt: Date | undefined;
|
|
8771
|
-
/**
|
|
8772
|
-
* <p>The timestamp when the registry record was last updated.</p>
|
|
8773
|
-
* @public
|
|
8774
|
-
*/
|
|
8775
|
-
updatedAt: Date | undefined;
|
|
8776
|
-
/**
|
|
8777
|
-
* <p>The reason for the current status, typically set when the status is a failure state.</p>
|
|
8778
|
-
* @public
|
|
8779
|
-
*/
|
|
8780
|
-
statusReason?: string | undefined;
|
|
8781
|
-
/**
|
|
8782
|
-
* <p>The type of synchronization used for this record.</p>
|
|
8783
|
-
* @public
|
|
8784
|
-
*/
|
|
8785
|
-
synchronizationType?: SynchronizationType | undefined;
|
|
8786
|
-
/**
|
|
8787
|
-
* <p>The configuration for synchronizing registry record metadata from an external source.</p>
|
|
8788
|
-
* @public
|
|
8789
|
-
*/
|
|
8790
|
-
synchronizationConfiguration?: SynchronizationConfiguration | undefined;
|
|
8791
|
-
}
|
|
8792
|
-
/**
|
|
8793
|
-
* @public
|
|
8794
|
-
*/
|
|
8795
|
-
export interface ListRegistryRecordsRequest {
|
|
8796
|
-
/**
|
|
8797
|
-
* <p>The identifier of the registry to list records from. You can specify either the Amazon Resource Name (ARN) or the ID of the registry.</p>
|
|
8798
|
-
* @public
|
|
8799
|
-
*/
|
|
8800
|
-
registryId: string | undefined;
|
|
8801
|
-
/**
|
|
8802
|
-
* <p>The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the <code>nextToken</code> field when making another request to return the next batch of results.</p>
|
|
8803
|
-
* @public
|
|
8804
|
-
*/
|
|
8805
|
-
maxResults?: number | undefined;
|
|
8806
|
-
/**
|
|
8807
|
-
* <p>If the total number of results is greater than the <code>maxResults</code> value provided in the request, enter the token returned in the <code>nextToken</code> field in the response in this field to return the next batch of results.</p>
|
|
8808
|
-
* @public
|
|
8809
|
-
*/
|
|
8810
|
-
nextToken?: string | undefined;
|
|
8811
|
-
/**
|
|
8812
|
-
* <p>Filter registry records by name.</p>
|
|
8813
|
-
* @public
|
|
8814
|
-
*/
|
|
8815
|
-
name?: string | undefined;
|
|
8816
|
-
/**
|
|
8817
|
-
* <p>Filter registry records by their current status. Possible values include <code>CREATING</code>, <code>DRAFT</code>, <code>APPROVED</code>, <code>PENDING_APPROVAL</code>, <code>REJECTED</code>, <code>DEPRECATED</code>, <code>UPDATING</code>, <code>CREATE_FAILED</code>, and <code>UPDATE_FAILED</code>.</p>
|
|
8818
|
-
* @public
|
|
8819
|
-
*/
|
|
8820
|
-
status?: RegistryRecordStatus | undefined;
|
|
8821
|
-
/**
|
|
8822
|
-
* <p>Filter registry records by their descriptor type. Possible values are <code>MCP</code>, <code>A2A</code>, <code>CUSTOM</code>, and <code>AGENT_SKILLS</code>.</p>
|
|
8823
|
-
* @public
|
|
8824
|
-
*/
|
|
8825
|
-
descriptorType?: DescriptorType | undefined;
|
|
8826
|
-
}
|
|
8827
|
-
/**
|
|
8828
|
-
* <p>Contains summary information about a registry record.</p>
|
|
8829
|
-
* @public
|
|
8830
|
-
*/
|
|
8831
|
-
export interface RegistryRecordSummary {
|
|
8832
|
-
/**
|
|
8833
|
-
* <p>The Amazon Resource Name (ARN) of the registry that contains the record.</p>
|
|
8834
|
-
* @public
|
|
8835
|
-
*/
|
|
8836
|
-
registryArn: string | undefined;
|
|
8837
|
-
/**
|
|
8838
|
-
* <p>The Amazon Resource Name (ARN) of the registry record.</p>
|
|
8839
|
-
* @public
|
|
8840
|
-
*/
|
|
8841
|
-
recordArn: string | undefined;
|
|
8842
|
-
/**
|
|
8843
|
-
* <p>The unique identifier of the registry record.</p>
|
|
8844
|
-
* @public
|
|
8845
|
-
*/
|
|
8846
|
-
recordId: string | undefined;
|
|
8847
|
-
/**
|
|
8848
|
-
* <p>The name of the registry record.</p>
|
|
8849
|
-
* @public
|
|
8850
|
-
*/
|
|
8851
|
-
name: string | undefined;
|
|
8852
|
-
/**
|
|
8853
|
-
* <p>The description of the registry record.</p>
|
|
8854
|
-
* @public
|
|
8855
|
-
*/
|
|
8856
|
-
description?: string | undefined;
|
|
8857
|
-
/**
|
|
8858
|
-
* <p>The descriptor type of the registry record. Possible values are <code>MCP</code>, <code>A2A</code>, <code>CUSTOM</code>, and <code>AGENT_SKILLS</code>.</p>
|
|
8859
|
-
* @public
|
|
8860
|
-
*/
|
|
8861
|
-
descriptorType: DescriptorType | undefined;
|
|
8862
|
-
/**
|
|
8863
|
-
* <p>The version of the registry record.</p>
|
|
8864
|
-
* @public
|
|
8865
|
-
*/
|
|
8866
|
-
recordVersion: string | undefined;
|
|
8867
|
-
/**
|
|
8868
|
-
* <p>The current status of the registry record. Possible values include <code>CREATING</code>, <code>DRAFT</code>, <code>APPROVED</code>, <code>PENDING_APPROVAL</code>, <code>REJECTED</code>, <code>DEPRECATED</code>, <code>UPDATING</code>, <code>CREATE_FAILED</code>, and <code>UPDATE_FAILED</code>.</p>
|
|
8869
|
-
* @public
|
|
8870
|
-
*/
|
|
8871
|
-
status: RegistryRecordStatus | undefined;
|
|
8872
|
-
/**
|
|
8873
|
-
* <p>The timestamp when the registry record was created.</p>
|
|
8874
|
-
* @public
|
|
8875
|
-
*/
|
|
8876
|
-
createdAt: Date | undefined;
|
|
8877
|
-
/**
|
|
8878
|
-
* <p>The timestamp when the registry record was last updated.</p>
|
|
8879
|
-
* @public
|
|
8880
|
-
*/
|
|
8881
|
-
updatedAt: Date | undefined;
|
|
8882
|
-
}
|