aws-sdk-bedrockagentcorecontrol 1.68.0 → 1.69.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrockagentcorecontrol/client.rb +326 -3
- data/lib/aws-sdk-bedrockagentcorecontrol/client_api.rb +218 -2
- data/lib/aws-sdk-bedrockagentcorecontrol/types.rb +500 -2
- data/lib/aws-sdk-bedrockagentcorecontrol.rb +1 -1
- data/sig/client.rbs +123 -2
- data/sig/types.rbs +122 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b30fdc30ccb7b8cb437fa0b2002362ffbe90395258925662926226c450bdf0ee
|
|
4
|
+
data.tar.gz: 4813dfba9b26b7fa68ec752f86bf14fd183da32eacc47be8d66cf30bfbd03a02
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9175f919cb79d990a2c8aa4dd036dd9ead16334286211db9b745d7f4711e5c52483d91a6ff55e31e2c513cd9742c8dffd5539eeadfe426a50cbd8b8cf0dd1c5a
|
|
7
|
+
data.tar.gz: bc50fcd493ca43bbc20e9f30036c43f8b7ffc3f1a102fde1588e6ea596158777be17d5597dc95ced9a9656709d27edb86bbd0bc8bdacd8bb66f530c23175a630
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.69.0 (2026-09-03)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - AgentCore Identity adds Consent Portal APIs to manage portals that let end users grant OAuth authorization for agents to access resources. AgentCore Evaluation adds trace source selection by log group prefix, custom or source log group result destinations, and metrics namespace customization.
|
|
8
|
+
|
|
4
9
|
1.68.0 (2026-09-01)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.69.0
|
|
@@ -1574,6 +1574,98 @@ module Aws::BedrockAgentCoreControl
|
|
|
1574
1574
|
req.send_request(options)
|
|
1575
1575
|
end
|
|
1576
1576
|
|
|
1577
|
+
# Creates a new consent portal.
|
|
1578
|
+
#
|
|
1579
|
+
# @option params [required, String] :execution_role_arn
|
|
1580
|
+
# The Amazon Resource Name (ARN) of the IAM role that the consent portal
|
|
1581
|
+
# assumes to access the resources defined in its sources.
|
|
1582
|
+
#
|
|
1583
|
+
# @option params [required, Types::ConsentPortalIdpConfig] :idp_config
|
|
1584
|
+
# The identity provider configuration that the consent portal uses to
|
|
1585
|
+
# authenticate end users.
|
|
1586
|
+
#
|
|
1587
|
+
# @option params [required, String] :name
|
|
1588
|
+
# The name of the consent portal. The name must be unique within your
|
|
1589
|
+
# account.
|
|
1590
|
+
#
|
|
1591
|
+
# @option params [required, Array<Types::ConsentPortalSource>] :sources
|
|
1592
|
+
# The resources served by the consent portal. Currently, we only support
|
|
1593
|
+
# type `agentcore-gateway`.
|
|
1594
|
+
#
|
|
1595
|
+
# @option params [String] :description
|
|
1596
|
+
# The description of the consent portal.
|
|
1597
|
+
#
|
|
1598
|
+
# @option params [Hash<String,String>] :tags
|
|
1599
|
+
# A map of tag keys and values to assign to the consent portal. Tags
|
|
1600
|
+
# enable you to categorize your resources in different ways, for
|
|
1601
|
+
# example, by purpose, owner, or environment.
|
|
1602
|
+
#
|
|
1603
|
+
# @return [Types::CreateConsentPortalResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1604
|
+
#
|
|
1605
|
+
# * {Types::CreateConsentPortalResponse#sources #sources} => Array<Types::ConsentPortalSource>
|
|
1606
|
+
# * {Types::CreateConsentPortalResponse#consent_portal_arn #consent_portal_arn} => String
|
|
1607
|
+
# * {Types::CreateConsentPortalResponse#consent_portal_id #consent_portal_id} => String
|
|
1608
|
+
# * {Types::CreateConsentPortalResponse#created_at #created_at} => Time
|
|
1609
|
+
# * {Types::CreateConsentPortalResponse#description #description} => String
|
|
1610
|
+
# * {Types::CreateConsentPortalResponse#execution_role_arn #execution_role_arn} => String
|
|
1611
|
+
# * {Types::CreateConsentPortalResponse#idp_config #idp_config} => Types::ConsentPortalIdpConfig
|
|
1612
|
+
# * {Types::CreateConsentPortalResponse#name #name} => String
|
|
1613
|
+
# * {Types::CreateConsentPortalResponse#portal_url #portal_url} => String
|
|
1614
|
+
# * {Types::CreateConsentPortalResponse#status #status} => String
|
|
1615
|
+
# * {Types::CreateConsentPortalResponse#status_reason #status_reason} => String
|
|
1616
|
+
# * {Types::CreateConsentPortalResponse#updated_at #updated_at} => Time
|
|
1617
|
+
#
|
|
1618
|
+
# @example Request syntax with placeholder values
|
|
1619
|
+
#
|
|
1620
|
+
# resp = client.create_consent_portal({
|
|
1621
|
+
# execution_role_arn: "ExecutionRoleArnType", # required
|
|
1622
|
+
# idp_config: { # required
|
|
1623
|
+
# credential_provider_arn: "OAuth2CredentialProviderArn", # required
|
|
1624
|
+
# scopes: ["AllowedScopeType"], # required
|
|
1625
|
+
# audience: "AllowedAudienceType",
|
|
1626
|
+
# },
|
|
1627
|
+
# name: "ConsentPortalNameType", # required
|
|
1628
|
+
# sources: [ # required
|
|
1629
|
+
# {
|
|
1630
|
+
# identifier: "ConsentPortalSourceIdentifierType", # required
|
|
1631
|
+
# type: "agentcore-gateway", # required, accepts agentcore-gateway
|
|
1632
|
+
# },
|
|
1633
|
+
# ],
|
|
1634
|
+
# description: "ConsentPortalDescriptionType",
|
|
1635
|
+
# tags: {
|
|
1636
|
+
# "TagKey" => "TagValue",
|
|
1637
|
+
# },
|
|
1638
|
+
# })
|
|
1639
|
+
#
|
|
1640
|
+
# @example Response structure
|
|
1641
|
+
#
|
|
1642
|
+
# resp.sources #=> Array
|
|
1643
|
+
# resp.sources[0].identifier #=> String
|
|
1644
|
+
# resp.sources[0].type #=> String, one of "agentcore-gateway"
|
|
1645
|
+
# resp.consent_portal_arn #=> String
|
|
1646
|
+
# resp.consent_portal_id #=> String
|
|
1647
|
+
# resp.created_at #=> Time
|
|
1648
|
+
# resp.description #=> String
|
|
1649
|
+
# resp.execution_role_arn #=> String
|
|
1650
|
+
# resp.idp_config.credential_provider_arn #=> String
|
|
1651
|
+
# resp.idp_config.scopes #=> Array
|
|
1652
|
+
# resp.idp_config.scopes[0] #=> String
|
|
1653
|
+
# resp.idp_config.audience #=> String
|
|
1654
|
+
# resp.name #=> String
|
|
1655
|
+
# resp.portal_url #=> String
|
|
1656
|
+
# resp.status #=> String, one of "CREATING", "ACTIVE", "UPDATING", "UPDATE_FAILED", "DELETING", "FAILED"
|
|
1657
|
+
# resp.status_reason #=> String
|
|
1658
|
+
# resp.updated_at #=> Time
|
|
1659
|
+
#
|
|
1660
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/CreateConsentPortal AWS API Documentation
|
|
1661
|
+
#
|
|
1662
|
+
# @overload create_consent_portal(params = {})
|
|
1663
|
+
# @param [Hash] params ({})
|
|
1664
|
+
def create_consent_portal(params = {}, options = {})
|
|
1665
|
+
req = build_request(:create_consent_portal, params)
|
|
1666
|
+
req.send_request(options)
|
|
1667
|
+
end
|
|
1668
|
+
|
|
1577
1669
|
# Creates a new dataset resource asynchronously. Returns immediately
|
|
1578
1670
|
# with status CREATING. Poll `GetDataset` until status transitions to
|
|
1579
1671
|
# ACTIVE or CREATE\_FAILED.
|
|
@@ -4378,6 +4470,10 @@ module Aws::BedrockAgentCoreControl
|
|
|
4378
4470
|
# Configuration for periodic batch evaluation clustering of insight
|
|
4379
4471
|
# results.
|
|
4380
4472
|
#
|
|
4473
|
+
# @option params [Types::OutputConfig] :output_config
|
|
4474
|
+
# The configuration that specifies where evaluation results should be
|
|
4475
|
+
# written for monitoring and analysis.
|
|
4476
|
+
#
|
|
4381
4477
|
# @option params [required, String] :evaluation_execution_role_arn
|
|
4382
4478
|
# The Amazon Resource Name (ARN) of the IAM role that grants permissions
|
|
4383
4479
|
# to read from CloudWatch logs, write evaluation results, and invoke
|
|
@@ -4437,7 +4533,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
4437
4533
|
# },
|
|
4438
4534
|
# data_source_config: { # required
|
|
4439
4535
|
# cloud_watch_logs: {
|
|
4440
|
-
# log_group_names: ["LogGroupName"],
|
|
4536
|
+
# log_group_names: ["LogGroupName"],
|
|
4537
|
+
# log_group_name_prefixes: ["LogGroupNamePrefix"],
|
|
4441
4538
|
# service_names: ["ServiceName"], # required
|
|
4442
4539
|
# },
|
|
4443
4540
|
# },
|
|
@@ -4454,6 +4551,13 @@ module Aws::BedrockAgentCoreControl
|
|
|
4454
4551
|
# clustering_config: {
|
|
4455
4552
|
# frequencies: ["DAILY"], # required, accepts DAILY, WEEKLY, MONTHLY
|
|
4456
4553
|
# },
|
|
4554
|
+
# output_config: {
|
|
4555
|
+
# cloud_watch_config: { # required
|
|
4556
|
+
# log_group_name: "OptionalLogGroupName",
|
|
4557
|
+
# metrics_namespace: "MetricsNamespace",
|
|
4558
|
+
# result_destination: "DEDICATED_LOG_GROUP", # accepts DEDICATED_LOG_GROUP, SOURCE_LOG_GROUP
|
|
4559
|
+
# },
|
|
4560
|
+
# },
|
|
4457
4561
|
# evaluation_execution_role_arn: "RoleArn", # required
|
|
4458
4562
|
# enable_on_create: false, # required
|
|
4459
4563
|
# tags: {
|
|
@@ -4467,6 +4571,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
4467
4571
|
# resp.online_evaluation_config_id #=> String
|
|
4468
4572
|
# resp.created_at #=> Time
|
|
4469
4573
|
# resp.output_config.cloud_watch_config.log_group_name #=> String
|
|
4574
|
+
# resp.output_config.cloud_watch_config.metrics_namespace #=> String
|
|
4575
|
+
# resp.output_config.cloud_watch_config.result_destination #=> String, one of "DEDICATED_LOG_GROUP", "SOURCE_LOG_GROUP"
|
|
4470
4576
|
# resp.status #=> String, one of "ACTIVE", "CREATING", "CREATE_FAILED", "UPDATING", "UPDATE_FAILED", "DELETING", "ERROR"
|
|
4471
4577
|
# resp.execution_status #=> String, one of "ENABLED", "DISABLED"
|
|
4472
4578
|
# resp.failure_reason #=> String
|
|
@@ -5780,6 +5886,29 @@ module Aws::BedrockAgentCoreControl
|
|
|
5780
5886
|
req.send_request(options)
|
|
5781
5887
|
end
|
|
5782
5888
|
|
|
5889
|
+
# Deletes a consent portal.
|
|
5890
|
+
#
|
|
5891
|
+
# @option params [required, String] :consent_portal_identifier
|
|
5892
|
+
# The identifier of the consent portal. You can specify either the
|
|
5893
|
+
# consent portal ID or its Amazon Resource Name (ARN).
|
|
5894
|
+
#
|
|
5895
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
5896
|
+
#
|
|
5897
|
+
# @example Request syntax with placeholder values
|
|
5898
|
+
#
|
|
5899
|
+
# resp = client.delete_consent_portal({
|
|
5900
|
+
# consent_portal_identifier: "ConsentPortalIdentifier", # required
|
|
5901
|
+
# })
|
|
5902
|
+
#
|
|
5903
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/DeleteConsentPortal AWS API Documentation
|
|
5904
|
+
#
|
|
5905
|
+
# @overload delete_consent_portal(params = {})
|
|
5906
|
+
# @param [Hash] params ({})
|
|
5907
|
+
def delete_consent_portal(params = {}, options = {})
|
|
5908
|
+
req = build_request(:delete_consent_portal, params)
|
|
5909
|
+
req.send_request(options)
|
|
5910
|
+
end
|
|
5911
|
+
|
|
5783
5912
|
# Deletes a dataset version or an entire dataset asynchronously. If
|
|
5784
5913
|
# `datasetVersion` is absent, deletes all versions and the dataset
|
|
5785
5914
|
# record itself. If provided, deletes only that specific version.
|
|
@@ -7355,6 +7484,62 @@ module Aws::BedrockAgentCoreControl
|
|
|
7355
7484
|
req.send_request(options)
|
|
7356
7485
|
end
|
|
7357
7486
|
|
|
7487
|
+
# Retrieves information about a consent portal.
|
|
7488
|
+
#
|
|
7489
|
+
# @option params [required, String] :consent_portal_identifier
|
|
7490
|
+
# The identifier of the consent portal. You can specify either the
|
|
7491
|
+
# consent portal ID or its Amazon Resource Name (ARN).
|
|
7492
|
+
#
|
|
7493
|
+
# @return [Types::GetConsentPortalResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
7494
|
+
#
|
|
7495
|
+
# * {Types::GetConsentPortalResponse#sources #sources} => Array<Types::ConsentPortalSource>
|
|
7496
|
+
# * {Types::GetConsentPortalResponse#consent_portal_arn #consent_portal_arn} => String
|
|
7497
|
+
# * {Types::GetConsentPortalResponse#consent_portal_id #consent_portal_id} => String
|
|
7498
|
+
# * {Types::GetConsentPortalResponse#created_at #created_at} => Time
|
|
7499
|
+
# * {Types::GetConsentPortalResponse#description #description} => String
|
|
7500
|
+
# * {Types::GetConsentPortalResponse#execution_role_arn #execution_role_arn} => String
|
|
7501
|
+
# * {Types::GetConsentPortalResponse#idp_config #idp_config} => Types::ConsentPortalIdpConfig
|
|
7502
|
+
# * {Types::GetConsentPortalResponse#name #name} => String
|
|
7503
|
+
# * {Types::GetConsentPortalResponse#portal_url #portal_url} => String
|
|
7504
|
+
# * {Types::GetConsentPortalResponse#status #status} => String
|
|
7505
|
+
# * {Types::GetConsentPortalResponse#status_reason #status_reason} => String
|
|
7506
|
+
# * {Types::GetConsentPortalResponse#updated_at #updated_at} => Time
|
|
7507
|
+
#
|
|
7508
|
+
# @example Request syntax with placeholder values
|
|
7509
|
+
#
|
|
7510
|
+
# resp = client.get_consent_portal({
|
|
7511
|
+
# consent_portal_identifier: "ConsentPortalIdentifier", # required
|
|
7512
|
+
# })
|
|
7513
|
+
#
|
|
7514
|
+
# @example Response structure
|
|
7515
|
+
#
|
|
7516
|
+
# resp.sources #=> Array
|
|
7517
|
+
# resp.sources[0].identifier #=> String
|
|
7518
|
+
# resp.sources[0].type #=> String, one of "agentcore-gateway"
|
|
7519
|
+
# resp.consent_portal_arn #=> String
|
|
7520
|
+
# resp.consent_portal_id #=> String
|
|
7521
|
+
# resp.created_at #=> Time
|
|
7522
|
+
# resp.description #=> String
|
|
7523
|
+
# resp.execution_role_arn #=> String
|
|
7524
|
+
# resp.idp_config.credential_provider_arn #=> String
|
|
7525
|
+
# resp.idp_config.scopes #=> Array
|
|
7526
|
+
# resp.idp_config.scopes[0] #=> String
|
|
7527
|
+
# resp.idp_config.audience #=> String
|
|
7528
|
+
# resp.name #=> String
|
|
7529
|
+
# resp.portal_url #=> String
|
|
7530
|
+
# resp.status #=> String, one of "CREATING", "ACTIVE", "UPDATING", "UPDATE_FAILED", "DELETING", "FAILED"
|
|
7531
|
+
# resp.status_reason #=> String
|
|
7532
|
+
# resp.updated_at #=> Time
|
|
7533
|
+
#
|
|
7534
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/GetConsentPortal AWS API Documentation
|
|
7535
|
+
#
|
|
7536
|
+
# @overload get_consent_portal(params = {})
|
|
7537
|
+
# @param [Hash] params ({})
|
|
7538
|
+
def get_consent_portal(params = {}, options = {})
|
|
7539
|
+
req = build_request(:get_consent_portal, params)
|
|
7540
|
+
req.send_request(options)
|
|
7541
|
+
end
|
|
7542
|
+
|
|
7358
7543
|
# Retrieves dataset metadata. Use the `datasetVersion` query parameter
|
|
7359
7544
|
# to retrieve a specific version's metadata. If absent, defaults to
|
|
7360
7545
|
# DRAFT. For paginated example content, use `ListDatasetExamples`.
|
|
@@ -8525,6 +8710,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
8525
8710
|
# resp.rule.session_config.session_timeout_minutes #=> Integer
|
|
8526
8711
|
# resp.data_source_config.cloud_watch_logs.log_group_names #=> Array
|
|
8527
8712
|
# resp.data_source_config.cloud_watch_logs.log_group_names[0] #=> String
|
|
8713
|
+
# resp.data_source_config.cloud_watch_logs.log_group_name_prefixes #=> Array
|
|
8714
|
+
# resp.data_source_config.cloud_watch_logs.log_group_name_prefixes[0] #=> String
|
|
8528
8715
|
# resp.data_source_config.cloud_watch_logs.service_names #=> Array
|
|
8529
8716
|
# resp.data_source_config.cloud_watch_logs.service_names[0] #=> String
|
|
8530
8717
|
# resp.evaluators #=> Array
|
|
@@ -8534,6 +8721,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
8534
8721
|
# resp.clustering_config.frequencies #=> Array
|
|
8535
8722
|
# resp.clustering_config.frequencies[0] #=> String, one of "DAILY", "WEEKLY", "MONTHLY"
|
|
8536
8723
|
# resp.output_config.cloud_watch_config.log_group_name #=> String
|
|
8724
|
+
# resp.output_config.cloud_watch_config.metrics_namespace #=> String
|
|
8725
|
+
# resp.output_config.cloud_watch_config.result_destination #=> String, one of "DEDICATED_LOG_GROUP", "SOURCE_LOG_GROUP"
|
|
8537
8726
|
# resp.evaluation_execution_role_arn #=> String
|
|
8538
8727
|
# resp.status #=> String, one of "ACTIVE", "CREATING", "CREATE_FAILED", "UPDATING", "UPDATE_FAILED", "DELETING", "ERROR"
|
|
8539
8728
|
# resp.execution_status #=> String, one of "ENABLED", "DISABLED"
|
|
@@ -9918,6 +10107,54 @@ module Aws::BedrockAgentCoreControl
|
|
|
9918
10107
|
req.send_request(options)
|
|
9919
10108
|
end
|
|
9920
10109
|
|
|
10110
|
+
# Lists all of the consent portals in your account.
|
|
10111
|
+
#
|
|
10112
|
+
# @option params [Integer] :max_results
|
|
10113
|
+
# The maximum number of consent portals to return in a single call.
|
|
10114
|
+
#
|
|
10115
|
+
# @option params [String] :next_token
|
|
10116
|
+
# A token to retrieve the next page of results. Use the value returned
|
|
10117
|
+
# in a previous response to request the next page.
|
|
10118
|
+
#
|
|
10119
|
+
# @return [Types::ListConsentPortalsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
10120
|
+
#
|
|
10121
|
+
# * {Types::ListConsentPortalsResponse#consent_portals #consent_portals} => Array<Types::ConsentPortalSummary>
|
|
10122
|
+
# * {Types::ListConsentPortalsResponse#next_token #next_token} => String
|
|
10123
|
+
#
|
|
10124
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
10125
|
+
#
|
|
10126
|
+
# @example Request syntax with placeholder values
|
|
10127
|
+
#
|
|
10128
|
+
# resp = client.list_consent_portals({
|
|
10129
|
+
# max_results: 1,
|
|
10130
|
+
# next_token: "String",
|
|
10131
|
+
# })
|
|
10132
|
+
#
|
|
10133
|
+
# @example Response structure
|
|
10134
|
+
#
|
|
10135
|
+
# resp.consent_portals #=> Array
|
|
10136
|
+
# resp.consent_portals[0].sources #=> Array
|
|
10137
|
+
# resp.consent_portals[0].sources[0].identifier #=> String
|
|
10138
|
+
# resp.consent_portals[0].sources[0].type #=> String, one of "agentcore-gateway"
|
|
10139
|
+
# resp.consent_portals[0].consent_portal_arn #=> String
|
|
10140
|
+
# resp.consent_portals[0].consent_portal_id #=> String
|
|
10141
|
+
# resp.consent_portals[0].created_at #=> Time
|
|
10142
|
+
# resp.consent_portals[0].description #=> String
|
|
10143
|
+
# resp.consent_portals[0].name #=> String
|
|
10144
|
+
# resp.consent_portals[0].portal_url #=> String
|
|
10145
|
+
# resp.consent_portals[0].status #=> String, one of "CREATING", "ACTIVE", "UPDATING", "UPDATE_FAILED", "DELETING", "FAILED"
|
|
10146
|
+
# resp.consent_portals[0].updated_at #=> Time
|
|
10147
|
+
# resp.next_token #=> String
|
|
10148
|
+
#
|
|
10149
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/ListConsentPortals AWS API Documentation
|
|
10150
|
+
#
|
|
10151
|
+
# @overload list_consent_portals(params = {})
|
|
10152
|
+
# @param [Hash] params ({})
|
|
10153
|
+
def list_consent_portals(params = {}, options = {})
|
|
10154
|
+
req = build_request(:list_consent_portals, params)
|
|
10155
|
+
req.send_request(options)
|
|
10156
|
+
end
|
|
10157
|
+
|
|
9921
10158
|
# Returns paginated examples from the dataset. The server embeds the
|
|
9922
10159
|
# resolved version in the pagination token. Once pagination begins, all
|
|
9923
10160
|
# subsequent pages are pinned to that version regardless of concurrent
|
|
@@ -12416,6 +12653,80 @@ module Aws::BedrockAgentCoreControl
|
|
|
12416
12653
|
req.send_request(options)
|
|
12417
12654
|
end
|
|
12418
12655
|
|
|
12656
|
+
# Updates an existing consent portal.
|
|
12657
|
+
#
|
|
12658
|
+
# @option params [required, String] :consent_portal_identifier
|
|
12659
|
+
# The identifier of the consent portal. You can specify either the
|
|
12660
|
+
# consent portal ID or its Amazon Resource Name (ARN).
|
|
12661
|
+
#
|
|
12662
|
+
# @option params [String] :execution_role_arn
|
|
12663
|
+
# The Amazon Resource Name (ARN) of the IAM role that the consent portal
|
|
12664
|
+
# assumes to access the resources defined in its sources.
|
|
12665
|
+
#
|
|
12666
|
+
# @option params [Types::ConsentPortalIdpConfig] :idp_config
|
|
12667
|
+
# The identity provider configuration that the consent portal uses to
|
|
12668
|
+
# authenticate end users.
|
|
12669
|
+
#
|
|
12670
|
+
# @option params [String] :description
|
|
12671
|
+
# The description of the consent portal.
|
|
12672
|
+
#
|
|
12673
|
+
# @return [Types::UpdateConsentPortalResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
12674
|
+
#
|
|
12675
|
+
# * {Types::UpdateConsentPortalResponse#sources #sources} => Array<Types::ConsentPortalSource>
|
|
12676
|
+
# * {Types::UpdateConsentPortalResponse#consent_portal_arn #consent_portal_arn} => String
|
|
12677
|
+
# * {Types::UpdateConsentPortalResponse#consent_portal_id #consent_portal_id} => String
|
|
12678
|
+
# * {Types::UpdateConsentPortalResponse#created_at #created_at} => Time
|
|
12679
|
+
# * {Types::UpdateConsentPortalResponse#description #description} => String
|
|
12680
|
+
# * {Types::UpdateConsentPortalResponse#execution_role_arn #execution_role_arn} => String
|
|
12681
|
+
# * {Types::UpdateConsentPortalResponse#idp_config #idp_config} => Types::ConsentPortalIdpConfig
|
|
12682
|
+
# * {Types::UpdateConsentPortalResponse#name #name} => String
|
|
12683
|
+
# * {Types::UpdateConsentPortalResponse#portal_url #portal_url} => String
|
|
12684
|
+
# * {Types::UpdateConsentPortalResponse#status #status} => String
|
|
12685
|
+
# * {Types::UpdateConsentPortalResponse#status_reason #status_reason} => String
|
|
12686
|
+
# * {Types::UpdateConsentPortalResponse#updated_at #updated_at} => Time
|
|
12687
|
+
#
|
|
12688
|
+
# @example Request syntax with placeholder values
|
|
12689
|
+
#
|
|
12690
|
+
# resp = client.update_consent_portal({
|
|
12691
|
+
# consent_portal_identifier: "ConsentPortalIdentifier", # required
|
|
12692
|
+
# execution_role_arn: "ExecutionRoleArnType",
|
|
12693
|
+
# idp_config: {
|
|
12694
|
+
# credential_provider_arn: "OAuth2CredentialProviderArn", # required
|
|
12695
|
+
# scopes: ["AllowedScopeType"], # required
|
|
12696
|
+
# audience: "AllowedAudienceType",
|
|
12697
|
+
# },
|
|
12698
|
+
# description: "ConsentPortalDescriptionType",
|
|
12699
|
+
# })
|
|
12700
|
+
#
|
|
12701
|
+
# @example Response structure
|
|
12702
|
+
#
|
|
12703
|
+
# resp.sources #=> Array
|
|
12704
|
+
# resp.sources[0].identifier #=> String
|
|
12705
|
+
# resp.sources[0].type #=> String, one of "agentcore-gateway"
|
|
12706
|
+
# resp.consent_portal_arn #=> String
|
|
12707
|
+
# resp.consent_portal_id #=> String
|
|
12708
|
+
# resp.created_at #=> Time
|
|
12709
|
+
# resp.description #=> String
|
|
12710
|
+
# resp.execution_role_arn #=> String
|
|
12711
|
+
# resp.idp_config.credential_provider_arn #=> String
|
|
12712
|
+
# resp.idp_config.scopes #=> Array
|
|
12713
|
+
# resp.idp_config.scopes[0] #=> String
|
|
12714
|
+
# resp.idp_config.audience #=> String
|
|
12715
|
+
# resp.name #=> String
|
|
12716
|
+
# resp.portal_url #=> String
|
|
12717
|
+
# resp.status #=> String, one of "CREATING", "ACTIVE", "UPDATING", "UPDATE_FAILED", "DELETING", "FAILED"
|
|
12718
|
+
# resp.status_reason #=> String
|
|
12719
|
+
# resp.updated_at #=> Time
|
|
12720
|
+
#
|
|
12721
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/UpdateConsentPortal AWS API Documentation
|
|
12722
|
+
#
|
|
12723
|
+
# @overload update_consent_portal(params = {})
|
|
12724
|
+
# @param [Hash] params ({})
|
|
12725
|
+
def update_consent_portal(params = {}, options = {})
|
|
12726
|
+
req = build_request(:update_consent_portal, params)
|
|
12727
|
+
req.send_request(options)
|
|
12728
|
+
end
|
|
12729
|
+
|
|
12419
12730
|
# Updates a dataset's metadata. Synchronous operation. Only provided
|
|
12420
12731
|
# fields are updated; omitted fields remain unchanged. To modify dataset
|
|
12421
12732
|
# content, use `AddDatasetExamples`, `UpdateDatasetExamples`, or
|
|
@@ -15271,6 +15582,10 @@ module Aws::BedrockAgentCoreControl
|
|
|
15271
15582
|
# @option params [Types::ClusteringConfig] :clustering_config
|
|
15272
15583
|
# The updated clustering configuration for periodic batch evaluation.
|
|
15273
15584
|
#
|
|
15585
|
+
# @option params [Types::OutputConfig] :output_config
|
|
15586
|
+
# The configuration that specifies where evaluation results should be
|
|
15587
|
+
# written for monitoring and analysis.
|
|
15588
|
+
#
|
|
15274
15589
|
# @option params [String] :evaluation_execution_role_arn
|
|
15275
15590
|
# The updated Amazon Resource Name (ARN) of the IAM role used for
|
|
15276
15591
|
# evaluation execution.
|
|
@@ -15315,7 +15630,8 @@ module Aws::BedrockAgentCoreControl
|
|
|
15315
15630
|
# },
|
|
15316
15631
|
# data_source_config: {
|
|
15317
15632
|
# cloud_watch_logs: {
|
|
15318
|
-
# log_group_names: ["LogGroupName"],
|
|
15633
|
+
# log_group_names: ["LogGroupName"],
|
|
15634
|
+
# log_group_name_prefixes: ["LogGroupNamePrefix"],
|
|
15319
15635
|
# service_names: ["ServiceName"], # required
|
|
15320
15636
|
# },
|
|
15321
15637
|
# },
|
|
@@ -15332,6 +15648,13 @@ module Aws::BedrockAgentCoreControl
|
|
|
15332
15648
|
# clustering_config: {
|
|
15333
15649
|
# frequencies: ["DAILY"], # required, accepts DAILY, WEEKLY, MONTHLY
|
|
15334
15650
|
# },
|
|
15651
|
+
# output_config: {
|
|
15652
|
+
# cloud_watch_config: { # required
|
|
15653
|
+
# log_group_name: "OptionalLogGroupName",
|
|
15654
|
+
# metrics_namespace: "MetricsNamespace",
|
|
15655
|
+
# result_destination: "DEDICATED_LOG_GROUP", # accepts DEDICATED_LOG_GROUP, SOURCE_LOG_GROUP
|
|
15656
|
+
# },
|
|
15657
|
+
# },
|
|
15335
15658
|
# evaluation_execution_role_arn: "RoleArn",
|
|
15336
15659
|
# execution_status: "ENABLED", # accepts ENABLED, DISABLED
|
|
15337
15660
|
# })
|
|
@@ -16361,7 +16684,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
16361
16684
|
tracer: tracer
|
|
16362
16685
|
)
|
|
16363
16686
|
context[:gem_name] = 'aws-sdk-bedrockagentcorecontrol'
|
|
16364
|
-
context[:gem_version] = '1.
|
|
16687
|
+
context[:gem_version] = '1.69.0'
|
|
16365
16688
|
Seahorse::Client::Request.new(handlers, context)
|
|
16366
16689
|
end
|
|
16367
16690
|
|