aws-sdk-bedrockagentcore 1.72.0 → 1.74.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c8bc4aebb9f849a4bea243f626960170691087d5a4e7a6526bbbf925928333d2
4
- data.tar.gz: a49af2f4dc78052a726c762334a9102754743b72c15eb9025dd778064968d2c3
3
+ metadata.gz: 436e9a287d2c3fd986f5d9bc84a186e055ea2c7a6d15cbdddfd54c900caaa26b
4
+ data.tar.gz: 0de49dcb9c8b3c36d5ad400c451fc1d1ec56b6a945d776f400ab9097d9a6abdc
5
5
  SHA512:
6
- metadata.gz: 6759f82bdeb437d1ffd52dfad070ea6d930dea26151564272391688abaa723be75ebcd5bfaeb92c2a8e72a86fe256807100acc599514ce924965e1b5822a6cd7
7
- data.tar.gz: de3637002c80fae9c3ede21abbacdf94b39f070b4240669a3a7200186c48617092798f6077685399117da42be06d8ed4daa0793502c0f28f4042d7347fd8a558
6
+ metadata.gz: e58c2333390a3e5b34a8331343ebc2987b4ce5dfe765cdc10f12ec0c25fcefd049385cd0526afd8ecee26f70c2e0dfe718c1a7dd2a110224b863636e44289c32
7
+ data.tar.gz: 485a455973c4ae0b86b954fa638d5b590c1b57560a67316456f7772ad3d6c75518715634b839febd5a8c47406bf24cacd2060e37bf69f161ec7d8eb4f2aa899d
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.74.0 (2026-11-24)
5
+ ------------------
6
+
7
+ * Feature - Adds the optional userLocation parameter to InvokeWebSearch. Specify a two-letter ISO 3166-1 alpha-2 country code to refine web search results for that country. InvokeWebSearch also accepts search queries in languages other than English.
8
+
9
+ 1.73.0 (2026-11-19)
10
+ ------------------
11
+
12
+ * Feature - Adds the AWS Billing x402 payment type to ProcessPayment. Agents can purchase x402-enabled AWS Marketplace products and have the charges billed to the AWS account, without a wallet. Requests use the service-managed payment instrument ID aws.agentcorepayments.awsbilling.v1.
13
+
4
14
  1.72.0 (2026-11-18)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.72.0
1
+ 1.74.0
@@ -4567,6 +4567,17 @@ module Aws::BedrockAgentCore
4567
4567
  # @option params [Types::WebSearchFilters] :filters
4568
4568
  # The filters to apply to the search results.
4569
4569
  #
4570
+ # @option params [Types::WebSearchUserLocation] :user_location
4571
+ # `userLocation` may allow for Web Search results to be refined for that
4572
+ # location. This is done by supplying a `country`. The field is
4573
+ # optional.
4574
+ #
4575
+ # The value is checked against assigned ISO 3166-1 alpha-2 codes, so
4576
+ # unassigned and user-assigned codes such as `UK` and `XK`, empty or
4577
+ # whitespace-only values are rejected. An omitted value is treated as
4578
+ # absent. Without location, as a fallback Web Search may use your query
4579
+ # to localize results or default to `en_US`.
4580
+ #
4570
4581
  # @return [Types::InvokeWebSearchOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4571
4582
  #
4572
4583
  # * {Types::InvokeWebSearchOutput#results #results} => Array<Types::WebSearchResult>
@@ -4587,6 +4598,9 @@ module Aws::BedrockAgentCore
4587
4598
  # },
4588
4599
  # max_results: 1,
4589
4600
  # search_query: "Amazon Bedrock AgentCore web search",
4601
+ # user_location: {
4602
+ # country: "US",
4603
+ # },
4590
4604
  # web_search_id: "web-search.v1",
4591
4605
  # })
4592
4606
  #
@@ -4618,6 +4632,9 @@ module Aws::BedrockAgentCore
4618
4632
  # published_before: Time.now,
4619
4633
  # },
4620
4634
  # },
4635
+ # user_location: {
4636
+ # country: "WebSearchCountryCode",
4637
+ # },
4621
4638
  # })
4622
4639
  #
4623
4640
  # @example Response structure
@@ -5599,7 +5616,12 @@ module Aws::BedrockAgentCore
5599
5616
  # The ID of the payment session.
5600
5617
  #
5601
5618
  # @option params [required, String] :payment_instrument_id
5602
- # The ID of the payment instrument to use.
5619
+ # The ID of the payment instrument to use. For the `CRYPTO_X402` and
5620
+ # `MPP` payment types, specify the ID of a payment instrument that you
5621
+ # created. For the `AWS_BILLING_X402` payment type, specify the
5622
+ # service-managed instrument ID `aws.agentcorepayments.awsbilling.v1`.
5623
+ # You don't create this instrument; it's available for any payment
5624
+ # manager that has an AWS Billing payment connector.
5603
5625
  #
