@aws-sdk/client-bedrock 3.422.1 → 3.423.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 (82) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/Bedrock.js +10 -0
  3. package/dist-cjs/commands/CreateProvisionedModelThroughputCommand.js +51 -0
  4. package/dist-cjs/commands/DeleteProvisionedModelThroughputCommand.js +51 -0
  5. package/dist-cjs/commands/GetProvisionedModelThroughputCommand.js +51 -0
  6. package/dist-cjs/commands/ListProvisionedModelThroughputsCommand.js +51 -0
  7. package/dist-cjs/commands/UpdateProvisionedModelThroughputCommand.js +51 -0
  8. package/dist-cjs/commands/index.js +5 -0
  9. package/dist-cjs/models/models_0.js +25 -12
  10. package/dist-cjs/pagination/ListProvisionedModelThroughputsPaginator.js +29 -0
  11. package/dist-cjs/pagination/index.js +1 -0
  12. package/dist-cjs/protocols/Aws_restJson1.js +386 -1
  13. package/dist-es/Bedrock.js +10 -0
  14. package/dist-es/commands/CreateProvisionedModelThroughputCommand.js +47 -0
  15. package/dist-es/commands/DeleteProvisionedModelThroughputCommand.js +47 -0
  16. package/dist-es/commands/GetProvisionedModelThroughputCommand.js +47 -0
  17. package/dist-es/commands/ListProvisionedModelThroughputsCommand.js +47 -0
  18. package/dist-es/commands/UpdateProvisionedModelThroughputCommand.js +47 -0
  19. package/dist-es/commands/index.js +5 -0
  20. package/dist-es/models/models_0.js +22 -9
  21. package/dist-es/pagination/ListProvisionedModelThroughputsPaginator.js +25 -0
  22. package/dist-es/pagination/index.js +1 -0
  23. package/dist-es/protocols/Aws_restJson1.js +376 -1
  24. package/dist-types/Bedrock.d.ts +35 -0
  25. package/dist-types/BedrockClient.d.ts +7 -2
  26. package/dist-types/commands/CreateModelCustomizationJobCommand.d.ts +8 -8
  27. package/dist-types/commands/CreateProvisionedModelThroughputCommand.d.ts +106 -0
  28. package/dist-types/commands/DeleteProvisionedModelThroughputCommand.d.ts +89 -0
  29. package/dist-types/commands/GetModelCustomizationJobCommand.d.ts +1 -1
  30. package/dist-types/commands/GetProvisionedModelThroughputCommand.d.ts +100 -0
  31. package/dist-types/commands/ListModelCustomizationJobsCommand.d.ts +1 -1
  32. package/dist-types/commands/ListProvisionedModelThroughputsCommand.d.ts +109 -0
  33. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  34. package/dist-types/commands/UpdateProvisionedModelThroughputCommand.d.ts +88 -0
  35. package/dist-types/commands/index.d.ts +5 -0
  36. package/dist-types/models/models_0.d.ts +370 -36
  37. package/dist-types/pagination/ListProvisionedModelThroughputsPaginator.d.ts +7 -0
  38. package/dist-types/pagination/index.d.ts +1 -0
  39. package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
  40. package/dist-types/ts3.4/Bedrock.d.ts +363 -115
  41. package/dist-types/ts3.4/BedrockClient.d.ts +238 -182
  42. package/dist-types/ts3.4/commands/CreateModelCustomizationJobCommand.d.ts +42 -149
  43. package/dist-types/ts3.4/commands/CreateProvisionedModelThroughputCommand.d.ts +42 -0
  44. package/dist-types/ts3.4/commands/DeleteCustomModelCommand.d.ts +39 -89
  45. package/dist-types/ts3.4/commands/DeleteModelInvocationLoggingConfigurationCommand.d.ts +42 -78
  46. package/dist-types/ts3.4/commands/DeleteProvisionedModelThroughputCommand.d.ts +42 -0
  47. package/dist-types/ts3.4/commands/GetCustomModelCommand.d.ts +38 -118
  48. package/dist-types/ts3.4/commands/GetFoundationModelCommand.d.ts +39 -106
  49. package/dist-types/ts3.4/commands/GetModelCustomizationJobCommand.d.ts +42 -133
  50. package/dist-types/ts3.4/commands/GetModelInvocationLoggingConfigurationCommand.d.ts +42 -96
  51. package/dist-types/ts3.4/commands/GetProvisionedModelThroughputCommand.d.ts +42 -0
  52. package/dist-types/ts3.4/commands/ListCustomModelsCommand.d.ts +38 -103
  53. package/dist-types/ts3.4/commands/ListFoundationModelsCommand.d.ts +42 -108
  54. package/dist-types/ts3.4/commands/ListModelCustomizationJobsCommand.d.ts +42 -107
  55. package/dist-types/ts3.4/commands/ListProvisionedModelThroughputsCommand.d.ts +42 -0
  56. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -94
  57. package/dist-types/ts3.4/commands/PutModelInvocationLoggingConfigurationCommand.d.ts +42 -99
  58. package/dist-types/ts3.4/commands/StopModelCustomizationJobCommand.d.ts +42 -89
  59. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +35 -96
  60. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -89
  61. package/dist-types/ts3.4/commands/UpdateProvisionedModelThroughputCommand.d.ts +42 -0
  62. package/dist-types/ts3.4/commands/index.d.ts +20 -15
  63. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +33 -22
  64. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -5
  65. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -2
  66. package/dist-types/ts3.4/extensionConfiguration.d.ts +7 -8
  67. package/dist-types/ts3.4/index.d.ts +7 -12
  68. package/dist-types/ts3.4/models/BedrockServiceException.d.ts +8 -13
  69. package/dist-types/ts3.4/models/index.d.ts +1 -1
  70. package/dist-types/ts3.4/models/models_0.d.ts +412 -1144
  71. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -8
  72. package/dist-types/ts3.4/pagination/ListCustomModelsPaginator.d.ts +11 -7
  73. package/dist-types/ts3.4/pagination/ListModelCustomizationJobsPaginator.d.ts +11 -7
  74. package/dist-types/ts3.4/pagination/ListProvisionedModelThroughputsPaginator.d.ts +11 -0
  75. package/dist-types/ts3.4/pagination/index.d.ts +4 -3
  76. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +245 -137
  77. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +97 -46
  78. package/dist-types/ts3.4/runtimeConfig.d.ts +97 -46
  79. package/dist-types/ts3.4/runtimeConfig.native.d.ts +88 -45
  80. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +19 -19
  81. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -17
  82. package/package.json +3 -3
