import { type HostHeaderInputConfig, type HostHeaderResolvedConfig, type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/core/client"; import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/core/client"; import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/core/config"; import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/core/endpoints"; import { type HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols"; import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/core/retry"; import type { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types"; import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider"; import type { BatchDeleteAdvancedPromptOptimizationJobCommandInput, BatchDeleteAdvancedPromptOptimizationJobCommandOutput } from "./commands/BatchDeleteAdvancedPromptOptimizationJobCommand"; import type { BatchDeleteEvaluationJobCommandInput, BatchDeleteEvaluationJobCommandOutput } from "./commands/BatchDeleteEvaluationJobCommand"; import type { CancelAutomatedReasoningPolicyBuildWorkflowCommandInput, CancelAutomatedReasoningPolicyBuildWorkflowCommandOutput } from "./commands/CancelAutomatedReasoningPolicyBuildWorkflowCommand"; import type { CreateAdvancedPromptOptimizationJobCommandInput, CreateAdvancedPromptOptimizationJobCommandOutput } from "./commands/CreateAdvancedPromptOptimizationJobCommand"; import type { CreateAutomatedReasoningPolicyCommandInput, CreateAutomatedReasoningPolicyCommandOutput } from "./commands/CreateAutomatedReasoningPolicyCommand"; import type { CreateAutomatedReasoningPolicyTestCaseCommandInput, CreateAutomatedReasoningPolicyTestCaseCommandOutput } from "./commands/CreateAutomatedReasoningPolicyTestCaseCommand"; import type { CreateAutomatedReasoningPolicyVersionCommandInput, CreateAutomatedReasoningPolicyVersionCommandOutput } from "./commands/CreateAutomatedReasoningPolicyVersionCommand"; import type { CreateCustomModelCommandInput, CreateCustomModelCommandOutput } from "./commands/CreateCustomModelCommand"; import type { CreateCustomModelDeploymentCommandInput, CreateCustomModelDeploymentCommandOutput } from "./commands/CreateCustomModelDeploymentCommand"; import type { CreateEvaluationJobCommandInput, CreateEvaluationJobCommandOutput } from "./commands/CreateEvaluationJobCommand"; import type { CreateFoundationModelAgreementCommandInput, CreateFoundationModelAgreementCommandOutput } from "./commands/CreateFoundationModelAgreementCommand"; import type { CreateGuardrailCommandInput, CreateGuardrailCommandOutput } from "./commands/CreateGuardrailCommand"; import type { CreateGuardrailVersionCommandInput, CreateGuardrailVersionCommandOutput } from "./commands/CreateGuardrailVersionCommand"; import type { CreateInferenceProfileCommandInput, CreateInferenceProfileCommandOutput } from "./commands/CreateInferenceProfileCommand"; import type { CreateMarketplaceModelEndpointCommandInput, CreateMarketplaceModelEndpointCommandOutput } from "./commands/CreateMarketplaceModelEndpointCommand"; import type { CreateModelCopyJobCommandInput, CreateModelCopyJobCommandOutput } from "./commands/CreateModelCopyJobCommand"; import type { CreateModelCustomizationJobCommandInput, CreateModelCustomizationJobCommandOutput } from "./commands/CreateModelCustomizationJobCommand"; import type { CreateModelImportJobCommandInput, CreateModelImportJobCommandOutput } from "./commands/CreateModelImportJobCommand"; import type { CreateModelInvocationJobCommandInput, CreateModelInvocationJobCommandOutput } from "./commands/CreateModelInvocationJobCommand"; import type { CreatePromptRouterCommandInput, CreatePromptRouterCommandOutput } from "./commands/CreatePromptRouterCommand"; import type { CreateProvisionedModelThroughputCommandInput, CreateProvisionedModelThroughputCommandOutput } from "./commands/CreateProvisionedModelThroughputCommand"; import type { DeleteAutomatedReasoningPolicyBuildWorkflowCommandInput, DeleteAutomatedReasoningPolicyBuildWorkflowCommandOutput } from "./commands/DeleteAutomatedReasoningPolicyBuildWorkflowCommand"; import type { DeleteAutomatedReasoningPolicyCommandInput, DeleteAutomatedReasoningPolicyCommandOutput } from "./commands/DeleteAutomatedReasoningPolicyCommand"; import type { DeleteAutomatedReasoningPolicyTestCaseCommandInput, DeleteAutomatedReasoningPolicyTestCaseCommandOutput } from "./commands/DeleteAutomatedReasoningPolicyTestCaseCommand"; import type { DeleteCustomModelCommandInput, DeleteCustomModelCommandOutput } from "./commands/DeleteCustomModelCommand"; import type { DeleteCustomModelDeploymentCommandInput, DeleteCustomModelDeploymentCommandOutput } from "./commands/DeleteCustomModelDeploymentCommand"; import type { DeleteEnforcedGuardrailConfigurationCommandInput, DeleteEnforcedGuardrailConfigurationCommandOutput } from "./commands/DeleteEnforcedGuardrailConfigurationCommand"; import type { DeleteFoundationModelAgreementCommandInput, DeleteFoundationModelAgreementCommandOutput } from "./commands/DeleteFoundationModelAgreementCommand"; import type { DeleteGuardrailCommandInput, DeleteGuardrailCommandOutput } from "./commands/DeleteGuardrailCommand"; import type { DeleteImportedModelCommandInput, DeleteImportedModelCommandOutput } from "./commands/DeleteImportedModelCommand"; import type { DeleteInferenceProfileCommandInput, DeleteInferenceProfileCommandOutput } from "./commands/DeleteInferenceProfileCommand"; import type { DeleteMarketplaceModelEndpointCommandInput, DeleteMarketplaceModelEndpointCommandOutput } from "./commands/DeleteMarketplaceModelEndpointCommand"; import type { DeleteModelInvocationLoggingConfigurationCommandInput, DeleteModelInvocationLoggingConfigurationCommandOutput } from "./commands/DeleteModelInvocationLoggingConfigurationCommand"; import type { DeletePromptRouterCommandInput, DeletePromptRouterCommandOutput } from "./commands/DeletePromptRouterCommand"; import type { DeleteProvisionedModelThroughputCommandInput, DeleteProvisionedModelThroughputCommandOutput } from "./commands/DeleteProvisionedModelThroughputCommand"; import type { DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput } from "./commands/DeleteResourcePolicyCommand"; import type { DeregisterMarketplaceModelEndpointCommandInput, DeregisterMarketplaceModelEndpointCommandOutput } from "./commands/DeregisterMarketplaceModelEndpointCommand"; import type { ExportAutomatedReasoningPolicyVersionCommandInput, ExportAutomatedReasoningPolicyVersionCommandOutput } from "./commands/ExportAutomatedReasoningPolicyVersionCommand"; import type { GetAccountDataRetentionCommandInput, GetAccountDataRetentionCommandOutput } from "./commands/GetAccountDataRetentionCommand"; import type { GetAdvancedPromptOptimizationJobCommandInput, GetAdvancedPromptOptimizationJobCommandOutput } from "./commands/GetAdvancedPromptOptimizationJobCommand"; import type { GetAutomatedReasoningPolicyAnnotationsCommandInput, GetAutomatedReasoningPolicyAnnotationsCommandOutput } from "./commands/GetAutomatedReasoningPolicyAnnotationsCommand"; import type { GetAutomatedReasoningPolicyBuildWorkflowCommandInput, GetAutomatedReasoningPolicyBuildWorkflowCommandOutput } from "./commands/GetAutomatedReasoningPolicyBuildWorkflowCommand"; import type { GetAutomatedReasoningPolicyBuildWorkflowResultAssetsCommandInput, GetAutomatedReasoningPolicyBuildWorkflowResultAssetsCommandOutput } from "./commands/GetAutomatedReasoningPolicyBuildWorkflowResultAssetsCommand"; import type { GetAutomatedReasoningPolicyCommandInput, GetAutomatedReasoningPolicyCommandOutput } from "./commands/GetAutomatedReasoningPolicyCommand"; import type { GetAutomatedReasoningPolicyNextScenarioCommandInput, GetAutomatedReasoningPolicyNextScenarioCommandOutput } from "./commands/GetAutomatedReasoningPolicyNextScenarioCommand"; import type { GetAutomatedReasoningPolicyTestCaseCommandInput, GetAutomatedReasoningPolicyTestCaseCommandOutput } from "./commands/GetAutomatedReasoningPolicyTestCaseCommand"; import type { GetAutomatedReasoningPolicyTestResultCommandInput, GetAutomatedReasoningPolicyTestResultCommandOutput } from "./commands/GetAutomatedReasoningPolicyTestResultCommand"; import type { GetCustomModelCommandInput, GetCustomModelCommandOutput } from "./commands/GetCustomModelCommand"; import type { GetCustomModelDeploymentCommandInput, GetCustomModelDeploymentCommandOutput } from "./commands/GetCustomModelDeploymentCommand"; import type { GetEvaluationJobCommandInput, GetEvaluationJobCommandOutput } from "./commands/GetEvaluationJobCommand"; import type { GetFoundationModelAvailabilityCommandInput, GetFoundationModelAvailabilityCommandOutput } from "./commands/GetFoundationModelAvailabilityCommand"; import type { GetFoundationModelCommandInput, GetFoundationModelCommandOutput } from "./commands/GetFoundationModelCommand"; import type { GetGuardrailCommandInput, GetGuardrailCommandOutput } from "./commands/GetGuardrailCommand"; import type { GetImportedModelCommandInput, GetImportedModelCommandOutput } from "./commands/GetImportedModelCommand"; import type { GetInferenceProfileCommandInput, GetInferenceProfileCommandOutput } from "./commands/GetInferenceProfileCommand"; import type { GetMarketplaceModelEndpointCommandInput, GetMarketplaceModelEndpointCommandOutput } from "./commands/GetMarketplaceModelEndpointCommand"; import type { GetModelCopyJobCommandInput, GetModelCopyJobCommandOutput } from "./commands/GetModelCopyJobCommand"; import type { GetModelCustomizationJobCommandInput, GetModelCustomizationJobCommandOutput } from "./commands/GetModelCustomizationJobCommand"; import type { GetModelImportJobCommandInput, GetModelImportJobCommandOutput } from "./commands/GetModelImportJobCommand"; import type { GetModelInvocationJobCommandInput, GetModelInvocationJobCommandOutput } from "./commands/GetModelInvocationJobCommand"; import type { GetModelInvocationLoggingConfigurationCommandInput, GetModelInvocationLoggingConfigurationCommandOutput } from "./commands/GetModelInvocationLoggingConfigurationCommand"; import type { GetPromptRouterCommandInput, GetPromptRouterCommandOutput } from "./commands/GetPromptRouterCommand"; import type { GetProvisionedModelThroughputCommandInput, GetProvisionedModelThroughputCommandOutput } from "./commands/GetProvisionedModelThroughputCommand"; import type { GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput } from "./commands/GetResourcePolicyCommand"; import type { GetUseCaseForModelAccessCommandInput, GetUseCaseForModelAccessCommandOutput } from "./commands/GetUseCaseForModelAccessCommand"; import type { ListAdvancedPromptOptimizationJobsCommandInput, ListAdvancedPromptOptimizationJobsCommandOutput } from "./commands/ListAdvancedPromptOptimizationJobsCommand"; import type { ListAutomatedReasoningPoliciesCommandInput, ListAutomatedReasoningPoliciesCommandOutput } from "./commands/ListAutomatedReasoningPoliciesCommand"; import type { ListAutomatedReasoningPolicyBuildWorkflowsCommandInput, ListAutomatedReasoningPolicyBuildWorkflowsCommandOutput } from "./commands/ListAutomatedReasoningPolicyBuildWorkflowsCommand"; import type { ListAutomatedReasoningPolicyTestCasesCommandInput, ListAutomatedReasoningPolicyTestCasesCommandOutput } from "./commands/ListAutomatedReasoningPolicyTestCasesCommand"; import type { ListAutomatedReasoningPolicyTestResultsCommandInput, ListAutomatedReasoningPolicyTestResultsCommandOutput } from "./commands/ListAutomatedReasoningPolicyTestResultsCommand"; import type { ListCustomModelDeploymentsCommandInput, ListCustomModelDeploymentsCommandOutput } from "./commands/ListCustomModelDeploymentsCommand"; import type { ListCustomModelsCommandInput, ListCustomModelsCommandOutput } from "./commands/ListCustomModelsCommand"; import type { ListEnforcedGuardrailsConfigurationCommandInput, ListEnforcedGuardrailsConfigurationCommandOutput } from "./commands/ListEnforcedGuardrailsConfigurationCommand"; import type { ListEvaluationJobsCommandInput, ListEvaluationJobsCommandOutput } from "./commands/ListEvaluationJobsCommand"; import type { ListFoundationModelAgreementOffersCommandInput, ListFoundationModelAgreementOffersCommandOutput } from "./commands/ListFoundationModelAgreementOffersCommand"; import type { ListFoundationModelsCommandInput, ListFoundationModelsCommandOutput } from "./commands/ListFoundationModelsCommand"; import type { ListGuardrailsCommandInput, ListGuardrailsCommandOutput } from "./commands/ListGuardrailsCommand"; import type { ListImportedModelsCommandInput, ListImportedModelsCommandOutput } from "./commands/ListImportedModelsCommand"; import type { ListInferenceProfilesCommandInput, ListInferenceProfilesCommandOutput } from "./commands/ListInferenceProfilesCommand"; import type { ListMarketplaceModelEndpointsCommandInput, ListMarketplaceModelEndpointsCommandOutput } from "./commands/ListMarketplaceModelEndpointsCommand"; import type { ListModelCopyJobsCommandInput, ListModelCopyJobsCommandOutput } from "./commands/ListModelCopyJobsCommand"; import type { ListModelCustomizationJobsCommandInput, ListModelCustomizationJobsCommandOutput } from "./commands/ListModelCustomizationJobsCommand"; import type { ListModelImportJobsCommandInput, ListModelImportJobsCommandOutput } from "./commands/ListModelImportJobsCommand"; import type { ListModelInvocationJobsCommandInput, ListModelInvocationJobsCommandOutput } from "./commands/ListModelInvocationJobsCommand"; import type { ListPromptRoutersCommandInput, ListPromptRoutersCommandOutput } from "./commands/ListPromptRoutersCommand"; import type { ListProvisionedModelThroughputsCommandInput, ListProvisionedModelThroughputsCommandOutput } from "./commands/ListProvisionedModelThroughputsCommand"; import type { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand"; import type { PutAccountDataRetentionCommandInput, PutAccountDataRetentionCommandOutput } from "./commands/PutAccountDataRetentionCommand"; import type { PutEnforcedGuardrailConfigurationCommandInput, PutEnforcedGuardrailConfigurationCommandOutput } from "./commands/PutEnforcedGuardrailConfigurationCommand"; import type { PutModelInvocationLoggingConfigurationCommandInput, PutModelInvocationLoggingConfigurationCommandOutput } from "./commands/PutModelInvocationLoggingConfigurationCommand"; import type { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput } from "./commands/PutResourcePolicyCommand"; import type { PutUseCaseForModelAccessCommandInput, PutUseCaseForModelAccessCommandOutput } from "./commands/PutUseCaseForModelAccessCommand"; import type { RegisterMarketplaceModelEndpointCommandInput, RegisterMarketplaceModelEndpointCommandOutput } from "./commands/RegisterMarketplaceModelEndpointCommand"; import type { StartAutomatedReasoningPolicyBuildWorkflowCommandInput, StartAutomatedReasoningPolicyBuildWorkflowCommandOutput } from "./commands/StartAutomatedReasoningPolicyBuildWorkflowCommand"; import type { StartAutomatedReasoningPolicyTestWorkflowCommandInput, StartAutomatedReasoningPolicyTestWorkflowCommandOutput } from "./commands/StartAutomatedReasoningPolicyTestWorkflowCommand"; import type { StopAdvancedPromptOptimizationJobCommandInput, StopAdvancedPromptOptimizationJobCommandOutput } from "./commands/StopAdvancedPromptOptimizationJobCommand"; import type { StopEvaluationJobCommandInput, StopEvaluationJobCommandOutput } from "./commands/StopEvaluationJobCommand"; import type { StopModelCustomizationJobCommandInput, StopModelCustomizationJobCommandOutput } from "./commands/StopModelCustomizationJobCommand"; import type { StopModelInvocationJobCommandInput, StopModelInvocationJobCommandOutput } from "./commands/StopModelInvocationJobCommand"; import type { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand"; import type { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand"; import type { UpdateAutomatedReasoningPolicyAnnotationsCommandInput, UpdateAutomatedReasoningPolicyAnnotationsCommandOutput } from "./commands/UpdateAutomatedReasoningPolicyAnnotationsCommand"; import type { UpdateAutomatedReasoningPolicyCommandInput, UpdateAutomatedReasoningPolicyCommandOutput } from "./commands/UpdateAutomatedReasoningPolicyCommand"; import type { UpdateAutomatedReasoningPolicyTestCaseCommandInput, UpdateAutomatedReasoningPolicyTestCaseCommandOutput } from "./commands/UpdateAutomatedReasoningPolicyTestCaseCommand"; import type { UpdateCustomModelDeploymentCommandInput, UpdateCustomModelDeploymentCommandOutput } from "./commands/UpdateCustomModelDeploymentCommand"; import type { UpdateGuardrailCommandInput, UpdateGuardrailCommandOutput } from "./commands/UpdateGuardrailCommand"; import type { UpdateMarketplaceModelEndpointCommandInput, UpdateMarketplaceModelEndpointCommandOutput } from "./commands/UpdateMarketplaceModelEndpointCommand"; import type { UpdateProvisionedModelThroughputCommandInput, UpdateProvisionedModelThroughputCommandOutput } from "./commands/UpdateProvisionedModelThroughputCommand"; import { type ClientInputEndpointParameters, type ClientResolvedEndpointParameters, type EndpointParameters } from "./endpoint/EndpointParameters"; import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions"; export { __Client }; /** * @public */ export type ServiceInputTypes = BatchDeleteAdvancedPromptOptimizationJobCommandInput | BatchDeleteEvaluationJobCommandInput | CancelAutomatedReasoningPolicyBuildWorkflowCommandInput | CreateAdvancedPromptOptimizationJobCommandInput | CreateAutomatedReasoningPolicyCommandInput | CreateAutomatedReasoningPolicyTestCaseCommandInput | CreateAutomatedReasoningPolicyVersionCommandInput | CreateCustomModelCommandInput | CreateCustomModelDeploymentCommandInput | CreateEvaluationJobCommandInput | CreateFoundationModelAgreementCommandInput | CreateGuardrailCommandInput | CreateGuardrailVersionCommandInput | CreateInferenceProfileCommandInput | CreateMarketplaceModelEndpointCommandInput | CreateModelCopyJobCommandInput | CreateModelCustomizationJobCommandInput | CreateModelImportJobCommandInput | CreateModelInvocationJobCommandInput | CreatePromptRouterCommandInput | CreateProvisionedModelThroughputCommandInput | DeleteAutomatedReasoningPolicyBuildWorkflowCommandInput | DeleteAutomatedReasoningPolicyCommandInput | DeleteAutomatedReasoningPolicyTestCaseCommandInput | DeleteCustomModelCommandInput | DeleteCustomModelDeploymentCommandInput | DeleteEnforcedGuardrailConfigurationCommandInput | DeleteFoundationModelAgreementCommandInput | DeleteGuardrailCommandInput | DeleteImportedModelCommandInput | DeleteInferenceProfileCommandInput | DeleteMarketplaceModelEndpointCommandInput | DeleteModelInvocationLoggingConfigurationCommandInput | DeletePromptRouterCommandInput | DeleteProvisionedModelThroughputCommandInput | DeleteResourcePolicyCommandInput | DeregisterMarketplaceModelEndpointCommandInput | ExportAutomatedReasoningPolicyVersionCommandInput | GetAccountDataRetentionCommandInput | GetAdvancedPromptOptimizationJobCommandInput | GetAutomatedReasoningPolicyAnnotationsCommandInput | GetAutomatedReasoningPolicyBuildWorkflowCommandInput | GetAutomatedReasoningPolicyBuildWorkflowResultAssetsCommandInput | GetAutomatedReasoningPolicyCommandInput | GetAutomatedReasoningPolicyNextScenarioCommandInput | GetAutomatedReasoningPolicyTestCaseCommandInput | GetAutomatedReasoningPolicyTestResultCommandInput | GetCustomModelCommandInput | GetCustomModelDeploymentCommandInput | GetEvaluationJobCommandInput | GetFoundationModelAvailabilityCommandInput | GetFoundationModelCommandInput | GetGuardrailCommandInput | GetImportedModelCommandInput | GetInferenceProfileCommandInput | GetMarketplaceModelEndpointCommandInput | GetModelCopyJobCommandInput | GetModelCustomizationJobCommandInput | GetModelImportJobCommandInput | GetModelInvocationJobCommandInput | GetModelInvocationLoggingConfigurationCommandInput | GetPromptRouterCommandInput | GetProvisionedModelThroughputCommandInput | GetResourcePolicyCommandInput | GetUseCaseForModelAccessCommandInput | ListAdvancedPromptOptimizationJobsCommandInput | ListAutomatedReasoningPoliciesCommandInput | ListAutomatedReasoningPolicyBuildWorkflowsCommandInput | ListAutomatedReasoningPolicyTestCasesCommandInput | ListAutomatedReasoningPolicyTestResultsCommandInput | ListCustomModelDeploymentsCommandInput | ListCustomModelsCommandInput | ListEnforcedGuardrailsConfigurationCommandInput | ListEvaluationJobsCommandInput | ListFoundationModelAgreementOffersCommandInput | ListFoundationModelsCommandInput | ListGuardrailsCommandInput | ListImportedModelsCommandInput | ListInferenceProfilesCommandInput | ListMarketplaceModelEndpointsCommandInput | ListModelCopyJobsCommandInput | ListModelCustomizationJobsCommandInput | ListModelImportJobsCommandInput | ListModelInvocationJobsCommandInput | ListPromptRoutersCommandInput | ListProvisionedModelThroughputsCommandInput | ListTagsForResourceCommandInput | PutAccountDataRetentionCommandInput | PutEnforcedGuardrailConfigurationCommandInput | PutModelInvocationLoggingConfigurationCommandInput | PutResourcePolicyCommandInput | PutUseCaseForModelAccessCommandInput | RegisterMarketplaceModelEndpointCommandInput | StartAutomatedReasoningPolicyBuildWorkflowCommandInput | StartAutomatedReasoningPolicyTestWorkflowCommandInput | StopAdvancedPromptOptimizationJobCommandInput | StopEvaluationJobCommandInput | StopModelCustomizationJobCommandInput | StopModelInvocationJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAutomatedReasoningPolicyAnnotationsCommandInput | UpdateAutomatedReasoningPolicyCommandInput | UpdateAutomatedReasoningPolicyTestCaseCommandInput | UpdateCustomModelDeploymentCommandInput | UpdateGuardrailCommandInput | UpdateMarketplaceModelEndpointCommandInput | UpdateProvisionedModelThroughputCommandInput; /** * @public */ export type ServiceOutputTypes = BatchDeleteAdvancedPromptOptimizationJobCommandOutput | BatchDeleteEvaluationJobCommandOutput | CancelAutomatedReasoningPolicyBuildWorkflowCommandOutput | CreateAdvancedPromptOptimizationJobCommandOutput | CreateAutomatedReasoningPolicyCommandOutput | CreateAutomatedReasoningPolicyTestCaseCommandOutput | CreateAutomatedReasoningPolicyVersionCommandOutput | CreateCustomModelCommandOutput | CreateCustomModelDeploymentCommandOutput | CreateEvaluationJobCommandOutput | CreateFoundationModelAgreementCommandOutput | CreateGuardrailCommandOutput | CreateGuardrailVersionCommandOutput | CreateInferenceProfileCommandOutput | CreateMarketplaceModelEndpointCommandOutput | CreateModelCopyJobCommandOutput | CreateModelCustomizationJobCommandOutput | CreateModelImportJobCommandOutput | CreateModelInvocationJobCommandOutput | CreatePromptRouterCommandOutput | CreateProvisionedModelThroughputCommandOutput | DeleteAutomatedReasoningPolicyBuildWorkflowCommandOutput | DeleteAutomatedReasoningPolicyCommandOutput | DeleteAutomatedReasoningPolicyTestCaseCommandOutput | DeleteCustomModelCommandOutput | DeleteCustomModelDeploymentCommandOutput | DeleteEnforcedGuardrailConfigurationCommandOutput | DeleteFoundationModelAgreementCommandOutput | DeleteGuardrailCommandOutput | DeleteImportedModelCommandOutput | DeleteInferenceProfileCommandOutput | DeleteMarketplaceModelEndpointCommandOutput | DeleteModelInvocationLoggingConfigurationCommandOutput | DeletePromptRouterCommandOutput | DeleteProvisionedModelThroughputCommandOutput | DeleteResourcePolicyCommandOutput | DeregisterMarketplaceModelEndpointCommandOutput | ExportAutomatedReasoningPolicyVersionCommandOutput | GetAccountDataRetentionCommandOutput | GetAdvancedPromptOptimizationJobCommandOutput | GetAutomatedReasoningPolicyAnnotationsCommandOutput | GetAutomatedReasoningPolicyBuildWorkflowCommandOutput | GetAutomatedReasoningPolicyBuildWorkflowResultAssetsCommandOutput | GetAutomatedReasoningPolicyCommandOutput | GetAutomatedReasoningPolicyNextScenarioCommandOutput | GetAutomatedReasoningPolicyTestCaseCommandOutput | GetAutomatedReasoningPolicyTestResultCommandOutput | GetCustomModelCommandOutput | GetCustomModelDeploymentCommandOutput | GetEvaluationJobCommandOutput | GetFoundationModelAvailabilityCommandOutput | GetFoundationModelCommandOutput | GetGuardrailCommandOutput | GetImportedModelCommandOutput | GetInferenceProfileCommandOutput | GetMarketplaceModelEndpointCommandOutput | GetModelCopyJobCommandOutput | GetModelCustomizationJobCommandOutput | GetModelImportJobCommandOutput | GetModelInvocationJobCommandOutput | GetModelInvocationLoggingConfigurationCommandOutput | GetPromptRouterCommandOutput | GetProvisionedModelThroughputCommandOutput | GetResourcePolicyCommandOutput | GetUseCaseForModelAccessCommandOutput | ListAdvancedPromptOptimizationJobsCommandOutput | ListAutomatedReasoningPoliciesCommandOutput | ListAutomatedReasoningPolicyBuildWorkflowsCommandOutput | ListAutomatedReasoningPolicyTestCasesCommandOutput | ListAutomatedReasoningPolicyTestResultsCommandOutput | ListCustomModelDeploymentsCommandOutput | ListCustomModelsCommandOutput | ListEnforcedGuardrailsConfigurationCommandOutput | ListEvaluationJobsCommandOutput | ListFoundationModelAgreementOffersCommandOutput | ListFoundationModelsCommandOutput | ListGuardrailsCommandOutput | ListImportedModelsCommandOutput | ListInferenceProfilesCommandOutput | ListMarketplaceModelEndpointsCommandOutput | ListModelCopyJobsCommandOutput | ListModelCustomizationJobsCommandOutput | ListModelImportJobsCommandOutput | ListModelInvocationJobsCommandOutput | ListPromptRoutersCommandOutput | ListProvisionedModelThroughputsCommandOutput | ListTagsForResourceCommandOutput | PutAccountDataRetentionCommandOutput | PutEnforcedGuardrailConfigurationCommandOutput | PutModelInvocationLoggingConfigurationCommandOutput | PutResourcePolicyCommandOutput | PutUseCaseForModelAccessCommandOutput | RegisterMarketplaceModelEndpointCommandOutput | StartAutomatedReasoningPolicyBuildWorkflowCommandOutput | StartAutomatedReasoningPolicyTestWorkflowCommandOutput | StopAdvancedPromptOptimizationJobCommandOutput | StopEvaluationJobCommandOutput | StopModelCustomizationJobCommandOutput | StopModelInvocationJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAutomatedReasoningPolicyAnnotationsCommandOutput | UpdateAutomatedReasoningPolicyCommandOutput | UpdateAutomatedReasoningPolicyTestCaseCommandOutput | UpdateCustomModelDeploymentCommandOutput | UpdateGuardrailCommandOutput | UpdateMarketplaceModelEndpointCommandOutput | UpdateProvisionedModelThroughputCommandOutput; /** * @public */ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> { /** * The HTTP handler to use or its constructor options. Fetch in browser and Https in Nodejs. */ requestHandler?: __HttpHandlerUserInput; /** * A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface * that computes the SHA-256 HMAC or checksum of a string or binary buffer. * @internal */ sha256?: __ChecksumConstructor | __HashConstructor; /** * The function that will be used to convert strings into HTTP endpoints. * @internal */ urlParser?: __UrlParser; /** * A function that can calculate the length of a request body. * @internal */ bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. * @internal */ streamCollector?: __StreamCollector; /** * The function that will be used to convert a base64-encoded string to a byte array. * @internal */ base64Decoder?: __Decoder; /** * The function that will be used to convert binary data to a base64-encoded string. * @internal */ base64Encoder?: __Encoder; /** * The function that will be used to convert a UTF8-encoded string to a byte array. * @internal */ utf8Decoder?: __Decoder; /** * The function that will be used to convert binary data to a UTF-8 encoded string. * @internal */ utf8Encoder?: __Encoder; /** * The runtime environment. * @internal */ runtime?: string; /** * Disable dynamically changing the endpoint of the client based on the hostPrefix * trait of an operation. */ disableHostPrefix?: boolean; /** * Unique service identifier. * @internal */ serviceId?: string; /** * Enables IPv6/IPv4 dualstack endpoint. */ useDualstackEndpoint?: boolean | __Provider; /** * Enables FIPS compatible endpoints. */ useFipsEndpoint?: boolean | __Provider; /** * The AWS region to which this client will send requests */ region?: string | __Provider; /** * Setting a client profile is similar to setting a value for the * AWS_PROFILE environment variable. Setting a profile on a client * in code only affects the single client instance, unlike AWS_PROFILE. * * When set, and only for environments where an AWS configuration * file exists, fields configurable by this file will be retrieved * from the specified profile within that file. * Conflicting code configuration and environment variables will * still have higher priority. * * For client credential resolution that involves checking the AWS * configuration file, the client's profile (this value) will be * used unless a different profile is set in the credential * provider options. * */ profile?: string; /** * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header * @internal */ defaultUserAgentProvider?: __Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. * @deprecated * @internal */ credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider; /** * Value for how many times a request will be made at most in case of retry. */ maxAttempts?: number | __Provider; /** * Specifies which retry algorithm to use. * @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/ * */ retryMode?: string | __Provider; /** * Optional logger for logging debug/info/warn/error. */ logger?: __Logger; /** * Optional extensions */ extensions?: RuntimeExtension[]; /** * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK. */ defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>; } /** * @public */ export type BedrockClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig & RegionInputConfig & HostHeaderInputConfig & EndpointInputConfig & HttpAuthSchemeInputConfig & ClientInputEndpointParameters; /** * @public * * The configuration interface of BedrockClient class constructor that set the region, credentials and other options. */ export interface BedrockClientConfig extends BedrockClientConfigType { } /** * @public */ export type BedrockClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig & RegionResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters; /** * @public * * The resolved configuration interface of BedrockClient class. This is resolved and normalized from the {@link BedrockClientConfig | constructor configuration interface}. */ export interface BedrockClientResolvedConfig extends BedrockClientResolvedConfigType { } /** *

Describes the API operations for creating, managing, fine-turning, and evaluating Amazon Bedrock models.

* @public */ export declare class BedrockClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, BedrockClientResolvedConfig> { /** * The resolved configuration of BedrockClient class. This is resolved and normalized from the {@link BedrockClientConfig | constructor configuration interface}. */ readonly config: BedrockClientResolvedConfig; constructor(...[configuration]: __CheckOptionalClientConfig); /** * Destroy underlying resources, like sockets. It's usually not necessary to do this. * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed. * Otherwise, sockets might stay open for quite a long time before the server terminates them. */ destroy(): void; }