5604
5626
  # @option params [required, String] :payment_type
5605
5627
  # The type of payment to process.
@@ -5634,7 +5656,7 @@ module Aws::BedrockAgentCore
5634
5656
  # payment_manager_arn: "PaymentManagerArn", # required
5635
5657
  # payment_session_id: "PaymentSessionId", # required
5636
5658
  # payment_instrument_id: "PaymentInstrumentId", # required
5637
- # payment_type: "CRYPTO_X402", # required, accepts CRYPTO_X402, MPP
5659
+ # payment_type: "CRYPTO_X402", # required, accepts CRYPTO_X402, MPP, AWS_BILLING_X402
5638
5660
  # payment_input: { # required
5639
5661
  # crypto_x402: {
5640
5662
  # version: "String", # required
@@ -5647,6 +5669,19 @@ module Aws::BedrockAgentCore
5647
5669
  # www_authenticate_headers: ["WwwAuthenticateHeader"], # required
5648
5670
  # buyer_pays_gas_fees: false,
5649
5671
  # },
5672
+ # aws_billing_x402: {
5673
+ # version: "Version", # required
5674
+ # payload: { # required
5675
+ # },
5676
+ # options: {
5677
+ # dpop_jwk: {
5678
+ # kty: "EC", # required, accepts EC
5679
+ # crv: "P-256", # required, accepts P-256, P-384, P-521
5680
+ # x: "DpopJwkXString", # required
5681
+ # y: "DpopJwkYString", # required
5682
+ # },
5683
+ # },
5684
+ # },
5650
5685
  # },
5651
5686
  # client_token: "ClientToken",
5652
5687
  # })
@@ -5657,12 +5692,14 @@ module Aws::BedrockAgentCore
5657
5692
  # resp.payment_manager_arn #=> String
5658
5693
  # resp.payment_session_id #=> String
5659
5694
  # resp.payment_instrument_id #=> String
5660
- # resp.payment_type #=> String, one of "CRYPTO_X402", "MPP"
5695
+ # resp.payment_type #=> String, one of "CRYPTO_X402", "MPP", "AWS_BILLING_X402"
5661
5696
  # resp.status #=> String, one of "PROOF_GENERATED"
5662
5697
  # resp.payment_output.crypto_x402.version #=> String
5663
5698
  # resp.payment_output.mpp.version #=> String
5664
5699
  # resp.payment_output.mpp.selected_payment_id #=> String
5665
5700
  # resp.payment_output.mpp.payment_credential #=> String
5701
+ # resp.payment_output.aws_billing_x402.version #=> String
5702
+ # resp.payment_output.aws_billing_x402.payment_token #=> String
5666
5703
  # resp.created_at #=> Time
5667
5704
  # resp.updated_at #=> Time
5668
5705
  #
@@ -7377,7 +7414,7 @@ module Aws::BedrockAgentCore
7377
7414
  tracer: tracer
7378
7415
  )
7379
7416
  context[:gem_name] = 'aws-sdk-bedrockagentcore'
7380
- context[:gem_version] = '1.72.0'
7417
+ context[:gem_version] = '1.74.0'
7381
7418
  Seahorse::Client::Request.new(handlers, context)
7382
7419
  end
7383
7420
 
@@ -59,6 +59,10 @@ module Aws::BedrockAgentCore
59
59
  AutomationStreamStatus = Shapes::StringShape.new(name: 'AutomationStreamStatus')
60
60
  AutomationStreamUpdate = Shapes::StructureShape.new(name: 'AutomationStreamUpdate')
61
61
  AvailableLimits = Shapes::StructureShape.new(name: 'AvailableLimits')
62
+ AwsBillingPaymentOptions = Shapes::StructureShape.new(name: 'AwsBillingPaymentOptions')
63
+ AwsBillingPaymentToken = Shapes::StringShape.new(name: 'AwsBillingPaymentToken')
64
+ AwsBillingX402PaymentInput = Shapes::StructureShape.new(name: 'AwsBillingX402PaymentInput')
65
+ AwsBillingX402PaymentOutput = Shapes::StructureShape.new(name: 'AwsBillingX402PaymentOutput')
62
66
  BasicAuth = Shapes::StructureShape.new(name: 'BasicAuth')
63
67
  BatchCreateMemoryRecordsInput = Shapes::StructureShape.new(name: 'BatchCreateMemoryRecordsInput')
64
68
  BatchCreateMemoryRecordsOutput = Shapes::StructureShape.new(name: 'BatchCreateMemoryRecordsOutput')
@@ -220,6 +224,9 @@ module Aws::BedrockAgentCore
220
224
  DomainPattern = Shapes::StringShape.new(name: 'DomainPattern')
221
225
  DomainPatterns = Shapes::ListShape.new(name: 'DomainPatterns')
222
226
  Double = Shapes::FloatShape.new(name: 'Double')
