aws-sdk-bedrockagentcorecontrol 1.47.0 → 1.48.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.
@@ -71,6 +71,78 @@ module Aws::BedrockAgentCoreControl
71
71
  class Unknown < Action; end
72
72
  end
73
73
 
74
+ # @!attribute [rw] dataset_id
75
+ # The unique identifier of the dataset to add examples to.
76
+ # @return [String]
77
+ #
78
+ # @!attribute [rw] client_token
79
+ # A unique, case-sensitive identifier to ensure that the API request
80
+ # completes no more than one time. If you don't specify this field, a
81
+ # value is randomly generated for you. If this token matches a
82
+ # previous request, the service ignores the request, but doesn't
83
+ # return an error. For more information, see [Ensuring
84
+ # idempotency][1].
85
+ #
86
+ # **A suitable default value is auto-generated.** You should normally
87
+ # not need to pass this option.
88
+ #
89
+ #
90
+ #
91
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
92
+ # @return [String]
93
+ #
94
+ # @!attribute [rw] source
95
+ # Source of examples to add. Provide either inline examples or an S3
96
+ # URI pointing to a JSONL file.
97
+ # @return [Types::DataSourceType]
98
+ #
99
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/AddDatasetExamplesRequest AWS API Documentation
100
+ #
101
+ class AddDatasetExamplesRequest < Struct.new(
102
+ :dataset_id,
103
+ :client_token,
104
+ :source)
105
+ SENSITIVE = []
106
+ include Aws::Structure
107
+ end
108
+
109
+ # @!attribute [rw] dataset_arn
110
+ # The Amazon Resource Name (ARN) of the dataset.
111
+ # @return [String]
112
+ #
113
+ # @!attribute [rw] dataset_id
114
+ # The unique identifier of the dataset.
115
+ # @return [String]
116
+ #
117
+ # @!attribute [rw] status
118
+ # The current status of the dataset.
119
+ # @return [String]
120
+ #
121
+ # @!attribute [rw] added_count
122
+ # The number of examples added.
123
+ # @return [Integer]
124
+ #
125
+ # @!attribute [rw] updated_at
126
+ # The timestamp when the examples were added.
127
+ # @return [Time]
128
+ #
129
+ # @!attribute [rw] example_ids
130
+ # IDs of all added examples (auto-generated UUIDs).
131
+ # @return [Array<String>]
132
+ #
133
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/AddDatasetExamplesResponse AWS API Documentation
134
+ #
135
+ class AddDatasetExamplesResponse < Struct.new(
136
+ :dataset_arn,
137
+ :dataset_id,
138
+ :status,
139
+ :added_count,
140
+ :updated_at,
141
+ :example_ids)
142
+ SENSITIVE = []
143
+ include Aws::Structure
144
+ end
145
+
74
146
  # The agent card definition for an A2A descriptor. Contains the schema
75
147
  # version and inline content for the agent card.
76
148
  #
@@ -2010,6 +2082,144 @@ module Aws::BedrockAgentCoreControl
2010
2082
  include Aws::Structure
2011
2083
  end
2012
2084
 
