aws-sdk-bedrockagentcorecontrol 1.74.0 → 1.75.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: 336ecc063d468e75eec7ce771e859a029a9d8b9f0d3ebaf48f5ba3285c0f6ff9
4
- data.tar.gz: 4411862594f36960c7a9b1272d706ed7467a91778a5d4fe01bc8676e1e15157b
3
+ metadata.gz: f8dba3b2e6111d67d92156cd27fc345595dc7dfdf095e8f58ac6355cfa63784b
4
+ data.tar.gz: 45f607411ca02a6662456bb1212474a6ba0fd6dba4f0d4683fd02b59f9622111
5
5
  SHA512:
6
- metadata.gz: 06b56331b1822f2623bbde72938261bbc7682bb1c666f10a952bc28cb619f836270fffdc3bd27730a9dece2f5a1dc1c0acbb44d0bb005f9d730590cae57e0129
7
- data.tar.gz: 2c0a5bd2aeb47665494f395be8357469565dce09ace136f8031fe8b7c3ba814506053ab2b7cce11dc6d62736147404ac90095d3df38d97e8df13e6adf078faf2
6
+ metadata.gz: e14a358c0d224b38ca5f3b2a8b4df875ee2898851d8d3539a5aa9142db1d53e8ab4f0f5f5faef0746a1fbab888a43e432b55818f0e2d163dec9997e472a06dfe
7
+ data.tar.gz: b940dca38ea4deed2764b8426bc2b34caff57a0826121ea3ebad7eacfabf0cec5db5815d6e879da0c19edb58bf93321c677e959473db73450d6f949c8d7080fe
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.75.0 (2026-09-25)
5
+ ------------------
6
+
7
+ * Feature - Amazon Bedrock AgentCore Payments now supports credential rotation for payment connectors, letting you rotate API and wallet secrets for Quick Create payment auths from the console. This release also adds Type and Creation type columns to the payment managers views.
8
+
4
9
  1.74.0 (2026-09-21)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.74.0
1
+ 1.75.0
@@ -8909,11 +8909,13 @@ module Aws::BedrockAgentCoreControl
8909
8909
  # * {Types::GetPaymentConnectorResponse#name #name} => String
8910
8910
  # * {Types::GetPaymentConnectorResponse#description #description} => String
8911
8911
  # * {Types::GetPaymentConnectorResponse#type #type} => String
8912
+ # * {Types::GetPaymentConnectorResponse#provision_mode #provision_mode} => String
8912
8913
  # * {Types::GetPaymentConnectorResponse#credential_provider_configurations #credential_provider_configurations} => Array<Types::CredentialsProviderConfiguration>
8913
8914
  # * {Types::GetPaymentConnectorResponse#created_at #created_at} => Time
8914
8915
  # * {Types::GetPaymentConnectorResponse#last_updated_at #last_updated_at} => Time
8915
8916
  # * {Types::GetPaymentConnectorResponse#status #status} => String
8916
8917
  # * {Types::GetPaymentConnectorResponse#authorization_url #authorization_url} => String
8918
+ # * {Types::GetPaymentConnectorResponse#credentials_updated_at #credentials_updated_at} => Time
8917
8919
  #
8918
8920
  # @example Request syntax with placeholder values
8919
8921
  #
@@ -8928,6 +8930,7 @@ module Aws::BedrockAgentCoreControl
8928
8930
  # resp.name #=> String
8929
8931
  # resp.description #=> String
8930
8932
  # resp.type #=> String, one of "CoinbaseCDP", "StripePrivy"
8933
+ # resp.provision_mode #=> String, one of "MANUAL", "QUICK_CREATE"
8931
8934
  # resp.credential_provider_configurations #=> Array
8932
8935
  # resp.credential_provider_configurations[0].coinbase_cdp.credential_provider_arn #=> String
8933
8936
  # resp.credential_provider_configurations[0].stripe_privy.credential_provider_arn #=> String
@@ -8935,6 +8938,7 @@ module Aws::BedrockAgentCoreControl
8935
8938
  # resp.last_updated_at #=> Time
8936
8939
  # resp.status #=> String, one of "CREATING", "UPDATING", "DELETING", "READY", "CREATE_FAILED", "UPDATE_FAILED", "DELETE_FAILED", "AWS_MARKETPLACE_SUBSCRIPTION_REQUIRED", "PENDING_AUTHENTICATION", "PROVISIONING", "AUTHENTICATION_EXPIRED", "AUTHENTICATION_FAILED"
8937
8940
  # resp.authorization_url #=> String
8941
+ # resp.credentials_updated_at #=> Time
8938
8942
  #
8939
8943
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/GetPaymentConnector AWS API Documentation
8940
8944
  #
@@ -11074,6 +11078,7 @@ module Aws::BedrockAgentCoreControl
11074
11078
  # resp.payment_connectors[0].payment_connector_id #=> String
11075
11079
  # resp.payment_connectors[0].name #=> String
11076
11080
  # resp.payment_connectors[0].type #=> String, one of "CoinbaseCDP", "StripePrivy"
11081
+ # resp.payment_connectors[0].provision_mode #=> String, one of "MANUAL", "QUICK_CREATE"
11077
11082
  # resp.payment_connectors[0].status #=> String, one of "CREATING", "UPDATING", "DELETING", "READY", "CREATE_FAILED", "UPDATE_FAILED", "DELETE_FAILED", "AWS_MARKETPLACE_SUBSCRIPTION_REQUIRED", "PENDING_AUTHENTICATION", "PROVISIONING", "AUTHENTICATION_EXPIRED", "AUTHENTICATION_FAILED"
