@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.
Files changed (108) hide show
  1. package/README.md +168 -0
  2. package/dist-cjs/index.js +2007 -14
  3. package/dist-es/BedrockAgent.js +42 -0
  4. package/dist-es/commands/CreateDataSourceCommand.js +2 -1
  5. package/dist-es/commands/CreateFlowAliasCommand.js +24 -0
  6. package/dist-es/commands/CreateFlowCommand.js +25 -0
  7. package/dist-es/commands/CreateFlowVersionCommand.js +25 -0
  8. package/dist-es/commands/CreatePromptCommand.js +25 -0
  9. package/dist-es/commands/CreatePromptVersionCommand.js +25 -0
  10. package/dist-es/commands/DeleteFlowAliasCommand.js +24 -0
  11. package/dist-es/commands/DeleteFlowCommand.js +24 -0
  12. package/dist-es/commands/DeleteFlowVersionCommand.js +24 -0
  13. package/dist-es/commands/DeletePromptCommand.js +24 -0
  14. package/dist-es/commands/GetDataSourceCommand.js +2 -1
  15. package/dist-es/commands/GetFlowAliasCommand.js +24 -0
  16. package/dist-es/commands/GetFlowCommand.js +25 -0
  17. package/dist-es/commands/GetFlowVersionCommand.js +25 -0
  18. package/dist-es/commands/GetPromptCommand.js +25 -0
  19. package/dist-es/commands/ListFlowAliasesCommand.js +24 -0
  20. package/dist-es/commands/ListFlowVersionsCommand.js +24 -0
  21. package/dist-es/commands/ListFlowsCommand.js +24 -0
  22. package/dist-es/commands/ListPromptsCommand.js +24 -0
  23. package/dist-es/commands/PrepareFlowCommand.js +24 -0
  24. package/dist-es/commands/UpdateDataSourceCommand.js +2 -1
  25. package/dist-es/commands/UpdateFlowAliasCommand.js +24 -0
  26. package/dist-es/commands/UpdateFlowCommand.js +25 -0
  27. package/dist-es/commands/UpdatePromptCommand.js +25 -0
  28. package/dist-es/commands/index.js +21 -0
  29. package/dist-es/models/models_0.js +418 -0
  30. package/dist-es/pagination/ListFlowAliasesPaginator.js +4 -0
  31. package/dist-es/pagination/ListFlowVersionsPaginator.js +4 -0
  32. package/dist-es/pagination/ListFlowsPaginator.js +4 -0
  33. package/dist-es/pagination/ListPromptsPaginator.js +4 -0
  34. package/dist-es/pagination/index.js +4 -0
  35. package/dist-es/protocols/Aws_restJson1.js +1041 -25
  36. package/dist-types/BedrockAgent.d.ts +149 -0
  37. package/dist-types/BedrockAgentClient.d.ts +23 -2
  38. package/dist-types/commands/CreateAgentActionGroupCommand.d.ts +7 -3
  39. package/dist-types/commands/CreateAgentCommand.d.ts +18 -1
  40. package/dist-types/commands/CreateDataSourceCommand.d.ts +280 -6
  41. package/dist-types/commands/CreateFlowAliasCommand.d.ts +103 -0
  42. package/dist-types/commands/CreateFlowCommand.d.ts +318 -0
  43. package/dist-types/commands/CreateFlowVersionCommand.d.ts +203 -0
  44. package/dist-types/commands/CreatePromptCommand.d.ts +149 -0
  45. package/dist-types/commands/CreatePromptVersionCommand.d.ts +122 -0
  46. package/dist-types/commands/DeleteFlowAliasCommand.d.ts +80 -0
  47. package/dist-types/commands/DeleteFlowCommand.d.ts +79 -0
  48. package/dist-types/commands/DeleteFlowVersionCommand.d.ts +81 -0
  49. package/dist-types/commands/DeletePromptCommand.d.ts +80 -0
  50. package/dist-types/commands/GetAgentActionGroupCommand.d.ts +1 -1
  51. package/dist-types/commands/GetAgentCommand.d.ts +6 -0
  52. package/dist-types/commands/GetAgentVersionCommand.d.ts +6 -0
  53. package/dist-types/commands/GetDataSourceCommand.d.ts +139 -2
  54. package/dist-types/commands/GetFlowAliasCommand.d.ts +87 -0
  55. package/dist-types/commands/GetFlowCommand.d.ts +202 -0
  56. package/dist-types/commands/GetFlowVersionCommand.d.ts +196 -0
  57. package/dist-types/commands/GetPromptCommand.d.ts +112 -0
  58. package/dist-types/commands/ListFlowAliasesCommand.d.ts +93 -0
  59. package/dist-types/commands/ListFlowVersionsCommand.d.ts +86 -0
  60. package/dist-types/commands/ListFlowsCommand.d.ts +85 -0
  61. package/dist-types/commands/ListPromptsCommand.d.ts +88 -0
  62. package/dist-types/commands/PrepareFlowCommand.d.ts +82 -0
  63. package/dist-types/commands/UpdateAgentActionGroupCommand.d.ts +2 -2
  64. package/dist-types/commands/UpdateAgentCommand.d.ts +12 -0
  65. package/dist-types/commands/UpdateDataSourceCommand.d.ts +280 -6
  66. package/dist-types/commands/UpdateFlowAliasCommand.d.ts +100 -0
  67. package/dist-types/commands/UpdateFlowCommand.d.ts +318 -0
  68. package/dist-types/commands/UpdatePromptCommand.d.ts +149 -0
  69. package/dist-types/commands/index.d.ts +21 -0
  70. package/dist-types/models/models_0.d.ts +4252 -772
  71. package/dist-types/pagination/ListFlowAliasesPaginator.d.ts +7 -0
  72. package/dist-types/pagination/ListFlowVersionsPaginator.d.ts +7 -0
  73. package/dist-types/pagination/ListFlowsPaginator.d.ts +7 -0
  74. package/dist-types/pagination/ListPromptsPaginator.d.ts +7 -0
  75. package/dist-types/pagination/index.d.ts +4 -0
  76. package/dist-types/protocols/Aws_restJson1.d.ts +189 -0
  77. package/dist-types/ts3.4/BedrockAgent.d.ts +359 -0
  78. package/dist-types/ts3.4/BedrockAgentClient.d.ts +128 -2
  79. package/dist-types/ts3.4/commands/CreateFlowAliasCommand.d.ts +39 -0
  80. package/dist-types/ts3.4/commands/CreateFlowCommand.d.ts +36 -0
  81. package/dist-types/ts3.4/commands/CreateFlowVersionCommand.d.ts +40 -0
  82. package/dist-types/ts3.4/commands/CreatePromptCommand.d.ts +36 -0
  83. package/dist-types/ts3.4/commands/CreatePromptVersionCommand.d.ts +40 -0
  84. package/dist-types/ts3.4/commands/DeleteFlowAliasCommand.d.ts +39 -0
  85. package/dist-types/ts3.4/commands/DeleteFlowCommand.d.ts +36 -0
  86. package/dist-types/ts3.4/commands/DeleteFlowVersionCommand.d.ts +40 -0
  87. package/dist-types/ts3.4/commands/DeletePromptCommand.d.ts +36 -0
  88. package/dist-types/ts3.4/commands/GetFlowAliasCommand.d.ts +36 -0
  89. package/dist-types/ts3.4/commands/GetFlowCommand.d.ts +32 -0
  90. package/dist-types/ts3.4/commands/GetFlowVersionCommand.d.ts +39 -0
  91. package/dist-types/ts3.4/commands/GetPromptCommand.d.ts +36 -0
  92. package/dist-types/ts3.4/commands/ListFlowAliasesCommand.d.ts +39 -0
  93. package/dist-types/ts3.4/commands/ListFlowVersionsCommand.d.ts +39 -0
  94. package/dist-types/ts3.4/commands/ListFlowsCommand.d.ts +36 -0
  95. package/dist-types/ts3.4/commands/ListPromptsCommand.d.ts +36 -0
  96. package/dist-types/ts3.4/commands/PrepareFlowCommand.d.ts +36 -0
  97. package/dist-types/ts3.4/commands/UpdateFlowAliasCommand.d.ts +39 -0
  98. package/dist-types/ts3.4/commands/UpdateFlowCommand.d.ts +36 -0
  99. package/dist-types/ts3.4/commands/UpdatePromptCommand.d.ts +36 -0
  100. package/dist-types/ts3.4/commands/index.d.ts +21 -0
  101. package/dist-types/ts3.4/models/models_0.d.ts +1179 -0
  102. package/dist-types/ts3.4/pagination/ListFlowAliasesPaginator.d.ts +11 -0
  103. package/dist-types/ts3.4/pagination/ListFlowVersionsPaginator.d.ts +11 -0
  104. package/dist-types/ts3.4/pagination/ListFlowsPaginator.d.ts +11 -0
  105. package/dist-types/ts3.4/pagination/ListPromptsPaginator.d.ts +11 -0
  106. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  107. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +252 -0
  108. package/package.json +20 -20
