pub struct PreTokenGenInvocation {
pub pool_id: String,
pub user_pool_arn: String,
pub username: String,
pub trigger_source: String,
pub lambda_arn: String,
pub request_payload: Value,
pub response_payload: Option<Value>,
pub claims_added: Vec<String>,
pub claims_overridden: Vec<String>,
pub group_overrides: Vec<String>,
pub invoked_at: String,
pub duration_ms: u64,
}Expand description
One PreTokenGeneration Lambda trigger invocation captured for
introspection at /_fakecloud/cognito/pretokengen/invocations.
claims_added / claims_overridden / group_overrides are
pre-parsed from the Lambda response so test callers don’t have to
walk the raw claimsAndScopeOverrideDetails shape themselves.
Fields§
§pool_id: String§user_pool_arn: String§username: String§trigger_source: String§lambda_arn: String§request_payload: Value§response_payload: Option<Value>§claims_added: Vec<String>§claims_overridden: Vec<String>§group_overrides: Vec<String>§invoked_at: StringRFC3339 timestamp.
duration_ms: u64Trait Implementations§
Source§impl Clone for PreTokenGenInvocation
impl Clone for PreTokenGenInvocation
Source§fn clone(&self) -> PreTokenGenInvocation
fn clone(&self) -> PreTokenGenInvocation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PreTokenGenInvocation
impl Debug for PreTokenGenInvocation
Source§impl<'de> Deserialize<'de> for PreTokenGenInvocation
impl<'de> Deserialize<'de> for PreTokenGenInvocation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PreTokenGenInvocation
impl RefUnwindSafe for PreTokenGenInvocation
impl Send for PreTokenGenInvocation
impl Sync for PreTokenGenInvocation
impl Unpin for PreTokenGenInvocation
impl UnsafeUnpin for PreTokenGenInvocation
impl UnwindSafe for PreTokenGenInvocation
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more