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 |
Returns a list of aliases for a Lambda function.
This operation returns paginated results.
Synopsis
- data ListAliases = ListAliases' {}
- newListAliases :: Text -> ListAliases
- listAliases_marker :: Lens' ListAliases (Maybe Text)
- listAliases_maxItems :: Lens' ListAliases (Maybe Natural)
- listAliases_functionVersion :: Lens' ListAliases (Maybe Text)
- listAliases_functionName :: Lens' ListAliases Text
- data ListAliasesResponse = ListAliasesResponse' {
- aliases :: Maybe [AliasConfiguration]
- nextMarker :: Maybe Text
- httpStatus :: Int
- newListAliasesResponse :: Int -> ListAliasesResponse
- listAliasesResponse_aliases :: Lens' ListAliasesResponse (Maybe [AliasConfiguration])
- listAliasesResponse_nextMarker :: Lens' ListAliasesResponse (Maybe Text)
- listAliasesResponse_httpStatus :: Lens' ListAliasesResponse Int
Creating a Request
data ListAliases Source #
See: newListAliases
smart constructor.
ListAliases' | |
|
Instances
Create a value of ListAliases
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:marker:ListAliases'
, listAliases_marker
- Specify the pagination token that's returned by a previous request to
retrieve the next page of results.
$sel:maxItems:ListAliases'
, listAliases_maxItems
- Limit the number of aliases returned.
$sel:functionVersion:ListAliases'
, listAliases_functionVersion
- Specify a function version to only list aliases that invoke that
version.
$sel:functionName:ListAliases'
, listAliases_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.
Request Lenses
listAliases_marker :: Lens' ListAliases (Maybe Text) Source #
Specify the pagination token that's returned by a previous request to retrieve the next page of results.
listAliases_maxItems :: Lens' ListAliases (Maybe Natural) Source #
Limit the number of aliases returned.
listAliases_functionVersion :: Lens' ListAliases (Maybe Text) Source #
Specify a function version to only list aliases that invoke that version.
listAliases_functionName :: Lens' ListAliases 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.
Destructuring the Response
data ListAliasesResponse Source #
See: newListAliasesResponse
smart constructor.
ListAliasesResponse' | |
|
Instances
newListAliasesResponse Source #
Create a value of ListAliasesResponse
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:aliases:ListAliasesResponse'
, listAliasesResponse_aliases
- A list of aliases.
$sel:nextMarker:ListAliasesResponse'
, listAliasesResponse_nextMarker
- The pagination token that's included if more results are available.
$sel:httpStatus:ListAliasesResponse'
, listAliasesResponse_httpStatus
- The response's http status code.
Response Lenses
listAliasesResponse_aliases :: Lens' ListAliasesResponse (Maybe [AliasConfiguration]) Source #
A list of aliases.
listAliasesResponse_nextMarker :: Lens' ListAliasesResponse (Maybe Text) Source #
The pagination token that's included if more results are available.
listAliasesResponse_httpStatus :: Lens' ListAliasesResponse Int Source #
The response's http status code.