amazonka-lambda-2.0: Amazon Lambda SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Lambda.GetFunctionUrlConfig

Description

Returns details about a Lambda function URL.

Synopsis

Creating a Request

data GetFunctionUrlConfig Source #

See: newGetFunctionUrlConfig smart constructor.

Constructors

GetFunctionUrlConfig' 

Fields

  • qualifier :: Maybe Text

    The alias name.

  • functionName :: Text

    The name of the Lambda function.

    Name formats

    • Function namemy-function.
    • Function ARNarn:aws:lambda:us-west-2:123456789012:function:my-function.
    • Partial ARN123456789012:function:my-function.

    The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

Instances

Instances details
ToHeaders GetFunctionUrlConfig Source # 
Instance details

Defined in Amazonka.Lambda.GetFunctionUrlConfig

ToPath GetFunctionUrlConfig Source # 
Instance details

Defined in Amazonka.Lambda.GetFunctionUrlConfig

ToQuery GetFunctionUrlConfig Source # 
Instance details

Defined in Amazonka.Lambda.GetFunctionUrlConfig

AWSRequest GetFunctionUrlConfig Source # 
Instance details

Defined in Amazonka.Lambda.GetFunctionUrlConfig

Associated Types

type AWSResponse GetFunctionUrlConfig #

Generic GetFunctionUrlConfig Source # 
Instance details

Defined in Amazonka.Lambda.GetFunctionUrlConfig

Associated Types

type Rep GetFunctionUrlConfig :: Type -> Type #

Read GetFunctionUrlConfig Source # 
Instance details

Defined in Amazonka.Lambda.GetFunctionUrlConfig

Show GetFunctionUrlConfig Source # 
Instance details

Defined in Amazonka.Lambda.GetFunctionUrlConfig

NFData GetFunctionUrlConfig Source # 
Instance details

Defined in Amazonka.Lambda.GetFunctionUrlConfig

Methods

rnf :: GetFunctionUrlConfig -> () #

Eq GetFunctionUrlConfig Source # 
Instance details

Defined in Amazonka.Lambda.GetFunctionUrlConfig

Hashable GetFunctionUrlConfig Source # 
Instance details

Defined in Amazonka.Lambda.GetFunctionUrlConfig

type AWSResponse GetFunctionUrlConfig Source # 
Instance details

Defined in Amazonka.Lambda.GetFunctionUrlConfig

type Rep GetFunctionUrlConfig Source # 
Instance details

Defined in Amazonka.Lambda.GetFunctionUrlConfig

type Rep GetFunctionUrlConfig = D1 ('MetaData "GetFunctionUrlConfig" "Amazonka.Lambda.GetFunctionUrlConfig" "amazonka-lambda-2.0-FcjxCCKaCGK94C2lDO9alC" 'False) (C1 ('MetaCons "GetFunctionUrlConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "qualifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "functionName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGetFunctionUrlConfig Source #

Create a value of GetFunctionUrlConfig with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:qualifier:GetFunctionUrlConfig', getFunctionUrlConfig_qualifier - The alias name.

GetFunctionUrlConfig, getFunctionUrlConfig_functionName - The name of the Lambda function.

Name formats

  • Function namemy-function.
  • Function ARNarn:aws:lambda:us-west-2:123456789012:function:my-function.
  • Partial ARN123456789012:function:my-function.

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

Request Lenses

getFunctionUrlConfig_functionName :: Lens' GetFunctionUrlConfig Text Source #

The name of the Lambda function.

Name formats

  • Function namemy-function.
  • Function ARNarn:aws:lambda:us-west-2:123456789012:function:my-function.
  • Partial ARN123456789012:function:my-function.

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

Destructuring the Response

data GetFunctionUrlConfigResponse Source #

See: newGetFunctionUrlConfigResponse smart constructor.

Constructors

GetFunctionUrlConfigResponse' 

Fields

Instances

Instances details
Generic GetFunctionUrlConfigResponse Source # 
Instance details

Defined in Amazonka.Lambda.GetFunctionUrlConfig

Associated Types

type Rep GetFunctionUrlConfigResponse :: Type -> Type #

Read GetFunctionUrlConfigResponse Source # 
Instance details

Defined in Amazonka.Lambda.GetFunctionUrlConfig

Show GetFunctionUrlConfigResponse Source # 
Instance details

Defined in Amazonka.Lambda.GetFunctionUrlConfig

NFData GetFunctionUrlConfigResponse Source # 
Instance details

Defined in Amazonka.Lambda.GetFunctionUrlConfig

Eq GetFunctionUrlConfigResponse Source # 
Instance details

Defined in Amazonka.Lambda.GetFunctionUrlConfig

type Rep GetFunctionUrlConfigResponse Source # 
Instance details

Defined in Amazonka.Lambda.GetFunctionUrlConfig

type Rep GetFunctionUrlConfigResponse = D1 ('MetaData "GetFunctionUrlConfigResponse" "Amazonka.Lambda.GetFunctionUrlConfig" "amazonka-lambda-2.0-FcjxCCKaCGK94C2lDO9alC" 'False) (C1 ('MetaCons "GetFunctionUrlConfigResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "cors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Cors)) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "functionUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: ((S1 ('MetaSel ('Just "functionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "authType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 FunctionUrlAuthType)) :*: (S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "lastModifiedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newGetFunctionUrlConfigResponse Source #

Create a value of GetFunctionUrlConfigResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

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

$sel:httpStatus:GetFunctionUrlConfigResponse', getFunctionUrlConfigResponse_httpStatus - The response's http status code.

GetFunctionUrlConfigResponse, getFunctionUrlConfigResponse_functionUrl - The HTTP URL endpoint for your function.

GetFunctionUrlConfigResponse, getFunctionUrlConfigResponse_functionArn - The Amazon Resource Name (ARN) of your function.

GetFunctionUrlConfigResponse, getFunctionUrlConfigResponse_authType - The type of authentication that your function URL uses. Set to AWS_IAM if you want to restrict access to authenticated IAM users only. Set to NONE if you want to bypass IAM authentication to create a public endpoint. For more information, see Security and auth model for Lambda function URLs.

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

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

Response Lenses

getFunctionUrlConfigResponse_functionArn :: Lens' GetFunctionUrlConfigResponse Text Source #

The Amazon Resource Name (ARN) of your function.

getFunctionUrlConfigResponse_authType :: Lens' GetFunctionUrlConfigResponse FunctionUrlAuthType Source #

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

getFunctionUrlConfigResponse_creationTime :: Lens' GetFunctionUrlConfigResponse Text Source #

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

getFunctionUrlConfigResponse_lastModifiedTime :: Lens' GetFunctionUrlConfigResponse Text Source #

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