aws-sdk-bedrockagentcore 1.70.0 → 1.71.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.
@@ -56,7 +56,7 @@ module Aws::BedrockAgentCore
56
56
  autoload :Endpoints, 'aws-sdk-bedrockagentcore/endpoints'
57
57
  autoload :EventStreams, 'aws-sdk-bedrockagentcore/event_streams'
58
58
 
59
- GEM_VERSION = '1.70.0'
59
+ GEM_VERSION = '1.71.0'
60
60
 
61
61
  end
62
62
 
data/sig/client.rbs CHANGED
@@ -380,6 +380,18 @@ module Aws
380
380
  ) -> _DeleteCapacityProviderSessionResponseSuccess
381
381
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteCapacityProviderSessionResponseSuccess
382
382
 
383
+ interface _DeleteDatasetGenerationResponseSuccess
384
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteDatasetGenerationResponse]
385
+ def generation_id: () -> ::String
386
+ def status: () -> ("IN_PROGRESS" | "COMPLETED" | "COMPLETED_WITH_ERRORS" | "FAILED" | "DELETING")
387
+ end
388
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCore/Client.html#delete_dataset_generation-instance_method
389
+ def delete_dataset_generation: (
390
+ dataset_id: ::String,
391
+ generation_id: ::String
392
+ ) -> _DeleteDatasetGenerationResponseSuccess
393
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteDatasetGenerationResponseSuccess
394
+
383
395
  interface _DeleteEventResponseSuccess
384
396
  include ::Seahorse::Client::_ResponseSuccess[Types::DeleteEventOutput]
385
397
  def event_id: () -> ::String
@@ -525,6 +537,30 @@ module Aws
525
537
  ) -> _GetAgentCardResponseSuccess
526
538
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAgentCardResponseSuccess
527
539
 
540
+ interface _GetAgentInsightResponseSuccess
541
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetAgentInsightResponse]
542
+ def type: () -> ("FAILURE")
543
+ def name: () -> ::String
544
+ def description: () -> ::String
545
+ def created_at: () -> ::Time
546
+ def affected_session_count: () -> ::Integer
547
+ def sample_sessions: () -> ::Array[Types::SampleSession]
548
+ def root_causes: () -> ::Array[Types::InsightRootCause]
549
+ def agent_insight_id: () -> ::String
550
+ def application_name: () -> ::String
551
+ def batch_evaluation_id: () -> ::String
552
+ def customer_metadata_status: () -> ("AVAILABLE" | "CUSTOMER_KEY_UNAVAILABLE" | "UNAVAILABLE")
553
+ def updated_at: () -> ::Time
554
+ def archive_status: () -> ("ACTIVE" | "ARCHIVED")
555
+ def last_seen_at: () -> ::Time
556
+ end
557
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCore/Client.html#get_agent_insight-instance_method
558
+ def get_agent_insight: (
559
+ application_name: ::String,
560
+ agent_insight_id: ::String
561
+ ) -> _GetAgentInsightResponseSuccess
562
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAgentInsightResponseSuccess
563
+
528
564
  interface _GetBatchEvaluationResponseSuccess
529
565
  include ::Seahorse::Client::_ResponseSuccess[Types::GetBatchEvaluationResponse]
530
566
  def batch_evaluation_id: () -> ::String
@@ -545,6 +581,7 @@ module Aws
545
581
  def description: () -> ::String
546
582
  def updated_at: () -> ::Time
547
583
  def kms_key_arn: () -> ::String
584
+ def dataset_execution_details: () -> Types::DatasetExecutionDetails
548
585
  end
549
586
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCore/Client.html#get_batch_evaluation-instance_method
550
587
  def get_batch_evaluation: (
@@ -596,6 +633,30 @@ module Aws
596
633
  ) -> _GetCodeInterpreterSessionResponseSuccess
597
634
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCodeInterpreterSessionResponseSuccess
598
635
 
636
+ interface _GetDatasetGenerationResponseSuccess
637
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetDatasetGenerationResponse]
638
+ def generation_id: () -> ::String
639
+ def name: () -> ::String
640
+ def description: () -> ::String
641
+ def dataset_id: () -> ::String
642
+ def scenario_type: () -> ("FIXED" | "DYNAMIC")
643
+ def status: () -> ("IN_PROGRESS" | "COMPLETED" | "COMPLETED_WITH_ERRORS" | "FAILED" | "DELETING")
644
+ def failure_reason: () -> ::String
645
+ def created_at: () -> ::Time
646
+ def updated_at: () -> ::Time
647
+ def completed_at: () -> ::Time
648
+ def source: () -> Types::GenerationSourceRecord
649
+ def generation_results: () -> Types::GenerationResults
650
+ def redaction_summary: () -> Types::RedactionSummary
651
+ def error_details: () -> ::Array[Types::GenerationErrorDetail]
652
+ end
653
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCore/Client.html#get_dataset_generation-instance_method
654
+ def get_dataset_generation: (
655
+ dataset_id: ::String,
656
+ generation_id: ::String
657
+ ) -> _GetDatasetGenerationResponseSuccess
658
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDatasetGenerationResponseSuccess
659
+
599
660
  interface _GetEventResponseSuccess
