@aws-sdk/client-bedrock 3.478.0 → 3.481.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 (85) hide show
  1. package/dist-cjs/commands/CreateModelCustomizationJobCommand.js +18 -41
  2. package/dist-cjs/commands/CreateProvisionedModelThroughputCommand.js +18 -41
  3. package/dist-cjs/commands/DeleteCustomModelCommand.js +18 -41
  4. package/dist-cjs/commands/DeleteModelInvocationLoggingConfigurationCommand.js +18 -41
  5. package/dist-cjs/commands/DeleteProvisionedModelThroughputCommand.js +18 -41
  6. package/dist-cjs/commands/GetCustomModelCommand.js +18 -41
  7. package/dist-cjs/commands/GetFoundationModelCommand.js +18 -41
  8. package/dist-cjs/commands/GetModelCustomizationJobCommand.js +18 -41
  9. package/dist-cjs/commands/GetModelInvocationLoggingConfigurationCommand.js +18 -41
  10. package/dist-cjs/commands/GetProvisionedModelThroughputCommand.js +18 -41
  11. package/dist-cjs/commands/ListCustomModelsCommand.js +18 -41
  12. package/dist-cjs/commands/ListFoundationModelsCommand.js +18 -41
  13. package/dist-cjs/commands/ListModelCustomizationJobsCommand.js +18 -41
  14. package/dist-cjs/commands/ListProvisionedModelThroughputsCommand.js +18 -41
  15. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  16. package/dist-cjs/commands/PutModelInvocationLoggingConfigurationCommand.js +18 -41
  17. package/dist-cjs/commands/StopModelCustomizationJobCommand.js +18 -41
  18. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  19. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  20. package/dist-cjs/commands/UpdateProvisionedModelThroughputCommand.js +18 -41
  21. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  22. package/dist-es/commands/CreateModelCustomizationJobCommand.js +18 -41
  23. package/dist-es/commands/CreateProvisionedModelThroughputCommand.js +18 -41
  24. package/dist-es/commands/DeleteCustomModelCommand.js +18 -41
  25. package/dist-es/commands/DeleteModelInvocationLoggingConfigurationCommand.js +18 -41
  26. package/dist-es/commands/DeleteProvisionedModelThroughputCommand.js +18 -41
  27. package/dist-es/commands/GetCustomModelCommand.js +18 -41
  28. package/dist-es/commands/GetFoundationModelCommand.js +18 -41
  29. package/dist-es/commands/GetModelCustomizationJobCommand.js +18 -41
  30. package/dist-es/commands/GetModelInvocationLoggingConfigurationCommand.js +18 -41
  31. package/dist-es/commands/GetProvisionedModelThroughputCommand.js +18 -41
  32. package/dist-es/commands/ListCustomModelsCommand.js +18 -41
  33. package/dist-es/commands/ListFoundationModelsCommand.js +18 -41
  34. package/dist-es/commands/ListModelCustomizationJobsCommand.js +18 -41
  35. package/dist-es/commands/ListProvisionedModelThroughputsCommand.js +18 -41
  36. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  37. package/dist-es/commands/PutModelInvocationLoggingConfigurationCommand.js +18 -41
  38. package/dist-es/commands/StopModelCustomizationJobCommand.js +18 -41
  39. package/dist-es/commands/TagResourceCommand.js +18 -41
  40. package/dist-es/commands/UntagResourceCommand.js +18 -41
  41. package/dist-es/commands/UpdateProvisionedModelThroughputCommand.js +18 -41
  42. package/dist-es/endpoint/EndpointParameters.js +6 -0
  43. package/dist-types/commands/CreateModelCustomizationJobCommand.d.ts +6 -21
  44. package/dist-types/commands/CreateProvisionedModelThroughputCommand.d.ts +6 -21
  45. package/dist-types/commands/DeleteCustomModelCommand.d.ts +6 -21
  46. package/dist-types/commands/DeleteModelInvocationLoggingConfigurationCommand.d.ts +6 -21
  47. package/dist-types/commands/DeleteProvisionedModelThroughputCommand.d.ts +6 -21
  48. package/dist-types/commands/GetCustomModelCommand.d.ts +6 -21
  49. package/dist-types/commands/GetFoundationModelCommand.d.ts +6 -21
  50. package/dist-types/commands/GetModelCustomizationJobCommand.d.ts +6 -21
  51. package/dist-types/commands/GetModelInvocationLoggingConfigurationCommand.d.ts +6 -21
  52. package/dist-types/commands/GetProvisionedModelThroughputCommand.d.ts +6 -21
  53. package/dist-types/commands/ListCustomModelsCommand.d.ts +6 -21
  54. package/dist-types/commands/ListFoundationModelsCommand.d.ts +6 -21
  55. package/dist-types/commands/ListModelCustomizationJobsCommand.d.ts +6 -21
  56. package/dist-types/commands/ListProvisionedModelThroughputsCommand.d.ts +6 -21
  57. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  58. package/dist-types/commands/PutModelInvocationLoggingConfigurationCommand.d.ts +6 -21
  59. package/dist-types/commands/StopModelCustomizationJobCommand.d.ts +6 -21
  60. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  61. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  62. package/dist-types/commands/UpdateProvisionedModelThroughputCommand.d.ts +6 -21
  63. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  64. package/dist-types/ts3.4/commands/CreateModelCustomizationJobCommand.d.ts +12 -24
  65. package/dist-types/ts3.4/commands/CreateProvisionedModelThroughputCommand.d.ts +12 -24
  66. package/dist-types/ts3.4/commands/DeleteCustomModelCommand.d.ts +14 -23
  67. package/dist-types/ts3.4/commands/DeleteModelInvocationLoggingConfigurationCommand.d.ts +12 -24
  68. package/dist-types/ts3.4/commands/DeleteProvisionedModelThroughputCommand.d.ts +12 -24
  69. package/dist-types/ts3.4/commands/GetCustomModelCommand.d.ts +14 -23
  70. package/dist-types/ts3.4/commands/GetFoundationModelCommand.d.ts +14 -23
  71. package/dist-types/ts3.4/commands/GetModelCustomizationJobCommand.d.ts +12 -24
  72. package/dist-types/ts3.4/commands/GetModelInvocationLoggingConfigurationCommand.d.ts +12 -24
  73. package/dist-types/ts3.4/commands/GetProvisionedModelThroughputCommand.d.ts +12 -24
  74. package/dist-types/ts3.4/commands/ListCustomModelsCommand.d.ts +14 -23
  75. package/dist-types/ts3.4/commands/ListFoundationModelsCommand.d.ts +12 -24
  76. package/dist-types/ts3.4/commands/ListModelCustomizationJobsCommand.d.ts +12 -24
  77. package/dist-types/ts3.4/commands/ListProvisionedModelThroughputsCommand.d.ts +12 -24
  78. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  79. package/dist-types/ts3.4/commands/PutModelInvocationLoggingConfigurationCommand.d.ts +12 -24
  80. package/dist-types/ts3.4/commands/StopModelCustomizationJobCommand.d.ts +12 -24
  81. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  82. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  83. package/dist-types/ts3.4/commands/UpdateProvisionedModelThroughputCommand.d.ts +12 -24
  84. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  85. package/package.json +9 -9
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  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";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import {
10
4
  BedrockClientResolvedConfig,
