| 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.DeleteAlias
Description
Deletes a Lambda function alias.
Synopsis
Creating a Request
data DeleteAlias Source #
See: newDeleteAlias smart constructor.
Constructors
| DeleteAlias' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> DeleteAlias |
Create a value of DeleteAlias 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:
DeleteAlias, deleteAlias_functionName - The name of the Lambda function.
Name formats
- Function name -
MyFunction. - Function ARN -
arn:aws:lambda:us-west-2:123456789012:function:MyFunction. - Partial ARN -
123456789012:function:MyFunction.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
DeleteAlias, deleteAlias_name - The name of the alias.
Request Lenses
deleteAlias_functionName :: Lens' DeleteAlias Text Source #
The name of the Lambda function.
Name formats
- Function name -
MyFunction. - Function ARN -
arn:aws:lambda:us-west-2:123456789012:function:MyFunction. - Partial ARN -
123456789012:function:MyFunction.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
deleteAlias_name :: Lens' DeleteAlias Text Source #
The name of the alias.
Destructuring the Response
data DeleteAliasResponse Source #
See: newDeleteAliasResponse smart constructor.
Constructors
| DeleteAliasResponse' | |
Instances
| Generic DeleteAliasResponse Source # | |
Defined in Amazonka.Lambda.DeleteAlias Associated Types type Rep DeleteAliasResponse :: Type -> Type # Methods from :: DeleteAliasResponse -> Rep DeleteAliasResponse x # to :: Rep DeleteAliasResponse x -> DeleteAliasResponse # | |
| Read DeleteAliasResponse Source # | |
Defined in Amazonka.Lambda.DeleteAlias Methods readsPrec :: Int -> ReadS DeleteAliasResponse # readList :: ReadS [DeleteAliasResponse] # | |
| Show DeleteAliasResponse Source # | |
Defined in Amazonka.Lambda.DeleteAlias Methods showsPrec :: Int -> DeleteAliasResponse -> ShowS # show :: DeleteAliasResponse -> String # showList :: [DeleteAliasResponse] -> ShowS # | |
| NFData DeleteAliasResponse Source # | |
Defined in Amazonka.Lambda.DeleteAlias Methods rnf :: DeleteAliasResponse -> () # | |
| Eq DeleteAliasResponse Source # | |
Defined in Amazonka.Lambda.DeleteAlias Methods (==) :: DeleteAliasResponse -> DeleteAliasResponse -> Bool # (/=) :: DeleteAliasResponse -> DeleteAliasResponse -> Bool # | |
| type Rep DeleteAliasResponse Source # | |
newDeleteAliasResponse :: DeleteAliasResponse Source #
Create a value of DeleteAliasResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.