@aws-sdk/client-bedrock 3.938.0 → 3.940.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 CHANGED
@@ -7823,6 +7823,9 @@ const InputTags = {
7823
7823
  HONOR: "HONOR",
7824
7824
  IGNORE: "IGNORE",
7825
7825
  };
7826
+ const ConfigurationOwner = {
7827
+ ACCOUNT: "ACCOUNT",
7828
+ };
7826
7829
  const AgreementStatus = {
7827
7830
  AVAILABLE: "AVAILABLE",
7828
7831
  ERROR: "ERROR",
@@ -8208,6 +8211,7 @@ exports.BedrockClient = BedrockClient;
8208
8211
  exports.BedrockServiceException = BedrockServiceException$1;
8209
8212
  exports.CancelAutomatedReasoningPolicyBuildWorkflowCommand = CancelAutomatedReasoningPolicyBuildWorkflowCommand;
8210
8213
  exports.CommitmentDuration = CommitmentDuration;
8214
+ exports.ConfigurationOwner = ConfigurationOwner;
8211
8215
  exports.ConflictException = ConflictException$1;
8212
8216
  exports.CreateAutomatedReasoningPolicyCommand = CreateAutomatedReasoningPolicyCommand;
8213
8217
  exports.CreateAutomatedReasoningPolicyTestCaseCommand = CreateAutomatedReasoningPolicyTestCaseCommand;
@@ -2,6 +2,9 @@ export const InputTags = {
2
2
  HONOR: "HONOR",
3
3
  IGNORE: "IGNORE",
4
4
  };
5
+ export const ConfigurationOwner = {
6
+ ACCOUNT: "ACCOUNT",
7
+ };
5
8
  export const AgreementStatus = {
6
9
  AVAILABLE: "AVAILABLE",
7
10
  ERROR: "ERROR",
@@ -1,3 +1 @@
1
- export const ConfigurationOwner = {
2
- ACCOUNT: "ACCOUNT",
3
- };
1
+ export {};
@@ -1,8 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
4
- import { ListInferenceProfilesRequest } from "../models/models_0";
5
- import { ListInferenceProfilesResponse } from "../models/models_1";
4
+ import { ListInferenceProfilesRequest, ListInferenceProfilesResponse } from "../models/models_0";
6
5
  /**
7
6
  * @public
8
7
  */
@@ -10,6 +10,20 @@ export declare const InputTags: {
10
10
  * @public
11
11
  */
12
12
  export type InputTags = (typeof InputTags)[keyof typeof InputTags];
13
+ /**
14
+ * @public
15
+ * @enum
16
+ */
17
+ export declare const ConfigurationOwner: {
18
+ /**
19
+ * Configuration owned by the account
20
+ */
21
+ readonly ACCOUNT: "ACCOUNT";
22
+ };
23
+ /**
24
+ * @public
25
+ */
26
+ export type ConfigurationOwner = (typeof ConfigurationOwner)[keyof typeof ConfigurationOwner];
13
27
  /**
14
28
  * @public
15
29
  * @enum
@@ -1,5 +1,5 @@
1
1
  import { DocumentType as __DocumentType } from "@smithy/types";
2
- import { AgreementStatus, ApplicationType, AttributeType, AutomatedReasoningCheckLogicWarningType, AutomatedReasoningCheckResult, AutomatedReasoningPolicyAnnotationStatus, AutomatedReasoningPolicyBuildDocumentContentType, AutomatedReasoningPolicyBuildMessageType, AutomatedReasoningPolicyBuildResultAssetType, AutomatedReasoningPolicyBuildWorkflowStatus, AutomatedReasoningPolicyBuildWorkflowType, AutomatedReasoningPolicyTestRunResult, AutomatedReasoningPolicyTestRunStatus, CustomizationType, CustomModelDeploymentStatus, EvaluationJobStatus, EvaluationJobType, EvaluationTaskType, ExternalSourceType, GuardrailContentFilterAction, GuardrailContentFiltersTierName, GuardrailContentFilterType, GuardrailContextualGroundingAction, GuardrailContextualGroundingFilterType, GuardrailFilterStrength, GuardrailManagedWordsType, GuardrailModality, GuardrailPiiEntityType, GuardrailSensitiveInformationAction, GuardrailStatus, GuardrailTopicAction, GuardrailTopicsTierName, GuardrailTopicType, GuardrailWordAction, InferenceProfileStatus, InferenceProfileType, InputTags, ModelStatus, PerformanceConfigLatency, QueryTransformationType, RerankingMetadataSelectionMode, SortJobsBy, SortModelsBy, SortOrder, Status, VectorSearchRerankingConfigurationType } from "./enums";
2
+ import { AgreementStatus, ApplicationType, AttributeType, AutomatedReasoningCheckLogicWarningType, AutomatedReasoningCheckResult, AutomatedReasoningPolicyAnnotationStatus, AutomatedReasoningPolicyBuildDocumentContentType, AutomatedReasoningPolicyBuildMessageType, AutomatedReasoningPolicyBuildResultAssetType, AutomatedReasoningPolicyBuildWorkflowStatus, AutomatedReasoningPolicyBuildWorkflowType, AutomatedReasoningPolicyTestRunResult, AutomatedReasoningPolicyTestRunStatus, ConfigurationOwner, CustomizationType, CustomModelDeploymentStatus, EvaluationJobStatus, EvaluationJobType, EvaluationTaskType, ExternalSourceType, GuardrailContentFilterAction, GuardrailContentFiltersTierName, GuardrailContentFilterType, GuardrailContextualGroundingAction, GuardrailContextualGroundingFilterType, GuardrailFilterStrength, GuardrailManagedWordsType, GuardrailModality, GuardrailPiiEntityType, GuardrailSensitiveInformationAction, GuardrailStatus, GuardrailTopicAction, GuardrailTopicsTierName, GuardrailTopicType, GuardrailWordAction, InferenceProfileStatus, InferenceProfileType, InputTags, ModelStatus, PerformanceConfigLatency, QueryTransformationType, RerankingMetadataSelectionMode, SortJobsBy, SortModelsBy, SortOrder, Status, VectorSearchRerankingConfigurationType } from "./enums";
3
3
  /**
4
4
  * <p>Account-level enforced guardrail input configuration.</p>
5
5
  * @public
@@ -21,20 +21,6 @@ export interface AccountEnforcedGuardrailInferenceInputConfiguration {
21
21
  */
22
22
  inputTags: InputTags | undefined;
23
23
  }
24
- /**
25
- * @public
26
- * @enum
27
- */
28
- export declare const ConfigurationOwner: {
29
- /**
30
- * Configuration owned by the account
31
- */
32
- readonly ACCOUNT: "ACCOUNT";
33
- };
34
- /**
35
- * @public
36
- */
37
- export type ConfigurationOwner = (typeof ConfigurationOwner)[keyof typeof ConfigurationOwner];
38
24
  /**
39
25
  * <p>Account enforced guardrail output configuration.</p>
40
26
  * @public
@@ -7116,3 +7102,18 @@ export interface InferenceProfileSummary {
7116
7102
  */
7117
7103
  type: InferenceProfileType | undefined;
7118
7104
  }
7105
+ /**
7106
+ * @public
7107
+ */
7108
+ export interface ListInferenceProfilesResponse {
7109
+ /**
7110
+ * <p>A list of information about each inference profile that you can use.</p>
7111
+ * @public
7112
+ */
7113
+ inferenceProfileSummaries?: InferenceProfileSummary[] | undefined;
7114
+ /**
7115
+ * <p>If the total number of results is greater than the <code>maxResults</code> value provided in the request, use this token when making another request in the <code>nextToken</code> field to return the next batch of results.</p>
7116
+ * @public
7117
+ */
7118
+ nextToken?: string | undefined;
7119
+ }
@@ -1,20 +1,5 @@
1
1
  import { ApplicationType, AuthorizationStatus, CommitmentDuration, CustomizationType, EntitlementAvailability, EvaluationJobStatus, EvaluationJobType, FineTuningJobStatus, FoundationModelLifecycleStatus, InferenceType, JobStatusDetails, ModelCopyJobStatus, ModelCustomization, ModelCustomizationJobStatus, ModelImportJobStatus, ModelInvocationJobStatus, ModelModality, OfferType, PromptRouterStatus, PromptRouterType, ProvisionedModelStatus, RegionAvailability, RetrieveAndGenerateType, S3InputFormat, SearchType, SortByProvisionedModels, SortJobsBy, SortModelsBy, SortOrder } from "./enums";
2
- import { AgreementAvailability, CustomizationConfig, EvaluationConfig, EvaluationModelConfig, EvaluationOutputDataConfig, EvaluationPrecomputedRagSourceConfig, ExternalSourcesRetrieveAndGenerateConfiguration, FilterAttribute, GenerationConfiguration, ImplicitFilterConfiguration, InferenceProfileSummary, ModelDataSource, OrchestrationConfiguration, OutputDataConfig, Tag, TrainingDataConfig, TrainingMetrics, ValidationDataConfig, ValidatorMetric, VectorSearchRerankingConfiguration, VpcConfig } from "./models_0";
3
- /**
4
- * @public
5
- */
6
- export interface ListInferenceProfilesResponse {
7
- /**
8
- * <p>A list of information about each inference profile that you can use.</p>
9
- * @public
10
- */
11
- inferenceProfileSummaries?: InferenceProfileSummary[] | undefined;
12
- /**
13
- * <p>If the total number of results is greater than the <code>maxResults</code> value provided in the request, use this token when making another request in the <code>nextToken</code> field to return the next batch of results.</p>
14
- * @public
15
- */
16
- nextToken?: string | undefined;
17
- }
2
+ import { AgreementAvailability, CustomizationConfig, EvaluationConfig, EvaluationModelConfig, EvaluationOutputDataConfig, EvaluationPrecomputedRagSourceConfig, ExternalSourcesRetrieveAndGenerateConfiguration, FilterAttribute, GenerationConfiguration, ImplicitFilterConfiguration, ModelDataSource, OrchestrationConfiguration, OutputDataConfig, Tag, TrainingDataConfig, TrainingMetrics, ValidationDataConfig, ValidatorMetric, VectorSearchRerankingConfiguration, VpcConfig } from "./models_0";
18
3
  /**
19
4
  * @public
20
5
  */
@@ -5,8 +5,10 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../BedrockClient";
8
- import { ListInferenceProfilesRequest } from "../models/models_0";
9
- import { ListInferenceProfilesResponse } from "../models/models_1";
8
+ import {
9
+ ListInferenceProfilesRequest,
10
+ ListInferenceProfilesResponse,
11
+ } from "../models/models_0";
10
12
  export { __MetadataBearer };
11
13
  export { $Command };
12
14
  export interface ListInferenceProfilesCommandInput
@@ -3,6 +3,11 @@ export declare const InputTags: {
3
3
  readonly IGNORE: "IGNORE";
4
4
  };
5
5
  export type InputTags = (typeof InputTags)[keyof typeof InputTags];
6
+ export declare const ConfigurationOwner: {
7
+ readonly ACCOUNT: "ACCOUNT";
8
+ };
9
+ export type ConfigurationOwner =
10
+ (typeof ConfigurationOwner)[keyof typeof ConfigurationOwner];
6
11
  export declare const AgreementStatus: {
7
12
  readonly AVAILABLE: "AVAILABLE";
8
13
  readonly ERROR: "ERROR";
@@ -13,6 +13,7 @@ import {
13
13
  AutomatedReasoningPolicyBuildWorkflowType,
14
14
  AutomatedReasoningPolicyTestRunResult,
15
15
  AutomatedReasoningPolicyTestRunStatus,
16
+ ConfigurationOwner,
16
17
  CustomizationType,
17
18
  CustomModelDeploymentStatus,
18
19
  EvaluationJobStatus,
@@ -52,11 +53,6 @@ export interface AccountEnforcedGuardrailInferenceInputConfiguration {
52
53
  guardrailVersion: string | undefined;
53
54
  inputTags: InputTags | undefined;
54
55
  }
55
- export declare const ConfigurationOwner: {
56
- readonly ACCOUNT: "ACCOUNT";
57
- };
58
- export type ConfigurationOwner =
59
- (typeof ConfigurationOwner)[keyof typeof ConfigurationOwner];
60
56
  export interface AccountEnforcedGuardrailOutputConfiguration {
61
57
  configId?: string | undefined;
62
58
  guardrailArn?: string | undefined;
@@ -2465,3 +2461,7 @@ export interface InferenceProfileSummary {
2465
2461
  status: InferenceProfileStatus | undefined;
2466
2462
  type: InferenceProfileType | undefined;
2467
2463
  }
2464
+ export interface ListInferenceProfilesResponse {
2465
+ inferenceProfileSummaries?: InferenceProfileSummary[] | undefined;
2466
+ nextToken?: string | undefined;
2467
+ }
@@ -40,7 +40,6 @@ import {
40
40
  FilterAttribute,
41
41
  GenerationConfiguration,
42
42
  ImplicitFilterConfiguration,
43
- InferenceProfileSummary,
44
43
  ModelDataSource,
45
44
  OrchestrationConfiguration,
46
45
  OutputDataConfig,
@@ -52,10 +51,6 @@ import {
52
51
  VectorSearchRerankingConfiguration,
53
52
  VpcConfig,
54
53
  } from "./models_0";
55
- export interface ListInferenceProfilesResponse {
56
- inferenceProfileSummaries?: InferenceProfileSummary[] | undefined;
57
- nextToken?: string | undefined;
58
- }
59
54
  export interface DeleteModelInvocationLoggingConfigurationRequest {}
60
55
  export interface DeleteModelInvocationLoggingConfigurationResponse {}
61
56
  export interface GetModelInvocationLoggingConfigurationRequest {}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-bedrock",
3
3
  "description": "AWS SDK for JavaScript Bedrock Client for Node.js, Browser and React Native",
4
- "version": "3.938.0",
4
+ "version": "3.940.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-bedrock",
@@ -20,18 +20,18 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.936.0",
24
- "@aws-sdk/credential-provider-node": "3.936.0",
23
+ "@aws-sdk/core": "3.940.0",
24
+ "@aws-sdk/credential-provider-node": "3.940.0",
25
25
  "@aws-sdk/middleware-host-header": "3.936.0",
26
26
  "@aws-sdk/middleware-logger": "3.936.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.936.0",
28
- "@aws-sdk/middleware-user-agent": "3.936.0",
28
+ "@aws-sdk/middleware-user-agent": "3.940.0",
29
29
  "@aws-sdk/region-config-resolver": "3.936.0",
30
- "@aws-sdk/token-providers": "3.936.0",
30
+ "@aws-sdk/token-providers": "3.940.0",
31
31
  "@aws-sdk/types": "3.936.0",
32
32
  "@aws-sdk/util-endpoints": "3.936.0",
33
33
  "@aws-sdk/util-user-agent-browser": "3.936.0",
34
- "@aws-sdk/util-user-agent-node": "3.936.0",
34
+ "@aws-sdk/util-user-agent-node": "3.940.0",
35
35
  "@smithy/config-resolver": "^4.4.3",
36
36
  "@smithy/core": "^3.18.5",
37
37
  "@smithy/fetch-http-handler": "^5.3.6",