class Amazonite::Lambda::UpdateFunctionUrlConfigResponse

Included Modules

Defined in:

lambda/update_function_url_config_response.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(function_url : String, function_arn : String, auth_type : FunctionUrlAuthType, creation_time : String, last_modified_time : String, cors : Cors | Nil = nil, invoke_mode : InvokeMode | Nil = nil) #

[View source]
def self.new(pull : JSON::PullParser) #

[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 auth_type : FunctionUrlAuthType #

The type of authentication that your function URL uses. Set to AWS_IAM if you want to restrict access to authenticated users only. Set to NONE if you want to bypass IAM authentication to create a public endpoint. For more information, see Control access to Lambda function URLs.


[View source]
def auth_type=(auth_type : FunctionUrlAuthType) #

The type of authentication that your function URL uses. Set to AWS_IAM if you want to restrict access to authenticated users only. Set to NONE if you want to bypass IAM authentication to create a public endpoint. For more information, see Control access to Lambda function URLs.


[View source]
def cors : Cors | Nil #

The cross-origin resource sharing (CORS) settings for your function URL.


[View source]
def cors=(cors : Cors | Nil) #

The cross-origin resource sharing (CORS) settings for your function URL.


[View source]
def creation_time : String #

When the function URL was created, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).


[View source]
def creation_time=(creation_time : String) #

When the function URL was created, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).


[View source]
def function_arn : String #

The Amazon Resource Name (ARN) of your function.


[View source]
def function_arn=(function_arn : String) #

The Amazon Resource Name (ARN) of your function.


[View source]
def function_url : String #

The HTTP URL endpoint for your function.


[View source]
def function_url=(function_url : String) #

The HTTP URL endpoint for your function.


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def invoke_mode : InvokeMode | Nil #

Use one of the following options:

  • BUFFERED – This is the default option. Lambda invokes your function using the Invoke API operation. Invocation results are available when the payload is complete. The maximum payload size is 6 MB.

  • RESPONSE_STREAM – Your function streams payload results as they become available. Lambda invokes your function using the InvokeWithResponseStream API operation. The maximum response payload size is 200 MB.


[View source]
def invoke_mode=(invoke_mode : InvokeMode | Nil) #

Use one of the following options:

  • BUFFERED – This is the default option. Lambda invokes your function using the Invoke API operation. Invocation results are available when the payload is complete. The maximum payload size is 6 MB.

  • RESPONSE_STREAM – Your function streams payload results as they become available. Lambda invokes your function using the InvokeWithResponseStream API operation. The maximum response payload size is 200 MB.


[View source]
def last_modified_time : String #

When the function URL configuration was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).


[View source]
def last_modified_time=(last_modified_time : String) #

When the function URL configuration was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).


[View source]
def validate! : Nil #

[View source]