| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Lambda.GetFunctionUrlConfig
Description
Returns details about a Lambda function URL.
Synopsis
- data GetFunctionUrlConfig = GetFunctionUrlConfig' {
- qualifier :: Maybe Text
- functionName :: Text
- newGetFunctionUrlConfig :: Text -> GetFunctionUrlConfig
- getFunctionUrlConfig_qualifier :: Lens' GetFunctionUrlConfig (Maybe Text)
- getFunctionUrlConfig_functionName :: Lens' GetFunctionUrlConfig Text
- data GetFunctionUrlConfigResponse = GetFunctionUrlConfigResponse' {}
- newGetFunctionUrlConfigResponse :: Int -> Text -> Text -> FunctionUrlAuthType -> Text -> Text -> GetFunctionUrlConfigResponse
- getFunctionUrlConfigResponse_cors :: Lens' GetFunctionUrlConfigResponse (Maybe Cors)
- getFunctionUrlConfigResponse_httpStatus :: Lens' GetFunctionUrlConfigResponse Int
- getFunctionUrlConfigResponse_functionUrl :: Lens' GetFunctionUrlConfigResponse Text
- getFunctionUrlConfigResponse_functionArn :: Lens' GetFunctionUrlConfigResponse Text
- getFunctionUrlConfigResponse_authType :: Lens' GetFunctionUrlConfigResponse FunctionUrlAuthType
- getFunctionUrlConfigResponse_creationTime :: Lens' GetFunctionUrlConfigResponse Text
- getFunctionUrlConfigResponse_lastModifiedTime :: Lens' GetFunctionUrlConfigResponse Text
Creating a Request
data GetFunctionUrlConfig Source #
See: newGetFunctionUrlConfig smart constructor.
Constructors
| GetFunctionUrlConfig' | |
Fields
| |
Instances
newGetFunctionUrlConfig Source #
Arguments
| :: Text | |
| -> GetFunctionUrlConfig |
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 name –
my-function. - Function ARN –
arn:aws:lambda:us-west-2:123456789012:function:my-function. - Partial ARN –
123456789012: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_qualifier :: Lens' GetFunctionUrlConfig (Maybe Text) Source #
The alias name.
getFunctionUrlConfig_functionName :: Lens' GetFunctionUrlConfig Text Source #
The name of the Lambda function.
Name formats
- Function name –
my-function. - Function ARN –
arn:aws:lambda:us-west-2:123456789012:function:my-function. - Partial ARN –
123456789012: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
newGetFunctionUrlConfigResponse Source #
Arguments
| :: Int | |
| -> Text | |
| -> Text | |
| -> FunctionUrlAuthType | |
| -> Text | |
| -> Text | |
| -> GetFunctionUrlConfigResponse |
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_cors :: Lens' GetFunctionUrlConfigResponse (Maybe Cors) Source #
The cross-origin resource sharing (CORS) settings for your function URL.
getFunctionUrlConfigResponse_httpStatus :: Lens' GetFunctionUrlConfigResponse Int Source #
The response's http status code.
getFunctionUrlConfigResponse_functionUrl :: Lens' GetFunctionUrlConfigResponse Text Source #
The HTTP URL endpoint for your function.
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).