227
+ DpopJwk = Shapes::StructureShape.new(name: 'DpopJwk')
228
+ DpopJwkXString = Shapes::StringShape.new(name: 'DpopJwkXString')
229
+ DpopJwkYString = Shapes::StringShape.new(name: 'DpopJwkYString')
223
230
  DuplicateIdException = Shapes::StructureShape.new(name: 'DuplicateIdException')
224
231
  EfsAccessPointArn = Shapes::StringShape.new(name: 'EfsAccessPointArn')
225
232
  EfsConfiguration = Shapes::StructureShape.new(name: 'EfsConfiguration')
@@ -528,6 +535,8 @@ module Aws::BedrockAgentCore
528
535
  InvokeWebSearchInputMaxResultsInteger = Shapes::IntegerShape.new(name: 'InvokeWebSearchInputMaxResultsInteger')
529
536
  InvokeWebSearchInputSearchQueryString = Shapes::StringShape.new(name: 'InvokeWebSearchInputSearchQueryString')
530
537
  InvokeWebSearchOutput = Shapes::StructureShape.new(name: 'InvokeWebSearchOutput')
538
+ JwkEllipticCurve = Shapes::StringShape.new(name: 'JwkEllipticCurve')
539
+ JwkKeyType = Shapes::StringShape.new(name: 'JwkKeyType')
531
540
  JwtKeyId = Shapes::StringShape.new(name: 'JwtKeyId')
532
541
  KeyList = Shapes::ListShape.new(name: 'KeyList')
533
542
  KeyPressArguments = Shapes::StructureShape.new(name: 'KeyPressArguments')
@@ -968,10 +977,12 @@ module Aws::BedrockAgentCore
968
977
  ViewPort = Shapes::StructureShape.new(name: 'ViewPort')
969
978
  ViewPortHeight = Shapes::IntegerShape.new(name: 'ViewPortHeight')
970
979
  ViewPortWidth = Shapes::IntegerShape.new(name: 'ViewPortWidth')
980
+ WebSearchCountryCode = Shapes::StringShape.new(name: 'WebSearchCountryCode')
971
981
  WebSearchFilters = Shapes::StructureShape.new(name: 'WebSearchFilters')
972
982
  WebSearchId = Shapes::StringShape.new(name: 'WebSearchId')
973
983
  WebSearchResult = Shapes::StructureShape.new(name: 'WebSearchResult')
974
984
  WebSearchResultList = Shapes::ListShape.new(name: 'WebSearchResultList')
985
+ WebSearchUserLocation = Shapes::StructureShape.new(name: 'WebSearchUserLocation')
975
986
  WorkloadIdentityNameType = Shapes::StringShape.new(name: 'WorkloadIdentityNameType')
976
987
  WorkloadIdentityTokenType = Shapes::StringShape.new(name: 'WorkloadIdentityTokenType')
977
988
  WwwAuthenticateHeader = Shapes::StringShape.new(name: 'WwwAuthenticateHeader')
@@ -1096,6 +1107,18 @@ module Aws::BedrockAgentCore
1096
1107
  AvailableLimits.add_member(:updated_at, Shapes::ShapeRef.new(shape: DateTimestamp, location_name: "updatedAt"))
1097
1108
  AvailableLimits.struct_class = Types::AvailableLimits
1098
1109
 
1110
+ AwsBillingPaymentOptions.add_member(:dpop_jwk, Shapes::ShapeRef.new(shape: DpopJwk, location_name: "dpopJwk"))
1111
+ AwsBillingPaymentOptions.struct_class = Types::AwsBillingPaymentOptions
1112
+
1113
+ AwsBillingX402PaymentInput.add_member(:version, Shapes::ShapeRef.new(shape: Version, required: true, location_name: "version"))
1114
+ AwsBillingX402PaymentInput.add_member(:payload, Shapes::ShapeRef.new(shape: PaymentDocument, required: true, location_name: "payload"))
1115
+ AwsBillingX402PaymentInput.add_member(:options, Shapes::ShapeRef.new(shape: AwsBillingPaymentOptions, location_name: "options"))
1116
+ AwsBillingX402PaymentInput.struct_class = Types::AwsBillingX402PaymentInput
1117
+
1118
+ AwsBillingX402PaymentOutput.add_member(:version, Shapes::ShapeRef.new(shape: Version, required: true, location_name: "version"))
1119
+ AwsBillingX402PaymentOutput.add_member(:payment_token, Shapes::ShapeRef.new(shape: AwsBillingPaymentToken, required: true, location_name: "paymentToken"))
1120
+ AwsBillingX402PaymentOutput.struct_class = Types::AwsBillingX402PaymentOutput
1121
+
1099
1122
  BasicAuth.add_member(:secret_arn, Shapes::ShapeRef.new(shape: SecretArn, required: true, location_name: "secretArn"))
1100
1123
  BasicAuth.struct_class = Types::BasicAuth
1101
1124
 
@@ -1600,6 +1623,12 @@ module Aws::BedrockAgentCore
1600
1623
 