2085
+ # @!attribute [rw] client_token
2086
+ # Optional idempotency token.
2087
+ #
2088
+ # **A suitable default value is auto-generated.** You should normally
2089
+ # not need to pass this option.
2090
+ # @return [String]
2091
+ #
2092
+ # @!attribute [rw] dataset_name
2093
+ # Human-readable name for the dataset. Unique within the account
2094
+ # (case-insensitive). Immutable after creation.
2095
+ # @return [String]
2096
+ #
2097
+ # @!attribute [rw] description
2098
+ # A description of the dataset.
2099
+ # @return [String]
2100
+ #
2101
+ # @!attribute [rw] source
2102
+ # Source of initial examples. Provide either inline examples or an S3
2103
+ # URI pointing to a JSONL file.
2104
+ # @return [Types::DataSourceType]
2105
+ #
2106
+ # @!attribute [rw] schema_type
2107
+ # Versioned schema type governing the structure of examples. Immutable
2108
+ # after creation.
2109
+ # @return [String]
2110
+ #
2111
+ # @!attribute [rw] kms_key_arn
2112
+ # Optional AWS KMS key ARN for SSE-KMS on service S3 writes.
2113
+ # @return [String]
2114
+ #
2115
+ # @!attribute [rw] tags
2116
+ # A map of tag keys and values to assign to the dataset.
2117
+ # @return [Hash<String,String>]
2118
+ #
2119
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/CreateDatasetRequest AWS API Documentation
2120
+ #
2121
+ class CreateDatasetRequest < Struct.new(
2122
+ :client_token,
2123
+ :dataset_name,
2124
+ :description,
2125
+ :source,
2126
+ :schema_type,
2127
+ :kms_key_arn,
2128
+ :tags)
2129
+ SENSITIVE = []
2130
+ include Aws::Structure
2131
+ end
2132
+
2133
+ # @!attribute [rw] dataset_arn
2134
+ # The Amazon Resource Name (ARN) of the created dataset.
2135
+ # @return [String]
2136
+ #
2137
+ # @!attribute [rw] dataset_id
2138
+ # The unique identifier of the created dataset.
2139
+ # @return [String]
2140
+ #
2141
+ # @!attribute [rw] status
2142
+ # Always CREATING immediately after this call. Poll GetDataset until
2143
+ # status == ACTIVE (draftStatus=MODIFIED) or CREATE\_FAILED.
2144
+ # @return [String]
2145
+ #
2146
+ # @!attribute [rw] created_at
2147
+ # The timestamp when the dataset was created.
2148
+ # @return [Time]
2149
+ #
2150
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/CreateDatasetResponse AWS API Documentation
2151
+ #
2152
+ class CreateDatasetResponse < Struct.new(
2153
+ :dataset_arn,
2154
+ :dataset_id,
2155
+ :status,
2156
+ :created_at)
2157
+ SENSITIVE = []
2158
+ include Aws::Structure
2159
+ end
2160
+
2161
+ # @!attribute [rw] dataset_id
2162
+ # The unique identifier of the dataset to publish a version for.
2163
+ # @return [String]
2164
+ #
2165
+ # @!attribute [rw] client_token
2166
+ # A unique, case-sensitive identifier to ensure that the API request
2167
+ # completes no more than one time. If you don't specify this field, a
2168
+ # value is randomly generated for you. If this token matches a
2169
+ # previous request, the service ignores the request, but doesn't
2170
+ # return an error. For more information, see [Ensuring
2171
+ # idempotency][1].
2172
+ #
2173
+ # **A suitable default value is auto-generated.** You should normally
2174
+ # not need to pass this option.
2175
+ #
2176
+ #
2177
+ #
2178
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
2179
+ # @return [String]
2180
+ #
2181
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/CreateDatasetVersionRequest AWS API Documentation
2182
+ #
2183
+ class CreateDatasetVersionRequest < Struct.new(
2184
+ :dataset_id,
2185
+ :client_token)
2186
+ SENSITIVE = []
2187
+ include Aws::Structure
2188
+ end
2189
+
2190
+ # @!attribute [rw] dataset_arn
2191
+ # The Amazon Resource Name (ARN) of the dataset.
2192
+ # @return [String]
2193
+ #
2194
+ # @!attribute [rw] dataset_id
2195
+ # The unique identifier of the dataset.
2196
+ # @return [String]
2197
+ #
2198
+ # @!attribute [rw] status
2199
+ # Always UPDATING immediately after this call. Poll GetDataset until
2200
+ # status == ACTIVE (draftStatus=UNMODIFIED) or UPDATE\_FAILED.
2201
+ # @return [String]
2202
+ #
2203
+ # @!attribute [rw] dataset_version
2204
+ # The version being created.
2205
+ # @return [String]
2206
+ #
2207
+ # @!attribute [rw] created_at
2208
+ # The timestamp when the version creation was initiated.
2209
+ # @return [Time]
2210
+ #
2211
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/CreateDatasetVersionResponse AWS API Documentation
2212
+ #
2213
+ class CreateDatasetVersionResponse < Struct.new(
2214
+ :dataset_arn,
2215
+ :dataset_id,
2216
+ :status,
2217
+ :dataset_version,
2218
+ :created_at)
2219
+ SENSITIVE = []
2220
+ include Aws::Structure
2221
+ end
2222
+
2013
2223
  # @!attribute [rw] client_token
2014
2224
  # A unique, case-sensitive identifier to ensure that the API request
2015
2225
  # completes no more than one time. If you don't specify this field, a
@@ -4359,6 +4569,134 @@ module Aws::BedrockAgentCoreControl
4359
4569
  class Unknown < DataSourceConfig; end
4360
4570
  end
4361
4571
 