11078
11083
  # resp.payment_connectors[0].last_updated_at #=> Time
11079
11084
  # resp.next_token #=> String
@@ -11884,6 +11889,88 @@ module Aws::BedrockAgentCoreControl
11884
11889
  req.send_request(options)
11885
11890
  end
11886
11891
 
11892
+ # Replaces the service-managed credentials of a payment connector with
11893
+ # newly issued credentials.
11894
+ #
11895
+ # Use this operation only for payment connectors with a `provisionMode`
11896
+ # of `QUICK_CREATE`. For payment connectors with a `provisionMode` of
11897
+ # `MANUAL`, call `UpdatePaymentCredentialProvider` instead after
11898
+ # rotating credentials with the payment provider directly.
11899
+ #
11900
+ # The rotation finishes before the response is returned, and only one
11901
+ # rotation runs at a time for a given payment connector. When it
11902
+ # succeeds, the new credential is in effect and the payment connector
11903
+ # stays in the `READY` state. When it fails, an error is returned, the
11904
+ # payment connector and its existing credential are left unchanged, and
11905
+ # you can retry the request.
11906
+ #
11907
+ # Rotation replaces the credential on the connector's credential
11908
+ # provider, so every payment connector that uses that provider is
11909
+ # affected. Replace any copy of the previous credential that you use
11910
+ # outside AgentCore.
11911
+ #
11912
+ # @option params [required, String] :payment_manager_id
11913
+ # The unique identifier of the parent payment manager.
11914
+ #
11915
+ # @option params [required, String] :payment_connector_id
11916
+ # The unique identifier of the payment connector whose credentials you
11917
+ # want to rotate.
11918
+ #
11919
+ # @option params [required, Types::CredentialRotationConfig] :credentials_to_rotate
11920
+ # The credentials to rotate. Specify the member that matches the payment
11921
+ # connector's `type`. Each credential that you select is rotated
11922
+ # independently.
11923
+ #
11924
+ # @option params [String] :client_token
11925
+ # A unique, case-sensitive identifier to ensure that the API request
11926
+ # completes no more than one time. If you don't specify this field, a
11927
+ # value is randomly generated for you. If this token matches a previous
11928
+ # request, the service ignores the request, but doesn't return an
11929
+ # error. For more information, see [Ensuring idempotency][1].
11930
+ #
11931
+ # **A suitable default value is auto-generated.** You should normally
11932
+ # not need to pass this option.**
11933
+ #
11934
+ #
11935
+ #
11936
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
11937
+ #
11938
+ # @return [Types::RotatePaymentConnectorCredentialsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
11939
+ #
11940
+ # * {Types::RotatePaymentConnectorCredentialsResponse#payment_connector_id #payment_connector_id} => String
11941
+ # * {Types::RotatePaymentConnectorCredentialsResponse#payment_manager_id #payment_manager_id} => String
11942
+ # * {Types::RotatePaymentConnectorCredentialsResponse#last_updated_at #last_updated_at} => Time
11943
+ # * {Types::RotatePaymentConnectorCredentialsResponse#status #status} => String
11944
+ #
11945
+ # @example Request syntax with placeholder values
11946
+ #
11947
+ # resp = client.rotate_payment_connector_credentials({
11948
+ # payment_manager_id: "PaymentManagerId", # required
11949
+ # payment_connector_id: "PaymentConnectorId", # required
11950
+ # credentials_to_rotate: { # required
11951
+ # coinbase_cdp: {
11952
+ # secrets: ["API_KEY"], # required, accepts API_KEY, WALLET_SECRET
11953
+ # },
11954
+ # },
11955
+ # client_token: "ClientToken",
11956
+ # })
11957
+ #
11958
+ # @example Response structure
11959
+ #
11960
+ # resp.payment_connector_id #=> String
11961
+ # resp.payment_manager_id #=> String
11962
+ # resp.last_updated_at #=> Time
11963
+ # resp.status #=> String, one of "CREATING", "UPDATING", "DELETING", "READY", "CREATE_FAILED", "UPDATE_FAILED", "DELETE_FAILED", "AWS_MARKETPLACE_SUBSCRIPTION_REQUIRED", "PENDING_AUTHENTICATION", "PROVISIONING", "AUTHENTICATION_EXPIRED", "AUTHENTICATION_FAILED"
11964
+ #
11965
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/RotatePaymentConnectorCredentials AWS API Documentation
11966
+ #
11967
+ # @overload rotate_payment_connector_credentials(params = {})
11968
+ # @param [Hash] params ({})
11969
+ def rotate_payment_connector_credentials(params = {}, options = {})
11970
+ req = build_request(:rotate_payment_connector_credentials, params)
11971
+ req.send_request(options)
11972
+ end
11973
+
11887
11974
  # Sets the customer master key (CMK) for a token vault.
11888
11975
  #
11889
11976
  # @option params [String] :token_vault_id
@@ -16945,7 +17032,7 @@ module Aws::BedrockAgentCoreControl
16945
17032
  tracer: tracer
16946
17033
  )
16947
17034
  context[:gem_name] = 'aws-sdk-bedrockagentcorecontrol'
