aws-sdk-bedrockagentcorecontrol 1.24.0 → 1.25.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: 97dd61c2fb0f815d976a2464c1c7d560d0e14f28625d206dbb261c843885e612
4
- data.tar.gz: f172032ce2df54822433145c039bad7ee268360b3774951e066d8bd9de91408a
3
+ metadata.gz: 535aa558578e5bf5eba66cb3dacc184bb491a95afdb9caf7d9582dd2dfa53bf1
4
+ data.tar.gz: 51eaaf8992eefdc63dc206d36e2f241aaf3e3aac66bf083351f5f78cb56a4b46
5
5
  SHA512:
6
- metadata.gz: e8ec44f836328a751f607ceb4a441703cb1d4b7ff658bfbd82736bfc734522c4beb623f8a925015149758b4544434ef5f00100d826b375788e32915c5fae39eb
7
- data.tar.gz: be1b58ce2de8435604d5c439db4c576d3c5f1f78714ca3aa22258ae1f273cc31a7e9edbb3bfe893a1f6e1aa54905aae4665e2aca6895e274f6aea2c1da984af9
6
+ metadata.gz: 79305777422d28a8c86be4db14c47e00e10d1bd525dc3932f74911e49a98e932366316a97081556dc0208f6864b230f2bcd4a20602e52275009fc1f81eb598d2
7
+ data.tar.gz: 54d70c7cf84a22722fb7961fe37981d7d504ed5512e22785d5eeebcf609e9dcb6e3648322af1669f69d23089aee2c1674b994cc7532fbc31f50f7ac086eb2ec5
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.25.0 (2026-03-03)
5
+ ------------------
6
+
7
+ * Feature - Support for AgentCore Policy GA
8
+
4
9
  1.24.0 (2026-02-05)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.24.0
1
+ 1.25.0
@@ -547,7 +547,7 @@ module Aws::BedrockAgentCoreControl
547
547
  # version_id: "S3LocationVersionIdString",
548
548
  # },
549
549
  # },
550
- # runtime: "PYTHON_3_10", # required, accepts PYTHON_3_10, PYTHON_3_11, PYTHON_3_12, PYTHON_3_13
550
+ # runtime: "PYTHON_3_10", # required, accepts PYTHON_3_10, PYTHON_3_11, PYTHON_3_12, PYTHON_3_13, PYTHON_3_14
551
551
  # entry_point: ["entryPoint"], # required
552
552
  # },
553
553
  # },
@@ -2146,6 +2146,10 @@ module Aws::BedrockAgentCoreControl
2146
2146
  # cedar: {
2147
2147
  # statement: "Statement", # required
2148
2148
  # },
2149
+ # policy_generation: {
2150
+ # policy_generation_id: "ResourceId", # required
2151
+ # policy_generation_asset_id: "ResourceId", # required
2152
+ # },
2149
2153
  # },
2150
2154
  # description: "Description",
2151
2155
  # validation_mode: "FAIL_ON_ANY_FINDINGS", # accepts FAIL_ON_ANY_FINDINGS, IGNORE_ALL_FINDINGS
@@ -2159,6 +2163,8 @@ module Aws::BedrockAgentCoreControl
2159
2163
  # resp.name #=> String
2160
2164
  # resp.policy_engine_id #=> String
2161
2165
  # resp.definition.cedar.statement #=> String
2166
+ # resp.definition.policy_generation.policy_generation_id #=> String
2167
+ # resp.definition.policy_generation.policy_generation_asset_id #=> String
2162
2168
  # resp.description #=> String
2163
2169
  # resp.created_at #=> Time
2164
2170
  # resp.updated_at #=> Time
@@ -2212,6 +2218,15 @@ module Aws::BedrockAgentCoreControl
2212
2218
  # **A suitable default value is auto-generated.** You should normally
2213
2219
  # not need to pass this option.**
2214
2220
  #
2221
+ # @option params [String] :encryption_key_arn
2222
+ # The Amazon Resource Name (ARN) of the KMS key used to encrypt the
2223
+ # policy engine data.
2224
+ #
2225
+ # @option params [Hash<String,String>] :tags
2226
+ # A map of tag keys and values to assign to an AgentCore Policy. Tags
2227
+ # enable you to categorize your resources in different ways, for
2228
+ # example, by purpose, owner, or environment.
2229
+ #
2215
2230
  # @return [Types::CreatePolicyEngineResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2216
2231
  #
2217
2232
  # * {Types::CreatePolicyEngineResponse#policy_engine_id #policy_engine_id} => String
@@ -2222,6 +2237,7 @@ module Aws::BedrockAgentCoreControl
2222
2237
  # * {Types::CreatePolicyEngineResponse#policy_engine_arn #policy_engine_arn} => String
2223
2238
  # * {Types::CreatePolicyEngineResponse#status #status} => String
2224
2239
  # * {Types::CreatePolicyEngineResponse#status_reasons #status_reasons} => Array&lt;String&gt;
2240
+ # * {Types::CreatePolicyEngineResponse#encryption_key_arn #encryption_key_arn} => String
2225
2241
  #
2226
2242
  # @example Request syntax with placeholder values
2227
2243
  #
@@ -2229,6 +2245,10 @@ module Aws::BedrockAgentCoreControl
2229
2245
  # name: "PolicyEngineName", # required
2230
2246
  # description: "Description",
2231
2247
  # client_token: "ClientToken",
2248
+ # encryption_key_arn: "KmsKeyArn",
2249
+ # tags: {
2250
+ # "TagKey" => "TagValue",
2251
+ # },
2232
2252
  # })
2233
2253
  #
2234
2254
  # @example Response structure
@@ -2242,6 +2262,7 @@ module Aws::BedrockAgentCoreControl
2242
2262
  # resp.status #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING", "CREATE_FAILED", "UPDATE_FAILED", "DELETE_FAILED"
2243
2263
  # resp.status_reasons #=> Array
2244
2264
  # resp.status_reasons[0] #=> String
2265
+ # resp.encryption_key_arn #=> String
2245
2266
  #
2246
2267
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/CreatePolicyEngine AWS API Documentation
2247
2268
  #
@@ -2771,6 +2792,8 @@ module Aws::BedrockAgentCoreControl
2771
2792
  # resp.name #=> String
2772
2793
  # resp.policy_engine_id #=> String
2773
2794
  # resp.definition.cedar.statement #=> String
2795
+ # resp.definition.policy_generation.policy_generation_id #=> String
2796
+ # resp.definition.policy_generation.policy_generation_asset_id #=> String
2774
2797
  # resp.description #=> String
2775
2798
  # resp.created_at #=> Time
2776
2799
  # resp.updated_at #=> Time
@@ -2809,6 +2832,7 @@ module Aws::BedrockAgentCoreControl
2809
2832
  # * {Types::DeletePolicyEngineResponse#policy_engine_arn #policy_engine_arn} => String
2810
2833
  # * {Types::DeletePolicyEngineResponse#status #status} => String
2811
2834
  # * {Types::DeletePolicyEngineResponse#status_reasons #status_reasons} => Array&lt;String&gt;
2835
+ # * {Types::DeletePolicyEngineResponse#encryption_key_arn #encryption_key_arn} => String
2812
2836
  #
2813
2837
  # @example Request syntax with placeholder values
2814
2838
  #
@@ -2827,6 +2851,7 @@ module Aws::BedrockAgentCoreControl
2827
2851
  # resp.status #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING", "CREATE_FAILED", "UPDATE_FAILED", "DELETE_FAILED"
2828
2852
  # resp.status_reasons #=> Array
2829
2853
  # resp.status_reasons[0] #=> String
2854
+ # resp.encryption_key_arn #=> String
2830
2855
  #
2831
2856
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/DeletePolicyEngine AWS API Documentation
2832
2857
  #
@@ -2915,6 +2940,7 @@ module Aws::BedrockAgentCoreControl
2915
2940
  # * {Types::GetAgentRuntimeResponse#environment_variables #environment_variables} => Hash&lt;String,String&gt;
2916
2941
  # * {Types::GetAgentRuntimeResponse#authorizer_configuration #authorizer_configuration} => Types::AuthorizerConfiguration
2917
2942
  # * {Types::GetAgentRuntimeResponse#request_header_configuration #request_header_configuration} => Types::RequestHeaderConfiguration
2943
+ # * {Types::GetAgentRuntimeResponse#metadata_configuration #metadata_configuration} => Types::RuntimeMetadataConfiguration
2918
2944
  #
2919
2945
  # @example Request syntax with placeholder values
2920
2946
  #
@@ -2947,7 +2973,7 @@ module Aws::BedrockAgentCoreControl
2947
2973
  # resp.agent_runtime_artifact.code_configuration.code.s3.bucket #=> String
2948
2974
  # resp.agent_runtime_artifact.code_configuration.code.s3.prefix #=> String
2949
2975
  # resp.agent_runtime_artifact.code_configuration.code.s3.version_id #=> String
2950
- # resp.agent_runtime_artifact.code_configuration.runtime #=> String, one of "PYTHON_3_10", "PYTHON_3_11", "PYTHON_3_12", "PYTHON_3_13"
2976
+ # resp.agent_runtime_artifact.code_configuration.runtime #=> String, one of "PYTHON_3_10", "PYTHON_3_11", "PYTHON_3_12", "PYTHON_3_13", "PYTHON_3_14"
2951
2977
  # resp.agent_runtime_artifact.code_configuration.entry_point #=> Array
2952
2978
  # resp.agent_runtime_artifact.code_configuration.entry_point[0] #=> String