11
5
  ServiceInputTypes,
@@ -21,22 +15,16 @@ export interface StopModelCustomizationJobCommandInput
21
15
  export interface StopModelCustomizationJobCommandOutput
22
16
  extends StopModelCustomizationJobResponse,
23
17
  __MetadataBearer {}
24
- export declare class StopModelCustomizationJobCommand extends $Command<
25
- StopModelCustomizationJobCommandInput,
26
- StopModelCustomizationJobCommandOutput,
27
- BedrockClientResolvedConfig
28
- > {
29
- readonly input: StopModelCustomizationJobCommandInput;
30
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
- constructor(input: StopModelCustomizationJobCommandInput);
32
- resolveMiddleware(
33
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
- configuration: BedrockClientResolvedConfig,
35
- options?: __HttpHandlerOptions
36
- ): Handler<
18
+ declare const StopModelCustomizationJobCommand_base: {
19
+ new (
20
+ input: StopModelCustomizationJobCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
37
22
  StopModelCustomizationJobCommandInput,
38
- StopModelCustomizationJobCommandOutput
23
+ StopModelCustomizationJobCommandOutput,
24
+ BedrockClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
39
27
  >;
40
- private serialize;
41
- private deserialize;
42
- }
28
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
+ };
30
+ export declare class StopModelCustomizationJobCommand extends StopModelCustomizationJobCommand_base {}
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  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";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import {
10
4
  BedrockClientResolvedConfig,
11
5
  ServiceInputTypes,
@@ -17,19 +11,16 @@ export interface TagResourceCommandInput extends TagResourceRequest {}
17
11
  export interface TagResourceCommandOutput
18
12
  extends TagResourceResponse,
19
13
  __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
- }
14
+ declare const TagResourceCommand_base: {
15
+ new (
16
+ input: TagResourceCommandInput
17
+ ): import("@smithy/smithy-client").CommandImpl<
18
+ TagResourceCommandInput,
19
+ TagResourceCommandOutput,
20
+ BedrockClientResolvedConfig,
21
+ ServiceInputTypes,
22
+ ServiceOutputTypes
23
+ >;
24
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ };
26
+ export declare class TagResourceCommand extends TagResourceCommand_base {}
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  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";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import {
10
4
  BedrockClientResolvedConfig,
11
5
  ServiceInputTypes,
@@ -20,19 +14,16 @@ export interface UntagResourceCommandInput extends UntagResourceRequest {}
20
14
  export interface UntagResourceCommandOutput
21
15
  extends UntagResourceResponse,
22
16
  __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
