[−][src]Struct rusoto_apigatewayv2::UpdateAuthorizerRequest
Updates an Authorizer.
Fields
api_id: String
The API identifier.
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.
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). For REQUEST 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>
This parameter is not used.
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 UpdateAuthorizerRequest
[src]
pub fn clone(&self) -> UpdateAuthorizerRequest
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for UpdateAuthorizerRequest
[src]
impl Default for UpdateAuthorizerRequest
[src]
pub fn default() -> UpdateAuthorizerRequest
[src]
impl PartialEq<UpdateAuthorizerRequest> for UpdateAuthorizerRequest
[src]
pub fn eq(&self, other: &UpdateAuthorizerRequest) -> bool
[src]
pub fn ne(&self, other: &UpdateAuthorizerRequest) -> bool
[src]
impl Serialize for UpdateAuthorizerRequest
[src]
pub fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for UpdateAuthorizerRequest
[src]
Auto Trait Implementations
impl RefUnwindSafe for UpdateAuthorizerRequest
[src]
impl Send for UpdateAuthorizerRequest
[src]
impl Sync for UpdateAuthorizerRequest
[src]
impl Unpin for UpdateAuthorizerRequest
[src]
impl UnwindSafe for UpdateAuthorizerRequest
[src]
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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[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.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,