New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@aws-sdk/client-bedrock

Package Overview
Dependencies
Maintainers
0
Versions
157
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-sdk/client-bedrock - npm Package Compare versions

Comparing version 3.679.0 to 3.682.0

dist-es/commands/CreateInferenceProfileCommand.js

4

dist-es/Bedrock.js

@@ -7,2 +7,3 @@ import { createAggregatedClient } from "@smithy/smithy-client";

import { CreateGuardrailVersionCommand, } from "./commands/CreateGuardrailVersionCommand";
import { CreateInferenceProfileCommand, } from "./commands/CreateInferenceProfileCommand";
import { CreateModelCopyJobCommand, } from "./commands/CreateModelCopyJobCommand";

@@ -16,2 +17,3 @@ import { CreateModelCustomizationJobCommand, } from "./commands/CreateModelCustomizationJobCommand";

import { DeleteImportedModelCommand, } from "./commands/DeleteImportedModelCommand";
import { DeleteInferenceProfileCommand, } from "./commands/DeleteInferenceProfileCommand";
import { DeleteModelInvocationLoggingConfigurationCommand, } from "./commands/DeleteModelInvocationLoggingConfigurationCommand";

@@ -56,2 +58,3 @@ import { DeleteProvisionedModelThroughputCommand, } from "./commands/DeleteProvisionedModelThroughputCommand";

CreateGuardrailVersionCommand,
CreateInferenceProfileCommand,
CreateModelCopyJobCommand,

@@ -65,2 +68,3 @@ CreateModelCustomizationJobCommand,

DeleteImportedModelCommand,
DeleteInferenceProfileCommand,
DeleteModelInvocationLoggingConfigurationCommand,

@@ -67,0 +71,0 @@ DeleteProvisionedModelThroughputCommand,

3

dist-es/commands/GetInferenceProfileCommand.js

@@ -5,2 +5,3 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";

import { commonParams } from "../endpoint/EndpointParameters";
import { GetInferenceProfileResponseFilterSensitiveLog, } from "../models/models_0";
import { de_GetInferenceProfileCommand, se_GetInferenceProfileCommand } from "../protocols/Aws_restJson1";

@@ -19,3 +20,3 @@ export { $Command };

.n("BedrockClient", "GetInferenceProfileCommand")
.f(void 0, void 0)
.f(void 0, GetInferenceProfileResponseFilterSensitiveLog)
.ser(se_GetInferenceProfileCommand)

@@ -22,0 +23,0 @@ .de(de_GetInferenceProfileCommand)

@@ -5,2 +5,3 @@ export * from "./BatchDeleteEvaluationJobCommand";

export * from "./CreateGuardrailVersionCommand";
export * from "./CreateInferenceProfileCommand";
export * from "./CreateModelCopyJobCommand";

@@ -14,2 +15,3 @@ export * from "./CreateModelCustomizationJobCommand";

export * from "./DeleteImportedModelCommand";
export * from "./DeleteInferenceProfileCommand";
export * from "./DeleteModelInvocationLoggingConfigurationCommand";

@@ -16,0 +18,0 @@ export * from "./DeleteProvisionedModelThroughputCommand";

@@ -5,2 +5,3 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";

import { commonParams } from "../endpoint/EndpointParameters";
import { ListInferenceProfilesResponseFilterSensitiveLog, } from "../models/models_0";
import { de_ListInferenceProfilesCommand, se_ListInferenceProfilesCommand } from "../protocols/Aws_restJson1";

@@ -19,3 +20,3 @@ export { $Command };

.n("BedrockClient", "ListInferenceProfilesCommand")
.f(void 0, void 0)
.f(void 0, ListInferenceProfilesResponseFilterSensitiveLog)
.ser(se_ListInferenceProfilesCommand)

@@ -22,0 +23,0 @@ .de(de_ListInferenceProfilesCommand)