16948
- context[:gem_version] = '1.74.0'
17035
+ context[:gem_version] = '1.75.0'
16949
17036
  Seahorse::Client::Request.new(handlers, context)
16950
17037
  end
16951
17038
 
@@ -162,6 +162,9 @@ module Aws::BedrockAgentCoreControl
162
162
  CoinbaseCdpApiKeyIdType = Shapes::StringShape.new(name: 'CoinbaseCdpApiKeyIdType')
163
163
  CoinbaseCdpConfigurationInput = Shapes::StructureShape.new(name: 'CoinbaseCdpConfigurationInput')
164
164
  CoinbaseCdpConfigurationOutput = Shapes::StructureShape.new(name: 'CoinbaseCdpConfigurationOutput')
165
+ CoinbaseCdpRotationTargets = Shapes::StructureShape.new(name: 'CoinbaseCdpRotationTargets')
166
+ CoinbaseCdpSecret = Shapes::StringShape.new(name: 'CoinbaseCdpSecret')
167
+ CoinbaseCdpSecrets = Shapes::ListShape.new(name: 'CoinbaseCdpSecrets')
165
168
  ComponentConfiguration = Shapes::StructureShape.new(name: 'ComponentConfiguration')
166
169
  ComponentConfigurationMap = Shapes::MapShape.new(name: 'ComponentConfigurationMap')
167
170
  ComponentIdentifier = Shapes::StringShape.new(name: 'ComponentIdentifier')
@@ -287,6 +290,7 @@ module Aws::BedrockAgentCoreControl
287
290
  CredentialProviderName = Shapes::StringShape.new(name: 'CredentialProviderName')
288
291
  CredentialProviderType = Shapes::StringShape.new(name: 'CredentialProviderType')
289
292
  CredentialProviderVendorType = Shapes::StringShape.new(name: 'CredentialProviderVendorType')
293
+ CredentialRotationConfig = Shapes::UnionShape.new(name: 'CredentialRotationConfig')
290
294
  CredentialsProviderConfiguration = Shapes::UnionShape.new(name: 'CredentialsProviderConfiguration')
291
295
  CredentialsProviderConfigurations = Shapes::ListShape.new(name: 'CredentialsProviderConfigurations')
292
296
  CustomClaimValidationType = Shapes::StructureShape.new(name: 'CustomClaimValidationType')
@@ -1128,6 +1132,8 @@ module Aws::BedrockAgentCoreControl
1128
1132
  RootVolumeConfiguration = Shapes::StructureShape.new(name: 'RootVolumeConfiguration')
1129
1133
  RootVolumeConfigurationFreeSpaceGiBInteger = Shapes::IntegerShape.new(name: 'RootVolumeConfigurationFreeSpaceGiBInteger')
1130
1134
  RootVolumeConfigurationThroughputInteger = Shapes::IntegerShape.new(name: 'RootVolumeConfigurationThroughputInteger')
1135
+ RotatePaymentConnectorCredentialsRequest = Shapes::StructureShape.new(name: 'RotatePaymentConnectorCredentialsRequest')
1136
+ RotatePaymentConnectorCredentialsResponse = Shapes::StructureShape.new(name: 'RotatePaymentConnectorCredentialsResponse')
1131
1137
  RouteToTargetAction = Shapes::UnionShape.new(name: 'RouteToTargetAction')
1132
1138
  RoutingDomain = Shapes::StringShape.new(name: 'RoutingDomain')
1133
1139
  Rule = Shapes::StructureShape.new(name: 'Rule')
@@ -1797,6 +1803,11 @@ module Aws::BedrockAgentCoreControl
1797
1803
  CoinbaseCdpConfigurationOutput.add_member(:wallet_secret_source, Shapes::ShapeRef.new(shape: SecretSourceType, location_name: "walletSecretSource"))
1798
1804
  CoinbaseCdpConfigurationOutput.struct_class = Types::CoinbaseCdpConfigurationOutput
1799
1805
 
1806
+ CoinbaseCdpRotationTargets.add_member(:secrets, Shapes::ShapeRef.new(shape: CoinbaseCdpSecrets, required: true, location_name: "secrets"))
1807
+ CoinbaseCdpRotationTargets.struct_class = Types::CoinbaseCdpRotationTargets
1808
+
1809
+ CoinbaseCdpSecrets.member = Shapes::ShapeRef.new(shape: CoinbaseCdpSecret)
1810
+
1800
1811
  ComponentConfiguration.add_member(:configuration, Shapes::ShapeRef.new(shape: Document, required: true, location_name: "configuration"))
1801
1812
  ComponentConfiguration.struct_class = Types::ComponentConfiguration
1802
1813
 
@@ -2463,6 +2474,12 @@ module Aws::BedrockAgentCoreControl
2463
2474
 
2464
2475
  CredentialProviderConfigurations.member = Shapes::ShapeRef.new(shape: CredentialProviderConfiguration)
2465
2476
 