600
661
  include ::Seahorse::Client::_ResponseSuccess[Types::GetEventOutput]
601
662
  def event: () -> Types::Event
@@ -1182,6 +1243,21 @@ module Aws
1182
1243
  ) -> _ListActorsResponseSuccess
1183
1244
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListActorsResponseSuccess
1184
1245
 
1246
+ interface _ListAgentInsightsResponseSuccess
1247
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListAgentInsightsResponse]
1248
+ def agent_insights: () -> ::Array[Types::AgentInsightSummary]
1249
+ def next_token: () -> ::String
1250
+ end
1251
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCore/Client.html#list_agent_insights-instance_method
1252
+ def list_agent_insights: (
1253
+ ?application_name: ::String,
1254
+ ?batch_evaluation_id: ::String,
1255
+ ?archive_status: ("ACTIVE" | "ARCHIVED"),
1256
+ ?max_results: ::Integer,
1257
+ ?next_token: ::String
1258
+ ) -> _ListAgentInsightsResponseSuccess
1259
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAgentInsightsResponseSuccess
1260
+
1185
1261
  interface _ListBatchEvaluationsResponseSuccess
1186
1262
  include ::Seahorse::Client::_ResponseSuccess[Types::ListBatchEvaluationsResponse]
1187
1263
  def batch_evaluations: () -> ::Array[Types::BatchEvaluationSummary]
@@ -1222,6 +1298,19 @@ module Aws
1222
1298
  ) -> _ListCodeInterpreterSessionsResponseSuccess
1223
1299
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCodeInterpreterSessionsResponseSuccess
1224
1300
 
1301
+ interface _ListDatasetGenerationsResponseSuccess
1302
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListDatasetGenerationsResponse]
1303
+ def dataset_generations: () -> ::Array[Types::DatasetGenerationSummary]
1304
+ def next_token: () -> ::String
1305
+ end
1306
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCore/Client.html#list_dataset_generations-instance_method
1307
+ def list_dataset_generations: (
1308
+ dataset_id: ::String,
1309
+ ?max_results: ::Integer,
1310
+ ?next_token: ::String
1311
+ ) -> _ListDatasetGenerationsResponseSuccess
1312
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDatasetGenerationsResponseSuccess
1313
+
1225
1314
  interface _ListEventsResponseSuccess
1226
1315
  include ::Seahorse::Client::_ResponseSuccess[Types::ListEventsOutput]
1227
1316
  def events: () -> ::Array[Types::Event]
@@ -1544,6 +1633,18 @@ module Aws
1544
1633
  metrics_namespace: ::String?,
1545
1634
  result_destination: ("DEDICATED_LOG_GROUP" | "SOURCE_LOG_GROUP")?
1546
1635
  }?
1636
+ },
1637
+ ?dataset_execution_config: {
1638
+ dataset: {
1639
+ dataset_id: ::String,
1640
+ dataset_version: ::String?
1641
+ },
1642
+ agent_invocation: {
1643
+ agent_core_runtime: {
1644
+ agent_runtime_endpoint_arn: ::String,
1645
+ request_template: ::String?
1646
+ }?
1647
+ }
1547
1648
  }
1548
1649
  ) -> _StartBatchEvaluationResponseSuccess
1549
1650
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartBatchEvaluationResponseSuccess
@@ -1656,6 +1757,89 @@ module Aws
1656
1757
  ) -> _StartCodeInterpreterSessionResponseSuccess
1657
1758
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartCodeInterpreterSessionResponseSuccess
1658
1759
 