- }
17
+ declare const UntagResourceCommand_base: {
18
+ new (
19
+ input: UntagResourceCommandInput
20
+ ): import("@smithy/smithy-client").CommandImpl<
21
+ UntagResourceCommandInput,
22
+ UntagResourceCommandOutput,
23
+ BedrockClientResolvedConfig,
24
+ ServiceInputTypes,
25
+ ServiceOutputTypes
26
+ >;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ export declare class UntagResourceCommand extends UntagResourceCommand_base {}
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  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";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import {
10
4
  BedrockClientResolvedConfig,
11
5
  ServiceInputTypes,
@@ -21,22 +15,16 @@ export interface UpdateProvisionedModelThroughputCommandInput
21
15
  export interface UpdateProvisionedModelThroughputCommandOutput
22
16
  extends UpdateProvisionedModelThroughputResponse,
23
17
  __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<
18
+ declare const UpdateProvisionedModelThroughputCommand_base: {
19
+ new (
20
+ input: UpdateProvisionedModelThroughputCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
37
22
  UpdateProvisionedModelThroughputCommandInput,
38
- UpdateProvisionedModelThroughputCommandOutput
23
+ UpdateProvisionedModelThroughputCommandOutput,
24
+ BedrockClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
39
27
  >;
40
- private serialize;
41
- private deserialize;
42
- }
28
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
+ };
30
+ export declare class UpdateProvisionedModelThroughputCommand extends UpdateProvisionedModelThroughputCommand_base {}
@@ -25,6 +25,24 @@ export declare const resolveClientEndpointParameters: <T>(
25
25
  ClientInputEndpointParameters & {
26
26
  defaultSigningName: string;
27
27
  };
28
+ export declare const commonParams: {
29
+ readonly UseFIPS: {
30
+ readonly type: "builtInParams";
31
+ readonly name: "useFipsEndpoint";
32
+ };
33
+ readonly Endpoint: {
34
+ readonly type: "builtInParams";
35
+ readonly name: "endpoint";
36
+ };
37
+ readonly Region: {
38
+ readonly type: "builtInParams";
39
+ readonly name: "region";
40
+ };
41
+ readonly UseDualStack: {
42
+ readonly type: "builtInParams";
43
+ readonly name: "useDualstackEndpoint";
44
+ };
45
+ };
28
46
  export interface EndpointParameters extends __EndpointParameters {
29
47
  Region?: string;
30
48
  UseDualStack?: boolean;
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.478.0",
4
+ "version": "3.481.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -20,9 +20,9 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.478.0",
24
- "@aws-sdk/core": "3.477.0",
25
- "@aws-sdk/credential-provider-node": "3.478.0",
23
+ "@aws-sdk/client-sts": "3.481.0",
24
+ "@aws-sdk/core": "3.481.0",
25
+ "@aws-sdk/credential-provider-node": "3.481.0",
26
26
  "@aws-sdk/middleware-host-header": "3.468.0",
27
27
  "@aws-sdk/middleware-logger": "3.468.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.468.0",
@@ -34,26 +34,26 @@
34
34
  "@aws-sdk/util-user-agent-browser": "3.468.0",
35
35
  "@aws-sdk/util-user-agent-node": "3.470.0",
36
36
  "@smithy/config-resolver": "^2.0.21",
37
- "@smithy/core": "^1.2.0",
37
+ "@smithy/core": "^1.2.1",
38
38
  "@smithy/fetch-http-handler": "^2.3.1",
39
39
  "@smithy/hash-node": "^2.0.17",
40
40
  "@smithy/invalid-dependency": "^2.0.15",
41
41
  "@smithy/middleware-content-length": "^2.0.17",
42
42
  "@smithy/middleware-endpoint": "^2.2.3",
43
- "@smithy/middleware-retry": "^2.0.24",
43
+ "@smithy/middleware-retry": "^2.0.25",
44
44
  "@smithy/middleware-serde": "^2.0.15",
45
45
  "@smithy/middleware-stack": "^2.0.9",
46
46
  "@smithy/node-config-provider": "^2.1.8",
47
47
  "@smithy/node-http-handler": "^2.2.1",
48
48
  "@smithy/protocol-http": "^3.0.11",
49
- "@smithy/smithy-client": "^2.1.18",
49
+ "@smithy/smithy-client": "^2.2.0",
50
50
  "@smithy/types": "^2.7.0",
51
51
  "@smithy/url-parser": "^2.0.15",
52
52
  "@smithy/util-base64": "^2.0.1",
53
53
  "@smithy/util-body-length-browser": "^2.0.1",
54
54
  "@smithy/util-body-length-node": "^2.1.0",
55
- "@smithy/util-defaults-mode-browser": "^2.0.22",
56
- "@smithy/util-defaults-mode-node": "^2.0.29",
55
+ "@smithy/util-defaults-mode-browser": "^2.0.23",
56
+ "@smithy/util-defaults-mode-node": "^2.0.30",
57
57
  "@smithy/util-endpoints": "^1.0.7",
58
58
  "@smithy/util-retry": "^2.0.8",
59
59
  "@smithy/util-utf8": "^2.0.2",