1601
1624
  DomainPatterns.member = Shapes::ShapeRef.new(shape: DomainPattern)
1602
1625
 
1626
+ DpopJwk.add_member(:kty, Shapes::ShapeRef.new(shape: JwkKeyType, required: true, location_name: "kty"))
1627
+ DpopJwk.add_member(:crv, Shapes::ShapeRef.new(shape: JwkEllipticCurve, required: true, location_name: "crv"))
1628
+ DpopJwk.add_member(:x, Shapes::ShapeRef.new(shape: DpopJwkXString, required: true, location_name: "x"))
1629
+ DpopJwk.add_member(:y, Shapes::ShapeRef.new(shape: DpopJwkYString, required: true, location_name: "y"))
1630
+ DpopJwk.struct_class = Types::DpopJwk
1631
+
1603
1632
  DuplicateIdException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
1604
1633
  DuplicateIdException.struct_class = Types::DuplicateIdException
1605
1634
 
@@ -2733,6 +2762,7 @@ module Aws::BedrockAgentCore
2733
2762
  InvokeWebSearchInput.add_member(:search_query, Shapes::ShapeRef.new(shape: InvokeWebSearchInputSearchQueryString, required: true, location_name: "searchQuery"))
2734
2763
  InvokeWebSearchInput.add_member(:max_results, Shapes::ShapeRef.new(shape: InvokeWebSearchInputMaxResultsInteger, location_name: "maxResults"))
2735
2764
  InvokeWebSearchInput.add_member(:filters, Shapes::ShapeRef.new(shape: WebSearchFilters, location_name: "filters"))
2765
+ InvokeWebSearchInput.add_member(:user_location, Shapes::ShapeRef.new(shape: WebSearchUserLocation, location_name: "userLocation"))
2736
2766
  InvokeWebSearchInput.struct_class = Types::InvokeWebSearchInput
2737
2767
 
2738
2768
  InvokeWebSearchOutput.add_member(:results, Shapes::ShapeRef.new(shape: WebSearchResultList, required: true, location_name: "results"))
@@ -3179,9 +3209,11 @@ module Aws::BedrockAgentCore
3179
3209
 
3180
3210
  PaymentInput.add_member(:crypto_x402, Shapes::ShapeRef.new(shape: CryptoX402PaymentInput, location_name: "cryptoX402"))
3181
3211
  PaymentInput.add_member(:mpp, Shapes::ShapeRef.new(shape: MppPaymentInput, location_name: "mpp"))
3212
+ PaymentInput.add_member(:aws_billing_x402, Shapes::ShapeRef.new(shape: AwsBillingX402PaymentInput, location_name: "awsBillingX402"))
3182
3213
  PaymentInput.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
3183
3214
  PaymentInput.add_member_subclass(:crypto_x402, Types::PaymentInput::CryptoX402)
3184
3215
  PaymentInput.add_member_subclass(:mpp, Types::PaymentInput::Mpp)
3216
+ PaymentInput.add_member_subclass(:aws_billing_x402, Types::PaymentInput::AwsBillingX402)
3185
3217
  PaymentInput.add_member_subclass(:unknown, Types::PaymentInput::Unknown)
3186
3218
  PaymentInput.struct_class = Types::PaymentInput
3187
3219
 
@@ -3216,9 +3248,11 @@ module Aws::BedrockAgentCore
3216
3248
 
3217
3249
  PaymentOutput.add_member(:crypto_x402, Shapes::ShapeRef.new(shape: CryptoX402PaymentOutput, location_name: "cryptoX402"))
3218
3250
  PaymentOutput.add_member(:mpp, Shapes::ShapeRef.new(shape: MppPaymentOutput, location_name: "mpp"))
3251
+ PaymentOutput.add_member(:aws_billing_x402, Shapes::ShapeRef.new(shape: AwsBillingX402PaymentOutput, location_name: "awsBillingX402"))
3219
3252
  PaymentOutput.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
3220
3253
  PaymentOutput.add_member_subclass(:crypto_x402, Types::PaymentOutput::CryptoX402)
3221
3254
  PaymentOutput.add_member_subclass(:mpp, Types::PaymentOutput::Mpp)
3255
+ PaymentOutput.add_member_subclass(:aws_billing_x402, Types::PaymentOutput::AwsBillingX402)
3222
3256
  PaymentOutput.add_member_subclass(:unknown, Types::PaymentOutput::Unknown)
3223
3257
  PaymentOutput.struct_class = Types::PaymentOutput
3224
3258
 
@@ -4040,6 +4074,9 @@ module Aws::BedrockAgentCore
4040
4074
 
4041
4075
  WebSearchResultList.member = Shapes::ShapeRef.new(shape: WebSearchResult)
4042
4076
 