4572
+ # Source of examples to add to the dataset.
4573
+ #
4574
+ # @note DataSourceType is a union - when making an API calls you must set exactly one of the members.
4575
+ #
4576
+ # @!attribute [rw] inline_examples
4577
+ # Inline examples provided directly in the request body.
4578
+ # @return [Types::InlineExamplesSource]
4579
+ #
4580
+ # @!attribute [rw] s3_source
4581
+ # S3 URI pointing to a JSONL file in the customer's bucket. The
4582
+ # service reads this file using the caller's FAS credentials.
4583
+ # @return [Types::S3Source]
4584
+ #
4585
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/DataSourceType AWS API Documentation
4586
+ #
4587
+ class DataSourceType < Struct.new(
4588
+ :inline_examples,
4589
+ :s3_source,
4590
+ :unknown)
4591
+ SENSITIVE = []
4592
+ include Aws::Structure
4593
+ include Aws::Structure::Union
4594
+
4595
+ class InlineExamples < DataSourceType; end
4596
+ class S3Source < DataSourceType; end
4597
+ class Unknown < DataSourceType; end
4598
+ end
4599
+
4600
+ # Summary information about a dataset.
4601
+ #
4602
+ # @!attribute [rw] dataset_arn
4603
+ # The Amazon Resource Name (ARN) of the dataset.
4604
+ # @return [String]
4605
+ #
4606
+ # @!attribute [rw] dataset_id
4607
+ # The unique identifier of the dataset.
4608
+ # @return [String]
4609
+ #
4610
+ # @!attribute [rw] dataset_name
4611
+ # The name of the dataset.
4612
+ # @return [String]
4613
+ #
4614
+ # @!attribute [rw] description
4615
+ # The description of the dataset.
4616
+ # @return [String]
4617
+ #
4618
+ # @!attribute [rw] status
4619
+ # The current status of the dataset.
4620
+ # @return [String]
4621
+ #
4622
+ # @!attribute [rw] draft_status
4623
+ # Publish synchronization state. Only authoritative when status ==
4624
+ # ACTIVE.
4625
+ # @return [String]
4626
+ #
4627
+ # @!attribute [rw] schema_type
4628
+ # The schema type of the dataset.
4629
+ # @return [String]
4630
+ #
4631
+ # @!attribute [rw] example_count
4632
+ # The number of examples in the dataset.
4633
+ # @return [Integer]
4634
+ #
4635
+ # @!attribute [rw] created_at
4636
+ # The timestamp when the dataset was created.
4637
+ # @return [Time]
4638
+ #
4639
+ # @!attribute [rw] updated_at
4640
+ # The timestamp when the dataset was last updated.
4641
+ # @return [Time]
4642
+ #
4643
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/DatasetSummary AWS API Documentation
4644
+ #
4645
+ class DatasetSummary < Struct.new(
4646
+ :dataset_arn,
4647
+ :dataset_id,
4648
+ :dataset_name,
4649
+ :description,
4650
+ :status,
4651
+ :draft_status,
4652
+ :schema_type,
4653
+ :example_count,
4654
+ :created_at,
4655
+ :updated_at)
4656
+ SENSITIVE = []
4657
+ include Aws::Structure
4658
+ end
4659
+
4660
+ # Summary information about a published dataset version.
4661
+ #
4662
+ # @!attribute [rw] dataset_version
4663
+ # Dataset version identifier. Accepts "DRAFT" or a non-negative
4664
+ # integer string.
4665
+ #
4666
+ # "DRAFT" refers to the single mutable working copy of the dataset.
4667
+ #
4668
+ # * Always present after CreateDataset ingestion completes.
4669
+ # * Content changes in-place when examples are added, updated, or
4670
+ # deleted.
4671
+ # * NOT tracked as a DDB DatasetVersionItem — state lives in S3
4672
+ # (draft/manifest.json, draft/dataset.jsonl) and the
4673
+ # DatasetItem.exampleCount field.
4674
+ # * Default for read operations when ?datasetVersion is absent.
4675
+ #
4676
+ # An integer string (e.g. "1", "2", "3") refers to a published,
4677
+ # immutable snapshot created by CreateDatasetVersion. Once created, a
4678
+ # published version's content never changes. Stored as a DDB
4679
+ # DatasetVersionItem (SK=VERSION#\{zero-padded-N}).
4680
+ # @return [String]
4681
+ #
4682
+ # @!attribute [rw] example_count
4683
+ # The number of examples in this version.
4684
+ # @return [Integer]
4685
+ #
4686
+ # @!attribute [rw] created_at
4687
+ # The timestamp when this version was published.
4688
+ # @return [Time]
4689
+ #
4690
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/DatasetVersionSummary AWS API Documentation
4691
+ #
4692
+ class DatasetVersionSummary < Struct.new(
4693
+ :dataset_version,
4694
+ :example_count,
4695
+ :created_at)
4696
+ SENSITIVE = []
4697
+ include Aws::Structure
4698
+ end
4699
+
4362
4700
  # Exception thrown when decryption of a secret fails.
