AWS SDK for C++  1.8.75
AWS SDK for C++
Public Member Functions | List of all members
Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest Class Reference

#include <UpdateAuthorizerRequest.h>

+ Inheritance diagram for Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest:

Public Member Functions

 UpdateAuthorizerRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
const Aws::StringGetApiId () const
 
bool ApiIdHasBeenSet () const
 
void SetApiId (const Aws::String &value)
 
void SetApiId (Aws::String &&value)
 
void SetApiId (const char *value)
 
UpdateAuthorizerRequestWithApiId (const Aws::String &value)
 
UpdateAuthorizerRequestWithApiId (Aws::String &&value)
 
UpdateAuthorizerRequestWithApiId (const char *value)
 
const Aws::StringGetAuthorizerCredentialsArn () const
 
bool AuthorizerCredentialsArnHasBeenSet () const
 
void SetAuthorizerCredentialsArn (const Aws::String &value)
 
void SetAuthorizerCredentialsArn (Aws::String &&value)
 
void SetAuthorizerCredentialsArn (const char *value)
 
UpdateAuthorizerRequestWithAuthorizerCredentialsArn (const Aws::String &value)
 
UpdateAuthorizerRequestWithAuthorizerCredentialsArn (Aws::String &&value)
 
UpdateAuthorizerRequestWithAuthorizerCredentialsArn (const char *value)
 
const Aws::StringGetAuthorizerId () const
 
bool AuthorizerIdHasBeenSet () const
 
void SetAuthorizerId (const Aws::String &value)
 
void SetAuthorizerId (Aws::String &&value)
 
void SetAuthorizerId (const char *value)
 
UpdateAuthorizerRequestWithAuthorizerId (const Aws::String &value)
 
UpdateAuthorizerRequestWithAuthorizerId (Aws::String &&value)
 
UpdateAuthorizerRequestWithAuthorizerId (const char *value)
 
const Aws::StringGetAuthorizerPayloadFormatVersion () const
 
bool AuthorizerPayloadFormatVersionHasBeenSet () const
 
void SetAuthorizerPayloadFormatVersion (const Aws::String &value)
 
void SetAuthorizerPayloadFormatVersion (Aws::String &&value)
 
void SetAuthorizerPayloadFormatVersion (const char *value)
 
UpdateAuthorizerRequestWithAuthorizerPayloadFormatVersion (const Aws::String &value)
 
UpdateAuthorizerRequestWithAuthorizerPayloadFormatVersion (Aws::String &&value)
 
UpdateAuthorizerRequestWithAuthorizerPayloadFormatVersion (const char *value)
 
int GetAuthorizerResultTtlInSeconds () const
 
bool AuthorizerResultTtlInSecondsHasBeenSet () const
 
void SetAuthorizerResultTtlInSeconds (int value)
 
UpdateAuthorizerRequestWithAuthorizerResultTtlInSeconds (int value)
 
const AuthorizerTypeGetAuthorizerType () const
 
bool AuthorizerTypeHasBeenSet () const
 
void SetAuthorizerType (const AuthorizerType &value)
 
void SetAuthorizerType (AuthorizerType &&value)
 
UpdateAuthorizerRequestWithAuthorizerType (const AuthorizerType &value)
 
UpdateAuthorizerRequestWithAuthorizerType (AuthorizerType &&value)
 
const Aws::StringGetAuthorizerUri () const
 
bool AuthorizerUriHasBeenSet () const
 
void SetAuthorizerUri (const Aws::String &value)
 
void SetAuthorizerUri (Aws::String &&value)
 
void SetAuthorizerUri (const char *value)
 
UpdateAuthorizerRequestWithAuthorizerUri (const Aws::String &value)
 
UpdateAuthorizerRequestWithAuthorizerUri (Aws::String &&value)
 
UpdateAuthorizerRequestWithAuthorizerUri (const char *value)
 
bool GetEnableSimpleResponses () const
 
bool EnableSimpleResponsesHasBeenSet () const
 
void SetEnableSimpleResponses (bool value)
 
UpdateAuthorizerRequestWithEnableSimpleResponses (bool value)
 
const Aws::Vector< Aws::String > & GetIdentitySource () const
 
bool IdentitySourceHasBeenSet () const
 
void SetIdentitySource (const Aws::Vector< Aws::String > &value)
 
void SetIdentitySource (Aws::Vector< Aws::String > &&value)
 
UpdateAuthorizerRequestWithIdentitySource (const Aws::Vector< Aws::String > &value)
 
UpdateAuthorizerRequestWithIdentitySource (Aws::Vector< Aws::String > &&value)
 
UpdateAuthorizerRequestAddIdentitySource (const Aws::String &value)
 
UpdateAuthorizerRequestAddIdentitySource (Aws::String &&value)
 
UpdateAuthorizerRequestAddIdentitySource (const char *value)
 
const Aws::StringGetIdentityValidationExpression () const
 
bool IdentityValidationExpressionHasBeenSet () const
 
void SetIdentityValidationExpression (const Aws::String &value)
 
void SetIdentityValidationExpression (Aws::String &&value)
 
void SetIdentityValidationExpression (const char *value)
 