1760
+ interface _StartDatasetGenerationResponseSuccess
1761
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartDatasetGenerationResponse]
1762
+ def generation_id: () -> ::String
1763
+ def name: () -> ::String
1764
+ def dataset_id: () -> ::String
1765
+ def status: () -> ("IN_PROGRESS" | "COMPLETED" | "COMPLETED_WITH_ERRORS" | "FAILED" | "DELETING")
1766
+ def created_at: () -> ::Time
1767
+ end
1768
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCore/Client.html#start_dataset_generation-instance_method
1769
+ def start_dataset_generation: (
1770
+ dataset_id: ::String,
1771
+ name: ::String,
1772
+ ?description: ::String,
1773
+ ?scenario_type: ("FIXED" | "DYNAMIC"),
1774
+ source: {
1775
+ trace_generation: {
1776
+ source_config: {
1777
+ cloud_watch_logs: {
1778
+ log_group_names: Array[::String]?,
1779
+ log_group_name_prefixes: Array[::String]?,
1780
+ service_names: Array[::String],
1781
+ start_time: ::Time?,
1782
+ end_time: ::Time?
1783
+ }?,
1784
+ online_evaluation: {
1785
+ online_evaluation_config_arn: ::String,
1786
+ start_time: ::Time?,
1787
+ end_time: ::Time?
1788
+ }?,
1789
+ batch_evaluation: {
1790
+ batch_evaluation_arn: ::String
1791
+ }?
1792
+ },
1793
+ selection: {
1794
+ filters: {
1795
+ attribute_filters: Array[
1796
+ {
1797
+ key: ::String,
1798
+ operator: ("Equals" | "NotEquals" | "GreaterThan" | "LessThan" | "GreaterThanOrEqual" | "LessThanOrEqual" | "Contains" | "NotContains"),
1799
+ value: {
1800
+ string_value: ::String?,
1801
+ double_value: ::Float?,
1802
+ boolean_value: bool?
1803
+ }
1804
+ }
1805
+ ]?,
1806
+ turn_count: {
1807
+ min: ::Integer?,
1808
+ max: ::Integer?
1809
+ }?,
1810
+ evaluator_filters: Array[
1811
+ Params::evaluator_filter
1812
+ ]?
1813
+ }?,
1814
+ identifiers: {
1815
+ session_ids: Array[::String]?,
1816
+ trace_ids: Array[::String]?
1817
+ }?
1818
+ }?,
1819
+ sampling: {
1820
+ max_scenarios: ::Integer?
1821
+ }?,
1822
+ ground_truth: {
1823
+ fields: Array[("expected_response" | "expected_trajectory")],
1824
+ quality_filters: Array[
1825
+ Params::evaluator_filter
1826
+ ]?
1827
+ }?,
1828
+ redaction_configuration: {
1829
+ identifiers: Array[("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")]?,
1830
+ custom_data_identifiers: Array[
1831
+ {
1832
+ name: ::String,
1833
+ regex: ::String
1834
+ }
1835
+ ]?
1836
+ }?
1837
+ }?
1838
+ },
1839
+ ?client_token: ::String
1840
+ ) -> _StartDatasetGenerationResponseSuccess
1841
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartDatasetGenerationResponseSuccess
1842
+
1659
1843
  interface _StartMemoryExtractionJobResponseSuccess
1660
1844
  include ::Seahorse::Client::_ResponseSuccess[Types::StartMemoryExtractionJobOutput]
1661
1845
  def job_id: () -> ::String
@@ -1831,6 +2015,20 @@ module Aws
1831
2015
  ) -> _UpdateABTestResponseSuccess
1832
2016
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateABTestResponseSuccess
1833
2017
 
2018
+ interface _UpdateAgentInsightResponseSuccess
2019
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateAgentInsightResponse]
2020
+ def agent_insight_id: () -> ::String
2021
+ def archive_status: () -> ("ACTIVE" | "ARCHIVED")
2022
+ def updated_at: () -> ::Time
2023
+ end
2024
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCore/Client.html#update_agent_insight-instance_method
2025
+ def update_agent_insight: (
2026
+ application_name: ::String,
2027
+ agent_insight_id: ::String,
2028
+ archive_status: ("ACTIVE" | "ARCHIVED")
2029
+ ) -> _UpdateAgentInsightResponseSuccess
2030
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAgentInsightResponseSuccess
2031
+
1834
2032
  interface _UpdateBrowserStreamResponseSuccess
1835
2033
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateBrowserStreamResponse]
1836
2034
  def browser_identifier: () -> ::String
data/sig/params.rbs CHANGED
@@ -54,6 +54,18 @@ module Aws
54
54
  }?
55
55
  }
56
56
 
57
+ type evaluator_filter = {
58
+ evaluator_id: ::String,
59
+ evaluation_dimension_name: ::String?,
60
+ operator: ("Equals" | "NotEquals" | "GreaterThan" | "LessThan" | "GreaterThanOrEqual" | "LessThanOrEqual" | "Contains" | "NotContains"),
61
+ value: {
62
+ string_value: ::String?,
63
+ double_value: ::Float?,
64
+ boolean_value: bool?
65
+ },
66
+ aggregation: ("Min" | "Max" | "Mean" | "AllMatch" | "AnyMatch")?
67
+ }
68
+
57
69
  type cloud_watch_logs_rule = {
58
70
  filters: Array[
59
71
  Params::cloud_watch_logs_filter