@aws-sdk/client-bedrock 3.637.0 → 3.645.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.
Files changed (30) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/index.js +131 -0
  3. package/dist-es/Bedrock.js +4 -0
  4. package/dist-es/commands/GetInferenceProfileCommand.js +24 -0
  5. package/dist-es/commands/ListInferenceProfilesCommand.js +24 -0
  6. package/dist-es/commands/index.js +2 -0
  7. package/dist-es/models/models_0.js +6 -0
  8. package/dist-es/pagination/ListInferenceProfilesPaginator.js +4 -0
  9. package/dist-es/pagination/index.js +1 -0
  10. package/dist-es/protocols/Aws_restJson1.js +79 -0
  11. package/dist-types/Bedrock.d.ts +15 -0
  12. package/dist-types/BedrockClient.d.ts +4 -2
  13. package/dist-types/commands/CreateModelInvocationJobCommand.d.ts +2 -2
  14. package/dist-types/commands/GetInferenceProfileCommand.d.ts +87 -0
  15. package/dist-types/commands/ListInferenceProfilesCommand.d.ts +90 -0
  16. package/dist-types/commands/index.d.ts +2 -0
  17. package/dist-types/models/models_0.d.ts +178 -4
  18. package/dist-types/pagination/ListInferenceProfilesPaginator.d.ts +7 -0
  19. package/dist-types/pagination/index.d.ts +1 -0
  20. package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
  21. package/dist-types/ts3.4/Bedrock.d.ts +35 -0
  22. package/dist-types/ts3.4/BedrockClient.d.ts +12 -0
  23. package/dist-types/ts3.4/commands/GetInferenceProfileCommand.d.ts +40 -0
  24. package/dist-types/ts3.4/commands/ListInferenceProfilesCommand.d.ts +40 -0
  25. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  26. package/dist-types/ts3.4/models/models_0.d.ts +46 -0
  27. package/dist-types/ts3.4/pagination/ListInferenceProfilesPaginator.d.ts +11 -0
  28. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  29. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
  30. package/package.json +6 -6