UpdateAuthorizerRequestWithIdentityValidationExpression (const Aws::String &value)
 
UpdateAuthorizerRequestWithIdentityValidationExpression (Aws::String &&value)
 
UpdateAuthorizerRequestWithIdentityValidationExpression (const char *value)
 
const JWTConfigurationGetJwtConfiguration () const
 
bool JwtConfigurationHasBeenSet () const
 
void SetJwtConfiguration (const JWTConfiguration &value)
 
void SetJwtConfiguration (JWTConfiguration &&value)
 
UpdateAuthorizerRequestWithJwtConfiguration (const JWTConfiguration &value)
 
UpdateAuthorizerRequestWithJwtConfiguration (JWTConfiguration &&value)
 
const Aws::StringGetName () const
 
bool NameHasBeenSet () const
 
void SetName (const Aws::String &value)
 
void SetName (Aws::String &&value)
 
void SetName (const char *value)
 
UpdateAuthorizerRequestWithName (const Aws::String &value)
 
UpdateAuthorizerRequestWithName (Aws::String &&value)
 
UpdateAuthorizerRequestWithName (const char *value)
 
- Public Member Functions inherited from Aws::ApiGatewayV2::ApiGatewayV2Request
virtual ~ApiGatewayV2Request ()
 
void AddParametersToRequest (Aws::Http::HttpRequest &httpRequest) const
 
Aws::Http::HeaderValueCollection GetHeaders () const override
 
- Public Member Functions inherited from Aws::AmazonSerializableWebServiceRequest
 AmazonSerializableWebServiceRequest ()
 
virtual ~AmazonSerializableWebServiceRequest ()
 
std::shared_ptr< Aws::IOStreamGetBody () const override
 
- Public Member Functions inherited from Aws::AmazonWebServiceRequest
 AmazonWebServiceRequest ()
 
virtual ~AmazonWebServiceRequest ()=default
 
virtual void AddQueryStringParameters (Aws::Http::URI &uri) const
 
virtual void PutToPresignedUrl (Aws::Http::URI &uri) const
 
virtual bool IsStreaming () const
 
virtual bool IsEventStreamRequest () const
 
virtual bool SignBody () const
 
virtual bool IsChunked () const
 
virtual void SetRequestSignedHandler (const RequestSignedHandler &handler)
 
virtual const RequestSignedHandlerGetRequestSignedHandler () const
 
const Aws::IOStreamFactoryGetResponseStreamFactory () const
 
void SetResponseStreamFactory (const Aws::IOStreamFactory &factory)
 
virtual void SetDataReceivedEventHandler (const Aws::Http::DataReceivedEventHandler &dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (const Aws::Http::DataSentEventHandler &dataSentEventHandler)
 
virtual void SetContinueRequestHandler (const Aws::Http::ContinueRequestHandler &continueRequestHandler)
 
virtual void SetDataReceivedEventHandler (Aws::Http::DataReceivedEventHandler &&dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (Aws::Http::DataSentEventHandler &&dataSentEventHandler)
 
virtual void SetContinueRequestHandler (Aws::Http::ContinueRequestHandler &&continueRequestHandler)
 
virtual void SetRequestRetryHandler (const RequestRetryHandler &handler)
 
virtual void SetRequestRetryHandler (RequestRetryHandler &&handler)
 
virtual const Aws::Http::DataReceivedEventHandlerGetDataReceivedEventHandler () const
 
virtual const Aws::Http::DataSentEventHandlerGetDataSentEventHandler () const
 
virtual const Aws::Http::ContinueRequestHandlerGetContinueRequestHandler () const
 
virtual const RequestRetryHandlerGetRequestRetryHandler () const
 
virtual bool ShouldComputeContentMd5 () const
 

Additional Inherited Members

- Protected Member Functions inherited from Aws::ApiGatewayV2::ApiGatewayV2Request
virtual Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const
 
- Protected Member Functions inherited from Aws::AmazonWebServiceRequest
virtual void DumpBodyToUrl (Aws::Http::URI &uri) const
 

Detailed Description

Updates an Authorizer.

See Also:

AWS API Reference

Definition at line 27 of file UpdateAuthorizerRequest.h.

Constructor & Destructor Documentation

◆ UpdateAuthorizerRequest()

Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::UpdateAuthorizerRequest ( )

Member Function Documentation

◆ AddIdentitySource() [1/3]

UpdateAuthorizerRequest& Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::AddIdentitySource ( const Aws::String value)
inline

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. 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 for WebSocket APIs. For HTTP APIs, use selection expressions prefixed with $, for example, $request.header.Auth, $request.querystring.Name. These parameters are 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 HTTP APIs, identity sources are also used as the cache key when caching is enabled. To learn more, see Working with AWS Lambda authorizers for HTTP APIs.

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.

Definition at line 673 of file UpdateAuthorizerRequest.h.

◆ AddIdentitySource() [2/3]

UpdateAuthorizerRequest& Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::AddIdentitySource ( Aws::String &&  value)
inline

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. 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 for WebSocket APIs. For HTTP APIs, use selection expressions prefixed with $, for example, $request.header.Auth, $request.querystring.Name. These parameters are 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 HTTP APIs, identity sources are also used as the cache key when caching is enabled. To learn more, see Working with AWS Lambda authorizers for HTTP APIs.

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.

Definition at line 697 of file UpdateAuthorizerRequest.h.

◆ AddIdentitySource() [3/3]

UpdateAuthorizerRequest& Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::AddIdentitySource ( const char *  value)
inline

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. 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 for WebSocket APIs. For HTTP APIs, use selection expressions prefixed with $, for example, $request.header.Auth, $request.querystring.Name. These parameters are 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 HTTP APIs, identity sources are also used as the cache key when caching is enabled. To learn more, see Working with AWS Lambda authorizers for HTTP APIs.

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.

Definition at line 721 of file UpdateAuthorizerRequest.h.

◆ ApiIdHasBeenSet()

bool Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::ApiIdHasBeenSet ( ) const
inline

The API identifier.

Definition at line 49 of file UpdateAuthorizerRequest.h.

◆ AuthorizerCredentialsArnHasBeenSet()

bool Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::AuthorizerCredentialsArnHasBeenSet ( ) const
inline

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, don't specify this parameter.

Definition at line 96 of file UpdateAuthorizerRequest.h.

◆ AuthorizerIdHasBeenSet()

bool Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::AuthorizerIdHasBeenSet ( ) const
inline

The authorizer identifier.

Definition at line 155 of file UpdateAuthorizerRequest.h.

◆ AuthorizerPayloadFormatVersionHasBeenSet()

bool Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::AuthorizerPayloadFormatVersionHasBeenSet ( ) const
inline

Specifies the format of the payload sent to an HTTP API Lambda authorizer. Required for HTTP API Lambda authorizers. Supported values are 1.0 and 2.0. To learn more, see Working with AWS Lambda authorizers for HTTP APIs.

Definition at line 204 of file UpdateAuthorizerRequest.h.

◆ AuthorizerResultTtlInSecondsHasBeenSet()

bool Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::AuthorizerResultTtlInSecondsHasBeenSet ( ) const
inline

The time to live (TTL) for cached authorizer results, in seconds. If it equals 0, authorization caching is disabled. If it is greater than 0, API Gateway caches authorizer responses. The maximum value is 3600, or 1 hour. Supported only for HTTP API Lambda authorizers.

Definition at line 275 of file UpdateAuthorizerRequest.h.

◆ AuthorizerTypeHasBeenSet()

bool Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::AuthorizerTypeHasBeenSet ( ) const
inline

The authorizer type. Specify REQUEST for a Lambda function using incoming request parameters. Specify JWT to use JSON Web Tokens (supported only for HTTP APIs).

Definition at line 306 of file UpdateAuthorizerRequest.h.

◆ AuthorizerUriHasBeenSet()

bool Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::AuthorizerUriHasBeenSet ( ) const
inline

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:<replaceable>{account_id}</replaceable>:function:<replaceable>{lambda_function_name}</replaceable>/invocations. In general, the URI has this form: arn:aws:apigateway:<replaceable>{region}</replaceable>:lambda:path/<replaceable>{service_api}</replaceable>

, where <replaceable></replaceable>{region} is the same as the region hosting the Lambda function, path indicates that the remaining substring in the URI should be treated as the path to the resource, including the initial /. For Lambda functions, this is usually of the form /2015-03-31/functions/[FunctionARN]/invocations. Supported only for REQUEST authorizers.

Definition at line 367 of file UpdateAuthorizerRequest.h.

◆ EnableSimpleResponsesHasBeenSet()

bool Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::EnableSimpleResponsesHasBeenSet ( ) const
inline

Specifies whether a Lambda authorizer returns a response in a simple format. By default, a Lambda authorizer must return an IAM policy. If enabled, the Lambda authorizer can return a boolean value instead of an IAM policy. Supported only for HTTP APIs. To learn more, see Working with AWS Lambda authorizers for HTTP APIs

Definition at line 484 of file UpdateAuthorizerRequest.h.

◆ GetApiId()

const Aws::String& Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::GetApiId ( ) const
inline

The API identifier.

Definition at line 44 of file UpdateAuthorizerRequest.h.

◆ GetAuthorizerCredentialsArn()

const Aws::String& Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::GetAuthorizerCredentialsArn ( ) const
inline

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, don't specify this parameter.

Definition at line 88 of file UpdateAuthorizerRequest.h.

◆ GetAuthorizerId()

const Aws::String& Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::GetAuthorizerId ( ) const
inline

The authorizer identifier.

Definition at line 150 of file UpdateAuthorizerRequest.h.

◆ GetAuthorizerPayloadFormatVersion()

const Aws::String& Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::GetAuthorizerPayloadFormatVersion ( ) const
inline

Specifies the format of the payload sent to an HTTP API Lambda authorizer. Required for HTTP API Lambda authorizers. Supported values are 1.0 and 2.0. To learn more, see Working with AWS Lambda authorizers for HTTP APIs.

Definition at line 195 of file UpdateAuthorizerRequest.h.

◆ GetAuthorizerResultTtlInSeconds()

int Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::GetAuthorizerResultTtlInSeconds ( ) const
inline

The time to live (TTL) for cached authorizer results, in seconds. If it equals 0, authorization caching is disabled. If it is greater than 0, API Gateway caches authorizer responses. The maximum value is 3600, or 1 hour. Supported only for HTTP API Lambda authorizers.

Definition at line 267 of file UpdateAuthorizerRequest.h.

◆ GetAuthorizerType()

const AuthorizerType& Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::GetAuthorizerType ( ) const
inline

The authorizer type. Specify REQUEST for a Lambda function using incoming request parameters. Specify JWT to use JSON Web Tokens (supported only for HTTP APIs).

Definition at line 299 of file UpdateAuthorizerRequest.h.

◆ GetAuthorizerUri()

const Aws::String& Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::GetAuthorizerUri ( ) const
inline

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:<replaceable>{account_id}</replaceable>:function:<replaceable>{lambda_function_name}</replaceable>/invocations. In general, the URI has this form: arn:aws:apigateway:<replaceable>{region}</replaceable>:lambda:path/<replaceable>{service_api}</replaceable>

, where <replaceable></replaceable>{region} is the same as the region hosting the Lambda function, path indicates that the remaining substring in the URI should be treated as the path to the resource, including the initial /. For Lambda functions, this is usually of the form /2015-03-31/functions/[FunctionARN]/invocations. Supported only for REQUEST authorizers.

Definition at line 351 of file UpdateAuthorizerRequest.h.

◆ GetEnableSimpleResponses()

bool Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::GetEnableSimpleResponses ( ) const
inline

Specifies whether a Lambda authorizer returns a response in a simple format. By default, a Lambda authorizer must return an IAM policy. If enabled, the Lambda authorizer can return a boolean value instead of an IAM policy. Supported only for HTTP APIs. To learn more, see Working with AWS Lambda authorizers for HTTP APIs

Definition at line 474 of file UpdateAuthorizerRequest.h.

◆ GetIdentitySource()

const Aws::Vector<Aws::String>& Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::GetIdentitySource ( ) const
inline

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. 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 for WebSocket APIs. For HTTP APIs, use selection expressions prefixed with $, for example, $request.header.Auth, $request.querystring.Name. These parameters are 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 HTTP APIs, identity sources are also used as the cache key when caching is enabled. To learn more, see Working with AWS Lambda authorizers for HTTP APIs.

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.

Definition at line 529 of file UpdateAuthorizerRequest.h.

◆ GetIdentityValidationExpression()

const Aws::String& Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::GetIdentityValidationExpression ( ) const
inline

This parameter is not used.

Definition at line 727 of file UpdateAuthorizerRequest.h.

◆ GetJwtConfiguration()

const JWTConfiguration& Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::GetJwtConfiguration ( ) const
inline

Represents the configuration of a JWT authorizer. Required for the JWT authorizer type. Supported only for HTTP APIs.

Definition at line 769 of file UpdateAuthorizerRequest.h.

◆ GetName()

const Aws::String& Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::GetName ( ) const
inline

The name of the authorizer.

Definition at line 805 of file UpdateAuthorizerRequest.h.

◆ GetServiceRequestName()

virtual const char* Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::GetServiceRequestName ( ) const
inlineoverridevirtual

Implements Aws::AmazonWebServiceRequest.

Definition at line 36 of file UpdateAuthorizerRequest.h.

◆ IdentitySourceHasBeenSet()

bool Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::IdentitySourceHasBeenSet ( ) const
inline

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. 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 for WebSocket APIs. For HTTP APIs, use selection expressions prefixed with $, for example, $request.header.Auth, $request.querystring.Name. These parameters are 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 HTTP APIs, identity sources are also used as the cache key when caching is enabled. To learn more, see Working with AWS Lambda authorizers for HTTP APIs.

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.

Definition at line 553 of file UpdateAuthorizerRequest.h.

◆ IdentityValidationExpressionHasBeenSet()

bool Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::IdentityValidationExpressionHasBeenSet ( ) const
inline

This parameter is not used.

Definition at line 732 of file UpdateAuthorizerRequest.h.

◆ JwtConfigurationHasBeenSet()

bool Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::JwtConfigurationHasBeenSet ( ) const
inline

Represents the configuration of a JWT authorizer. Required for the JWT authorizer type. Supported only for HTTP APIs.

Definition at line 775 of file UpdateAuthorizerRequest.h.

◆ NameHasBeenSet()

bool Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::NameHasBeenSet ( ) const
inline

The name of the authorizer.

Definition at line 810 of file UpdateAuthorizerRequest.h.

◆ SerializePayload()

Aws::String Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::SerializePayload ( ) const
overridevirtual

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetApiId() [1/3]

void Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::SetApiId ( const Aws::String value)
inline

The API identifier.

Definition at line 54 of file UpdateAuthorizerRequest.h.

◆ SetApiId() [2/3]

void Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::SetApiId ( Aws::String &&  value)
inline

The API identifier.

Definition at line 59 of file UpdateAuthorizerRequest.h.

◆ SetApiId() [3/3]

void Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::SetApiId ( const char *  value)
inline

The API identifier.

Definition at line 64 of file UpdateAuthorizerRequest.h.

◆ SetAuthorizerCredentialsArn() [1/3]

void Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::SetAuthorizerCredentialsArn ( const Aws::String value)
inline

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, don't specify this parameter.

Definition at line 104 of file UpdateAuthorizerRequest.h.

◆ SetAuthorizerCredentialsArn() [2/3]

void Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::SetAuthorizerCredentialsArn ( Aws::String &&  value)
inline

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, don't specify this parameter.

Definition at line 112 of file UpdateAuthorizerRequest.h.

◆ SetAuthorizerCredentialsArn() [3/3]

void Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::SetAuthorizerCredentialsArn ( const char *  value)
inline

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, don't specify this parameter.

Definition at line 120 of file UpdateAuthorizerRequest.h.

◆ SetAuthorizerId() [1/3]

void Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::SetAuthorizerId ( const Aws::String value)
inline

The authorizer identifier.

Definition at line 160 of file UpdateAuthorizerRequest.h.

◆ SetAuthorizerId() [2/3]

void Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::SetAuthorizerId ( Aws::String &&  value)
inline

The authorizer identifier.

Definition at line 165 of file UpdateAuthorizerRequest.h.

◆ SetAuthorizerId() [3/3]

void Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::SetAuthorizerId ( const char *  value)
inline

The authorizer identifier.

Definition at line 170 of file UpdateAuthorizerRequest.h.

◆ SetAuthorizerPayloadFormatVersion() [1/3]

void Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::SetAuthorizerPayloadFormatVersion ( const Aws::String value)
inline

Specifies the format of the payload sent to an HTTP API Lambda authorizer. Required for HTTP API Lambda authorizers. Supported values are 1.0 and 2.0. To learn more, see Working with AWS Lambda authorizers for HTTP APIs.

Definition at line 213 of file UpdateAuthorizerRequest.h.

◆ SetAuthorizerPayloadFormatVersion() [2/3]

void Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::SetAuthorizerPayloadFormatVersion ( Aws::String &&  value)
inline

Specifies the format of the payload sent to an HTTP API Lambda authorizer. Required for HTTP API Lambda authorizers. Supported values are 1.0 and 2.0. To learn more, see Working with AWS Lambda authorizers for HTTP APIs.

Definition at line 222 of file UpdateAuthorizerRequest.h.

◆ SetAuthorizerPayloadFormatVersion() [3/3]

void Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::SetAuthorizerPayloadFormatVersion ( const char *  value)
inline

Specifies the format of the payload sent to an HTTP API Lambda authorizer. Required for HTTP API Lambda authorizers. Supported values are 1.0 and 2.0. To learn more, see Working with AWS Lambda authorizers for HTTP APIs.

Definition at line 231 of file UpdateAuthorizerRequest.h.

◆ SetAuthorizerResultTtlInSeconds()

void Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::SetAuthorizerResultTtlInSeconds ( int  value)
inline

The time to live (TTL) for cached authorizer results, in seconds. If it equals 0, authorization caching is disabled. If it is greater than 0, API Gateway caches authorizer responses. The maximum value is 3600, or 1 hour. Supported only for HTTP API Lambda authorizers.

Definition at line 283 of file UpdateAuthorizerRequest.h.

◆ SetAuthorizerType() [1/2]

void Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::SetAuthorizerType ( const AuthorizerType value)
inline

The authorizer type. Specify REQUEST for a Lambda function using incoming request parameters. Specify JWT to use JSON Web Tokens (supported only for HTTP APIs).

Definition at line 313 of file UpdateAuthorizerRequest.h.

◆ SetAuthorizerType() [2/2]

void Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::SetAuthorizerType ( AuthorizerType &&  value)
inline

The authorizer type. Specify REQUEST for a Lambda function using incoming request parameters. Specify JWT to use JSON Web Tokens (supported only for HTTP APIs).

Definition at line 320 of file UpdateAuthorizerRequest.h.

◆ SetAuthorizerUri() [1/3]

void Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::SetAuthorizerUri ( const Aws::String value)
inline

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:<replaceable>{account_id}</replaceable>:function:<replaceable>{lambda_function_name}</replaceable>/invocations. In general, the URI has this form: arn:aws:apigateway:<replaceable>{region}</replaceable>:lambda:path/<replaceable>{service_api}</replaceable>

, where <replaceable></replaceable>{region} is the same as the region hosting the Lambda function, path indicates that the remaining substring in the URI should be treated as the path to the resource, including the initial /. For Lambda functions, this is usually of the form /2015-03-31/functions/[FunctionARN]/invocations. Supported only for REQUEST authorizers.

Definition at line 383 of file UpdateAuthorizerRequest.h.

◆ SetAuthorizerUri() [2/3]

void Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::SetAuthorizerUri ( Aws::String &&  value)
inline

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:<replaceable>{account_id}</replaceable>:function:<replaceable>{lambda_function_name}</replaceable>/invocations. In general, the URI has this form: arn:aws:apigateway:<replaceable>{region}</replaceable>:lambda:path/<replaceable>{service_api}</replaceable>

, where <replaceable></replaceable>{region} is the same as the region hosting the Lambda function, path indicates that the remaining substring in the URI should be treated as the path to the resource, including the initial /. For Lambda functions, this is usually of the form /2015-03-31/functions/[FunctionARN]/invocations. Supported only for REQUEST authorizers.

Definition at line 399 of file UpdateAuthorizerRequest.h.

◆ SetAuthorizerUri() [3/3]

void Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::SetAuthorizerUri ( const char *  value)
inline

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:<replaceable>{account_id}</replaceable>:function:<replaceable>{lambda_function_name}</replaceable>/invocations. In general, the URI has this form: arn:aws:apigateway:<replaceable>{region}</replaceable>:lambda:path/<replaceable>{service_api}</replaceable>

, where <replaceable></replaceable>{region} is the same as the region hosting the Lambda function, path indicates that the remaining substring in the URI should be treated as the path to the resource, including the initial /. For Lambda functions, this is usually of the form /2015-03-31/functions/[FunctionARN]/invocations. Supported only for REQUEST authorizers.

Definition at line 415 of file UpdateAuthorizerRequest.h.

◆ SetEnableSimpleResponses()

void Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::SetEnableSimpleResponses ( bool  value)
inline

Specifies whether a Lambda authorizer returns a response in a simple format. By default, a Lambda authorizer must return an IAM policy. If enabled, the Lambda authorizer can return a boolean value instead of an IAM policy. Supported only for HTTP APIs. To learn more, see Working with AWS Lambda authorizers for HTTP APIs

Definition at line 494 of file UpdateAuthorizerRequest.h.

◆ SetIdentitySource() [1/2]

void Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::SetIdentitySource ( const Aws::Vector< Aws::String > &  value)
inline

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. 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 for WebSocket APIs. For HTTP APIs, use selection expressions prefixed with $, for example, $request.header.Auth, $request.querystring.Name. These parameters are 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 HTTP APIs, identity sources are also used as the cache key when caching is enabled. To learn more, see Working with AWS Lambda authorizers for HTTP APIs.

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.

Definition at line 577 of file UpdateAuthorizerRequest.h.

◆ SetIdentitySource() [2/2]

void Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::SetIdentitySource ( Aws::Vector< Aws::String > &&  value)
inline

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. 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 for WebSocket APIs. For HTTP APIs, use selection expressions prefixed with $, for example, $request.header.Auth, $request.querystring.Name. These parameters are 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 HTTP APIs, identity sources are also used as the cache key when caching is enabled. To learn more, see Working with AWS Lambda authorizers for HTTP APIs.

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.

Definition at line 601 of file UpdateAuthorizerRequest.h.

◆ SetIdentityValidationExpression() [1/3]

void Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::SetIdentityValidationExpression ( const Aws::String value)
inline

This parameter is not used.

Definition at line 737 of file UpdateAuthorizerRequest.h.

◆ SetIdentityValidationExpression() [2/3]

void Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::SetIdentityValidationExpression ( Aws::String &&  value)
inline

This parameter is not used.

Definition at line 742 of file UpdateAuthorizerRequest.h.

◆ SetIdentityValidationExpression() [3/3]

void Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::SetIdentityValidationExpression ( const char *  value)
inline

This parameter is not used.

Definition at line 747 of file UpdateAuthorizerRequest.h.

◆ SetJwtConfiguration() [1/2]

void Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::SetJwtConfiguration ( const JWTConfiguration value)
inline

Represents the configuration of a JWT authorizer. Required for the JWT authorizer type. Supported only for HTTP APIs.

Definition at line 781 of file UpdateAuthorizerRequest.h.

◆ SetJwtConfiguration() [2/2]

void Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::SetJwtConfiguration ( JWTConfiguration &&  value)
inline

Represents the configuration of a JWT authorizer. Required for the JWT authorizer type. Supported only for HTTP APIs.

Definition at line 787 of file UpdateAuthorizerRequest.h.

◆ SetName() [1/3]

void Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::SetName ( const Aws::String value)
inline

The name of the authorizer.

Definition at line 815 of file UpdateAuthorizerRequest.h.

◆ SetName() [2/3]

void Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::SetName ( Aws::String &&  value)
inline

The name of the authorizer.

Definition at line 820 of file UpdateAuthorizerRequest.h.

◆ SetName() [3/3]

void Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::SetName ( const char *  value)
inline

The name of the authorizer.

Definition at line 825 of file UpdateAuthorizerRequest.h.

◆ WithApiId() [1/3]

UpdateAuthorizerRequest& Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::WithApiId ( const Aws::String value)
inline

The API identifier.

Definition at line 69 of file UpdateAuthorizerRequest.h.

◆ WithApiId() [2/3]

UpdateAuthorizerRequest& Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::WithApiId ( Aws::String &&  value)
inline

The API identifier.

Definition at line 74 of file UpdateAuthorizerRequest.h.

◆ WithApiId() [3/3]

UpdateAuthorizerRequest& Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::WithApiId ( const char *  value)
inline

The API identifier.

Definition at line 79 of file UpdateAuthorizerRequest.h.

◆ WithAuthorizerCredentialsArn() [1/3]

UpdateAuthorizerRequest& Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::WithAuthorizerCredentialsArn ( const Aws::String value)
inline

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, don't specify this parameter.

Definition at line 128 of file UpdateAuthorizerRequest.h.

◆ WithAuthorizerCredentialsArn() [2/3]

UpdateAuthorizerRequest& Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::WithAuthorizerCredentialsArn ( Aws::String &&  value)
inline

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, don't specify this parameter.

Definition at line 136 of file UpdateAuthorizerRequest.h.

◆ WithAuthorizerCredentialsArn() [3/3]

UpdateAuthorizerRequest& Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::WithAuthorizerCredentialsArn ( const char *  value)
inline

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, don't specify this parameter.

Definition at line 144 of file UpdateAuthorizerRequest.h.

◆ WithAuthorizerId() [1/3]

UpdateAuthorizerRequest& Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::WithAuthorizerId ( const Aws::String value)
inline

The authorizer identifier.

Definition at line 175 of file UpdateAuthorizerRequest.h.

◆ WithAuthorizerId() [2/3]

UpdateAuthorizerRequest& Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::WithAuthorizerId ( Aws::String &&  value)
inline

The authorizer identifier.

Definition at line 180 of file UpdateAuthorizerRequest.h.

◆ WithAuthorizerId() [3/3]

UpdateAuthorizerRequest& Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::WithAuthorizerId ( const char *  value)
inline

The authorizer identifier.

Definition at line 185 of file UpdateAuthorizerRequest.h.

◆ WithAuthorizerPayloadFormatVersion() [1/3]

UpdateAuthorizerRequest& Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::WithAuthorizerPayloadFormatVersion ( const Aws::String value)
inline

Specifies the format of the payload sent to an HTTP API Lambda authorizer. Required for HTTP API Lambda authorizers. Supported values are 1.0 and 2.0. To learn more, see Working with AWS Lambda authorizers for HTTP APIs.

Definition at line 240 of file UpdateAuthorizerRequest.h.

◆ WithAuthorizerPayloadFormatVersion() [2/3]

UpdateAuthorizerRequest& Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::WithAuthorizerPayloadFormatVersion ( Aws::String &&  value)
inline

Specifies the format of the payload sent to an HTTP API Lambda authorizer. Required for HTTP API Lambda authorizers. Supported values are 1.0 and 2.0. To learn more, see Working with AWS Lambda authorizers for HTTP APIs.

Definition at line 249 of file UpdateAuthorizerRequest.h.

◆ WithAuthorizerPayloadFormatVersion() [3/3]

UpdateAuthorizerRequest& Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::WithAuthorizerPayloadFormatVersion ( const char *  value)
inline

Specifies the format of the payload sent to an HTTP API Lambda authorizer. Required for HTTP API Lambda authorizers. Supported values are 1.0 and 2.0. To learn more, see Working with AWS Lambda authorizers for HTTP APIs.

Definition at line 258 of file UpdateAuthorizerRequest.h.

◆ WithAuthorizerResultTtlInSeconds()

UpdateAuthorizerRequest& Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::WithAuthorizerResultTtlInSeconds ( int  value)
inline

The time to live (TTL) for cached authorizer results, in seconds. If it equals 0, authorization caching is disabled. If it is greater than 0, API Gateway caches authorizer responses. The maximum value is 3600, or 1 hour. Supported only for HTTP API Lambda authorizers.

Definition at line 291 of file UpdateAuthorizerRequest.h.

◆ WithAuthorizerType() [1/2]

UpdateAuthorizerRequest& Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::WithAuthorizerType ( const AuthorizerType value)
inline

The authorizer type. Specify REQUEST for a Lambda function using incoming request parameters. Specify JWT to use JSON Web Tokens (supported only for HTTP APIs).

Definition at line 327 of file UpdateAuthorizerRequest.h.

◆ WithAuthorizerType() [2/2]

UpdateAuthorizerRequest& Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::WithAuthorizerType ( AuthorizerType &&  value)
inline

The authorizer type. Specify REQUEST for a Lambda function using incoming request parameters. Specify JWT to use JSON Web Tokens (supported only for HTTP APIs).

Definition at line 334 of file UpdateAuthorizerRequest.h.

◆ WithAuthorizerUri() [1/3]

UpdateAuthorizerRequest& Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::WithAuthorizerUri ( const Aws::String value)
inline

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:<replaceable>{account_id}</replaceable>:function:<replaceable>{lambda_function_name}</replaceable>/invocations. In general, the URI has this form: arn:aws:apigateway:<replaceable>{region}</replaceable>:lambda:path/<replaceable>{service_api}</replaceable>

, where <replaceable></replaceable>{region} is the same as the region hosting the Lambda function, path indicates that the remaining substring in the URI should be treated as the path to the resource, including the initial /. For Lambda functions, this is usually of the form /2015-03-31/functions/[FunctionARN]/invocations. Supported only for REQUEST authorizers.

Definition at line 431 of file UpdateAuthorizerRequest.h.

◆ WithAuthorizerUri() [2/3]

UpdateAuthorizerRequest& Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::WithAuthorizerUri ( Aws::String &&  value)
inline

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:<replaceable>{account_id}</replaceable>:function:<replaceable>{lambda_function_name}</replaceable>/invocations. In general, the URI has this form: arn:aws:apigateway:<replaceable>{region}</replaceable>:lambda:path/<replaceable>{service_api}</replaceable>

, where <replaceable></replaceable>{region} is the same as the region hosting the Lambda function, path indicates that the remaining substring in the URI should be treated as the path to the resource, including the initial /. For Lambda functions, this is usually of the form /2015-03-31/functions/[FunctionARN]/invocations. Supported only for REQUEST authorizers.

Definition at line 447 of file UpdateAuthorizerRequest.h.

◆ WithAuthorizerUri() [3/3]

UpdateAuthorizerRequest& Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::WithAuthorizerUri ( const char *  value)
inline

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:<replaceable>{account_id}</replaceable>:function:<replaceable>{lambda_function_name}</replaceable>/invocations. In general, the URI has this form: arn:aws:apigateway:<replaceable>{region}</replaceable>:lambda:path/<replaceable>{service_api}</replaceable>

, where <replaceable></replaceable>{region} is the same as the region hosting the Lambda function, path indicates that the remaining substring in the URI should be treated as the path to the resource, including the initial /. For Lambda functions, this is usually of the form /2015-03-31/functions/[FunctionARN]/invocations. Supported only for REQUEST authorizers.

Definition at line 463 of file UpdateAuthorizerRequest.h.

◆ WithEnableSimpleResponses()

UpdateAuthorizerRequest& Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::WithEnableSimpleResponses ( bool  value)
inline

Specifies whether a Lambda authorizer returns a response in a simple format. By default, a Lambda authorizer must return an IAM policy. If enabled, the Lambda authorizer can return a boolean value instead of an IAM policy. Supported only for HTTP APIs. To learn more, see Working with AWS Lambda authorizers for HTTP APIs

Definition at line 504 of file UpdateAuthorizerRequest.h.

◆ WithIdentitySource() [1/2]

UpdateAuthorizerRequest& Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::WithIdentitySource ( const Aws::Vector< Aws::String > &  value)
inline

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. 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 for WebSocket APIs. For HTTP APIs, use selection expressions prefixed with $, for example, $request.header.Auth, $request.querystring.Name. These parameters are 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 HTTP APIs, identity sources are also used as the cache key when caching is enabled. To learn more, see Working with AWS Lambda authorizers for HTTP APIs.

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.

Definition at line 625 of file UpdateAuthorizerRequest.h.

◆ WithIdentitySource() [2/2]

UpdateAuthorizerRequest& Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::WithIdentitySource ( Aws::Vector< Aws::String > &&  value)
inline

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. 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 for WebSocket APIs. For HTTP APIs, use selection expressions prefixed with $, for example, $request.header.Auth, $request.querystring.Name. These parameters are 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 HTTP APIs, identity sources are also used as the cache key when caching is enabled. To learn more, see Working with AWS Lambda authorizers for HTTP APIs.

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.

Definition at line 649 of file UpdateAuthorizerRequest.h.

◆ WithIdentityValidationExpression() [1/3]

UpdateAuthorizerRequest& Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::WithIdentityValidationExpression ( const Aws::String value)
inline

This parameter is not used.

Definition at line 752 of file UpdateAuthorizerRequest.h.

◆ WithIdentityValidationExpression() [2/3]

UpdateAuthorizerRequest& Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::WithIdentityValidationExpression ( Aws::String &&  value)
inline

This parameter is not used.

Definition at line 757 of file UpdateAuthorizerRequest.h.

◆ WithIdentityValidationExpression() [3/3]

UpdateAuthorizerRequest& Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::WithIdentityValidationExpression ( const char *  value)
inline

This parameter is not used.

Definition at line 762 of file UpdateAuthorizerRequest.h.

◆ WithJwtConfiguration() [1/2]

UpdateAuthorizerRequest& Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::WithJwtConfiguration ( const JWTConfiguration value)
inline

Represents the configuration of a JWT authorizer. Required for the JWT authorizer type. Supported only for HTTP APIs.

Definition at line 793 of file UpdateAuthorizerRequest.h.

◆ WithJwtConfiguration() [2/2]

UpdateAuthorizerRequest& Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::WithJwtConfiguration ( JWTConfiguration &&  value)
inline

Represents the configuration of a JWT authorizer. Required for the JWT authorizer type. Supported only for HTTP APIs.

Definition at line 799 of file UpdateAuthorizerRequest.h.

◆ WithName() [1/3]

UpdateAuthorizerRequest& Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::WithName ( const Aws::String value)
inline

The name of the authorizer.

Definition at line 830 of file UpdateAuthorizerRequest.h.

◆ WithName() [2/3]

UpdateAuthorizerRequest& Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::WithName ( Aws::String &&  value)
inline

The name of the authorizer.

Definition at line 835 of file UpdateAuthorizerRequest.h.

◆ WithName() [3/3]

UpdateAuthorizerRequest& Aws::ApiGatewayV2::Model::UpdateAuthorizerRequest::WithName ( const char *  value)
inline

The name of the authorizer.

Definition at line 840 of file UpdateAuthorizerRequest.h.


The documentation for this class was generated from the following file: