|
2147 | 2147 | -type delete_workload_identity_response() :: #{}. |
2148 | 2148 |
|
2149 | 2149 |
|
| 2150 | +%% Example: |
| 2151 | +%% derived_evaluator_config() :: #{ |
| 2152 | +%% <<"baseEvaluatorId">> => string(), |
| 2153 | +%% <<"modelConfig">> => list() |
| 2154 | +%% } |
| 2155 | +-type derived_evaluator_config() :: #{binary() => any()}. |
| 2156 | + |
| 2157 | + |
2150 | 2158 | %% Example: |
2151 | 2159 | %% descriptors() :: #{ |
2152 | 2160 | %% <<"a2a">> => a2a_descriptor(), |
|
2334 | 2342 | %% <<"kmsKeyArn">> => string(), |
2335 | 2343 | %% <<"level">> => list(any()), |
2336 | 2344 | %% <<"lockedForModification">> => [boolean()], |
| 2345 | +%% <<"provider">> => list(any()), |
2337 | 2346 | %% <<"status">> => list(any()), |
2338 | 2347 | %% <<"updatedAt">> => [non_neg_integer()] |
2339 | 2348 | %% } |
|
2708 | 2717 | %% <<"evaluatorConfig">> => list(), |
2709 | 2718 | %% <<"evaluatorId">> => string(), |
2710 | 2719 | %% <<"evaluatorName">> => string(), |
| 2720 | +%% <<"evaluatorType">> => list(any()), |
2711 | 2721 | %% <<"kmsKeyArn">> => string(), |
2712 | 2722 | %% <<"level">> => list(any()), |
2713 | 2723 | %% <<"lockedForModification">> => [boolean()], |
| 2724 | +%% <<"provider">> => list(any()), |
2714 | 2725 | %% <<"status">> => list(any()), |
2715 | 2726 | %% <<"updatedAt">> => [non_neg_integer()] |
2716 | 2727 | %% } |
@@ -8908,6 +8919,13 @@ create_payment_manager(Client, Input0, Options0) -> |
8908 | 8919 | %% asynchronous operation. Use the GetPolicy: |
8909 | 8920 | %% https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_GetPolicy.html |
8910 | 8921 | %% operation to poll the `status' field to track completion. |
| 8922 | +%% |
| 8923 | +%% If the new policy is a temporal policy, creating it invalidates the policy |
| 8924 | +%% engine's active temporal sessions. For more information about temporal |
| 8925 | +%% policy sessions, see session-based temporal policies: |
| 8926 | +%% https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/policy-session-based-temporal.html. |
| 8927 | +%% The policy engine returns an HTTP 409 `ConflictException' to in-flight |
| 8928 | +%% sessions. To resume, you must start a new session with a new session ID. |
8911 | 8929 | -spec create_policy(aws_client:aws_client(), binary() | list(), create_policy_request()) -> |
8912 | 8930 | {ok, create_policy_response(), tuple()} | |
8913 | 8931 | {error, any()} | |
@@ -14065,6 +14083,15 @@ update_payment_manager(Client, PaymentManagerId, Input0, Options0) -> |
14065 | 14083 | %% is validated against the Cedar schema before being applied. This is an |
14066 | 14084 | %% asynchronous operation. Use the `GetPolicy' operation to poll the |
14067 | 14085 | %% `status' field to track completion. |
| 14086 | +%% |
| 14087 | +%% If the updated policy is a temporal policy, the policy engine invalidates |
| 14088 | +%% all active temporal sessions. If the update adds or removes temporal |
| 14089 | +%% operators, the policy engine also invalidates active temporal sessions. |
| 14090 | +%% For more information about temporal policy sessions, see session-based |
| 14091 | +%% temporal policies: |
| 14092 | +%% https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/policy-session-based-temporal.html. |
| 14093 | +%% The policy engine returns an HTTP 409 `ConflictException' to in-flight |
| 14094 | +%% sessions. To resume, you must start a new session with a new session ID. |
14068 | 14095 | -spec update_policy(aws_client:aws_client(), binary() | list(), binary() | list(), update_policy_request()) -> |
14069 | 14096 | {ok, update_policy_response(), tuple()} | |
14070 | 14097 | {error, any()} | |
|
0 commit comments