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
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3465f0d247ba99a2fc35828186cf1b6e6652020d63c899b2d21f8afc59293b77
|
|
4
|
+
data.tar.gz: a4d9471fd4db0f3c799295d67710ed826504749826919c732414b4870e50de2e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5e426ee9bb45ec6736c56b8c747dc50e4b90111ca89c9f43d03c15f8aec7df5e283fbb99a91da1e41477491ef23763820d52517058402605da3733c7db3b9fb6
|
|
7
|
+
data.tar.gz: 17e4ceced773ff3f56107a5662e9bd7be654934fdde28a5a452d514632f7f149fecb864d94c95ab3a8893ca436e2aa8fa537279d2e22fc4544a83571d2052365
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.85.0 (2026-09-25)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Adds support for calling VPC configuration API's in Bedrock. These configurations allow the use of On Prem connectors in Bedrock Managed Knowledge bases
|
|
8
|
+
|
|
4
9
|
1.84.0 (2026-09-11)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.85.0
|
|
@@ -3037,6 +3037,134 @@ module Aws::BedrockAgent
|
|
|
3037
3037
|
req.send_request(options)
|
|
3038
3038
|
end
|
|
3039
3039
|
|
|
3040
|
+
# Creates a VPC configuration that lets a knowledge base connect to a
|
|
3041
|
+
# resource in your private VPC. This operation is asynchronous: it
|
|
3042
|
+
# returns a `vpcConfigurationId` with status `CREATING`. Poll
|
|
3043
|
+
# `GetVpcConfiguration` until the status becomes `CREATED` or
|
|
3044
|
+
# `CREATE_FAILED`.
|
|
3045
|
+
#
|
|
3046
|
+
# @option params [required, String] :knowledge_base_id
|
|
3047
|
+
# The unique identifier of the knowledge base to associate this VPC
|
|
3048
|
+
# configuration with.
|
|
3049
|
+
#
|
|
3050
|
+
# @option params [String] :client_token
|
|
3051
|
+
# A unique, case-sensitive identifier to ensure that the operation
|
|
3052
|
+
# completes no more than one time. If this token matches a previous
|
|
3053
|
+
# request, the service ignores the request but does not return an error.
|
|
3054
|
+
#
|
|
3055
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
3056
|
+
# not need to pass this option.**
|
|
3057
|
+
#
|
|
3058
|
+
# @option params [required, String] :vpc_id
|
|
3059
|
+
# The identifier of the VPC that the knowledge base connects through to
|
|
3060
|
+
# reach the resource.
|
|
3061
|
+
#
|
|
3062
|
+
# @option params [required, Array<String>] :subnet_ids
|
|
3063
|
+
# The subnets, in the VPC identified by `vpcId`, that the knowledge base
|
|
3064
|
+
# uses to connect to the resource.
|
|
3065
|
+
#
|
|
3066
|
+
# @option params [required, String] :resource_target
|
|
3067
|
+
# The private IPv4 address or DNS name of the resource you want the
|
|
3068
|
+
# knowledge base to reach. The target must be privately reachable from
|
|
3069
|
+
# inside your VPC, such as an internal load balancer or a private IP.
|
|
3070
|
+
# The following are not supported:
|
|
3071
|
+
#
|
|
3072
|
+
# * Internet-facing endpoints
|
|
3073
|
+
#
|
|
3074
|
+
# * Loopback addresses
|
|
3075
|
+
#
|
|
3076
|
+
# * Link-local addresses
|
|
3077
|
+
#
|
|
3078
|
+
# * Wildcard addresses
|
|
3079
|
+
#
|
|
3080
|
+
# * Multicast addresses
|
|
3081
|
+
#
|
|
3082
|
+
# * IPv6 literals
|
|
3083
|
+
#
|
|
3084
|
+
# @option params [required, Integer] :port
|
|
3085
|
+
# The port on which to reach the resource.
|
|
3086
|
+
#
|
|
3087
|
+
# @option params [required, String] :protocol
|
|
3088
|
+
# The protocol used to connect to the resource. Specify `HTTP` for
|
|
3089
|
+
# plaintext or `HTTPS` for TLS. When you specify `HTTPS`, you must also
|
|
3090
|
+
# provide `tlsServerName`.
|
|
3091
|
+
#
|
|
3092
|
+
# @option params [required, String] :resolution_mode
|
|
3093
|
+
# Controls how a domain-name `resourceTarget` is resolved. This applies
|
|
3094
|
+
# only when the target is a domain name; it has no effect for IP-address
|
|
3095
|
+
# targets, which have no name to resolve. In all cases the resolved
|
|
3096
|
+
# address must be reachable from inside your VPC. Valid values:
|
|
3097
|
+
#
|
|
3098
|
+
# * `IN_VPC` (default, recommended) – The target domain name is resolved
|
|
3099
|
+
# privately, using the DNS resolvers of the VPC, such as private Route
|
|
3100
|
+
# 53 hosted zones or on-premises DNS reachable from the VPC. Use this
|
|
3101
|
+
# for targets that are private to your VPC, such as internal load
|
|
3102
|
+
# balancers, private hosted-zone names, or on-premises hosts.
|
|
3103
|
+
#
|
|
3104
|
+
# * `PUBLIC` – The target domain name is resolved against public DNS
|
|
3105
|
+
# resolvers. Select this only when the target's domain name must be
|
|
3106
|
+
# resolved through public DNS and the resulting address is still
|
|
3107
|
+
# reachable from the VPC, an uncommon split-horizon configuration. If
|
|
3108
|
+
# you are unsure, use `IN_VPC`.
|
|
3109
|
+
#
|
|
3110
|
+
# @option params [String] :host_header
|
|
3111
|
+
# An optional HTTP `Host` header value to send when invoking the
|
|
3112
|
+
# resource. Set this only if your resource (or an upstream router or
|
|
3113
|
+
# ingress) routes by the `Host` header and that host differs from the
|
|
3114
|
+
# target. This setting is independent of `tlsServerName`.
|
|
3115
|
+
#
|
|
3116
|
+
# @option params [String] :tls_server_name
|
|
3117
|
+
# The expected TLS server name. The service matches this value against
|
|
3118
|
+
# the Subject Alternative Names on your resource's TLS certificate
|
|
3119
|
+
# during invocation. This field is required when `protocol` is `HTTPS`.
|
|
3120
|
+
# Set it to a hostname on your certificate, such as
|
|
3121
|
+
# `app.internal.example.com`. You can use a single leftmost wildcard,
|
|
3122
|
+
# such as `*.example.com`. The value must be a hostname without a port.
|
|
3123
|
+
#
|
|
3124
|
+
# @option params [String] :name
|
|
3125
|
+
# An optional human-readable name for the VPC configuration. If you
|
|
3126
|
+
# don't specify a name, the VPC configuration has no name.
|
|
3127
|
+
#
|
|
3128
|
+
# @option params [String] :description
|
|
3129
|
+
# An optional description of the VPC configuration. If you don't
|
|
3130
|
+
# specify a description, the VPC configuration has no description.
|
|
3131
|
+
#
|
|
3132
|
+
# @return [Types::CreateVpcConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3133
|
+
#
|
|
3134
|
+
# * {Types::CreateVpcConfigurationResponse#vpc_configuration_id #vpc_configuration_id} => String
|
|
3135
|
+
# * {Types::CreateVpcConfigurationResponse#status #status} => String
|
|
3136
|
+
#
|
|
3137
|
+
# @example Request syntax with placeholder values
|
|
3138
|
+
#
|
|
3139
|
+
# resp = client.create_vpc_configuration({
|
|
3140
|
+
# knowledge_base_id: "Id", # required
|
|
3141
|
+
# client_token: "ClientToken",
|
|
3142
|
+
# vpc_id: "VpcId", # required
|
|
3143
|
+
# subnet_ids: ["SubnetId"], # required
|
|
3144
|
+
# resource_target: "ResourceTarget", # required
|
|
3145
|
+
# port: 1, # required
|
|
3146
|
+
# protocol: "HTTP", # required, accepts HTTP, HTTPS
|
|
3147
|
+
# resolution_mode: "PUBLIC", # required, accepts PUBLIC, IN_VPC
|
|
3148
|
+
# host_header: "HostHeader",
|
|
3149
|
+
# tls_server_name: "TlsServerName",
|
|
3150
|
+
# name: "VpcConfigurationName",
|
|
3151
|
+
# description: "VpcConfigurationDescription",
|
|
3152
|
+
# })
|
|
3153
|
+
#
|
|
3154
|
+
# @example Response structure
|
|
3155
|
+
#
|
|
3156
|
+
# resp.vpc_configuration_id #=> String
|
|
3157
|
+
# resp.status #=> String, one of "CREATING", "CREATED", "DELETING", "CREATE_FAILED", "DELETE_FAILED"
|
|
3158
|
+
#
|
|
3159
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/CreateVpcConfiguration AWS API Documentation
|
|
3160
|
+
#
|
|
3161
|
+
# @overload create_vpc_configuration(params = {})
|
|
3162
|
+
# @param [Hash] params ({})
|
|
3163
|
+
def create_vpc_configuration(params = {}, options = {})
|
|
3164
|
+
req = build_request(:create_vpc_configuration, params)
|
|
3165
|
+
req.send_request(options)
|
|
3166
|
+
end
|
|
3167
|
+
|
|
3040
3168
|
# Deletes an agent.
|
|
3041
3169
|
#
|
|
3042
3170
|
# @option params [required, String] :agent_id
|
|
@@ -3529,6 +3657,44 @@ module Aws::BedrockAgent
|
|
|
3529
3657
|
req.send_request(options)
|
|
3530
3658
|
end
|
|
3531
3659
|
|
|
3660
|
+
# Deletes a VPC configuration. This operation is asynchronous: it
|
|
3661
|
+
# returns status `DELETING`. Poll `GetVpcConfiguration` until it returns
|
|
3662
|
+
# a `ResourceNotFoundException`, indicating the configuration is
|
|
3663
|
+
# deleted. Delete requests are idempotent and safe to retry.
|
|
3664
|
+
#
|
|
3665
|
+
# @option params [required, String] :knowledge_base_id
|
|
3666
|
+
# The unique identifier of the knowledge base that owns the VPC
|
|
3667
|
+
# configuration.
|
|
3668
|
+
#
|
|
3669
|
+
# @option params [required, String] :vpc_configuration_id
|
|
3670
|
+
# The unique identifier of the VPC configuration to delete.
|
|
3671
|
+
#
|
|
3672
|
+
# @return [Types::DeleteVpcConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3673
|
+
#
|
|
3674
|
+
# * {Types::DeleteVpcConfigurationResponse#vpc_configuration_id #vpc_configuration_id} => String
|
|
3675
|
+
# * {Types::DeleteVpcConfigurationResponse#status #status} => String
|
|
3676
|
+
#
|
|
3677
|
+
# @example Request syntax with placeholder values
|
|
3678
|
+
#
|
|
3679
|
+
# resp = client.delete_vpc_configuration({
|
|
3680
|
+
# knowledge_base_id: "Id", # required
|
|
3681
|
+
# vpc_configuration_id: "VpcConfigurationId", # required
|
|
3682
|
+
# })
|
|
3683
|
+
#
|
|
3684
|
+
# @example Response structure
|
|
3685
|
+
#
|
|
3686
|
+
# resp.vpc_configuration_id #=> String
|
|
3687
|
+
# resp.status #=> String, one of "CREATING", "CREATED", "DELETING", "CREATE_FAILED", "DELETE_FAILED"
|
|
3688
|
+
#
|
|
3689
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/DeleteVpcConfiguration AWS API Documentation
|
|
3690
|
+
#
|
|
3691
|
+
# @overload delete_vpc_configuration(params = {})
|
|
3692
|
+
# @param [Hash] params ({})
|
|
3693
|
+
def delete_vpc_configuration(params = {}, options = {})
|
|
3694
|
+
req = build_request(:delete_vpc_configuration, params)
|
|
3695
|
+
req.send_request(options)
|
|
3696
|
+
end
|
|
3697
|
+
|
|
3532
3698
|
# Disassociates an agent collaborator.
|
|
3533
3699
|
#
|
|
3534
3700
|
# @option params [required, String] :agent_id
|
|
@@ -4853,6 +5019,56 @@ module Aws::BedrockAgent
|
|
|
4853
5019
|
req.send_request(options)
|
|
4854
5020
|
end
|
|
4855
5021
|
|
|
5022
|
+
# Returns the details and current status of a single VPC configuration.
|
|
5023
|
+
# Use this operation to poll for the outcome of an asynchronous create
|
|
5024
|
+
# or delete.
|
|
5025
|
+
#
|
|
5026
|
+
# @option params [required, String] :knowledge_base_id
|
|
5027
|
+
# The unique identifier of the knowledge base that owns the VPC
|
|
5028
|
+
# configuration.
|
|
5029
|
+
#
|
|
5030
|
+
# @option params [required, String] :vpc_configuration_id
|
|
5031
|
+
# The unique identifier of the VPC configuration to retrieve.
|
|
5032
|
+
#
|
|
5033
|
+
# @return [Types::GetVpcConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
5034
|
+
#
|
|
5035
|
+
# * {Types::GetVpcConfigurationResponse#vpc_configuration #vpc_configuration} => Types::VpcConfiguration
|
|
5036
|
+
#
|
|
5037
|
+
# @example Request syntax with placeholder values
|
|
5038
|
+
#
|
|
5039
|
+
# resp = client.get_vpc_configuration({
|
|
5040
|
+
# knowledge_base_id: "Id", # required
|
|
5041
|
+
# vpc_configuration_id: "VpcConfigurationId", # required
|
|
5042
|
+
# })
|
|
5043
|
+
#
|
|
5044
|
+
# @example Response structure
|
|
5045
|
+
#
|
|
5046
|
+
# resp.vpc_configuration.vpc_configuration_id #=> String
|
|
5047
|
+
# resp.vpc_configuration.status #=> String, one of "CREATING", "CREATED", "DELETING", "CREATE_FAILED", "DELETE_FAILED"
|
|
5048
|
+
# resp.vpc_configuration.status_message #=> String
|
|
5049
|
+
# resp.vpc_configuration.vpc_id #=> String
|
|
5050
|
+
# resp.vpc_configuration.subnet_ids #=> Array
|
|
5051
|
+
# resp.vpc_configuration.subnet_ids[0] #=> String
|
|
5052
|
+
# resp.vpc_configuration.resource_target #=> String
|
|
5053
|
+
# resp.vpc_configuration.port #=> Integer
|
|
5054
|
+
# resp.vpc_configuration.protocol #=> String, one of "HTTP", "HTTPS"
|
|
5055
|
+
# resp.vpc_configuration.resolution_mode #=> String, one of "PUBLIC", "IN_VPC"
|
|
5056
|
+
# resp.vpc_configuration.host_header #=> String
|
|
5057
|
+
# resp.vpc_configuration.tls_server_name #=> String
|
|
5058
|
+
# resp.vpc_configuration.name #=> String
|
|
5059
|
+
# resp.vpc_configuration.description #=> String
|
|
5060
|
+
# resp.vpc_configuration.created_at #=> Time
|
|
5061
|
+
# resp.vpc_configuration.updated_at #=> Time
|
|
5062
|
+
#
|
|
5063
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/GetVpcConfiguration AWS API Documentation
|
|
5064
|
+
#
|
|
5065
|
+
# @overload get_vpc_configuration(params = {})
|
|
5066
|
+
# @param [Hash] params ({})
|
|
5067
|
+
def get_vpc_configuration(params = {}, options = {})
|
|
5068
|
+
req = build_request(:get_vpc_configuration, params)
|
|
5069
|
+
req.send_request(options)
|
|
5070
|
+
end
|
|
5071
|
+
|
|
4856
5072
|
# Ingests documents directly into the knowledge base that is connected
|
|
4857
5073
|
# to the data source. The `dataSourceType` specified in the content for
|
|
4858
5074
|
# each document must match the type of the data source that you specify
|
|
@@ -5823,6 +6039,69 @@ module Aws::BedrockAgent
|
|
|
5823
6039
|
req.send_request(options)
|
|
5824
6040
|
end
|
|
5825
6041
|
|
|
6042
|
+
# Returns a paginated list of the VPC configurations for a knowledge
|
|
6043
|
+
# base. You can optionally filter by status. Use the `nextToken`
|
|
6044
|
+
# parameter to retrieve additional results.
|
|
6045
|
+
#
|
|
6046
|
+
# @option params [required, String] :knowledge_base_id
|
|
6047
|
+
# The unique identifier of the knowledge base whose VPC configurations
|
|
6048
|
+
# you want to list.
|
|
6049
|
+
#
|
|
6050
|
+
# @option params [String] :status_filter
|
|
6051
|
+
# The status to filter the results by. Only VPC configurations with the
|
|
6052
|
+
# specified status are returned.
|
|
6053
|
+
#
|
|
6054
|
+
# @option params [Integer] :max_results
|
|
6055
|
+
# The maximum number of results to return in the response. If more
|
|
6056
|
+
# results are available, the response returns a `nextToken`.
|
|
6057
|
+
#
|
|
6058
|
+
# @option params [String] :next_token
|
|
6059
|
+
# A pagination token to retrieve the next page of results, returned in a
|
|
6060
|
+
# previous response when more results are available.
|
|
6061
|
+
#
|
|
6062
|
+
# @return [Types::ListVpcConfigurationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
6063
|
+
#
|
|
6064
|
+
# * {Types::ListVpcConfigurationsResponse#items #items} => Array<Types::VpcConfigurationSummary>
|
|
6065
|
+
# * {Types::ListVpcConfigurationsResponse#next_token #next_token} => String
|
|
6066
|
+
#
|
|
6067
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
6068
|
+
#
|
|
6069
|
+
# @example Request syntax with placeholder values
|
|
6070
|
+
#
|
|
6071
|
+
# resp = client.list_vpc_configurations({
|
|
6072
|
+
# knowledge_base_id: "Id", # required
|
|
6073
|
+
# status_filter: "CREATING", # accepts CREATING, CREATED, DELETING, CREATE_FAILED, DELETE_FAILED
|
|
6074
|
+
# max_results: 1,
|
|
6075
|
+
# next_token: "NextToken",
|
|
6076
|
+
# })
|
|
6077
|
+
#
|
|
6078
|
+
# @example Response structure
|
|
6079
|
+
#
|
|
6080
|
+
# resp.items #=> Array
|
|
6081
|
+
# resp.items[0].vpc_configuration_id #=> String
|
|
6082
|
+
# resp.items[0].status #=> String, one of "CREATING", "CREATED", "DELETING", "CREATE_FAILED", "DELETE_FAILED"
|
|
6083
|
+
# resp.items[0].status_message #=> String
|
|
6084
|
+
# resp.items[0].vpc_id #=> String
|
|
6085
|
+
# resp.items[0].resource_target #=> String
|
|
6086
|
+
# resp.items[0].port #=> Integer
|
|
6087
|
+
# resp.items[0].protocol #=> String, one of "HTTP", "HTTPS"
|
|
6088
|
+
# resp.items[0].resolution_mode #=> String, one of "PUBLIC", "IN_VPC"
|
|
6089
|
+
# resp.items[0].host_header #=> String
|
|
6090
|
+
# resp.items[0].tls_server_name #=> String
|
|
6091
|
+
# resp.items[0].name #=> String
|
|
6092
|
+
# resp.items[0].description #=> String
|
|
6093
|
+
# resp.items[0].created_at #=> Time
|
|
6094
|
+
# resp.next_token #=> String
|
|
6095
|
+
#
|
|
6096
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/ListVpcConfigurations AWS API Documentation
|
|
6097
|
+
#
|
|
6098
|
+
# @overload list_vpc_configurations(params = {})
|
|
6099
|
+
# @param [Hash] params ({})
|
|
6100
|
+
def list_vpc_configurations(params = {}, options = {})
|
|
6101
|
+
req = build_request(:list_vpc_configurations, params)
|
|
6102
|
+
req.send_request(options)
|
|
6103
|
+
end
|
|
6104
|
+
|
|
5826
6105
|
# Creates a `DRAFT` version of the agent that can be used for internal
|
|
5827
6106
|
# testing.
|
|
5828
6107
|
#
|
|
@@ -8537,7 +8816,7 @@ module Aws::BedrockAgent
|
|
|
8537
8816
|
tracer: tracer
|
|
8538
8817
|
)
|
|
8539
8818
|
context[:gem_name] = 'aws-sdk-bedrockagent'
|
|
8540
|
-
context[:gem_version] = '1.
|
|
8819
|
+
context[:gem_version] = '1.85.0'
|
|
8541
8820
|
Seahorse::Client::Request.new(handlers, context)
|
|
8542
8821
|
end
|
|
8543
8822
|
|
|
@@ -130,6 +130,8 @@ module Aws::BedrockAgent
|
|
|
130
130
|
CreatePromptResponse = Shapes::StructureShape.new(name: 'CreatePromptResponse')
|
|
131
131
|
CreatePromptVersionRequest = Shapes::StructureShape.new(name: 'CreatePromptVersionRequest')
|
|
132
132
|
CreatePromptVersionResponse = Shapes::StructureShape.new(name: 'CreatePromptVersionResponse')
|
|
133
|
+
CreateVpcConfigurationRequest = Shapes::StructureShape.new(name: 'CreateVpcConfigurationRequest')
|
|
134
|
+
CreateVpcConfigurationResponse = Shapes::StructureShape.new(name: 'CreateVpcConfigurationResponse')
|
|
133
135
|
CreationMode = Shapes::StringShape.new(name: 'CreationMode')
|
|
134
136
|
CuratedQueries = Shapes::ListShape.new(name: 'CuratedQueries')
|
|
135
137
|
CuratedQuery = Shapes::StructureShape.new(name: 'CuratedQuery')
|
|
@@ -179,6 +181,8 @@ module Aws::BedrockAgent
|
|
|
179
181
|
DeletePromptResponse = Shapes::StructureShape.new(name: 'DeletePromptResponse')
|
|
180
182
|
DeleteResourcePolicyRequest = Shapes::StructureShape.new(name: 'DeleteResourcePolicyRequest')
|
|
181
183
|
DeleteResourcePolicyResponse = Shapes::StructureShape.new(name: 'DeleteResourcePolicyResponse')
|
|
184
|
+
DeleteVpcConfigurationRequest = Shapes::StructureShape.new(name: 'DeleteVpcConfigurationRequest')
|
|
185
|
+
DeleteVpcConfigurationResponse = Shapes::StructureShape.new(name: 'DeleteVpcConfigurationResponse')
|
|
182
186
|
DeletionProtectionConfiguration = Shapes::StructureShape.new(name: 'DeletionProtectionConfiguration')
|
|
183
187
|
DeletionProtectionConfigurationDeletionProtectionThresholdInteger = Shapes::IntegerShape.new(name: 'DeletionProtectionConfigurationDeletionProtectionThresholdInteger')
|
|
184
188
|
Description = Shapes::StringShape.new(name: 'Description')
|
|
@@ -314,6 +318,8 @@ module Aws::BedrockAgent
|
|
|
314
318
|
GetPromptResponse = Shapes::StructureShape.new(name: 'GetPromptResponse')
|
|
315
319
|
GetResourcePolicyRequest = Shapes::StructureShape.new(name: 'GetResourcePolicyRequest')
|
|
316
320
|
GetResourcePolicyResponse = Shapes::StructureShape.new(name: 'GetResourcePolicyResponse')
|
|
321
|
+
GetVpcConfigurationRequest = Shapes::StructureShape.new(name: 'GetVpcConfigurationRequest')
|
|
322
|
+
GetVpcConfigurationResponse = Shapes::StructureShape.new(name: 'GetVpcConfigurationResponse')
|
|
317
323
|
GraphArn = Shapes::StringShape.new(name: 'GraphArn')
|
|
318
324
|
GuardrailConfiguration = Shapes::StructureShape.new(name: 'GuardrailConfiguration')
|
|
319
325
|
GuardrailIdentifier = Shapes::StringShape.new(name: 'GuardrailIdentifier')
|
|
@@ -323,6 +329,7 @@ module Aws::BedrockAgent
|
|
|
323
329
|
HierarchicalChunkingLevelConfiguration = Shapes::StructureShape.new(name: 'HierarchicalChunkingLevelConfiguration')
|
|
324
330
|
HierarchicalChunkingLevelConfigurationMaxTokensInteger = Shapes::IntegerShape.new(name: 'HierarchicalChunkingLevelConfigurationMaxTokensInteger')
|
|
325
331
|
HierarchicalChunkingLevelConfigurations = Shapes::ListShape.new(name: 'HierarchicalChunkingLevelConfigurations')
|
|
332
|
+
HostHeader = Shapes::StringShape.new(name: 'HostHeader')
|
|
326
333
|
HttpsUrl = Shapes::StringShape.new(name: 'HttpsUrl')
|
|
327
334
|
Id = Shapes::StringShape.new(name: 'Id')
|
|
328
335
|
ImageExtractionConfiguration = Shapes::StructureShape.new(name: 'ImageExtractionConfiguration')
|
|
@@ -416,6 +423,9 @@ module Aws::BedrockAgent
|
|
|
416
423
|
ListPromptsResponse = Shapes::StructureShape.new(name: 'ListPromptsResponse')
|
|
417
424
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
|
418
425
|
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
|
426
|
+
ListVpcConfigurationsRequest = Shapes::StructureShape.new(name: 'ListVpcConfigurationsRequest')
|
|
427
|
+
ListVpcConfigurationsRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListVpcConfigurationsRequestMaxResultsInteger')
|
|
428
|
+
ListVpcConfigurationsResponse = Shapes::StructureShape.new(name: 'ListVpcConfigurationsResponse')
|
|
419
429
|
LoopControllerFlowNodeConfiguration = Shapes::StructureShape.new(name: 'LoopControllerFlowNodeConfiguration')
|
|
420
430
|
LoopControllerFlowNodeConfigurationMaxIterationsInteger = Shapes::IntegerShape.new(name: 'LoopControllerFlowNodeConfigurationMaxIterationsInteger')
|
|
421
431
|
LoopFlowNodeConfiguration = Shapes::StructureShape.new(name: 'LoopFlowNodeConfiguration')
|
|
@@ -502,6 +512,7 @@ module Aws::BedrockAgent
|
|
|
502
512
|
PineconeConnectionString = Shapes::StringShape.new(name: 'PineconeConnectionString')
|
|
503
513
|
PineconeFieldMapping = Shapes::StructureShape.new(name: 'PineconeFieldMapping')
|
|
504
514
|
PineconeNamespace = Shapes::StringShape.new(name: 'PineconeNamespace')
|
|
515
|
+
Port = Shapes::IntegerShape.new(name: 'Port')
|
|
505
516
|
PrepareAgentRequest = Shapes::StructureShape.new(name: 'PrepareAgentRequest')
|
|
506
517
|
PrepareAgentResponse = Shapes::StructureShape.new(name: 'PrepareAgentResponse')
|
|
507
518
|
PrepareFlowRequest = Shapes::StructureShape.new(name: 'PrepareFlowRequest')
|
|
@@ -587,6 +598,7 @@ module Aws::BedrockAgent
|
|
|
587
598
|
ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
|
|
588
599
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
|
589
600
|
ResourcePolicy = Shapes::StringShape.new(name: 'ResourcePolicy')
|
|
601
|
+
ResourceTarget = Shapes::StringShape.new(name: 'ResourceTarget')
|
|
590
602
|
RetrievalFlowNodeConfiguration = Shapes::StructureShape.new(name: 'RetrievalFlowNodeConfiguration')
|
|
591
603
|
RetrievalFlowNodeS3Configuration = Shapes::StructureShape.new(name: 'RetrievalFlowNodeS3Configuration')
|
|
592
604
|
RetrievalFlowNodeServiceConfiguration = Shapes::UnionShape.new(name: 'RetrievalFlowNodeServiceConfiguration')
|
|
@@ -642,6 +654,8 @@ module Aws::BedrockAgent
|
|
|
642
654
|
StorageFlowNodeServiceConfiguration = Shapes::UnionShape.new(name: 'StorageFlowNodeServiceConfiguration')
|
|
643
655
|
String = Shapes::StringShape.new(name: 'String')
|
|
644
656
|
StringValue = Shapes::StringShape.new(name: 'StringValue')
|
|
657
|
+
SubnetId = Shapes::StringShape.new(name: 'SubnetId')
|
|
658
|
+
SubnetIdList = Shapes::ListShape.new(name: 'SubnetIdList')
|
|
645
659
|
SupplementalDataStorageConfiguration = Shapes::StructureShape.new(name: 'SupplementalDataStorageConfiguration')
|
|
646
660
|
SupplementalDataStorageLocation = Shapes::StructureShape.new(name: 'SupplementalDataStorageLocation')
|
|
647
661
|
SupplementalDataStorageLocationType = Shapes::StringShape.new(name: 'SupplementalDataStorageLocationType')
|
|
@@ -662,6 +676,7 @@ module Aws::BedrockAgent
|
|
|
662
676
|
TextPrompt = Shapes::StringShape.new(name: 'TextPrompt')
|
|
663
677
|
TextPromptTemplateConfiguration = Shapes::StructureShape.new(name: 'TextPromptTemplateConfiguration')
|
|
664
678
|
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
|
679
|
+
TlsServerName = Shapes::StringShape.new(name: 'TlsServerName')
|
|
665
680
|
Tool = Shapes::UnionShape.new(name: 'Tool')
|
|
666
681
|
ToolChoice = Shapes::UnionShape.new(name: 'ToolChoice')
|
|
667
682
|
ToolConfiguration = Shapes::StructureShape.new(name: 'ToolConfiguration')
|
|
@@ -732,6 +747,17 @@ module Aws::BedrockAgent
|
|
|
732
747
|
VideoExtractionConfiguration = Shapes::StructureShape.new(name: 'VideoExtractionConfiguration')
|
|
733
748
|
VideoSegmentationConfiguration = Shapes::StructureShape.new(name: 'VideoSegmentationConfiguration')
|
|
734
749
|
VideoSegmentationConfigurationFixedLengthDurationInteger = Shapes::IntegerShape.new(name: 'VideoSegmentationConfigurationFixedLengthDurationInteger')
|
|
750
|
+
VpcConfiguration = Shapes::StructureShape.new(name: 'VpcConfiguration')
|
|
751
|
+
VpcConfigurationDescription = Shapes::StringShape.new(name: 'VpcConfigurationDescription')
|
|
752
|
+
VpcConfigurationId = Shapes::StringShape.new(name: 'VpcConfigurationId')
|
|
753
|
+
VpcConfigurationName = Shapes::StringShape.new(name: 'VpcConfigurationName')
|
|
754
|
+
VpcConfigurationStatus = Shapes::StringShape.new(name: 'VpcConfigurationStatus')
|
|
755
|
+
VpcConfigurationStatusMessage = Shapes::StringShape.new(name: 'VpcConfigurationStatusMessage')
|
|
756
|
+
VpcConfigurationSummary = Shapes::StructureShape.new(name: 'VpcConfigurationSummary')
|
|
757
|
+
VpcConfigurationSummaryList = Shapes::ListShape.new(name: 'VpcConfigurationSummaryList')
|
|
758
|
+
VpcId = Shapes::StringShape.new(name: 'VpcId')
|
|
759
|
+
VpcProtocol = Shapes::StringShape.new(name: 'VpcProtocol')
|
|
760
|
+
VpcResolutionMode = Shapes::StringShape.new(name: 'VpcResolutionMode')
|
|
735
761
|
WebCrawlerConfiguration = Shapes::StructureShape.new(name: 'WebCrawlerConfiguration')
|
|
736
762
|
WebCrawlerLimits = Shapes::StructureShape.new(name: 'WebCrawlerLimits')
|
|
737
763
|
WebCrawlerLimitsMaxPagesInteger = Shapes::IntegerShape.new(name: 'WebCrawlerLimitsMaxPagesInteger')
|
|
@@ -1234,6 +1260,24 @@ module Aws::BedrockAgent
|
|
|
1234
1260
|
CreatePromptVersionResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "updatedAt"))
|
|
1235
1261
|
CreatePromptVersionResponse.struct_class = Types::CreatePromptVersionResponse
|
|
1236
1262
|
|
|
1263
|
+
CreateVpcConfigurationRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "knowledgeBaseId"))
|
|
1264
|
+
CreateVpcConfigurationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
|
1265
|
+
CreateVpcConfigurationRequest.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, required: true, location_name: "vpcId"))
|
|
1266
|
+
CreateVpcConfigurationRequest.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIdList, required: true, location_name: "subnetIds"))
|
|
1267
|
+
CreateVpcConfigurationRequest.add_member(:resource_target, Shapes::ShapeRef.new(shape: ResourceTarget, required: true, location_name: "resourceTarget"))
|
|
1268
|
+
CreateVpcConfigurationRequest.add_member(:port, Shapes::ShapeRef.new(shape: Port, required: true, location_name: "port"))
|
|
1269
|
+
CreateVpcConfigurationRequest.add_member(:protocol, Shapes::ShapeRef.new(shape: VpcProtocol, required: true, location_name: "protocol"))
|
|
1270
|
+
CreateVpcConfigurationRequest.add_member(:resolution_mode, Shapes::ShapeRef.new(shape: VpcResolutionMode, required: true, location_name: "resolutionMode"))
|
|
1271
|
+
CreateVpcConfigurationRequest.add_member(:host_header, Shapes::ShapeRef.new(shape: HostHeader, location_name: "hostHeader"))
|
|
1272
|
+
CreateVpcConfigurationRequest.add_member(:tls_server_name, Shapes::ShapeRef.new(shape: TlsServerName, location_name: "tlsServerName"))
|
|
1273
|
+
CreateVpcConfigurationRequest.add_member(:name, Shapes::ShapeRef.new(shape: VpcConfigurationName, location_name: "name"))
|
|
1274
|
+
CreateVpcConfigurationRequest.add_member(:description, Shapes::ShapeRef.new(shape: VpcConfigurationDescription, location_name: "description"))
|
|
1275
|
+
CreateVpcConfigurationRequest.struct_class = Types::CreateVpcConfigurationRequest
|
|
1276
|
+
|
|
1277
|
+
CreateVpcConfigurationResponse.add_member(:vpc_configuration_id, Shapes::ShapeRef.new(shape: VpcConfigurationId, required: true, location_name: "vpcConfigurationId"))
|
|
1278
|
+
CreateVpcConfigurationResponse.add_member(:status, Shapes::ShapeRef.new(shape: VpcConfigurationStatus, required: true, location_name: "status"))
|
|
1279
|
+
CreateVpcConfigurationResponse.struct_class = Types::CreateVpcConfigurationResponse
|
|
1280
|
+
|
|
1237
1281
|
CuratedQueries.member = Shapes::ShapeRef.new(shape: CuratedQuery)
|
|
1238
1282
|
|
|
1239
1283
|
CuratedQuery.add_member(:natural_language, Shapes::ShapeRef.new(shape: NaturalLanguageString, required: true, location_name: "naturalLanguage"))
|
|
@@ -1406,6 +1450,14 @@ module Aws::BedrockAgent
|
|
|
1406
1450
|
DeleteResourcePolicyResponse.add_member(:revision_id, Shapes::ShapeRef.new(shape: RevisionId, location_name: "revisionId"))
|
|
1407
1451
|
DeleteResourcePolicyResponse.struct_class = Types::DeleteResourcePolicyResponse
|
|
1408
1452
|
|
|
1453
|
+
DeleteVpcConfigurationRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "knowledgeBaseId"))
|
|
1454
|
+
DeleteVpcConfigurationRequest.add_member(:vpc_configuration_id, Shapes::ShapeRef.new(shape: VpcConfigurationId, required: true, location: "uri", location_name: "vpcConfigurationId"))
|
|
1455
|
+
DeleteVpcConfigurationRequest.struct_class = Types::DeleteVpcConfigurationRequest
|
|
1456
|
+
|
|
1457
|
+
DeleteVpcConfigurationResponse.add_member(:vpc_configuration_id, Shapes::ShapeRef.new(shape: VpcConfigurationId, required: true, location_name: "vpcConfigurationId"))
|
|
1458
|
+
DeleteVpcConfigurationResponse.add_member(:status, Shapes::ShapeRef.new(shape: VpcConfigurationStatus, required: true, location_name: "status"))
|
|
1459
|
+
DeleteVpcConfigurationResponse.struct_class = Types::DeleteVpcConfigurationResponse
|
|
1460
|
+
|
|
1409
1461
|
DeletionProtectionConfiguration.add_member(:deletion_protection_status, Shapes::ShapeRef.new(shape: EnabledOrDisabledState, required: true, location_name: "deletionProtectionStatus"))
|
|
1410
1462
|
DeletionProtectionConfiguration.add_member(:deletion_protection_threshold, Shapes::ShapeRef.new(shape: DeletionProtectionConfigurationDeletionProtectionThresholdInteger, location_name: "deletionProtectionThreshold"))
|
|
1411
1463
|
DeletionProtectionConfiguration.struct_class = Types::DeletionProtectionConfiguration
|
|
@@ -1856,6 +1908,13 @@ module Aws::BedrockAgent
|
|
|
1856
1908
|
GetResourcePolicyResponse.add_member(:revision_id, Shapes::ShapeRef.new(shape: RevisionId, required: true, location_name: "revisionId"))
|
|
1857
1909
|
GetResourcePolicyResponse.struct_class = Types::GetResourcePolicyResponse
|
|
1858
1910
|
|
|
1911
|
+
GetVpcConfigurationRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "knowledgeBaseId"))
|
|
1912
|
+
GetVpcConfigurationRequest.add_member(:vpc_configuration_id, Shapes::ShapeRef.new(shape: VpcConfigurationId, required: true, location: "uri", location_name: "vpcConfigurationId"))
|
|
1913
|
+
GetVpcConfigurationRequest.struct_class = Types::GetVpcConfigurationRequest
|
|
1914
|
+
|
|
1915
|
+
GetVpcConfigurationResponse.add_member(:vpc_configuration, Shapes::ShapeRef.new(shape: VpcConfiguration, required: true, location_name: "vpcConfiguration"))
|
|
1916
|
+
GetVpcConfigurationResponse.struct_class = Types::GetVpcConfigurationResponse
|
|
1917
|
+
|
|
1859
1918
|
GuardrailConfiguration.add_member(:guardrail_identifier, Shapes::ShapeRef.new(shape: GuardrailIdentifier, location_name: "guardrailIdentifier"))
|
|
1860
1919
|
GuardrailConfiguration.add_member(:guardrail_version, Shapes::ShapeRef.new(shape: GuardrailVersion, location_name: "guardrailVersion"))
|
|
1861
1920
|
GuardrailConfiguration.struct_class = Types::GuardrailConfiguration
|
|
@@ -2173,6 +2232,16 @@ module Aws::BedrockAgent
|
|
|
2173
2232
|
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "tags"))
|
|
2174
2233
|
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
|
2175
2234
|
|
|
2235
|
+
ListVpcConfigurationsRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "knowledgeBaseId"))
|
|
2236
|
+
ListVpcConfigurationsRequest.add_member(:status_filter, Shapes::ShapeRef.new(shape: VpcConfigurationStatus, location: "querystring", location_name: "status"))
|
|
2237
|
+
ListVpcConfigurationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListVpcConfigurationsRequestMaxResultsInteger, location: "querystring", location_name: "maxResults"))
|
|
2238
|
+
ListVpcConfigurationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
|
2239
|
+
ListVpcConfigurationsRequest.struct_class = Types::ListVpcConfigurationsRequest
|
|
2240
|
+
|
|
2241
|
+
ListVpcConfigurationsResponse.add_member(:items, Shapes::ShapeRef.new(shape: VpcConfigurationSummaryList, required: true, location_name: "items"))
|
|
2242
|
+
ListVpcConfigurationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
|
2243
|
+
ListVpcConfigurationsResponse.struct_class = Types::ListVpcConfigurationsResponse
|
|
2244
|
+
|
|
2176
2245
|
LoopControllerFlowNodeConfiguration.add_member(:continue_condition, Shapes::ShapeRef.new(shape: FlowCondition, required: true, location_name: "continueCondition"))
|
|
2177
2246
|
LoopControllerFlowNodeConfiguration.add_member(:max_iterations, Shapes::ShapeRef.new(shape: LoopControllerFlowNodeConfigurationMaxIterationsInteger, location_name: "maxIterations"))
|
|
2178
2247
|
LoopControllerFlowNodeConfiguration.struct_class = Types::LoopControllerFlowNodeConfiguration
|
|
@@ -2742,6 +2811,8 @@ module Aws::BedrockAgent
|
|
|
2742
2811
|
StorageFlowNodeServiceConfiguration.add_member_subclass(:unknown, Types::StorageFlowNodeServiceConfiguration::Unknown)
|
|
2743
2812
|
StorageFlowNodeServiceConfiguration.struct_class = Types::StorageFlowNodeServiceConfiguration
|
|
2744
2813
|
|
|
2814
|
+
SubnetIdList.member = Shapes::ShapeRef.new(shape: SubnetId)
|
|
2815
|
+
|
|
2745
2816
|
SupplementalDataStorageConfiguration.add_member(:storage_locations, Shapes::ShapeRef.new(shape: SupplementalDataStorageLocations, required: true, location_name: "storageLocations"))
|
|
2746
2817
|
SupplementalDataStorageConfiguration.struct_class = Types::SupplementalDataStorageConfiguration
|
|
2747
2818
|
|
|
@@ -3088,6 +3159,40 @@ module Aws::BedrockAgent
|
|
|
3088
3159
|
VideoSegmentationConfiguration.add_member(:fixed_length_duration, Shapes::ShapeRef.new(shape: VideoSegmentationConfigurationFixedLengthDurationInteger, required: true, location_name: "fixedLengthDuration"))
|
|
3089
3160
|
VideoSegmentationConfiguration.struct_class = Types::VideoSegmentationConfiguration
|
|
3090
3161
|
|
|
3162
|
+
VpcConfiguration.add_member(:vpc_configuration_id, Shapes::ShapeRef.new(shape: VpcConfigurationId, required: true, location_name: "vpcConfigurationId"))
|
|
3163
|
+
VpcConfiguration.add_member(:status, Shapes::ShapeRef.new(shape: VpcConfigurationStatus, required: true, location_name: "status"))
|
|
3164
|
+
VpcConfiguration.add_member(:status_message, Shapes::ShapeRef.new(shape: VpcConfigurationStatusMessage, location_name: "statusMessage"))
|
|
3165
|
+
VpcConfiguration.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, required: true, location_name: "vpcId"))
|
|
3166
|
+
VpcConfiguration.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIdList, required: true, location_name: "subnetIds"))
|
|
3167
|
+
VpcConfiguration.add_member(:resource_target, Shapes::ShapeRef.new(shape: ResourceTarget, required: true, location_name: "resourceTarget"))
|
|
3168
|
+
VpcConfiguration.add_member(:port, Shapes::ShapeRef.new(shape: Port, required: true, location_name: "port"))
|
|
3169
|
+
VpcConfiguration.add_member(:protocol, Shapes::ShapeRef.new(shape: VpcProtocol, required: true, location_name: "protocol"))
|
|
3170
|
+
VpcConfiguration.add_member(:resolution_mode, Shapes::ShapeRef.new(shape: VpcResolutionMode, required: true, location_name: "resolutionMode"))
|
|
3171
|
+
VpcConfiguration.add_member(:host_header, Shapes::ShapeRef.new(shape: HostHeader, location_name: "hostHeader"))
|
|
3172
|
+
VpcConfiguration.add_member(:tls_server_name, Shapes::ShapeRef.new(shape: TlsServerName, location_name: "tlsServerName"))
|
|
3173
|
+
VpcConfiguration.add_member(:name, Shapes::ShapeRef.new(shape: VpcConfigurationName, location_name: "name"))
|
|
3174
|
+
VpcConfiguration.add_member(:description, Shapes::ShapeRef.new(shape: VpcConfigurationDescription, location_name: "description"))
|
|
3175
|
+
VpcConfiguration.add_member(:created_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "createdAt"))
|
|
3176
|
+
VpcConfiguration.add_member(:updated_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "updatedAt"))
|
|
3177
|
+
VpcConfiguration.struct_class = Types::VpcConfiguration
|
|
3178
|
+
|
|
3179
|
+
VpcConfigurationSummary.add_member(:vpc_configuration_id, Shapes::ShapeRef.new(shape: VpcConfigurationId, required: true, location_name: "vpcConfigurationId"))
|
|
3180
|
+
VpcConfigurationSummary.add_member(:status, Shapes::ShapeRef.new(shape: VpcConfigurationStatus, required: true, location_name: "status"))
|
|
3181
|
+
VpcConfigurationSummary.add_member(:status_message, Shapes::ShapeRef.new(shape: VpcConfigurationStatusMessage, location_name: "statusMessage"))
|
|
3182
|
+
VpcConfigurationSummary.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, required: true, location_name: "vpcId"))
|
|
3183
|
+
VpcConfigurationSummary.add_member(:resource_target, Shapes::ShapeRef.new(shape: ResourceTarget, required: true, location_name: "resourceTarget"))
|
|
3184
|
+
VpcConfigurationSummary.add_member(:port, Shapes::ShapeRef.new(shape: Port, required: true, location_name: "port"))
|
|
3185
|
+
VpcConfigurationSummary.add_member(:protocol, Shapes::ShapeRef.new(shape: VpcProtocol, required: true, location_name: "protocol"))
|
|
3186
|
+
VpcConfigurationSummary.add_member(:resolution_mode, Shapes::ShapeRef.new(shape: VpcResolutionMode, required: true, location_name: "resolutionMode"))
|
|
3187
|
+
VpcConfigurationSummary.add_member(:host_header, Shapes::ShapeRef.new(shape: HostHeader, location_name: "hostHeader"))
|
|
3188
|
+
VpcConfigurationSummary.add_member(:tls_server_name, Shapes::ShapeRef.new(shape: TlsServerName, location_name: "tlsServerName"))
|
|
3189
|
+
VpcConfigurationSummary.add_member(:name, Shapes::ShapeRef.new(shape: VpcConfigurationName, location_name: "name"))
|
|
3190
|
+
VpcConfigurationSummary.add_member(:description, Shapes::ShapeRef.new(shape: VpcConfigurationDescription, location_name: "description"))
|
|
3191
|
+
VpcConfigurationSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "createdAt"))
|
|
3192
|
+
VpcConfigurationSummary.struct_class = Types::VpcConfigurationSummary
|
|
3193
|
+
|
|
3194
|
+
VpcConfigurationSummaryList.member = Shapes::ShapeRef.new(shape: VpcConfigurationSummary)
|
|
3195
|
+
|
|
3091
3196
|
WebCrawlerConfiguration.add_member(:crawler_limits, Shapes::ShapeRef.new(shape: WebCrawlerLimits, location_name: "crawlerLimits"))
|
|
3092
3197
|
WebCrawlerConfiguration.add_member(:inclusion_filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "inclusionFilters"))
|
|
3093
3198
|
WebCrawlerConfiguration.add_member(:exclusion_filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "exclusionFilters"))
|
|
@@ -3305,6 +3410,21 @@ module Aws::BedrockAgent
|
|
|
3305
3410
|
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
3306
3411
|
end)
|
|
3307
3412
|
|
|
3413
|
+
api.add_operation(:create_vpc_configuration, Seahorse::Model::Operation.new.tap do |o|
|
|
3414
|
+
o.name = "CreateVpcConfiguration"
|
|
3415
|
+
o.http_method = "POST"
|
|
3416
|
+
o.http_request_uri = "/knowledgebases/{knowledgeBaseId}/vpcconfigurations/"
|
|
3417
|
+
o.input = Shapes::ShapeRef.new(shape: CreateVpcConfigurationRequest)
|
|
3418
|
+
o.output = Shapes::ShapeRef.new(shape: CreateVpcConfigurationResponse)
|
|
3419
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
3420
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
3421
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
3422
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
3423
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
3424
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
3425
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
3426
|
+
end)
|
|
3427
|
+
|
|
3308
3428
|
api.add_operation(:delete_agent, Seahorse::Model::Operation.new.tap do |o|
|
|
3309
3429
|
o.name = "DeleteAgent"
|
|
3310
3430
|
o.http_method = "DELETE"
|
|
@@ -3472,6 +3592,20 @@ module Aws::BedrockAgent
|
|
|
3472
3592
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
3473
3593
|
end)
|
|
3474
3594
|
|
|
3595
|
+
api.add_operation(:delete_vpc_configuration, Seahorse::Model::Operation.new.tap do |o|
|
|
3596
|
+
o.name = "DeleteVpcConfiguration"
|
|
3597
|
+
o.http_method = "DELETE"
|
|
3598
|
+
o.http_request_uri = "/knowledgebases/{knowledgeBaseId}/vpcconfigurations/{vpcConfigurationId}"
|
|
3599
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteVpcConfigurationRequest)
|
|
3600
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteVpcConfigurationResponse)
|
|
3601
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
3602
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
3603
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
3604
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
3605
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
3606
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
3607
|
+
end)
|
|
3608
|
+
|
|
3475
3609
|
api.add_operation(:disassociate_agent_collaborator, Seahorse::Model::Operation.new.tap do |o|
|
|
3476
3610
|
o.name = "DisassociateAgentCollaborator"
|
|
3477
3611
|
o.http_method = "DELETE"
|
|
@@ -3696,6 +3830,19 @@ module Aws::BedrockAgent
|
|
|
3696
3830
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
3697
3831
|
end)
|
|
3698
3832
|
|
|
3833
|
+
api.add_operation(:get_vpc_configuration, Seahorse::Model::Operation.new.tap do |o|
|
|
3834
|
+
o.name = "GetVpcConfiguration"
|
|
3835
|
+
o.http_method = "GET"
|
|
3836
|
+
o.http_request_uri = "/knowledgebases/{knowledgeBaseId}/vpcconfigurations/{vpcConfigurationId}"
|
|
3837
|
+
o.input = Shapes::ShapeRef.new(shape: GetVpcConfigurationRequest)
|
|
3838
|
+
o.output = Shapes::ShapeRef.new(shape: GetVpcConfigurationResponse)
|
|
3839
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
3840
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
3841
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
3842
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
3843
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
3844
|
+
end)
|
|
3845
|
+
|
|
3699
3846
|
api.add_operation(:ingest_knowledge_base_documents, Seahorse::Model::Operation.new.tap do |o|
|
|
3700
3847
|
o.name = "IngestKnowledgeBaseDocuments"
|
|
3701
3848
|
o.http_method = "PUT"
|
|
@@ -3987,6 +4134,25 @@ module Aws::BedrockAgent
|
|
|
3987
4134
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
3988
4135
|
end)
|
|
3989
4136
|
|
|
4137
|
+
api.add_operation(:list_vpc_configurations, Seahorse::Model::Operation.new.tap do |o|
|
|
4138
|
+
o.name = "ListVpcConfigurations"
|
|
4139
|
+
o.http_method = "GET"
|
|
4140
|
+
o.http_request_uri = "/knowledgebases/{knowledgeBaseId}/vpcconfigurations/"
|
|
4141
|
+
o.input = Shapes::ShapeRef.new(shape: ListVpcConfigurationsRequest)
|
|
4142
|
+
o.output = Shapes::ShapeRef.new(shape: ListVpcConfigurationsResponse)
|
|
4143
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
4144
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
4145
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
4146
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
4147
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
4148
|
+
o[:pager] = Aws::Pager.new(
|
|
4149
|
+
limit_key: "max_results",
|
|
4150
|
+
tokens: {
|
|
4151
|
+
"next_token" => "next_token"
|
|
4152
|
+
}
|
|
4153
|
+
)
|
|
4154
|
+
end)
|
|
4155
|
+
|
|
3990
4156
|
api.add_operation(:prepare_agent, Seahorse::Model::Operation.new.tap do |o|
|
|
3991
4157
|
o.name = "PrepareAgent"
|
|
3992
4158
|
o.http_method = "POST"
|