4363
4701
  #
4364
4702
  # @!attribute [rw] message
@@ -4634,14 +4972,131 @@ module Aws::BedrockAgentCoreControl
4634
4972
  # @return [String]
4635
4973
  #
4636
4974
  # @!attribute [rw] status
4637
- # The status of the configuration bundle deletion operation.
4975
+ # The status of the configuration bundle deletion operation.
4976
+ # @return [String]
4977
+ #
4978
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/DeleteConfigurationBundleResponse AWS API Documentation
4979
+ #
4980
+ class DeleteConfigurationBundleResponse < Struct.new(
4981
+ :bundle_id,
4982
+ :status)
4983
+ SENSITIVE = []
4984
+ include Aws::Structure
4985
+ end
4986
+
4987
+ # @!attribute [rw] dataset_id
4988
+ # The unique identifier of the dataset.
4989
+ # @return [String]
4990
+ #
4991
+ # @!attribute [rw] client_token
4992
+ # A unique, case-sensitive identifier to ensure that the API request
4993
+ # completes no more than one time. If you don't specify this field, a
4994
+ # value is randomly generated for you. If this token matches a
4995
+ # previous request, the service ignores the request, but doesn't
4996
+ # return an error. For more information, see [Ensuring
4997
+ # idempotency][1].
4998
+ #
4999
+ # **A suitable default value is auto-generated.** You should normally
5000
+ # not need to pass this option.
5001
+ #
5002
+ #
5003
+ #
5004
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
5005
+ # @return [String]
5006
+ #
5007
+ # @!attribute [rw] example_ids
5008
+ # The IDs of the examples to delete.
5009
+ # @return [Array<String>]
5010
+ #
5011
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/DeleteDatasetExamplesRequest AWS API Documentation
5012
+ #
5013
+ class DeleteDatasetExamplesRequest < Struct.new(
5014
+ :dataset_id,
5015
+ :client_token,
5016
+ :example_ids)
5017
+ SENSITIVE = []
5018
+ include Aws::Structure
5019
+ end
5020
+
5021
+ # @!attribute [rw] dataset_arn
5022
+ # The Amazon Resource Name (ARN) of the dataset.
5023
+ # @return [String]
5024
+ #
5025
+ # @!attribute [rw] dataset_id
5026
+ # The unique identifier of the dataset.
5027
+ # @return [String]
5028
+ #
5029
+ # @!attribute [rw] status
5030
+ # The current status of the dataset.
5031
+ # @return [String]
5032
+ #
5033
+ # @!attribute [rw] deleted_count
5034
+ # The number of examples deleted.
5035
+ # @return [Integer]
5036
+ #
5037
+ # @!attribute [rw] updated_at
5038
+ # The timestamp when the examples were deleted.
5039
+ # @return [Time]
5040
+ #
5041
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/DeleteDatasetExamplesResponse AWS API Documentation
5042
+ #
5043
+ class DeleteDatasetExamplesResponse < Struct.new(
5044
+ :dataset_arn,
5045
+ :dataset_id,
5046
+ :status,
5047
+ :deleted_count,
5048
+ :updated_at)
5049
+ SENSITIVE = []
5050
+ include Aws::Structure
5051
+ end
5052
+
5053
+ # @!attribute [rw] dataset_id
5054
+ # The unique identifier of the dataset to delete.
5055
+ # @return [String]
5056
+ #
5057
+ # @!attribute [rw] dataset_version
5058
+ # Optional version to delete. Use "DRAFT" or omit to delete the draft.
5059
+ # Returns ResourceNotFoundException if the specified version does not
5060
+ # exist.
5061
+ # @return [String]
5062
+ #
5063
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/DeleteDatasetRequest AWS API Documentation
5064
+ #
5065
+ class DeleteDatasetRequest < Struct.new(
5066
+ :dataset_id,
5067
+ :dataset_version)
5068
+ SENSITIVE = []
5069
+ include Aws::Structure
5070
+ end
5071
+
5072
+ # @!attribute [rw] dataset_arn
5073
+ # The Amazon Resource Name (ARN) of the dataset.
5074
+ # @return [String]
5075
+ #
5076
+ # @!attribute [rw] dataset_id
5077
+ # The unique identifier of the dataset.
5078
+ # @return [String]
5079
+ #
5080
+ # @!attribute [rw] status
5081
+ # The current status of the dataset after the delete request.
4638
5082
  # @return [String]
4639
5083
  #
4640
- # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/DeleteConfigurationBundleResponse AWS API Documentation
5084
+ # @!attribute [rw] dataset_version
5085
+ # The version deleted.
5086
+ # @return [String]
4641
5087
  #
