@aws-sdk/client-bedrock 3.839.0 → 3.844.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 (35) hide show
  1. package/dist-cjs/auth/httpAuthSchemeProvider.js +17 -0
  2. package/dist-cjs/index.js +152 -20
  3. package/dist-cjs/runtimeConfig.js +23 -0
  4. package/dist-cjs/runtimeConfig.shared.js +6 -0
  5. package/dist-es/BedrockClient.js +1 -0
  6. package/dist-es/auth/httpAuthExtensionConfiguration.js +8 -0
  7. package/dist-es/auth/httpAuthSchemeProvider.js +17 -0
  8. package/dist-es/models/models_0.js +56 -12
  9. package/dist-es/models/models_1.js +19 -1
  10. package/dist-es/protocols/Aws_restJson1.js +42 -0
  11. package/dist-es/runtimeConfig.js +24 -1
  12. package/dist-es/runtimeConfig.shared.js +6 -0
  13. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +4 -1
  14. package/dist-types/auth/httpAuthSchemeProvider.d.ts +9 -1
  15. package/dist-types/commands/CreateEvaluationJobCommand.d.ts +76 -6
  16. package/dist-types/commands/GetEvaluationJobCommand.d.ts +76 -6
  17. package/dist-types/commands/GetFoundationModelAvailabilityCommand.d.ts +2 -1
  18. package/dist-types/commands/ListFoundationModelAgreementOffersCommand.d.ts +1 -2
  19. package/dist-types/models/models_0.d.ts +220 -177
  20. package/dist-types/models/models_1.d.ts +188 -1
  21. package/dist-types/runtimeConfig.browser.d.ts +10 -1
  22. package/dist-types/runtimeConfig.d.ts +13 -1
  23. package/dist-types/runtimeConfig.native.d.ts +10 -1
  24. package/dist-types/runtimeConfig.shared.d.ts +12 -1
  25. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -0
  26. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +4 -0
  27. package/dist-types/ts3.4/commands/GetFoundationModelAvailabilityCommand.d.ts +2 -4
  28. package/dist-types/ts3.4/commands/ListFoundationModelAgreementOffersCommand.d.ts +4 -2
  29. package/dist-types/ts3.4/models/models_0.d.ts +101 -52
  30. package/dist-types/ts3.4/models/models_1.d.ts +58 -1
  31. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +27 -1
  32. package/dist-types/ts3.4/runtimeConfig.d.ts +30 -1
  33. package/dist-types/ts3.4/runtimeConfig.native.d.ts +27 -1
  34. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +27 -1
  35. package/package.json +21 -20
@@ -2247,8 +2247,10 @@ const se_KnowledgeBaseRetrieveAndGenerateConfiguration = (input, context) => {
2247
2247
  const se_KnowledgeBaseVectorSearchConfiguration = (input, context) => {
2248
2248
  return take(input, {
2249
2249
  filter: (_) => se_RetrievalFilter(_, context),
2250
+ implicitFilterConfiguration: _json,
2250
2251
  numberOfResults: [],
2251
2252
  overrideSearchType: [],
2253
+ rerankingConfiguration: (_) => se_VectorSearchRerankingConfiguration(_, context),
2252
2254
  });
2253
2255
  };
2254
2256
  const se_RAGConfig = (input, context) => {
@@ -2336,6 +2338,25 @@ const se_TextInferenceConfig = (input, context) => {
2336
2338
  topP: __serializeFloat,
2337
2339
  });
2338
2340
  };
