Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Deletes a Lambda function alias.
Synopsis
Creating a Request
data DeleteAlias Source #
See: newDeleteAlias
smart constructor.
DeleteAlias' | |
|
Instances
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:
$sel:functionName: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.
$sel:name: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.
Instances
Eq DeleteAliasResponse Source # | |
Defined in Amazonka.Lambda.DeleteAlias (==) :: DeleteAliasResponse -> DeleteAliasResponse -> Bool # (/=) :: DeleteAliasResponse -> DeleteAliasResponse -> Bool # | |
Read DeleteAliasResponse Source # | |
Defined in Amazonka.Lambda.DeleteAlias | |
Show DeleteAliasResponse Source # | |
Defined in Amazonka.Lambda.DeleteAlias showsPrec :: Int -> DeleteAliasResponse -> ShowS # show :: DeleteAliasResponse -> String # showList :: [DeleteAliasResponse] -> ShowS # | |
Generic DeleteAliasResponse Source # | |
Defined in Amazonka.Lambda.DeleteAlias type Rep DeleteAliasResponse :: Type -> Type # from :: DeleteAliasResponse -> Rep DeleteAliasResponse x # to :: Rep DeleteAliasResponse x -> DeleteAliasResponse # | |
NFData DeleteAliasResponse Source # | |
Defined in Amazonka.Lambda.DeleteAlias rnf :: DeleteAliasResponse -> () # | |
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.