@aws-sdk/client-bedrock-agentcore 3.1170.0 → 3.1172.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 (63) hide show
  1. package/README.md +49 -0
  2. package/dist-cjs/index.js +701 -60
  3. package/dist-es/BedrockAgentCore.js +18 -0
  4. package/dist-es/commands/DeleteDatasetGenerationCommand.js +4 -0
  5. package/dist-es/commands/GetAgentInsightCommand.js +4 -0
  6. package/dist-es/commands/GetDatasetGenerationCommand.js +4 -0
  7. package/dist-es/commands/ListAgentInsightsCommand.js +4 -0
  8. package/dist-es/commands/ListDatasetGenerationsCommand.js +4 -0
  9. package/dist-es/commands/StartDatasetGenerationCommand.js +4 -0
  10. package/dist-es/commands/UpdateAgentInsightCommand.js +4 -0
  11. package/dist-es/commands/index.js +7 -0
  12. package/dist-es/models/enums.js +146 -3
  13. package/dist-es/pagination/ListAgentInsightsPaginator.js +4 -0
  14. package/dist-es/pagination/ListDatasetGenerationsPaginator.js +4 -0
  15. package/dist-es/pagination/index.js +2 -0
  16. package/dist-es/schemas/schemas_0.js +456 -56
  17. package/dist-types/BedrockAgentCore.d.ts +64 -0
  18. package/dist-types/BedrockAgentCoreClient.d.ts +9 -2
  19. package/dist-types/commands/BatchCreateMemoryRecordsCommand.d.ts +1 -1
  20. package/dist-types/commands/BatchDeleteMemoryRecordsCommand.d.ts +1 -1
  21. package/dist-types/commands/BatchUpdateMemoryRecordsCommand.d.ts +1 -2
  22. package/dist-types/commands/DeleteDatasetGenerationCommand.d.ts +94 -0
  23. package/dist-types/commands/GetAgentInsightCommand.d.ts +136 -0
  24. package/dist-types/commands/GetBatchEvaluationCommand.d.ts +13 -0
  25. package/dist-types/commands/GetDatasetGenerationCommand.d.ts +220 -0
  26. package/dist-types/commands/InvokeHarnessCommand.d.ts +1 -1
  27. package/dist-types/commands/InvokeWebSearchCommand.d.ts +1 -1
  28. package/dist-types/commands/ListAgentInsightsCommand.d.ts +103 -0
  29. package/dist-types/commands/ListDatasetGenerationsCommand.d.ts +103 -0
  30. package/dist-types/commands/StartBatchEvaluationCommand.d.ts +12 -0
  31. package/dist-types/commands/StartDatasetGenerationCommand.d.ts +202 -0
  32. package/dist-types/commands/UpdateAgentInsightCommand.d.ts +93 -0
  33. package/dist-types/commands/index.d.ts +7 -0
  34. package/dist-types/models/enums.d.ts +256 -7
  35. package/dist-types/models/models_0.d.ts +2398 -2632
  36. package/dist-types/models/models_1.d.ts +1588 -2
  37. package/dist-types/pagination/ListAgentInsightsPaginator.d.ts +7 -0
  38. package/dist-types/pagination/ListDatasetGenerationsPaginator.d.ts +7 -0
  39. package/dist-types/pagination/index.d.ts +2 -0
  40. package/dist-types/schemas/schemas_0.d.ts +55 -0
  41. package/dist-types/ts3.4/BedrockAgentCore.d.ts +134 -0
  42. package/dist-types/ts3.4/BedrockAgentCoreClient.d.ts +42 -0
  43. package/dist-types/ts3.4/commands/BatchCreateMemoryRecordsCommand.d.ts +1 -1
  44. package/dist-types/ts3.4/commands/BatchDeleteMemoryRecordsCommand.d.ts +1 -1
  45. package/dist-types/ts3.4/commands/BatchUpdateMemoryRecordsCommand.d.ts +1 -2
  46. package/dist-types/ts3.4/commands/DeleteDatasetGenerationCommand.d.ts +42 -0
  47. package/dist-types/ts3.4/commands/GetAgentInsightCommand.d.ts +38 -0
  48. package/dist-types/ts3.4/commands/GetDatasetGenerationCommand.d.ts +39 -0
  49. package/dist-types/ts3.4/commands/InvokeHarnessCommand.d.ts +1 -1
  50. package/dist-types/ts3.4/commands/InvokeWebSearchCommand.d.ts +1 -1
  51. package/dist-types/ts3.4/commands/ListAgentInsightsCommand.d.ts +39 -0
  52. package/dist-types/ts3.4/commands/ListDatasetGenerationsCommand.d.ts +39 -0
  53. package/dist-types/ts3.4/commands/StartDatasetGenerationCommand.d.ts +39 -0
  54. package/dist-types/ts3.4/commands/UpdateAgentInsightCommand.d.ts +39 -0
  55. package/dist-types/ts3.4/commands/index.d.ts +7 -0
  56. package/dist-types/ts3.4/models/enums.d.ts +159 -4
  57. package/dist-types/ts3.4/models/models_0.d.ts +458 -756
  58. package/dist-types/ts3.4/models/models_1.d.ts +747 -3
  59. package/dist-types/ts3.4/pagination/ListAgentInsightsPaginator.d.ts +11 -0
  60. package/dist-types/ts3.4/pagination/ListDatasetGenerationsPaginator.d.ts +11 -0
  61. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  62. package/dist-types/ts3.4/schemas/schemas_0.d.ts +55 -0
  63. package/package.json +1 -1