@@ -27,9 +27,9 @@ declare const UpdateDataSourceCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Updates configurations for a data source.</p>
30
+ * <p>Updates the configurations for a data source connector.</p>
31
31
  * <important>
32
- * <p>You can't change the <code>chunkingConfiguration</code> after you create the data source. Specify the existing <code>chunkingConfiguration</code>.</p>
32
+ * <p>You can't change the <code>chunkingConfiguration</code> after you create the data source connector. Specify the existing <code>chunkingConfiguration</code>.</p>
33
33
  * </important>
34
34
  * @example
35
35
  * Use a bare-bones client and the command you need to make an API call.
@@ -43,7 +43,7 @@ declare const UpdateDataSourceCommand_base: {
43
43
  * name: "STRING_VALUE", // required
44
44
  * description: "STRING_VALUE",
45
45
  * dataSourceConfiguration: { // DataSourceConfiguration
46
- * type: "S3", // required
46
+ * type: "S3" || "WEB" || "CONFLUENCE" || "SALESFORCE" || "SHAREPOINT", // required
47
47
  * s3Configuration: { // S3DataSourceConfiguration
48
48
  * bucketArn: "STRING_VALUE", // required
49
49
  * inclusionPrefixes: [ // S3Prefixes
@@ -51,6 +51,104 @@ declare const UpdateDataSourceCommand_base: {
51
51
  * ],
52
52
  * bucketOwnerAccountId: "STRING_VALUE",
53
53
  * },
54
+ * webConfiguration: { // WebDataSourceConfiguration
55
+ * sourceConfiguration: { // WebSourceConfiguration
56
+ * urlConfiguration: { // UrlConfiguration
57
+ * seedUrls: [ // SeedUrls
58
+ * { // SeedUrl
59
+ * url: "STRING_VALUE",
60
+ * },
61
+ * ],
62
+ * },
63
+ * },
64
+ * crawlerConfiguration: { // WebCrawlerConfiguration
65
+ * crawlerLimits: { // WebCrawlerLimits
66
+ * rateLimit: Number("int"),
67
+ * },
68
+ * inclusionFilters: [ // FilterList
69
+ * "STRING_VALUE",
70
+ * ],
71
+ * exclusionFilters: [
72
+ * "STRING_VALUE",
73
+ * ],
74
+ * scope: "HOST_ONLY" || "SUBDOMAINS",
75
+ * },
76
+ * },
77
+ * confluenceConfiguration: { // ConfluenceDataSourceConfiguration
78
+ * sourceConfiguration: { // ConfluenceSourceConfiguration
79
+ * hostUrl: "STRING_VALUE", // required
80
+ * hostType: "SAAS", // required
81
+ * authType: "BASIC" || "OAUTH2_CLIENT_CREDENTIALS", // required
82
+ * credentialsSecretArn: "STRING_VALUE", // required
83
+ * },
84
+ * crawlerConfiguration: { // ConfluenceCrawlerConfiguration
85
+ * filterConfiguration: { // CrawlFilterConfiguration
86
+ * type: "PATTERN", // required
87
+ * patternObjectFilter: { // PatternObjectFilterConfiguration
88
+ * filters: [ // PatternObjectFilterList // required
89
+ * { // PatternObjectFilter
90
+ * objectType: "STRING_VALUE", // required
91
+ * inclusionFilters: [
92
+ * "STRING_VALUE",
93
+ * ],
94
+ * exclusionFilters: [
95
+ * "STRING_VALUE",
96
+ * ],
97
+ * },
98
+ * ],
99
+ * },
100
+ * },
101
+ * },
102
+ * },
103
+ * salesforceConfiguration: { // SalesforceDataSourceConfiguration
104
+ * sourceConfiguration: { // SalesforceSourceConfiguration
105
+ * hostUrl: "STRING_VALUE", // required
106
+ * authType: "OAUTH2_CLIENT_CREDENTIALS", // required
107
+ * credentialsSecretArn: "STRING_VALUE", // required
108
+ * },
109
+ * crawlerConfiguration: { // SalesforceCrawlerConfiguration
110
+ * filterConfiguration: {
111
+ * type: "PATTERN", // required
112
+ * patternObjectFilter: {
113
+ * filters: [ // required
114
+ * {
115
+ * objectType: "STRING_VALUE", // required
116
+ * inclusionFilters: [
117
+ * "STRING_VALUE",
118
+ * ],
119
+ * exclusionFilters: "<FilterList>",
120
+ * },
121
+ * ],
122
+ * },
123
+ * },
124
+ * },
125
+ * },
126
+ * sharePointConfiguration: { // SharePointDataSourceConfiguration
127
+ * sourceConfiguration: { // SharePointSourceConfiguration
128
+ * tenantId: "STRING_VALUE",
129
+ * domain: "STRING_VALUE", // required
130
+ * siteUrls: [ // SharePointSiteUrls // required
131
+ * "STRING_VALUE",
132
+ * ],
133
+ * hostType: "ONLINE", // required
134
+ * authType: "OAUTH2_CLIENT_CREDENTIALS", // required
135
+ * credentialsSecretArn: "STRING_VALUE", // required
136
+ * },
137
+ * crawlerConfiguration: { // SharePointCrawlerConfiguration
138
+ * filterConfiguration: {
139
+ * type: "PATTERN", // required
140
+ * patternObjectFilter: {
141
+ * filters: [ // required
142
+ * {
143
+ * objectType: "STRING_VALUE", // required
144
+ * inclusionFilters: "<FilterList>",
145
+ * exclusionFilters: "<FilterList>",
146
+ * },
147
+ * ],
148
+ * },
149
+ * },
150
+ * },
151
+ * },
54
152
  * },
55
153
  * dataDeletionPolicy: "RETAIN" || "DELETE",
56
154
  * serverSideEncryptionConfiguration: { // ServerSideEncryptionConfiguration
@@ -58,11 +156,50 @@ declare const UpdateDataSourceCommand_base: {
58
156
  * },
59
157
  * vectorIngestionConfiguration: { // VectorIngestionConfiguration
60
158
  * chunkingConfiguration: { // ChunkingConfiguration
61
- * chunkingStrategy: "FIXED_SIZE" || "NONE", // required
159
+ * chunkingStrategy: "FIXED_SIZE" || "NONE" || "HIERARCHICAL" || "SEMANTIC", // required
62
160
  * fixedSizeChunkingConfiguration: { // FixedSizeChunkingConfiguration
63
161
  * maxTokens: Number("int"), // required
64
162
  * overlapPercentage: Number("int"), // required
65
163
  * },
164
+ * hierarchicalChunkingConfiguration: { // HierarchicalChunkingConfiguration
165
+ * levelConfigurations: [ // HierarchicalChunkingLevelConfigurations // required
166
+ * { // HierarchicalChunkingLevelConfiguration
167
+ * maxTokens: Number("int"), // required
168
+ * },
169
+ * ],
170
+ * overlapTokens: Number("int"), // required
171
+ * },
172
+ * semanticChunkingConfiguration: { // SemanticChunkingConfiguration
173
+ * maxTokens: Number("int"), // required
174
+ * bufferSize: Number("int"), // required
175
+ * breakpointPercentileThreshold: Number("int"), // required
176
+ * },
177
+ * },
178
+ * customTransformationConfiguration: { // CustomTransformationConfiguration
179
+ * intermediateStorage: { // IntermediateStorage
180
+ * s3Location: { // S3Location
181
+ * uri: "STRING_VALUE", // required
182
+ * },
183
+ * },
184
+ * transformations: [ // Transformations // required
185
+ * { // Transformation
186
+ * transformationFunction: { // TransformationFunction
187
+ * transformationLambdaConfiguration: { // TransformationLambdaConfiguration
188
+ * lambdaArn: "STRING_VALUE", // required
189
+ * },
190
+ * },
191
+ * stepToApply: "POST_CHUNKING", // required
192
+ * },
193
+ * ],
194
+ * },
195
+ * parsingConfiguration: { // ParsingConfiguration
196
+ * parsingStrategy: "BEDROCK_FOUNDATION_MODEL", // required
197
+ * bedrockFoundationModelConfiguration: { // BedrockFoundationModelConfiguration
198
+ * modelArn: "STRING_VALUE", // required
199
+ * parsingPrompt: { // ParsingPrompt
200
+ * parsingPromptText: "STRING_VALUE", // required
201
+ * },
202
+ * },
66
203
  * },
67
204
  * },
68
205
  * };
@@ -76,7 +213,7 @@ declare const UpdateDataSourceCommand_base: {
76
213
  * // status: "AVAILABLE" || "DELETING" || "DELETE_UNSUCCESSFUL", // required
77
214
  * // description: "STRING_VALUE",
78
215
  * // dataSourceConfiguration: { // DataSourceConfiguration
79
- * // type: "S3", // required
216
+ * // type: "S3" || "WEB" || "CONFLUENCE" || "SALESFORCE" || "SHAREPOINT", // required
80
217
  * // s3Configuration: { // S3DataSourceConfiguration
81
218
  * // bucketArn: "STRING_VALUE", // required
82
219
  * // inclusionPrefixes: [ // S3Prefixes
@@ -84,17 +221,154 @@ declare const UpdateDataSourceCommand_base: {
84
221
  * // ],
85
222
  * // bucketOwnerAccountId: "STRING_VALUE",
86
223
  * // },
224
+ * // webConfiguration: { // WebDataSourceConfiguration
225
+ * // sourceConfiguration: { // WebSourceConfiguration
226
+ * // urlConfiguration: { // UrlConfiguration
227
+ * // seedUrls: [ // SeedUrls
228
+ * // { // SeedUrl
229
+ * // url: "STRING_VALUE",
230
+ * // },
231
+ * // ],
232
+ * // },
233
+ * // },
234
+ * // crawlerConfiguration: { // WebCrawlerConfiguration
235
+ * // crawlerLimits: { // WebCrawlerLimits
236
+ * // rateLimit: Number("int"),
237
+ * // },
238
+ * // inclusionFilters: [ // FilterList
239
+ * // "STRING_VALUE",
240
+ * // ],
241
+ * // exclusionFilters: [
242
+ * // "STRING_VALUE",
243
+ * // ],
244
+ * // scope: "HOST_ONLY" || "SUBDOMAINS",
245
+ * // },
246
+ * // },
247
+ * // confluenceConfiguration: { // ConfluenceDataSourceConfiguration
248
+ * // sourceConfiguration: { // ConfluenceSourceConfiguration
249
+ * // hostUrl: "STRING_VALUE", // required
250
+ * // hostType: "SAAS", // required
251
+ * // authType: "BASIC" || "OAUTH2_CLIENT_CREDENTIALS", // required
252
+ * // credentialsSecretArn: "STRING_VALUE", // required
253
+ * // },
254
+ * // crawlerConfiguration: { // ConfluenceCrawlerConfiguration
255
+ * // filterConfiguration: { // CrawlFilterConfiguration
256
+ * // type: "PATTERN", // required
257
+ * // patternObjectFilter: { // PatternObjectFilterConfiguration
258
+ * // filters: [ // PatternObjectFilterList // required
259
+ * // { // PatternObjectFilter
260
+ * // objectType: "STRING_VALUE", // required
261
+ * // inclusionFilters: [
262
+ * // "STRING_VALUE",
263
+ * // ],
264
+ * // exclusionFilters: [
265
+ * // "STRING_VALUE",
266
+ * // ],
267
+ * // },
268
+ * // ],
269
+ * // },
270
+ * // },
271
+ * // },
272
+ * // },
273
+ * // salesforceConfiguration: { // SalesforceDataSourceConfiguration
274
+ * // sourceConfiguration: { // SalesforceSourceConfiguration
275
+ * // hostUrl: "STRING_VALUE", // required
276
+ * // authType: "OAUTH2_CLIENT_CREDENTIALS", // required
277
+ * // credentialsSecretArn: "STRING_VALUE", // required
278
+ * // },
279
+ * // crawlerConfiguration: { // SalesforceCrawlerConfiguration
280
+ * // filterConfiguration: {
281
+ * // type: "PATTERN", // required
282
+ * // patternObjectFilter: {
283
+ * // filters: [ // required
284
+ * // {
285
+ * // objectType: "STRING_VALUE", // required
286
+ * // inclusionFilters: [
287
+ * // "STRING_VALUE",
288
+ * // ],
289
+ * // exclusionFilters: "<FilterList>",
290
+ * // },
291
+ * // ],
292
+ * // },
293
+ * // },
294
+ * // },
295
+ * // },
296
+ * // sharePointConfiguration: { // SharePointDataSourceConfiguration
297
+ * // sourceConfiguration: { // SharePointSourceConfiguration
298
+ * // tenantId: "STRING_VALUE",
299
+ * // domain: "STRING_VALUE", // required
300
+ * // siteUrls: [ // SharePointSiteUrls // required
301
+ * // "STRING_VALUE",
302
+ * // ],
303
+ * // hostType: "ONLINE", // required
304
+ * // authType: "OAUTH2_CLIENT_CREDENTIALS", // required
305
+ * // credentialsSecretArn: "STRING_VALUE", // required
306
+ * // },
307
+ * // crawlerConfiguration: { // SharePointCrawlerConfiguration
308
+ * // filterConfiguration: {
309
+ * // type: "PATTERN", // required
310
+ * // patternObjectFilter: {
311
+ * // filters: [ // required
312
+ * // {
313
+ * // objectType: "STRING_VALUE", // required
314
+ * // inclusionFilters: "<FilterList>",
315
+ * // exclusionFilters: "<FilterList>",
316
+ * // },
317
+ * // ],
318
+ * // },
319
+ * // },
320
+ * // },
321
+ * // },
87
322
  * // },
88
323
  * // serverSideEncryptionConfiguration: { // ServerSideEncryptionConfiguration
89
324
  * // kmsKeyArn: "STRING_VALUE",
90
325
  * // },
91
326
  * // vectorIngestionConfiguration: { // VectorIngestionConfiguration
92
327
  * // chunkingConfiguration: { // ChunkingConfiguration
93
- * // chunkingStrategy: "FIXED_SIZE" || "NONE", // required
328
+ * // chunkingStrategy: "FIXED_SIZE" || "NONE" || "HIERARCHICAL" || "SEMANTIC", // required
94
329
  * // fixedSizeChunkingConfiguration: { // FixedSizeChunkingConfiguration
95
330
  * // maxTokens: Number("int"), // required
96
331
  * // overlapPercentage: Number("int"), // required
97
332
  * // },
333
+ * // hierarchicalChunkingConfiguration: { // HierarchicalChunkingConfiguration
334
+ * // levelConfigurations: [ // HierarchicalChunkingLevelConfigurations // required
335
+ * // { // HierarchicalChunkingLevelConfiguration
336
+ * // maxTokens: Number("int"), // required
337
+ * // },
338
+ * // ],
339
+ * // overlapTokens: Number("int"), // required
340
+ * // },
341
+ * // semanticChunkingConfiguration: { // SemanticChunkingConfiguration
342
+ * // maxTokens: Number("int"), // required
343
+ * // bufferSize: Number("int"), // required
344
+ * // breakpointPercentileThreshold: Number("int"), // required
345
+ * // },
346
+ * // },
347
+ * // customTransformationConfiguration: { // CustomTransformationConfiguration
348
+ * // intermediateStorage: { // IntermediateStorage
349
+ * // s3Location: { // S3Location
350
+ * // uri: "STRING_VALUE", // required
351
+ * // },
352
+ * // },
353
+ * // transformations: [ // Transformations // required
354
+ * // { // Transformation
355
+ * // transformationFunction: { // TransformationFunction
356
+ * // transformationLambdaConfiguration: { // TransformationLambdaConfiguration
357
+ * // lambdaArn: "STRING_VALUE", // required
358
+ * // },
359
+ * // },
360
+ * // stepToApply: "POST_CHUNKING", // required
361
+ * // },
362
+ * // ],
363
+ * // },
364
+ * // parsingConfiguration: { // ParsingConfiguration
365
+ * // parsingStrategy: "BEDROCK_FOUNDATION_MODEL", // required
366
+ * // bedrockFoundationModelConfiguration: { // BedrockFoundationModelConfiguration
367
+ * // modelArn: "STRING_VALUE", // required
368
+ * // parsingPrompt: { // ParsingPrompt
369
+ * // parsingPromptText: "STRING_VALUE", // required
370
+ * // },
371
+ * // },
98
372
  * // },
99
373
  * // },
100
374
  * // dataDeletionPolicy: "RETAIN" || "DELETE",
@@ -0,0 +1,100 @@
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 { UpdateFlowAliasRequest, UpdateFlowAliasResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateFlowAliasCommand}.
14
+ */
15
+ export interface UpdateFlowAliasCommandInput extends UpdateFlowAliasRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateFlowAliasCommand}.
21
+ */
22
+ export interface UpdateFlowAliasCommandOutput extends UpdateFlowAliasResponse, __MetadataBearer {
23
+ }
24
+ declare const UpdateFlowAliasCommand_base: {
25
+ new (input: UpdateFlowAliasCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateFlowAliasCommandInput, UpdateFlowAliasCommandOutput, BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: UpdateFlowAliasCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateFlowAliasCommandInput, UpdateFlowAliasCommandOutput, BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Modifies the alias of a flow. Include both fields that you want to keep and ones that you want to change. 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, UpdateFlowAliasCommand } from "@aws-sdk/client-bedrock-agent"; // ES Modules import
35
+ * // const { BedrockAgentClient, UpdateFlowAliasCommand } = require("@aws-sdk/client-bedrock-agent"); // CommonJS import
36
+ * const client = new BedrockAgentClient(config);
37
+ * const input = { // UpdateFlowAliasRequest
38
+ * name: "STRING_VALUE", // required
39
+ * description: "STRING_VALUE",
40
+ * routingConfiguration: [ // FlowAliasRoutingConfiguration // required
41
+ * { // FlowAliasRoutingConfigurationListItem
42
+ * flowVersion: "STRING_VALUE",
43
+ * },
44
+ * ],
45
+ * flowIdentifier: "STRING_VALUE", // required
46
+ * aliasIdentifier: "STRING_VALUE", // required
47
+ * };
48
+ * const command = new UpdateFlowAliasCommand(input);
49
+ * const response = await client.send(command);
50
+ * // { // UpdateFlowAliasResponse
51
+ * // name: "STRING_VALUE", // required
52
+ * // description: "STRING_VALUE",
53
+ * // routingConfiguration: [ // FlowAliasRoutingConfiguration // required
54
+ * // { // FlowAliasRoutingConfigurationListItem
55
+ * // flowVersion: "STRING_VALUE",
56
+ * // },
57
+ * // ],
58
+ * // flowId: "STRING_VALUE", // required
59
+ * // id: "STRING_VALUE", // required
60
+ * // arn: "STRING_VALUE", // required
61
+ * // createdAt: new Date("TIMESTAMP"), // required
62
+ * // updatedAt: new Date("TIMESTAMP"), // required
63
+ * // };
64
+ *
65
+ * ```
66
+ *
67
+ * @param UpdateFlowAliasCommandInput - {@link UpdateFlowAliasCommandInput}
68
+ * @returns {@link UpdateFlowAliasCommandOutput}
69
+ * @see {@link UpdateFlowAliasCommandInput} for command's `input` shape.
70
+ * @see {@link UpdateFlowAliasCommandOutput} for command's `response` shape.
71
+ * @see {@link BedrockAgentClientResolvedConfig | config} for BedrockAgentClient's `config` shape.
72
+ *
73
+ * @throws {@link AccessDeniedException} (client fault)
74
+ * <p>The request is denied because of missing access permissions.</p>
75
+ *
76
+ * @throws {@link ConflictException} (client fault)
77
+ * <p>There was a conflict performing an operation.</p>
78
+ *
79
+ * @throws {@link InternalServerException} (server fault)
80
+ * <p>An internal server error occurred. Retry your request.</p>
81
+ *
82
+ * @throws {@link ResourceNotFoundException} (client fault)
83
+ * <p>The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.</p>
84
+ *
85
+ * @throws {@link ServiceQuotaExceededException} (client fault)
86
+ * <p>The number of requests exceeds the service quota. Resubmit your request later.</p>
87
+ *
88
+ * @throws {@link ThrottlingException} (client fault)
89
+ * <p>The number of requests exceeds the limit. Resubmit your request later.</p>
90
+ *
91
+ * @throws {@link ValidationException} (client fault)
92
+ * <p>Input validation failed. Check your request parameters and retry the request.</p>
93
+ *
94
+ * @throws {@link BedrockAgentServiceException}
95
+ * <p>Base exception class for all service exceptions from BedrockAgent service.</p>
96
+ *
97
+ * @public
98
+ */
99
+ export declare class UpdateFlowAliasCommand extends UpdateFlowAliasCommand_base {
100
+ }