2953
2979
  # resp.protocol_configuration.server_protocol #=> String, one of "MCP", "HTTP", "A2A"
@@ -2969,6 +2995,7 @@ module Aws::BedrockAgentCoreControl
2969
2995
  # resp.authorizer_configuration.custom_jwt_authorizer.custom_claims[0].authorizing_claim_match_value.claim_match_operator #=> String, one of "EQUALS", "CONTAINS", "CONTAINS_ANY"
2970
2996
  # resp.request_header_configuration.request_header_allowlist #=> Array
2971
2997
  # resp.request_header_configuration.request_header_allowlist[0] #=> String
2998
+ # resp.metadata_configuration.require_mmdsv2 #=> Boolean
2972
2999
  #
2973
3000
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/GetAgentRuntime AWS API Documentation
2974
3001
  #
@@ -3792,6 +3819,8 @@ module Aws::BedrockAgentCoreControl
3792
3819
  # resp.name #=> String
3793
3820
  # resp.policy_engine_id #=> String
3794
3821
  # resp.definition.cedar.statement #=> String
3822
+ # resp.definition.policy_generation.policy_generation_id #=> String
3823
+ # resp.definition.policy_generation.policy_generation_asset_id #=> String
3795
3824
  # resp.description #=> String
3796
3825
  # resp.created_at #=> Time
3797
3826
  # resp.updated_at #=> Time
@@ -3834,6 +3863,7 @@ module Aws::BedrockAgentCoreControl
3834
3863
  # * {Types::GetPolicyEngineResponse#policy_engine_arn #policy_engine_arn} => String
3835
3864
  # * {Types::GetPolicyEngineResponse#status #status} => String
3836
3865
  # * {Types::GetPolicyEngineResponse#status_reasons #status_reasons} => Array&lt;String&gt;
3866
+ # * {Types::GetPolicyEngineResponse#encryption_key_arn #encryption_key_arn} => String
3837
3867
  #
3838
3868
  # @example Request syntax with placeholder values
3839
3869
  #
@@ -3852,6 +3882,7 @@ module Aws::BedrockAgentCoreControl
3852
3882
  # resp.status #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING", "CREATE_FAILED", "UPDATE_FAILED", "DELETE_FAILED"
3853
3883
  # resp.status_reasons #=> Array
3854
3884
  # resp.status_reasons[0] #=> String
3885
+ # resp.encryption_key_arn #=> String
3855
3886
  #
3856
3887
  #
3857
3888
  # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
@@ -4698,6 +4729,8 @@ module Aws::BedrockAgentCoreControl
4698
4729
  # resp.policies[0].name #=> String
4699
4730
  # resp.policies[0].policy_engine_id #=> String
4700
4731
  # resp.policies[0].definition.cedar.statement #=> String
4732
+ # resp.policies[0].definition.policy_generation.policy_generation_id #=> String
4733
+ # resp.policies[0].definition.policy_generation.policy_generation_asset_id #=> String
4701
4734
  # resp.policies[0].description #=> String
4702
4735
  # resp.policies[0].created_at #=> Time
4703
4736
  # resp.policies[0].updated_at #=> Time
@@ -4761,6 +4794,7 @@ module Aws::BedrockAgentCoreControl
4761
4794
  # resp.policy_engines[0].status #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING", "CREATE_FAILED", "UPDATE_FAILED", "DELETE_FAILED"
4762
4795
  # resp.policy_engines[0].status_reasons #=> Array
4763
4796
  # resp.policy_engines[0].status_reasons[0] #=> String
4797
+ # resp.policy_engines[0].encryption_key_arn #=> String
4764
4798
  # resp.next_token #=> String
4765
4799
  #
4766
4800
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/ListPolicyEngines AWS API Documentation
@@ -4831,6 +4865,8 @@ module Aws::BedrockAgentCoreControl
4831
4865
  # resp.policy_generation_assets #=> Array
4832
4866
  # resp.policy_generation_assets[0].policy_generation_asset_id #=> String
4833
4867
  # resp.policy_generation_assets[0].definition.cedar.statement #=> String
4868
+ # resp.policy_generation_assets[0].definition.policy_generation.policy_generation_id #=> String
4869
+ # resp.policy_generation_assets[0].definition.policy_generation.policy_generation_asset_id #=> String
4834
4870
  # resp.policy_generation_assets[0].raw_text_fragment #=> String
4835
4871
  # resp.policy_generation_assets[0].findings #=> Array
4836
4872
  # resp.policy_generation_assets[0].findings[0].type #=> String, one of "VALID", "INVALID", "NOT_TRANSLATABLE", "ALLOW_ALL", "ALLOW_NONE", "DENY_ALL", "DENY_NONE"
@@ -5349,6 +5385,10 @@ module Aws::BedrockAgentCoreControl
5349
5385
  # @option params [Types::LifecycleConfiguration] :lifecycle_configuration
5350
5386
  # The updated life cycle configuration for the AgentCore Runtime.
5351
5387
  #
5388
+ # @option params [Types::RuntimeMetadataConfiguration] :metadata_configuration
5389
+ # The updated configuration for microVM Metadata Service (MMDS) settings
5390
+ # for the AgentCore Runtime.
5391
+ #
5352
5392
  # @option params [Hash<String,String>] :environment_variables
5353
5393
  # Updated environment variables to set in the AgentCore Runtime
5354
5394
  # environment.
@@ -5386,7 +5426,7 @@ module Aws::BedrockAgentCoreControl
5386
5426
  # version_id: "S3LocationVersionIdString",
5387
5427
  # },
5388
5428
  # },
5389
- # runtime: "PYTHON_3_10", # required, accepts PYTHON_3_10, PYTHON_3_11, PYTHON_3_12, PYTHON_3_13
5429
+ # runtime: "PYTHON_3_10", # required, accepts PYTHON_3_10, PYTHON_3_11, PYTHON_3_12, PYTHON_3_13, PYTHON_3_14
5390
5430
  # entry_point: ["entryPoint"], # required
5391
5431
  # },
5392
5432
  # },
@@ -5430,6 +5470,9 @@ module Aws::BedrockAgentCoreControl
5430
5470
  # idle_runtime_session_timeout: 1,
5431
5471
  # max_lifetime: 1,
5432
5472
  # },
5473
+ # metadata_configuration: {
5474
+ # require_mmdsv2: false, # required
5475
+ # },
5433
5476
  # environment_variables: {
5434
5477
  # "EnvironmentVariableKey" => "EnvironmentVariableValue",
5435
5478
  # },
@@ -6664,12 +6707,12 @@ module Aws::BedrockAgentCoreControl
6664
6707
  # The unique identifier of the policy to be updated. This must be a
6665
6708
  # valid policy ID that exists within the specified policy engine.
6666
6709
  #
6667
- # @option params [String] :description
6710
+ # @option params [Types::UpdatedDescription] :description
6668
6711
  # The new human-readable description for the policy. This optional field
6669
6712
  # allows updating the policy's documentation while keeping the same
6670
6713
  # policy logic.
6671
6714
  #
6672
- # @option params [required, Types::PolicyDefinition] :definition
6715
+ # @option params [Types::PolicyDefinition] :definition
6673
6716
  # The new Cedar policy statement that defines the access control rules.
6674
6717
  # This replaces the existing policy definition with new logic while
6675
6718
  # maintaining the policy's identity.
@@ -6702,11 +6745,17 @@ module Aws::BedrockAgentCoreControl
6702
6745
  # resp = client.update_policy({
6703
6746
  # policy_engine_id: "ResourceId", # required
6704
6747
  # policy_id: "ResourceId", # required
6705
- # description: "Description",
6706
- # definition: { # required
6748
+ # description: {
6749
+ # optional_value: "Description",
6750
+ # },
6751
+ # definition: {
6707
6752
  # cedar: {
6708
6753
  # statement: "Statement", # required
6709
6754
  # },
6755
+ # policy_generation: {
6756
+ # policy_generation_id: "ResourceId", # required
6757
+ # policy_generation_asset_id: "ResourceId", # required
6758
+ # },
6710
6759
  # },
6711
6760
  # validation_mode: "FAIL_ON_ANY_FINDINGS", # accepts FAIL_ON_ANY_FINDINGS, IGNORE_ALL_FINDINGS
6712
6761
  # })
@@ -6717,6 +6766,8 @@ module Aws::BedrockAgentCoreControl
6717
6766
  # resp.name #=> String
6718
6767
  # resp.policy_engine_id #=> String
6719
6768
  # resp.definition.cedar.statement #=> String
6769
+ # resp.definition.policy_generation.policy_generation_id #=> String
6770
+ # resp.definition.policy_generation.policy_generation_asset_id #=> String
6720
6771
  # resp.description #=> String
6721
6772
  # resp.created_at #=> Time
6722
6773
  # resp.updated_at #=> Time
@@ -6743,7 +6794,7 @@ module Aws::BedrockAgentCoreControl
6743
6794
  # @option params [required, String] :policy_engine_id
6744
6795
  # The unique identifier of the policy engine to be updated.
6745
6796
  #
6746
- # @option params [String] :description
6797
+ # @option params [Types::UpdatedDescription] :description
6747
6798
  # The new description for the policy engine.
6748
6799
  #
6749
6800
  # @return [Types::UpdatePolicyEngineResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -6756,12 +6807,15 @@ module Aws::BedrockAgentCoreControl
6756
6807
  # * {Types::UpdatePolicyEngineResponse#policy_engine_arn #policy_engine_arn} => String