4077
+ WebSearchUserLocation.add_member(:country, Shapes::ShapeRef.new(shape: WebSearchCountryCode, location_name: "country"))
4078
+ WebSearchUserLocation.struct_class = Types::WebSearchUserLocation
4079
+
4043
4080
  WwwAuthenticateHeaderList.member = Shapes::ShapeRef.new(shape: WwwAuthenticateHeader)
4044
4081
 
4045
4082
 
@@ -550,6 +550,78 @@ module Aws::BedrockAgentCore
550
550
  include Aws::Structure
551
551
  end
552
552
 
553
+ # Optional settings for an AWS Billing payment.
554
+ #
555
+ # @!attribute [rw] dpop_jwk
556
+ # The agent's public key for Demonstrating Proof of Possession
557
+ # (DPoP), as described in RFC 9449. If you specify a key, the payment
558
+ # token is bound to it, and the seller can verify that the token is
559
+ # presented by the holder of the matching private key. If you don't
560
+ # specify a key, the payment token isn't bound to a key.
561
+ # @return [Types::DpopJwk]
562
+ #
563
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/AwsBillingPaymentOptions AWS API Documentation
564
+ #
565
+ class AwsBillingPaymentOptions < Struct.new(
566
+ :dpop_jwk)
567
+ SENSITIVE = []
568
+ include Aws::Structure
569
+ end
570
+
571
+ # The input for an AWS Billing x402 payment. The payment pays an AWS
572
+ # Marketplace seller's x402 (HTTP 402) payment requirement and is
573
+ # billed to the AWS account that owns the payment manager, through the
574
+ # payment manager's AWS Billing payment connector.
575
+ #
576
+ # @!attribute [rw] version
577
+ # The x402 protocol version of the seller's HTTP 402 response, from
578
+ # its `x402Version` field. For example, `2`.
579
+ # @return [String]
580
+ #
581
+ # @!attribute [rw] payload
582
+ # The seller's x402 payment requirement for AWS Billing, passed
583
+ # unchanged as a JSON object. The service reads the seller-signed
584
+ # quote token from `extra.quoteToken` and returns a
585
+ # `ValidationException` if it is missing or invalid. Any change to the
586
+ # quote token invalidates its signature.
587
+ # @return [Hash,Array,String,Numeric,Boolean]
588
+ #
589
+ # @!attribute [rw] options
590
+ # Optional settings for the AWS Billing payment.
591
+ # @return [Types::AwsBillingPaymentOptions]
592
+ #
593
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/AwsBillingX402PaymentInput AWS API Documentation
594
+ #
595
+ class AwsBillingX402PaymentInput < Struct.new(
596
+ :version,
597
+ :payload,
598
+ :options)
599
+ SENSITIVE = [:payload]
600
+ include Aws::Structure
601
+ end
602
+
603
+ # The output of an AWS Billing x402 payment.
604
+ #
605
+ # @!attribute [rw] version
606
+ # The x402 protocol version. This is the same value as the `version`
607
+ # in the request.
608
+ # @return [String]
609
+ #
610
+ # @!attribute [rw] payment_token
611
+ # The payment token, a signed JSON Web Token (JWT). Include it when
612
+ # you retry your request to the seller. Treat the payment token as a
613
+ # credential: don't log or share it.
614
+ # @return [String]
615
+ #
616
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/AwsBillingX402PaymentOutput AWS API Documentation
617
+ #
618
+ class AwsBillingX402PaymentOutput < Struct.new(
619
+ :version,
620
+ :payment_token)
621
+ SENSITIVE = [:payment_token]
622
+ include Aws::Structure
623
+ end
624
+
553
625
  # Configuration for HTTP Basic Authentication using credentials stored
554
626
  # in Amazon Web Services Secrets Manager. The secret must contain a JSON
555
627
  # object with `username` and `password` string fields. Username allows
@@ -2824,6 +2896,37 @@ module Aws::BedrockAgentCore
2824
2896
  include Aws::Structure
2825
2897
  end
2826
2898
 
2899
+ # An elliptic curve public key in JSON Web Key (JWK) format, as
2900
+ # described in RFC 7518 section 6.2, used to bind a payment token to the
2901
+ # agent.
2902
+ #
2903
+ # @!attribute [rw] kty
2904
+ # The key type. The only valid value is `EC`.
2905
+ # @return [String]
2906
+ #
2907
+ # @!attribute [rw] crv
2908
+ # The elliptic curve of the key.
2909
+ # @return [String]
2910
+ #
2911
+ # @!attribute [rw] x
2912
+ # The x-coordinate of the elliptic curve point, base64url-encoded.
2913
+ # @return [String]
2914
+ #
2915
+ # @!attribute [rw] y
2916
+ # The y-coordinate of the elliptic curve point, base64url-encoded.
2917
+ # @return [String]
2918
+ #
2919
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/DpopJwk AWS API Documentation
2920
+ #
2921
+ class DpopJwk < Struct.new(
2922
+ :kty,
2923
+ :crv,
2924
+ :x,
2925
+ :y)
2926
+ SENSITIVE = []
2927
+ include Aws::Structure
2928
+ end
2929
+
2827
2930
  # An exception thrown when attempting to create a resource with an