@@ -1,96 +1,35 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
- import { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
5
- import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
6
- /**
7
- * @public
8
- */
9
- export { __MetadataBearer, $Command };
10
- /**
11
- * @public
12
- *
13
- * The input for {@link TagResourceCommand}.
14
- */
15
- export interface TagResourceCommandInput extends TagResourceRequest {
16
- }
17
- /**
18
- * @public
19
- *
20
- * The output of {@link TagResourceCommand}.
21
- */
22
- export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
23
- }
24
- /**
25
- * @public
26
- * <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 Bedrock User Guide.</p>
27
- * @example
28
- * Use a bare-bones client and the command you need to make an API call.
29
- * ```javascript
30
- * import { BedrockClient, TagResourceCommand } from "@aws-sdk/client-bedrock"; // ES Modules import
31
- * // const { BedrockClient, TagResourceCommand } = require("@aws-sdk/client-bedrock"); // CommonJS import
32
- * const client = new BedrockClient(config);
33
- * const input = { // TagResourceRequest
34
- * resourceARN: "STRING_VALUE", // required
35
- * tags: [ // TagList // required
36
- * { // Tag
37
- * key: "STRING_VALUE", // required
38
- * value: "STRING_VALUE", // required
39
- * },
40
- * ],
41
- * };
42
- * const command = new TagResourceCommand(input);
43
- * const response = await client.send(command);
44
- * // {};
45
- *
46
- * ```
47
- *
48
- * @param TagResourceCommandInput - {@link TagResourceCommandInput}
49
- * @returns {@link TagResourceCommandOutput}
50
- * @see {@link TagResourceCommandInput} for command's `input` shape.
51
- * @see {@link TagResourceCommandOutput} for command's `response` shape.
52
- * @see {@link BedrockClientResolvedConfig | config} for BedrockClient's `config` shape.
53
- *
54
- * @throws {@link AccessDeniedException} (client fault)
55
- * <p>The request is denied because of missing access permissions.</p>
56
- *
57
- * @throws {@link InternalServerException} (server fault)
58
- * <p>An internal server error occurred. Retry your request.</p>
59
- *
60
- * @throws {@link ResourceNotFoundException} (client fault)
61
- * <p>The specified resource ARN was not found. Check the ARN and try your request again.</p>
62
- *
63
- * @throws {@link ThrottlingException} (client fault)
64
- * <p>The number of requests exceeds the limit. Resubmit your request later.</p>
65
- *
66
- * @throws {@link TooManyTagsException} (client fault)
67
- * <p>The request contains more tags than can be associated with a resource (50 tags per resource).
68
- * The maximum number of tags includes both existing tags and those included in your current request. </p>
69
- *
70
- * @throws {@link ValidationException} (client fault)
71
- * <p>Input validation failed. Check your request parameters and retry the request.</p>
72
- *
73
- * @throws {@link BedrockServiceException}
74
- * <p>Base exception class for all service exceptions from Bedrock service.</p>
75
- *
76
- */
77
- export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, BedrockClientResolvedConfig> {
78
- readonly input: TagResourceCommandInput;
79
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
80
- /**
81
- * @public
82
- */
83
- constructor(input: TagResourceCommandInput);
84
- /**
85
- * @internal
86
- */
87
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BedrockClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TagResourceCommandInput, TagResourceCommandOutput>;
88
- /**
89
- * @internal
90
- */
91
- private serialize;
92
- /**
93
- * @internal
94
- */
95
- private deserialize;
96
- }
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import {
10
+ BedrockClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../BedrockClient";
14
+ import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
15
+ export { __MetadataBearer, $Command };
16
+ export interface TagResourceCommandInput extends TagResourceRequest {}
17
+ export interface TagResourceCommandOutput
18
+ extends TagResourceResponse,
19
+ __MetadataBearer {}
20
+ export declare class TagResourceCommand extends $Command<
21
+ TagResourceCommandInput,
22
+ TagResourceCommandOutput,
23
+ BedrockClientResolvedConfig
24
+ > {
25
+ readonly input: TagResourceCommandInput;
26
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
+ constructor(input: TagResourceCommandInput);
28
+ resolveMiddleware(
29
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
30
+ configuration: BedrockClientResolvedConfig,
31
+ options?: __HttpHandlerOptions
32
+ ): Handler<TagResourceCommandInput, TagResourceCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -1,89 +1,38 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
- import { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
5
- import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
6
- /**
7
- * @public
8
- */
9
- export { __MetadataBearer, $Command };
10
- /**
11
- * @public
12
- *
13
- * The input for {@link UntagResourceCommand}.
14
- */
15
- export interface UntagResourceCommandInput extends UntagResourceRequest {
16
- }
17
- /**
18
- * @public
19
- *
20
- * The output of {@link UntagResourceCommand}.
21
- */
22
- export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {
23
- }
24
- /**
25
- * @public
26
- * <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 Bedrock User Guide.</p>
27
- * @example
28
- * Use a bare-bones client and the command you need to make an API call.
29
- * ```javascript
30
- * import { BedrockClient, UntagResourceCommand } from "@aws-sdk/client-bedrock"; // ES Modules import
31
- * // const { BedrockClient, UntagResourceCommand } = require("@aws-sdk/client-bedrock"); // CommonJS import
32
- * const client = new BedrockClient(config);
33
- * const input = { // UntagResourceRequest
34
- * resourceARN: "STRING_VALUE", // required
35
- * tagKeys: [ // TagKeyList // required
36
- * "STRING_VALUE",
37
- * ],
38
- * };
39
- * const command = new UntagResourceCommand(input);
40
- * const response = await client.send(command);
41
- * // {};
42
- *
43
- * ```
44
- *
45
- * @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
46
- * @returns {@link UntagResourceCommandOutput}
47
- * @see {@link UntagResourceCommandInput} for command's `input` shape.
48
- * @see {@link UntagResourceCommandOutput} for command's `response` shape.
49
- * @see {@link BedrockClientResolvedConfig | config} for BedrockClient's `config` shape.
50
- *
51
- * @throws {@link AccessDeniedException} (client fault)
52
- * <p>The request is denied because of missing access permissions.</p>
53
- *
54
- * @throws {@link InternalServerException} (server fault)
55
- * <p>An internal server error occurred. Retry your request.</p>
56
- *
57
- * @throws {@link ResourceNotFoundException} (client fault)
58
- * <p>The specified resource ARN was not found. Check the ARN and try your request again.</p>
59
- *
60
- * @throws {@link ThrottlingException} (client fault)
61
- * <p>The number of requests exceeds the limit. Resubmit your request later.</p>
62
- *
63
- * @throws {@link ValidationException} (client fault)
64
- * <p>Input validation failed. Check your request parameters and retry the request.</p>
65
- *
66
- * @throws {@link BedrockServiceException}
67
- * <p>Base exception class for all service exceptions from Bedrock service.</p>
68
- *
69
- */
70
- export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, BedrockClientResolvedConfig> {
71
- readonly input: UntagResourceCommandInput;
72
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
73
- /**
74
- * @public
75
- */
76
- constructor(input: UntagResourceCommandInput);
77
- /**
78
- * @internal
79
- */
80
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BedrockClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UntagResourceCommandInput, UntagResourceCommandOutput>;
81
- /**
82
- * @internal
83
- */
84
- private serialize;
85
- /**
86
- * @internal
87
- */
88
- private deserialize;
89
- }
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import {
10
+ BedrockClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../BedrockClient";
14
+ import {
15
+ UntagResourceRequest,
16
+ UntagResourceResponse,
17
+ } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
19
+ export interface UntagResourceCommandInput extends UntagResourceRequest {}
20
+ export interface UntagResourceCommandOutput
21
+ extends UntagResourceResponse,
22
+ __MetadataBearer {}
23
+ export declare class UntagResourceCommand extends $Command<
24
+ UntagResourceCommandInput,
25
+ UntagResourceCommandOutput,
26
+ BedrockClientResolvedConfig
27
+ > {
28
+ readonly input: UntagResourceCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: UntagResourceCommandInput);
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: BedrockClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<UntagResourceCommandInput, UntagResourceCommandOutput>;
36
+ private serialize;
37
+ private deserialize;
38
+ }
@@ -0,0 +1,42 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import {
10
+ BedrockClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../BedrockClient";
14
+ import {
15
+ UpdateProvisionedModelThroughputRequest,
16
+ UpdateProvisionedModelThroughputResponse,
17
+ } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
19
+ export interface UpdateProvisionedModelThroughputCommandInput
20
+ extends UpdateProvisionedModelThroughputRequest {}
21
+ export interface UpdateProvisionedModelThroughputCommandOutput
22
+ extends UpdateProvisionedModelThroughputResponse,
23
+ __MetadataBearer {}
24
+ export declare class UpdateProvisionedModelThroughputCommand extends $Command<
25
+ UpdateProvisionedModelThroughputCommandInput,
26
+ UpdateProvisionedModelThroughputCommandOutput,
27
+ BedrockClientResolvedConfig
28
+ > {
29
+ readonly input: UpdateProvisionedModelThroughputCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: UpdateProvisionedModelThroughputCommandInput);
32
+ resolveMiddleware(
33
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
+ configuration: BedrockClientResolvedConfig,
35
+ options?: __HttpHandlerOptions
36
+ ): Handler<
37
+ UpdateProvisionedModelThroughputCommandInput,
38
+ UpdateProvisionedModelThroughputCommandOutput
39
+ >;
40
+ private serialize;
41
+ private deserialize;
42
+ }
@@ -1,15 +1,20 @@
1
- export * from "./CreateModelCustomizationJobCommand";
2
- export * from "./DeleteCustomModelCommand";
3
- export * from "./DeleteModelInvocationLoggingConfigurationCommand";
4
- export * from "./GetCustomModelCommand";
5
- export * from "./GetFoundationModelCommand";
6
- export * from "./GetModelCustomizationJobCommand";
7
- export * from "./GetModelInvocationLoggingConfigurationCommand";
8
- export * from "./ListCustomModelsCommand";
9
- export * from "./ListFoundationModelsCommand";
10
- export * from "./ListModelCustomizationJobsCommand";
11
- export * from "./ListTagsForResourceCommand";
12
- export * from "./PutModelInvocationLoggingConfigurationCommand";
13
- export * from "./StopModelCustomizationJobCommand";
14
- export * from "./TagResourceCommand";
15
- export * from "./UntagResourceCommand";
1
+ export * from "./CreateModelCustomizationJobCommand";
2
+ export * from "./CreateProvisionedModelThroughputCommand";
3
+ export * from "./DeleteCustomModelCommand";
4
+ export * from "./DeleteModelInvocationLoggingConfigurationCommand";
5
+ export * from "./DeleteProvisionedModelThroughputCommand";
6
+ export * from "./GetCustomModelCommand";
7
+ export * from "./GetFoundationModelCommand";
8
+ export * from "./GetModelCustomizationJobCommand";
9
+ export * from "./GetModelInvocationLoggingConfigurationCommand";
10
+ export * from "./GetProvisionedModelThroughputCommand";
11
+ export * from "./ListCustomModelsCommand";
12
+ export * from "./ListFoundationModelsCommand";
13
+ export * from "./ListModelCustomizationJobsCommand";
14
+ export * from "./ListProvisionedModelThroughputsCommand";
15
+ export * from "./ListTagsForResourceCommand";
16
+ export * from "./PutModelInvocationLoggingConfigurationCommand";
17
+ export * from "./StopModelCustomizationJobCommand";
18
+ export * from "./TagResourceCommand";
19
+ export * from "./UntagResourceCommand";
20
+ export * from "./UpdateProvisionedModelThroughputCommand";
@@ -1,22 +1,33 @@
1
- import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
2
- /**
3
- * @public
4
- */
5
- export interface ClientInputEndpointParameters {
6
- region?: string | Provider<string>;
7
- useDualstackEndpoint?: boolean | Provider<boolean>;
8
- useFipsEndpoint?: boolean | Provider<boolean>;
9
- endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
10
- }
11
- export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
12
- defaultSigningName: string;
13
- };
14
- export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
15
- defaultSigningName: string;
16
- };
17
- export interface EndpointParameters extends __EndpointParameters {
18
- Region?: string;
19
- UseDualStack?: boolean;
20
- UseFIPS?: boolean;
21
- Endpoint?: string;
22
- }
1
+ import {
2
+ Endpoint,
3
+ EndpointParameters as __EndpointParameters,
4
+ EndpointV2,
5
+ Provider,
6
+ } from "@smithy/types";
7
+ export interface ClientInputEndpointParameters {
8
+ region?: string | Provider<string>;
9
+ useDualstackEndpoint?: boolean | Provider<boolean>;
10
+ useFipsEndpoint?: boolean | Provider<boolean>;
11
+ endpoint?:
12
+ | string
13
+ | Provider<string>
14
+ | Endpoint
15
+ | Provider<Endpoint>
16
+ | EndpointV2
17
+ | Provider<EndpointV2>;
18
+ }
19
+ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
20
+ defaultSigningName: string;
21
+ };
22
+ export declare const resolveClientEndpointParameters: <T>(
23
+ options: T & ClientInputEndpointParameters
24
+ ) => T &
25
+ ClientInputEndpointParameters & {
26
+ defaultSigningName: string;
27
+ };
28
+ export interface EndpointParameters extends __EndpointParameters {
29
+ Region?: string;
30
+ UseDualStack?: boolean;
31
+ UseFIPS?: boolean;
32
+ Endpoint?: string;
33
+ }
@@ -1,5 +1,8 @@
1
- import { EndpointV2, Logger } from "@smithy/types";
2
- import { EndpointParameters } from "./EndpointParameters";
3
- export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
4
- logger?: Logger;
5
- }) => EndpointV2;
1
+ import { EndpointV2, Logger } from "@smithy/types";
2
+ import { EndpointParameters } from "./EndpointParameters";
3
+ export declare const defaultEndpointResolver: (
4
+ endpointParams: EndpointParameters,
5
+ context?: {
6
+ logger?: Logger;
7
+ }
8
+ ) => EndpointV2;
@@ -1,2 +1,2 @@
1
- import { RuleSetObject } from "@smithy/types";
2
- export declare const ruleSet: RuleSetObject;
1
+ import { RuleSetObject } from "@smithy/types";
2
+ export declare const ruleSet: RuleSetObject;
@@ -1,8 +1,7 @@
1
- import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
- import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
3
- import { DefaultExtensionConfiguration } from "@smithy/types";
4
- /**
5
- * @internal
6
- */
7
- export interface BedrockExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration {
8
- }
1
+ import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
+ import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
3
+ import { DefaultExtensionConfiguration } from "@smithy/types";
4
+ export interface BedrockExtensionConfiguration
5
+ extends HttpHandlerExtensionConfiguration,
6
+ DefaultExtensionConfiguration,
7
+ AwsRegionExtensionConfiguration {}
@@ -1,12 +1,7 @@
1
- /**
2
- * <p>Describes the API operations for creating and managing Bedrock models.</p>
3
- *
4
- * @packageDocumentation
5
- */
6
- export * from "./BedrockClient";
7
- export * from "./Bedrock";
8
- export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
9
- export * from "./commands";
10
- export * from "./pagination";
11
- export * from "./models";
12
- export { BedrockServiceException } from "./models/BedrockServiceException";
1
+ export * from "./BedrockClient";
2
+ export * from "./Bedrock";
3
+ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
+ export * from "./commands";
5
+ export * from "./pagination";
6
+ export * from "./models";
7
+ export { BedrockServiceException } from "./models/BedrockServiceException";
@@ -1,13 +1,8 @@
1
- import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@smithy/smithy-client";
2
- export { __ServiceException, __ServiceExceptionOptions };
3
- /**
4
- * @public
5
- *
6
- * Base exception class for all service exceptions from Bedrock service.
7
- */
8
- export declare class BedrockServiceException extends __ServiceException {
9
- /**
10
- * @internal
11
- */
12
- constructor(options: __ServiceExceptionOptions);
13
- }
1
+ import {
2
+ ServiceException as __ServiceException,
3
+ ServiceExceptionOptions as __ServiceExceptionOptions,
4
+ } from "@smithy/smithy-client";
5
+ export { __ServiceException, __ServiceExceptionOptions };
6
+ export declare class BedrockServiceException extends __ServiceException {
7
+ constructor(options: __ServiceExceptionOptions);
8
+ }
@@ -1 +1 @@
1
- export * from "./models_0";
1
+ export * from "./models_0";