6757
6808
  # * {Types::UpdatePolicyEngineResponse#status #status} => String
6758
6809
  # * {Types::UpdatePolicyEngineResponse#status_reasons #status_reasons} => Array&lt;String&gt;
6810
+ # * {Types::UpdatePolicyEngineResponse#encryption_key_arn #encryption_key_arn} => String
6759
6811
  #
6760
6812
  # @example Request syntax with placeholder values
6761
6813
  #
6762
6814
  # resp = client.update_policy_engine({
6763
6815
  # policy_engine_id: "ResourceId", # required
6764
- # description: "Description",
6816
+ # description: {
6817
+ # optional_value: "Description",
6818
+ # },
6765
6819
  # })
6766
6820
  #
6767
6821
  # @example Response structure
@@ -6775,6 +6829,7 @@ module Aws::BedrockAgentCoreControl
6775
6829
  # resp.status #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING", "CREATE_FAILED", "UPDATE_FAILED", "DELETE_FAILED"
6776
6830
  # resp.status_reasons #=> Array
6777
6831
  # resp.status_reasons[0] #=> String
6832
+ # resp.encryption_key_arn #=> String
6778
6833
  #
6779
6834
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/UpdatePolicyEngine AWS API Documentation
6780
6835
  #
@@ -6845,7 +6900,7 @@ module Aws::BedrockAgentCoreControl
6845
6900
  tracer: tracer
6846
6901
  )
6847
6902
  context[:gem_name] = 'aws-sdk-bedrockagentcorecontrol'
6848
- context[:gem_version] = '1.24.0'
6903
+ context[:gem_version] = '1.25.0'
6849
6904
  Seahorse::Client::Request.new(handlers, context)
6850
6905
  end
6851
6906
 
@@ -6914,11 +6969,11 @@ module Aws::BedrockAgentCoreControl
6914
6969
  # | waiter_name | params | :delay | :max_attempts |
6915
6970
  # | --------------------------- | ------------------------------ | -------- | ------------- |
6916
6971
  # | memory_created | {Client#get_memory} | 2 | 60 |
6917
- # | policy_active | {Client#get_policy} | 2 | 60 |
6972
+ # | policy_active | {Client#get_policy} | 5 | 24 |
6918
6973
  # | policy_deleted | {Client#get_policy} | 2 | 60 |
6919
- # | policy_engine_active | {Client#get_policy_engine} | 2 | 60 |
6974
+ # | policy_engine_active | {Client#get_policy_engine} | 5 | 24 |
6920
6975
  # | policy_engine_deleted | {Client#get_policy_engine} | 2 | 60 |
6921
- # | policy_generation_completed | {Client#get_policy_generation} | 2 | 60 |
6976
+ # | policy_generation_completed | {Client#get_policy_generation} | 5 | 24 |
6922
6977
  #
6923
6978
  # @raise [Errors::FailureStateError] Raised when the waiter terminates
6924
6979
  # because the waiter has entered a state that it will not transition
@@ -480,6 +480,7 @@ module Aws::BedrockAgentCoreControl
480
480
  PolicyGenerationArn = Shapes::StringShape.new(name: 'PolicyGenerationArn')
481
481
  PolicyGenerationAsset = Shapes::StructureShape.new(name: 'PolicyGenerationAsset')
482
482
  PolicyGenerationAssets = Shapes::ListShape.new(name: 'PolicyGenerationAssets')
483
+ PolicyGenerationDetails = Shapes::StructureShape.new(name: 'PolicyGenerationDetails')
483
484
  PolicyGenerationName = Shapes::StringShape.new(name: 'PolicyGenerationName')
484
485
  PolicyGenerationStatus = Shapes::StringShape.new(name: 'PolicyGenerationStatus')
485
486
  PolicyGenerations = Shapes::ListShape.new(name: 'PolicyGenerations')
@@ -512,6 +513,7 @@ module Aws::BedrockAgentCoreControl
512
513
  RoleArn = Shapes::StringShape.new(name: 'RoleArn')
513
514
  Rule = Shapes::StructureShape.new(name: 'Rule')
514
515
  RuntimeContainerUri = Shapes::StringShape.new(name: 'RuntimeContainerUri')
516
+ RuntimeMetadataConfiguration = Shapes::StructureShape.new(name: 'RuntimeMetadataConfiguration')
515
517
  S3BucketUri = Shapes::StringShape.new(name: 'S3BucketUri')
516
518
  S3Configuration = Shapes::StructureShape.new(name: 'S3Configuration')
517
519
  S3Location = Shapes::StructureShape.new(name: 'S3Location')
@@ -632,6 +634,7 @@ module Aws::BedrockAgentCoreControl
632
634
  UpdatePolicyResponse = Shapes::StructureShape.new(name: 'UpdatePolicyResponse')
633
635
  UpdateWorkloadIdentityRequest = Shapes::StructureShape.new(name: 'UpdateWorkloadIdentityRequest')
634
636
  UpdateWorkloadIdentityResponse = Shapes::StructureShape.new(name: 'UpdateWorkloadIdentityResponse')
637
+ UpdatedDescription = Shapes::StructureShape.new(name: 'UpdatedDescription')
635
638
  UserPreferenceConsolidationOverride = Shapes::StructureShape.new(name: 'UserPreferenceConsolidationOverride')
636
639
  UserPreferenceExtractionOverride = Shapes::StructureShape.new(name: 'UserPreferenceExtractionOverride')
637
640
  UserPreferenceMemoryStrategyInput = Shapes::StructureShape.new(name: 'UserPreferenceMemoryStrategyInput')
@@ -1092,6 +1095,8 @@ module Aws::BedrockAgentCoreControl
1092
1095
  CreatePolicyEngineRequest.add_member(:name, Shapes::ShapeRef.new(shape: PolicyEngineName, required: true, location_name: "name"))
1093
1096
  CreatePolicyEngineRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
1094
1097
  CreatePolicyEngineRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
1098
+ CreatePolicyEngineRequest.add_member(:encryption_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "encryptionKeyArn"))
1099
+ CreatePolicyEngineRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "tags"))
1095
1100
  CreatePolicyEngineRequest.struct_class = Types::CreatePolicyEngineRequest
1096
1101
 
1097
1102
  CreatePolicyEngineResponse.add_member(:policy_engine_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "policyEngineId"))
@@ -1102,6 +1107,7 @@ module Aws::BedrockAgentCoreControl
1102
1107
  CreatePolicyEngineResponse.add_member(:policy_engine_arn, Shapes::ShapeRef.new(shape: PolicyEngineArn, required: true, location_name: "policyEngineArn"))
1103
1108
  CreatePolicyEngineResponse.add_member(:status, Shapes::ShapeRef.new(shape: PolicyEngineStatus, required: true, location_name: "status"))
1104
1109
  CreatePolicyEngineResponse.add_member(:status_reasons, Shapes::ShapeRef.new(shape: PolicyStatusReasons, required: true, location_name: "statusReasons"))
1110
+ CreatePolicyEngineResponse.add_member(:encryption_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "encryptionKeyArn"))
1105
1111
  CreatePolicyEngineResponse.struct_class = Types::CreatePolicyEngineResponse
1106
1112
 
1107
1113
  CreatePolicyRequest.add_member(:name, Shapes::ShapeRef.new(shape: PolicyName, required: true, location_name: "name"))
@@ -1371,6 +1377,7 @@ module Aws::BedrockAgentCoreControl
1371
1377
  DeletePolicyEngineResponse.add_member(:policy_engine_arn, Shapes::ShapeRef.new(shape: PolicyEngineArn, required: true, location_name: "policyEngineArn"))
1372
1378
  DeletePolicyEngineResponse.add_member(:status, Shapes::ShapeRef.new(shape: PolicyEngineStatus, required: true, location_name: "status"))
1373
1379
  DeletePolicyEngineResponse.add_member(:status_reasons, Shapes::ShapeRef.new(shape: PolicyStatusReasons, required: true, location_name: "statusReasons"))
1380
+ DeletePolicyEngineResponse.add_member(:encryption_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "encryptionKeyArn"))
1374
1381
  DeletePolicyEngineResponse.struct_class = Types::DeletePolicyEngineResponse
1375
1382
 
1376
1383
  DeletePolicyRequest.add_member(:policy_engine_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location: "uri", location_name: "policyEngineId"))
@@ -1597,6 +1604,7 @@ module Aws::BedrockAgentCoreControl
1597
1604
  GetAgentRuntimeResponse.add_member(:environment_variables, Shapes::ShapeRef.new(shape: EnvironmentVariablesMap, location_name: "environmentVariables"))
1598
1605
  GetAgentRuntimeResponse.add_member(:authorizer_configuration, Shapes::ShapeRef.new(shape: AuthorizerConfiguration, location_name: "authorizerConfiguration"))
1599
1606
  GetAgentRuntimeResponse.add_member(:request_header_configuration, Shapes::ShapeRef.new(shape: RequestHeaderConfiguration, location_name: "requestHeaderConfiguration"))
1607
+ GetAgentRuntimeResponse.add_member(:metadata_configuration, Shapes::ShapeRef.new(shape: RuntimeMetadataConfiguration, location_name: "metadataConfiguration"))
1600
1608
  GetAgentRuntimeResponse.struct_class = Types::GetAgentRuntimeResponse
1601
1609
 
1602
1610
  GetApiKeyCredentialProviderRequest.add_member(:name, Shapes::ShapeRef.new(shape: CredentialProviderName, required: true, location_name: "name"))