2828
2931
  # identifier that already exists.
2829
2932
  #
@@ -7722,13 +7825,26 @@ module Aws::BedrockAgentCore
7722
7825
  # The filters to apply to the search results.
7723
7826
  # @return [Types::WebSearchFilters]
7724
7827
  #
7828
+ # @!attribute [rw] user_location
7829
+ # `userLocation` may allow for Web Search results to be refined for
7830
+ # that location. This is done by supplying a `country`. The field is
7831
+ # optional.
7832
+ #
7833
+ # The value is checked against assigned ISO 3166-1 alpha-2 codes, so
7834
+ # unassigned and user-assigned codes such as `UK` and `XK`, empty or
7835
+ # whitespace-only values are rejected. An omitted value is treated as
7836
+ # absent. Without location, as a fallback Web Search may use your
7837
+ # query to localize results or default to `en_US`.
7838
+ # @return [Types::WebSearchUserLocation]
7839
+ #
7725
7840
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/InvokeWebSearchInput AWS API Documentation
7726
7841
  #
7727
7842
  class InvokeWebSearchInput < Struct.new(
7728
7843
  :web_search_id,
7729
7844
  :search_query,
7730
7845
  :max_results,
7731
- :filters)
7846
+ :filters,
7847
+ :user_location)
7732
7848
  SENSITIVE = []
7733
7849
  include Aws::Structure
7734
7850
  end
@@ -9728,11 +9844,18 @@ module Aws::BedrockAgentCore
9728
9844
  # challenge. Provide exactly one challenge per request.
9729
9845
  # @return [Types::MppPaymentInput]
9730
9846
  #
9847
+ # @!attribute [rw] aws_billing_x402
9848
+ # Input for an AWS Billing x402 payment, which pays an AWS Marketplace
9849
+ # seller's quote and charges it to the AWS account that owns the
9850
+ # payment manager.
9851
+ # @return [Types::AwsBillingX402PaymentInput]
9852
+ #
9731
9853
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/PaymentInput AWS API Documentation
9732
9854
  #
9733
9855
  class PaymentInput < Struct.new(
9734
9856
  :crypto_x402,
9735
9857
  :mpp,
9858
+ :aws_billing_x402,
9736
9859
  :unknown)
9737
9860
  SENSITIVE = []
9738
9861
  include Aws::Structure
@@ -9740,6 +9863,7 @@ module Aws::BedrockAgentCore
9740
9863
 
9741
9864
  class CryptoX402 < PaymentInput; end
9742
9865
  class Mpp < PaymentInput; end
9866
+ class AwsBillingX402 < PaymentInput; end
9743
9867
  class Unknown < PaymentInput; end
9744
9868
  end
9745
9869
 
@@ -9881,11 +10005,16 @@ module Aws::BedrockAgentCore
9881
10005
  # Contains the payment credential, ready to retry the request.
9882
10006
  # @return [Types::MppPaymentOutput]
9883
10007
  #
10008
+ # @!attribute [rw] aws_billing_x402
10009
+ # Output from an AWS Billing x402 payment.
10010
+ # @return [Types::AwsBillingX402PaymentOutput]
10011
+ #
9884
10012
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/PaymentOutput AWS API Documentation
9885
10013
  #
9886
10014
  class PaymentOutput < Struct.new(
9887
10015
  :crypto_x402,
9888
10016
  :mpp,
10017
+ :aws_billing_x402,
9889
10018
  :unknown)
9890
10019
  SENSITIVE = []
9891
10020
  include Aws::Structure
@@ -9893,6 +10022,7 @@ module Aws::BedrockAgentCore
9893
10022
 
9894
10023
  class CryptoX402 < PaymentOutput; end
9895
10024
  class Mpp < PaymentOutput; end
10025
+ class AwsBillingX402 < PaymentOutput; end
9896
10026
  class Unknown < PaymentOutput; end
9897
10027
  end
9898
10028
 
@@ -10078,7 +10208,12 @@ module Aws::BedrockAgentCore
10078
10208
  # @return [String]
10079
10209
  #
10080
10210
  # @!attribute [rw] payment_instrument_id
10081
- # The ID of the payment instrument to use.
10211
+ # The ID of the payment instrument to use. For the `CRYPTO_X402` and
10212
+ # `MPP` payment types, specify the ID of a payment instrument that you
10213
+ # created. For the `AWS_BILLING_X402` payment type, specify the
10214
+ # service-managed instrument ID `aws.agentcorepayments.awsbilling.v1`.
10215
+ # You don't create this instrument; it's available for any payment
10216
+ # manager that has an AWS Billing payment connector.
10082
10217
  # @return [String]
10083
10218
  #
10084
10219
  # @!attribute [rw] payment_type
