[−][src]Struct rusoto_apigatewayv2::UpdateAuthorizerResponse
Fields
Specifies the required credentials as an IAM role for API Gateway to invoke the authorizer. To specify an IAM role for API Gateway to assume, use the role's Amazon Resource Name (ARN). To use resource-based permissions on the Lambda function, specify null. Supported only for REQUEST authorizers.
The authorizer identifier.
Authorizer caching is not currently supported. Don't specify this value for authorizers.
The authorizer type. For WebSocket APIs, specify REQUEST for a Lambda function using incoming request parameters. For HTTP APIs, specify JWT to use JSON Web Tokens.
The authorizer's Uniform Resource Identifier (URI). ForREQUEST authorizers, this must be a well-formed Lambda function URI, for example, arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:
identity_source: Option<Vec<String>>
The identity source for which authorization is requested.
For a REQUEST authorizer, this is optional. The value is a set of one or more mapping expressions of the specified request parameters. Currently, the identity source can be headers, query string parameters, stage variables, and context parameters. For example, if an Auth header and a Name query string parameter are defined as identity sources, this value is route.request.header.Auth, route.request.querystring.Name. These parameters will be used to perform runtime validation for Lambda-based authorizers by verifying all of the identity-related request parameters are present in the request, not null, and non-empty. Only when this is true does the authorizer invoke the authorizer Lambda function. Otherwise, it returns a 401 Unauthorized response without calling the Lambda function.
For JWT, a single entry that specifies where to extract the JSON Web Token (JWT) from inbound requests. Currently only header-based and query parameter-based selections are supported, for example "$request.header.Authorization".
identity_validation_expression: Option<String>
The validation expression does not apply to the REQUEST authorizer.
jwt_configuration: Option<JWTConfiguration>
Represents the configuration of a JWT authorizer. Required for the JWT authorizer type. Supported only for HTTP APIs.
name: Option<String>
The name of the authorizer.
Trait Implementations
impl Clone for UpdateAuthorizerResponse
[src]
fn clone(&self) -> UpdateAuthorizerResponse
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for UpdateAuthorizerResponse
[src]
impl Default for UpdateAuthorizerResponse
[src]
fn default() -> UpdateAuthorizerResponse
[src]
impl<'de> Deserialize<'de> for UpdateAuthorizerResponse
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<UpdateAuthorizerResponse> for UpdateAuthorizerResponse
[src]
fn eq(&self, other: &UpdateAuthorizerResponse) -> bool
[src]
fn ne(&self, other: &UpdateAuthorizerResponse) -> bool
[src]
impl StructuralPartialEq for UpdateAuthorizerResponse
[src]
Auto Trait Implementations
impl RefUnwindSafe for UpdateAuthorizerResponse
impl Send for UpdateAuthorizerResponse
impl Sync for UpdateAuthorizerResponse
impl Unpin for UpdateAuthorizerResponse
impl UnwindSafe for UpdateAuthorizerResponse
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,