@@ -0,0 +1,202 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { StartDatasetGenerationRequest, StartDatasetGenerationResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link StartDatasetGenerationCommand}.
11
+ */
12
+ export interface StartDatasetGenerationCommandInput extends StartDatasetGenerationRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link StartDatasetGenerationCommand}.
18
+ */
19
+ export interface StartDatasetGenerationCommandOutput extends StartDatasetGenerationResponse, __MetadataBearer {
20
+ }
21
+ declare const StartDatasetGenerationCommand_base: {
22
+ new (input: StartDatasetGenerationCommandInput): import("@smithy/core/client").CommandImpl<StartDatasetGenerationCommandInput, StartDatasetGenerationCommandOutput, import("..").BedrockAgentCoreClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: StartDatasetGenerationCommandInput): import("@smithy/core/client").CommandImpl<StartDatasetGenerationCommandInput, StartDatasetGenerationCommandOutput, import("..").BedrockAgentCoreClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Starts a dataset generation, which creates examples for an existing dataset from your agent's traces. The dataset must be <code>ACTIVE</code>. Each generation produces one scenario type, set by <code>scenarioType</code>. When the generation finishes, AgentCore adds the examples to the dataset's draft. Examples that duplicate each other, or that duplicate examples already in the draft, are left out.</p> <p>A dataset can have only one generation in progress at a time. While it runs, requests that change the dataset's draft or publish a version are rejected with a <code>ConflictException</code>.</p> <p>AgentCore reads the traces with your credentials, so you need read access to the trace log groups, and to the dataset's KMS key if the dataset uses a customer managed key. The draft can hold at most 1,000 examples, including the examples this generation can add (<code>maxScenarios</code>).</p> <p>The operation returns immediately. To track progress, call <code>GetDatasetGeneration</code>.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { BedrockAgentCoreClient, StartDatasetGenerationCommand } from "@aws-sdk/client-bedrock-agentcore"; // ES Modules import
32
+ * // const { BedrockAgentCoreClient, StartDatasetGenerationCommand } = require("@aws-sdk/client-bedrock-agentcore"); // CommonJS import
33
+ * // import type { BedrockAgentCoreClientConfig } from "@aws-sdk/client-bedrock-agentcore";
34
+ * const config = {}; // type is BedrockAgentCoreClientConfig
35
+ * const client = new BedrockAgentCoreClient(config);
36
+ * const input = { // StartDatasetGenerationRequest
37
+ * datasetId: "STRING_VALUE", // required
38
+ * name: "STRING_VALUE", // required
39
+ * description: "STRING_VALUE",
40
+ * scenarioType: "FIXED" || "DYNAMIC",
41
+ * source: { // GenerationSource Union: only one key present
42
+ * traceGeneration: { // TraceGenerationSource
43
+ * sourceConfig: { // TraceSourceConfig Union: only one key present
44
+ * cloudWatchLogs: { // CloudWatchLogsSourceConfig
45
+ * logGroupNames: [ // CloudWatchLogsSourceConfigLogGroupNamesList
46
+ * "STRING_VALUE",
47
+ * ],
48
+ * logGroupNamePrefixes: [ // CloudWatchLogsSourceConfigLogGroupNamePrefixesList
49
+ * "STRING_VALUE",
50
+ * ],
51
+ * serviceNames: [ // ServiceNameList // required
52
+ * "STRING_VALUE",
53
+ * ],
54
+ * startTime: new Date("TIMESTAMP"),
55
+ * endTime: new Date("TIMESTAMP"),
56
+ * },
57
+ * onlineEvaluation: { // OnlineEvaluationSourceConfig
58
+ * onlineEvaluationConfigArn: "STRING_VALUE", // required
59
+ * startTime: new Date("TIMESTAMP"),
60
+ * endTime: new Date("TIMESTAMP"),
61
+ * },
62
+ * batchEvaluation: { // BatchEvaluationSourceConfig
63
+ * batchEvaluationArn: "STRING_VALUE", // required
64
+ * },
65
+ * },
66
+ * selection: { // GenerationSelection Union: only one key present
67
+ * filters: { // GenerationFilters
68
+ * attributeFilters: [ // GenerationAttributeFilterList
69
+ * { // GenerationAttributeFilter
70
+ * key: "STRING_VALUE", // required
71
+ * operator: "Equals" || "NotEquals" || "GreaterThan" || "LessThan" || "GreaterThanOrEqual" || "LessThanOrEqual" || "Contains" || "NotContains", // required
72
+ * value: { // GenerationFilterValue Union: only one key present
73
+ * stringValue: "STRING_VALUE",
74
+ * doubleValue: Number("double"),
75
+ * booleanValue: true || false,
76
+ * },
77
+ * },
78
+ * ],
79
+ * turnCount: { // TurnCountRange
80
+ * min: Number("int"),
81
+ * max: Number("int"),
82
+ * },
83
+ * evaluatorFilters: [ // EvaluatorFilterList
84
+ * { // EvaluatorFilter
85
+ * evaluatorId: "STRING_VALUE", // required
86
+ * evaluationDimensionName: "STRING_VALUE",
87
+ * operator: "Equals" || "NotEquals" || "GreaterThan" || "LessThan" || "GreaterThanOrEqual" || "LessThanOrEqual" || "Contains" || "NotContains", // required
88
+ * value: {// Union: only one key present
89
+ * stringValue: "STRING_VALUE",
90
+ * doubleValue: Number("double"),
91
+ * booleanValue: true || false,
92
+ * },
93
+ * aggregation: "Min" || "Max" || "Mean" || "AllMatch" || "AnyMatch",
94
+ * },
95
+ * ],
96
+ * },
97
+ * identifiers: { // GenerationIdentifiers
98
+ * sessionIds: [ // GenerationSessionIdList
99
+ * "STRING_VALUE",
100
+ * ],
101
+ * traceIds: [ // GenerationTraceIdList
102
+ * "STRING_VALUE",
103
+ * ],
104
+ * },
105
+ * },
106
+ * sampling: { // GenerationSamplingConfig
107
+ * maxScenarios: Number("int"),
108
+ * },
109
+ * groundTruth: { // GroundTruthConfig
110
+ * fields: [ // GroundTruthFieldList // required
111
+ * "expected_response" || "expected_trajectory",
112
+ * ],
113
+ * qualityFilters: [
114
+ * {
115
+ * evaluatorId: "STRING_VALUE", // required
116
+ * evaluationDimensionName: "STRING_VALUE",
117
+ * operator: "Equals" || "NotEquals" || "GreaterThan" || "LessThan" || "GreaterThanOrEqual" || "LessThanOrEqual" || "Contains" || "NotContains", // required
118
+ * value: {// Union: only one key present
119
+ * stringValue: "STRING_VALUE",
120
+ * doubleValue: Number("double"),
121
+ * booleanValue: true || false,
122
+ * },
123
+ * aggregation: "Min" || "Max" || "Mean" || "AllMatch" || "AnyMatch",
124
+ * },
125
+ * ],
126
+ * },
127
+ * redactionConfiguration: { // RedactionConfiguration
128
+ * identifiers: [ // RedactionIdentifierList
129
+ * "ADDRESS" || "AWS_SECRET_KEY" || "BANK_ACCOUNT_NUMBER_DE" || "BANK_ACCOUNT_NUMBER_ES" || "BANK_ACCOUNT_NUMBER_FR" || "BANK_ACCOUNT_NUMBER_GB" || "BANK_ACCOUNT_NUMBER_IT" || "BANK_ACCOUNT_NUMBER_US" || "CEP_CODE_BR" || "CNPJ_BR" || "CPF_CODE_BR" || "CREDIT_CARD_EXPIRATION" || "CREDIT_CARD_MAGNETIC_STRIPE" || "CREDIT_CARD_NUMBER" || "CREDIT_CARD_SECURITY_CODE" || "DATE_OF_BIRTH" || "DRIVERS_LICENSE_AT" || "DRIVERS_LICENSE_AU" || "DRIVERS_LICENSE_BE" || "DRIVERS_LICENSE_BG" || "DRIVERS_LICENSE_CA" || "DRIVERS_LICENSE_CY" || "DRIVERS_LICENSE_CZ" || "DRIVERS_LICENSE_DE" || "DRIVERS_LICENSE_DK" || "DRIVERS_LICENSE_EE" || "DRIVERS_LICENSE_ES" || "DRIVERS_LICENSE_FI" || "DRIVERS_LICENSE_FR" || "DRIVERS_LICENSE_GB" || "DRIVERS_LICENSE_GR" || "DRIVERS_LICENSE_HR" || "DRIVERS_LICENSE_HU" || "DRIVERS_LICENSE_IE" || "DRIVERS_LICENSE_IT" || "DRIVERS_LICENSE_LT" || "DRIVERS_LICENSE_LU" || "DRIVERS_LICENSE_LV" || "DRIVERS_LICENSE_MT" || "DRIVERS_LICENSE_NL" || "DRIVERS_LICENSE_PL" || "DRIVERS_LICENSE_PT" || "DRIVERS_LICENSE_RO" || "DRIVERS_LICENSE_SE" || "DRIVERS_LICENSE_SI" || "DRIVERS_LICENSE_SK" || "DRIVERS_LICENSE_US" || "DRUG_ENFORCEMENT_AGENCY_NUMBER_US" || "ELECTORAL_ROLL_NUMBER_GB" || "EMAIL_ADDRESS" || "HEALTH_INSURANCE_CARD_NUMBER_EU" || "HEALTH_INSURANCE_CLAIM_NUMBER_US" || "HEALTH_INSURANCE_NUMBER_FR" || "HEALTHCARE_PROCEDURE_CODE_US" || "INDIVIDUAL_TAX_IDENTIFICATION_NUMBER_US" || "INSEE_CODE_FR" || "IP_ADDRESS" || "LAT_LONG" || "MEDICARE_BENEFICIARY_NUMBER_US" || "NAME" || "NATIONAL_DRUG_CODE_US" || "NATIONAL_IDENTIFICATION_NUMBER_DE" || "NATIONAL_IDENTIFICATION_NUMBER_ES" || "NATIONAL_IDENTIFICATION_NUMBER_IT" || "NATIONAL_INSURANCE_NUMBER_GB" || "NATIONAL_PROVIDER_ID_US" || "NHS_NUMBER_GB" || "NIE_NUMBER_ES" || "NIF_NUMBER_ES" || "OPEN_SSH_PRIVATE_KEY" || "PASSPORT_NUMBER_CA" || "PASSPORT_NUMBER_DE" || "PASSPORT_NUMBER_ES" || "PASSPORT_NUMBER_FR" || "PASSPORT_NUMBER_GB" || "PASSPORT_NUMBER_IT" || "PASSPORT_NUMBER_US" || "PERMANENT_RESIDENCE_NUMBER_CA" || "PERSONAL_HEALTH_NUMBER_CA" || "PGP_PRIVATE_KEY" || "PHONE_NUMBER_BR" || "PHONE_NUMBER_DE" || "PHONE_NUMBER_ES" || "PHONE_NUMBER_FR" || "PHONE_NUMBER_GB" || "PHONE_NUMBER_IT" || "PHONE_NUMBER_US" || "PKCS_PRIVATE_KEY" || "POSTAL_CODE_CA" || "PUTTY_PRIVATE_KEY" || "RG_NUMBER_BR" || "SOCIAL_INSURANCE_NUMBER_CA" || "SSN_ES" || "SSN_US" || "TAX_ID_DE" || "TAX_ID_ES" || "TAX_ID_FR" || "TAX_ID_GB" || "VEHICLE_IDENTIFICATION_NUMBER" || "ZIP_CODE_US",
130
+ * ],
131
+ * customDataIdentifiers: [ // CustomDataIdentifierList
132
+ * { // CustomDataIdentifier
133
+ * name: "STRING_VALUE", // required
134
+ * regex: "STRING_VALUE", // required
135
+ * },
136
+ * ],
137
+ * },
138
+ * },
139
+ * },
140
+ * clientToken: "STRING_VALUE",
141
+ * };
142
+ * const command = new StartDatasetGenerationCommand(input);
143
+ * const response = await client.send(command);
144
+ * // { // StartDatasetGenerationResponse
145
+ * // generationId: "STRING_VALUE", // required
146
+ * // name: "STRING_VALUE", // required
147
+ * // datasetId: "STRING_VALUE", // required
148
+ * // status: "IN_PROGRESS" || "COMPLETED" || "COMPLETED_WITH_ERRORS" || "FAILED" || "DELETING", // required
149
+ * // createdAt: new Date("TIMESTAMP"), // required
150
+ * // };
151
+ *
152
+ * ```
153
+ *
154
+ * @param StartDatasetGenerationCommandInput - {@link StartDatasetGenerationCommandInput}
155
+ * @returns {@link StartDatasetGenerationCommandOutput}
156
+ * @see {@link StartDatasetGenerationCommandInput} for command's `input` shape.
157
+ * @see {@link StartDatasetGenerationCommandOutput} for command's `response` shape.
158
+ * @see {@link BedrockAgentCoreClientResolvedConfig | config} for BedrockAgentCoreClient's `config` shape.
159
+ *
160
+ * @throws {@link AccessDeniedException} (client fault)
161
+ * <p>The exception that occurs when you do not have sufficient permissions to perform an action. Verify that your IAM policy includes the necessary permissions for the operation you are trying to perform.</p>
162
+ *
163
+ * @throws {@link ConflictException} (client fault)
164
+ * <p>The exception that occurs when the request conflicts with the current state of the resource. This can happen when trying to modify a resource that is currently being modified by another request, or when trying to create a resource that already exists.</p>
165
+ *
166
+ * @throws {@link InternalServerException} (server fault)
167
+ * <p>The exception that occurs when the service encounters an unexpected internal error. This is a temporary condition that will resolve itself with retries. We recommend implementing exponential backoff retry logic in your application.</p>
168
+ *
169
+ * @throws {@link ResourceNotFoundException} (client fault)
170
+ * <p>The exception that occurs when the specified resource does not exist. This can happen when using an invalid identifier or when trying to access a resource that has been deleted.</p>
171
+ *
172
+ * @throws {@link ServiceQuotaExceededException} (client fault)
173
+ * <p>The exception that occurs when the request would cause a service quota to be exceeded. Review your service quotas and either reduce your request rate or request a quota increase.</p>
174
+ *
175
+ * @throws {@link ThrottlingException} (client fault)
176
+ * <p>The exception that occurs when the request was denied due to request throttling. This happens when you exceed the allowed request rate for an operation. Reduce the frequency of requests or implement exponential backoff retry logic in your application.</p>
177
+ *
178
+ * @throws {@link UnauthorizedException} (client fault)
179
+ * <p>This exception is thrown when the JWT bearer token is invalid or not found for OAuth bearer token based access</p>
180
+ *
181
+ * @throws {@link ValidationException} (client fault)
182
+ * <p>The exception that occurs when the input fails to satisfy the constraints specified by the service. Check the error message for details about which input parameter is invalid and correct your request.</p>
183
+ *
184
+ * @throws {@link BedrockAgentCoreServiceException}
185
+ * <p>Base exception class for all service exceptions from BedrockAgentCore service.</p>
186
+ *
187
+ *
188
+ * @public
189
+ */
190
+ export declare class StartDatasetGenerationCommand extends StartDatasetGenerationCommand_base {
191
+ /** @internal type navigation helper, not in runtime. */
192
+ protected static __types: {
193
+ api: {
194
+ input: StartDatasetGenerationRequest;
195
+ output: StartDatasetGenerationResponse;
196
+ };
197
+ sdk: {
198
+ input: StartDatasetGenerationCommandInput;
199
+ output: StartDatasetGenerationCommandOutput;
200
+ };
201
+ };
202
+ }
@@ -0,0 +1,93 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { UpdateAgentInsightRequest, UpdateAgentInsightResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link UpdateAgentInsightCommand}.
11
+ */
12
+ export interface UpdateAgentInsightCommandInput extends UpdateAgentInsightRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link UpdateAgentInsightCommand}.
18
+ */
19
+ export interface UpdateAgentInsightCommandOutput extends UpdateAgentInsightResponse, __MetadataBearer {
20
+ }
21
+ declare const UpdateAgentInsightCommand_base: {
22
+ new (input: UpdateAgentInsightCommandInput): import("@smithy/core/client").CommandImpl<UpdateAgentInsightCommandInput, UpdateAgentInsightCommandOutput, import("..").BedrockAgentCoreClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: UpdateAgentInsightCommandInput): import("@smithy/core/client").CommandImpl<UpdateAgentInsightCommandInput, UpdateAgentInsightCommandOutput, import("..").BedrockAgentCoreClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Updates the archive status of an Amazon Bedrock AgentCore Agent Insight.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { BedrockAgentCoreClient, UpdateAgentInsightCommand } from "@aws-sdk/client-bedrock-agentcore"; // ES Modules import
32
+ * // const { BedrockAgentCoreClient, UpdateAgentInsightCommand } = require("@aws-sdk/client-bedrock-agentcore"); // CommonJS import
33
+ * // import type { BedrockAgentCoreClientConfig } from "@aws-sdk/client-bedrock-agentcore";
34
+ * const config = {}; // type is BedrockAgentCoreClientConfig
35
+ * const client = new BedrockAgentCoreClient(config);
36
+ * const input = { // UpdateAgentInsightRequest
37
+ * applicationName: "STRING_VALUE", // required
38
+ * agentInsightId: "STRING_VALUE", // required
39
+ * archiveStatus: "ACTIVE" || "ARCHIVED", // required
40
+ * };
41
+ * const command = new UpdateAgentInsightCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // UpdateAgentInsightResponse
44
+ * // agentInsightId: "STRING_VALUE", // required
45
+ * // archiveStatus: "ACTIVE" || "ARCHIVED", // required
46
+ * // updatedAt: new Date("TIMESTAMP"), // required
47
+ * // };
48
+ *
49
+ * ```
50
+ *
51
+ * @param UpdateAgentInsightCommandInput - {@link UpdateAgentInsightCommandInput}
52
+ * @returns {@link UpdateAgentInsightCommandOutput}
53
+ * @see {@link UpdateAgentInsightCommandInput} for command's `input` shape.
54
+ * @see {@link UpdateAgentInsightCommandOutput} for command's `response` shape.
55
+ * @see {@link BedrockAgentCoreClientResolvedConfig | config} for BedrockAgentCoreClient's `config` shape.
56
+ *
57
+ * @throws {@link AccessDeniedException} (client fault)
58
+ * <p>The exception that occurs when you do not have sufficient permissions to perform an action. Verify that your IAM policy includes the necessary permissions for the operation you are trying to perform.</p>
59
+ *
60
+ * @throws {@link ConflictException} (client fault)
61
+ * <p>The exception that occurs when the request conflicts with the current state of the resource. This can happen when trying to modify a resource that is currently being modified by another request, or when trying to create a resource that already exists.</p>
62
+ *
63
+ * @throws {@link InternalServerException} (server fault)
64
+ * <p>The exception that occurs when the service encounters an unexpected internal error. This is a temporary condition that will resolve itself with retries. We recommend implementing exponential backoff retry logic in your application.</p>
65
+ *
66
+ * @throws {@link ResourceNotFoundException} (client fault)
67
+ * <p>The exception that occurs when the specified resource does not exist. This can happen when using an invalid identifier or when trying to access a resource that has been deleted.</p>
68
+ *
69
+ * @throws {@link ThrottlingException} (client fault)
70
+ * <p>The exception that occurs when the request was denied due to request throttling. This happens when you exceed the allowed request rate for an operation. Reduce the frequency of requests or implement exponential backoff retry logic in your application.</p>
71
+ *
72
+ * @throws {@link ValidationException} (client fault)
73
+ * <p>The exception that occurs when the input fails to satisfy the constraints specified by the service. Check the error message for details about which input parameter is invalid and correct your request.</p>
74
+ *
75
+ * @throws {@link BedrockAgentCoreServiceException}
76
+ * <p>Base exception class for all service exceptions from BedrockAgentCore service.</p>
77
+ *
78
+ *
79
+ * @public
80
+ */
81
+ export declare class UpdateAgentInsightCommand extends UpdateAgentInsightCommand_base {
82
+ /** @internal type navigation helper, not in runtime. */
83
+ protected static __types: {
84
+ api: {
85
+ input: UpdateAgentInsightRequest;
86
+ output: UpdateAgentInsightResponse;
87
+ };
88
+ sdk: {
89
+ input: UpdateAgentInsightCommandInput;
90
+ output: UpdateAgentInsightCommandOutput;
91
+ };
92
+ };
93
+ }
@@ -9,6 +9,7 @@ export * from "./CreatePaymentSessionCommand";
9
9
  export * from "./DeleteABTestCommand";