@@ -1763,6 +1771,7 @@ module Aws::BedrockAgentCoreControl
1763
1771
  GetPolicyEngineResponse.add_member(:policy_engine_arn, Shapes::ShapeRef.new(shape: PolicyEngineArn, required: true, location_name: "policyEngineArn"))
1764
1772
  GetPolicyEngineResponse.add_member(:status, Shapes::ShapeRef.new(shape: PolicyEngineStatus, required: true, location_name: "status"))
1765
1773
  GetPolicyEngineResponse.add_member(:status_reasons, Shapes::ShapeRef.new(shape: PolicyStatusReasons, required: true, location_name: "statusReasons"))
1774
+ GetPolicyEngineResponse.add_member(:encryption_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "encryptionKeyArn"))
1766
1775
  GetPolicyEngineResponse.struct_class = Types::GetPolicyEngineResponse
1767
1776
 
1768
1777
  GetPolicyGenerationRequest.add_member(:policy_generation_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location: "uri", location_name: "policyGenerationId"))
@@ -2334,8 +2343,10 @@ module Aws::BedrockAgentCoreControl
2334
2343
  Policy.struct_class = Types::Policy
2335
2344
 
2336
2345
  PolicyDefinition.add_member(:cedar, Shapes::ShapeRef.new(shape: CedarPolicy, location_name: "cedar"))
2346
+ PolicyDefinition.add_member(:policy_generation, Shapes::ShapeRef.new(shape: PolicyGenerationDetails, location_name: "policyGeneration"))
2337
2347
  PolicyDefinition.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
2338
2348
  PolicyDefinition.add_member_subclass(:cedar, Types::PolicyDefinition::Cedar)
2349
+ PolicyDefinition.add_member_subclass(:policy_generation, Types::PolicyDefinition::PolicyGeneration)
2339
2350
  PolicyDefinition.add_member_subclass(:unknown, Types::PolicyDefinition::Unknown)
2340
2351
  PolicyDefinition.struct_class = Types::PolicyDefinition
2341
2352
 
@@ -2347,6 +2358,7 @@ module Aws::BedrockAgentCoreControl
2347
2358
  PolicyEngine.add_member(:policy_engine_arn, Shapes::ShapeRef.new(shape: PolicyEngineArn, required: true, location_name: "policyEngineArn"))
2348
2359
  PolicyEngine.add_member(:status, Shapes::ShapeRef.new(shape: PolicyEngineStatus, required: true, location_name: "status"))
2349
2360
  PolicyEngine.add_member(:status_reasons, Shapes::ShapeRef.new(shape: PolicyStatusReasons, required: true, location_name: "statusReasons"))
2361
+ PolicyEngine.add_member(:encryption_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "encryptionKeyArn"))
2350
2362
  PolicyEngine.struct_class = Types::PolicyEngine
2351
2363
 
2352
2364
  PolicyEngines.member = Shapes::ShapeRef.new(shape: PolicyEngine)
@@ -2371,6 +2383,10 @@ module Aws::BedrockAgentCoreControl
2371
2383
 
2372
2384
  PolicyGenerationAssets.member = Shapes::ShapeRef.new(shape: PolicyGenerationAsset)
2373
2385
 
2386
+ PolicyGenerationDetails.add_member(:policy_generation_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "policyGenerationId"))
2387
+ PolicyGenerationDetails.add_member(:policy_generation_asset_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "policyGenerationAssetId"))
2388
+ PolicyGenerationDetails.struct_class = Types::PolicyGenerationDetails
2389
+
2374
2390
  PolicyGenerations.member = Shapes::ShapeRef.new(shape: PolicyGeneration)
2375
2391
 
2376
2392
  PolicyStatusReasons.member = Shapes::ShapeRef.new(shape: String)
@@ -2438,6 +2454,9 @@ module Aws::BedrockAgentCoreControl
2438
2454
  Rule.add_member(:session_config, Shapes::ShapeRef.new(shape: SessionConfig, location_name: "sessionConfig"))
2439
2455
  Rule.struct_class = Types::Rule
2440
2456
 
2457
+ RuntimeMetadataConfiguration.add_member(:require_mmdsv2, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "requireMMDSV2"))
2458
+ RuntimeMetadataConfiguration.struct_class = Types::RuntimeMetadataConfiguration
2459
+
2441
2460
  S3Configuration.add_member(:uri, Shapes::ShapeRef.new(shape: S3BucketUri, location_name: "uri"))
2442
2461
  S3Configuration.add_member(:bucket_owner_account_id, Shapes::ShapeRef.new(shape: AwsAccountId, location_name: "bucketOwnerAccountId"))
2443
2462
  S3Configuration.struct_class = Types::S3Configuration
@@ -2710,6 +2729,7 @@ module Aws::BedrockAgentCoreControl
2710
2729
  UpdateAgentRuntimeRequest.add_member(:request_header_configuration, Shapes::ShapeRef.new(shape: RequestHeaderConfiguration, location_name: "requestHeaderConfiguration"))
2711
2730
  UpdateAgentRuntimeRequest.add_member(:protocol_configuration, Shapes::ShapeRef.new(shape: ProtocolConfiguration, location_name: "protocolConfiguration"))
2712
2731
  UpdateAgentRuntimeRequest.add_member(:lifecycle_configuration, Shapes::ShapeRef.new(shape: LifecycleConfiguration, location_name: "lifecycleConfiguration"))
2732
+ UpdateAgentRuntimeRequest.add_member(:metadata_configuration, Shapes::ShapeRef.new(shape: RuntimeMetadataConfiguration, location_name: "metadataConfiguration"))
2713
2733
  UpdateAgentRuntimeRequest.add_member(:environment_variables, Shapes::ShapeRef.new(shape: EnvironmentVariablesMap, location_name: "environmentVariables"))
2714
2734
  UpdateAgentRuntimeRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
2715
2735
  UpdateAgentRuntimeRequest.struct_class = Types::UpdateAgentRuntimeRequest
@@ -2850,7 +2870,7 @@ module Aws::BedrockAgentCoreControl
2850
2870
  UpdateOnlineEvaluationConfigResponse.struct_class = Types::UpdateOnlineEvaluationConfigResponse
2851
2871
 
2852
2872
  UpdatePolicyEngineRequest.add_member(:policy_engine_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location: "uri", location_name: "policyEngineId"))
2853
- UpdatePolicyEngineRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
2873
+ UpdatePolicyEngineRequest.add_member(:description, Shapes::ShapeRef.new(shape: UpdatedDescription, location_name: "description"))
2854
2874
  UpdatePolicyEngineRequest.struct_class = Types::UpdatePolicyEngineRequest
2855
2875
 
2856
2876
  UpdatePolicyEngineResponse.add_member(:policy_engine_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "policyEngineId"))
@@ -2861,12 +2881,13 @@ module Aws::BedrockAgentCoreControl
2861
2881
  UpdatePolicyEngineResponse.add_member(:policy_engine_arn, Shapes::ShapeRef.new(shape: PolicyEngineArn, required: true, location_name: "policyEngineArn"))
2862
2882
  UpdatePolicyEngineResponse.add_member(:status, Shapes::ShapeRef.new(shape: PolicyEngineStatus, required: true, location_name: "status"))
2863
2883
  UpdatePolicyEngineResponse.add_member(:status_reasons, Shapes::ShapeRef.new(shape: PolicyStatusReasons, required: true, location_name: "statusReasons"))
2884
+ UpdatePolicyEngineResponse.add_member(:encryption_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "encryptionKeyArn"))
2864
2885
  UpdatePolicyEngineResponse.struct_class = Types::UpdatePolicyEngineResponse
2865
2886
 
2866
2887
  UpdatePolicyRequest.add_member(:policy_engine_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location: "uri", location_name: "policyEngineId"))
2867
2888
  UpdatePolicyRequest.add_member(:policy_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location: "uri", location_name: "policyId"))
2868
- UpdatePolicyRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
2869
- UpdatePolicyRequest.add_member(:definition, Shapes::ShapeRef.new(shape: PolicyDefinition, required: true, location_name: "definition"))
2889
+ UpdatePolicyRequest.add_member(:description, Shapes::ShapeRef.new(shape: UpdatedDescription, location_name: "description"))
2890
+ UpdatePolicyRequest.add_member(:definition, Shapes::ShapeRef.new(shape: PolicyDefinition, location_name: "definition"))
2870
2891
  UpdatePolicyRequest.add_member(:validation_mode, Shapes::ShapeRef.new(shape: PolicyValidationMode, location_name: "validationMode"))
2871
2892
  UpdatePolicyRequest.struct_class = Types::UpdatePolicyRequest
2872
2893
 
@@ -2893,6 +2914,9 @@ module Aws::BedrockAgentCoreControl
2893
2914
  UpdateWorkloadIdentityResponse.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "lastUpdatedTime"))
2894
2915
  UpdateWorkloadIdentityResponse.struct_class = Types::UpdateWorkloadIdentityResponse
2895
2916
 
2917
+ UpdatedDescription.add_member(:optional_value, Shapes::ShapeRef.new(shape: Description, location_name: "optionalValue"))
2918
+ UpdatedDescription.struct_class = Types::UpdatedDescription
2919
+
2896
2920
  UserPreferenceConsolidationOverride.add_member(:append_to_prompt, Shapes::ShapeRef.new(shape: Prompt, required: true, location_name: "appendToPrompt"))
2897
2921
  UserPreferenceConsolidationOverride.add_member(:model_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "modelId"))
2898
2922
  UserPreferenceConsolidationOverride.struct_class = Types::UserPreferenceConsolidationOverride