2477
+ CredentialRotationConfig.add_member(:coinbase_cdp, Shapes::ShapeRef.new(shape: CoinbaseCdpRotationTargets, location_name: "coinbaseCDP"))
2478
+ CredentialRotationConfig.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
2479
+ CredentialRotationConfig.add_member_subclass(:coinbase_cdp, Types::CredentialRotationConfig::CoinbaseCdp)
2480
+ CredentialRotationConfig.add_member_subclass(:unknown, Types::CredentialRotationConfig::Unknown)
2481
+ CredentialRotationConfig.struct_class = Types::CredentialRotationConfig
2482
+
2466
2483
  CredentialsProviderConfiguration.add_member(:coinbase_cdp, Shapes::ShapeRef.new(shape: PaymentCredentialProviderConfiguration, location_name: "coinbaseCDP"))
2467
2484
  CredentialsProviderConfiguration.add_member(:stripe_privy, Shapes::ShapeRef.new(shape: PaymentCredentialProviderConfiguration, location_name: "stripePrivy"))
2468
2485
  CredentialsProviderConfiguration.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
@@ -3547,11 +3564,13 @@ module Aws::BedrockAgentCoreControl
3547
3564
  GetPaymentConnectorResponse.add_member(:name, Shapes::ShapeRef.new(shape: PaymentConnectorName, required: true, location_name: "name"))
3548
3565
  GetPaymentConnectorResponse.add_member(:description, Shapes::ShapeRef.new(shape: PaymentsDescription, location_name: "description"))
3549
3566
  GetPaymentConnectorResponse.add_member(:type, Shapes::ShapeRef.new(shape: PaymentConnectorType, required: true, location_name: "type"))
3567
+ GetPaymentConnectorResponse.add_member(:provision_mode, Shapes::ShapeRef.new(shape: PaymentConnectorProvisionMode, location_name: "provisionMode"))
3550
3568
  GetPaymentConnectorResponse.add_member(:credential_provider_configurations, Shapes::ShapeRef.new(shape: CredentialsProviderConfigurations, required: true, location_name: "credentialProviderConfigurations"))
3551
3569
  GetPaymentConnectorResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "createdAt"))
3552
3570
  GetPaymentConnectorResponse.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "lastUpdatedAt"))
3553
3571
  GetPaymentConnectorResponse.add_member(:status, Shapes::ShapeRef.new(shape: PaymentConnectorStatus, required: true, location_name: "status"))
3554
3572
  GetPaymentConnectorResponse.add_member(:authorization_url, Shapes::ShapeRef.new(shape: PaymentConnectorAuthorizationUrl, location_name: "authorizationUrl"))
3573
+ GetPaymentConnectorResponse.add_member(:credentials_updated_at, Shapes::ShapeRef.new(shape: DateTimestamp, location_name: "credentialsUpdatedAt"))
3555
3574
  GetPaymentConnectorResponse.struct_class = Types::GetPaymentConnectorResponse
3556
3575
 
3557
3576
  GetPaymentCredentialProviderRequest.add_member(:name, Shapes::ShapeRef.new(shape: CredentialProviderName, required: true, location_name: "name"))
@@ -5050,6 +5069,7 @@ module Aws::BedrockAgentCoreControl
5050
5069
  PaymentConnectorSummary.add_member(:payment_connector_id, Shapes::ShapeRef.new(shape: PaymentConnectorId, required: true, location_name: "paymentConnectorId"))
5051
5070
  PaymentConnectorSummary.add_member(:name, Shapes::ShapeRef.new(shape: PaymentConnectorName, required: true, location_name: "name"))
5052
5071
  PaymentConnectorSummary.add_member(:type, Shapes::ShapeRef.new(shape: PaymentConnectorType, required: true, location_name: "type"))
5072
+ PaymentConnectorSummary.add_member(:provision_mode, Shapes::ShapeRef.new(shape: PaymentConnectorProvisionMode, location_name: "provisionMode"))
5053
5073
  PaymentConnectorSummary.add_member(:status, Shapes::ShapeRef.new(shape: PaymentConnectorStatus, required: true, location_name: "status"))
5054
5074
  PaymentConnectorSummary.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "lastUpdatedAt"))
5055
5075
  PaymentConnectorSummary.struct_class = Types::PaymentConnectorSummary
@@ -5372,6 +5392,18 @@ module Aws::BedrockAgentCoreControl
5372
5392
  RootVolumeConfiguration.add_member(:free_space_gi_b, Shapes::ShapeRef.new(shape: RootVolumeConfigurationFreeSpaceGiBInteger, location_name: "freeSpaceGiB"))
5373
5393
  RootVolumeConfiguration.struct_class = Types::RootVolumeConfiguration
5374
5394
 
5395
+ RotatePaymentConnectorCredentialsRequest.add_member(:payment_manager_id, Shapes::ShapeRef.new(shape: PaymentManagerId, required: true, location: "uri", location_name: "paymentManagerId"))
5396
+ RotatePaymentConnectorCredentialsRequest.add_member(:payment_connector_id, Shapes::ShapeRef.new(shape: PaymentConnectorId, required: true, location: "uri", location_name: "paymentConnectorId"))
5397
+ RotatePaymentConnectorCredentialsRequest.add_member(:credentials_to_rotate, Shapes::ShapeRef.new(shape: CredentialRotationConfig, required: true, location_name: "credentialsToRotate"))
5398
+ RotatePaymentConnectorCredentialsRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
5399
+ RotatePaymentConnectorCredentialsRequest.struct_class = Types::RotatePaymentConnectorCredentialsRequest
5400
+
5401
+ RotatePaymentConnectorCredentialsResponse.add_member(:payment_connector_id, Shapes::ShapeRef.new(shape: PaymentConnectorId, required: true, location_name: "paymentConnectorId"))
5402
+ RotatePaymentConnectorCredentialsResponse.add_member(:payment_manager_id, Shapes::ShapeRef.new(shape: PaymentManagerId, required: true, location_name: "paymentManagerId"))
5403
+ RotatePaymentConnectorCredentialsResponse.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "lastUpdatedAt"))
5404
+ RotatePaymentConnectorCredentialsResponse.add_member(:status, Shapes::ShapeRef.new(shape: PaymentConnectorStatus, required: true, location_name: "status"))
5405
+ RotatePaymentConnectorCredentialsResponse.struct_class = Types::RotatePaymentConnectorCredentialsResponse
5406
+
5375
5407
  RouteToTargetAction.add_member(:static_route, Shapes::ShapeRef.new(shape: StaticRoute, location_name: "staticRoute"))