@@ -10127,7 +10262,9 @@ module Aws::BedrockAgentCore
10127
10262
  # @return [String]
10128
10263
  #
10129
10264
  # @!attribute [rw] payment_instrument_id
10130
- # The ID of the payment instrument used.
10265
+ # The ID of the payment instrument used. For the `AWS_BILLING_X402`
10266
+ # payment type, this is the service-managed instrument ID
10267
+ # `aws.agentcorepayments.awsbilling.v1`.
10131
10268
  # @return [String]
10132
10269
  #
10133
10270
  # @!attribute [rw] payment_type
@@ -13627,6 +13764,21 @@ module Aws::BedrockAgentCore
13627
13764
  include Aws::Structure
13628
13765
  end
13629
13766
 
13767
+ # The geographic location to use for the web search.
13768
+ #
13769
+ # @!attribute [rw] country
13770
+ # The two-letter ISO 3166-1 alpha-2 country code. The code is
13771
+ # case-insensitive.
13772
+ # @return [String]
13773
+ #
13774
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/WebSearchUserLocation AWS API Documentation
13775
+ #
13776
+ class WebSearchUserLocation < Struct.new(
13777
+ :country)
13778
+ SENSITIVE = []
13779
+ include Aws::Structure
13780
+ end
13781
+
13630
13782
  # Contains output from a code interpreter stream.
13631
13783
  #
13632
13784
  # EventStream is an Enumerator of Events.
@@ -56,7 +56,7 @@ module Aws::BedrockAgentCore
56
56
  autoload :Endpoints, 'aws-sdk-bedrockagentcore/endpoints'
57
57
  autoload :EventStreams, 'aws-sdk-bedrockagentcore/event_streams'
58
58
 
59
- GEM_VERSION = '1.72.0'
59
+ GEM_VERSION = '1.74.0'
60
60
 
61
61
  end
62
62
 
data/sig/client.rbs CHANGED
@@ -1214,6 +1214,9 @@ module Aws
1214
1214
  published_after: ::Time?,
1215
1215
  published_before: ::Time?
1216
1216
  }?
1217
+ },
1218
+ ?user_location: {
1219
+ country: ::String?
1217
1220
  }
1218
1221
  ) -> _InvokeWebSearchResponseSuccess
1219
1222
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _InvokeWebSearchResponseSuccess
@@ -1451,7 +1454,7 @@ module Aws
1451
1454
  def payment_manager_arn: () -> ::String
1452
1455
  def payment_session_id: () -> ::String
1453
1456
  def payment_instrument_id: () -> ::String
1454
- def payment_type: () -> ("CRYPTO_X402" | "MPP")
1457
+ def payment_type: () -> ("CRYPTO_X402" | "MPP" | "AWS_BILLING_X402")
1455
1458
  def status: () -> ("PROOF_GENERATED")
1456
1459
  def payment_output: () -> Types::PaymentOutput
1457
1460
  def created_at: () -> ::Time
@@ -1464,7 +1467,7 @@ module Aws
1464
1467
  payment_manager_arn: ::String,
1465
1468
  payment_session_id: ::String,
1466
1469
  payment_instrument_id: ::String,
1467
- payment_type: ("CRYPTO_X402" | "MPP"),
1470
+ payment_type: ("CRYPTO_X402" | "MPP" | "AWS_BILLING_X402"),
1468
1471
  payment_input: {
1469
1472
  crypto_x402: {
1470
1473
  version: ::String,
@@ -1476,6 +1479,19 @@ module Aws
1476
1479
  version: ::String,
1477
1480
  www_authenticate_headers: Array[::String],
1478
1481
  buyer_pays_gas_fees: bool?
1482
+ }?,
1483
+ aws_billing_x402: {
1484
+ version: ::String,
1485
+ payload: {
1486
+ },
1487
+ options: {
1488
+ dpop_jwk: {
1489
+ kty: ("EC"),
1490
+ crv: ("P-256" | "P-384" | "P-521"),
1491
+ x: ::String,
1492
+ y: ::String
1493
+ }?
1494
+ }?
1479
1495
  }?
1480
1496
  },
1481
1497
  ?client_token: ::String
data/sig/types.rbs CHANGED
@@ -172,6 +172,24 @@ module Aws::BedrockAgentCore
172
172
  SENSITIVE: []
173
173
  end
174
174
 
175
+ class AwsBillingPaymentOptions
176
+ attr_accessor dpop_jwk: Types::DpopJwk
177
+ SENSITIVE: []
178
+ end
179
+
180
+ class AwsBillingX402PaymentInput
181
+ attr_accessor version: ::String
182
+ attr_accessor payload: untyped
183
+ attr_accessor options: Types::AwsBillingPaymentOptions
184
+ SENSITIVE: [:payload]
185
+ end
186
+
187
+ class AwsBillingX402PaymentOutput
188
+ attr_accessor version: ::String
189
+ attr_accessor payment_token: ::String
190
+ SENSITIVE: [:payment_token]
191
+ end
192
+
175
193
  class BasicAuth