10
10
  export * from "./DeleteBatchEvaluationCommand";
11
11
  export * from "./DeleteCapacityProviderSessionCommand";
12
+ export * from "./DeleteDatasetGenerationCommand";
12
13
  export * from "./DeleteEventCommand";
13
14
  export * from "./DeleteMemoryRecordCommand";
14
15
  export * from "./DeletePaymentInstrumentCommand";
@@ -17,9 +18,11 @@ export * from "./DeleteRecommendationCommand";
17
18
  export * from "./EvaluateCommand";
18
19
  export * from "./GetABTestCommand";
19
20
  export * from "./GetAgentCardCommand";
21
+ export * from "./GetAgentInsightCommand";
20
22
  export * from "./GetBatchEvaluationCommand";
21
23
  export * from "./GetBrowserSessionCommand";
22
24
  export * from "./GetCodeInterpreterSessionCommand";
25
+ export * from "./GetDatasetGenerationCommand";
23
26
  export * from "./GetEventCommand";
24
27
  export * from "./GetMemoryRecordCommand";
25
28
  export * from "./GetPaymentInstrumentBalanceCommand";
@@ -41,9 +44,11 @@ export * from "./InvokeHarnessCommand";
41
44
  export * from "./InvokeWebSearchCommand";
42
45
  export * from "./ListABTestsCommand";
