aws-sdk-bedrockagentcorecontrol 1.67.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrockagentcorecontrol/client.rb +360 -37
- data/lib/aws-sdk-bedrockagentcorecontrol/client_api.rb +219 -3
- data/lib/aws-sdk-bedrockagentcorecontrol/types.rb +546 -46
- data/lib/aws-sdk-bedrockagentcorecontrol.rb +1 -1
- data/sig/client.rbs +124 -3
- 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,16 @@
|
|
|
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
|
+
|
|
9
|
+
1.68.0 (2026-09-01)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Online evaluation configurations now support up to 25 evaluators. CloudWatch Logs data sources for online evaluation now support up to 10 log groups.
|
|
13
|
+
|
|
4
14
|
1.67.0 (2026-08-21)
|
|
5
15
|
------------------
|
|
6
16
|
|
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
|
|
@@ -4891,15 +4997,15 @@ module Aws::BedrockAgentCoreControl
|
|
|
4891
4997
|
|
|
4892
4998
|
# Creates a policy within the AgentCore Policy system. Policies provide
|
|
4893
4999
|
# real-time, deterministic control over agentic interactions with
|
|
4894
|
-
# AgentCore Gateway. Using
|
|
4895
|
-
#
|
|
4896
|
-
#
|
|
4897
|
-
#
|
|
4898
|
-
#
|
|
4899
|
-
#
|
|
4900
|
-
#
|
|
4901
|
-
#
|
|
4902
|
-
#
|
|
5000
|
+
# AgentCore Gateway. Using Cedar or Dogwood, you can define fine-grained
|
|
5001
|
+
# policies that specify which interactions with Gateway tools are
|
|
5002
|
+
# permitted based on input parameters and OAuth claims, ensuring agents
|
|
5003
|
+
# operate within defined boundaries and business rules. The policy is
|
|
5004
|
+
# validated during creation against the Cedar schema generated from the
|
|
5005
|
+
# Gateway's tools' input schemas, which defines the available tools,
|
|
5006
|
+
# their parameters, and expected data types. This is an asynchronous
|
|
5007
|
+
# operation. Use the [GetPolicy][1] operation to poll the `status` field
|
|
5008
|
+
# to track completion.
|
|
4903
5009
|
#
|
|
4904
5010
|
# If the new policy is a temporal policy, creating it invalidates the
|
|
4905
5011
|
# policy engine's active temporal sessions. For more information about
|
|
@@ -4919,10 +5025,10 @@ module Aws::BedrockAgentCoreControl
|
|
|
4919
5025
|
# cannot be changed after creation.
|
|
4920
5026
|
#
|
|
4921
5027
|
# @option params [required, Types::PolicyDefinition] :definition
|
|
4922
|
-
# The Cedar policy statement that defines the access control
|
|
4923
|
-
# contains the actual policy logic written in Cedar
|
|
4924
|
-
# specifying effect (permit or forbid), principals, actions,
|
|
4925
|
-
# and conditions for agent behavior control.
|
|
5028
|
+
# The Cedar or Dogwood policy statement that defines the access control
|
|
5029
|
+
# rules. This contains the actual policy logic written in Cedar or
|
|
5030
|
+
# Dogwood, specifying effect (permit or forbid), principals, actions,
|
|
5031
|
+
# resources, and conditions for agent behavior control.
|
|
4926
5032
|
#
|
|
4927
5033
|
# @option params [String] :description
|
|
4928
5034
|
# A human-readable description of the policy's purpose and
|
|
@@ -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"
|
|
@@ -8921,7 +9110,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
8921
9110
|
|
|
8922
9111
|
# Retrieves information about a policy generation request within the
|
|
8923
9112
|
# AgentCore Policy system. Policy generation converts natural language
|
|
8924
|
-
# descriptions into
|
|
9113
|
+
# descriptions into Dogwood policy statements using AI-powered
|
|
8925
9114
|
# translation, enabling non-technical users to create policies.
|
|
8926
9115
|
#
|
|
8927
9116
|
# @option params [required, String] :policy_generation_id
|
|
@@ -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
|
|
@@ -10975,9 +11212,9 @@ module Aws::BedrockAgentCoreControl
|
|
|
10975
11212
|
|
|
10976
11213
|
# Retrieves a list of generated policy assets from a policy generation
|
|
10977
11214
|
# request within the AgentCore Policy system. This operation returns the
|
|
10978
|
-
# actual
|
|
10979
|
-
# policy generation process, allowing users to review and
|
|
10980
|
-
# multiple generated policy options.
|
|
11215
|
+
# actual Dogwood policies and related artifacts produced by the
|
|
11216
|
+
# AI-powered policy generation process, allowing users to review and
|
|
11217
|
+
# select from multiple generated policy options.
|
|
10981
11218
|
#
|
|
10982
11219
|
# @option params [required, String] :policy_generation_id
|
|
10983
11220
|
# The unique identifier of the policy generation request whose assets
|
|
@@ -11532,20 +11769,20 @@ module Aws::BedrockAgentCoreControl
|
|
|
11532
11769
|
req.send_request(options)
|
|
11533
11770
|
end
|
|
11534
11771
|
|
|
11535
|
-
# Initiates the AI-powered generation of
|
|
11772
|
+
# Initiates the AI-powered generation of Dogwood policies from natural
|
|
11536
11773
|
# language descriptions within the AgentCore Policy system. This feature
|
|
11537
11774
|
# enables both technical and non-technical users to create policies by
|
|
11538
11775
|
# describing their authorization requirements in plain English, which is
|
|
11539
|
-
# then automatically translated into formal
|
|
11540
|
-
# generation process analyzes the natural language input along with
|
|
11541
|
-
# Gateway's tool context to produce validated policy options.
|
|
11542
|
-
# policy assets are automatically deleted after 7 days, so you
|
|
11543
|
-
# review and create policies from the generated assets within
|
|
11544
|
-
# timeframe. Once created, policies are permanent and not subject
|
|
11545
|
-
# this expiration. Generated policies should be reviewed and tested
|
|
11546
|
-
# log-only mode before deploying to production. Use this when you
|
|
11547
|
-
# to describe policy intent naturally rather than learning
|
|
11548
|
-
# though generated policies may require refinement for complex
|
|
11776
|
+
# then automatically translated into formal Dogwood policy statements.
|
|
11777
|
+
# The generation process analyzes the natural language input along with
|
|
11778
|
+
# the Gateway's tool context to produce validated policy options.
|
|
11779
|
+
# Generated policy assets are automatically deleted after 7 days, so you
|
|
11780
|
+
# should review and create policies from the generated assets within
|
|
11781
|
+
# this timeframe. Once created, policies are permanent and not subject
|
|
11782
|
+
# to this expiration. Generated policies should be reviewed and tested
|
|
11783
|
+
# in log-only mode before deploying to production. Use this when you
|
|
11784
|
+
# want to describe policy intent naturally rather than learning Dogwood
|
|
11785
|
+
# syntax, though generated policies may require refinement for complex
|
|
11549
11786
|
# scenarios.
|
|
11550
11787
|
#
|
|
11551
11788
|
# @option params [required, String] :policy_engine_id
|
|
@@ -11560,7 +11797,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
11560
11797
|
#
|
|
11561
11798
|
# @option params [required, Types::Content] :content
|
|
11562
11799
|
# The natural language description of the desired policy behavior. This
|
|
11563
|
-
# content is processed by AI to generate corresponding
|
|
11800
|
+
# content is processed by AI to generate corresponding Dogwood policy
|
|
11564
11801
|
# statements that match the described intent.
|
|
11565
11802
|
#
|
|
11566
11803
|
# @option params [required, String] :name
|
|
@@ -12347,7 +12584,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
12347
12584
|
# The updated component configurations. Creates a new version of the
|
|
12348
12585
|
# bundle.
|
|
12349
12586
|
#
|
|
12350
|
-
# @option params [Array<String>] :parent_version_ids
|
|
12587
|
+
# @option params [required, Array<String>] :parent_version_ids
|
|
12351
12588
|
# A list of parent version identifiers for lineage tracking. Regular
|
|
12352
12589
|
# commits have a single parent. Merge commits have two parents: the
|
|
12353
12590
|
# target branch parent and the source branch parent. If the branch
|
|
@@ -12390,7 +12627,7 @@ module Aws::BedrockAgentCoreControl
|
|
|
12390
12627
|
# },
|
|
12391
12628
|
# },
|
|
12392
12629
|
# },
|
|
12393
|
-
# parent_version_ids: ["ConfigurationBundleVersion"],
|
|
12630
|
+
# parent_version_ids: ["ConfigurationBundleVersion"], # required
|
|
12394
12631
|
# branch_name: "BranchName",
|
|
12395
12632
|
# commit_message: "UpdateConfigurationBundleRequestCommitMessageString",
|
|
12396
12633
|
# created_by: {
|
|
@@ -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
|
# })
|
|
@@ -15716,9 +16039,9 @@ module Aws::BedrockAgentCoreControl
|
|
|
15716
16039
|
# policy logic.
|
|
15717
16040
|
#
|
|
15718
16041
|
# @option params [Types::PolicyDefinition] :definition
|
|
15719
|
-
# The new Cedar policy statement that defines the access
|
|
15720
|
-
# This replaces the existing policy definition with new
|
|
15721
|
-
# maintaining the policy's identity.
|
|
16042
|
+
# The new Cedar or Dogwood policy statement that defines the access
|
|
16043
|
+
# control rules. This replaces the existing policy definition with new
|
|
16044
|
+
# logic while maintaining the policy's identity.
|
|
15722
16045
|
#
|
|
15723
16046
|
# @option params [String] :validation_mode
|
|
15724
16047
|
# The validation mode for the policy update. Determines how Cedar
|
|
@@ -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
|
|