4642
- class DeleteConfigurationBundleResponse < Struct.new(
4643
- :bundle_id,
4644
- :status)
5088
+ # @!attribute [rw] updated_at
5089
+ # The timestamp when the delete was initiated.
5090
+ # @return [Time]
5091
+ #
5092
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/DeleteDatasetResponse AWS API Documentation
5093
+ #
5094
+ class DeleteDatasetResponse < Struct.new(
5095
+ :dataset_arn,
5096
+ :dataset_id,
5097
+ :status,
5098
+ :dataset_version,
5099
+ :updated_at)
4645
5100
  SENSITIVE = []
4646
5101
  include Aws::Structure
4647
5102
  end
@@ -6955,6 +7410,120 @@ module Aws::BedrockAgentCoreControl
6955
7410
  include Aws::Structure
6956
7411
  end
6957
7412
 
7413
+ # @!attribute [rw] dataset_id
7414
+ # The unique identifier of the dataset to retrieve.
7415
+ # @return [String]
7416
+ #
7417
+ # @!attribute [rw] dataset_version
7418
+ # Version to retrieve: "DRAFT" or a version number. Defaults to DRAFT
7419
+ # if absent.
7420
+ # @return [String]
7421
+ #
7422
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/GetDatasetRequest AWS API Documentation
7423
+ #
7424
+ class GetDatasetRequest < Struct.new(
7425
+ :dataset_id,
7426
+ :dataset_version)
7427
+ SENSITIVE = []
7428
+ include Aws::Structure
7429
+ end
7430
+
7431
+ # @!attribute [rw] dataset_arn
7432
+ # The Amazon Resource Name (ARN) of the dataset.
7433
+ # @return [String]
7434
+ #
7435
+ # @!attribute [rw] dataset_id
7436
+ # The unique identifier of the dataset.
7437
+ # @return [String]
7438
+ #
7439
+ # @!attribute [rw] dataset_version
7440
+ # The resolved version: "DRAFT" (default) or the requested version
7441
+ # number.
7442
+ # @return [String]
7443
+ #
7444
+ # @!attribute [rw] dataset_name
7445
+ # The name of the dataset.
7446
+ # @return [String]
7447
+ #
7448
+ # @!attribute [rw] description
7449
+ # The description of the dataset.
7450
+ # @return [String]
7451
+ #
7452
+ # @!attribute [rw] status
7453
+ # The current status of the dataset.
7454
+ # @return [String]
7455
+ #
7456
+ # @!attribute [rw] draft_status
7457
+ # Publish synchronization state. Only authoritative when status ==
7458
+ # ACTIVE. MODIFIED — DRAFT has unpublished changes (or no published
7459
+ # versions yet). UNMODIFIED — DRAFT matches the latest published
7460
+ # version exactly.
7461
+ # @return [String]
7462
+ #
7463
+ # @!attribute [rw] failure_reason
7464
+ # Populated when status is CREATE\_FAILED, UPDATE\_FAILED, or
7465
+ # DELETE\_FAILED.
7466
+ # @return [String]
7467
+ #
7468
+ # @!attribute [rw] schema_type
7469
+ # The schema type declared at create time. Immutable after creation.
7470
+ # @return [String]
7471
+ #
7472
+ # @!attribute [rw] kms_key_arn
7473
+ # AWS KMS key ARN used for SSE-KMS on service S3 writes, if
7474
+ # configured.
7475
+ # @return [String]
7476
+ #
7477
+ # @!attribute [rw] example_count
7478
+ # Example count for DRAFT.
7479
+ # @return [Integer]
7480
+ #
7481
+ # @!attribute [rw] download_url
7482
+ # Presigned S3 URL to download the consolidated dataset.jsonl file for
7483
+ # the resolved version (DRAFT or published). TTL: 5 minutes. Omitted
7484
+ # if the file does not yet exist (e.g. during CREATING) or on presign
7485
+ # failure.
7486
+ # @return [String]
7487
+ #
7488
+ # @!attribute [rw] download_url_expires_at
7489
+ # Expiry timestamp for downloadUrl.
7490
+ # @return [Time]
7491
+ #
7492
+ # @!attribute [rw] created_at
7493
+ # The timestamp when the dataset was created.
7494
+ # @return [Time]
7495
+ #
7496
+ # @!attribute [rw] updated_at
7497
+ # The timestamp when the dataset was last updated.
7498
+ # @return [Time]
7499
+ #
7500
+ # @!attribute [rw] tags
7501
+ # The tags associated with the dataset.
7502
+ # @return [Hash<String,String>]
7503
+ #
7504
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/GetDatasetResponse AWS API Documentation
7505
+ #
7506
+ class GetDatasetResponse < Struct.new(
7507
+ :dataset_arn,
7508
+ :dataset_id,
7509
+ :dataset_version,
7510
+ :dataset_name,
7511
+ :description,
7512
+ :status,
7513
+ :draft_status,
7514
+ :failure_reason,
7515
+ :schema_type,
7516
+ :kms_key_arn,
7517
+ :example_count,
7518
+ :download_url,
7519
+ :download_url_expires_at,
7520
+ :created_at,
7521
+ :updated_at,
7522
+ :tags)
7523
+ SENSITIVE = [:download_url]
7524
+ include Aws::Structure
7525
+ end
7526
+
6958
7527
  # @!attribute [rw] evaluator_id