43
46
  export * from "./ListActorsCommand";
47
+ export * from "./ListAgentInsightsCommand";
44
48
  export * from "./ListBatchEvaluationsCommand";
45
49
  export * from "./ListBrowserSessionsCommand";
46
50
  export * from "./ListCodeInterpreterSessionsCommand";
51
+ export * from "./ListDatasetGenerationsCommand";
47
52
  export * from "./ListEventsCommand";
48
53
  export * from "./ListMemoryExtractionJobsCommand";
49
54
  export * from "./ListMemoryRecordsCommand";
@@ -58,6 +63,7 @@ export * from "./SearchRegistryRecordsCommand";
58
63
  export * from "./StartBatchEvaluationCommand";
59
64
  export * from "./StartBrowserSessionCommand";
60
65
  export * from "./StartCodeInterpreterSessionCommand";
66
+ export * from "./StartDatasetGenerationCommand";
61
67
  export * from "./StartMemoryExtractionJobCommand";
62
68
  export * from "./StartRecommendationCommand";
63
69
  export * from "./StopBatchEvaluationCommand";
@@ -65,4 +71,5 @@ export * from "./StopBrowserSessionCommand";
65
71
  export * from "./StopCodeInterpreterSessionCommand";
66
72
  export * from "./StopRuntimeSessionCommand";