@@ -3150,10 +3174,10 @@ module Aws::BedrockAgentCoreControl
3150
3174
  o.output = Shapes::ShapeRef.new(shape: CreatePolicyResponse)
3151
3175
  o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
3152
3176
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3153
- o.errors << Shapes::ShapeRef.new(shape: ConflictException)
3154
3177
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
3155
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3178
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
3156
3179
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3180
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3157
3181
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
3158
3182
  end)
3159
3183
 
@@ -3359,9 +3383,9 @@ module Aws::BedrockAgentCoreControl
3359
3383
  o.http_request_uri = "/policy-engines/{policyEngineId}/policies/{policyId}"
3360
3384
  o.input = Shapes::ShapeRef.new(shape: DeletePolicyRequest)
3361
3385
  o.output = Shapes::ShapeRef.new(shape: DeletePolicyResponse)
3386
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
3362
3387
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3363
3388
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
3364
- o.errors << Shapes::ShapeRef.new(shape: ValidationException)
3365
3389
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3366
3390
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3367
3391
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
@@ -3373,9 +3397,9 @@ module Aws::BedrockAgentCoreControl
3373
3397
  o.http_request_uri = "/policy-engines/{policyEngineId}"
3374
3398
  o.input = Shapes::ShapeRef.new(shape: DeletePolicyEngineRequest)
3375
3399
  o.output = Shapes::ShapeRef.new(shape: DeletePolicyEngineResponse)
3400
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
3376
3401
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3377
3402
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
3378
- o.errors << Shapes::ShapeRef.new(shape: ValidationException)
3379
3403
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3380
3404
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3381
3405
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
@@ -3576,8 +3600,8 @@ module Aws::BedrockAgentCoreControl
3576
3600
  o.output = Shapes::ShapeRef.new(shape: GetPolicyResponse)
3577
3601
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3578
3602
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
3579
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3580
3603
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3604
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3581
3605
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
3582
3606
  end)
3583
3607
 
@@ -3589,8 +3613,8 @@ module Aws::BedrockAgentCoreControl
3589
3613
  o.output = Shapes::ShapeRef.new(shape: GetPolicyEngineResponse)
3590
3614
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3591
3615
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
3592
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3593
3616
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3617
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3594
3618
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
3595
3619
  end)
3596
3620
 
@@ -3602,8 +3626,8 @@ module Aws::BedrockAgentCoreControl
3602
3626
  o.output = Shapes::ShapeRef.new(shape: GetPolicyGenerationResponse)
3603
3627
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3604
3628
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
3605
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3606
3629
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3630
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3607
3631
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
3608
3632
  end)
3609
3633
 
@@ -3896,8 +3920,8 @@ module Aws::BedrockAgentCoreControl
3896
3920
  o.output = Shapes::ShapeRef.new(shape: ListPoliciesResponse)
3897
3921
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3898
3922
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
3899
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3900
3923
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3924
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3901
3925
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
3902
3926
  o[:pager] = Aws::Pager.new(
3903
3927
  limit_key: "max_results",
@@ -3933,8 +3957,8 @@ module Aws::BedrockAgentCoreControl
3933
3957
  o.output = Shapes::ShapeRef.new(shape: ListPolicyGenerationAssetsResponse)
3934
3958
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3935
3959
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
3936
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3937
3960
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3961
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3938
3962
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
3939
3963
  o[:pager] = Aws::Pager.new(
3940
3964
  limit_key: "max_results",
@@ -3952,8 +3976,8 @@ module Aws::BedrockAgentCoreControl
3952
3976
  o.output = Shapes::ShapeRef.new(shape: ListPolicyGenerationsResponse)
3953
3977
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3954
3978
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
3955
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3956
3979
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3980
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3957
3981
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
3958
3982
  o[:pager] = Aws::Pager.new(
3959
3983
  limit_key: "max_results",
@@ -4224,29 +4248,29 @@ module Aws::BedrockAgentCoreControl
4224
4248
 
4225
4249
  api.add_operation(:update_policy, Seahorse::Model::Operation.new.tap do |o|
4226
4250
  o.name = "UpdatePolicy"
4227
- o.http_method = "PUT"
4251
+ o.http_method = "PATCH"
4228
4252
  o.http_request_uri = "/policy-engines/{policyEngineId}/policies/{policyId}"
4229
4253
  o.input = Shapes::ShapeRef.new(shape: UpdatePolicyRequest)
4230
4254
  o.output = Shapes::ShapeRef.new(shape: UpdatePolicyResponse)
4231
4255
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
4232
- o.errors << Shapes::ShapeRef.new(shape: ConflictException)
4233
4256
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
4234
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
4257
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
4235
4258
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
4259
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
4236
4260
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
4237
4261
  end)
4238
4262
 
4239
4263
  api.add_operation(:update_policy_engine, Seahorse::Model::Operation.new.tap do |o|
4240
4264
  o.name = "UpdatePolicyEngine"
4241
- o.http_method = "PUT"
4265
+ o.http_method = "PATCH"
4242
4266
  o.http_request_uri = "/policy-engines/{policyEngineId}"
4243
4267
  o.input = Shapes::ShapeRef.new(shape: UpdatePolicyEngineRequest)
4244
4268
  o.output = Shapes::ShapeRef.new(shape: UpdatePolicyEngineResponse)
4245
4269
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
4246
- o.errors << Shapes::ShapeRef.new(shape: ConflictException)
4247
4270
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
4248
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
4271
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
4249
4272
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
4273
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
4250
4274
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
4251
4275
  end)
4252
4276
 
@@ -2167,12 +2167,25 @@ module Aws::BedrockAgentCoreControl
2167
2167
  # not need to pass this option.
2168
2168
  # @return [String]
2169
2169
  #
2170
+ # @!attribute [rw] encryption_key_arn
2171
+ # The Amazon Resource Name (ARN) of the KMS key used to encrypt the
2172
+ # policy engine data.
2173
+ # @return [String]
2174
+ #
2175
+ # @!attribute [rw] tags
2176
+ # A map of tag keys and values to assign to an AgentCore Policy. Tags
2177
+ # enable you to categorize your resources in different ways, for
2178
+ # example, by purpose, owner, or environment.
2179
+ # @return [Hash<String,String>]
2180
+ #
2170
2181
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/CreatePolicyEngineRequest AWS API Documentation
2171
2182
  #
2172
2183
  class CreatePolicyEngineRequest < Struct.new(
2173
2184
  :name,
2174
2185
  :description,
2175
- :client_token)
2186
+ :client_token,
2187
+ :encryption_key_arn,
2188
+ :tags)
2176
2189
  SENSITIVE = [:description]
2177
2190
  include Aws::Structure
2178
2191
  end
@@ -2222,6 +2235,11 @@ module Aws::BedrockAgentCoreControl
2222
2235
  # creation process.
2223
2236
  # @return [Array<String>]
2224
2237
  #
2238
+ # @!attribute [rw] encryption_key_arn
2239
+ # The Amazon Resource Name (ARN) of the KMS key used to encrypt the
2240
+ # policy engine data.
2241
+ # @return [String]
2242
+ #
2225
2243
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/CreatePolicyEngineResponse AWS API Documentation
2226
2244
  #
2227
2245
  class CreatePolicyEngineResponse < Struct.new(
@@ -2232,7 +2250,8 @@ module Aws::BedrockAgentCoreControl
2232
2250
  :updated_at,
2233
2251
  :policy_engine_arn,
2234
2252
  :status,
2235
- :status_reasons)
2253
+ :status_reasons,
2254
+ :encryption_key_arn)
2236
2255
  SENSITIVE = [:description]
2237
2256
  include Aws::Structure
2238
2257
  end
@@ -3419,6 +3438,11 @@ module Aws::BedrockAgentCoreControl
3419
3438
  # occurred.
3420
3439
  # @return [Array<String>]
3421
3440
  #
3441
+ # @!attribute [rw] encryption_key_arn
3442
+ # The Amazon Resource Name (ARN) of the KMS key used to encrypt the
3443
+ # policy engine data.
3444
+ # @return [String]
3445
+ #
3422
3446
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/DeletePolicyEngineResponse AWS API Documentation
3423
3447
  #
3424
3448
  class DeletePolicyEngineResponse < Struct.new(
@@ -3429,7 +3453,8 @@ module Aws::BedrockAgentCoreControl
3429
3453
  :updated_at,
3430
3454
  :policy_engine_arn,
3431
3455
  :status,
3432
- :status_reasons)
3456
+ :status_reasons,
3457
+ :encryption_key_arn)
3433
3458
  SENSITIVE = [:description]
3434
3459
  include Aws::Structure
3435
3460
  end
@@ -4446,6 +4471,11 @@ module Aws::BedrockAgentCoreControl
4446
4471
  # to the runtime.
4447
4472
  # @return [Types::RequestHeaderConfiguration]
4448
4473
  #
4474
+ # @!attribute [rw] metadata_configuration
4475
+ # Configuration for microVM Metadata Service (MMDS) settings for the
4476
+ # AgentCore Runtime.
4477
+ # @return [Types::RuntimeMetadataConfiguration]
4478
+ #
4449
4479
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/GetAgentRuntimeResponse AWS API Documentation
4450
4480
  #
4451
4481
  class GetAgentRuntimeResponse < Struct.new(
@@ -4466,7 +4496,8 @@ module Aws::BedrockAgentCoreControl
4466
4496
  :protocol_configuration,
4467
4497
  :environment_variables,
4468
4498
  :authorizer_configuration,
4469
- :request_header_configuration)
4499
+ :request_header_configuration,
4500
+ :metadata_configuration)
4470
4501
  SENSITIVE = [:description, :environment_variables]