176
194
  attr_accessor secret_arn: ::String
177
195
  SENSITIVE: []
@@ -831,6 +849,14 @@ module Aws::BedrockAgentCore
831
849
  SENSITIVE: []
832
850
  end
833
851
 
852
+ class DpopJwk
853
+ attr_accessor kty: ("EC")
854
+ attr_accessor crv: ("P-256" | "P-384" | "P-521")
855
+ attr_accessor x: ::String
856
+ attr_accessor y: ::String
857
+ SENSITIVE: []
858
+ end
859
+
834
860
  class DuplicateIdException
835
861
  attr_accessor message: ::String
836
862
  SENSITIVE: []
@@ -2280,6 +2306,7 @@ module Aws::BedrockAgentCore
2280
2306
  attr_accessor search_query: ::String
2281
2307
  attr_accessor max_results: ::Integer
2282
2308
  attr_accessor filters: Types::WebSearchFilters
2309
+ attr_accessor user_location: Types::WebSearchUserLocation
2283
2310
  SENSITIVE: []
2284
2311
  end
2285
2312
 
@@ -2882,6 +2909,7 @@ module Aws::BedrockAgentCore
2882
2909
  class PaymentInput
2883
2910
  attr_accessor crypto_x402: Types::CryptoX402PaymentInput
2884
2911
  attr_accessor mpp: Types::MppPaymentInput
2912
+ attr_accessor aws_billing_x402: Types::AwsBillingX402PaymentInput
2885
2913
  attr_accessor unknown: untyped
2886
2914
  SENSITIVE: []
2887
2915
 
@@ -2889,6 +2917,8 @@ module Aws::BedrockAgentCore
2889
2917
  end
2890
2918
  class Mpp < PaymentInput
2891
2919
  end
2920
+ class AwsBillingX402 < PaymentInput
2921
+ end
2892
2922
  class Unknown < PaymentInput
2893
2923
  end
2894
2924
  end
@@ -2932,6 +2962,7 @@ module Aws::BedrockAgentCore
2932
2962
  class PaymentOutput
2933
2963
  attr_accessor crypto_x402: Types::CryptoX402PaymentOutput
2934
2964
  attr_accessor mpp: Types::MppPaymentOutput
2965
+ attr_accessor aws_billing_x402: Types::AwsBillingX402PaymentOutput
2935
2966
  attr_accessor unknown: untyped
2936
2967
  SENSITIVE: []
2937
2968
 
@@ -2939,6 +2970,8 @@ module Aws::BedrockAgentCore
2939
2970
  end
2940
2971
  class Mpp < PaymentOutput
2941
2972
  end
2973
+ class AwsBillingX402 < PaymentOutput
2974
+ end
2942
2975
  class Unknown < PaymentOutput
2943
2976
  end
2944
2977
  end
@@ -3005,7 +3038,7 @@ module Aws::BedrockAgentCore
3005
3038
  attr_accessor payment_manager_arn: ::String
3006
3039
  attr_accessor payment_session_id: ::String
3007
3040
  attr_accessor payment_instrument_id: ::String
3008
- attr_accessor payment_type: ("CRYPTO_X402" | "MPP")
3041
+ attr_accessor payment_type: ("CRYPTO_X402" | "MPP" | "AWS_BILLING_X402")
3009
3042
  attr_accessor payment_input: Types::PaymentInput
3010
3043
  attr_accessor client_token: ::String
3011
3044
  SENSITIVE: []
@@ -3016,7 +3049,7 @@ module Aws::BedrockAgentCore
3016
3049
  attr_accessor payment_manager_arn: ::String
3017
3050
  attr_accessor payment_session_id: ::String
3018
3051
  attr_accessor payment_instrument_id: ::String
3019
- attr_accessor payment_type: ("CRYPTO_X402" | "MPP")
3052
+ attr_accessor payment_type: ("CRYPTO_X402" | "MPP" | "AWS_BILLING_X402")
3020
3053
  attr_accessor status: ("PROOF_GENERATED")
3021
3054
  attr_accessor payment_output: Types::PaymentOutput
3022
3055
  attr_accessor created_at: ::Time
@@ -3999,6 +4032,11 @@ module Aws::BedrockAgentCore
3999
4032
  SENSITIVE: []
4000
4033
  end
4001
4034
 
4035
+ class WebSearchUserLocation
4036
+ attr_accessor country: ::String
4037
+ SENSITIVE: []
4038
+ end
4039
+
4002
4040
  class CodeInterpreterStreamOutput < Enumerator[untyped, untyped]
4003
4041
  def event_types: () -> [:result, :access_denied_exception, :conflict_exception, :internal_server_exception, :resource_not_found_exception, :service_quota_exceeded_exception, :throttling_exception, :validation_exception]
4004
4042
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-bedrockagentcore
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.72.0
4
+ version: 1.74.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services