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.UpdateFunctionUrlConfig

Description

Updates the configuration for a Lambda function URL.

Synopsis

Creating a Request

data UpdateFunctionUrlConfig Source #

See: newUpdateFunctionUrlConfig smart constructor.

Constructors

UpdateFunctionUrlConfig' 

Fields

Instances

Instances details
ToJSON UpdateFunctionUrlConfig Source # 
Instance details

Defined in Amazonka.Lambda.UpdateFunctionUrlConfig

ToHeaders UpdateFunctionUrlConfig Source # 
Instance details

Defined in Amazonka.Lambda.UpdateFunctionUrlConfig

ToPath UpdateFunctionUrlConfig Source # 
Instance details

Defined in Amazonka.Lambda.UpdateFunctionUrlConfig

ToQuery UpdateFunctionUrlConfig Source # 
Instance details

Defined in Amazonka.Lambda.UpdateFunctionUrlConfig

AWSRequest UpdateFunctionUrlConfig Source # 
Instance details

Defined in Amazonka.Lambda.UpdateFunctionUrlConfig

Generic UpdateFunctionUrlConfig Source # 
Instance details

Defined in Amazonka.Lambda.UpdateFunctionUrlConfig

Associated Types

type Rep UpdateFunctionUrlConfig :: Type -> Type #

Read UpdateFunctionUrlConfig Source # 
Instance details

Defined in Amazonka.Lambda.UpdateFunctionUrlConfig

Show UpdateFunctionUrlConfig Source # 
Instance details

Defined in Amazonka.Lambda.UpdateFunctionUrlConfig

NFData UpdateFunctionUrlConfig Source # 
Instance details

Defined in Amazonka.Lambda.UpdateFunctionUrlConfig

Methods

rnf :: UpdateFunctionUrlConfig -> () #

Eq UpdateFunctionUrlConfig Source # 
Instance details

Defined in Amazonka.Lambda.UpdateFunctionUrlConfig

Hashable UpdateFunctionUrlConfig Source # 
Instance details

Defined in Amazonka.Lambda.UpdateFunctionUrlConfig

type AWSResponse UpdateFunctionUrlConfig Source # 
Instance details

Defined in Amazonka.Lambda.UpdateFunctionUrlConfig

type Rep UpdateFunctionUrlConfig Source # 
Instance details

Defined in Amazonka.Lambda.UpdateFunctionUrlConfig

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

newUpdateFunctionUrlConfig Source #

Create a value of UpdateFunctionUrlConfig 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:

UpdateFunctionUrlConfig, updateFunctionUrlConfig_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.

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

$sel:qualifier:UpdateFunctionUrlConfig', updateFunctionUrlConfig_qualifier - The alias name.

UpdateFunctionUrlConfig, updateFunctionUrlConfig_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

updateFunctionUrlConfig_authType :: Lens' UpdateFunctionUrlConfig (Maybe 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.

updateFunctionUrlConfig_functionName :: Lens' UpdateFunctionUrlConfig 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 UpdateFunctionUrlConfigResponse Source #

See: newUpdateFunctionUrlConfigResponse smart constructor.

Constructors

UpdateFunctionUrlConfigResponse' 

Fields

Instances

Instances details
Generic UpdateFunctionUrlConfigResponse Source # 
Instance details

Defined in Amazonka.Lambda.UpdateFunctionUrlConfig

Associated Types

type Rep UpdateFunctionUrlConfigResponse :: Type -> Type #

Read UpdateFunctionUrlConfigResponse Source # 
Instance details

Defined in Amazonka.Lambda.UpdateFunctionUrlConfig

Show UpdateFunctionUrlConfigResponse Source # 
Instance details

Defined in Amazonka.Lambda.UpdateFunctionUrlConfig

NFData UpdateFunctionUrlConfigResponse Source # 
Instance details

Defined in Amazonka.Lambda.UpdateFunctionUrlConfig

Eq UpdateFunctionUrlConfigResponse Source # 
Instance details

Defined in Amazonka.Lambda.UpdateFunctionUrlConfig

type Rep UpdateFunctionUrlConfigResponse Source # 
Instance details

Defined in Amazonka.Lambda.UpdateFunctionUrlConfig

type Rep UpdateFunctionUrlConfigResponse = D1 ('MetaData "UpdateFunctionUrlConfigResponse" "Amazonka.Lambda.UpdateFunctionUrlConfig" "amazonka-lambda-2.0-FcjxCCKaCGK94C2lDO9alC" 'False) (C1 ('MetaCons "UpdateFunctionUrlConfigResponse'" '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)))))

newUpdateFunctionUrlConfigResponse Source #

Create a value of UpdateFunctionUrlConfigResponse 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:

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

$sel:httpStatus:UpdateFunctionUrlConfigResponse', updateFunctionUrlConfigResponse_httpStatus - The response's http status code.

UpdateFunctionUrlConfigResponse, updateFunctionUrlConfigResponse_functionUrl - The HTTP URL endpoint for your function.

UpdateFunctionUrlConfigResponse, updateFunctionUrlConfigResponse_functionArn - The Amazon Resource Name (ARN) of your function.

UpdateFunctionUrlConfig, updateFunctionUrlConfigResponse_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.

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

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

Response Lenses

updateFunctionUrlConfigResponse_authType :: Lens' UpdateFunctionUrlConfigResponse 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.

updateFunctionUrlConfigResponse_creationTime :: Lens' UpdateFunctionUrlConfigResponse Text Source #

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

updateFunctionUrlConfigResponse_lastModifiedTime :: Lens' UpdateFunctionUrlConfigResponse Text Source #

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