6959
7528
  # The unique identifier of the evaluator to retrieve. Can be a
6960
7529
  # built-in evaluator ID (e.g., Builtin.Helpfulness) or a custom
@@ -9662,6 +10231,20 @@ module Aws::BedrockAgentCoreControl
9662
10231
  include Aws::Structure
9663
10232
  end
9664
10233
 
10234
+ # Inline examples provided directly in the request body.
10235
+ #
10236
+ # @!attribute [rw] examples
10237
+ # Examples to add. Each example is assigned an auto-generated UUID.
10238
+ # @return [Array<Hash,Array,String,Numeric,Boolean>]
10239
+ #
10240
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/InlineExamplesSource AWS API Documentation
10241
+ #
10242
+ class InlineExamplesSource < Struct.new(
10243
+ :examples)
10244
+ SENSITIVE = [:examples]
10245
+ include Aws::Structure
10246
+ end
10247
+
9665
10248
  # The interceptor configuration.
9666
10249
  #
9667
10250
  # @note InterceptorConfiguration is a union - when making an API calls you must set exactly one of the members.
@@ -10265,6 +10848,149 @@ module Aws::BedrockAgentCoreControl
10265
10848
  include Aws::Structure
10266
10849
  end
10267
10850
 
10851
+ # @!attribute [rw] dataset_id
10852
+ # The unique identifier of the dataset.
10853
+ # @return [String]
10854
+ #
10855
+ # @!attribute [rw] dataset_version
10856
+ # Version to paginate: "DRAFT" or a version number. Defaults to DRAFT
10857
+ # if absent. Only used on the first request (when nextToken is
10858
+ # absent). For subsequent pages, the version is extracted from the
10859
+ # nextToken and this parameter is ignored.
10860
+ # @return [String]
10861
+ #
10862
+ # @!attribute [rw] max_results
10863
+ # Maximum number of examples to return per page. Default: 1000. Min:
10864
+ # 1, max: 1000. Response size is validated against 5 MB limit after
10865
+ # reading. For bulk access to all examples, use the `downloadUrl`
10866
+ # field from GetDataset.
10867
+ # @return [Integer]
10868
+ #
10869
+ # @!attribute [rw] next_token
10870
+ # The token for the next page of results.
10871
+ # @return [String]
10872
+ #
10873
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/ListDatasetExamplesRequest AWS API Documentation
10874
+ #
10875
+ class ListDatasetExamplesRequest < Struct.new(
10876
+ :dataset_id,
10877
+ :dataset_version,
10878
+ :max_results,
10879
+ :next_token)
10880
+ SENSITIVE = []
10881
+ include Aws::Structure
10882
+ end
10883
+
10884
+ # @!attribute [rw] dataset_arn
10885
+ # The Amazon Resource Name (ARN) of the dataset.
10886
+ # @return [String]
10887
+ #
10888
+ # @!attribute [rw] dataset_id
10889
+ # The unique identifier of the dataset.
10890
+ # @return [String]
10891
+ #
10892
+ # @!attribute [rw] dataset_version
10893
+ # The version returned.
10894
+ # @return [String]
10895
+ #
10896
+ # @!attribute [rw] examples
10897
+ # Paginated example content. Each element is a JSON object containing
10898
+ # at least an `exampleId` field plus the schema-specific content
10899
+ # fields.
10900
+ # @return [Array<Hash,Array,String,Numeric,Boolean>]
10901
+ #
10902
+ # @!attribute [rw] next_token
10903
+ # The token for the next page of results, or null if there are no more
10904
+ # results.
10905
+ # @return [String]
10906
+ #
10907
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/ListDatasetExamplesResponse AWS API Documentation
10908
+ #
10909
+ class ListDatasetExamplesResponse < Struct.new(
10910
+ :dataset_arn,
10911
+ :dataset_id,
10912
+ :dataset_version,
10913
+ :examples,
10914
+ :next_token)
10915
+ SENSITIVE = [:examples]
10916
+ include Aws::Structure
10917
+ end
10918
+
10919
+ # @!attribute [rw] dataset_id
10920
+ # The unique identifier of the dataset.
10921
+ # @return [String]
10922
+ #
10923
+ # @!attribute [rw] next_token
10924
+ # The token for the next page of results.
10925
+ # @return [String]
10926
+ #
10927
+ # @!attribute [rw] max_results
10928
+ # The maximum number of versions to return per page.
10929
+ # @return [Integer]
10930
+ #
10931
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/ListDatasetVersionsRequest AWS API Documentation
10932
+ #
10933
+ class ListDatasetVersionsRequest < Struct.new(
10934
+ :dataset_id,
10935
+ :next_token,
10936
+ :max_results)
10937
+ SENSITIVE = []
10938
+ include Aws::Structure
10939
+ end
10940
+
10941
+ # @!attribute [rw] versions
10942
+ # The list of published dataset versions.
10943
+ # @return [Array<Types::DatasetVersionSummary>]
10944
+ #
10945
+ # @!attribute [rw] next_token
10946
+ # The token for the next page of results, or null if there are no more
10947
+ # results.
10948
+ # @return [String]
10949
+ #
10950
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/ListDatasetVersionsResponse AWS API Documentation
10951
+ #
10952
+ class ListDatasetVersionsResponse < Struct.new(
10953
+ :versions,
10954
+ :next_token)
10955
+ SENSITIVE = []
10956
+ include Aws::Structure
10957
+ end
10958
+
10959
+ # @!attribute [rw] next_token
10960
+ # The token for the next page of results.
10961
+ # @return [String]
10962
+ #
10963
+ # @!attribute [rw] max_results
10964
+ # The maximum number of datasets to return per page.
10965
+ # @return [Integer]
10966
+ #
10967
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/ListDatasetsRequest AWS API Documentation
10968
+ #
10969
+ class ListDatasetsRequest < Struct.new(
10970
+ :next_token,
10971
+ :max_results)
10972
+ SENSITIVE = []
10973
+ include Aws::Structure
10974
+ end
10975
+
10976
+ # @!attribute [rw] datasets
10977
+ # The list of datasets.
10978
+ # @return [Array<Types::DatasetSummary>]
10979
+ #
10980
+ # @!attribute [rw] next_token
10981
+ # The token for the next page of results, or null if there are no more
10982
+ # results.
10983
+ # @return [String]
10984
+ #
10985
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/ListDatasetsResponse AWS API Documentation
10986
+ #
10987
+ class ListDatasetsResponse < Struct.new(
10988
+ :datasets,
10989
+ :next_token)
10990
+ SENSITIVE = []
10991
+ include Aws::Structure
10992
+ end
10993
+
10268
10994
  # @!attribute [rw] next_token