5376
5408
  RouteToTargetAction.add_member(:weighted_route, Shapes::ShapeRef.new(shape: WeightedRoute, location_name: "weightedRoute"))
5377
5409
  RouteToTargetAction.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
@@ -8614,6 +8646,20 @@ module Aws::BedrockAgentCoreControl
8614
8646
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
8615
8647
  end)
8616
8648
 
8649
+ api.add_operation(:rotate_payment_connector_credentials, Seahorse::Model::Operation.new.tap do |o|
8650
+ o.name = "RotatePaymentConnectorCredentials"
8651
+ o.http_method = "POST"
8652
+ o.http_request_uri = "/payments/managers/{paymentManagerId}/connectors/{paymentConnectorId}/rotate-credentials"
8653
+ o.input = Shapes::ShapeRef.new(shape: RotatePaymentConnectorCredentialsRequest)
8654
+ o.output = Shapes::ShapeRef.new(shape: RotatePaymentConnectorCredentialsResponse)
8655
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
8656
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
8657
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
8658
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
8659
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
8660
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
8661
+ end)
8662
+
8617
8663
  api.add_operation(:set_token_vault_cmk, Seahorse::Model::Operation.new.tap do |o|
8618
8664
  o.name = "SetTokenVaultCMK"
8619
8665
  o.http_method = "POST"
@@ -1602,6 +1602,30 @@ module Aws::BedrockAgentCoreControl
1602
1602
  include Aws::Structure
1603
1603
  end
1604
1604
 
1605
+ # Specifies the service-managed Coinbase CDP secrets to rotate.
1606
+ #
1607
+ # @!attribute [rw] secrets
1608
+ # The secrets to rotate. Specify at least one value. Each secret that
1609
+ # you specify is rotated independently.
1610
+ #
1611
+ # * `API_KEY` - The API key that the payment connector uses to call
1612
+ # Coinbase CDP. Rotate it as routine maintenance, or if you suspect
1613
+ # that it is compromised.
1614
+ #
1615
+ # * `WALLET_SECRET` - The wallet secret that signs transactions.
1616
+ # Rotate it only if it is lost or compromised. Coinbase CDP allows
1617
+ # one wallet secret per project, so it is replaced in place and
1618
+ # signing can be briefly interrupted.
1619
+ # @return [Array<String>]
1620
+ #
1621
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/CoinbaseCdpRotationTargets AWS API Documentation
1622
+ #
1623
+ class CoinbaseCdpRotationTargets < Struct.new(
1624
+ :secrets)
1625
+ SENSITIVE = []
1626
+ include Aws::Structure
1627
+ end
1628
+
1605
1629
  # The configuration for a component within a configuration bundle. The
1606
1630
  # component type is inferred from the component identifier ARN.
1607
1631
  #
@@ -5201,6 +5225,28 @@ module Aws::BedrockAgentCoreControl
5201
5225
  include Aws::Structure
5202
5226
  end
5203
5227
 
5228
+ # Specifies the service-managed credentials to rotate. Provide the
5229
+ # member that matches the payment connector's `type`.
5230
+ #
5231
+ # @note CredentialRotationConfig is a union - when making an API calls you must set exactly one of the members.
5232
+ #
5233
+ # @!attribute [rw] coinbase_cdp
5234
+ # The credentials to rotate for a Coinbase CDP payment connector.
5235
+ # @return [Types::CoinbaseCdpRotationTargets]
5236
+ #
5237
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/CredentialRotationConfig AWS API Documentation
5238
+ #
5239
+ class CredentialRotationConfig < Struct.new(
5240
+ :coinbase_cdp,
5241
+ :unknown)
5242
+ SENSITIVE = []
5243
+ include Aws::Structure
5244
+ include Aws::Structure::Union
5245
+
5246
+ class CoinbaseCdp < CredentialRotationConfig; end
5247
+ class Unknown < CredentialRotationConfig; end
5248
+ end
5249
+
5204
5250
  # The credential provider configuration for a payment connector.
5205
5251
  # Specifies the payment provider type and its associated credential
5206
5252
  # provider.
@@ -10264,6 +10310,20 @@ module Aws::BedrockAgentCoreControl
10264
10310
  # provider integration.
10265
10311
  # @return [String]
10266
10312
  #
10313
+ # @!attribute [rw] provision_mode
10314
+ # Specifies how the payment connector was provisioned. Payment
10315
+ # connectors that were created before this field was available return
10316
+ # `MANUAL`.
10317
+ #
10318
+ # * `MANUAL` - You provided the credential provider configurations, so
10319
+ # you own the credentials. Rotate them with the payment provider,
10320
+ # then call `UpdatePaymentCredentialProvider`.
10321
+ #
10322
+ # * `QUICK_CREATE` - AgentCore provisioned the credential provider for
10323
+ # you, so the credentials are service-managed. You can rotate them
10324
+ # with `RotatePaymentConnectorCredentials`.
10325
+ # @return [String]
10326
+ #
10267
10327
  # @!attribute [rw] credential_provider_configurations
10268
10328
  # The credential provider configurations for the payment connector.
10269
10329
  # @return [Array<Types::CredentialsProviderConfiguration>]
@@ -10288,6 +10348,14 @@ module Aws::BedrockAgentCoreControl
10288
10348
  # `PENDING_AUTHENTICATION`.
10289
10349
  # @return [String]
10290
10350
  #
10351
+ # @!attribute [rw] credentials_updated_at
10352
+ # The timestamp when the payment connector's current service-managed
10353
+ # credentials took effect. It is first set when the credentials are
10354
+ # provisioned and is updated by each rotation. This field is present
10355
+ # only for payment connectors with a `provisionMode` of
10356
+ # `QUICK_CREATE`.
10357
+ # @return [Time]
10358
+ #
10291
10359
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/GetPaymentConnectorResponse AWS API Documentation
10292
10360
  #
10293
10361
  class GetPaymentConnectorResponse < Struct.new(
@@ -10295,11 +10363,13 @@ module Aws::BedrockAgentCoreControl
10295
10363
  :name,
10296
10364
  :description,
10297
10365
  :type,
10366
+ :provision_mode,
10298
10367
  :credential_provider_configurations,
10299
10368
  :created_at,
10300
10369
  :last_updated_at,
10301
10370
  :status,
10302
- :authorization_url)
10371
+ :authorization_url,
10372
+ :credentials_updated_at)
10303
10373
  SENSITIVE = []