@@ -229,2 +229,10 @@ import { SENSITIVE_STRING } from "@smithy/smithy-client";

};
export var InferenceProfileModelSource;
(function (InferenceProfileModelSource) {
InferenceProfileModelSource.visit = (value, visitor) => {
if (value.copyFrom !== undefined)
return visitor.copyFrom(value.copyFrom);
return visitor._(value.$unknown[0], value.$unknown[1]);
};
})(InferenceProfileModelSource || (InferenceProfileModelSource = {}));
export const InferenceProfileStatus = {

@@ -234,2 +242,3 @@ ACTIVE: "ACTIVE",

export const InferenceProfileType = {
APPLICATION: "APPLICATION",
SYSTEM_DEFINED: "SYSTEM_DEFINED",

@@ -502,2 +511,21 @@ };

});
export const CreateInferenceProfileRequestFilterSensitiveLog = (obj) => ({
...obj,
...(obj.description && { description: SENSITIVE_STRING }),
...(obj.modelSource && { modelSource: obj.modelSource }),
});
export const GetInferenceProfileResponseFilterSensitiveLog = (obj) => ({
...obj,
...(obj.description && { description: SENSITIVE_STRING }),
});
export const InferenceProfileSummaryFilterSensitiveLog = (obj) => ({
...obj,
...(obj.description && { description: SENSITIVE_STRING }),
});
export const ListInferenceProfilesResponseFilterSensitiveLog = (obj) => ({
...obj,
...(obj.inferenceProfileSummaries && {
inferenceProfileSummaries: obj.inferenceProfileSummaries.map((item) => InferenceProfileSummaryFilterSensitiveLog(item)),
}),
});
export const GetModelInvocationJobResponseFilterSensitiveLog = (obj) => ({

@@ -504,0 +532,0 @@ ...obj,

@@ -7,2 +7,3 @@ import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";

import { CreateGuardrailVersionCommandInput, CreateGuardrailVersionCommandOutput } from "./commands/CreateGuardrailVersionCommand";
import { CreateInferenceProfileCommandInput, CreateInferenceProfileCommandOutput } from "./commands/CreateInferenceProfileCommand";
import { CreateModelCopyJobCommandInput, CreateModelCopyJobCommandOutput } from "./commands/CreateModelCopyJobCommand";

@@ -16,2 +17,3 @@ import { CreateModelCustomizationJobCommandInput, CreateModelCustomizationJobCommandOutput } from "./commands/CreateModelCustomizationJobCommand";

import { DeleteImportedModelCommandInput, DeleteImportedModelCommandOutput } from "./commands/DeleteImportedModelCommand";
import { DeleteInferenceProfileCommandInput, DeleteInferenceProfileCommandOutput } from "./commands/DeleteInferenceProfileCommand";
import { DeleteModelInvocationLoggingConfigurationCommandInput, DeleteModelInvocationLoggingConfigurationCommandOutput } from "./commands/DeleteModelInvocationLoggingConfigurationCommand";

@@ -77,2 +79,8 @@ import { DeleteProvisionedModelThroughputCommandInput, DeleteProvisionedModelThroughputCommandOutput } from "./commands/DeleteProvisionedModelThroughputCommand";

/**
* @see {@link CreateInferenceProfileCommand}
*/
createInferenceProfile(args: CreateInferenceProfileCommandInput, options?: __HttpHandlerOptions): Promise<CreateInferenceProfileCommandOutput>;
createInferenceProfile(args: CreateInferenceProfileCommandInput, cb: (err: any, data?: CreateInferenceProfileCommandOutput) => void): void;
createInferenceProfile(args: CreateInferenceProfileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateInferenceProfileCommandOutput) => void): void;
/**
* @see {@link CreateModelCopyJobCommand}

@@ -126,2 +134,8 @@ */

/**
* @see {@link DeleteInferenceProfileCommand}
*/
deleteInferenceProfile(args: DeleteInferenceProfileCommandInput, options?: __HttpHandlerOptions): Promise<DeleteInferenceProfileCommandOutput>;
deleteInferenceProfile(args: DeleteInferenceProfileCommandInput, cb: (err: any, data?: DeleteInferenceProfileCommandOutput) => void): void;
deleteInferenceProfile(args: DeleteInferenceProfileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteInferenceProfileCommandOutput) => void): void;
/**
* @see {@link DeleteModelInvocationLoggingConfigurationCommand}

@@ -128,0 +142,0 @@ */

@@ -14,2 +14,3 @@ import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";

import { CreateGuardrailVersionCommandInput, CreateGuardrailVersionCommandOutput } from "./commands/CreateGuardrailVersionCommand";
import { CreateInferenceProfileCommandInput, CreateInferenceProfileCommandOutput } from "./commands/CreateInferenceProfileCommand";
import { CreateModelCopyJobCommandInput, CreateModelCopyJobCommandOutput } from "./commands/CreateModelCopyJobCommand";

@@ -23,2 +24,3 @@ import { CreateModelCustomizationJobCommandInput, CreateModelCustomizationJobCommandOutput } from "./commands/CreateModelCustomizationJobCommand";

import { DeleteImportedModelCommandInput, DeleteImportedModelCommandOutput } from "./commands/DeleteImportedModelCommand";
import { DeleteInferenceProfileCommandInput, DeleteInferenceProfileCommandOutput } from "./commands/DeleteInferenceProfileCommand";
import { DeleteModelInvocationLoggingConfigurationCommandInput, DeleteModelInvocationLoggingConfigurationCommandOutput } from "./commands/DeleteModelInvocationLoggingConfigurationCommand";

