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.DeleteFunctionUrlConfig
Description
Deletes a Lambda function URL. When you delete a function URL, you can't recover it. Creating a new function URL results in a different URL address.
Synopsis
- data DeleteFunctionUrlConfig = DeleteFunctionUrlConfig' {
- qualifier :: Maybe Text
- functionName :: Text
- newDeleteFunctionUrlConfig :: Text -> DeleteFunctionUrlConfig
- deleteFunctionUrlConfig_qualifier :: Lens' DeleteFunctionUrlConfig (Maybe Text)
- deleteFunctionUrlConfig_functionName :: Lens' DeleteFunctionUrlConfig Text
- data DeleteFunctionUrlConfigResponse = DeleteFunctionUrlConfigResponse' {
- newDeleteFunctionUrlConfigResponse :: DeleteFunctionUrlConfigResponse
Creating a Request
data DeleteFunctionUrlConfig Source #
See: newDeleteFunctionUrlConfig
smart constructor.
Constructors
DeleteFunctionUrlConfig' | |
Fields
|
Instances
newDeleteFunctionUrlConfig Source #
Arguments
:: Text | |
-> DeleteFunctionUrlConfig |
Create a value of DeleteFunctionUrlConfig
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:DeleteFunctionUrlConfig'
, deleteFunctionUrlConfig_qualifier
- The alias name.
DeleteFunctionUrlConfig
, deleteFunctionUrlConfig_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
deleteFunctionUrlConfig_qualifier :: Lens' DeleteFunctionUrlConfig (Maybe Text) Source #
The alias name.
deleteFunctionUrlConfig_functionName :: Lens' DeleteFunctionUrlConfig 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 DeleteFunctionUrlConfigResponse Source #
See: newDeleteFunctionUrlConfigResponse
smart constructor.
Constructors
DeleteFunctionUrlConfigResponse' | |
Instances
Generic DeleteFunctionUrlConfigResponse Source # | |
Defined in Amazonka.Lambda.DeleteFunctionUrlConfig Associated Types type Rep DeleteFunctionUrlConfigResponse :: Type -> Type # | |
Read DeleteFunctionUrlConfigResponse Source # | |
Show DeleteFunctionUrlConfigResponse Source # | |
Defined in Amazonka.Lambda.DeleteFunctionUrlConfig Methods showsPrec :: Int -> DeleteFunctionUrlConfigResponse -> ShowS # | |
NFData DeleteFunctionUrlConfigResponse Source # | |
Defined in Amazonka.Lambda.DeleteFunctionUrlConfig Methods rnf :: DeleteFunctionUrlConfigResponse -> () # | |
Eq DeleteFunctionUrlConfigResponse Source # | |
type Rep DeleteFunctionUrlConfigResponse Source # | |
Defined in Amazonka.Lambda.DeleteFunctionUrlConfig |
newDeleteFunctionUrlConfigResponse :: DeleteFunctionUrlConfigResponse Source #
Create a value of DeleteFunctionUrlConfigResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.