10304
10374
  include Aws::Structure
10305
10375
  end
@@ -15760,11 +15830,9 @@ module Aws::BedrockAgentCoreControl
15760
15830
  # @return [String]
15761
15831
  #
15762
15832
  # @!attribute [rw] mcp_tool_schema
15763
- # The tool schema configuration for the MCP server target. Supported
15764
- # only when the credential provider is configured with an
15765
- # authorization code grant type. Dynamic tool
15766
- # discovery/synchronization will be disabled when target is configured
15767
- # with mcpToolSchema.
15833
+ # A static tool list for the MCP server target. It is supported for
15834
+ # all credential providers. Dynamic tool discovery/synchronization
15835
+ # will be disabled when a target is configured with mcpToolSchema.
15768
15836
  # @return [Types::McpToolSchemaConfiguration]
15769
15837
  #
15770
15838
  # @!attribute [rw] listing_mode
@@ -17173,6 +17241,19 @@ module Aws::BedrockAgentCoreControl
17173
17241
  # provider integration.
17174
17242
  # @return [String]
17175
17243
  #
17244
+ # @!attribute [rw] provision_mode
17245
+ # Specifies how the payment connector was provisioned. Payment
17246
+ # connectors that were created before this field was available return
17247
+ # `MANUAL`.
17248
+ #
17249
+ # * `MANUAL` - You provided the credential provider configurations, so
17250
+ # you own the credentials.
17251
+ #
17252
+ # * `QUICK_CREATE` - AgentCore provisioned the credential provider for
17253
+ # you, so the credentials are service-managed and you can rotate
17254
+ # them with `RotatePaymentConnectorCredentials`.
17255
+ # @return [String]
17256
+ #
17176
17257
  # @!attribute [rw] status
17177
17258
  # The current status of the payment connector. Possible values include
17178
17259
  # `CREATING`, `READY`, `UPDATING`, `DELETING`, `CREATE_FAILED`,
@@ -17189,6 +17270,7 @@ module Aws::BedrockAgentCoreControl
17189
17270
  :payment_connector_id,
17190
17271
  :name,
17191
17272
  :type,
17273
+ :provision_mode,
17192
17274
  :status,
17193
17275
  :last_updated_at)
17194
17276
  SENSITIVE = []
@@ -18668,6 +18750,77 @@ module Aws::BedrockAgentCoreControl
18668
18750
  include Aws::Structure
18669
18751
  end
18670
18752
 