4471
4502
  include Aws::Structure
4472
4503
  end
@@ -5268,6 +5299,11 @@ module Aws::BedrockAgentCoreControl
5268
5299
  # engine.
5269
5300
  # @return [Array<String>]
5270
5301
  #
5302
+ # @!attribute [rw] encryption_key_arn
5303
+ # The Amazon Resource Name (ARN) of the KMS key used to encrypt the
5304
+ # policy engine data.
5305
+ # @return [String]
5306
+ #
5271
5307
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/GetPolicyEngineResponse AWS API Documentation
5272
5308
  #
5273
5309
  class GetPolicyEngineResponse < Struct.new(
@@ -5278,7 +5314,8 @@ module Aws::BedrockAgentCoreControl
5278
5314
  :updated_at,
5279
5315
  :policy_engine_arn,
5280
5316
  :status,
5281
- :status_reasons)
5317
+ :status_reasons,
5318
+ :encryption_key_arn)
5282
5319
  SENSITIVE = [:description]
5283
5320
  include Aws::Structure
5284
5321
  end
@@ -7900,16 +7937,28 @@ module Aws::BedrockAgentCoreControl
7900
7937
  # always override permit policies.
7901
7938
  # @return [Types::CedarPolicy]
7902
7939
  #
7940
+ # @!attribute [rw] policy_generation
7941
+ # The generated policy asset information within the policy definition
7942
+ # structure. This contains information identifying a generated policy
7943
+ # asset from the AI-powered policy generation process within the
7944
+ # AgentCore Policy system. Each asset contains a Cedar policy
7945
+ # statement generated from natural language input, along with
7946
+ # associated metadata and analysis findings to help users evaluate and
7947
+ # select the most appropriate policy option.
7948
+ # @return [Types::PolicyGenerationDetails]
7949
+ #
7903
7950
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/PolicyDefinition AWS API Documentation
7904
7951
  #
7905
7952
  class PolicyDefinition < Struct.new(
7906
7953
  :cedar,
7954
+ :policy_generation,
7907
7955
  :unknown)
7908
7956
  SENSITIVE = []
7909
7957
  include Aws::Structure
7910
7958
  include Aws::Structure::Union
7911
7959
 
7912
7960
  class Cedar < PolicyDefinition; end
7961
+ class PolicyGeneration < PolicyDefinition; end
7913
7962
  class Unknown < PolicyDefinition; end
7914
7963
  end
7915
7964
 
@@ -7974,6 +8023,11 @@ module Aws::BedrockAgentCoreControl
7974
8023
  # lifecycle.
7975
8024
  # @return [Array<String>]
7976
8025
  #
8026
+ # @!attribute [rw] encryption_key_arn
8027
+ # The Amazon Resource Name (ARN) of the KMS key used to encrypt the
8028
+ # policy engine data.
8029
+ # @return [String]
8030
+ #
7977
8031
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/PolicyEngine AWS API Documentation
7978
8032
  #
7979
8033
  class PolicyEngine < Struct.new(
@@ -7984,7 +8038,8 @@ module Aws::BedrockAgentCoreControl
7984
8038
  :updated_at,
7985
8039
  :policy_engine_arn,
7986
8040
  :status,
7987
- :status_reasons)
8041
+ :status_reasons,
8042
+ :encryption_key_arn)
7988
8043
  SENSITIVE = [:description]
7989
8044
  include Aws::Structure
7990
8045
  end
@@ -8111,6 +8166,31 @@ module Aws::BedrockAgentCoreControl
8111
8166
  include Aws::Structure
8112
8167
  end
8113
8168
 
8169
+ # Represents the information identifying a generated policy asset from
8170
+ # the AI-powered policy generation process within the AgentCore Policy
8171
+ # system. Each asset contains a Cedar policy statement generated from
8172
+ # natural language input, along with associated metadata and analysis
8173
+ # findings to help users evaluate and select the most appropriate policy
8174
+ # option.
8175
+ #
8176
+ # @!attribute [rw] policy_generation_id
8177
+ # The unique identifier for this policy generation request.
8178
+ # @return [String]
8179
+ #
8180
+ # @!attribute [rw] policy_generation_asset_id
8181
+ # The unique identifier for this generated policy asset within the
8182
+ # policy generation request.
8183
+ # @return [String]
8184
+ #
8185
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/PolicyGenerationDetails AWS API Documentation
8186
+ #
8187
+ class PolicyGenerationDetails < Struct.new(
8188
+ :policy_generation_id,
8189
+ :policy_generation_asset_id)
8190
+ SENSITIVE = []
8191
+ include Aws::Structure
8192
+ end
8193
+
8114
8194
  # The protocol configuration for an agent runtime. This structure
8115
8195
  # defines how the agent runtime communicates with clients.
8116
8196
  #
@@ -8345,6 +8425,22 @@ module Aws::BedrockAgentCoreControl
8345
8425
  include Aws::Structure
8346
8426
  end
8347
8427
 
8428
+ # Configuration for microVM metadata service settings.
8429
+ #
8430
+ # @!attribute [rw] require_mmdsv2
8431
+ # Enables MMDSv2 (microVM Metadata Service Version 2) requirement for
8432
+ # the agent runtime. When set to `true`, the runtime microVM will only
8433
+ # accept MMDSv2 requests.
8434
+ # @return [Boolean]
8435
+ #
8436
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/RuntimeMetadataConfiguration AWS API Documentation
8437
+ #
8438
+ class RuntimeMetadataConfiguration < Struct.new(
8439
+ :require_mmdsv2)
8440
+ SENSITIVE = []
8441
+ include Aws::Structure
8442
+ end
8443
+
8348
8444
  # The Amazon S3 configuration for a gateway. This structure defines how
8349
8445
  # the gateway accesses files in Amazon S3.
8350
8446
  #
@@ -9497,6 +9593,11 @@ module Aws::BedrockAgentCoreControl
9497
9593
  # The updated life cycle configuration for the AgentCore Runtime.
9498
9594
  # @return [Types::LifecycleConfiguration]
9499
9595
  #
9596
+ # @!attribute [rw] metadata_configuration
9597
+ # The updated configuration for microVM Metadata Service (MMDS)
9598
+ # settings for the AgentCore Runtime.
9599
+ # @return [Types::RuntimeMetadataConfiguration]
9600
+ #
9500
9601
  # @!attribute [rw] environment_variables
9501
9602
  # Updated environment variables to set in the AgentCore Runtime
9502
9603
  # environment.
@@ -9522,6 +9623,7 @@ module Aws::BedrockAgentCoreControl
9522
9623
  :request_header_configuration,
9523
9624
  :protocol_configuration,
9524
9625
  :lifecycle_configuration,
9626
+ :metadata_configuration,
9525
9627
  :environment_variables,
9526
9628
  :client_token)
9527
9629
  SENSITIVE = [:description, :environment_variables]
@@ -10239,14 +10341,14 @@ module Aws::BedrockAgentCoreControl
10239
10341
  #
10240
10342
  # @!attribute [rw] description
10241
10343
  # The new description for the policy engine.
10242
- # @return [String]
10344
+ # @return [Types::UpdatedDescription]
10243
10345
  #
10244
10346
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/UpdatePolicyEngineRequest AWS API Documentation
10245
10347
  #
10246
10348
  class UpdatePolicyEngineRequest < Struct.new(
10247
10349
  :policy_engine_id,
10248
10350
  :description)
10249
- SENSITIVE = [:description]
10351
+ SENSITIVE = []
10250
10352
  include Aws::Structure
10251
10353
  end
10252
10354
 
@@ -10282,6 +10384,11 @@ module Aws::BedrockAgentCoreControl
10282
10384
  # Additional information about the update status.
10283
10385
  # @return [Array<String>]
10284
10386
  #
10387
+ # @!attribute [rw] encryption_key_arn
10388
+ # The Amazon Resource Name (ARN) of the KMS key used to encrypt the
10389
+ # policy engine data.
10390
+ # @return [String]
10391
+ #
10285
10392
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/UpdatePolicyEngineResponse AWS API Documentation
10286
10393
  #
10287
10394
  class UpdatePolicyEngineResponse < Struct.new(
@@ -10292,7 +10399,8 @@ module Aws::BedrockAgentCoreControl
10292
10399
  :updated_at,
10293
10400
  :policy_engine_arn,
10294
10401
  :status,
10295
- :status_reasons)
10402
+ :status_reasons,
10403
+ :encryption_key_arn)
10296
10404
  SENSITIVE = [:description]
10297
10405
  include Aws::Structure
10298
10406
  end
@@ -10312,7 +10420,7 @@ module Aws::BedrockAgentCoreControl
10312
10420
  # The new human-readable description for the policy. This optional
10313
10421
  # field allows updating the policy's documentation while keeping the
10314
10422
  # same policy logic.
10315
- # @return [String]
10423
+ # @return [Types::UpdatedDescription]
10316
10424
  #
10317
10425
  # @!attribute [rw] definition
10318
10426
  # The new Cedar policy statement that defines the access control
@@ -10339,7 +10447,7 @@ module Aws::BedrockAgentCoreControl
10339
10447
  :description,
10340
10448
  :definition,
10341
10449
  :validation_mode)
10342
- SENSITIVE = [:description]
10450
+ SENSITIVE = []
10343
10451
  include Aws::Structure