67
73
  export * from "./UpdateABTestCommand";
74
+ export * from "./UpdateAgentInsightCommand";
68
75
  export * from "./UpdateBrowserStreamCommand";
@@ -101,6 +101,42 @@ export declare const CommandExecutionStatus: {
101
101
  * @public
102
102
  */
103
103
  export type CommandExecutionStatus = (typeof CommandExecutionStatus)[keyof typeof CommandExecutionStatus];
104
+ /**
105
+ * @public
106
+ * @enum
107
+ */
108
+ export declare const AgentInsightArchiveStatus: {
109
+ readonly ACTIVE: "ACTIVE";
110
+ readonly ARCHIVED: "ARCHIVED";
111
+ };
112
+ /**
113
+ * @public
114
+ */
115
+ export type AgentInsightArchiveStatus = (typeof AgentInsightArchiveStatus)[keyof typeof AgentInsightArchiveStatus];
116
+ /**
117
+ * @public
118
+ * @enum
119
+ */
120
+ export declare const AgentInsightCustomerMetadataStatus: {
121
+ readonly AVAILABLE: "AVAILABLE";
122
+ readonly CUSTOMER_KEY_UNAVAILABLE: "CUSTOMER_KEY_UNAVAILABLE";
123
+ readonly UNAVAILABLE: "UNAVAILABLE";
124
+ };
125
+ /**
126
+ * @public
127
+ */
128
+ export type AgentInsightCustomerMetadataStatus = (typeof AgentInsightCustomerMetadataStatus)[keyof typeof AgentInsightCustomerMetadataStatus];
129
+ /**
130
+ * @public
131
+ * @enum
132
+ */
133
+ export declare const InsightType: {
134
+ readonly FAILURE: "FAILURE";
135
+ };
136
+ /**
137
+ * @public
138
+ */
139
+ export type InsightType = (typeof InsightType)[keyof typeof InsightType];
104
140
  /**
105
141
  * @public
106
142
  * @enum
@@ -237,6 +273,36 @@ export declare const BatchEvaluationStatus: {
237
273
  * @public
238
274
  */
239
275
  export type BatchEvaluationStatus = (typeof BatchEvaluationStatus)[keyof typeof BatchEvaluationStatus];
276
+ /**
277
+ * @public
278
+ * @enum
279
+ */
280
+ export declare const DatasetGenerationStatus: {
281
+ /**
282
+ * <p>The generation finished and added its examples to the dataset's draft.</p>
283
+ */
284
+ readonly COMPLETED: "COMPLETED";
285
+ /**
286
+ * <p>The generation finished, but some sessions failed. See <code>errorDetails</code> for the errors.</p>
287
+ */
288
+ readonly COMPLETED_WITH_ERRORS: "COMPLETED_WITH_ERRORS";
289
+ /**
290
+ * <p>The generation record is being deleted.</p>
291
+ */
292
+ readonly DELETING: "DELETING";
293
+ /**
294
+ * <p>The generation failed. See <code>failureReason</code> for the reason.</p>
295
+ */
296
+ readonly FAILED: "FAILED";
297
+ /**
298
+ * <p>The generation is running.</p>
299
+ */
300
+ readonly IN_PROGRESS: "IN_PROGRESS";
301
+ };
302
+ /**
303
+ * @public
304
+ */
305
+ export type DatasetGenerationStatus = (typeof DatasetGenerationStatus)[keyof typeof DatasetGenerationStatus];
240
306
  /**
241
307
  * @public
242
308
  * @enum
@@ -269,25 +335,208 @@ export type FindingTargetType = (typeof FindingTargetType)[keyof typeof FindingT
269
335
  * @public
270
336
  * @enum
271
337
  */
272
- export declare const InsightType: {
273
- readonly FAILURE: "FAILURE";
338
+ export declare const ResultDestination: {
339
+ readonly DEDICATED_LOG_GROUP: "DEDICATED_LOG_GROUP";
340
+ readonly SOURCE_LOG_GROUP: "SOURCE_LOG_GROUP";
274
341
  };
275
342
  /**
276
343
  * @public
277
344
  */
278
- export type InsightType = (typeof InsightType)[keyof typeof InsightType];
345
+ export type ResultDestination = (typeof ResultDestination)[keyof typeof ResultDestination];
279
346
  /**
280
347
  * @public
281
348
  * @enum
282
349
  */
283
- export declare const ResultDestination: {
284
- readonly DEDICATED_LOG_GROUP: "DEDICATED_LOG_GROUP";
285
- readonly SOURCE_LOG_GROUP: "SOURCE_LOG_GROUP";
350
+ export declare const ScenarioType: {
351
+ /**
352
+ * <p>A conversation driven by a simulated user, described by an actor profile, an initial input and a maximum number of turns.</p>
353
+ */
354
+ readonly DYNAMIC: "DYNAMIC";
355
+ /**
356
+ * <p>A fixed list of turns, with an optional expected response and expected trajectory.</p>
357
+ */
358
+ readonly FIXED: "FIXED";
286
359
  };
287
360
  /**
288
361
  * @public
289
362
  */
290
- export type ResultDestination = (typeof ResultDestination)[keyof typeof ResultDestination];
363
+ export type ScenarioType = (typeof ScenarioType)[keyof typeof ScenarioType];
364
+ /**
365
+ * @public
366
+ * @enum
367
+ */
368
+ export declare const GroundTruthField: {
369
+ /**
370
+ * <p>The agent's final response.</p>
371
+ */
372
+ readonly EXPECTED_RESPONSE: "expected_response";
373
+ /**
374
+ * <p>The sequence of tool calls the agent made.</p>
375
+ */
376
+ readonly EXPECTED_TRAJECTORY: "expected_trajectory";
377
+ };
378
+ /**
379
+ * @public
380
+ */
381
+ export type GroundTruthField = (typeof GroundTruthField)[keyof typeof GroundTruthField];
382
+ /**
383
+ * @public
384
+ * @enum
385
+ */
386
+ export declare const ResultAggregation: {
387
+ /**
388
+ * <p>Matches when every result has the label.</p>
389
+ */
390
+ readonly ALL_MATCH: "AllMatch";
391
+ /**
392
+ * <p>Matches when at least one result has the label.</p>
393
+ */
394
+ readonly ANY_MATCH: "AnyMatch";
395
+ /**
396
+ * <p>Uses the highest score.</p>
397
+ */
398
+ readonly MAX: "Max";
399
+ /**
400
+ * <p>Uses the average score.</p>
401
+ */
402
+ readonly MEAN: "Mean";
403
+ /**
404
+ * <p>Uses the lowest score.</p>
405
+ */
406
+ readonly MIN: "Min";
407
+ };
408
+ /**
409
+ * @public
410
+ */
411
+ export type ResultAggregation = (typeof ResultAggregation)[keyof typeof ResultAggregation];
412
+ /**
413
+ * @public
414
+ * @enum
415
+ */
416
+ export declare const GenerationFilterOperator: {
417
+ readonly CONTAINS: "Contains";
418
+ readonly EQUALS: "Equals";
419
+ readonly GREATER_THAN: "GreaterThan";
420
+ readonly GREATER_THAN_OR_EQUAL: "GreaterThanOrEqual";
421
+ readonly LESS_THAN: "LessThan";
422
+ readonly LESS_THAN_OR_EQUAL: "LessThanOrEqual";
423
+ readonly NOT_CONTAINS: "NotContains";
424
+ readonly NOT_EQUALS: "NotEquals";
425
+ };
426
+ /**
427
+ * @public
428
+ */
429
+ export type GenerationFilterOperator = (typeof GenerationFilterOperator)[keyof typeof GenerationFilterOperator];
430
+ /**
431
+ * @public
432
+ * @enum
433
+ */
434
+ export declare const RedactionIdentifier: {
435
+ readonly ADDRESS: "ADDRESS";
436
+ readonly AWS_SECRET_KEY: "AWS_SECRET_KEY";
437
+ readonly BANK_ACCOUNT_NUMBER_DE: "BANK_ACCOUNT_NUMBER_DE";
438
+ readonly BANK_ACCOUNT_NUMBER_ES: "BANK_ACCOUNT_NUMBER_ES";
439
+ readonly BANK_ACCOUNT_NUMBER_FR: "BANK_ACCOUNT_NUMBER_FR";
440
+ readonly BANK_ACCOUNT_NUMBER_GB: "BANK_ACCOUNT_NUMBER_GB";
441
+ readonly BANK_ACCOUNT_NUMBER_IT: "BANK_ACCOUNT_NUMBER_IT";
442
+ readonly BANK_ACCOUNT_NUMBER_US: "BANK_ACCOUNT_NUMBER_US";
443
+ readonly CEP_CODE_BR: "CEP_CODE_BR";
444
+ readonly CNPJ_BR: "CNPJ_BR";
445
+ readonly CPF_CODE_BR: "CPF_CODE_BR";
446
+ readonly CREDIT_CARD_EXPIRATION: "CREDIT_CARD_EXPIRATION";
447
+ readonly CREDIT_CARD_MAGNETIC_STRIPE: "CREDIT_CARD_MAGNETIC_STRIPE";
448
+ readonly CREDIT_CARD_NUMBER: "CREDIT_CARD_NUMBER";
449
+ readonly CREDIT_CARD_SECURITY_CODE: "CREDIT_CARD_SECURITY_CODE";
450
+ readonly DATE_OF_BIRTH: "DATE_OF_BIRTH";
451
+ readonly DRIVERS_LICENSE_AT: "DRIVERS_LICENSE_AT";
452
+ readonly DRIVERS_LICENSE_AU: "DRIVERS_LICENSE_AU";
453
+ readonly DRIVERS_LICENSE_BE: "DRIVERS_LICENSE_BE";
454
+ readonly DRIVERS_LICENSE_BG: "DRIVERS_LICENSE_BG";
455
+ readonly DRIVERS_LICENSE_CA: "DRIVERS_LICENSE_CA";
456
+ readonly DRIVERS_LICENSE_CY: "DRIVERS_LICENSE_CY";
457
+ readonly DRIVERS_LICENSE_CZ: "DRIVERS_LICENSE_CZ";
458
+ readonly DRIVERS_LICENSE_DE: "DRIVERS_LICENSE_DE";
459
+ readonly DRIVERS_LICENSE_DK: "DRIVERS_LICENSE_DK";
460
+ readonly DRIVERS_LICENSE_EE: "DRIVERS_LICENSE_EE";
461
+ readonly DRIVERS_LICENSE_ES: "DRIVERS_LICENSE_ES";
462
+ readonly DRIVERS_LICENSE_FI: "DRIVERS_LICENSE_FI";
463
+ readonly DRIVERS_LICENSE_FR: "DRIVERS_LICENSE_FR";
464
+ readonly DRIVERS_LICENSE_GB: "DRIVERS_LICENSE_GB";
465
+ readonly DRIVERS_LICENSE_GR: "DRIVERS_LICENSE_GR";
466
+ readonly DRIVERS_LICENSE_HR: "DRIVERS_LICENSE_HR";
467
+ readonly DRIVERS_LICENSE_HU: "DRIVERS_LICENSE_HU";
468
+ readonly DRIVERS_LICENSE_IE: "DRIVERS_LICENSE_IE";
469
+ readonly DRIVERS_LICENSE_IT: "DRIVERS_LICENSE_IT";
470
+ readonly DRIVERS_LICENSE_LT: "DRIVERS_LICENSE_LT";
471
+ readonly DRIVERS_LICENSE_LU: "DRIVERS_LICENSE_LU";
472
+ readonly DRIVERS_LICENSE_LV: "DRIVERS_LICENSE_LV";
473
+ readonly DRIVERS_LICENSE_MT: "DRIVERS_LICENSE_MT";
474
+ readonly DRIVERS_LICENSE_NL: "DRIVERS_LICENSE_NL";
475
+ readonly DRIVERS_LICENSE_PL: "DRIVERS_LICENSE_PL";
476
+ readonly DRIVERS_LICENSE_PT: "DRIVERS_LICENSE_PT";
477
+ readonly DRIVERS_LICENSE_RO: "DRIVERS_LICENSE_RO";
478
+ readonly DRIVERS_LICENSE_SE: "DRIVERS_LICENSE_SE";
479
+ readonly DRIVERS_LICENSE_SI: "DRIVERS_LICENSE_SI";
480
+ readonly DRIVERS_LICENSE_SK: "DRIVERS_LICENSE_SK";
481
+ readonly DRIVERS_LICENSE_US: "DRIVERS_LICENSE_US";
482
+ readonly DRUG_ENFORCEMENT_AGENCY_NUMBER_US: "DRUG_ENFORCEMENT_AGENCY_NUMBER_US";
483
+ readonly ELECTORAL_ROLL_NUMBER_GB: "ELECTORAL_ROLL_NUMBER_GB";
484
+ readonly EMAIL_ADDRESS: "EMAIL_ADDRESS";
485
+ readonly HEALTHCARE_PROCEDURE_CODE_US: "HEALTHCARE_PROCEDURE_CODE_US";
486
+ readonly HEALTH_INSURANCE_CARD_NUMBER_EU: "HEALTH_INSURANCE_CARD_NUMBER_EU";
487
+ readonly HEALTH_INSURANCE_CLAIM_NUMBER_US: "HEALTH_INSURANCE_CLAIM_NUMBER_US";
488
+ readonly HEALTH_INSURANCE_NUMBER_FR: "HEALTH_INSURANCE_NUMBER_FR";
489
+ readonly INDIVIDUAL_TAX_IDENTIFICATION_NUMBER_US: "INDIVIDUAL_TAX_IDENTIFICATION_NUMBER_US";
490
+ readonly INSEE_CODE_FR: "INSEE_CODE_FR";
491
+ readonly IP_ADDRESS: "IP_ADDRESS";
492
+ readonly LAT_LONG: "LAT_LONG";
493
+ readonly MEDICARE_BENEFICIARY_NUMBER_US: "MEDICARE_BENEFICIARY_NUMBER_US";
494
+ readonly NAME: "NAME";
495
+ readonly NATIONAL_DRUG_CODE_US: "NATIONAL_DRUG_CODE_US";
496
+ readonly NATIONAL_IDENTIFICATION_NUMBER_DE: "NATIONAL_IDENTIFICATION_NUMBER_DE";
497
+ readonly NATIONAL_IDENTIFICATION_NUMBER_ES: "NATIONAL_IDENTIFICATION_NUMBER_ES";
498
+ readonly NATIONAL_IDENTIFICATION_NUMBER_IT: "NATIONAL_IDENTIFICATION_NUMBER_IT";
499
+ readonly NATIONAL_INSURANCE_NUMBER_GB: "NATIONAL_INSURANCE_NUMBER_GB";
500
+ readonly NATIONAL_PROVIDER_ID_US: "NATIONAL_PROVIDER_ID_US";
501
+ readonly NHS_NUMBER_GB: "NHS_NUMBER_GB";
502
+ readonly NIE_NUMBER_ES: "NIE_NUMBER_ES";
503
+ readonly NIF_NUMBER_ES: "NIF_NUMBER_ES";
504
+ readonly OPEN_SSH_PRIVATE_KEY: "OPEN_SSH_PRIVATE_KEY";
505
+ readonly PASSPORT_NUMBER_CA: "PASSPORT_NUMBER_CA";
506
+ readonly PASSPORT_NUMBER_DE: "PASSPORT_NUMBER_DE";
507
+ readonly PASSPORT_NUMBER_ES: "PASSPORT_NUMBER_ES";
508
+ readonly PASSPORT_NUMBER_FR: "PASSPORT_NUMBER_FR";
509
+ readonly PASSPORT_NUMBER_GB: "PASSPORT_NUMBER_GB";
510
+ readonly PASSPORT_NUMBER_IT: "PASSPORT_NUMBER_IT";
511
+ readonly PASSPORT_NUMBER_US: "PASSPORT_NUMBER_US";
512
+ readonly PERMANENT_RESIDENCE_NUMBER_CA: "PERMANENT_RESIDENCE_NUMBER_CA";
513
+ readonly PERSONAL_HEALTH_NUMBER_CA: "PERSONAL_HEALTH_NUMBER_CA";
514
+ readonly PGP_PRIVATE_KEY: "PGP_PRIVATE_KEY";
515
+ readonly PHONE_NUMBER_BR: "PHONE_NUMBER_BR";
516
+ readonly PHONE_NUMBER_DE: "PHONE_NUMBER_DE";
517
+ readonly PHONE_NUMBER_ES: "PHONE_NUMBER_ES";
518
+ readonly PHONE_NUMBER_FR: "PHONE_NUMBER_FR";
519
+ readonly PHONE_NUMBER_GB: "PHONE_NUMBER_GB";
520
+ readonly PHONE_NUMBER_IT: "PHONE_NUMBER_IT";
521
+ readonly PHONE_NUMBER_US: "PHONE_NUMBER_US";
522
+ readonly PKCS_PRIVATE_KEY: "PKCS_PRIVATE_KEY";
523
+ readonly POSTAL_CODE_CA: "POSTAL_CODE_CA";
524
+ readonly PUTTY_PRIVATE_KEY: "PUTTY_PRIVATE_KEY";
525
+ readonly RG_NUMBER_BR: "RG_NUMBER_BR";
526
+ readonly SOCIAL_INSURANCE_NUMBER_CA: "SOCIAL_INSURANCE_NUMBER_CA";
527
+ readonly SSN_ES: "SSN_ES";
528
+ readonly SSN_US: "SSN_US";
529
+ readonly TAX_ID_DE: "TAX_ID_DE";
530
+ readonly TAX_ID_ES: "TAX_ID_ES";
531
+ readonly TAX_ID_FR: "TAX_ID_FR";
532
+ readonly TAX_ID_GB: "TAX_ID_GB";
533
+ readonly VEHICLE_IDENTIFICATION_NUMBER: "VEHICLE_IDENTIFICATION_NUMBER";
534
+ readonly ZIP_CODE_US: "ZIP_CODE_US";
535
+ };
536
+ /**
537
+ * @public
538
+ */
539
+ export type RedactionIdentifier = (typeof RedactionIdentifier)[keyof typeof RedactionIdentifier];
291
540
  /**
292
541
  * @public
293
542
  * @enum