aws-sdk-bedrockagent 1.84.0 → 1.85.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-bedrockagent/client.rb +280 -1
- data/lib/aws-sdk-bedrockagent/client_api.rb +166 -0
- data/lib/aws-sdk-bedrockagent/types.rb +434 -0
- data/lib/aws-sdk-bedrockagent.rb +1 -1
- data/sig/client.rbs +59 -0
- data/sig/types.rbs +95 -0
- metadata +1 -1
|
@@ -1321,6 +1321,15 @@ module Aws::BedrockAgent
|
|
|
1321
1321
|
# The fields that this object accepts depend on the embedding model.
|
|
1322
1322
|
# For the settings that each model accepts, see the documentation for
|
|
1323
1323
|
# that model.
|
|
1324
|
+
#
|
|
1325
|
+
# For an example of a [CreateKnowledgeBase][1] request that uses this
|
|
1326
|
+
# field to configure a multimodal embedding model, see the
|
|
1327
|
+
# [Examples][2] section of [CreateKnowledgeBase][1].
|
|
1328
|
+
#
|
|
1329
|
+
#
|
|
1330
|
+
#
|
|
1331
|
+
# [1]: https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_CreateKnowledgeBase.html
|
|
1332
|
+
# [2]: https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_CreateKnowledgeBase.html#API_agent_CreateKnowledgeBase_Examples
|
|
1324
1333
|
# @return [Hash,Array,String,Numeric,Boolean]
|
|
1325
1334
|
#
|
|
1326
1335
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/BedrockEmbeddingModelConfiguration AWS API Documentation
|
|
@@ -2857,6 +2866,145 @@ module Aws::BedrockAgent
|
|
|
2857
2866
|
include Aws::Structure
|
|
2858
2867
|
end
|
|
2859
2868
|
|
|
2869
|
+
# @!attribute [rw] knowledge_base_id
|
|
2870
|
+
# The unique identifier of the knowledge base to associate this VPC
|
|
2871
|
+
# configuration with.
|
|
2872
|
+
# @return [String]
|
|
2873
|
+
#
|
|
2874
|
+
# @!attribute [rw] client_token
|
|
2875
|
+
# A unique, case-sensitive identifier to ensure that the operation
|
|
2876
|
+
# completes no more than one time. If this token matches a previous
|
|
2877
|
+
# request, the service ignores the request but does not return an
|
|
2878
|
+
# error.
|
|
2879
|
+
#
|
|
2880
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
2881
|
+
# not need to pass this option.
|
|
2882
|
+
# @return [String]
|
|
2883
|
+
#
|
|
2884
|
+
# @!attribute [rw] vpc_id
|
|
2885
|
+
# The identifier of the VPC that the knowledge base connects through
|
|
2886
|
+
# to reach the resource.
|
|
2887
|
+
# @return [String]
|
|
2888
|
+
#
|
|
2889
|
+
# @!attribute [rw] subnet_ids
|
|
2890
|
+
# The subnets, in the VPC identified by `vpcId`, that the knowledge
|
|
2891
|
+
# base uses to connect to the resource.
|
|
2892
|
+
# @return [Array<String>]
|
|
2893
|
+
#
|
|
2894
|
+
# @!attribute [rw] resource_target
|
|
2895
|
+
# The private IPv4 address or DNS name of the resource you want the
|
|
2896
|
+
# knowledge base to reach. The target must be privately reachable from
|
|
2897
|
+
# inside your VPC, such as an internal load balancer or a private IP.
|
|
2898
|
+
# The following are not supported:
|
|
2899
|
+
#
|
|
2900
|
+
# * Internet-facing endpoints
|
|
2901
|
+
#
|
|
2902
|
+
# * Loopback addresses
|
|
2903
|
+
#
|
|
2904
|
+
# * Link-local addresses
|
|
2905
|
+
#
|
|
2906
|
+
# * Wildcard addresses
|
|
2907
|
+
#
|
|
2908
|
+
# * Multicast addresses
|
|
2909
|
+
#
|
|
2910
|
+
# * IPv6 literals
|
|
2911
|
+
# @return [String]
|
|
2912
|
+
#
|
|
2913
|
+
# @!attribute [rw] port
|
|
2914
|
+
# The port on which to reach the resource.
|
|
2915
|
+
# @return [Integer]
|
|
2916
|
+
#
|
|
2917
|
+
# @!attribute [rw] protocol
|
|
2918
|
+
# The protocol used to connect to the resource. Specify `HTTP` for
|
|
2919
|
+
# plaintext or `HTTPS` for TLS. When you specify `HTTPS`, you must
|
|
2920
|
+
# also provide `tlsServerName`.
|
|
2921
|
+
# @return [String]
|
|
2922
|
+
#
|
|
2923
|
+
# @!attribute [rw] resolution_mode
|
|
2924
|
+
# Controls how a domain-name `resourceTarget` is resolved. This
|
|
2925
|
+
# applies only when the target is a domain name; it has no effect for
|
|
2926
|
+
# IP-address targets, which have no name to resolve. In all cases the
|
|
2927
|
+
# resolved address must be reachable from inside your VPC. Valid
|
|
2928
|
+
# values:
|
|
2929
|
+
#
|
|
2930
|
+
# * `IN_VPC` (default, recommended) – The target domain name is
|
|
2931
|
+
# resolved privately, using the DNS resolvers of the VPC, such as
|
|
2932
|
+
# private Route 53 hosted zones or on-premises DNS reachable from
|
|
2933
|
+
# the VPC. Use this for targets that are private to your VPC, such
|
|
2934
|
+
# as internal load balancers, private hosted-zone names, or
|
|
2935
|
+
# on-premises hosts.
|
|
2936
|
+
#
|
|
2937
|
+
# * `PUBLIC` – The target domain name is resolved against public DNS
|
|
2938
|
+
# resolvers. Select this only when the target's domain name must be
|
|
2939
|
+
# resolved through public DNS and the resulting address is still
|
|
2940
|
+
# reachable from the VPC, an uncommon split-horizon configuration.
|
|
2941
|
+
# If you are unsure, use `IN_VPC`.
|
|
2942
|
+
# @return [String]
|
|
2943
|
+
#
|
|
2944
|
+
# @!attribute [rw] host_header
|
|
2945
|
+
# An optional HTTP `Host` header value to send when invoking the
|
|
2946
|
+
# resource. Set this only if your resource (or an upstream router or
|
|
2947
|
+
# ingress) routes by the `Host` header and that host differs from the
|
|
2948
|
+
# target. This setting is independent of `tlsServerName`.
|
|
2949
|
+
# @return [String]
|
|
2950
|
+
#
|
|
2951
|
+
# @!attribute [rw] tls_server_name
|
|
2952
|
+
# The expected TLS server name. The service matches this value against
|
|
2953
|
+
# the Subject Alternative Names on your resource's TLS certificate
|
|
2954
|
+
# during invocation. This field is required when `protocol` is
|
|
2955
|
+
# `HTTPS`. Set it to a hostname on your certificate, such as
|
|
2956
|
+
# `app.internal.example.com`. You can use a single leftmost wildcard,
|
|
2957
|
+
# such as `*.example.com`. The value must be a hostname without a
|
|
2958
|
+
# port.
|
|
2959
|
+
# @return [String]
|
|
2960
|
+
#
|
|
2961
|
+
# @!attribute [rw] name
|
|
2962
|
+
# An optional human-readable name for the VPC configuration. If you
|
|
2963
|
+
# don't specify a name, the VPC configuration has no name.
|
|
2964
|
+
# @return [String]
|
|
2965
|
+
#
|
|
2966
|
+
# @!attribute [rw] description
|
|
2967
|
+
# An optional description of the VPC configuration. If you don't
|
|
2968
|
+
# specify a description, the VPC configuration has no description.
|
|
2969
|
+
# @return [String]
|
|
2970
|
+
#
|
|
2971
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/CreateVpcConfigurationRequest AWS API Documentation
|
|
2972
|
+
#
|
|
2973
|
+
class CreateVpcConfigurationRequest < Struct.new(
|
|
2974
|
+
:knowledge_base_id,
|
|
2975
|
+
:client_token,
|
|
2976
|
+
:vpc_id,
|
|
2977
|
+
:subnet_ids,
|
|
2978
|
+
:resource_target,
|
|
2979
|
+
:port,
|
|
2980
|
+
:protocol,
|
|
2981
|
+
:resolution_mode,
|
|
2982
|
+
:host_header,
|
|
2983
|
+
:tls_server_name,
|
|
2984
|
+
:name,
|
|
2985
|
+
:description)
|
|
2986
|
+
SENSITIVE = []
|
|
2987
|
+
include Aws::Structure
|
|
2988
|
+
end
|
|
2989
|
+
|
|
2990
|
+
# @!attribute [rw] vpc_configuration_id
|
|
2991
|
+
# The unique identifier of the VPC configuration that was created.
|
|
2992
|
+
# @return [String]
|
|
2993
|
+
#
|
|
2994
|
+
# @!attribute [rw] status
|
|
2995
|
+
# The current status of the VPC configuration. Immediately after
|
|
2996
|
+
# creation this is `CREATING`.
|
|
2997
|
+
# @return [String]
|
|
2998
|
+
#
|
|
2999
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/CreateVpcConfigurationResponse AWS API Documentation
|
|
3000
|
+
#
|
|
3001
|
+
class CreateVpcConfigurationResponse < Struct.new(
|
|
3002
|
+
:vpc_configuration_id,
|
|
3003
|
+
:status)
|
|
3004
|
+
SENSITIVE = []
|
|
3005
|
+
include Aws::Structure
|
|
3006
|
+
end
|
|
3007
|
+
|
|
2860
3008
|
# Contains configurations for a query, each of which defines information
|
|
2861
3009
|
# about example queries to help the query engine generate appropriate
|
|
2862
3010
|
# SQL queries.
|
|
@@ -3720,6 +3868,42 @@ module Aws::BedrockAgent
|
|
|
3720
3868
|
include Aws::Structure
|
|
3721
3869
|
end
|
|
3722
3870
|
|
|
3871
|
+
# @!attribute [rw] knowledge_base_id
|
|
3872
|
+
# The unique identifier of the knowledge base that owns the VPC
|
|
3873
|
+
# configuration.
|
|
3874
|
+
# @return [String]
|
|
3875
|
+
#
|
|
3876
|
+
# @!attribute [rw] vpc_configuration_id
|
|
3877
|
+
# The unique identifier of the VPC configuration to delete.
|
|
3878
|
+
# @return [String]
|
|
3879
|
+
#
|
|
3880
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/DeleteVpcConfigurationRequest AWS API Documentation
|
|
3881
|
+
#
|
|
3882
|
+
class DeleteVpcConfigurationRequest < Struct.new(
|
|
3883
|
+
:knowledge_base_id,
|
|
3884
|
+
:vpc_configuration_id)
|
|
3885
|
+
SENSITIVE = []
|
|
3886
|
+
include Aws::Structure
|
|
3887
|
+
end
|
|
3888
|
+
|
|
3889
|
+
# @!attribute [rw] vpc_configuration_id
|
|
3890
|
+
# The unique identifier of the VPC configuration being deleted.
|
|
3891
|
+
# @return [String]
|
|
3892
|
+
#
|
|
3893
|
+
# @!attribute [rw] status
|
|
3894
|
+
# The current status of the VPC configuration. Immediately after a
|
|
3895
|
+
# delete request this is `DELETING`.
|
|
3896
|
+
# @return [String]
|
|
3897
|
+
#
|
|
3898
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/DeleteVpcConfigurationResponse AWS API Documentation
|
|
3899
|
+
#
|
|
3900
|
+
class DeleteVpcConfigurationResponse < Struct.new(
|
|
3901
|
+
:vpc_configuration_id,
|
|
3902
|
+
:status)
|
|
3903
|
+
SENSITIVE = []
|
|
3904
|
+
include Aws::Structure
|
|
3905
|
+
end
|
|
3906
|
+
|
|
3723
3907
|
# Configuration for deletion protection.
|
|
3724
3908
|
#
|
|
3725
3909
|
# @!attribute [rw] deletion_protection_status
|
|
@@ -5719,6 +5903,37 @@ module Aws::BedrockAgent
|
|
|
5719
5903
|
include Aws::Structure
|
|
5720
5904
|
end
|
|
5721
5905
|
|
|
5906
|
+
# @!attribute [rw] knowledge_base_id
|
|
5907
|
+
# The unique identifier of the knowledge base that owns the VPC
|
|
5908
|
+
# configuration.
|
|
5909
|
+
# @return [String]
|
|
5910
|
+
#
|
|
5911
|
+
# @!attribute [rw] vpc_configuration_id
|
|
5912
|
+
# The unique identifier of the VPC configuration to retrieve.
|
|
5913
|
+
# @return [String]
|
|
5914
|
+
#
|
|
5915
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/GetVpcConfigurationRequest AWS API Documentation
|
|
5916
|
+
#
|
|
5917
|
+
class GetVpcConfigurationRequest < Struct.new(
|
|
5918
|
+
:knowledge_base_id,
|
|
5919
|
+
:vpc_configuration_id)
|
|
5920
|
+
SENSITIVE = []
|
|
5921
|
+
include Aws::Structure
|
|
5922
|
+
end
|
|
5923
|
+
|
|
5924
|
+
# @!attribute [rw] vpc_configuration
|
|
5925
|
+
# The VPC configuration, including its connection settings, resolution
|
|
5926
|
+
# mode, and current lifecycle status.
|
|
5927
|
+
# @return [Types::VpcConfiguration]
|
|
5928
|
+
#
|
|
5929
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/GetVpcConfigurationResponse AWS API Documentation
|
|
5930
|
+
#
|
|
5931
|
+
class GetVpcConfigurationResponse < Struct.new(
|
|
5932
|
+
:vpc_configuration)
|
|
5933
|
+
SENSITIVE = []
|
|
5934
|
+
include Aws::Structure
|
|
5935
|
+
end
|
|
5936
|
+
|
|
5722
5937
|
# Details about a guardrail associated with a resource.
|
|
5723
5938
|
#
|
|
5724
5939
|
# @!attribute [rw] guardrail_identifier
|
|
@@ -7436,6 +7651,56 @@ module Aws::BedrockAgent
|
|
|
7436
7651
|
include Aws::Structure
|
|
7437
7652
|
end
|
|
7438
7653
|
|
|
7654
|
+
# @!attribute [rw] knowledge_base_id
|
|
7655
|
+
# The unique identifier of the knowledge base whose VPC configurations
|
|
7656
|
+
# you want to list.
|
|
7657
|
+
# @return [String]
|
|
7658
|
+
#
|
|
7659
|
+
# @!attribute [rw] status_filter
|
|
7660
|
+
# The status to filter the results by. Only VPC configurations with
|
|
7661
|
+
# the specified status are returned.
|
|
7662
|
+
# @return [String]
|
|
7663
|
+
#
|
|
7664
|
+
# @!attribute [rw] max_results
|
|
7665
|
+
# The maximum number of results to return in the response. If more
|
|
7666
|
+
# results are available, the response returns a `nextToken`.
|
|
7667
|
+
# @return [Integer]
|
|
7668
|
+
#
|
|
7669
|
+
# @!attribute [rw] next_token
|
|
7670
|
+
# A pagination token to retrieve the next page of results, returned in
|
|
7671
|
+
# a previous response when more results are available.
|
|
7672
|
+
# @return [String]
|
|
7673
|
+
#
|
|
7674
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/ListVpcConfigurationsRequest AWS API Documentation
|
|
7675
|
+
#
|
|
7676
|
+
class ListVpcConfigurationsRequest < Struct.new(
|
|
7677
|
+
:knowledge_base_id,
|
|
7678
|
+
:status_filter,
|
|
7679
|
+
:max_results,
|
|
7680
|
+
:next_token)
|
|
7681
|
+
SENSITIVE = []
|
|
7682
|
+
include Aws::Structure
|
|
7683
|
+
end
|
|
7684
|
+
|
|
7685
|
+
# @!attribute [rw] items
|
|
7686
|
+
# A list of VPC configuration summaries.
|
|
7687
|
+
# @return [Array<Types::VpcConfigurationSummary>]
|
|
7688
|
+
#
|
|
7689
|
+
# @!attribute [rw] next_token
|
|
7690
|
+
# A pagination token to retrieve the next page of results, present
|
|
7691
|
+
# when the total number of results exceeds the maximum number of
|
|
7692
|
+
# results.
|
|
7693
|
+
# @return [String]
|
|
7694
|
+
#
|
|
7695
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/ListVpcConfigurationsResponse AWS API Documentation
|
|
7696
|
+
#
|
|
7697
|
+
class ListVpcConfigurationsResponse < Struct.new(
|
|
7698
|
+
:items,
|
|
7699
|
+
:next_token)
|
|
7700
|
+
SENSITIVE = []
|
|
7701
|
+
include Aws::Structure
|
|
7702
|
+
end
|
|
7703
|
+
|
|
7439
7704
|
# Contains configurations for the controller node of a DoWhile loop in
|
|
7440
7705
|
# the flow.
|
|
7441
7706
|
#
|
|
@@ -12230,6 +12495,175 @@ module Aws::BedrockAgent
|
|
|
12230
12495
|
include Aws::Structure
|
|
12231
12496
|
end
|
|
12232
12497
|
|
|
12498
|
+
# Contains the details of a VPC configuration, including its connection
|
|
12499
|
+
# settings, resolution mode, and current lifecycle status.
|
|
12500
|
+
#
|
|
12501
|
+
# @!attribute [rw] vpc_configuration_id
|
|
12502
|
+
# The unique identifier of the VPC configuration.
|
|
12503
|
+
# @return [String]
|
|
12504
|
+
#
|
|
12505
|
+
# @!attribute [rw] status
|
|
12506
|
+
# The current lifecycle status of the VPC configuration.
|
|
12507
|
+
# @return [String]
|
|
12508
|
+
#
|
|
12509
|
+
# @!attribute [rw] status_message
|
|
12510
|
+
# Additional detail about the current status, such as the cause of a
|
|
12511
|
+
# `CREATE_FAILED` or `DELETE_FAILED` status.
|
|
12512
|
+
# @return [String]
|
|
12513
|
+
#
|
|
12514
|
+
# @!attribute [rw] vpc_id
|
|
12515
|
+
# The identifier of the VPC that the knowledge base connects through
|
|
12516
|
+
# to reach the resource.
|
|
12517
|
+
# @return [String]
|
|
12518
|
+
#
|
|
12519
|
+
# @!attribute [rw] subnet_ids
|
|
12520
|
+
# The subnets that the knowledge base uses to connect to the resource.
|
|
12521
|
+
# @return [Array<String>]
|
|
12522
|
+
#
|
|
12523
|
+
# @!attribute [rw] resource_target
|
|
12524
|
+
# The private IPv4 address or DNS name of the resource.
|
|
12525
|
+
# @return [String]
|
|
12526
|
+
#
|
|
12527
|
+
# @!attribute [rw] port
|
|
12528
|
+
# The port on which the resource is reached.
|
|
12529
|
+
# @return [Integer]
|
|
12530
|
+
#
|
|
12531
|
+
# @!attribute [rw] protocol
|
|
12532
|
+
# The protocol used to connect to the resource.
|
|
12533
|
+
# @return [String]
|
|
12534
|
+
#
|
|
12535
|
+
# @!attribute [rw] resolution_mode
|
|
12536
|
+
# Specifies how the resource target is resolved.
|
|
12537
|
+
# @return [String]
|
|
12538
|
+
#
|
|
12539
|
+
# @!attribute [rw] host_header
|
|
12540
|
+
# The HTTP `Host` header value sent when invoking the resource, if
|
|
12541
|
+
# configured.
|
|
12542
|
+
# @return [String]
|
|
12543
|
+
#
|
|
12544
|
+
# @!attribute [rw] tls_server_name
|
|
12545
|
+
# The expected TLS server name that the service matches against the
|
|
12546
|
+
# Subject Alternative Names on the resource's TLS certificate.
|
|
12547
|
+
# Present when `protocol` is `HTTPS`.
|
|
12548
|
+
# @return [String]
|
|
12549
|
+
#
|
|
12550
|
+
# @!attribute [rw] name
|
|
12551
|
+
# The human-readable name of the VPC configuration, if provided.
|
|
12552
|
+
# @return [String]
|
|
12553
|
+
#
|
|
12554
|
+
# @!attribute [rw] description
|
|
12555
|
+
# The description of the VPC configuration, if provided.
|
|
12556
|
+
# @return [String]
|
|
12557
|
+
#
|
|
12558
|
+
# @!attribute [rw] created_at
|
|
12559
|
+
# The time at which the VPC configuration was created.
|
|
12560
|
+
# @return [Time]
|
|
12561
|
+
#
|
|
12562
|
+
# @!attribute [rw] updated_at
|
|
12563
|
+
# The time at which the VPC configuration was last updated.
|
|
12564
|
+
# @return [Time]
|
|
12565
|
+
#
|
|
12566
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/VpcConfiguration AWS API Documentation
|
|
12567
|
+
#
|
|
12568
|
+
class VpcConfiguration < Struct.new(
|
|
12569
|
+
:vpc_configuration_id,
|
|
12570
|
+
:status,
|
|
12571
|
+
:status_message,
|
|
12572
|
+
:vpc_id,
|
|
12573
|
+
:subnet_ids,
|
|
12574
|
+
:resource_target,
|
|
12575
|
+
:port,
|
|
12576
|
+
:protocol,
|
|
12577
|
+
:resolution_mode,
|
|
12578
|
+
:host_header,
|
|
12579
|
+
:tls_server_name,
|
|
12580
|
+
:name,
|
|
12581
|
+
:description,
|
|
12582
|
+
:created_at,
|
|
12583
|
+
:updated_at)
|
|
12584
|
+
SENSITIVE = []
|
|
12585
|
+
include Aws::Structure
|
|
12586
|
+
end
|
|
12587
|
+
|
|
12588
|
+
# A summary of a VPC configuration returned by `ListVpcConfigurations`.
|
|
12589
|
+
#
|
|
12590
|
+
# @!attribute [rw] vpc_configuration_id
|
|
12591
|
+
# The unique identifier of the VPC configuration.
|
|
12592
|
+
# @return [String]
|
|
12593
|
+
#
|
|
12594
|
+
# @!attribute [rw] status
|
|
12595
|
+
# The current lifecycle status of the VPC configuration.
|
|
12596
|
+
# @return [String]
|
|
12597
|
+
#
|
|
12598
|
+
# @!attribute [rw] status_message
|
|
12599
|
+
# Additional detail about the current status, such as the cause of a
|
|
12600
|
+
# failure.
|
|
12601
|
+
# @return [String]
|
|
12602
|
+
#
|
|
12603
|
+
# @!attribute [rw] vpc_id
|
|
12604
|
+
# The identifier of the VPC that the knowledge base connects through
|
|
12605
|
+
# to reach the resource.
|
|
12606
|
+
# @return [String]
|
|
12607
|
+
#
|
|
12608
|
+
# @!attribute [rw] resource_target
|
|
12609
|
+
# The private IPv4 address or DNS name of the resource.
|
|
12610
|
+
# @return [String]
|
|
12611
|
+
#
|
|
12612
|
+
# @!attribute [rw] port
|
|
12613
|
+
# The port on which the resource is reached.
|
|
12614
|
+
# @return [Integer]
|
|
12615
|
+
#
|
|
12616
|
+
# @!attribute [rw] protocol
|
|
12617
|
+
# The protocol used to connect to the resource.
|
|
12618
|
+
# @return [String]
|
|
12619
|
+
#
|
|
12620
|
+
# @!attribute [rw] resolution_mode
|
|
12621
|
+
# Specifies how the resource target is resolved.
|
|
12622
|
+
# @return [String]
|
|
12623
|
+
#
|
|
12624
|
+
# @!attribute [rw] host_header
|
|
12625
|
+
# The HTTP `Host` header value sent when invoking the resource, if
|
|
12626
|
+
# configured.
|
|
12627
|
+
# @return [String]
|
|
12628
|
+
#
|
|
12629
|
+
# @!attribute [rw] tls_server_name
|
|
12630
|
+
# The expected TLS server name that the service matches against the
|
|
12631
|
+
# Subject Alternative Names on the resource's TLS certificate.
|
|
12632
|
+
# Present when `protocol` is `HTTPS`.
|
|
12633
|
+
# @return [String]
|
|
12634
|
+
#
|
|
12635
|
+
# @!attribute [rw] name
|
|
12636
|
+
# The human-readable name of the VPC configuration, if provided.
|
|
12637
|
+
# @return [String]
|
|
12638
|
+
#
|
|
12639
|
+
# @!attribute [rw] description
|
|
12640
|
+
# The description of the VPC configuration, if provided.
|
|
12641
|
+
# @return [String]
|
|
12642
|
+
#
|
|
12643
|
+
# @!attribute [rw] created_at
|
|
12644
|
+
# The time at which the VPC configuration was created.
|
|
12645
|
+
# @return [Time]
|
|
12646
|
+
#
|
|
12647
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/VpcConfigurationSummary AWS API Documentation
|
|
12648
|
+
#
|
|
12649
|
+
class VpcConfigurationSummary < Struct.new(
|
|
12650
|
+
:vpc_configuration_id,
|
|
12651
|
+
:status,
|
|
12652
|
+
:status_message,
|
|
12653
|
+
:vpc_id,
|
|
12654
|
+
:resource_target,
|
|
12655
|
+
:port,
|
|
12656
|
+
:protocol,
|
|
12657
|
+
:resolution_mode,
|
|
12658
|
+
:host_header,
|
|
12659
|
+
:tls_server_name,
|
|
12660
|
+
:name,
|
|
12661
|
+
:description,
|
|
12662
|
+
:created_at)
|
|
12663
|
+
SENSITIVE = []
|
|
12664
|
+
include Aws::Structure
|
|
12665
|
+
end
|
|
12666
|
+
|
|
12233
12667
|
# The configuration of web URLs that you want to crawl. You should be
|
|
12234
12668
|
# authorized to crawl the URLs.
|
|
12235
12669
|
#
|
data/lib/aws-sdk-bedrockagent.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -358,6 +358,28 @@ module Aws
|
|
|
358
358
|
) -> _CreatePromptVersionResponseSuccess
|
|
359
359
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreatePromptVersionResponseSuccess
|
|
360
360
|
|
|
361
|
+
interface _CreateVpcConfigurationResponseSuccess
|
|
362
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateVpcConfigurationResponse]
|
|
363
|
+
def vpc_configuration_id: () -> ::String
|
|
364
|
+
def status: () -> ("CREATING" | "CREATED" | "DELETING" | "CREATE_FAILED" | "DELETE_FAILED")
|
|
365
|
+
end
|
|
366
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgent/Client.html#create_vpc_configuration-instance_method
|
|
367
|
+
def create_vpc_configuration: (
|
|
368
|
+
knowledge_base_id: ::String,
|
|
369
|
+
?client_token: ::String,
|
|
370
|
+
vpc_id: ::String,
|
|
371
|
+
subnet_ids: Array[::String],
|
|
372
|
+
resource_target: ::String,
|
|
373
|
+
port: ::Integer,
|
|
374
|
+
protocol: ("HTTP" | "HTTPS"),
|
|
375
|
+
resolution_mode: ("PUBLIC" | "IN_VPC"),
|
|
376
|
+
?host_header: ::String,
|
|
377
|
+
?tls_server_name: ::String,
|
|
378
|
+
?name: ::String,
|
|
379
|
+
?description: ::String
|
|
380
|
+
) -> _CreateVpcConfigurationResponseSuccess
|
|
381
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateVpcConfigurationResponseSuccess
|
|
382
|
+
|
|
361
383
|
interface _DeleteAgentResponseSuccess
|
|
362
384
|
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteAgentResponse]
|
|
363
385
|
def agent_id: () -> ::String
|
|
@@ -508,6 +530,18 @@ module Aws
|
|
|
508
530
|
) -> _DeleteResourcePolicyResponseSuccess
|
|
509
531
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteResourcePolicyResponseSuccess
|
|
510
532
|
|
|
533
|
+
interface _DeleteVpcConfigurationResponseSuccess
|
|
534
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteVpcConfigurationResponse]
|
|
535
|
+
def vpc_configuration_id: () -> ::String
|
|
536
|
+
def status: () -> ("CREATING" | "CREATED" | "DELETING" | "CREATE_FAILED" | "DELETE_FAILED")
|
|
537
|
+
end
|
|
538
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgent/Client.html#delete_vpc_configuration-instance_method
|
|
539
|
+
def delete_vpc_configuration: (
|
|
540
|
+
knowledge_base_id: ::String,
|
|
541
|
+
vpc_configuration_id: ::String
|
|
542
|
+
) -> _DeleteVpcConfigurationResponseSuccess
|
|
543
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteVpcConfigurationResponseSuccess
|
|
544
|
+
|
|
511
545
|
interface _DisassociateAgentCollaboratorResponseSuccess
|
|
512
546
|
include ::Seahorse::Client::_ResponseSuccess[Types::DisassociateAgentCollaboratorResponse]
|
|
513
547
|
end
|
|
@@ -740,6 +774,17 @@ module Aws
|
|
|
740
774
|
) -> _GetResourcePolicyResponseSuccess
|
|
741
775
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetResourcePolicyResponseSuccess
|
|
742
776
|
|
|
777
|
+
interface _GetVpcConfigurationResponseSuccess
|
|
778
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetVpcConfigurationResponse]
|
|
779
|
+
def vpc_configuration: () -> Types::VpcConfiguration
|
|
780
|
+
end
|
|
781
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgent/Client.html#get_vpc_configuration-instance_method
|
|
782
|
+
def get_vpc_configuration: (
|
|
783
|
+
knowledge_base_id: ::String,
|
|
784
|
+
vpc_configuration_id: ::String
|
|
785
|
+
) -> _GetVpcConfigurationResponseSuccess
|
|
786
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetVpcConfigurationResponseSuccess
|
|
787
|
+
|
|
743
788
|
interface _IngestKnowledgeBaseDocumentsResponseSuccess
|
|
744
789
|
include ::Seahorse::Client::_ResponseSuccess[Types::IngestKnowledgeBaseDocumentsResponse]
|
|
745
790
|
def document_details: () -> ::Array[Types::KnowledgeBaseDocumentDetail]
|
|
@@ -1015,6 +1060,20 @@ module Aws
|
|
|
1015
1060
|
) -> _ListTagsForResourceResponseSuccess
|
|
1016
1061
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
|
|
1017
1062
|
|
|
1063
|
+
interface _ListVpcConfigurationsResponseSuccess
|
|
1064
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListVpcConfigurationsResponse]
|
|
1065
|
+
def items: () -> ::Array[Types::VpcConfigurationSummary]
|
|
1066
|
+
def next_token: () -> ::String
|
|
1067
|
+
end
|
|
1068
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgent/Client.html#list_vpc_configurations-instance_method
|
|
1069
|
+
def list_vpc_configurations: (
|
|
1070
|
+
knowledge_base_id: ::String,
|
|
1071
|
+
?status_filter: ("CREATING" | "CREATED" | "DELETING" | "CREATE_FAILED" | "DELETE_FAILED"),
|
|
1072
|
+
?max_results: ::Integer,
|
|
1073
|
+
?next_token: ::String
|
|
1074
|
+
) -> _ListVpcConfigurationsResponseSuccess
|
|
1075
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListVpcConfigurationsResponseSuccess
|
|
1076
|
+
|
|
1018
1077
|
interface _PrepareAgentResponseSuccess
|
|
1019
1078
|
include ::Seahorse::Client::_ResponseSuccess[Types::PrepareAgentResponse]
|
|
1020
1079
|
def agent_id: () -> ::String
|
data/sig/types.rbs
CHANGED
|
@@ -611,6 +611,28 @@ module Aws::BedrockAgent
|
|
|
611
611
|
SENSITIVE: [:variants]
|
|
612
612
|
end
|
|
613
613
|
|
|
614
|
+
class CreateVpcConfigurationRequest
|
|
615
|
+
attr_accessor knowledge_base_id: ::String
|
|
616
|
+
attr_accessor client_token: ::String
|
|
617
|
+
attr_accessor vpc_id: ::String
|
|
618
|
+
attr_accessor subnet_ids: ::Array[::String]
|
|
619
|
+
attr_accessor resource_target: ::String
|
|
620
|
+
attr_accessor port: ::Integer
|
|
621
|
+
attr_accessor protocol: ("HTTP" | "HTTPS")
|
|
622
|
+
attr_accessor resolution_mode: ("PUBLIC" | "IN_VPC")
|
|
623
|
+
attr_accessor host_header: ::String
|
|
624
|
+
attr_accessor tls_server_name: ::String
|
|
625
|
+
attr_accessor name: ::String
|
|
626
|
+
attr_accessor description: ::String
|
|
627
|
+
SENSITIVE: []
|
|
628
|
+
end
|
|
629
|
+
|
|
630
|
+
class CreateVpcConfigurationResponse
|
|
631
|
+
attr_accessor vpc_configuration_id: ::String
|
|
632
|
+
attr_accessor status: ("CREATING" | "CREATED" | "DELETING" | "CREATE_FAILED" | "DELETE_FAILED")
|
|
633
|
+
SENSITIVE: []
|
|
634
|
+
end
|
|
635
|
+
|
|
614
636
|
class CuratedQuery
|
|
615
637
|
attr_accessor natural_language: ::String
|
|
616
638
|
attr_accessor sql: ::String
|
|
@@ -853,6 +875,18 @@ module Aws::BedrockAgent
|
|
|
853
875
|
SENSITIVE: []
|
|
854
876
|
end
|
|
855
877
|
|
|
878
|
+
class DeleteVpcConfigurationRequest
|
|
879
|
+
attr_accessor knowledge_base_id: ::String
|
|
880
|
+
attr_accessor vpc_configuration_id: ::String
|
|
881
|
+
SENSITIVE: []
|
|
882
|
+
end
|
|
883
|
+
|
|
884
|
+
class DeleteVpcConfigurationResponse
|
|
885
|
+
attr_accessor vpc_configuration_id: ::String
|
|
886
|
+
attr_accessor status: ("CREATING" | "CREATED" | "DELETING" | "CREATE_FAILED" | "DELETE_FAILED")
|
|
887
|
+
SENSITIVE: []
|
|
888
|
+
end
|
|
889
|
+
|
|
856
890
|
class DeletionProtectionConfiguration
|
|
857
891
|
attr_accessor deletion_protection_status: ("ENABLED" | "DISABLED")
|
|
858
892
|
attr_accessor deletion_protection_threshold: ::Integer
|
|
@@ -1453,6 +1487,17 @@ module Aws::BedrockAgent
|
|
|
1453
1487
|
SENSITIVE: []
|
|
1454
1488
|
end
|
|
1455
1489
|
|
|
1490
|
+
class GetVpcConfigurationRequest
|
|
1491
|
+
attr_accessor knowledge_base_id: ::String
|
|
1492
|
+
attr_accessor vpc_configuration_id: ::String
|
|
1493
|
+
SENSITIVE: []
|
|
1494
|
+
end
|
|
1495
|
+
|
|
1496
|
+
class GetVpcConfigurationResponse
|
|
1497
|
+
attr_accessor vpc_configuration: Types::VpcConfiguration
|
|
1498
|
+
SENSITIVE: []
|
|
1499
|
+
end
|
|
1500
|
+
|
|
1456
1501
|
class GuardrailConfiguration
|
|
1457
1502
|
attr_accessor guardrail_identifier: ::String
|
|
1458
1503
|
attr_accessor guardrail_version: ::String
|
|
@@ -1877,6 +1922,20 @@ module Aws::BedrockAgent
|
|
|
1877
1922
|
SENSITIVE: []
|
|
1878
1923
|
end
|
|
1879
1924
|
|
|
1925
|
+
class ListVpcConfigurationsRequest
|
|
1926
|
+
attr_accessor knowledge_base_id: ::String
|
|
1927
|
+
attr_accessor status_filter: ("CREATING" | "CREATED" | "DELETING" | "CREATE_FAILED" | "DELETE_FAILED")
|
|
1928
|
+
attr_accessor max_results: ::Integer
|
|
1929
|
+
attr_accessor next_token: ::String
|
|
1930
|
+
SENSITIVE: []
|
|
1931
|
+
end
|
|
1932
|
+
|
|
1933
|
+
class ListVpcConfigurationsResponse
|
|
1934
|
+
attr_accessor items: ::Array[Types::VpcConfigurationSummary]
|
|
1935
|
+
attr_accessor next_token: ::String
|
|
1936
|
+
SENSITIVE: []
|
|
1937
|
+
end
|
|
1938
|
+
|
|
1880
1939
|
class LoopControllerFlowNodeConfiguration
|
|
1881
1940
|
attr_accessor continue_condition: Types::FlowCondition
|
|
1882
1941
|
attr_accessor max_iterations: ::Integer
|
|
@@ -3139,6 +3198,42 @@ module Aws::BedrockAgent
|
|
|
3139
3198
|
SENSITIVE: []
|
|
3140
3199
|
end
|
|
3141
3200
|
|
|
3201
|
+
class VpcConfiguration
|
|
3202
|
+
attr_accessor vpc_configuration_id: ::String
|
|
3203
|
+
attr_accessor status: ("CREATING" | "CREATED" | "DELETING" | "CREATE_FAILED" | "DELETE_FAILED")
|
|
3204
|
+
attr_accessor status_message: ::String
|
|
3205
|
+
attr_accessor vpc_id: ::String
|
|
3206
|
+
attr_accessor subnet_ids: ::Array[::String]
|
|
3207
|
+
attr_accessor resource_target: ::String
|
|
3208
|
+
attr_accessor port: ::Integer
|
|
3209
|
+
attr_accessor protocol: ("HTTP" | "HTTPS")
|
|
3210
|
+
attr_accessor resolution_mode: ("PUBLIC" | "IN_VPC")
|
|
3211
|
+
attr_accessor host_header: ::String
|
|
3212
|
+
attr_accessor tls_server_name: ::String
|
|
3213
|
+
attr_accessor name: ::String
|
|
3214
|
+
attr_accessor description: ::String
|
|
3215
|
+
attr_accessor created_at: ::Time
|
|
3216
|
+
attr_accessor updated_at: ::Time
|
|
3217
|
+
SENSITIVE: []
|
|
3218
|
+
end
|
|
3219
|
+
|
|
3220
|
+
class VpcConfigurationSummary
|
|
3221
|
+
attr_accessor vpc_configuration_id: ::String
|
|
3222
|
+
attr_accessor status: ("CREATING" | "CREATED" | "DELETING" | "CREATE_FAILED" | "DELETE_FAILED")
|
|
3223
|
+
attr_accessor status_message: ::String
|
|
3224
|
+
attr_accessor vpc_id: ::String
|
|
3225
|
+
attr_accessor resource_target: ::String
|
|
3226
|
+
attr_accessor port: ::Integer
|
|
3227
|
+
attr_accessor protocol: ("HTTP" | "HTTPS")
|
|
3228
|
+
attr_accessor resolution_mode: ("PUBLIC" | "IN_VPC")
|
|
3229
|
+
attr_accessor host_header: ::String
|
|
3230
|
+
attr_accessor tls_server_name: ::String
|
|
3231
|
+
attr_accessor name: ::String
|
|
3232
|
+
attr_accessor description: ::String
|
|
3233
|
+
attr_accessor created_at: ::Time
|
|
3234
|
+
SENSITIVE: []
|
|
3235
|
+
end
|
|
3236
|
+
|
|
3142
3237
|
class WebCrawlerConfiguration
|
|
3143
3238
|
attr_accessor crawler_limits: Types::WebCrawlerLimits
|
|
3144
3239
|
attr_accessor inclusion_filters: ::Array[::String]
|