2341
+ const se_VectorSearchBedrockRerankingConfiguration = (input, context) => {
2342
+ return take(input, {
2343
+ metadataConfiguration: _json,
2344
+ modelConfiguration: (_) => se_VectorSearchBedrockRerankingModelConfiguration(_, context),
2345
+ numberOfRerankedResults: [],
2346
+ });
2347
+ };
2348
+ const se_VectorSearchBedrockRerankingModelConfiguration = (input, context) => {
2349
+ return take(input, {
2350
+ additionalModelRequestFields: (_) => se_AdditionalModelRequestFields(_, context),
2351
+ modelArn: [],
2352
+ });
2353
+ };
2354
+ const se_VectorSearchRerankingConfiguration = (input, context) => {
2355
+ return take(input, {
2356
+ bedrockRerankingConfiguration: (_) => se_VectorSearchBedrockRerankingConfiguration(_, context),
2357
+ type: [],
2358
+ });
2359
+ };
2339
2360
  const de_AdditionalModelRequestFields = (output, context) => {
2340
2361
  return Object.entries(output).reduce((acc, [key, value]) => {
2341
2362
  if (value === null) {
@@ -2630,8 +2651,10 @@ const de_KnowledgeBaseRetrieveAndGenerateConfiguration = (output, context) => {
2630
2651
  const de_KnowledgeBaseVectorSearchConfiguration = (output, context) => {
2631
2652
  return take(output, {
2632
2653
  filter: (_) => de_RetrievalFilter(__expectUnion(_), context),
2654
+ implicitFilterConfiguration: _json,
2633
2655
  numberOfResults: __expectInt32,
2634
2656
  overrideSearchType: __expectString,
2657
+ rerankingConfiguration: (_) => de_VectorSearchRerankingConfiguration(_, context),
2635
2658
  });
2636
2659
  };
2637
2660
  const de_MarketplaceModelEndpoint = (output, context) => {
@@ -2989,6 +3012,25 @@ const de_ValidatorMetric = (output, context) => {
2989
3012
  validationLoss: __limitedParseFloat32,
2990
3013
  });
2991
3014
  };
3015
+ const de_VectorSearchBedrockRerankingConfiguration = (output, context) => {
3016
+ return take(output, {
3017
+ metadataConfiguration: _json,
3018
+ modelConfiguration: (_) => de_VectorSearchBedrockRerankingModelConfiguration(_, context),
3019
+ numberOfRerankedResults: __expectInt32,
3020
+ });
3021
+ };
3022
+ const de_VectorSearchBedrockRerankingModelConfiguration = (output, context) => {
3023
+ return take(output, {
3024
+ additionalModelRequestFields: (_) => de_AdditionalModelRequestFields(_, context),
3025
+ modelArn: __expectString,
3026
+ });
3027
+ };
3028
+ const de_VectorSearchRerankingConfiguration = (output, context) => {
3029
+ return take(output, {
3030
+ bedrockRerankingConfiguration: (_) => de_VectorSearchBedrockRerankingConfiguration(_, context),
3031
+ type: __expectString,
3032
+ });
3033
+ };
2992
3034
  const deserializeMetadata = (output) => ({
2993
3035
  httpStatusCode: output.statusCode,
2994
3036
  requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
@@ -1,8 +1,10 @@
1
1
  import packageInfo from "../package.json";
2
- import { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core";
2
+ import { AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, emitWarningIfUnsupportedVersion as awsCheckVersion, } from "@aws-sdk/core";
3
3
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
4
+ import { fromEnvSigningName, nodeProvider } from "@aws-sdk/token-providers";
4
5
  import { NODE_APP_ID_CONFIG_OPTIONS, createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-node";
5
6
  import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
7
+ import { HttpBearerAuthSigner } from "@smithy/core";
6
8
  import { Hash } from "@smithy/hash-node";
7
9
  import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
8
10
  import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider";
@@ -22,6 +24,7 @@ export const getRuntimeConfig = (config) => {
22
24
  const loaderConfig = {
23
25
  profile: config?.profile,
24
26
  logger: clientSharedValues.logger,
27
+ signingName: "bedrock",
25
28
  };
26
29
  return {
27
30
  ...clientSharedValues,
@@ -33,6 +36,26 @@ export const getRuntimeConfig = (config) => {
33
36
  credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
34
37
  defaultUserAgentProvider: config?.defaultUserAgentProvider ??
35
38
  createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
39
+ httpAuthSchemes: config?.httpAuthSchemes ?? [
40
+ {
41
+ schemeId: "aws.auth#sigv4",
42
+ identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
43
+ signer: new AwsSdkSigV4Signer(),
44
+ },
45
+ {
46
+ schemeId: "smithy.api#httpBearerAuth",
47
+ identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#httpBearerAuth") ||
48
+ (async (idProps) => {
49
+ try {
50
+ return await fromEnvSigningName({ signingName: "bedrock" })();
51
+ }
52
+ catch (error) {
53
+ return await nodeProvider(idProps)(idProps);
54
+ }
55
+ }),
56
+ signer: new HttpBearerAuthSigner(),
57
+ },
58
+ ],
36
59
  maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
37
60
  region: config?.region ??
38
61
  loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
@@ -1,4 +1,5 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core";
2
+ import { HttpBearerAuthSigner } from "@smithy/core";
2
3
  import { NoOpLogger } from "@smithy/smithy-client";
3
4
  import { parseUrl } from "@smithy/url-parser";
4
5
  import { fromBase64, toBase64 } from "@smithy/util-base64";
@@ -20,6 +21,11 @@ export const getRuntimeConfig = (config) => {
20
21
  identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
21
22
  signer: new AwsSdkSigV4Signer(),
22
23
  },
24
+ {
25
+ schemeId: "smithy.api#httpBearerAuth",
26
+ identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#httpBearerAuth"),
27
+ signer: new HttpBearerAuthSigner(),
28
+ },
23
29
  ],
24
30
  logger: config?.logger ?? new NoOpLogger(),
25
31
  serviceId: config?.serviceId ?? "Bedrock",
@@ -1,4 +1,4 @@
1
- import { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types";
1
+ import { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme, TokenIdentity, TokenIdentityProvider } from "@smithy/types";
2
2
  import { BedrockHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
3
3
  /**
4
4
  * @internal
@@ -10,6 +10,8 @@ export interface HttpAuthExtensionConfiguration {
10
10
  httpAuthSchemeProvider(): BedrockHttpAuthSchemeProvider;
11
11
  setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
12
12
  credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
13
+ setToken(token: TokenIdentity | TokenIdentityProvider): void;
14
+ token(): TokenIdentity | TokenIdentityProvider | undefined;
13
15
  }
14
16
  /**
15
17
  * @internal
@@ -18,6 +20,7 @@ export type HttpAuthRuntimeConfig = Partial<{
18
20
  httpAuthSchemes: HttpAuthScheme[];
19
21
  httpAuthSchemeProvider: BedrockHttpAuthSchemeProvider;
20
22
  credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
23
+ token: TokenIdentity | TokenIdentityProvider;
21
24
  }>;
22
25
  /**
23
26
  * @internal
@@ -1,5 +1,5 @@
1
1
  import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
2
- import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
2
+ import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider, TokenIdentity, TokenIdentityProvider } from "@smithy/types";
3
3
  import { BedrockClientResolvedConfig } from "../BedrockClient";
4
4
  /**
5
5
  * @internal
@@ -46,6 +46,10 @@ export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
46
46
  * @internal
47
47
  */
48
48
  httpAuthSchemeProvider?: BedrockHttpAuthSchemeProvider;
49
+ /**
50
+ * The token used to authenticate requests.
51
+ */
52
+ token?: TokenIdentity | TokenIdentityProvider;
49
53
  }
50
54
  /**
51
55
  * @internal
@@ -68,6 +72,10 @@ export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedCon
68
72
  * @internal
69
73
  */
70
74
  readonly httpAuthSchemeProvider: BedrockHttpAuthSchemeProvider;
75
+ /**
76
+ * The token used to authenticate requests.
77
+ */
78
+ readonly token?: TokenIdentityProvider;
71
79
  }
72
80
  /**
73
81
  * @internal
@@ -202,6 +202,43 @@ declare const CreateEvaluationJobCommand_base: {
202
202
  * "<RetrievalFilter>",
203
203
  * ],
204
204
  * },
205
+ * implicitFilterConfiguration: { // ImplicitFilterConfiguration
206
+ * metadataAttributes: [ // MetadataAttributeSchemaList // required
207
+ * { // MetadataAttributeSchema
208
+ * key: "STRING_VALUE", // required
209
+ * type: "STRING" || "NUMBER" || "BOOLEAN" || "STRING_LIST", // required
210
+ * description: "STRING_VALUE", // required
211
+ * },
212
+ * ],
213
+ * modelArn: "STRING_VALUE", // required
214
+ * },
215
+ * rerankingConfiguration: { // VectorSearchRerankingConfiguration
216
+ * type: "BEDROCK_RERANKING_MODEL", // required
217
+ * bedrockRerankingConfiguration: { // VectorSearchBedrockRerankingConfiguration
218
+ * modelConfiguration: { // VectorSearchBedrockRerankingModelConfiguration
219
+ * modelArn: "STRING_VALUE", // required
220
+ * additionalModelRequestFields: { // AdditionalModelRequestFields
221
+ * "<keys>": "DOCUMENT_VALUE",
222
+ * },
223
+ * },
224
+ * numberOfRerankedResults: Number("int"),
225
+ * metadataConfiguration: { // MetadataConfigurationForReranking
226
+ * selectionMode: "SELECTIVE" || "ALL", // required
227
+ * selectiveModeConfiguration: { // RerankingMetadataSelectiveModeConfiguration Union: only one key present
228
+ * fieldsToInclude: [ // FieldsForReranking
229
+ * { // FieldForReranking
230
+ * fieldName: "STRING_VALUE", // required
231
+ * },
232
+ * ],
233
+ * fieldsToExclude: [
234
+ * {
235
+ * fieldName: "STRING_VALUE", // required
236
+ * },
237
+ * ],
238
+ * },
239
+ * },
240
+ * },
241
+ * },
205
242
  * },
206
243
  * },
207
244
  * },
@@ -215,6 +252,43 @@ declare const CreateEvaluationJobCommand_base: {
215
252
  * numberOfResults: Number("int"),
216
253
  * overrideSearchType: "HYBRID" || "SEMANTIC",
217
254
  * filter: "<RetrievalFilter>",
255
+ * implicitFilterConfiguration: {
256
+ * metadataAttributes: [ // required
257
+ * {
258
+ * key: "STRING_VALUE", // required
259
+ * type: "STRING" || "NUMBER" || "BOOLEAN" || "STRING_LIST", // required
260
+ * description: "STRING_VALUE", // required
261
+ * },
262
+ * ],
263
+ * modelArn: "STRING_VALUE", // required
264
+ * },
265
+ * rerankingConfiguration: {
266
+ * type: "BEDROCK_RERANKING_MODEL", // required
267
+ * bedrockRerankingConfiguration: {
268
+ * modelConfiguration: {
269
+ * modelArn: "STRING_VALUE", // required
270
+ * additionalModelRequestFields: {
271
+ * "<keys>": "DOCUMENT_VALUE",
272
+ * },
273
+ * },
274
+ * numberOfRerankedResults: Number("int"),
275
+ * metadataConfiguration: {
276
+ * selectionMode: "SELECTIVE" || "ALL", // required
277
+ * selectiveModeConfiguration: {// Union: only one key present
278
+ * fieldsToInclude: [
279
+ * {
280
+ * fieldName: "STRING_VALUE", // required
281
+ * },
282
+ * ],
283
+ * fieldsToExclude: [
284
+ * {
285
+ * fieldName: "STRING_VALUE", // required
286
+ * },
287
+ * ],
288
+ * },
289
+ * },
290
+ * },
291
+ * },
218
292
  * },
219
293
  * },
220
294
  * generationConfiguration: { // GenerationConfiguration
@@ -235,9 +309,7 @@ declare const CreateEvaluationJobCommand_base: {
235
309
  * ],
236
310
  * },
237
311
  * },
238
- * additionalModelRequestFields: { // AdditionalModelRequestFields
239
- * "<keys>": "DOCUMENT_VALUE",
240
- * },
312
+ * additionalModelRequestFields: "<AdditionalModelRequestFields>",
241
313
  * },
242
314
  * orchestrationConfiguration: { // OrchestrationConfiguration
243
315
  * queryTransformationConfiguration: { // QueryTransformationConfiguration
@@ -278,9 +350,7 @@ declare const CreateEvaluationJobCommand_base: {
278
350
  * ],
279
351
  * },
280
352
  * },
281
- * additionalModelRequestFields: {
282
- * "<keys>": "DOCUMENT_VALUE",
283
- * },
353
+ * additionalModelRequestFields: "<AdditionalModelRequestFields>",
284
354
  * },
285
355
  * },
286
356
  * },
@@ -203,6 +203,43 @@ declare const GetEvaluationJobCommand_base: {
203
203
  * // "<RetrievalFilter>",
204
204
  * // ],
205
205
  * // },
206
+ * // implicitFilterConfiguration: { // ImplicitFilterConfiguration
207
+ * // metadataAttributes: [ // MetadataAttributeSchemaList // required
208
+ * // { // MetadataAttributeSchema
209
+ * // key: "STRING_VALUE", // required
210
+ * // type: "STRING" || "NUMBER" || "BOOLEAN" || "STRING_LIST", // required
211
+ * // description: "STRING_VALUE", // required
212
+ * // },
213
+ * // ],
214
+ * // modelArn: "STRING_VALUE", // required
215
+ * // },
216
+ * // rerankingConfiguration: { // VectorSearchRerankingConfiguration
217
+ * // type: "BEDROCK_RERANKING_MODEL", // required
218
+ * // bedrockRerankingConfiguration: { // VectorSearchBedrockRerankingConfiguration
219
+ * // modelConfiguration: { // VectorSearchBedrockRerankingModelConfiguration
220
+ * // modelArn: "STRING_VALUE", // required
221
+ * // additionalModelRequestFields: { // AdditionalModelRequestFields
222
+ * // "<keys>": "DOCUMENT_VALUE",
223
+ * // },
224
+ * // },
225
+ * // numberOfRerankedResults: Number("int"),
226
+ * // metadataConfiguration: { // MetadataConfigurationForReranking
227
+ * // selectionMode: "SELECTIVE" || "ALL", // required
228
+ * // selectiveModeConfiguration: { // RerankingMetadataSelectiveModeConfiguration Union: only one key present
229
+ * // fieldsToInclude: [ // FieldsForReranking
230
+ * // { // FieldForReranking
231
+ * // fieldName: "STRING_VALUE", // required
232
+ * // },
233
+ * // ],
234
+ * // fieldsToExclude: [
235
+ * // {
236
+ * // fieldName: "STRING_VALUE", // required
237
+ * // },
238
+ * // ],
239
+ * // },
240
+ * // },
241
+ * // },
242
+ * // },
206
243
  * // },
207
244
  * // },
208
245
  * // },
@@ -216,6 +253,43 @@ declare const GetEvaluationJobCommand_base: {
216
253
  * // numberOfResults: Number("int"),
217
254
  * // overrideSearchType: "HYBRID" || "SEMANTIC",
218
255
  * // filter: "<RetrievalFilter>",
256
+ * // implicitFilterConfiguration: {
257
+ * // metadataAttributes: [ // required
258
+ * // {
259
+ * // key: "STRING_VALUE", // required
260
+ * // type: "STRING" || "NUMBER" || "BOOLEAN" || "STRING_LIST", // required
261
+ * // description: "STRING_VALUE", // required
262
+ * // },
263
+ * // ],
264
+ * // modelArn: "STRING_VALUE", // required
265
+ * // },
266
+ * // rerankingConfiguration: {
267
+ * // type: "BEDROCK_RERANKING_MODEL", // required
268
+ * // bedrockRerankingConfiguration: {
269
+ * // modelConfiguration: {
270
+ * // modelArn: "STRING_VALUE", // required
271
+ * // additionalModelRequestFields: {
272
+ * // "<keys>": "DOCUMENT_VALUE",
273
+ * // },
274
+ * // },
275
+ * // numberOfRerankedResults: Number("int"),
276
+ * // metadataConfiguration: {
277
+ * // selectionMode: "SELECTIVE" || "ALL", // required
278
+ * // selectiveModeConfiguration: {// Union: only one key present
279
+ * // fieldsToInclude: [
280
+ * // {
281
+ * // fieldName: "STRING_VALUE", // required
282
+ * // },
283
+ * // ],
284
+ * // fieldsToExclude: [
285
+ * // {
286
+ * // fieldName: "STRING_VALUE", // required
287
+ * // },
288
+ * // ],
289
+ * // },
290
+ * // },
291
+ * // },
292
+ * // },
219
293
  * // },
220
294
  * // },
221
295
  * // generationConfiguration: { // GenerationConfiguration
@@ -236,9 +310,7 @@ declare const GetEvaluationJobCommand_base: {
236
310
  * // ],
237
311
  * // },
238
312
  * // },
239
- * // additionalModelRequestFields: { // AdditionalModelRequestFields
240
- * // "<keys>": "DOCUMENT_VALUE",
241
- * // },
313
+ * // additionalModelRequestFields: "<AdditionalModelRequestFields>",
242
314
  * // },
243
315
  * // orchestrationConfiguration: { // OrchestrationConfiguration
244
316
  * // queryTransformationConfiguration: { // QueryTransformationConfiguration
@@ -279,9 +351,7 @@ declare const GetEvaluationJobCommand_base: {
279
351
  * // ],
280
352
  * // },
281
353
  * // },
282
- * // additionalModelRequestFields: {
283
- * // "<keys>": "DOCUMENT_VALUE",
284
- * // },
354
+ * // additionalModelRequestFields: "<AdditionalModelRequestFields>",
285
355
  * // },
286
356
  * // },
287
357
  * // },
@@ -1,7 +1,8 @@
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 { GetFoundationModelAvailabilityRequest, GetFoundationModelAvailabilityResponse } from "../models/models_0";
4
+ import { GetFoundationModelAvailabilityRequest } from "../models/models_0";
5
+ import { GetFoundationModelAvailabilityResponse } from "../models/models_1";
5
6
  /**
6
7
  * @public
7
8
  */
@@ -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 { ListFoundationModelAgreementOffersRequest } from "../models/models_0";
5
- import { ListFoundationModelAgreementOffersResponse } from "../models/models_1";
4
+ import { ListFoundationModelAgreementOffersRequest, ListFoundationModelAgreementOffersResponse } from "../models/models_1";
6
5
  /**
7
6
  * @public
8
7
  */