10344
10452
  end
10345
10453
 
@@ -10451,6 +10559,25 @@ module Aws::BedrockAgentCoreControl
10451
10559
  include Aws::Structure
10452
10560
  end
10453
10561
 
10562
+ # Respresents an optional value that can be provided to update the
10563
+ # human-readable description of the resource. If the field is omitted
10564
+ # from the request, it will leave the current decription value
10565
+ # unchanged.
10566
+ #
10567
+ # @!attribute [rw] optional_value
10568
+ # Represents an optional value that is used to update the
10569
+ # human-readable description of the resource. If set to null, it will
10570
+ # clear the current description of the resource.
10571
+ # @return [String]
10572
+ #
10573
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/UpdatedDescription AWS API Documentation
10574
+ #
10575
+ class UpdatedDescription < Struct.new(
10576
+ :optional_value)
10577
+ SENSITIVE = [:optional_value]
10578
+ include Aws::Structure
10579
+ end
10580
+
10454
10581
  # Contains user preference consolidation override configuration.
10455
10582
  #
10456
10583
  # @!attribute [rw] append_to_prompt
@@ -70,11 +70,11 @@ module Aws::BedrockAgentCoreControl
70
70
  # | waiter_name | params | :delay | :max_attempts |
71
71
  # | --------------------------- | ------------------------------ | -------- | ------------- |
72
72
  # | memory_created | {Client#get_memory} | 2 | 60 |
73
- # | policy_active | {Client#get_policy} | 2 | 60 |
73
+ # | policy_active | {Client#get_policy} | 5 | 24 |
74
74
  # | policy_deleted | {Client#get_policy} | 2 | 60 |
75
- # | policy_engine_active | {Client#get_policy_engine} | 2 | 60 |
75
+ # | policy_engine_active | {Client#get_policy_engine} | 5 | 24 |
76
76
  # | policy_engine_deleted | {Client#get_policy_engine} | 2 | 60 |
77
- # | policy_generation_completed | {Client#get_policy_generation} | 2 | 60 |
77
+ # | policy_generation_completed | {Client#get_policy_generation} | 5 | 24 |
78
78
  #
79
79
  module Waiters
80
80
 
@@ -133,15 +133,15 @@ module Aws::BedrockAgentCoreControl
133
133
 
134
134
  # @param [Hash] options
135
135
  # @option options [required, Client] :client
136
- # @option options [Integer] :max_attempts (60)
137
- # @option options [Integer] :delay (2)
136
+ # @option options [Integer] :max_attempts (24)
137
+ # @option options [Integer] :delay (5)
138
138
  # @option options [Proc] :before_attempt
139
139
  # @option options [Proc] :before_wait
140
140
  def initialize(options)
141
141
  @client = options.fetch(:client)