18753
+ # @!attribute [rw] payment_manager_id
18754
+ # The unique identifier of the parent payment manager.
18755
+ # @return [String]
18756
+ #
18757
+ # @!attribute [rw] payment_connector_id
18758
+ # The unique identifier of the payment connector whose credentials you
18759
+ # want to rotate.
18760
+ # @return [String]
18761
+ #
18762
+ # @!attribute [rw] credentials_to_rotate
18763
+ # The credentials to rotate. Specify the member that matches the
18764
+ # payment connector's `type`. Each credential that you select is
18765
+ # rotated independently.
18766
+ # @return [Types::CredentialRotationConfig]
18767
+ #
18768
+ # @!attribute [rw] client_token
18769
+ # A unique, case-sensitive identifier to ensure that the API request
18770
+ # completes no more than one time. If you don't specify this field, a
18771
+ # value is randomly generated for you. If this token matches a
18772
+ # previous request, the service ignores the request, but doesn't
18773
+ # return an error. For more information, see [Ensuring
18774
+ # idempotency][1].
18775
+ #
18776
+ # **A suitable default value is auto-generated.** You should normally
18777
+ # not need to pass this option.
18778
+ #
18779
+ #
18780
+ #
18781
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
18782
+ # @return [String]
18783
+ #
18784
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/RotatePaymentConnectorCredentialsRequest AWS API Documentation
18785
+ #
18786
+ class RotatePaymentConnectorCredentialsRequest < Struct.new(
18787
+ :payment_manager_id,
18788
+ :payment_connector_id,
18789
+ :credentials_to_rotate,
18790
+ :client_token)
18791
+ SENSITIVE = []
18792
+ include Aws::Structure
18793
+ end
18794
+
18795
+ # @!attribute [rw] payment_connector_id
18796
+ # The unique identifier of the payment connector.
18797
+ # @return [String]
18798
+ #
18799
+ # @!attribute [rw] payment_manager_id
18800
+ # The unique identifier of the parent payment manager.
18801
+ # @return [String]
18802
+ #
18803
+ # @!attribute [rw] last_updated_at
18804
+ # The timestamp when the payment connector was last updated, which is
18805
+ # when the rotation completed.
18806
+ # @return [Time]
18807
+ #
18808
+ # @!attribute [rw] status
18809
+ # The current status of the payment connector, which is `READY` after
18810
+ # a successful rotation.
18811
+ # @return [String]
18812
+ #
18813
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/RotatePaymentConnectorCredentialsResponse AWS API Documentation
18814
+ #
18815
+ class RotatePaymentConnectorCredentialsResponse < Struct.new(
18816
+ :payment_connector_id,
18817
+ :payment_manager_id,
18818
+ :last_updated_at,
18819
+ :status)
18820
+ SENSITIVE = []
18821
+ include Aws::Structure
18822
+ end
18823
+
18671
18824
  # An action that routes requests to a gateway target, either statically
18672
18825
  # or with weighted traffic splitting.
18673
18826
  #
@@ -55,7 +55,7 @@ module Aws::BedrockAgentCoreControl
55
55
  autoload :EndpointProvider, 'aws-sdk-bedrockagentcorecontrol/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-bedrockagentcorecontrol/endpoints'
57
57
 
58
- GEM_VERSION = '1.74.0'
58
+ GEM_VERSION = '1.75.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -1827,11 +1827,13 @@ module Aws
1827
1827
  def name: () -> ::String
1828
1828
  def description: () -> ::String
1829
1829
  def type: () -> ("CoinbaseCDP" | "StripePrivy")
1830
+ def provision_mode: () -> ("MANUAL" | "QUICK_CREATE")
1830
1831
  def credential_provider_configurations: () -> ::Array[Types::CredentialsProviderConfiguration]
1831
1832
  def created_at: () -> ::Time
1832
1833
  def last_updated_at: () -> ::Time
1833
1834
  def status: () -> ("CREATING" | "UPDATING" | "DELETING" | "READY" | "CREATE_FAILED" | "UPDATE_FAILED" | "DELETE_FAILED" | "AWS_MARKETPLACE_SUBSCRIPTION_REQUIRED" | "PENDING_AUTHENTICATION" | "PROVISIONING" | "AUTHENTICATION_EXPIRED" | "AUTHENTICATION_FAILED")
1834
1835
  def authorization_url: () -> ::String
1836
+ def credentials_updated_at: () -> ::Time
1835
1837
  end
1836
1838
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCoreControl/Client.html#get_payment_connector-instance_method
1837
1839
  def get_payment_connector: (
@@ -2597,6 +2599,26 @@ module Aws
2597
2599
  ) -> _PutResourcePolicyResponseSuccess
2598
2600
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutResourcePolicyResponseSuccess
2599
2601
 
2602
+ interface _RotatePaymentConnectorCredentialsResponseSuccess
2603
+ include ::Seahorse::Client::_ResponseSuccess[Types::RotatePaymentConnectorCredentialsResponse]
2604
+ def payment_connector_id: () -> ::String
2605
+ def payment_manager_id: () -> ::String
2606
+ def last_updated_at: () -> ::Time
2607
+ def status: () -> ("CREATING" | "UPDATING" | "DELETING" | "READY" | "CREATE_FAILED" | "UPDATE_FAILED" | "DELETE_FAILED" | "AWS_MARKETPLACE_SUBSCRIPTION_REQUIRED" | "PENDING_AUTHENTICATION" | "PROVISIONING" | "AUTHENTICATION_EXPIRED" | "AUTHENTICATION_FAILED")
2608
+ end
2609
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCoreControl/Client.html#rotate_payment_connector_credentials-instance_method
2610
+ def rotate_payment_connector_credentials: (
2611
+ payment_manager_id: ::String,
2612
+ payment_connector_id: ::String,
2613
+ credentials_to_rotate: {
2614
+ coinbase_cdp: {
2615
+ secrets: Array[("API_KEY" | "WALLET_SECRET")]
2616
+ }?
2617
+ },
2618
+ ?client_token: ::String
2619
+ ) -> _RotatePaymentConnectorCredentialsResponseSuccess
2620
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RotatePaymentConnectorCredentialsResponseSuccess
2621
+
2600
2622
  interface _SetTokenVaultCMKResponseSuccess
