@aws-sdk/client-bedrock 3.422.1 → 3.425.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/README.md +40 -0
- package/dist-cjs/Bedrock.js +10 -0
- package/dist-cjs/commands/CreateProvisionedModelThroughputCommand.js +51 -0
- package/dist-cjs/commands/DeleteProvisionedModelThroughputCommand.js +51 -0
- package/dist-cjs/commands/GetProvisionedModelThroughputCommand.js +51 -0
- package/dist-cjs/commands/ListProvisionedModelThroughputsCommand.js +51 -0
- package/dist-cjs/commands/UpdateProvisionedModelThroughputCommand.js +51 -0
- package/dist-cjs/commands/index.js +5 -0
- package/dist-cjs/models/models_0.js +25 -12
- package/dist-cjs/pagination/ListProvisionedModelThroughputsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +386 -1
- package/dist-es/Bedrock.js +10 -0
- package/dist-es/commands/CreateProvisionedModelThroughputCommand.js +47 -0
- package/dist-es/commands/DeleteProvisionedModelThroughputCommand.js +47 -0
- package/dist-es/commands/GetProvisionedModelThroughputCommand.js +47 -0
- package/dist-es/commands/ListProvisionedModelThroughputsCommand.js +47 -0
- package/dist-es/commands/UpdateProvisionedModelThroughputCommand.js +47 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +22 -9
- package/dist-es/pagination/ListProvisionedModelThroughputsPaginator.js +25 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +376 -1
- package/dist-types/Bedrock.d.ts +35 -0
- package/dist-types/BedrockClient.d.ts +9 -2
- package/dist-types/commands/CreateModelCustomizationJobCommand.d.ts +8 -8
- package/dist-types/commands/CreateProvisionedModelThroughputCommand.d.ts +106 -0
- package/dist-types/commands/DeleteProvisionedModelThroughputCommand.d.ts +89 -0
- package/dist-types/commands/GetModelCustomizationJobCommand.d.ts +1 -1
- package/dist-types/commands/GetProvisionedModelThroughputCommand.d.ts +100 -0
- package/dist-types/commands/ListModelCustomizationJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListProvisionedModelThroughputsCommand.d.ts +109 -0
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateProvisionedModelThroughputCommand.d.ts +88 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +370 -36
- package/dist-types/pagination/ListProvisionedModelThroughputsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
- package/dist-types/ts3.4/Bedrock.d.ts +363 -115
- package/dist-types/ts3.4/BedrockClient.d.ts +238 -182
- package/dist-types/ts3.4/commands/CreateModelCustomizationJobCommand.d.ts +42 -149
- package/dist-types/ts3.4/commands/CreateProvisionedModelThroughputCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteCustomModelCommand.d.ts +39 -89
- package/dist-types/ts3.4/commands/DeleteModelInvocationLoggingConfigurationCommand.d.ts +42 -78
- package/dist-types/ts3.4/commands/DeleteProvisionedModelThroughputCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetCustomModelCommand.d.ts +38 -118
- package/dist-types/ts3.4/commands/GetFoundationModelCommand.d.ts +39 -106
- package/dist-types/ts3.4/commands/GetModelCustomizationJobCommand.d.ts +42 -133
- package/dist-types/ts3.4/commands/GetModelInvocationLoggingConfigurationCommand.d.ts +42 -96
- package/dist-types/ts3.4/commands/GetProvisionedModelThroughputCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListCustomModelsCommand.d.ts +38 -103
- package/dist-types/ts3.4/commands/ListFoundationModelsCommand.d.ts +42 -108
- package/dist-types/ts3.4/commands/ListModelCustomizationJobsCommand.d.ts +42 -107
- package/dist-types/ts3.4/commands/ListProvisionedModelThroughputsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -94
- package/dist-types/ts3.4/commands/PutModelInvocationLoggingConfigurationCommand.d.ts +42 -99
- package/dist-types/ts3.4/commands/StopModelCustomizationJobCommand.d.ts +42 -89
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +35 -96
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -89
- package/dist-types/ts3.4/commands/UpdateProvisionedModelThroughputCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +20 -15
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +33 -22
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -5
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -2
- package/dist-types/ts3.4/extensionConfiguration.d.ts +7 -8
- package/dist-types/ts3.4/index.d.ts +7 -12
- package/dist-types/ts3.4/models/BedrockServiceException.d.ts +8 -13
- package/dist-types/ts3.4/models/index.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +412 -1144
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -8
- package/dist-types/ts3.4/pagination/ListCustomModelsPaginator.d.ts +11 -7
- package/dist-types/ts3.4/pagination/ListModelCustomizationJobsPaginator.d.ts +11 -7
- package/dist-types/ts3.4/pagination/ListProvisionedModelThroughputsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -3
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +245 -137
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +97 -46
- package/dist-types/ts3.4/runtimeConfig.d.ts +97 -46
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +88 -45
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +19 -19
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -17
- package/package.json +31 -31
|
@@ -1,107 +1,42 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
* sortOrder: "Ascending" || "Descending",
|
|
44
|
-
* };
|
|
45
|
-
* const command = new ListModelCustomizationJobsCommand(input);
|
|
46
|
-
* const response = await client.send(command);
|
|
47
|
-
* // { // ListModelCustomizationJobsResponse
|
|
48
|
-
* // nextToken: "STRING_VALUE",
|
|
49
|
-
* // modelCustomizationJobSummaries: [ // ModelCustomizationJobSummaries
|
|
50
|
-
* // { // ModelCustomizationJobSummary
|
|
51
|
-
* // jobArn: "STRING_VALUE", // required
|
|
52
|
-
* // baseModelArn: "STRING_VALUE", // required
|
|
53
|
-
* // jobName: "STRING_VALUE", // required
|
|
54
|
-
* // status: "InProgress" || "Completed" || "Failed" || "Stopping" || "Stopped", // required
|
|
55
|
-
* // lastModifiedTime: new Date("TIMESTAMP"),
|
|
56
|
-
* // creationTime: new Date("TIMESTAMP"), // required
|
|
57
|
-
* // endTime: new Date("TIMESTAMP"),
|
|
58
|
-
* // customModelArn: "STRING_VALUE",
|
|
59
|
-
* // customModelName: "STRING_VALUE",
|
|
60
|
-
* // },
|
|
61
|
-
* // ],
|
|
62
|
-
* // };
|
|
63
|
-
*
|
|
64
|
-
* ```
|
|
65
|
-
*
|
|
66
|
-
* @param ListModelCustomizationJobsCommandInput - {@link ListModelCustomizationJobsCommandInput}
|
|
67
|
-
* @returns {@link ListModelCustomizationJobsCommandOutput}
|
|
68
|
-
* @see {@link ListModelCustomizationJobsCommandInput} for command's `input` shape.
|
|
69
|
-
* @see {@link ListModelCustomizationJobsCommandOutput} for command's `response` shape.
|
|
70
|
-
* @see {@link BedrockClientResolvedConfig | config} for BedrockClient's `config` shape.
|
|
71
|
-
*
|
|
72
|
-
* @throws {@link AccessDeniedException} (client fault)
|
|
73
|
-
* <p>The request is denied because of missing access permissions.</p>
|
|
74
|
-
*
|
|
75
|
-
* @throws {@link InternalServerException} (server fault)
|
|
76
|
-
* <p>An internal server error occurred. Retry your request.</p>
|
|
77
|
-
*
|
|
78
|
-
* @throws {@link ThrottlingException} (client fault)
|
|
79
|
-
* <p>The number of requests exceeds the limit. Resubmit your request later.</p>
|
|
80
|
-
*
|
|
81
|
-
* @throws {@link ValidationException} (client fault)
|
|
82
|
-
* <p>Input validation failed. Check your request parameters and retry the request.</p>
|
|
83
|
-
*
|
|
84
|
-
* @throws {@link BedrockServiceException}
|
|
85
|
-
* <p>Base exception class for all service exceptions from Bedrock service.</p>
|
|
86
|
-
*
|
|
87
|
-
*/
|
|
88
|
-
export declare class ListModelCustomizationJobsCommand extends $Command<ListModelCustomizationJobsCommandInput, ListModelCustomizationJobsCommandOutput, BedrockClientResolvedConfig> {
|
|
89
|
-
readonly input: ListModelCustomizationJobsCommandInput;
|
|
90
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
91
|
-
/**
|
|
92
|
-
* @public
|
|
93
|
-
*/
|
|
94
|
-
constructor(input: ListModelCustomizationJobsCommandInput);
|
|
95
|
-
/**
|
|
96
|
-
* @internal
|
|
97
|
-
*/
|
|
98
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BedrockClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListModelCustomizationJobsCommandInput, ListModelCustomizationJobsCommandOutput>;
|
|
99
|
-
/**
|
|
100
|
-
* @internal
|
|
101
|
-
*/
|
|
102
|
-
private serialize;
|
|
103
|
-
/**
|
|
104
|
-
* @internal
|
|
105
|
-
*/
|
|
106
|
-
private deserialize;
|
|
107
|
-
}
|
|
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
|
+
ListModelCustomizationJobsRequest,
|
|
16
|
+
ListModelCustomizationJobsResponse,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
19
|
+
export interface ListModelCustomizationJobsCommandInput
|
|
20
|
+
extends ListModelCustomizationJobsRequest {}
|
|
21
|
+
export interface ListModelCustomizationJobsCommandOutput
|
|
22
|
+
extends ListModelCustomizationJobsResponse,
|
|
23
|
+
__MetadataBearer {}
|
|
24
|
+
export declare class ListModelCustomizationJobsCommand extends $Command<
|
|
25
|
+
ListModelCustomizationJobsCommandInput,
|
|
26
|
+
ListModelCustomizationJobsCommandOutput,
|
|
27
|
+
BedrockClientResolvedConfig
|
|
28
|
+
> {
|
|
29
|
+
readonly input: ListModelCustomizationJobsCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: ListModelCustomizationJobsCommandInput);
|
|
32
|
+
resolveMiddleware(
|
|
33
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
34
|
+
configuration: BedrockClientResolvedConfig,
|
|
35
|
+
options?: __HttpHandlerOptions
|
|
36
|
+
): Handler<
|
|
37
|
+
ListModelCustomizationJobsCommandInput,
|
|
38
|
+
ListModelCustomizationJobsCommandOutput
|
|
39
|
+
>;
|
|
40
|
+
private serialize;
|
|
41
|
+
private deserialize;
|
|
42
|
+
}
|
|
@@ -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
|
+
ListProvisionedModelThroughputsRequest,
|
|
16
|
+
ListProvisionedModelThroughputsResponse,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
19
|
+
export interface ListProvisionedModelThroughputsCommandInput
|
|
20
|
+
extends ListProvisionedModelThroughputsRequest {}
|
|
21
|
+
export interface ListProvisionedModelThroughputsCommandOutput
|
|
22
|
+
extends ListProvisionedModelThroughputsResponse,
|
|
23
|
+
__MetadataBearer {}
|
|
24
|
+
export declare class ListProvisionedModelThroughputsCommand extends $Command<
|
|
25
|
+
ListProvisionedModelThroughputsCommandInput,
|
|
26
|
+
ListProvisionedModelThroughputsCommandOutput,
|
|
27
|
+
BedrockClientResolvedConfig
|
|
28
|
+
> {
|
|
29
|
+
readonly input: ListProvisionedModelThroughputsCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: ListProvisionedModelThroughputsCommandInput);
|
|
32
|
+
resolveMiddleware(
|
|
33
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
34
|
+
configuration: BedrockClientResolvedConfig,
|
|
35
|
+
options?: __HttpHandlerOptions
|
|
36
|
+
): Handler<
|
|
37
|
+
ListProvisionedModelThroughputsCommandInput,
|
|
38
|
+
ListProvisionedModelThroughputsCommandOutput
|
|
39
|
+
>;
|
|
40
|
+
private serialize;
|
|
41
|
+
private deserialize;
|
|
42
|
+
}
|
|
@@ -1,94 +1,39 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
* // tags: [ // TagList
|
|
41
|
-
* // { // Tag
|
|
42
|
-
* // key: "STRING_VALUE", // required
|
|
43
|
-
* // value: "STRING_VALUE", // required
|
|
44
|
-
* // },
|
|
45
|
-
* // ],
|
|
46
|
-
* // };
|
|
47
|
-
*
|
|
48
|
-
* ```
|
|
49
|
-
*
|
|
50
|
-
* @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
|
|
51
|
-
* @returns {@link ListTagsForResourceCommandOutput}
|
|
52
|
-
* @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
|
|
53
|
-
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
54
|
-
* @see {@link BedrockClientResolvedConfig | config} for BedrockClient's `config` shape.
|
|
55
|
-
*
|
|
56
|
-
* @throws {@link AccessDeniedException} (client fault)
|
|
57
|
-
* <p>The request is denied because of missing access permissions.</p>
|
|
58
|
-
*
|
|
59
|
-
* @throws {@link InternalServerException} (server fault)
|
|
60
|
-
* <p>An internal server error occurred. Retry your request.</p>
|
|
61
|
-
*
|
|
62
|
-
* @throws {@link ResourceNotFoundException} (client fault)
|
|
63
|
-
* <p>The specified resource ARN was not found. Check the ARN and try your request again.</p>
|
|
64
|
-
*
|
|
65
|
-
* @throws {@link ThrottlingException} (client fault)
|
|
66
|
-
* <p>The number of requests exceeds the limit. Resubmit your request later.</p>
|
|
67
|
-
*
|
|
68
|
-
* @throws {@link ValidationException} (client fault)
|
|
69
|
-
* <p>Input validation failed. Check your request parameters and retry the request.</p>
|
|
70
|
-
*
|
|
71
|
-
* @throws {@link BedrockServiceException}
|
|
72
|
-
* <p>Base exception class for all service exceptions from Bedrock service.</p>
|
|
73
|
-
*
|
|
74
|
-
*/
|
|
75
|
-
export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, BedrockClientResolvedConfig> {
|
|
76
|
-
readonly input: ListTagsForResourceCommandInput;
|
|
77
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
78
|
-
/**
|
|
79
|
-
* @public
|
|
80
|
-
*/
|
|
81
|
-
constructor(input: ListTagsForResourceCommandInput);
|
|
82
|
-
/**
|
|
83
|
-
* @internal
|
|
84
|
-
*/
|
|
85
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BedrockClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput>;
|
|
86
|
-
/**
|
|
87
|
-
* @internal
|
|
88
|
-
*/
|
|
89
|
-
private serialize;
|
|
90
|
-
/**
|
|
91
|
-
* @internal
|
|
92
|
-
*/
|
|
93
|
-
private deserialize;
|
|
94
|
-
}
|
|
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
|
+
ListTagsForResourceRequest,
|
|
16
|
+
ListTagsForResourceResponse,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
19
|
+
export interface ListTagsForResourceCommandInput
|
|
20
|
+
extends ListTagsForResourceRequest {}
|
|
21
|
+
export interface ListTagsForResourceCommandOutput
|
|
22
|
+
extends ListTagsForResourceResponse,
|
|
23
|
+
__MetadataBearer {}
|
|
24
|
+
export declare class ListTagsForResourceCommand extends $Command<
|
|
25
|
+
ListTagsForResourceCommandInput,
|
|
26
|
+
ListTagsForResourceCommandOutput,
|
|
27
|
+
BedrockClientResolvedConfig
|
|
28
|
+
> {
|
|
29
|
+
readonly input: ListTagsForResourceCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: ListTagsForResourceCommandInput);
|
|
32
|
+
resolveMiddleware(
|
|
33
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
34
|
+
configuration: BedrockClientResolvedConfig,
|
|
35
|
+
options?: __HttpHandlerOptions
|
|
36
|
+
): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput>;
|
|
37
|
+
private serialize;
|
|
38
|
+
private deserialize;
|
|
39
|
+
}
|
|
@@ -1,99 +1,42 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
* s3Config: {
|
|
44
|
-
* bucketName: "STRING_VALUE", // required
|
|
45
|
-
* keyPrefix: "STRING_VALUE",
|
|
46
|
-
* },
|
|
47
|
-
* textDataDeliveryEnabled: true || false,
|
|
48
|
-
* imageDataDeliveryEnabled: true || false,
|
|
49
|
-
* embeddingDataDeliveryEnabled: true || false,
|
|
50
|
-
* },
|
|
51
|
-
* };
|
|
52
|
-
* const command = new PutModelInvocationLoggingConfigurationCommand(input);
|
|
53
|
-
* const response = await client.send(command);
|
|
54
|
-
* // {};
|
|
55
|
-
*
|
|
56
|
-
* ```
|
|
57
|
-
*
|
|
58
|
-
* @param PutModelInvocationLoggingConfigurationCommandInput - {@link PutModelInvocationLoggingConfigurationCommandInput}
|
|
59
|
-
* @returns {@link PutModelInvocationLoggingConfigurationCommandOutput}
|
|
60
|
-
* @see {@link PutModelInvocationLoggingConfigurationCommandInput} for command's `input` shape.
|
|
61
|
-
* @see {@link PutModelInvocationLoggingConfigurationCommandOutput} for command's `response` shape.
|
|
62
|
-
* @see {@link BedrockClientResolvedConfig | config} for BedrockClient's `config` shape.
|
|
63
|
-
*
|
|
64
|
-
* @throws {@link AccessDeniedException} (client fault)
|
|
65
|
-
* <p>The request is denied because of missing access permissions.</p>
|
|
66
|
-
*
|
|
67
|
-
* @throws {@link InternalServerException} (server fault)
|
|
68
|
-
* <p>An internal server error occurred. Retry your request.</p>
|
|
69
|
-
*
|
|
70
|
-
* @throws {@link ThrottlingException} (client fault)
|
|
71
|
-
* <p>The number of requests exceeds the limit. Resubmit your request later.</p>
|
|
72
|
-
*
|
|
73
|
-
* @throws {@link ValidationException} (client fault)
|
|
74
|
-
* <p>Input validation failed. Check your request parameters and retry the request.</p>
|
|
75
|
-
*
|
|
76
|
-
* @throws {@link BedrockServiceException}
|
|
77
|
-
* <p>Base exception class for all service exceptions from Bedrock service.</p>
|
|
78
|
-
*
|
|
79
|
-
*/
|
|
80
|
-
export declare class PutModelInvocationLoggingConfigurationCommand extends $Command<PutModelInvocationLoggingConfigurationCommandInput, PutModelInvocationLoggingConfigurationCommandOutput, BedrockClientResolvedConfig> {
|
|
81
|
-
readonly input: PutModelInvocationLoggingConfigurationCommandInput;
|
|
82
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
83
|
-
/**
|
|
84
|
-
* @public
|
|
85
|
-
*/
|
|
86
|
-
constructor(input: PutModelInvocationLoggingConfigurationCommandInput);
|
|
87
|
-
/**
|
|
88
|
-
* @internal
|
|
89
|
-
*/
|
|
90
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BedrockClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutModelInvocationLoggingConfigurationCommandInput, PutModelInvocationLoggingConfigurationCommandOutput>;
|
|
91
|
-
/**
|
|
92
|
-
* @internal
|
|
93
|
-
*/
|
|
94
|
-
private serialize;
|
|
95
|
-
/**
|
|
96
|
-
* @internal
|
|
97
|
-
*/
|
|
98
|
-
private deserialize;
|
|
99
|
-
}
|
|
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
|
+
PutModelInvocationLoggingConfigurationRequest,
|
|
16
|
+
PutModelInvocationLoggingConfigurationResponse,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
19
|
+
export interface PutModelInvocationLoggingConfigurationCommandInput
|
|
20
|
+
extends PutModelInvocationLoggingConfigurationRequest {}
|
|
21
|
+
export interface PutModelInvocationLoggingConfigurationCommandOutput
|
|
22
|
+
extends PutModelInvocationLoggingConfigurationResponse,
|
|
23
|
+
__MetadataBearer {}
|
|
24
|
+
export declare class PutModelInvocationLoggingConfigurationCommand extends $Command<
|
|
25
|
+
PutModelInvocationLoggingConfigurationCommandInput,
|
|
26
|
+
PutModelInvocationLoggingConfigurationCommandOutput,
|
|
27
|
+
BedrockClientResolvedConfig
|
|
28
|
+
> {
|
|
29
|
+
readonly input: PutModelInvocationLoggingConfigurationCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: PutModelInvocationLoggingConfigurationCommandInput);
|
|
32
|
+
resolveMiddleware(
|
|
33
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
34
|
+
configuration: BedrockClientResolvedConfig,
|
|
35
|
+
options?: __HttpHandlerOptions
|
|
36
|
+
): Handler<
|
|
37
|
+
PutModelInvocationLoggingConfigurationCommandInput,
|
|
38
|
+
PutModelInvocationLoggingConfigurationCommandOutput
|
|
39
|
+
>;
|
|
40
|
+
private serialize;
|
|
41
|
+
private deserialize;
|
|
42
|
+
}
|
|
@@ -1,89 +1,42 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
* @returns {@link StopModelCustomizationJobCommandOutput}
|
|
44
|
-
* @see {@link StopModelCustomizationJobCommandInput} for command's `input` shape.
|
|
45
|
-
* @see {@link StopModelCustomizationJobCommandOutput} for command's `response` shape.
|
|
46
|
-
* @see {@link BedrockClientResolvedConfig | config} for BedrockClient's `config` shape.
|
|
47
|
-
*
|
|
48
|
-
* @throws {@link AccessDeniedException} (client fault)
|
|
49
|
-
* <p>The request is denied because of missing access permissions.</p>
|
|
50
|
-
*
|
|
51
|
-
* @throws {@link ConflictException} (client fault)
|
|
52
|
-
* <p>Error occurred because of a conflict while performing an operation.</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 StopModelCustomizationJobCommand extends $Command<StopModelCustomizationJobCommandInput, StopModelCustomizationJobCommandOutput, BedrockClientResolvedConfig> {
|
|
71
|
-
readonly input: StopModelCustomizationJobCommandInput;
|
|
72
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
73
|
-
/**
|
|
74
|
-
* @public
|
|
75
|
-
*/
|
|
76
|
-
constructor(input: StopModelCustomizationJobCommandInput);
|
|
77
|
-
/**
|
|
78
|
-
* @internal
|
|
79
|
-
*/
|
|
80
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BedrockClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StopModelCustomizationJobCommandInput, StopModelCustomizationJobCommandOutput>;
|
|
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
|
+
StopModelCustomizationJobRequest,
|
|
16
|
+
StopModelCustomizationJobResponse,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
19
|
+
export interface StopModelCustomizationJobCommandInput
|
|
20
|
+
extends StopModelCustomizationJobRequest {}
|
|
21
|
+
export interface StopModelCustomizationJobCommandOutput
|
|
22
|
+
extends StopModelCustomizationJobResponse,
|
|
23
|
+
__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<
|
|
37
|
+
StopModelCustomizationJobCommandInput,
|
|
38
|
+
StopModelCustomizationJobCommandOutput
|
|
39
|
+
>;
|
|
40
|
+
private serialize;
|
|
41
|
+
private deserialize;
|
|
42
|
+
}
|