142
142
  @waiter = Aws::Waiters::Waiter.new({
143
- max_attempts: 60,
144
- delay: 2,
143
+ max_attempts: 24,
144
+ delay: 5,
145
145
  poller: Aws::Waiters::Poller.new(
146
146
  operation_name: :get_policy,
147
147
  acceptors: [
@@ -240,15 +240,15 @@ module Aws::BedrockAgentCoreControl
240
240
 
241
241
  # @param [Hash] options
242
242
  # @option options [required, Client] :client
243
- # @option options [Integer] :max_attempts (60)
244
- # @option options [Integer] :delay (2)
243
+ # @option options [Integer] :max_attempts (24)
244
+ # @option options [Integer] :delay (5)
245
245
  # @option options [Proc] :before_attempt
246
246
  # @option options [Proc] :before_wait
247
247
  def initialize(options)
248
248
  @client = options.fetch(:client)
249
249
  @waiter = Aws::Waiters::Waiter.new({
250
- max_attempts: 60,
251
- delay: 2,
250
+ max_attempts: 24,
251
+ delay: 5,
252
252
  poller: Aws::Waiters::Poller.new(
253
253
  operation_name: :get_policy_engine,
254
254
  acceptors: [
@@ -347,15 +347,15 @@ module Aws::BedrockAgentCoreControl
347
347
 
348
348
  # @param [Hash] options
349
349
  # @option options [required, Client] :client
350
- # @option options [Integer] :max_attempts (60)
351
- # @option options [Integer] :delay (2)
350
+ # @option options [Integer] :max_attempts (24)
351
+ # @option options [Integer] :delay (5)
352
352
  # @option options [Proc] :before_attempt
353
353
  # @option options [Proc] :before_wait
354
354
  def initialize(options)
355
355
  @client = options.fetch(:client)
356
356
  @waiter = Aws::Waiters::Waiter.new({
357
- max_attempts: 60,
358
- delay: 2,
357
+ max_attempts: 24,
358
+ delay: 5,
359
359
  poller: Aws::Waiters::Poller.new(
360
360
  operation_name: :get_policy_generation,
361
361
  acceptors: [
@@ -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.24.0'
58
+ GEM_VERSION = '1.25.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -102,7 +102,7 @@ module Aws
102
102
  version_id: ::String?
103
103
  }?
104
104
  },
105
- runtime: ("PYTHON_3_10" | "PYTHON_3_11" | "PYTHON_3_12" | "PYTHON_3_13"),
105
+ runtime: ("PYTHON_3_10" | "PYTHON_3_11" | "PYTHON_3_12" | "PYTHON_3_13" | "PYTHON_3_14"),
106
106
  entry_point: Array[::String]
107
107
  }?
108
108
  },
@@ -761,6 +761,10 @@ module Aws
761
761
  definition: {
762
762
  cedar: {
763
763
  statement: ::String
764
+ }?,
765
+ policy_generation: {
766
+ policy_generation_id: ::String,
767
+ policy_generation_asset_id: ::String
764
768
  }?
765
769
  },
766
770
  ?description: ::String,
@@ -780,12 +784,15 @@ module Aws
780
784
  def policy_engine_arn: () -> ::String
781
785
  def status: () -> ("CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "CREATE_FAILED" | "UPDATE_FAILED" | "DELETE_FAILED")
782
786
  def status_reasons: () -> ::Array[::String]
787
+ def encryption_key_arn: () -> ::String
783
788
  end
784
789
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCoreControl/Client.html#create_policy_engine-instance_method
785
790
  def create_policy_engine: (
786
791
  name: ::String,
787
792
  ?description: ::String,
788
- ?client_token: ::String
793
+ ?client_token: ::String,
794
+ ?encryption_key_arn: ::String,
795
+ ?tags: Hash[::String, ::String]
789
796
  ) -> _CreatePolicyEngineResponseSuccess
790
797
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreatePolicyEngineResponseSuccess
791
798
 
@@ -980,6 +987,7 @@ module Aws
980
987
  def policy_engine_arn: () -> ::String
981
988
  def status: () -> ("CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "CREATE_FAILED" | "UPDATE_FAILED" | "DELETE_FAILED")
982
989
  def status_reasons: () -> ::Array[::String]
990
+ def encryption_key_arn: () -> ::String
983
991
  end
984
992
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCoreControl/Client.html#delete_policy_engine-instance_method
985
993
  def delete_policy_engine: (
@@ -1025,6 +1033,7 @@ module Aws
1025
1033
  def environment_variables: () -> ::Hash[::String, ::String]
1026
1034
  def authorizer_configuration: () -> Types::AuthorizerConfiguration
1027
1035
  def request_header_configuration: () -> Types::RequestHeaderConfiguration
1036
+ def metadata_configuration: () -> Types::RuntimeMetadataConfiguration
1028
1037
  end
1029
1038
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCoreControl/Client.html#get_agent_runtime-instance_method
1030
1039
  def get_agent_runtime: (
@@ -1277,6 +1286,7 @@ module Aws
1277
1286
  def policy_engine_arn: () -> ::String
1278
1287
  def status: () -> ("CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "CREATE_FAILED" | "UPDATE_FAILED" | "DELETE_FAILED")
1279
1288
  def status_reasons: () -> ::Array[::String]
1289
+ def encryption_key_arn: () -> ::String
1280
1290
  end
1281
1291
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCoreControl/Client.html#get_policy_engine-instance_method
1282
1292
  def get_policy_engine: (
@@ -1686,7 +1696,7 @@ module Aws
1686
1696
  version_id: ::String?
1687
1697
  }?
1688
1698
  },
1689
- runtime: ("PYTHON_3_10" | "PYTHON_3_11" | "PYTHON_3_12" | "PYTHON_3_13"),
1699
+ runtime: ("PYTHON_3_10" | "PYTHON_3_11" | "PYTHON_3_12" | "PYTHON_3_13" | "PYTHON_3_14"),
1690
1700
  entry_point: Array[::String]
1691
1701
  }?
1692
1702
  },
@@ -1730,6 +1740,9 @@ module Aws
1730
1740
  idle_runtime_session_timeout: ::Integer?,
1731
1741
  max_lifetime: ::Integer?
1732
1742
  },
1743
+ ?metadata_configuration: {
1744
+ require_mmdsv2: bool
1745
+ },
1733
1746
  ?environment_variables: Hash[::String, ::String],
1734
1747
  ?client_token: ::String
1735
1748
  ) -> _UpdateAgentRuntimeResponseSuccess
@@ -2347,10 +2360,16 @@ module Aws
2347
2360
  def update_policy: (
2348
2361
  policy_engine_id: ::String,
2349
2362
  policy_id: ::String,
2350
- ?description: ::String,
2351
- definition: {
2363
+ ?description: {
2364
+ optional_value: ::String?
2365
+ },
2366
+ ?definition: {
2352
2367
  cedar: {
2353
2368
  statement: ::String
2369
+ }?,
2370
+ policy_generation: {
2371
+ policy_generation_id: ::String,
2372
+ policy_generation_asset_id: ::String
2354
2373
  }?
2355
2374
  },
2356
2375
  ?validation_mode: ("FAIL_ON_ANY_FINDINGS" | "IGNORE_ALL_FINDINGS")
@@ -2367,11 +2386,14 @@ module Aws
2367
2386
  def policy_engine_arn: () -> ::String
2368
2387
  def status: () -> ("CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "CREATE_FAILED" | "UPDATE_FAILED" | "DELETE_FAILED")
2369
2388
  def status_reasons: () -> ::Array[::String]
2389
+ def encryption_key_arn: () -> ::String
2370
2390
  end
2371
2391
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCoreControl/Client.html#update_policy_engine-instance_method
2372
2392
  def update_policy_engine: (
2373
2393
  policy_engine_id: ::String,
2374
- ?description: ::String
2394
+ ?description: {
2395
+ optional_value: ::String?
2396
+ }
2375
2397
  ) -> _UpdatePolicyEngineResponseSuccess
2376
2398
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdatePolicyEngineResponseSuccess
2377
2399
 
data/sig/types.rbs CHANGED
@@ -235,7 +235,7 @@ module Aws::BedrockAgentCoreControl
235
235
 
236
236
  class CodeConfiguration
237
237
  attr_accessor code: Types::Code
238
- attr_accessor runtime: ("PYTHON_3_10" | "PYTHON_3_11" | "PYTHON_3_12" | "PYTHON_3_13")
238
+ attr_accessor runtime: ("PYTHON_3_10" | "PYTHON_3_11" | "PYTHON_3_12" | "PYTHON_3_13" | "PYTHON_3_14")
239
239
  attr_accessor entry_point: ::Array[::String]
240
240
  SENSITIVE: []
241
241
  end
@@ -556,6 +556,8 @@ module Aws::BedrockAgentCoreControl
556
556
  attr_accessor name: ::String
557
557
  attr_accessor description: ::String
558
558
  attr_accessor client_token: ::String
559
+ attr_accessor encryption_key_arn: ::String
560
+ attr_accessor tags: ::Hash[::String, ::String]
559
561
  SENSITIVE: [:description]
560
562
  end
561
563
 
@@ -568,6 +570,7 @@ module Aws::BedrockAgentCoreControl
568
570
  attr_accessor policy_engine_arn: ::String
569
571
  attr_accessor status: ("CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "CREATE_FAILED" | "UPDATE_FAILED" | "DELETE_FAILED")
570
572
  attr_accessor status_reasons: ::Array[::String]
573
+ attr_accessor encryption_key_arn: ::String
571
574
  SENSITIVE: [:description]
572
575
  end
573
576
 
@@ -965,6 +968,7 @@ module Aws::BedrockAgentCoreControl
965
968
  attr_accessor policy_engine_arn: ::String
966
969
  attr_accessor status: ("CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "CREATE_FAILED" | "UPDATE_FAILED" | "DELETE_FAILED")
967
970
  attr_accessor status_reasons: ::Array[::String]
971
+ attr_accessor encryption_key_arn: ::String
968
972
  SENSITIVE: [:description]
969
973
  end
970
974
 
@@ -1258,6 +1262,7 @@ module Aws::BedrockAgentCoreControl
1258
1262
  attr_accessor environment_variables: ::Hash[::String, ::String]
1259
1263
  attr_accessor authorizer_configuration: Types::AuthorizerConfiguration
1260
1264
  attr_accessor request_header_configuration: Types::RequestHeaderConfiguration
1265
+ attr_accessor metadata_configuration: Types::RuntimeMetadataConfiguration
1261
1266
  SENSITIVE: [:description, :environment_variables]
1262
1267
  end
1263
1268
 
@@ -1468,6 +1473,7 @@ module Aws::BedrockAgentCoreControl
1468
1473
  attr_accessor policy_engine_arn: ::String
1469
1474
  attr_accessor status: ("CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "CREATE_FAILED" | "UPDATE_FAILED" | "DELETE_FAILED")
1470
1475
  attr_accessor status_reasons: ::Array[::String]
1476
+ attr_accessor encryption_key_arn: ::String
1471
1477
  SENSITIVE: [:description]
1472
1478
  end
1473
1479
 
@@ -2261,11 +2267,14 @@ module Aws::BedrockAgentCoreControl
2261
2267
 
2262
2268
  class PolicyDefinition
2263
2269
  attr_accessor cedar: Types::CedarPolicy
2270
+ attr_accessor policy_generation: Types::PolicyGenerationDetails
2264
2271
  attr_accessor unknown: untyped
2265
2272
  SENSITIVE: []
2266
2273
 
2267
2274
  class Cedar < PolicyDefinition
2268
2275
  end
2276
+ class PolicyGeneration < PolicyDefinition
2277
+ end
2269
2278
  class Unknown < PolicyDefinition
2270
2279
  end
2271
2280
  end
@@ -2279,6 +2288,7 @@ module Aws::BedrockAgentCoreControl
2279
2288
  attr_accessor policy_engine_arn: ::String
2280
2289
  attr_accessor status: ("CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "CREATE_FAILED" | "UPDATE_FAILED" | "DELETE_FAILED")
2281
2290
  attr_accessor status_reasons: ::Array[::String]
2291
+ attr_accessor encryption_key_arn: ::String
2282
2292
  SENSITIVE: [:description]
2283
2293
  end
2284
2294
 
@@ -2304,6 +2314,12 @@ module Aws::BedrockAgentCoreControl
2304
2314
  SENSITIVE: []
2305
2315
  end
2306
2316
 
2317
+ class PolicyGenerationDetails
2318
+ attr_accessor policy_generation_id: ::String
2319
+ attr_accessor policy_generation_asset_id: ::String
2320
+ SENSITIVE: []
2321
+ end
2322
+
2307
2323
  class ProtocolConfiguration
2308
2324
  attr_accessor server_protocol: ("MCP" | "HTTP" | "A2A")
2309
2325
  SENSITIVE: []
@@ -2393,6 +2409,11 @@ module Aws::BedrockAgentCoreControl
2393
2409
  SENSITIVE: []
2394
2410
  end
2395
2411
 
2412
+ class RuntimeMetadataConfiguration
2413
+ attr_accessor require_mmdsv2: bool
2414
+ SENSITIVE: []
2415
+ end
2416
+
2396
2417
  class S3Configuration
2397
2418
  attr_accessor uri: ::String
2398
2419
  attr_accessor bucket_owner_account_id: ::String
@@ -2755,6 +2776,7 @@ module Aws::BedrockAgentCoreControl
2755
2776
  attr_accessor request_header_configuration: Types::RequestHeaderConfiguration
2756
2777
  attr_accessor protocol_configuration: Types::ProtocolConfiguration
2757
2778
  attr_accessor lifecycle_configuration: Types::LifecycleConfiguration
2779
+ attr_accessor metadata_configuration: Types::RuntimeMetadataConfiguration
2758
2780
  attr_accessor environment_variables: ::Hash[::String, ::String]
2759
2781
  attr_accessor client_token: ::String
2760
2782
  SENSITIVE: [:description, :environment_variables]
@@ -2927,8 +2949,8 @@ module Aws::BedrockAgentCoreControl
2927
2949
 
2928
2950
  class UpdatePolicyEngineRequest
2929
2951
  attr_accessor policy_engine_id: ::String
2930
- attr_accessor description: ::String
2931
- SENSITIVE: [:description]
2952
+ attr_accessor description: Types::UpdatedDescription
2953
+ SENSITIVE: []
2932
2954
  end
2933
2955
 
2934
2956
  class UpdatePolicyEngineResponse
@@ -2940,16 +2962,17 @@ module Aws::BedrockAgentCoreControl
2940
2962
  attr_accessor policy_engine_arn: ::String
2941
2963
  attr_accessor status: ("CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "CREATE_FAILED" | "UPDATE_FAILED" | "DELETE_FAILED")
2942
2964
  attr_accessor status_reasons: ::Array[::String]
2965
+ attr_accessor encryption_key_arn: ::String
2943
2966
  SENSITIVE: [:description]
2944
2967
  end
2945
2968
 
2946
2969
  class UpdatePolicyRequest
2947
2970
  attr_accessor policy_engine_id: ::String
2948
2971
  attr_accessor policy_id: ::String
2949
- attr_accessor description: ::String
2972
+ attr_accessor description: Types::UpdatedDescription
2950
2973
  attr_accessor definition: Types::PolicyDefinition
2951
2974
  attr_accessor validation_mode: ("FAIL_ON_ANY_FINDINGS" | "IGNORE_ALL_FINDINGS")
2952
- SENSITIVE: [:description]
2975
+ SENSITIVE: []
2953
2976
  end
2954
2977
 
2955
2978
  class UpdatePolicyResponse
@@ -2981,6 +3004,11 @@ module Aws::BedrockAgentCoreControl
2981
3004
  SENSITIVE: []
2982
3005
  end
2983
3006
 
3007
+ class UpdatedDescription
3008
+ attr_accessor optional_value: ::String
3009
+ SENSITIVE: [:optional_value]
3010
+ end
3011
+
2984
3012
  class UserPreferenceConsolidationOverride
2985
3013
  attr_accessor append_to_prompt: ::String
2986
3014
  attr_accessor model_id: ::String
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.24.0
4
+ version: 1.25.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services