class Amazonite::EventBridge::HttpParameters

Overview

These are custom parameter to be used when the target is an API Gateway APIs or EventBridge ApiDestinations. In the latter case, these are merged with any InvocationParameters specified on the Connection, with any values from the Connection taking precedence.

Included Modules

Defined in:

eventbridge/http_parameters.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(path_parameter_values : Array(String) | Nil = nil, header_parameters : Hash(String, String) | Nil = nil, query_string_parameters : Hash(String, String) | Nil = nil) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def header_parameters : Hash(String, String) | Nil #

The headers that need to be sent as part of request invoking the API Gateway API or EventBridge ApiDestination.


[View source]
def header_parameters=(header_parameters : Hash(String, String) | Nil) #

The headers that need to be sent as part of request invoking the API Gateway API or EventBridge ApiDestination.


[View source]
def path_parameter_values : Array(String) | Nil #

The path parameter values to be used to populate API Gateway API or EventBridge ApiDestination path wildcards ("*").


[View source]
def path_parameter_values=(path_parameter_values : Array(String) | Nil) #

The path parameter values to be used to populate API Gateway API or EventBridge ApiDestination path wildcards ("*").


[View source]
def query_string_parameters : Hash(String, String) | Nil #

The query string keys/values that need to be sent as part of request invoking the API Gateway API or EventBridge ApiDestination.


[View source]
def query_string_parameters=(query_string_parameters : Hash(String, String) | Nil) #

The query string keys/values that need to be sent as part of request invoking the API Gateway API or EventBridge ApiDestination.


[View source]
def validate! : Nil #

[View source]