@@ -64,7 +66,7 @@ import { DeleteProvisionedModelThroughputCommandInput, DeleteProvisionedModelThroughputCommandOutput } from "./commands/DeleteProvisionedModelThroughputCommand";

*/
export type ServiceInputTypes = BatchDeleteEvaluationJobCommandInput | CreateEvaluationJobCommandInput | CreateGuardrailCommandInput | CreateGuardrailVersionCommandInput | CreateModelCopyJobCommandInput | CreateModelCustomizationJobCommandInput | CreateModelImportJobCommandInput | CreateModelInvocationJobCommandInput | CreateProvisionedModelThroughputCommandInput | DeleteCustomModelCommandInput | DeleteGuardrailCommandInput | DeleteImportedModelCommandInput | DeleteModelInvocationLoggingConfigurationCommandInput | DeleteProvisionedModelThroughputCommandInput | GetCustomModelCommandInput | GetEvaluationJobCommandInput | GetFoundationModelCommandInput | GetGuardrailCommandInput | GetImportedModelCommandInput | GetInferenceProfileCommandInput | GetModelCopyJobCommandInput | GetModelCustomizationJobCommandInput | GetModelImportJobCommandInput | GetModelInvocationJobCommandInput | GetModelInvocationLoggingConfigurationCommandInput | GetProvisionedModelThroughputCommandInput | ListCustomModelsCommandInput | ListEvaluationJobsCommandInput | ListFoundationModelsCommandInput | ListGuardrailsCommandInput | ListImportedModelsCommandInput | ListInferenceProfilesCommandInput | ListModelCopyJobsCommandInput | ListModelCustomizationJobsCommandInput | ListModelImportJobsCommandInput | ListModelInvocationJobsCommandInput | ListProvisionedModelThroughputsCommandInput | ListTagsForResourceCommandInput | PutModelInvocationLoggingConfigurationCommandInput | StopEvaluationJobCommandInput | StopModelCustomizationJobCommandInput | StopModelInvocationJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateGuardrailCommandInput | UpdateProvisionedModelThroughputCommandInput;
export type ServiceInputTypes = BatchDeleteEvaluationJobCommandInput | CreateEvaluationJobCommandInput | CreateGuardrailCommandInput | CreateGuardrailVersionCommandInput | CreateInferenceProfileCommandInput | CreateModelCopyJobCommandInput | CreateModelCustomizationJobCommandInput | CreateModelImportJobCommandInput | CreateModelInvocationJobCommandInput | CreateProvisionedModelThroughputCommandInput | DeleteCustomModelCommandInput | DeleteGuardrailCommandInput | DeleteImportedModelCommandInput | DeleteInferenceProfileCommandInput | DeleteModelInvocationLoggingConfigurationCommandInput | DeleteProvisionedModelThroughputCommandInput | GetCustomModelCommandInput | GetEvaluationJobCommandInput | GetFoundationModelCommandInput | GetGuardrailCommandInput | GetImportedModelCommandInput | GetInferenceProfileCommandInput | GetModelCopyJobCommandInput | GetModelCustomizationJobCommandInput | GetModelImportJobCommandInput | GetModelInvocationJobCommandInput | GetModelInvocationLoggingConfigurationCommandInput | GetProvisionedModelThroughputCommandInput | ListCustomModelsCommandInput | ListEvaluationJobsCommandInput | ListFoundationModelsCommandInput | ListGuardrailsCommandInput | ListImportedModelsCommandInput | ListInferenceProfilesCommandInput | ListModelCopyJobsCommandInput | ListModelCustomizationJobsCommandInput | ListModelImportJobsCommandInput | ListModelInvocationJobsCommandInput | ListProvisionedModelThroughputsCommandInput | ListTagsForResourceCommandInput | PutModelInvocationLoggingConfigurationCommandInput | StopEvaluationJobCommandInput | StopModelCustomizationJobCommandInput | StopModelInvocationJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateGuardrailCommandInput | UpdateProvisionedModelThroughputCommandInput;
/**
* @public
*/
export type ServiceOutputTypes = BatchDeleteEvaluationJobCommandOutput | CreateEvaluationJobCommandOutput | CreateGuardrailCommandOutput | CreateGuardrailVersionCommandOutput | CreateModelCopyJobCommandOutput | CreateModelCustomizationJobCommandOutput | CreateModelImportJobCommandOutput | CreateModelInvocationJobCommandOutput | CreateProvisionedModelThroughputCommandOutput | DeleteCustomModelCommandOutput | DeleteGuardrailCommandOutput | DeleteImportedModelCommandOutput | DeleteModelInvocationLoggingConfigurationCommandOutput | DeleteProvisionedModelThroughputCommandOutput | GetCustomModelCommandOutput | GetEvaluationJobCommandOutput | GetFoundationModelCommandOutput | GetGuardrailCommandOutput | GetImportedModelCommandOutput | GetInferenceProfileCommandOutput | GetModelCopyJobCommandOutput | GetModelCustomizationJobCommandOutput | GetModelImportJobCommandOutput | GetModelInvocationJobCommandOutput | GetModelInvocationLoggingConfigurationCommandOutput | GetProvisionedModelThroughputCommandOutput | ListCustomModelsCommandOutput | ListEvaluationJobsCommandOutput | ListFoundationModelsCommandOutput | ListGuardrailsCommandOutput | ListImportedModelsCommandOutput | ListInferenceProfilesCommandOutput | ListModelCopyJobsCommandOutput | ListModelCustomizationJobsCommandOutput | ListModelImportJobsCommandOutput | ListModelInvocationJobsCommandOutput | ListProvisionedModelThroughputsCommandOutput | ListTagsForResourceCommandOutput | PutModelInvocationLoggingConfigurationCommandOutput | StopEvaluationJobCommandOutput | StopModelCustomizationJobCommandOutput | StopModelInvocationJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateGuardrailCommandOutput | UpdateProvisionedModelThroughputCommandOutput;
export type ServiceOutputTypes = BatchDeleteEvaluationJobCommandOutput | CreateEvaluationJobCommandOutput | CreateGuardrailCommandOutput | CreateGuardrailVersionCommandOutput | CreateInferenceProfileCommandOutput | CreateModelCopyJobCommandOutput | CreateModelCustomizationJobCommandOutput | CreateModelImportJobCommandOutput | CreateModelInvocationJobCommandOutput | CreateProvisionedModelThroughputCommandOutput | DeleteCustomModelCommandOutput | DeleteGuardrailCommandOutput | DeleteImportedModelCommandOutput | DeleteInferenceProfileCommandOutput | DeleteModelInvocationLoggingConfigurationCommandOutput | DeleteProvisionedModelThroughputCommandOutput | GetCustomModelCommandOutput | GetEvaluationJobCommandOutput | GetFoundationModelCommandOutput | GetGuardrailCommandOutput | GetImportedModelCommandOutput | GetInferenceProfileCommandOutput | GetModelCopyJobCommandOutput | GetModelCustomizationJobCommandOutput | GetModelImportJobCommandOutput | GetModelInvocationJobCommandOutput | GetModelInvocationLoggingConfigurationCommandOutput | GetProvisionedModelThroughputCommandOutput | ListCustomModelsCommandOutput | ListEvaluationJobsCommandOutput | ListFoundationModelsCommandOutput | ListGuardrailsCommandOutput | ListImportedModelsCommandOutput | ListInferenceProfilesCommandOutput | ListModelCopyJobsCommandOutput | ListModelCustomizationJobsCommandOutput | ListModelImportJobsCommandOutput | ListModelInvocationJobsCommandOutput | ListProvisionedModelThroughputsCommandOutput | ListTagsForResourceCommandOutput | PutModelInvocationLoggingConfigurationCommandOutput | StopEvaluationJobCommandOutput | StopModelCustomizationJobCommandOutput | StopModelInvocationJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateGuardrailCommandOutput | UpdateProvisionedModelThroughputCommandOutput;
/**

@@ -71,0 +73,0 @@ * @public

@@ -30,3 +30,3 @@ import { Command as $Command } from "@smithy/smithy-client";

/**
* <p>Gets information about an inference profile. For more information, see the Amazon Bedrock User Guide.</p>
* <p>Gets information about an inference profile. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html">Increase throughput and resilience with cross-region inference in Amazon Bedrock</a>. in the Amazon Bedrock User Guide.</p>
* @example

@@ -45,2 +45,6 @@ * Use a bare-bones client and the command you need to make an API call.

* // inferenceProfileName: "STRING_VALUE", // required
* // description: "STRING_VALUE",
* // createdAt: new Date("TIMESTAMP"),
* // updatedAt: new Date("TIMESTAMP"),
* // inferenceProfileArn: "STRING_VALUE", // required
* // models: [ // InferenceProfileModels // required

@@ -51,9 +55,5 @@ * // { // InferenceProfileModel

* // ],
* // description: "STRING_VALUE",
* // createdAt: new Date("TIMESTAMP"),
* // updatedAt: new Date("TIMESTAMP"),
* // inferenceProfileArn: "STRING_VALUE", // required
* // inferenceProfileId: "STRING_VALUE", // required
* // status: "ACTIVE", // required
* // type: "SYSTEM_DEFINED", // required
* // type: "SYSTEM_DEFINED" || "APPLICATION", // required
* // };

@@ -60,0 +60,0 @@ *

@@ -5,2 +5,3 @@ export * from "./BatchDeleteEvaluationJobCommand";

export * from "./CreateGuardrailVersionCommand";
export * from "./CreateInferenceProfileCommand";
export * from "./CreateModelCopyJobCommand";

@@ -14,2 +15,3 @@ export * from "./CreateModelCustomizationJobCommand";

export * from "./DeleteImportedModelCommand";
export * from "./DeleteInferenceProfileCommand";
export * from "./DeleteModelInvocationLoggingConfigurationCommand";

@@ -16,0 +18,0 @@ export * from "./DeleteProvisionedModelThroughputCommand";

@@ -27,6 +27,6 @@ import { Command as $Command } from "@smithy/smithy-client";

new (...[input]: [] | [ListInferenceProfilesCommandInput]): import("@smithy/smithy-client").CommandImpl<ListInferenceProfilesCommandInput, ListInferenceProfilesCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; /** @internal type navigation helper, not in runtime. */
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
};
/**
* <p>Returns a list of inference profiles that you can use.</p>
* <p>Returns a list of inference profiles that you can use. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html">Increase throughput and resilience with cross-region inference in Amazon Bedrock</a>. in the Amazon Bedrock User Guide.</p>
* @example

@@ -41,2 +41,3 @@ * Use a bare-bones client and the command you need to make an API call.

* nextToken: "STRING_VALUE",
* typeEquals: "SYSTEM_DEFINED" || "APPLICATION",
* };

@@ -49,2 +50,6 @@ * const command = new ListInferenceProfilesCommand(input);

* // inferenceProfileName: "STRING_VALUE", // required
* // description: "STRING_VALUE",
* // createdAt: new Date("TIMESTAMP"),
* // updatedAt: new Date("TIMESTAMP"),
* // inferenceProfileArn: "STRING_VALUE", // required
* // models: [ // InferenceProfileModels // required

@@ -55,9 +60,5 @@ * // { // InferenceProfileModel

* // ],
* // description: "STRING_VALUE",
* // createdAt: new Date("TIMESTAMP"),
* // updatedAt: new Date("TIMESTAMP"),
* // inferenceProfileArn: "STRING_VALUE", // required
* // inferenceProfileId: "STRING_VALUE", // required
* // status: "ACTIVE", // required
* // type: "SYSTEM_DEFINED", // required
* // type: "SYSTEM_DEFINED" || "APPLICATION", // required
* // },

@@ -64,0 +65,0 @@ * // ],

@@ -31,3 +31,3 @@ import { Command as $Command } from "@smithy/smithy-client";

* <p>List the tags associated with the specified resource.</p>
* <p>For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/tagging.html">Tagging resources</a> in the <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html">Amazon Bedrock User Guide</a>.</p>
* <p>For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html">Tagging resources</a> in the <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html">Amazon Bedrock User Guide</a>.</p>
* @example

@@ -34,0 +34,0 @@ * Use a bare-bones client and the command you need to make an API call.

@@ -30,3 +30,3 @@ import { Command as $Command } from "@smithy/smithy-client";

/**
* <p>Associate tags with a resource. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/tagging.html">Tagging resources</a> in the <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html">Amazon Bedrock User Guide</a>.</p>
* <p>Associate tags with a resource. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html">Tagging resources</a> in the <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html">Amazon Bedrock User Guide</a>.</p>
* @example

@@ -33,0 +33,0 @@ * Use a bare-bones client and the command you need to make an API call.

@@ -30,3 +30,3 @@ import { Command as $Command } from "@smithy/smithy-client";

/**
* <p>Remove one or more tags from a resource. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/tagging.html">Tagging resources</a> in the <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html">Amazon Bedrock User Guide</a>.</p>
* <p>Remove one or more tags from a resource. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html">Tagging resources</a> in the <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html">Amazon Bedrock User Guide</a>.</p>
* @example

@@ -33,0 +33,0 @@ * Use a bare-bones client and the command you need to make an API call.

@@ -7,2 +7,3 @@ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";

import { CreateGuardrailVersionCommandInput, CreateGuardrailVersionCommandOutput } from "../commands/CreateGuardrailVersionCommand";
import { CreateInferenceProfileCommandInput, CreateInferenceProfileCommandOutput } from "../commands/CreateInferenceProfileCommand";
import { CreateModelCopyJobCommandInput, CreateModelCopyJobCommandOutput } from "../commands/CreateModelCopyJobCommand";

@@ -16,2 +17,3 @@ import { CreateModelCustomizationJobCommandInput, CreateModelCustomizationJobCommandOutput } from "../commands/CreateModelCustomizationJobCommand";

import { DeleteImportedModelCommandInput, DeleteImportedModelCommandOutput } from "../commands/DeleteImportedModelCommand";
import { DeleteInferenceProfileCommandInput, DeleteInferenceProfileCommandOutput } from "../commands/DeleteInferenceProfileCommand";
import { DeleteModelInvocationLoggingConfigurationCommandInput, DeleteModelInvocationLoggingConfigurationCommandOutput } from "../commands/DeleteModelInvocationLoggingConfigurationCommand";

@@ -68,2 +70,6 @@ import { DeleteProvisionedModelThroughputCommandInput, DeleteProvisionedModelThroughputCommandOutput } from "../commands/DeleteProvisionedModelThroughputCommand";

/**
* serializeAws_restJson1CreateInferenceProfileCommand
*/
export declare const se_CreateInferenceProfileCommand: (input: CreateInferenceProfileCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
/**
* serializeAws_restJson1CreateModelCopyJobCommand

@@ -101,2 +107,6 @@ */

/**
* serializeAws_restJson1DeleteInferenceProfileCommand
*/
export declare const se_DeleteInferenceProfileCommand: (input: DeleteInferenceProfileCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
/**
* serializeAws_restJson1DeleteModelInvocationLoggingConfigurationCommand

@@ -254,2 +264,6 @@ */

/**
* deserializeAws_restJson1CreateInferenceProfileCommand
*/
export declare const de_CreateInferenceProfileCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateInferenceProfileCommandOutput>;
/**
* deserializeAws_restJson1CreateModelCopyJobCommand

@@ -287,2 +301,6 @@ */

/**
* deserializeAws_restJson1DeleteInferenceProfileCommand
*/
export declare const de_DeleteInferenceProfileCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteInferenceProfileCommandOutput>;
/**
* deserializeAws_restJson1DeleteModelInvocationLoggingConfigurationCommand

@@ -289,0 +307,0 @@ */

@@ -20,2 +20,6 @@ import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";

import {
CreateInferenceProfileCommandInput,
CreateInferenceProfileCommandOutput,
} from "./commands/CreateInferenceProfileCommand";
import {
CreateModelCopyJobCommandInput,

@@ -53,2 +57,6 @@ CreateModelCopyJobCommandOutput,

import {
DeleteInferenceProfileCommandInput,
DeleteInferenceProfileCommandOutput,
} from "./commands/DeleteInferenceProfileCommand";
import {
DeleteModelInvocationLoggingConfigurationCommandInput,

@@ -242,2 +250,15 @@ DeleteModelInvocationLoggingConfigurationCommandOutput,

): void;
createInferenceProfile(
args: CreateInferenceProfileCommandInput,
options?: __HttpHandlerOptions
): Promise<CreateInferenceProfileCommandOutput>;
createInferenceProfile(
args: CreateInferenceProfileCommandInput,
cb: (err: any, data?: CreateInferenceProfileCommandOutput) => void
): void;
createInferenceProfile(
args: CreateInferenceProfileCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: CreateInferenceProfileCommandOutput) => void
): void;
createModelCopyJob(

@@ -347,2 +368,15 @@ args: CreateModelCopyJobCommandInput,

): void;
deleteInferenceProfile(
args: DeleteInferenceProfileCommandInput,
options?: __HttpHandlerOptions
): Promise<DeleteInferenceProfileCommandOutput>;
deleteInferenceProfile(
args: DeleteInferenceProfileCommandInput,
cb: (err: any, data?: DeleteInferenceProfileCommandOutput) => void
): void;
deleteInferenceProfile(
args: DeleteInferenceProfileCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: DeleteInferenceProfileCommandOutput) => void
): void;
deleteModelInvocationLoggingConfiguration(): Promise<DeleteModelInvocationLoggingConfigurationCommandOutput>;

@@ -349,0 +383,0 @@ deleteModelInvocationLoggingConfiguration(

@@ -65,2 +65,6 @@ import {

import {
CreateInferenceProfileCommandInput,
CreateInferenceProfileCommandOutput,
} from "./commands/CreateInferenceProfileCommand";
import {
CreateModelCopyJobCommandInput,

@@ -98,2 +102,6 @@ CreateModelCopyJobCommandOutput,

import {
DeleteInferenceProfileCommandInput,
DeleteInferenceProfileCommandOutput,
} from "./commands/DeleteInferenceProfileCommand";
import {
DeleteModelInvocationLoggingConfigurationCommandInput,

@@ -246,2 +254,3 @@ DeleteModelInvocationLoggingConfigurationCommandOutput,

| CreateGuardrailVersionCommandInput
| CreateInferenceProfileCommandInput
| CreateModelCopyJobCommandInput

@@ -255,2 +264,3 @@ | CreateModelCustomizationJobCommandInput

| DeleteImportedModelCommandInput
| DeleteInferenceProfileCommandInput
| DeleteModelInvocationLoggingConfigurationCommandInput

@@ -295,2 +305,3 @@ | DeleteProvisionedModelThroughputCommandInput

| CreateGuardrailVersionCommandOutput
| CreateInferenceProfileCommandOutput
| CreateModelCopyJobCommandOutput

@@ -304,2 +315,3 @@ | CreateModelCustomizationJobCommandOutput

| DeleteImportedModelCommandOutput
| DeleteInferenceProfileCommandOutput
| DeleteModelInvocationLoggingConfigurationCommandOutput

@@ -306,0 +318,0 @@ | DeleteProvisionedModelThroughputCommandOutput

@@ -5,2 +5,3 @@ export * from "./BatchDeleteEvaluationJobCommand";

export * from "./CreateGuardrailVersionCommand";
export * from "./CreateInferenceProfileCommand";
export * from "./CreateModelCopyJobCommand";

@@ -14,2 +15,3 @@ export * from "./CreateModelCustomizationJobCommand";

export * from "./DeleteImportedModelCommand";
export * from "./DeleteInferenceProfileCommand";
export * from "./DeleteModelInvocationLoggingConfigurationCommand";

@@ -16,0 +18,0 @@ export * from "./DeleteProvisionedModelThroughputCommand";

@@ -562,7 +562,29 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";

}
export interface GetInferenceProfileRequest {
inferenceProfileIdentifier: string | undefined;
export type InferenceProfileModelSource =
| InferenceProfileModelSource.CopyFromMember
| InferenceProfileModelSource.$UnknownMember;
export declare namespace InferenceProfileModelSource {
interface CopyFromMember {
copyFrom: string;
$unknown?: never;
}
interface $UnknownMember {
copyFrom?: never;
$unknown: [string, any];
}
interface Visitor<T> {
copyFrom: (value: string) => T;
_: (name: string, value: any) => T;
}
const visit: <T>(
value: InferenceProfileModelSource,
visitor: Visitor<T>
) => T;
}
export interface InferenceProfileModel {
modelArn?: string;
export interface CreateInferenceProfileRequest {
inferenceProfileName: string | undefined;
description?: string;
clientRequestToken?: string;
modelSource: InferenceProfileModelSource | undefined;
tags?: Tag[];
}

@@ -574,3 +596,18 @@ export declare const InferenceProfileStatus: {

(typeof InferenceProfileStatus)[keyof typeof InferenceProfileStatus];
export interface CreateInferenceProfileResponse {
inferenceProfileArn: string | undefined;
status?: InferenceProfileStatus;
}
export interface DeleteInferenceProfileRequest {
inferenceProfileIdentifier: string | undefined;
}
export interface DeleteInferenceProfileResponse {}
export interface GetInferenceProfileRequest {
inferenceProfileIdentifier: string | undefined;
}
export interface InferenceProfileModel {
modelArn?: string;
}
export declare const InferenceProfileType: {
readonly APPLICATION: "APPLICATION";
readonly SYSTEM_DEFINED: "SYSTEM_DEFINED";

@@ -582,3 +619,2 @@ };

inferenceProfileName: string | undefined;
models: InferenceProfileModel[] | undefined;
description?: string;

@@ -588,2 +624,3 @@ createdAt?: Date;

inferenceProfileArn: string | undefined;
models: InferenceProfileModel[] | undefined;
inferenceProfileId: string | undefined;

@@ -596,6 +633,6 @@ status: InferenceProfileStatus | undefined;

nextToken?: string;
typeEquals?: InferenceProfileType;
}
export interface InferenceProfileSummary {
inferenceProfileName: string | undefined;
models: InferenceProfileModel[] | undefined;
description?: string;

@@ -605,2 +642,3 @@ createdAt?: Date;

inferenceProfileArn: string | undefined;
models: InferenceProfileModel[] | undefined;
inferenceProfileId: string | undefined;

@@ -1388,2 +1426,14 @@ status: InferenceProfileStatus | undefined;

) => any;
export declare const CreateInferenceProfileRequestFilterSensitiveLog: (
obj: CreateInferenceProfileRequest
) => any;
export declare const GetInferenceProfileResponseFilterSensitiveLog: (
obj: GetInferenceProfileResponse
) => any;
export declare const InferenceProfileSummaryFilterSensitiveLog: (
obj: InferenceProfileSummary
) => any;
export declare const ListInferenceProfilesResponseFilterSensitiveLog: (
obj: ListInferenceProfilesResponse
) => any;
export declare const GetModelInvocationJobResponseFilterSensitiveLog: (

@@ -1390,0 +1440,0 @@ obj: GetModelInvocationJobResponse

@@ -23,2 +23,6 @@ import {

import {
CreateInferenceProfileCommandInput,
CreateInferenceProfileCommandOutput,
} from "../commands/CreateInferenceProfileCommand";
import {
CreateModelCopyJobCommandInput,

@@ -56,2 +60,6 @@ CreateModelCopyJobCommandOutput,

import {
DeleteInferenceProfileCommandInput,
DeleteInferenceProfileCommandOutput,
} from "../commands/DeleteInferenceProfileCommand";
import {
DeleteModelInvocationLoggingConfigurationCommandInput,

@@ -208,2 +216,6 @@ DeleteModelInvocationLoggingConfigurationCommandOutput,

) => Promise<__HttpRequest>;
export declare const se_CreateInferenceProfileCommand: (
input: CreateInferenceProfileCommandInput,
context: __SerdeContext
) => Promise<__HttpRequest>;
export declare const se_CreateModelCopyJobCommand: (

@@ -241,2 +253,6 @@ input: CreateModelCopyJobCommandInput,

) => Promise<__HttpRequest>;
export declare const se_DeleteInferenceProfileCommand: (
input: DeleteInferenceProfileCommandInput,
context: __SerdeContext
) => Promise<__HttpRequest>;
export declare const se_DeleteModelInvocationLoggingConfigurationCommand: (

@@ -394,2 +410,6 @@ input: DeleteModelInvocationLoggingConfigurationCommandInput,

) => Promise<CreateGuardrailVersionCommandOutput>;
export declare const de_CreateInferenceProfileCommand: (
output: __HttpResponse,
context: __SerdeContext
) => Promise<CreateInferenceProfileCommandOutput>;
export declare const de_CreateModelCopyJobCommand: (

@@ -427,2 +447,6 @@ output: __HttpResponse,

) => Promise<DeleteImportedModelCommandOutput>;
export declare const de_DeleteInferenceProfileCommand: (
output: __HttpResponse,
context: __SerdeContext
) => Promise<DeleteInferenceProfileCommandOutput>;
export declare const de_DeleteModelInvocationLoggingConfigurationCommand: (

@@ -429,0 +453,0 @@ output: __HttpResponse,

{
"name": "@aws-sdk/client-bedrock",
"description": "AWS SDK for JavaScript Bedrock Client for Node.js, Browser and React Native",
"version": "3.679.0",
"version": "3.682.0",
"scripts": {

@@ -23,10 +23,10 @@ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",

"@aws-crypto/sha256-js": "5.2.0",
"@aws-sdk/client-sso-oidc": "3.679.0",
"@aws-sdk/client-sts": "3.679.0",
"@aws-sdk/client-sso-oidc": "3.682.0",
"@aws-sdk/client-sts": "3.682.0",
"@aws-sdk/core": "3.679.0",
"@aws-sdk/credential-provider-node": "3.679.0",
"@aws-sdk/credential-provider-node": "3.682.0",
"@aws-sdk/middleware-host-header": "3.679.0",
"@aws-sdk/middleware-logger": "3.679.0",
"@aws-sdk/middleware-recursion-detection": "3.679.0",
"@aws-sdk/middleware-user-agent": "3.679.0",
"@aws-sdk/middleware-user-agent": "3.682.0",
"@aws-sdk/region-config-resolver": "3.679.0",

@@ -36,3 +36,3 @@ "@aws-sdk/types": "3.679.0",

"@aws-sdk/util-user-agent-browser": "3.679.0",
"@aws-sdk/util-user-agent-node": "3.679.0",
"@aws-sdk/util-user-agent-node": "3.682.0",
"@smithy/config-resolver": "^3.0.9",

@@ -39,0 +39,0 @@ "@smithy/core": "^2.4.8",

@@ -240,2 +240,10 @@ <!-- generated file, do not edit directly -->

<summary>
CreateInferenceProfile
</summary>
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock/command/CreateInferenceProfileCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/CreateInferenceProfileCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/CreateInferenceProfileCommandOutput/)
</details>
<details>
<summary>
CreateModelCopyJob

@@ -305,2 +313,10 @@ </summary>

<summary>
DeleteInferenceProfile
</summary>
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock/command/DeleteInferenceProfileCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/DeleteInferenceProfileCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/DeleteInferenceProfileCommandOutput/)
</details>
<details>
<summary>
DeleteModelInvocationLoggingConfiguration

@@ -307,0 +323,0 @@ </summary>

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc