AWS Native
getRequestValidator
Resource Type definition for AWS::ApiGateway::RequestValidator
Using getRequestValidator
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getRequestValidator(args: GetRequestValidatorArgs, opts?: InvokeOptions): Promise<GetRequestValidatorResult>
function getRequestValidatorOutput(args: GetRequestValidatorOutputArgs, opts?: InvokeOptions): Output<GetRequestValidatorResult>
def get_request_validator(request_validator_id: Optional[str] = None,
rest_api_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetRequestValidatorResult
def get_request_validator_output(request_validator_id: Optional[pulumi.Input[str]] = None,
rest_api_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRequestValidatorResult]
func LookupRequestValidator(ctx *Context, args *LookupRequestValidatorArgs, opts ...InvokeOption) (*LookupRequestValidatorResult, error)
func LookupRequestValidatorOutput(ctx *Context, args *LookupRequestValidatorOutputArgs, opts ...InvokeOption) LookupRequestValidatorResultOutput
> Note: This function is named LookupRequestValidator
in the Go SDK.
public static class GetRequestValidator
{
public static Task<GetRequestValidatorResult> InvokeAsync(GetRequestValidatorArgs args, InvokeOptions? opts = null)
public static Output<GetRequestValidatorResult> Invoke(GetRequestValidatorInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetRequestValidatorResult> getRequestValidator(GetRequestValidatorArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
Function: aws-native:apigateway:getRequestValidator
Arguments:
# Arguments dictionary
The following arguments are supported:
- Request
Validator stringId ID of the request validator.
- Rest
Api stringId The identifier of the targeted API entity.
- Request
Validator stringId ID of the request validator.
- Rest
Api stringId The identifier of the targeted API entity.
- request
Validator StringId ID of the request validator.
- rest
Api StringId The identifier of the targeted API entity.
- request
Validator stringId ID of the request validator.
- rest
Api stringId The identifier of the targeted API entity.
- request_
validator_ strid ID of the request validator.
- rest_
api_ strid The identifier of the targeted API entity.
- request
Validator StringId ID of the request validator.
- rest
Api StringId The identifier of the targeted API entity.
getRequestValidator Result
The following output properties are available:
- Request
Validator stringId ID of the request validator.
- Validate
Request boolBody Indicates whether to validate the request body according to the configured schema for the targeted API and method.
- Validate
Request boolParameters Indicates whether to validate request parameters.
- Request
Validator stringId ID of the request validator.
- Validate
Request boolBody Indicates whether to validate the request body according to the configured schema for the targeted API and method.
- Validate
Request boolParameters Indicates whether to validate request parameters.
- request
Validator StringId ID of the request validator.
- validate
Request BooleanBody Indicates whether to validate the request body according to the configured schema for the targeted API and method.
- validate
Request BooleanParameters Indicates whether to validate request parameters.
- request
Validator stringId ID of the request validator.
- validate
Request booleanBody Indicates whether to validate the request body according to the configured schema for the targeted API and method.
- validate
Request booleanParameters Indicates whether to validate request parameters.
- request_
validator_ strid ID of the request validator.
- validate_
request_ boolbody Indicates whether to validate the request body according to the configured schema for the targeted API and method.
- validate_
request_ boolparameters Indicates whether to validate request parameters.
- request
Validator StringId ID of the request validator.
- validate
Request BooleanBody Indicates whether to validate the request body according to the configured schema for the targeted API and method.
- validate
Request BooleanParameters Indicates whether to validate request parameters.
Package Details
- Repository
- https://github.com/pulumi/pulumi-aws-native
- License
- Apache-2.0