@aws-sdk/client-bedrock-agent 3.658.1 → 3.664.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 (33) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/index.js +45 -1
  3. package/dist-cjs/runtimeConfig.js +1 -0
  4. package/dist-es/BedrockAgent.js +2 -0
  5. package/dist-es/commands/StopIngestionJobCommand.js +22 -0
  6. package/dist-es/commands/index.js +1 -0
  7. package/dist-es/models/models_0.js +2 -0
  8. package/dist-es/protocols/Aws_restJson1.js +25 -0
  9. package/dist-es/runtimeConfig.js +2 -1
  10. package/dist-types/BedrockAgent.d.ts +7 -0
  11. package/dist-types/BedrockAgentClient.d.ts +3 -2
  12. package/dist-types/commands/CreateKnowledgeBaseCommand.d.ts +1 -1
  13. package/dist-types/commands/GetIngestionJobCommand.d.ts +2 -2
  14. package/dist-types/commands/ListIngestionJobsCommand.d.ts +2 -2
  15. package/dist-types/commands/ListKnowledgeBasesCommand.d.ts +1 -1
  16. package/dist-types/commands/StartIngestionJobCommand.d.ts +2 -2
  17. package/dist-types/commands/StopIngestionJobCommand.d.ts +111 -0
  18. package/dist-types/commands/index.d.ts +1 -0
  19. package/dist-types/models/models_0.d.ts +83 -49
  20. package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
  21. package/dist-types/runtimeConfig.browser.d.ts +2 -1
  22. package/dist-types/runtimeConfig.d.ts +2 -1
  23. package/dist-types/runtimeConfig.native.d.ts +2 -1
  24. package/dist-types/ts3.4/BedrockAgent.d.ts +17 -0
  25. package/dist-types/ts3.4/BedrockAgentClient.d.ts +6 -0
  26. package/dist-types/ts3.4/commands/StopIngestionJobCommand.d.ts +50 -0
  27. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  28. package/dist-types/ts3.4/models/models_0.d.ts +10 -0
  29. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
  30. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +7 -3
  31. package/dist-types/ts3.4/runtimeConfig.d.ts +6 -3
  32. package/dist-types/ts3.4/runtimeConfig.native.d.ts +7 -3
  33. package/package.json +35 -35
@@ -3067,7 +3067,7 @@ export interface DeleteDataSourceResponse {
3067
3067
  */
3068
3068
  export interface GetDataSourceRequest {
3069
3069
  /**
3070
- * <p>The unique identifier of the knowledge base that the data source was added to.</p>
3070
+ * <p>The unique identifier of the knowledge base for the data source.</p>
3071
3071
  * @public
3072
3072
  */
3073
3073
  knowledgeBaseId: string | undefined;
@@ -5223,23 +5223,23 @@ export interface UpdateFlowResponse {
5223
5223
  */
5224
5224
  export interface GetIngestionJobRequest {
5225
5225
  /**
5226
- * <p>The unique identifier of the knowledge base for which the ingestion job applies.</p>
5226
+ * <p>The unique identifier of the knowledge base for the data ingestion job you want to get information on.</p>
5227
5227
  * @public
5228
5228
  */
5229
5229
  knowledgeBaseId: string | undefined;
5230
5230
  /**
5231
- * <p>The unique identifier of the data source in the ingestion job.</p>
5231
+ * <p>The unique identifier of the data source for the data ingestion job you want to get information on.</p>
5232
5232
  * @public
5233
5233
  */
5234
5234
  dataSourceId: string | undefined;
5235
5235
  /**
5236
- * <p>The unique identifier of the ingestion job.</p>
5236
+ * <p>The unique identifier of the data ingestion job you want to get information on.</p>
5237
5237
  * @public
5238
5238
  */
5239
5239
  ingestionJobId: string | undefined;
5240
5240
  }
5241
5241
  /**
5242
- * <p>Contains the statistics for the ingestion job.</p>
5242
+ * <p>Contains the statistics for the data ingestion job.</p>
5243
5243
  * @public
5244
5244
  */
5245
5245
  export interface IngestionJobStatistics {
@@ -5269,7 +5269,7 @@ export interface IngestionJobStatistics {
5269
5269
  */
5270
5270
  numberOfMetadataDocumentsModified?: number;
5271
5271
  /**
5272
- * <p>The number of source documents that was deleted.</p>
5272
+ * <p>The number of source documents that were deleted.</p>
5273
5273
  * @public
5274
5274
  */
5275
5275
  numberOfDocumentsDeleted?: number;
@@ -5288,13 +5288,15 @@ export declare const IngestionJobStatus: {
5288
5288
  readonly FAILED: "FAILED";
5289
5289
  readonly IN_PROGRESS: "IN_PROGRESS";
5290
5290
  readonly STARTING: "STARTING";
5291
+ readonly STOPPED: "STOPPED";
5292
+ readonly STOPPING: "STOPPING";
5291
5293
  };
5292
5294
  /**
5293
5295
  * @public
5294
5296
  */
5295
5297
  export type IngestionJobStatus = (typeof IngestionJobStatus)[keyof typeof IngestionJobStatus];
5296
5298
  /**
5297
- * <p>Contains details about an ingestion job, which converts a data source to embeddings for a vector store in knowledge base.</p>
5299
+ * <p>Contains details about a data ingestion job. Data sources are ingested into a knowledge base so that Large Language Models (LLMs) can use your data.</p>
5298
5300
  * <p>This data type is used in the following API operations:</p>
5299
5301
  * <ul>
5300
5302
  * <li>
@@ -5317,47 +5319,49 @@ export type IngestionJobStatus = (typeof IngestionJobStatus)[keyof typeof Ingest
5317
5319
  */
5318
5320
  export interface IngestionJob {
5319
5321
  /**
5320
- * <p>The unique identifier of the knowledge base to which the data source is being added.</p>
5322
+ * <p>The unique identifier of the knowledge for the data ingestion job.</p>
5321
5323
  * @public
5322
5324
  */
5323
5325
  knowledgeBaseId: string | undefined;
5324
5326
  /**
5325
- * <p>The unique identifier of the ingested data source.</p>
5327
+ * <p>The unique identifier of the data source for the data ingestion job.</p>
5326
5328
  * @public
5327
5329
  */
5328
5330
  dataSourceId: string | undefined;
5329
5331
  /**
5330
- * <p>The unique identifier of the ingestion job.</p>
5332
+ * <p>The unique identifier of the data ingestion job.</p>
5331
5333
  * @public
5332
5334
  */
5333
5335
  ingestionJobId: string | undefined;
5334
5336
  /**
5335
- * <p>The description of the ingestion job.</p>
5337
+ * <p>The description of the data ingestion job.</p>
5336
5338
  * @public
5337
5339
  */
5338
5340
  description?: string;
5339
5341
  /**
5340
- * <p>The status of the ingestion job.</p>
5342
+ * <p>The status of the data ingestion job.</p>
5341
5343
  * @public
5342
5344
  */
5343
5345
  status: IngestionJobStatus | undefined;
5344
5346
  /**
5345
- * <p>Contains statistics about the ingestion job.</p>
5347
+ * <p>Contains statistics about the data ingestion job.</p>
5346
5348
  * @public
5347
5349
  */
5348
5350
  statistics?: IngestionJobStatistics;
5349
5351
  /**
5350
- * <p>A list of reasons that the ingestion job failed.</p>
5352
+ * <p>A list of reasons that the data ingestion job failed.</p>
5351
5353
  * @public
5352
5354
  */
5353
5355
  failureReasons?: string[];
5354
5356
  /**
5355
- * <p>The time at which the ingestion job started.</p>
5357
+ * <p>The time the data ingestion job started.</p>
5358
+ * <p>If you stop a data ingestion job, the <code>startedAt</code> time is the time the job was started before the job was stopped.</p>
5356
5359
  * @public
5357
5360
  */
5358
5361
  startedAt: Date | undefined;
5359
5362
  /**
5360
- * <p>The time at which the ingestion job was last updated.</p>
5363
+ * <p>The time the data ingestion job was last updated.</p>
5364
+ * <p>If you stop a data ingestion job, the <code>updatedAt</code> time is the time the job was stopped.</p>
5361
5365
  * @public
5362
5366
  */
5363
5367
  updatedAt: Date | undefined;
@@ -5367,7 +5371,7 @@ export interface IngestionJob {
5367
5371
  */
5368
5372
  export interface GetIngestionJobResponse {
5369
5373
  /**
5370
- * <p>Contains details about the ingestion job.</p>
5374
+ * <p>Contains details about the data ingestion job.</p>
5371
5375
  * @public
5372
5376
  */
5373
5377
  ingestionJob: IngestionJob | undefined;
@@ -5395,22 +5399,22 @@ export declare const IngestionJobFilterOperator: {
5395
5399
  */
5396
5400
  export type IngestionJobFilterOperator = (typeof IngestionJobFilterOperator)[keyof typeof IngestionJobFilterOperator];
5397
5401
  /**
5398
- * <p>Defines a filter by which to filter the results.</p>
5402
+ * <p>The definition of a filter to filter the data.</p>
5399
5403
  * @public
5400
5404
  */
5401
5405
  export interface IngestionJobFilter {
5402
5406
  /**
5403
- * <p>The attribute by which to filter the results.</p>
5407
+ * <p>The name of field or attribute to apply the filter.</p>
5404
5408
  * @public
5405
5409
  */
5406
5410
  attribute: IngestionJobFilterAttribute | undefined;
5407
5411
  /**
5408
- * <p>The operation to carry out between the attribute and the values.</p>
5412
+ * <p>The operation to apply to the field or attribute.</p>
5409
5413
  * @public
5410
5414
  */
5411
5415
  operator: IngestionJobFilterOperator | undefined;
5412
5416
  /**
5413
- * <p>A list of values for the attribute.</p>
5417
+ * <p>A list of values that belong to the field or attribute.</p>
5414
5418
  * @public
5415
5419
  */
5416
5420
  values: string[] | undefined;
@@ -5440,17 +5444,17 @@ export declare const SortOrder: {
5440
5444
  */
5441
5445
  export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
5442
5446
  /**
5443
- * <p>Parameters by which to sort the results.</p>
5447
+ * <p>The parameters of sorting the data.</p>
5444
5448
  * @public
5445
5449
  */
5446
5450
  export interface IngestionJobSortBy {
5447
5451
  /**
5448
- * <p>The attribute by which to sort the results.</p>
5452
+ * <p>The name of field or attribute to apply sorting of data.</p>
5449
5453
  * @public
5450
5454
  */
5451
5455
  attribute: IngestionJobSortByAttribute | undefined;
5452
5456
  /**
5453
- * <p>The order by which to sort the results.</p>
5457
+ * <p>The order for sorting the data.</p>
5454
5458
  * @public
5455
5459
  */
5456
5460
  order: SortOrder | undefined;
@@ -5460,22 +5464,22 @@ export interface IngestionJobSortBy {
5460
5464
  */
5461
5465
  export interface ListIngestionJobsRequest {
5462
5466
  /**
5463
- * <p>The unique identifier of the knowledge base for which to return ingestion jobs.</p>
5467
+ * <p>The unique identifier of the knowledge base for the list of data ingestion jobs.</p>
5464
5468
  * @public
5465
5469
  */
5466
5470
  knowledgeBaseId: string | undefined;
5467
5471
  /**
5468
- * <p>The unique identifier of the data source for which to return ingestion jobs.</p>
5472
+ * <p>The unique identifier of the data source for the list of data ingestion jobs.</p>
5469
5473
  * @public
5470
5474
  */
5471
5475
  dataSourceId: string | undefined;
5472
5476
  /**
5473
- * <p>Contains a definition of a filter for which to filter the results.</p>
5477
+ * <p>Contains information about the filters for filtering the data.</p>
5474
5478
  * @public
5475
5479
  */
5476
5480
  filters?: IngestionJobFilter[];
5477
5481
  /**
5478
- * <p>Contains details about how to sort the results.</p>
5482
+ * <p>Contains details about how to sort the data.</p>
5479
5483
  * @public
5480
5484
  */
5481
5485
  sortBy?: IngestionJobSortBy;
@@ -5491,47 +5495,47 @@ export interface ListIngestionJobsRequest {
5491
5495
  nextToken?: string;
5492
5496
  }
5493
5497
  /**
5494
- * <p>Contains details about an ingestion job.</p>
5498
+ * <p>Contains details about a data ingestion job.</p>
5495
5499
  * @public
5496
5500
  */
5497
5501
  export interface IngestionJobSummary {
5498
5502
  /**
5499
- * <p>The unique identifier of the knowledge base to which the data source is added.</p>
5503
+ * <p>The unique identifier of the knowledge base for the data ingestion job.</p>
5500
5504
  * @public
5501
5505
  */
5502
5506
  knowledgeBaseId: string | undefined;
5503
5507
  /**
5504
- * <p>The unique identifier of the data source in the ingestion job.</p>
5508
+ * <p>The unique identifier of the data source for the data ingestion job.</p>
5505
5509
  * @public
5506
5510
  */
5507
5511
  dataSourceId: string | undefined;
5508
5512
  /**
5509
- * <p>The unique identifier of the ingestion job.</p>
5513
+ * <p>The unique identifier of the data ingestion job.</p>
5510
5514
  * @public
5511
5515
  */
5512
5516
  ingestionJobId: string | undefined;
5513
5517
  /**
5514
- * <p>The description of the ingestion job.</p>
5518
+ * <p>The description of the data ingestion job.</p>
5515
5519
  * @public
5516
5520
  */
5517
5521
  description?: string;
5518
5522
  /**
5519
- * <p>The status of the ingestion job.</p>
5523
+ * <p>The status of the data ingestion job.</p>
5520
5524
  * @public
5521
5525
  */
5522
5526
  status: IngestionJobStatus | undefined;
5523
5527
  /**
5524
- * <p>The time at which the ingestion job was started.</p>
5528
+ * <p>The time the data ingestion job started.</p>
5525
5529
  * @public
5526
5530
  */
5527
5531
  startedAt: Date | undefined;
5528
5532
  /**
5529
- * <p>The time at which the ingestion job was last updated.</p>
5533
+ * <p>The time the data ingestion job was last updated.</p>
5530
5534
  * @public
5531
5535
  */
5532
5536
  updatedAt: Date | undefined;
5533
5537
  /**
5534
- * <p>Contains statistics for the ingestion job.</p>
5538
+ * <p>Contains statistics for the data ingestion job.</p>
5535
5539
  * @public
5536
5540
  */
5537
5541
  statistics?: IngestionJobStatistics;
@@ -5541,7 +5545,7 @@ export interface IngestionJobSummary {
5541
5545
  */
5542
5546
  export interface ListIngestionJobsResponse {
5543
5547
  /**
5544
- * <p>A list of objects, each of which contains information about an ingestion job.</p>
5548
+ * <p>A list of data ingestion jobs with information about each job.</p>
5545
5549
  * @public
5546
5550
  */
5547
5551
  ingestionJobSummaries: IngestionJobSummary[] | undefined;
@@ -5556,12 +5560,12 @@ export interface ListIngestionJobsResponse {
5556
5560
  */
5557
5561
  export interface StartIngestionJobRequest {
5558
5562
  /**
5559
- * <p>The unique identifier of the knowledge base to which to add the data source.</p>
5563
+ * <p>The unique identifier of the knowledge base for the data ingestion job.</p>
5560
5564
  * @public
5561
5565
  */
5562
5566
  knowledgeBaseId: string | undefined;
5563
5567
  /**
5564
- * <p>The unique identifier of the data source to ingest.</p>
5568
+ * <p>The unique identifier of the data source you want to ingest into your knowledge base.</p>
5565
5569
  * @public
5566
5570
  */
5567
5571
  dataSourceId: string | undefined;
@@ -5572,7 +5576,7 @@ export interface StartIngestionJobRequest {
5572
5576
  */
5573
5577
  clientToken?: string;
5574
5578
  /**
5575
- * <p>A description of the ingestion job.</p>
5579
+ * <p>A description of the data ingestion job.</p>
5576
5580
  * @public
5577
5581
  */
5578
5582
  description?: string;
@@ -5582,7 +5586,37 @@ export interface StartIngestionJobRequest {
5582
5586
  */
5583
5587
  export interface StartIngestionJobResponse {
5584
5588
  /**
5585
- * <p>An object containing information about the ingestion job.</p>
5589
+ * <p>Contains information about the data ingestion job.</p>
5590
+ * @public
5591
+ */
5592
+ ingestionJob: IngestionJob | undefined;
5593
+ }
5594
+ /**
5595
+ * @public
5596
+ */
5597
+ export interface StopIngestionJobRequest {
5598
+ /**
5599
+ * <p>The unique identifier of the knowledge base for the data ingestion job you want to stop.</p>
5600
+ * @public
5601
+ */
5602
+ knowledgeBaseId: string | undefined;
5603
+ /**
5604
+ * <p>The unique identifier of the data source for the data ingestion job you want to stop.</p>
5605
+ * @public
5606
+ */
5607
+ dataSourceId: string | undefined;
5608
+ /**
5609
+ * <p>The unique identifier of the data ingestion job you want to stop.</p>
5610
+ * @public
5611
+ */
5612
+ ingestionJobId: string | undefined;
5613
+ }
5614
+ /**
5615
+ * @public
5616
+ */
5617
+ export interface StopIngestionJobResponse {
5618
+ /**
5619
+ * <p>Contains information about the stopped data ingestion job.</p>
5586
5620
  * @public
5587
5621
  */
5588
5622
  ingestionJob: IngestionJob | undefined;
@@ -5677,7 +5711,7 @@ export interface VectorKnowledgeBaseConfiguration {
5677
5711
  embeddingModelConfiguration?: EmbeddingModelConfiguration;
5678
5712
  }
5679
5713
  /**
5680
- * <p>Contains details about the embeddings configuration of the knowledge base.</p>
5714
+ * <p>Contains details about the vector embeddings configuration of the knowledge base.</p>
5681
5715
  * @public
5682
5716
  */
5683
5717
  export interface KnowledgeBaseConfiguration {
@@ -5687,7 +5721,7 @@ export interface KnowledgeBaseConfiguration {
5687
5721
  */
5688
5722
  type: KnowledgeBaseType | undefined;
5689
5723
  /**
5690
- * <p>Contains details about the embeddings model that'sused to convert the data source.</p>
5724
+ * <p>Contains details about the model that's used to convert the data source into vector embeddings.</p>
5691
5725
  * @public
5692
5726
  */
5693
5727
  vectorKnowledgeBaseConfiguration?: VectorKnowledgeBaseConfiguration;
@@ -6113,12 +6147,12 @@ export interface KnowledgeBase {
6113
6147
  */
6114
6148
  status: KnowledgeBaseStatus | undefined;
6115
6149
  /**
6116
- * <p>The time at which the knowledge base was created.</p>
6150
+ * <p>The time the knowledge base was created.</p>
6117
6151
  * @public
6118
6152
  */
6119
6153
  createdAt: Date | undefined;
6120
6154
  /**
6121
- * <p>The time at which the knowledge base was last updated.</p>
6155
+ * <p>The time the knowledge base was last updated.</p>
6122
6156
  * @public
6123
6157
  */
6124
6158
  updatedAt: Date | undefined;
@@ -6223,7 +6257,7 @@ export interface GetAgentKnowledgeBaseResponse {
6223
6257
  */
6224
6258
  export interface GetKnowledgeBaseRequest {
6225
6259
  /**
6226
- * <p>The unique identifier of the knowledge base for which to get information.</p>
6260
+ * <p>The unique identifier of the knowledge base you want to get information on.</p>
6227
6261
  * @public
6228
6262
  */
6229
6263
  knowledgeBaseId: string | undefined;
@@ -6319,7 +6353,7 @@ export interface KnowledgeBaseSummary {
6319
6353
  */
6320
6354
  status: KnowledgeBaseStatus | undefined;
6321
6355
  /**
6322
- * <p>The time at which the knowledge base was last updated.</p>
6356
+ * <p>The time the knowledge base was last updated.</p>
6323
6357
  * @public
6324
6358
  */
6325
6359
  updatedAt: Date | undefined;
@@ -6329,7 +6363,7 @@ export interface KnowledgeBaseSummary {
6329
6363
  */
6330
6364
  export interface ListKnowledgeBasesResponse {
6331
6365
  /**
6332
- * <p>A list of objects, each of which contains information about a knowledge base.</p>
6366
+ * <p>A list of knowledge bases with information about each knowledge base.</p>
6333
6367
  * @public
6334
6368
  */
6335
6369
  knowledgeBaseSummaries: KnowledgeBaseSummary[] | undefined;
@@ -50,6 +50,7 @@ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } fro
50
50
  import { PrepareAgentCommandInput, PrepareAgentCommandOutput } from "../commands/PrepareAgentCommand";
51
51
  import { PrepareFlowCommandInput, PrepareFlowCommandOutput } from "../commands/PrepareFlowCommand";
52
52
  import { StartIngestionJobCommandInput, StartIngestionJobCommandOutput } from "../commands/StartIngestionJobCommand";
53
+ import { StopIngestionJobCommandInput, StopIngestionJobCommandOutput } from "../commands/StopIngestionJobCommand";
53
54
  import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
54
55
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
55
56
  import { UpdateAgentActionGroupCommandInput, UpdateAgentActionGroupCommandOutput } from "../commands/UpdateAgentActionGroupCommand";
@@ -261,6 +262,10 @@ export declare const se_PrepareFlowCommand: (input: PrepareFlowCommandInput, con
261
262
  * serializeAws_restJson1StartIngestionJobCommand
262
263
  */
263
264
  export declare const se_StartIngestionJobCommand: (input: StartIngestionJobCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
265
+ /**
266
+ * serializeAws_restJson1StopIngestionJobCommand
267
+ */
268
+ export declare const se_StopIngestionJobCommand: (input: StopIngestionJobCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
264
269
  /**
265
270
  * serializeAws_restJson1TagResourceCommand
266
271
  */
@@ -505,6 +510,10 @@ export declare const de_PrepareFlowCommand: (output: __HttpResponse, context: __
505
510
  * deserializeAws_restJson1StartIngestionJobCommand
506
511
  */
507
512
  export declare const de_StartIngestionJobCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartIngestionJobCommandOutput>;
513
+ /**
514
+ * deserializeAws_restJson1StopIngestionJobCommand
515
+ */
516
+ export declare const de_StopIngestionJobCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StopIngestionJobCommandOutput>;
508
517
  /**
509
518
  * deserializeAws_restJson1TagResourceCommand
510
519
  */
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: BedrockAgentClientConfig) => {
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
10
  credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
11
- defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
11
+ defaultUserAgentProvider: (config: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<any>;
14
14
  requestHandler: import("@smithy/protocol-http").HttpHandler<any> | RequestHandler;
@@ -29,6 +29,7 @@ export declare const getRuntimeConfig: (config: BedrockAgentClientConfig) => {
29
29
  logger: import("@smithy/types").Logger;
30
30
  extensions: import("./runtimeExtensions").RuntimeExtension[];
31
31
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
32
+ userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
32
33
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
33
34
  endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
34
35
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: BedrockAgentClientConfig) => {
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
10
  credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>;
11
- defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
11
+ defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<string>;
14
14
  requestHandler: RequestHandler | import("@smithy/protocol-http").HttpHandler<any>;
@@ -17,6 +17,7 @@ export declare const getRuntimeConfig: (config: BedrockAgentClientConfig) => {
17
17
  streamCollector: import("@smithy/types").StreamCollector;
18
18
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
19
19
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
+ userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
20
21
  apiVersion: string;
21
22
  cacheMiddleware?: boolean | undefined;
22
23
  urlParser: import("@smithy/types").UrlParser;
@@ -20,7 +20,7 @@ export declare const getRuntimeConfig: (config: BedrockAgentClientConfig) => {
20
20
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
21
21
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
22
22
  region: string | import("@smithy/types").Provider<any>;
23
- defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
23
+ defaultUserAgentProvider: (config: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
24
24
  credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
25
25
  maxAttempts: number | import("@smithy/types").Provider<number>;
26
26
  retryMode: string | import("@smithy/types").Provider<string>;
@@ -28,6 +28,7 @@ export declare const getRuntimeConfig: (config: BedrockAgentClientConfig) => {
28
28
  extensions: import("./runtimeExtensions").RuntimeExtension[];
29
29
  defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
30
30
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
31
+ userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
31
32
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
32
33
  endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
33
34
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
@@ -200,6 +200,10 @@ import {
200
200
  StartIngestionJobCommandInput,
201
201
  StartIngestionJobCommandOutput,
202
202
  } from "./commands/StartIngestionJobCommand";
203
+ import {
204
+ StopIngestionJobCommandInput,
205
+ StopIngestionJobCommandOutput,
206
+ } from "./commands/StopIngestionJobCommand";
203
207
  import {
204
208
  TagResourceCommandInput,
205
209
  TagResourceCommandOutput,
@@ -899,6 +903,19 @@ export interface BedrockAgent {
899
903
  options: __HttpHandlerOptions,
900
904
  cb: (err: any, data?: StartIngestionJobCommandOutput) => void
901
905
  ): void;
906
+ stopIngestionJob(
907
+ args: StopIngestionJobCommandInput,
908
+ options?: __HttpHandlerOptions
909
+ ): Promise<StopIngestionJobCommandOutput>;
910
+ stopIngestionJob(
911
+ args: StopIngestionJobCommandInput,
912
+ cb: (err: any, data?: StopIngestionJobCommandOutput) => void
913
+ ): void;
914
+ stopIngestionJob(
915
+ args: StopIngestionJobCommandInput,
916
+ options: __HttpHandlerOptions,
917
+ cb: (err: any, data?: StopIngestionJobCommandOutput) => void
918
+ ): void;
902
919
  tagResource(
903
920
  args: TagResourceCommandInput,
904
921
  options?: __HttpHandlerOptions
@@ -245,6 +245,10 @@ import {
245
245
  StartIngestionJobCommandInput,
246
246
  StartIngestionJobCommandOutput,
247
247
  } from "./commands/StartIngestionJobCommand";
248
+ import {
249
+ StopIngestionJobCommandInput,
250
+ StopIngestionJobCommandOutput,
251
+ } from "./commands/StopIngestionJobCommand";
248
252
  import {
249
253
  TagResourceCommandInput,
250
254
  TagResourceCommandOutput,
@@ -347,6 +351,7 @@ export type ServiceInputTypes =
347
351
  | PrepareAgentCommandInput
348
352
  | PrepareFlowCommandInput
349
353
  | StartIngestionJobCommandInput
354
+ | StopIngestionJobCommandInput
350
355
  | TagResourceCommandInput
351
356
  | UntagResourceCommandInput
352
357
  | UpdateAgentActionGroupCommandInput
@@ -409,6 +414,7 @@ export type ServiceOutputTypes =
409
414
  | PrepareAgentCommandOutput
410
415
  | PrepareFlowCommandOutput
411
416
  | StartIngestionJobCommandOutput
417
+ | StopIngestionJobCommandOutput
412
418
  | TagResourceCommandOutput
413
419
  | UntagResourceCommandOutput
414
420
  | UpdateAgentActionGroupCommandOutput
@@ -0,0 +1,50 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ BedrockAgentClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../BedrockAgentClient";
8
+ import {
9
+ StopIngestionJobRequest,
10
+ StopIngestionJobResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface StopIngestionJobCommandInput extends StopIngestionJobRequest {}
15
+ export interface StopIngestionJobCommandOutput
16
+ extends StopIngestionJobResponse,
17
+ __MetadataBearer {}
18
+ declare const StopIngestionJobCommand_base: {
19
+ new (
20
+ input: StopIngestionJobCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ StopIngestionJobCommandInput,
23
+ StopIngestionJobCommandOutput,
24
+ BedrockAgentClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ new (
29
+ __0_0: StopIngestionJobCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ StopIngestionJobCommandInput,
32
+ StopIngestionJobCommandOutput,
33
+ BedrockAgentClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
37
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ };
39
+ export declare class StopIngestionJobCommand extends StopIngestionJobCommand_base {
40
+ protected static __types: {
41
+ api: {
42
+ input: StopIngestionJobRequest;
43
+ output: StopIngestionJobResponse;
44
+ };
45
+ sdk: {
46
+ input: StopIngestionJobCommandInput;
47
+ output: StopIngestionJobCommandOutput;
48
+ };
49
+ };
50
+ }
@@ -48,6 +48,7 @@ export * from "./ListTagsForResourceCommand";
48
48
  export * from "./PrepareAgentCommand";
49
49
  export * from "./PrepareFlowCommand";
50
50
  export * from "./StartIngestionJobCommand";
51
+ export * from "./StopIngestionJobCommand";
51
52
  export * from "./TagResourceCommand";
52
53
  export * from "./UntagResourceCommand";
53
54
  export * from "./UpdateAgentActionGroupCommand";
@@ -1604,6 +1604,8 @@ export declare const IngestionJobStatus: {
1604
1604
  readonly FAILED: "FAILED";
1605
1605
  readonly IN_PROGRESS: "IN_PROGRESS";
1606
1606
  readonly STARTING: "STARTING";
1607
+ readonly STOPPED: "STOPPED";
1608
+ readonly STOPPING: "STOPPING";
1607
1609
  };
1608
1610
  export type IngestionJobStatus =
1609
1611
  (typeof IngestionJobStatus)[keyof typeof IngestionJobStatus];
@@ -1682,6 +1684,14 @@ export interface StartIngestionJobRequest {
1682
1684
  export interface StartIngestionJobResponse {
1683
1685
  ingestionJob: IngestionJob | undefined;
1684
1686
  }
1687
+ export interface StopIngestionJobRequest {
1688
+ knowledgeBaseId: string | undefined;
1689
+ dataSourceId: string | undefined;
1690
+ ingestionJobId: string | undefined;
1691
+ }
1692
+ export interface StopIngestionJobResponse {
1693
+ ingestionJob: IngestionJob | undefined;
1694
+ }
1685
1695
  export interface AssociateAgentKnowledgeBaseRequest {
1686
1696
  agentId: string | undefined;
1687
1697
  agentVersion: string | undefined;
@@ -203,6 +203,10 @@ import {
203
203
  StartIngestionJobCommandInput,
204
204
  StartIngestionJobCommandOutput,
205
205
  } from "../commands/StartIngestionJobCommand";
206
+ import {
207
+ StopIngestionJobCommandInput,
208
+ StopIngestionJobCommandOutput,
209
+ } from "../commands/StopIngestionJobCommand";
206
210
  import {
207
211
  TagResourceCommandInput,
208
212
  TagResourceCommandOutput,
@@ -447,6 +451,10 @@ export declare const se_StartIngestionJobCommand: (
447
451
  input: StartIngestionJobCommandInput,
448
452
  context: __SerdeContext
449
453
  ) => Promise<__HttpRequest>;
454
+ export declare const se_StopIngestionJobCommand: (
455
+ input: StopIngestionJobCommandInput,
456
+ context: __SerdeContext
457
+ ) => Promise<__HttpRequest>;
450
458
  export declare const se_TagResourceCommand: (
451
459
  input: TagResourceCommandInput,
452
460
  context: __SerdeContext
@@ -691,6 +699,10 @@ export declare const de_StartIngestionJobCommand: (
691
699
  output: __HttpResponse,
692
700
  context: __SerdeContext
693
701
  ) => Promise<StartIngestionJobCommandOutput>;
702
+ export declare const de_StopIngestionJobCommand: (
703
+ output: __HttpResponse,
704
+ context: __SerdeContext
705
+ ) => Promise<StopIngestionJobCommandOutput>;
694
706
  export declare const de_TagResourceCommand: (
695
707
  output: __HttpResponse,
696
708
  context: __SerdeContext