10269
10995
  # The pagination token from a previous request to retrieve the next
10270
10996
  # page of results.
@@ -14148,6 +14874,21 @@ module Aws::BedrockAgentCoreControl
14148
14874
  include Aws::Structure
14149
14875
  end
14150
14876
 
14877
+ # S3 location of a JSONL file containing dataset examples.
14878
+ #
14879
+ # @!attribute [rw] s3_uri
14880
+ # S3 URI of the JSONL file (e.g.
14881
+ # s3://my-bucket/path/to/examples.jsonl).
14882
+ # @return [String]
14883
+ #
14884
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/S3Source AWS API Documentation
14885
+ #
14886
+ class S3Source < Struct.new(
14887
+ :s3_uri)
14888
+ SENSITIVE = []
14889
+ include Aws::Structure
14890
+ end
14891
+
14151
14892
  # Input configuration for a Salesforce OAuth2 provider.
14152
14893
  #
14153
14894
  # @!attribute [rw] client_id
@@ -16034,6 +16775,133 @@ module Aws::BedrockAgentCoreControl
16034
16775
  include Aws::Structure
16035
16776
  end
16036
16777
 
16778
+ # @!attribute [rw] dataset_id
16779
+ # The unique identifier of the dataset.
16780
+ # @return [String]
16781
+ #
16782
+ # @!attribute [rw] client_token
16783
+ # A unique, case-sensitive identifier to ensure that the API request
16784
+ # completes no more than one time. If you don't specify this field, a
16785
+ # value is randomly generated for you. If this token matches a
16786
+ # previous request, the service ignores the request, but doesn't
16787
+ # return an error. For more information, see [Ensuring
16788
+ # idempotency][1].
16789
+ #
16790
+ # **A suitable default value is auto-generated.** You should normally
16791
+ # not need to pass this option.
16792
+ #
16793
+ #
16794
+ #
16795
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
16796
+ # @return [String]
16797
+ #
16798
+ # @!attribute [rw] examples
16799
+ # Examples to update. Each element is a JSON object containing a
16800
+ # required `exampleId` string field identifying the existing example,
16801
+ # plus the replacement fields. The `exampleId` is extracted and
16802
+ # removed before persistence; the remaining document is validated
16803
+ # against the dataset's schemaType. Max 1000 examples per call. Total
16804
+ # request body must not exceed 5 MB.
16805
+ # @return [Array<Hash,Array,String,Numeric,Boolean>]
16806
+ #
16807
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/UpdateDatasetExamplesRequest AWS API Documentation
16808
+ #
16809
+ class UpdateDatasetExamplesRequest < Struct.new(
16810
+ :dataset_id,
16811
+ :client_token,
16812
+ :examples)
16813
+ SENSITIVE = [:examples]
16814
+ include Aws::Structure
16815
+ end
16816
+
16817
+ # @!attribute [rw] dataset_arn
16818
+ # The Amazon Resource Name (ARN) of the dataset.
16819
+ # @return [String]
16820
+ #
16821
+ # @!attribute [rw] dataset_id
16822
+ # The unique identifier of the dataset.
16823
+ # @return [String]
16824
+ #
16825
+ # @!attribute [rw] status
16826
+ # The current status of the dataset.
16827
+ # @return [String]
16828
+ #
16829
+ # @!attribute [rw] updated_count
16830
+ # The number of examples updated.
16831
+ # @return [Integer]
16832
+ #
16833
+ # @!attribute [rw] updated_at
16834
+ # The timestamp when the examples were updated.
16835
+ # @return [Time]
16836
+ #
16837
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/UpdateDatasetExamplesResponse AWS API Documentation
16838
+ #
16839
+ class UpdateDatasetExamplesResponse < Struct.new(
16840
+ :dataset_arn,
16841
+ :dataset_id,
16842
+ :status,
16843
+ :updated_count,
16844
+ :updated_at)
16845
+ SENSITIVE = []
16846
+ include Aws::Structure
16847
+ end
16848
+
16849
+ # @!attribute [rw] dataset_id
16850
+ # The unique identifier of the dataset to update.
16851
+ # @return [String]
16852
+ #
16853
+ # @!attribute [rw] client_token
16854
+ # A unique, case-sensitive identifier to ensure that the API request
16855
+ # completes no more than one time. If you don't specify this field, a
16856
+ # value is randomly generated for you. If this token matches a
16857
+ # previous request, the service ignores the request, but doesn't
16858
+ # return an error. For more information, see [Ensuring
16859
+ # idempotency][1].
16860
+ #
16861
+ # **A suitable default value is auto-generated.** You should normally
16862
+ # not need to pass this option.
16863
+ #
16864
+ #
16865
+ #
16866
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
16867
+ # @return [String]
16868
+ #
16869
+ # @!attribute [rw] description
16870
+ # The updated description for the dataset.
16871
+ # @return [String]
16872
+ #
16873
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/UpdateDatasetRequest AWS API Documentation
16874
+ #
16875
+ class UpdateDatasetRequest < Struct.new(
16876
+ :dataset_id,
16877
+ :client_token,
16878
+ :description)
16879
+ SENSITIVE = []
16880
+ include Aws::Structure
16881
+ end
16882
+
16883
+ # @!attribute [rw] dataset_arn
16884
+ # The Amazon Resource Name (ARN) of the updated dataset.
16885
+ # @return [String]
16886
+ #
16887
+ # @!attribute [rw] dataset_id
16888
+ # The unique identifier of the updated dataset.
16889
+ # @return [String]
16890
+ #
16891
+ # @!attribute [rw] updated_at
16892
+ # The timestamp when the dataset was updated.
16893
+ # @return [Time]
16894
+ #
16895
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/UpdateDatasetResponse AWS API Documentation
16896
+ #
16897
+ class UpdateDatasetResponse < Struct.new(
16898
+ :dataset_arn,
16899
+ :dataset_id,
16900
+ :updated_at)
16901
+ SENSITIVE = []
16902
+ include Aws::Structure
16903
+ end
16904
+
16037
16905
  # @!attribute [rw] client_token
16038
16906
  # A unique, case-sensitive identifier to ensure that the API request
16039
16907
  # completes no more than one time. If you don't specify this field, a