@aws-sdk/client-bedrock-agent 3.613.0 → 3.614.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 +168 -0
- package/dist-cjs/index.js +2007 -14
- package/dist-es/BedrockAgent.js +42 -0
- package/dist-es/commands/CreateDataSourceCommand.js +2 -1
- package/dist-es/commands/CreateFlowAliasCommand.js +24 -0
- package/dist-es/commands/CreateFlowCommand.js +25 -0
- package/dist-es/commands/CreateFlowVersionCommand.js +25 -0
- package/dist-es/commands/CreatePromptCommand.js +25 -0
- package/dist-es/commands/CreatePromptVersionCommand.js +25 -0
- package/dist-es/commands/DeleteFlowAliasCommand.js +24 -0
- package/dist-es/commands/DeleteFlowCommand.js +24 -0
- package/dist-es/commands/DeleteFlowVersionCommand.js +24 -0
- package/dist-es/commands/DeletePromptCommand.js +24 -0
- package/dist-es/commands/GetDataSourceCommand.js +2 -1
- package/dist-es/commands/GetFlowAliasCommand.js +24 -0
- package/dist-es/commands/GetFlowCommand.js +25 -0
- package/dist-es/commands/GetFlowVersionCommand.js +25 -0
- package/dist-es/commands/GetPromptCommand.js +25 -0
- package/dist-es/commands/ListFlowAliasesCommand.js +24 -0
- package/dist-es/commands/ListFlowVersionsCommand.js +24 -0
- package/dist-es/commands/ListFlowsCommand.js +24 -0
- package/dist-es/commands/ListPromptsCommand.js +24 -0
- package/dist-es/commands/PrepareFlowCommand.js +24 -0
- package/dist-es/commands/UpdateDataSourceCommand.js +2 -1
- package/dist-es/commands/UpdateFlowAliasCommand.js +24 -0
- package/dist-es/commands/UpdateFlowCommand.js +25 -0
- package/dist-es/commands/UpdatePromptCommand.js +25 -0
- package/dist-es/commands/index.js +21 -0
- package/dist-es/models/models_0.js +418 -0
- package/dist-es/pagination/ListFlowAliasesPaginator.js +4 -0
- package/dist-es/pagination/ListFlowVersionsPaginator.js +4 -0
- package/dist-es/pagination/ListFlowsPaginator.js +4 -0
- package/dist-es/pagination/ListPromptsPaginator.js +4 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +1041 -25
- package/dist-types/BedrockAgent.d.ts +149 -0
- package/dist-types/BedrockAgentClient.d.ts +23 -2
- package/dist-types/commands/CreateAgentActionGroupCommand.d.ts +7 -3
- package/dist-types/commands/CreateAgentCommand.d.ts +18 -1
- package/dist-types/commands/CreateDataSourceCommand.d.ts +280 -6
- package/dist-types/commands/CreateFlowAliasCommand.d.ts +103 -0
- package/dist-types/commands/CreateFlowCommand.d.ts +318 -0
- package/dist-types/commands/CreateFlowVersionCommand.d.ts +203 -0
- package/dist-types/commands/CreatePromptCommand.d.ts +149 -0
- package/dist-types/commands/CreatePromptVersionCommand.d.ts +122 -0
- package/dist-types/commands/DeleteFlowAliasCommand.d.ts +80 -0
- package/dist-types/commands/DeleteFlowCommand.d.ts +79 -0
- package/dist-types/commands/DeleteFlowVersionCommand.d.ts +81 -0
- package/dist-types/commands/DeletePromptCommand.d.ts +80 -0
- package/dist-types/commands/GetAgentActionGroupCommand.d.ts +1 -1
- package/dist-types/commands/GetAgentCommand.d.ts +6 -0
- package/dist-types/commands/GetAgentVersionCommand.d.ts +6 -0
- package/dist-types/commands/GetDataSourceCommand.d.ts +139 -2
- package/dist-types/commands/GetFlowAliasCommand.d.ts +87 -0
- package/dist-types/commands/GetFlowCommand.d.ts +202 -0
- package/dist-types/commands/GetFlowVersionCommand.d.ts +196 -0
- package/dist-types/commands/GetPromptCommand.d.ts +112 -0
- package/dist-types/commands/ListFlowAliasesCommand.d.ts +93 -0
- package/dist-types/commands/ListFlowVersionsCommand.d.ts +86 -0
- package/dist-types/commands/ListFlowsCommand.d.ts +85 -0
- package/dist-types/commands/ListPromptsCommand.d.ts +88 -0
- package/dist-types/commands/PrepareFlowCommand.d.ts +82 -0
- package/dist-types/commands/UpdateAgentActionGroupCommand.d.ts +2 -2
- package/dist-types/commands/UpdateAgentCommand.d.ts +12 -0
- package/dist-types/commands/UpdateDataSourceCommand.d.ts +280 -6
- package/dist-types/commands/UpdateFlowAliasCommand.d.ts +100 -0
- package/dist-types/commands/UpdateFlowCommand.d.ts +318 -0
- package/dist-types/commands/UpdatePromptCommand.d.ts +149 -0
- package/dist-types/commands/index.d.ts +21 -0
- package/dist-types/models/models_0.d.ts +4252 -772
- package/dist-types/pagination/ListFlowAliasesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListFlowVersionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListFlowsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPromptsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +189 -0
- package/dist-types/ts3.4/BedrockAgent.d.ts +359 -0
- package/dist-types/ts3.4/BedrockAgentClient.d.ts +128 -2
- package/dist-types/ts3.4/commands/CreateFlowAliasCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreateFlowCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/CreateFlowVersionCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/CreatePromptCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/CreatePromptVersionCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/DeleteFlowAliasCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteFlowCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/DeleteFlowVersionCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/DeletePromptCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/GetFlowAliasCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/GetFlowCommand.d.ts +32 -0
- package/dist-types/ts3.4/commands/GetFlowVersionCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetPromptCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/ListFlowAliasesCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListFlowVersionsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListFlowsCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/ListPromptsCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/PrepareFlowCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/UpdateFlowAliasCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/UpdateFlowCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/UpdatePromptCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/index.d.ts +21 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1179 -0
- package/dist-types/ts3.4/pagination/ListFlowAliasesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListFlowVersionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListFlowsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPromptsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +252 -0
- package/package.json +20 -20
|
@@ -48,7 +48,7 @@ declare const GetDataSourceCommand_base: {
|
|
|
48
48
|
* // status: "AVAILABLE" || "DELETING" || "DELETE_UNSUCCESSFUL", // required
|
|
49
49
|
* // description: "STRING_VALUE",
|
|
50
50
|
* // dataSourceConfiguration: { // DataSourceConfiguration
|
|
51
|
-
* // type: "S3", // required
|
|
51
|
+
* // type: "S3" || "WEB" || "CONFLUENCE" || "SALESFORCE" || "SHAREPOINT", // required
|
|
52
52
|
* // s3Configuration: { // S3DataSourceConfiguration
|
|
53
53
|
* // bucketArn: "STRING_VALUE", // required
|
|
54
54
|
* // inclusionPrefixes: [ // S3Prefixes
|
|
@@ -56,17 +56,154 @@ declare const GetDataSourceCommand_base: {
|
|
|
56
56
|
* // ],
|
|
57
57
|
* // bucketOwnerAccountId: "STRING_VALUE",
|
|
58
58
|
* // },
|
|
59
|
+
* // webConfiguration: { // WebDataSourceConfiguration
|
|
60
|
+
* // sourceConfiguration: { // WebSourceConfiguration
|
|
61
|
+
* // urlConfiguration: { // UrlConfiguration
|
|
62
|
+
* // seedUrls: [ // SeedUrls
|
|
63
|
+
* // { // SeedUrl
|
|
64
|
+
* // url: "STRING_VALUE",
|
|
65
|
+
* // },
|
|
66
|
+
* // ],
|
|
67
|
+
* // },
|
|
68
|
+
* // },
|
|
69
|
+
* // crawlerConfiguration: { // WebCrawlerConfiguration
|
|
70
|
+
* // crawlerLimits: { // WebCrawlerLimits
|
|
71
|
+
* // rateLimit: Number("int"),
|
|
72
|
+
* // },
|
|
73
|
+
* // inclusionFilters: [ // FilterList
|
|
74
|
+
* // "STRING_VALUE",
|
|
75
|
+
* // ],
|
|
76
|
+
* // exclusionFilters: [
|
|
77
|
+
* // "STRING_VALUE",
|
|
78
|
+
* // ],
|
|
79
|
+
* // scope: "HOST_ONLY" || "SUBDOMAINS",
|
|
80
|
+
* // },
|
|
81
|
+
* // },
|
|
82
|
+
* // confluenceConfiguration: { // ConfluenceDataSourceConfiguration
|
|
83
|
+
* // sourceConfiguration: { // ConfluenceSourceConfiguration
|
|
84
|
+
* // hostUrl: "STRING_VALUE", // required
|
|
85
|
+
* // hostType: "SAAS", // required
|
|
86
|
+
* // authType: "BASIC" || "OAUTH2_CLIENT_CREDENTIALS", // required
|
|
87
|
+
* // credentialsSecretArn: "STRING_VALUE", // required
|
|
88
|
+
* // },
|
|
89
|
+
* // crawlerConfiguration: { // ConfluenceCrawlerConfiguration
|
|
90
|
+
* // filterConfiguration: { // CrawlFilterConfiguration
|
|
91
|
+
* // type: "PATTERN", // required
|
|
92
|
+
* // patternObjectFilter: { // PatternObjectFilterConfiguration
|
|
93
|
+
* // filters: [ // PatternObjectFilterList // required
|
|
94
|
+
* // { // PatternObjectFilter
|
|
95
|
+
* // objectType: "STRING_VALUE", // required
|
|
96
|
+
* // inclusionFilters: [
|
|
97
|
+
* // "STRING_VALUE",
|
|
98
|
+
* // ],
|
|
99
|
+
* // exclusionFilters: [
|
|
100
|
+
* // "STRING_VALUE",
|
|
101
|
+
* // ],
|
|
102
|
+
* // },
|
|
103
|
+
* // ],
|
|
104
|
+
* // },
|
|
105
|
+
* // },
|
|
106
|
+
* // },
|
|
107
|
+
* // },
|
|
108
|
+
* // salesforceConfiguration: { // SalesforceDataSourceConfiguration
|
|
109
|
+
* // sourceConfiguration: { // SalesforceSourceConfiguration
|
|
110
|
+
* // hostUrl: "STRING_VALUE", // required
|
|
111
|
+
* // authType: "OAUTH2_CLIENT_CREDENTIALS", // required
|
|
112
|
+
* // credentialsSecretArn: "STRING_VALUE", // required
|
|
113
|
+
* // },
|
|
114
|
+
* // crawlerConfiguration: { // SalesforceCrawlerConfiguration
|
|
115
|
+
* // filterConfiguration: {
|
|
116
|
+
* // type: "PATTERN", // required
|
|
117
|
+
* // patternObjectFilter: {
|
|
118
|
+
* // filters: [ // required
|
|
119
|
+
* // {
|
|
120
|
+
* // objectType: "STRING_VALUE", // required
|
|
121
|
+
* // inclusionFilters: [
|
|
122
|
+
* // "STRING_VALUE",
|
|
123
|
+
* // ],
|
|
124
|
+
* // exclusionFilters: "<FilterList>",
|
|
125
|
+
* // },
|
|
126
|
+
* // ],
|
|
127
|
+
* // },
|
|
128
|
+
* // },
|
|
129
|
+
* // },
|
|
130
|
+
* // },
|
|
131
|
+
* // sharePointConfiguration: { // SharePointDataSourceConfiguration
|
|
132
|
+
* // sourceConfiguration: { // SharePointSourceConfiguration
|
|
133
|
+
* // tenantId: "STRING_VALUE",
|
|
134
|
+
* // domain: "STRING_VALUE", // required
|
|
135
|
+
* // siteUrls: [ // SharePointSiteUrls // required
|
|
136
|
+
* // "STRING_VALUE",
|
|
137
|
+
* // ],
|
|
138
|
+
* // hostType: "ONLINE", // required
|
|
139
|
+
* // authType: "OAUTH2_CLIENT_CREDENTIALS", // required
|
|
140
|
+
* // credentialsSecretArn: "STRING_VALUE", // required
|
|
141
|
+
* // },
|
|
142
|
+
* // crawlerConfiguration: { // SharePointCrawlerConfiguration
|
|
143
|
+
* // filterConfiguration: {
|
|
144
|
+
* // type: "PATTERN", // required
|
|
145
|
+
* // patternObjectFilter: {
|
|
146
|
+
* // filters: [ // required
|
|
147
|
+
* // {
|
|
148
|
+
* // objectType: "STRING_VALUE", // required
|
|
149
|
+
* // inclusionFilters: "<FilterList>",
|
|
150
|
+
* // exclusionFilters: "<FilterList>",
|
|
151
|
+
* // },
|
|
152
|
+
* // ],
|
|
153
|
+
* // },
|
|
154
|
+
* // },
|
|
155
|
+
* // },
|
|
156
|
+
* // },
|
|
59
157
|
* // },
|
|
60
158
|
* // serverSideEncryptionConfiguration: { // ServerSideEncryptionConfiguration
|
|
61
159
|
* // kmsKeyArn: "STRING_VALUE",
|
|
62
160
|
* // },
|
|
63
161
|
* // vectorIngestionConfiguration: { // VectorIngestionConfiguration
|
|
64
162
|
* // chunkingConfiguration: { // ChunkingConfiguration
|
|
65
|
-
* // chunkingStrategy: "FIXED_SIZE" || "NONE", // required
|
|
163
|
+
* // chunkingStrategy: "FIXED_SIZE" || "NONE" || "HIERARCHICAL" || "SEMANTIC", // required
|
|
66
164
|
* // fixedSizeChunkingConfiguration: { // FixedSizeChunkingConfiguration
|
|
67
165
|
* // maxTokens: Number("int"), // required
|
|
68
166
|
* // overlapPercentage: Number("int"), // required
|
|
69
167
|
* // },
|
|
168
|
+
* // hierarchicalChunkingConfiguration: { // HierarchicalChunkingConfiguration
|
|
169
|
+
* // levelConfigurations: [ // HierarchicalChunkingLevelConfigurations // required
|
|
170
|
+
* // { // HierarchicalChunkingLevelConfiguration
|
|
171
|
+
* // maxTokens: Number("int"), // required
|
|
172
|
+
* // },
|
|
173
|
+
* // ],
|
|
174
|
+
* // overlapTokens: Number("int"), // required
|
|
175
|
+
* // },
|
|
176
|
+
* // semanticChunkingConfiguration: { // SemanticChunkingConfiguration
|
|
177
|
+
* // maxTokens: Number("int"), // required
|
|
178
|
+
* // bufferSize: Number("int"), // required
|
|
179
|
+
* // breakpointPercentileThreshold: Number("int"), // required
|
|
180
|
+
* // },
|
|
181
|
+
* // },
|
|
182
|
+
* // customTransformationConfiguration: { // CustomTransformationConfiguration
|
|
183
|
+
* // intermediateStorage: { // IntermediateStorage
|
|
184
|
+
* // s3Location: { // S3Location
|
|
185
|
+
* // uri: "STRING_VALUE", // required
|
|
186
|
+
* // },
|
|
187
|
+
* // },
|
|
188
|
+
* // transformations: [ // Transformations // required
|
|
189
|
+
* // { // Transformation
|
|
190
|
+
* // transformationFunction: { // TransformationFunction
|
|
191
|
+
* // transformationLambdaConfiguration: { // TransformationLambdaConfiguration
|
|
192
|
+
* // lambdaArn: "STRING_VALUE", // required
|
|
193
|
+
* // },
|
|
194
|
+
* // },
|
|
195
|
+
* // stepToApply: "POST_CHUNKING", // required
|
|
196
|
+
* // },
|
|
197
|
+
* // ],
|
|
198
|
+
* // },
|
|
199
|
+
* // parsingConfiguration: { // ParsingConfiguration
|
|
200
|
+
* // parsingStrategy: "BEDROCK_FOUNDATION_MODEL", // required
|
|
201
|
+
* // bedrockFoundationModelConfiguration: { // BedrockFoundationModelConfiguration
|
|
202
|
+
* // modelArn: "STRING_VALUE", // required
|
|
203
|
+
* // parsingPrompt: { // ParsingPrompt
|
|
204
|
+
* // parsingPromptText: "STRING_VALUE", // required
|
|
205
|
+
* // },
|
|
206
|
+
* // },
|
|
70
207
|
* // },
|
|
71
208
|
* // },
|
|
72
209
|
* // dataDeletionPolicy: "RETAIN" || "DELETE",
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentClient";
|
|
4
|
+
import { GetFlowAliasRequest, GetFlowAliasResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetFlowAliasCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetFlowAliasCommandInput extends GetFlowAliasRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetFlowAliasCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetFlowAliasCommandOutput extends GetFlowAliasResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetFlowAliasCommand_base: {
|
|
25
|
+
new (input: GetFlowAliasCommandInput): import("@smithy/smithy-client").CommandImpl<GetFlowAliasCommandInput, GetFlowAliasCommandOutput, BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: GetFlowAliasCommandInput): import("@smithy/smithy-client").CommandImpl<GetFlowAliasCommandInput, GetFlowAliasCommandOutput, BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Retrieves information about a flow. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/flows-deploy.html">Deploy a flow in Amazon Bedrock</a> in the Amazon Bedrock User Guide.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BedrockAgentClient, GetFlowAliasCommand } from "@aws-sdk/client-bedrock-agent"; // ES Modules import
|
|
35
|
+
* // const { BedrockAgentClient, GetFlowAliasCommand } = require("@aws-sdk/client-bedrock-agent"); // CommonJS import
|
|
36
|
+
* const client = new BedrockAgentClient(config);
|
|
37
|
+
* const input = { // GetFlowAliasRequest
|
|
38
|
+
* flowIdentifier: "STRING_VALUE", // required
|
|
39
|
+
* aliasIdentifier: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
41
|
+
* const command = new GetFlowAliasCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // GetFlowAliasResponse
|
|
44
|
+
* // name: "STRING_VALUE", // required
|
|
45
|
+
* // description: "STRING_VALUE",
|
|
46
|
+
* // routingConfiguration: [ // FlowAliasRoutingConfiguration // required
|
|
47
|
+
* // { // FlowAliasRoutingConfigurationListItem
|
|
48
|
+
* // flowVersion: "STRING_VALUE",
|
|
49
|
+
* // },
|
|
50
|
+
* // ],
|
|
51
|
+
* // flowId: "STRING_VALUE", // required
|
|
52
|
+
* // id: "STRING_VALUE", // required
|
|
53
|
+
* // arn: "STRING_VALUE", // required
|
|
54
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
55
|
+
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
56
|
+
* // };
|
|
57
|
+
*
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
60
|
+
* @param GetFlowAliasCommandInput - {@link GetFlowAliasCommandInput}
|
|
61
|
+
* @returns {@link GetFlowAliasCommandOutput}
|
|
62
|
+
* @see {@link GetFlowAliasCommandInput} for command's `input` shape.
|
|
63
|
+
* @see {@link GetFlowAliasCommandOutput} for command's `response` shape.
|
|
64
|
+
* @see {@link BedrockAgentClientResolvedConfig | config} for BedrockAgentClient's `config` shape.
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
67
|
+
* <p>The request is denied because of missing access permissions.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link InternalServerException} (server fault)
|
|
70
|
+
* <p>An internal server error occurred. Retry your request.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
73
|
+
* <p>The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
76
|
+
* <p>The number of requests exceeds the limit. Resubmit your request later.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ValidationException} (client fault)
|
|
79
|
+
* <p>Input validation failed. Check your request parameters and retry the request.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link BedrockAgentServiceException}
|
|
82
|
+
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
83
|
+
*
|
|
84
|
+
* @public
|
|
85
|
+
*/
|
|
86
|
+
export declare class GetFlowAliasCommand extends GetFlowAliasCommand_base {
|
|
87
|
+
}
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentClient";
|
|
4
|
+
import { GetFlowRequest, GetFlowResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetFlowCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetFlowCommandInput extends GetFlowRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetFlowCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetFlowCommandOutput extends GetFlowResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetFlowCommand_base: {
|
|
25
|
+
new (input: GetFlowCommandInput): import("@smithy/smithy-client").CommandImpl<GetFlowCommandInput, GetFlowCommandOutput, BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: GetFlowCommandInput): import("@smithy/smithy-client").CommandImpl<GetFlowCommandInput, GetFlowCommandOutput, BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Retrieves information about a flow. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/flows-manage.html">Manage a flow in Amazon Bedrock</a> in the Amazon Bedrock User Guide.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BedrockAgentClient, GetFlowCommand } from "@aws-sdk/client-bedrock-agent"; // ES Modules import
|
|
35
|
+
* // const { BedrockAgentClient, GetFlowCommand } = require("@aws-sdk/client-bedrock-agent"); // CommonJS import
|
|
36
|
+
* const client = new BedrockAgentClient(config);
|
|
37
|
+
* const input = { // GetFlowRequest
|
|
38
|
+
* flowIdentifier: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new GetFlowCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // GetFlowResponse
|
|
43
|
+
* // name: "STRING_VALUE", // required
|
|
44
|
+
* // description: "STRING_VALUE",
|
|
45
|
+
* // executionRoleArn: "STRING_VALUE", // required
|
|
46
|
+
* // customerEncryptionKeyArn: "STRING_VALUE",
|
|
47
|
+
* // id: "STRING_VALUE", // required
|
|
48
|
+
* // arn: "STRING_VALUE", // required
|
|
49
|
+
* // status: "Failed" || "Prepared" || "Preparing" || "NotPrepared", // required
|
|
50
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
51
|
+
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
52
|
+
* // version: "STRING_VALUE", // required
|
|
53
|
+
* // definition: { // FlowDefinition
|
|
54
|
+
* // nodes: [ // FlowNodes
|
|
55
|
+
* // { // FlowNode
|
|
56
|
+
* // name: "STRING_VALUE", // required
|
|
57
|
+
* // type: "Input" || "Output" || "KnowledgeBase" || "Condition" || "Lex" || "Prompt" || "LambdaFunction" || "Storage" || "Agent" || "Retrieval" || "Iterator" || "Collector", // required
|
|
58
|
+
* // configuration: { // FlowNodeConfiguration Union: only one key present
|
|
59
|
+
* // input: {},
|
|
60
|
+
* // output: {},
|
|
61
|
+
* // knowledgeBase: { // KnowledgeBaseFlowNodeConfiguration
|
|
62
|
+
* // knowledgeBaseId: "STRING_VALUE", // required
|
|
63
|
+
* // modelId: "STRING_VALUE",
|
|
64
|
+
* // },
|
|
65
|
+
* // condition: { // ConditionFlowNodeConfiguration
|
|
66
|
+
* // conditions: [ // FlowConditions // required
|
|
67
|
+
* // { // FlowCondition
|
|
68
|
+
* // name: "STRING_VALUE", // required
|
|
69
|
+
* // expression: "STRING_VALUE",
|
|
70
|
+
* // },
|
|
71
|
+
* // ],
|
|
72
|
+
* // },
|
|
73
|
+
* // lex: { // LexFlowNodeConfiguration
|
|
74
|
+
* // botAliasArn: "STRING_VALUE", // required
|
|
75
|
+
* // localeId: "STRING_VALUE", // required
|
|
76
|
+
* // },
|
|
77
|
+
* // prompt: { // PromptFlowNodeConfiguration
|
|
78
|
+
* // sourceConfiguration: { // PromptFlowNodeSourceConfiguration Union: only one key present
|
|
79
|
+
* // resource: { // PromptFlowNodeResourceConfiguration
|
|
80
|
+
* // promptArn: "STRING_VALUE", // required
|
|
81
|
+
* // },
|
|
82
|
+
* // inline: { // PromptFlowNodeInlineConfiguration
|
|
83
|
+
* // templateType: "TEXT", // required
|
|
84
|
+
* // templateConfiguration: { // PromptTemplateConfiguration Union: only one key present
|
|
85
|
+
* // text: { // TextPromptTemplateConfiguration
|
|
86
|
+
* // text: "STRING_VALUE", // required
|
|
87
|
+
* // inputVariables: [ // PromptInputVariablesList
|
|
88
|
+
* // { // PromptInputVariable
|
|
89
|
+
* // name: "STRING_VALUE",
|
|
90
|
+
* // },
|
|
91
|
+
* // ],
|
|
92
|
+
* // },
|
|
93
|
+
* // },
|
|
94
|
+
* // modelId: "STRING_VALUE", // required
|
|
95
|
+
* // inferenceConfiguration: { // PromptInferenceConfiguration Union: only one key present
|
|
96
|
+
* // text: { // PromptModelInferenceConfiguration
|
|
97
|
+
* // temperature: Number("float"),
|
|
98
|
+
* // topP: Number("float"),
|
|
99
|
+
* // topK: Number("int"),
|
|
100
|
+
* // maxTokens: Number("int"),
|
|
101
|
+
* // stopSequences: [ // StopSequences
|
|
102
|
+
* // "STRING_VALUE",
|
|
103
|
+
* // ],
|
|
104
|
+
* // },
|
|
105
|
+
* // },
|
|
106
|
+
* // },
|
|
107
|
+
* // },
|
|
108
|
+
* // },
|
|
109
|
+
* // lambdaFunction: { // LambdaFunctionFlowNodeConfiguration
|
|
110
|
+
* // lambdaArn: "STRING_VALUE", // required
|
|
111
|
+
* // },
|
|
112
|
+
* // storage: { // StorageFlowNodeConfiguration
|
|
113
|
+
* // serviceConfiguration: { // StorageFlowNodeServiceConfiguration Union: only one key present
|
|
114
|
+
* // s3: { // StorageFlowNodeS3Configuration
|
|
115
|
+
* // bucketName: "STRING_VALUE", // required
|
|
116
|
+
* // },
|
|
117
|
+
* // },
|
|
118
|
+
* // },
|
|
119
|
+
* // agent: { // AgentFlowNodeConfiguration
|
|
120
|
+
* // agentAliasArn: "STRING_VALUE", // required
|
|
121
|
+
* // },
|
|
122
|
+
* // retrieval: { // RetrievalFlowNodeConfiguration
|
|
123
|
+
* // serviceConfiguration: { // RetrievalFlowNodeServiceConfiguration Union: only one key present
|
|
124
|
+
* // s3: { // RetrievalFlowNodeS3Configuration
|
|
125
|
+
* // bucketName: "STRING_VALUE", // required
|
|
126
|
+
* // },
|
|
127
|
+
* // },
|
|
128
|
+
* // },
|
|
129
|
+
* // iterator: {},
|
|
130
|
+
* // collector: {},
|
|
131
|
+
* // },
|
|
132
|
+
* // inputs: [ // FlowNodeInputs
|
|
133
|
+
* // { // FlowNodeInput
|
|
134
|
+
* // name: "STRING_VALUE", // required
|
|
135
|
+
* // type: "String" || "Number" || "Boolean" || "Object" || "Array", // required
|
|
136
|
+
* // expression: "STRING_VALUE", // required
|
|
137
|
+
* // },
|
|
138
|
+
* // ],
|
|
139
|
+
* // outputs: [ // FlowNodeOutputs
|
|
140
|
+
* // { // FlowNodeOutput
|
|
141
|
+
* // name: "STRING_VALUE", // required
|
|
142
|
+
* // type: "String" || "Number" || "Boolean" || "Object" || "Array", // required
|
|
143
|
+
* // },
|
|
144
|
+
* // ],
|
|
145
|
+
* // },
|
|
146
|
+
* // ],
|
|
147
|
+
* // connections: [ // FlowConnections
|
|
148
|
+
* // { // FlowConnection
|
|
149
|
+
* // type: "Data" || "Conditional", // required
|
|
150
|
+
* // name: "STRING_VALUE", // required
|
|
151
|
+
* // source: "STRING_VALUE", // required
|
|
152
|
+
* // target: "STRING_VALUE", // required
|
|
153
|
+
* // configuration: { // FlowConnectionConfiguration Union: only one key present
|
|
154
|
+
* // data: { // FlowDataConnectionConfiguration
|
|
155
|
+
* // sourceOutput: "STRING_VALUE", // required
|
|
156
|
+
* // targetInput: "STRING_VALUE", // required
|
|
157
|
+
* // },
|
|
158
|
+
* // conditional: { // FlowConditionalConnectionConfiguration
|
|
159
|
+
* // condition: "STRING_VALUE", // required
|
|
160
|
+
* // },
|
|
161
|
+
* // },
|
|
162
|
+
* // },
|
|
163
|
+
* // ],
|
|
164
|
+
* // },
|
|
165
|
+
* // validations: [ // FlowValidations
|
|
166
|
+
* // { // FlowValidation
|
|
167
|
+
* // message: "STRING_VALUE", // required
|
|
168
|
+
* // severity: "Warning" || "Error", // required
|
|
169
|
+
* // },
|
|
170
|
+
* // ],
|
|
171
|
+
* // };
|
|
172
|
+
*
|
|
173
|
+
* ```
|
|
174
|
+
*
|
|
175
|
+
* @param GetFlowCommandInput - {@link GetFlowCommandInput}
|
|
176
|
+
* @returns {@link GetFlowCommandOutput}
|
|
177
|
+
* @see {@link GetFlowCommandInput} for command's `input` shape.
|
|
178
|
+
* @see {@link GetFlowCommandOutput} for command's `response` shape.
|
|
179
|
+
* @see {@link BedrockAgentClientResolvedConfig | config} for BedrockAgentClient's `config` shape.
|
|
180
|
+
*
|
|
181
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
182
|
+
* <p>The request is denied because of missing access permissions.</p>
|
|
183
|
+
*
|
|
184
|
+
* @throws {@link InternalServerException} (server fault)
|
|
185
|
+
* <p>An internal server error occurred. Retry your request.</p>
|
|
186
|
+
*
|
|
187
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
188
|
+
* <p>The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.</p>
|
|
189
|
+
*
|
|
190
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
191
|
+
* <p>The number of requests exceeds the limit. Resubmit your request later.</p>
|
|
192
|
+
*
|
|
193
|
+
* @throws {@link ValidationException} (client fault)
|
|
194
|
+
* <p>Input validation failed. Check your request parameters and retry the request.</p>
|
|
195
|
+
*
|
|
196
|
+
* @throws {@link BedrockAgentServiceException}
|
|
197
|
+
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
198
|
+
*
|
|
199
|
+
* @public
|
|
200
|
+
*/
|
|
201
|
+
export declare class GetFlowCommand extends GetFlowCommand_base {
|
|
202
|
+
}
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentClient";
|
|
4
|
+
import { GetFlowVersionRequest, GetFlowVersionResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetFlowVersionCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetFlowVersionCommandInput extends GetFlowVersionRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetFlowVersionCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetFlowVersionCommandOutput extends GetFlowVersionResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetFlowVersionCommand_base: {
|
|
25
|
+
new (input: GetFlowVersionCommandInput): import("@smithy/smithy-client").CommandImpl<GetFlowVersionCommandInput, GetFlowVersionCommandOutput, BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: GetFlowVersionCommandInput): import("@smithy/smithy-client").CommandImpl<GetFlowVersionCommandInput, GetFlowVersionCommandOutput, BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Retrieves information about a version of a flow. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/flows-deploy.html">Deploy a flow in Amazon Bedrock</a> in the Amazon Bedrock User Guide.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BedrockAgentClient, GetFlowVersionCommand } from "@aws-sdk/client-bedrock-agent"; // ES Modules import
|
|
35
|
+
* // const { BedrockAgentClient, GetFlowVersionCommand } = require("@aws-sdk/client-bedrock-agent"); // CommonJS import
|
|
36
|
+
* const client = new BedrockAgentClient(config);
|
|
37
|
+
* const input = { // GetFlowVersionRequest
|
|
38
|
+
* flowIdentifier: "STRING_VALUE", // required
|
|
39
|
+
* flowVersion: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
41
|
+
* const command = new GetFlowVersionCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // GetFlowVersionResponse
|
|
44
|
+
* // name: "STRING_VALUE", // required
|
|
45
|
+
* // description: "STRING_VALUE",
|
|
46
|
+
* // executionRoleArn: "STRING_VALUE", // required
|
|
47
|
+
* // customerEncryptionKeyArn: "STRING_VALUE",
|
|
48
|
+
* // id: "STRING_VALUE", // required
|
|
49
|
+
* // arn: "STRING_VALUE", // required
|
|
50
|
+
* // status: "Failed" || "Prepared" || "Preparing" || "NotPrepared", // required
|
|
51
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
52
|
+
* // version: "STRING_VALUE", // required
|
|
53
|
+
* // definition: { // FlowDefinition
|
|
54
|
+
* // nodes: [ // FlowNodes
|
|
55
|
+
* // { // FlowNode
|
|
56
|
+
* // name: "STRING_VALUE", // required
|
|
57
|
+
* // type: "Input" || "Output" || "KnowledgeBase" || "Condition" || "Lex" || "Prompt" || "LambdaFunction" || "Storage" || "Agent" || "Retrieval" || "Iterator" || "Collector", // required
|
|
58
|
+
* // configuration: { // FlowNodeConfiguration Union: only one key present
|
|
59
|
+
* // input: {},
|
|
60
|
+
* // output: {},
|
|
61
|
+
* // knowledgeBase: { // KnowledgeBaseFlowNodeConfiguration
|
|
62
|
+
* // knowledgeBaseId: "STRING_VALUE", // required
|
|
63
|
+
* // modelId: "STRING_VALUE",
|
|
64
|
+
* // },
|
|
65
|
+
* // condition: { // ConditionFlowNodeConfiguration
|
|
66
|
+
* // conditions: [ // FlowConditions // required
|
|
67
|
+
* // { // FlowCondition
|
|
68
|
+
* // name: "STRING_VALUE", // required
|
|
69
|
+
* // expression: "STRING_VALUE",
|
|
70
|
+
* // },
|
|
71
|
+
* // ],
|
|
72
|
+
* // },
|
|
73
|
+
* // lex: { // LexFlowNodeConfiguration
|
|
74
|
+
* // botAliasArn: "STRING_VALUE", // required
|
|
75
|
+
* // localeId: "STRING_VALUE", // required
|
|
76
|
+
* // },
|
|
77
|
+
* // prompt: { // PromptFlowNodeConfiguration
|
|
78
|
+
* // sourceConfiguration: { // PromptFlowNodeSourceConfiguration Union: only one key present
|
|
79
|
+
* // resource: { // PromptFlowNodeResourceConfiguration
|
|
80
|
+
* // promptArn: "STRING_VALUE", // required
|
|
81
|
+
* // },
|
|
82
|
+
* // inline: { // PromptFlowNodeInlineConfiguration
|
|
83
|
+
* // templateType: "TEXT", // required
|
|
84
|
+
* // templateConfiguration: { // PromptTemplateConfiguration Union: only one key present
|
|
85
|
+
* // text: { // TextPromptTemplateConfiguration
|
|
86
|
+
* // text: "STRING_VALUE", // required
|
|
87
|
+
* // inputVariables: [ // PromptInputVariablesList
|
|
88
|
+
* // { // PromptInputVariable
|
|
89
|
+
* // name: "STRING_VALUE",
|
|
90
|
+
* // },
|
|
91
|
+
* // ],
|
|
92
|
+
* // },
|
|
93
|
+
* // },
|
|
94
|
+
* // modelId: "STRING_VALUE", // required
|
|
95
|
+
* // inferenceConfiguration: { // PromptInferenceConfiguration Union: only one key present
|
|
96
|
+
* // text: { // PromptModelInferenceConfiguration
|
|
97
|
+
* // temperature: Number("float"),
|
|
98
|
+
* // topP: Number("float"),
|
|
99
|
+
* // topK: Number("int"),
|
|
100
|
+
* // maxTokens: Number("int"),
|
|
101
|
+
* // stopSequences: [ // StopSequences
|
|
102
|
+
* // "STRING_VALUE",
|
|
103
|
+
* // ],
|
|
104
|
+
* // },
|
|
105
|
+
* // },
|
|
106
|
+
* // },
|
|
107
|
+
* // },
|
|
108
|
+
* // },
|
|
109
|
+
* // lambdaFunction: { // LambdaFunctionFlowNodeConfiguration
|
|
110
|
+
* // lambdaArn: "STRING_VALUE", // required
|
|
111
|
+
* // },
|
|
112
|
+
* // storage: { // StorageFlowNodeConfiguration
|
|
113
|
+
* // serviceConfiguration: { // StorageFlowNodeServiceConfiguration Union: only one key present
|
|
114
|
+
* // s3: { // StorageFlowNodeS3Configuration
|
|
115
|
+
* // bucketName: "STRING_VALUE", // required
|
|
116
|
+
* // },
|
|
117
|
+
* // },
|
|
118
|
+
* // },
|
|
119
|
+
* // agent: { // AgentFlowNodeConfiguration
|
|
120
|
+
* // agentAliasArn: "STRING_VALUE", // required
|
|
121
|
+
* // },
|
|
122
|
+
* // retrieval: { // RetrievalFlowNodeConfiguration
|
|
123
|
+
* // serviceConfiguration: { // RetrievalFlowNodeServiceConfiguration Union: only one key present
|
|
124
|
+
* // s3: { // RetrievalFlowNodeS3Configuration
|
|
125
|
+
* // bucketName: "STRING_VALUE", // required
|
|
126
|
+
* // },
|
|
127
|
+
* // },
|
|
128
|
+
* // },
|
|
129
|
+
* // iterator: {},
|
|
130
|
+
* // collector: {},
|
|
131
|
+
* // },
|
|
132
|
+
* // inputs: [ // FlowNodeInputs
|
|
133
|
+
* // { // FlowNodeInput
|
|
134
|
+
* // name: "STRING_VALUE", // required
|
|
135
|
+
* // type: "String" || "Number" || "Boolean" || "Object" || "Array", // required
|
|
136
|
+
* // expression: "STRING_VALUE", // required
|
|
137
|
+
* // },
|
|
138
|
+
* // ],
|
|
139
|
+
* // outputs: [ // FlowNodeOutputs
|
|
140
|
+
* // { // FlowNodeOutput
|
|
141
|
+
* // name: "STRING_VALUE", // required
|
|
142
|
+
* // type: "String" || "Number" || "Boolean" || "Object" || "Array", // required
|
|
143
|
+
* // },
|
|
144
|
+
* // ],
|
|
145
|
+
* // },
|
|
146
|
+
* // ],
|
|
147
|
+
* // connections: [ // FlowConnections
|
|
148
|
+
* // { // FlowConnection
|
|
149
|
+
* // type: "Data" || "Conditional", // required
|
|
150
|
+
* // name: "STRING_VALUE", // required
|
|
151
|
+
* // source: "STRING_VALUE", // required
|
|
152
|
+
* // target: "STRING_VALUE", // required
|
|
153
|
+
* // configuration: { // FlowConnectionConfiguration Union: only one key present
|
|
154
|
+
* // data: { // FlowDataConnectionConfiguration
|
|
155
|
+
* // sourceOutput: "STRING_VALUE", // required
|
|
156
|
+
* // targetInput: "STRING_VALUE", // required
|
|
157
|
+
* // },
|
|
158
|
+
* // conditional: { // FlowConditionalConnectionConfiguration
|
|
159
|
+
* // condition: "STRING_VALUE", // required
|
|
160
|
+
* // },
|
|
161
|
+
* // },
|
|
162
|
+
* // },
|
|
163
|
+
* // ],
|
|
164
|
+
* // },
|
|
165
|
+
* // };
|
|
166
|
+
*
|
|
167
|
+
* ```
|
|
168
|
+
*
|
|
169
|
+
* @param GetFlowVersionCommandInput - {@link GetFlowVersionCommandInput}
|
|
170
|
+
* @returns {@link GetFlowVersionCommandOutput}
|
|
171
|
+
* @see {@link GetFlowVersionCommandInput} for command's `input` shape.
|
|
172
|
+
* @see {@link GetFlowVersionCommandOutput} for command's `response` shape.
|
|
173
|
+
* @see {@link BedrockAgentClientResolvedConfig | config} for BedrockAgentClient's `config` shape.
|
|
174
|
+
*
|
|
175
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
176
|
+
* <p>The request is denied because of missing access permissions.</p>
|
|
177
|
+
*
|
|
178
|
+
* @throws {@link InternalServerException} (server fault)
|
|
179
|
+
* <p>An internal server error occurred. Retry your request.</p>
|
|
180
|
+
*
|
|
181
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
182
|
+
* <p>The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.</p>
|
|
183
|
+
*
|
|
184
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
185
|
+
* <p>The number of requests exceeds the limit. Resubmit your request later.</p>
|
|
186
|
+
*
|
|
187
|
+
* @throws {@link ValidationException} (client fault)
|
|
188
|
+
* <p>Input validation failed. Check your request parameters and retry the request.</p>
|
|
189
|
+
*
|
|
190
|
+
* @throws {@link BedrockAgentServiceException}
|
|
191
|
+
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
192
|
+
*
|
|
193
|
+
* @public
|
|
194
|
+
*/
|
|
195
|
+
export declare class GetFlowVersionCommand extends GetFlowVersionCommand_base {
|
|
196
|
+
}
|