2601
2623
  include ::Seahorse::Client::_ResponseSuccess[Types::SetTokenVaultCMKResponse]
2602
2624
  def token_vault_id: () -> ::String
data/sig/types.rbs CHANGED
@@ -451,6 +451,11 @@ module Aws::BedrockAgentCoreControl
451
451
  SENSITIVE: []
452
452
  end
453
453
 
454
+ class CoinbaseCdpRotationTargets
455
+ attr_accessor secrets: ::Array[("API_KEY" | "WALLET_SECRET")]
456
+ SENSITIVE: []
457
+ end
458
+
454
459
  class ComponentConfiguration
455
460
  attr_accessor configuration: untyped
456
461
  SENSITIVE: []
@@ -1276,6 +1281,17 @@ module Aws::BedrockAgentCoreControl
1276
1281
  SENSITIVE: []
1277
1282
  end
1278
1283
 
1284
+ class CredentialRotationConfig
1285
+ attr_accessor coinbase_cdp: Types::CoinbaseCdpRotationTargets
1286
+ attr_accessor unknown: untyped
1287
+ SENSITIVE: []
1288
+
1289
+ class CoinbaseCdp < CredentialRotationConfig
1290
+ end
1291
+ class Unknown < CredentialRotationConfig
1292
+ end
1293
+ end
1294
+
1279
1295
  class CredentialsProviderConfiguration
1280
1296
  attr_accessor coinbase_cdp: Types::PaymentCredentialProviderConfiguration
1281
1297
  attr_accessor stripe_privy: Types::PaymentCredentialProviderConfiguration
@@ -2706,11 +2722,13 @@ module Aws::BedrockAgentCoreControl
2706
2722
  attr_accessor name: ::String
2707
2723
  attr_accessor description: ::String
2708
2724
  attr_accessor type: ("CoinbaseCDP" | "StripePrivy")
2725
+ attr_accessor provision_mode: ("MANUAL" | "QUICK_CREATE")
2709
2726
  attr_accessor credential_provider_configurations: ::Array[Types::CredentialsProviderConfiguration]
2710
2727
  attr_accessor created_at: ::Time
2711
2728
  attr_accessor last_updated_at: ::Time
2712
2729
  attr_accessor status: ("CREATING" | "UPDATING" | "DELETING" | "READY" | "CREATE_FAILED" | "UPDATE_FAILED" | "DELETE_FAILED" | "AWS_MARKETPLACE_SUBSCRIPTION_REQUIRED" | "PENDING_AUTHENTICATION" | "PROVISIONING" | "AUTHENTICATION_EXPIRED" | "AUTHENTICATION_FAILED")
2713
2730
  attr_accessor authorization_url: ::String
2731
+ attr_accessor credentials_updated_at: ::Time
2714
2732
  SENSITIVE: []
2715
2733
  end
2716
2734
 
@@ -4741,6 +4759,7 @@ module Aws::BedrockAgentCoreControl
4741
4759
  attr_accessor payment_connector_id: ::String
4742
4760
  attr_accessor name: ::String
4743
4761
  attr_accessor type: ("CoinbaseCDP" | "StripePrivy")
4762
+ attr_accessor provision_mode: ("MANUAL" | "QUICK_CREATE")
4744
4763
  attr_accessor status: ("CREATING" | "UPDATING" | "DELETING" | "READY" | "CREATE_FAILED" | "UPDATE_FAILED" | "DELETE_FAILED" | "AWS_MARKETPLACE_SUBSCRIPTION_REQUIRED" | "PENDING_AUTHENTICATION" | "PROVISIONING" | "AUTHENTICATION_EXPIRED" | "AUTHENTICATION_FAILED")
4745
4764
  attr_accessor last_updated_at: ::Time
4746
4765
  SENSITIVE: []
@@ -5147,6 +5166,22 @@ module Aws::BedrockAgentCoreControl
5147
5166
  SENSITIVE: []
5148
5167
  end
5149
5168
 
5169
+ class RotatePaymentConnectorCredentialsRequest
5170
+ attr_accessor payment_manager_id: ::String
5171
+ attr_accessor payment_connector_id: ::String
5172
+ attr_accessor credentials_to_rotate: Types::CredentialRotationConfig
5173
+ attr_accessor client_token: ::String
5174
+ SENSITIVE: []
5175
+ end
5176
+
5177
+ class RotatePaymentConnectorCredentialsResponse
5178
+ attr_accessor payment_connector_id: ::String
5179
+ attr_accessor payment_manager_id: ::String
5180
+ attr_accessor last_updated_at: ::Time
5181
+ attr_accessor status: ("CREATING" | "UPDATING" | "DELETING" | "READY" | "CREATE_FAILED" | "UPDATE_FAILED" | "DELETE_FAILED" | "AWS_MARKETPLACE_SUBSCRIPTION_REQUIRED" | "PENDING_AUTHENTICATION" | "PROVISIONING" | "AUTHENTICATION_EXPIRED" | "AUTHENTICATION_FAILED")
5182
+ SENSITIVE: []
5183
+ end
5184
+
5150
5185
  class RouteToTargetAction
5151
5186
  attr_accessor static_route: Types::StaticRoute
5152
5187
  attr_accessor weighted_route: Types::WeightedRoute
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-bedrockagentcorecontrol
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.74.0
4
+ version: 1.75.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services