pub struct ApiGatewayCustomAuthorizerResponse {
pub principal_id: Option<String>,
pub policy_document: ApiGatewayCustomAuthorizerPolicy,
pub context: HashMap<String, Value>,
pub usage_identifier_key: Option<String>,
}
Expand description
ApiGatewayCustomAuthorizerResponse
represents the expected format of an API Gateway authorization response.
Fields§
§principal_id: Option<String>
§policy_document: ApiGatewayCustomAuthorizerPolicy
§context: HashMap<String, Value>
§usage_identifier_key: Option<String>
Trait Implementations§
source§impl Clone for ApiGatewayCustomAuthorizerResponse
impl Clone for ApiGatewayCustomAuthorizerResponse
source§fn clone(&self) -> ApiGatewayCustomAuthorizerResponse
fn clone(&self) -> ApiGatewayCustomAuthorizerResponse
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'de> Deserialize<'de> for ApiGatewayCustomAuthorizerResponse
impl<'de> Deserialize<'de> for ApiGatewayCustomAuthorizerResponse
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