@@ -0,0 +1,40 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ BedrockClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../BedrockClient";
8
+ import {
9
+ ListInferenceProfilesRequest,
10
+ ListInferenceProfilesResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface ListInferenceProfilesCommandInput
15
+ extends ListInferenceProfilesRequest {}
16
+ export interface ListInferenceProfilesCommandOutput
17
+ extends ListInferenceProfilesResponse,
18
+ __MetadataBearer {}
19
+ declare const ListInferenceProfilesCommand_base: {
20
+ new (
21
+ input: ListInferenceProfilesCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ ListInferenceProfilesCommandInput,
24
+ ListInferenceProfilesCommandOutput,
25
+ BedrockClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ ...[input]: [] | [ListInferenceProfilesCommandInput]
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ ListInferenceProfilesCommandInput,
33
+ ListInferenceProfilesCommandOutput,
34
+ BedrockClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class ListInferenceProfilesCommand extends ListInferenceProfilesCommand_base {}
@@ -17,6 +17,7 @@ export * from "./GetEvaluationJobCommand";
17
17
  export * from "./GetFoundationModelCommand";
18
18
  export * from "./GetGuardrailCommand";
19
19
  export * from "./GetImportedModelCommand";
20
+ export * from "./GetInferenceProfileCommand";
20
21
  export * from "./GetModelCopyJobCommand";
21
22
  export * from "./GetModelCustomizationJobCommand";
22
23
  export * from "./GetModelImportJobCommand";
@@ -28,6 +29,7 @@ export * from "./ListEvaluationJobsCommand";
28
29
  export * from "./ListFoundationModelsCommand";
29
30
  export * from "./ListGuardrailsCommand";
30
31
  export * from "./ListImportedModelsCommand";
32
+ export * from "./ListInferenceProfilesCommand";
31
33
  export * from "./ListModelCopyJobsCommand";
32
34
  export * from "./ListModelCustomizationJobsCommand";
33
35
  export * from "./ListModelImportJobsCommand";
@@ -559,6 +559,52 @@ export interface UpdateGuardrailResponse {
559
559
  version: string | undefined;
560
560
  updatedAt: Date | undefined;
561
561
  }
562
+ export interface GetInferenceProfileRequest {
563
+ inferenceProfileIdentifier: string | undefined;
564
+ }
565
+ export interface InferenceProfileModel {
566
+ modelArn?: string;
567
+ }
568
+ export declare const InferenceProfileStatus: {
569
+ readonly ACTIVE: "ACTIVE";
570
+ };
571
+ export type InferenceProfileStatus =
572
+ (typeof InferenceProfileStatus)[keyof typeof InferenceProfileStatus];
573
+ export declare const InferenceProfileType: {
574
+ readonly SYSTEM_DEFINED: "SYSTEM_DEFINED";
575
+ };
576
+ export type InferenceProfileType =
577
+ (typeof InferenceProfileType)[keyof typeof InferenceProfileType];
578
+ export interface GetInferenceProfileResponse {
579
+ inferenceProfileName: string | undefined;
580
+ models: InferenceProfileModel[] | undefined;
581
+ description?: string;
582
+ createdAt?: Date;
583
+ updatedAt?: Date;
584
+ inferenceProfileArn: string | undefined;
585
+ inferenceProfileId: string | undefined;
586
+ status: InferenceProfileStatus | undefined;
587
+ type: InferenceProfileType | undefined;
588
+ }
589
+ export interface ListInferenceProfilesRequest {
590
+ maxResults?: number;
591
+ nextToken?: string;
592
+ }
593
+ export interface InferenceProfileSummary {
594
+ inferenceProfileName: string | undefined;
595
+ models: InferenceProfileModel[] | undefined;
596
+ description?: string;
597
+ createdAt?: Date;
598
+ updatedAt?: Date;
599
+ inferenceProfileArn: string | undefined;
600
+ inferenceProfileId: string | undefined;
601
+ status: InferenceProfileStatus | undefined;
602
+ type: InferenceProfileType | undefined;
603
+ }
604
+ export interface ListInferenceProfilesResponse {
605
+ inferenceProfileSummaries?: InferenceProfileSummary[];
606
+ nextToken?: string;
607
+ }
562
608
  export interface DeleteModelInvocationLoggingConfigurationRequest {}
563
609
  export interface DeleteModelInvocationLoggingConfigurationResponse {}
564
610
  export interface GetModelInvocationLoggingConfigurationRequest {}
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListInferenceProfilesCommandInput,
4
+ ListInferenceProfilesCommandOutput,
5
+ } from "../commands/ListInferenceProfilesCommand";
6
+ import { BedrockPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListInferenceProfiles: (
8
+ config: BedrockPaginationConfiguration,
9
+ input: ListInferenceProfilesCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListInferenceProfilesCommandOutput>;
@@ -3,6 +3,7 @@ export * from "./ListCustomModelsPaginator";
3
3
  export * from "./ListEvaluationJobsPaginator";
4
4
  export * from "./ListGuardrailsPaginator";
5
5
  export * from "./ListImportedModelsPaginator";
6
+ export * from "./ListInferenceProfilesPaginator";
6
7
  export * from "./ListModelCopyJobsPaginator";
7
8
  export * from "./ListModelCustomizationJobsPaginator";
8
9
  export * from "./ListModelImportJobsPaginator";
@@ -79,6 +79,10 @@ import {
79
79
  GetImportedModelCommandInput,
80
80
  GetImportedModelCommandOutput,
81
81
  } from "../commands/GetImportedModelCommand";
82
+ import {
83
+ GetInferenceProfileCommandInput,
84
+ GetInferenceProfileCommandOutput,
85
+ } from "../commands/GetInferenceProfileCommand";
82
86
  import {
83
87
  GetModelCopyJobCommandInput,
84
88
  GetModelCopyJobCommandOutput,
@@ -123,6 +127,10 @@ import {
123
127
  ListImportedModelsCommandInput,
124
128
  ListImportedModelsCommandOutput,
125
129
  } from "../commands/ListImportedModelsCommand";
130
+ import {
131
+ ListInferenceProfilesCommandInput,
132
+ ListInferenceProfilesCommandOutput,
133
+ } from "../commands/ListInferenceProfilesCommand";
126
134
  import {
127
135
  ListModelCopyJobsCommandInput,
128
136
  ListModelCopyJobsCommandOutput,
@@ -255,6 +263,10 @@ export declare const se_GetImportedModelCommand: (
255
263
  input: GetImportedModelCommandInput,
256
264
  context: __SerdeContext
257
265
  ) => Promise<__HttpRequest>;
266
+ export declare const se_GetInferenceProfileCommand: (
267
+ input: GetInferenceProfileCommandInput,
268
+ context: __SerdeContext
269
+ ) => Promise<__HttpRequest>;
258
270
  export declare const se_GetModelCopyJobCommand: (
259
271
  input: GetModelCopyJobCommandInput,
260
272
  context: __SerdeContext
@@ -299,6 +311,10 @@ export declare const se_ListImportedModelsCommand: (
299
311
  input: ListImportedModelsCommandInput,
300
312
  context: __SerdeContext
301
313
  ) => Promise<__HttpRequest>;
314
+ export declare const se_ListInferenceProfilesCommand: (
315
+ input: ListInferenceProfilesCommandInput,
316
+ context: __SerdeContext
317
+ ) => Promise<__HttpRequest>;
302
318
  export declare const se_ListModelCopyJobsCommand: (
303
319
  input: ListModelCopyJobsCommandInput,
304
320
  context: __SerdeContext
@@ -431,6 +447,10 @@ export declare const de_GetImportedModelCommand: (
431
447
  output: __HttpResponse,
432
448
  context: __SerdeContext
433
449
  ) => Promise<GetImportedModelCommandOutput>;
450
+ export declare const de_GetInferenceProfileCommand: (
451
+ output: __HttpResponse,
452
+ context: __SerdeContext
453
+ ) => Promise<GetInferenceProfileCommandOutput>;
434
454
  export declare const de_GetModelCopyJobCommand: (
435
455
  output: __HttpResponse,
436
456
  context: __SerdeContext
@@ -475,6 +495,10 @@ export declare const de_ListImportedModelsCommand: (
475
495
  output: __HttpResponse,
476
496
  context: __SerdeContext
477
497
  ) => Promise<ListImportedModelsCommandOutput>;
498
+ export declare const de_ListInferenceProfilesCommand: (
499
+ output: __HttpResponse,
500
+ context: __SerdeContext
501
+ ) => Promise<ListInferenceProfilesCommandOutput>;
478
502
  export declare const de_ListModelCopyJobsCommand: (
479
503
  output: __HttpResponse,
480
504
  context: __SerdeContext
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.637.0",
4
+ "version": "3.645.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,17 +20,17 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.637.0",
24
- "@aws-sdk/client-sts": "3.637.0",
23
+ "@aws-sdk/client-sso-oidc": "3.645.0",
24
+ "@aws-sdk/client-sts": "3.645.0",
25
25
  "@aws-sdk/core": "3.635.0",
26
- "@aws-sdk/credential-provider-node": "3.637.0",
26
+ "@aws-sdk/credential-provider-node": "3.645.0",
27
27
  "@aws-sdk/middleware-host-header": "3.620.0",
28
28
  "@aws-sdk/middleware-logger": "3.609.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.620.0",
30
- "@aws-sdk/middleware-user-agent": "3.637.0",
30
+ "@aws-sdk/middleware-user-agent": "3.645.0",
31
31
  "@aws-sdk/region-config-resolver": "3.614.0",
32
32
  "@aws-sdk/types": "3.609.0",
33
- "@aws-sdk/util-endpoints": "3.637.0",
33
+ "@aws-sdk/util-endpoints": "3.645.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.609.0",
35
35
  "@aws-sdk/util-user-agent-node": "3.614.0",
36
36
  "@smithy/config-resolver": "^3.0.5",