public class ListAliasesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
ListAliases operation
.
Returns list of aliases created for a Lambda function. For each alias, the response includes information such as the alias ARN, description, alias name, and the function version to which it points. For more information, see Introduction to AWS Lambda Aliases
This requires permission for the lambda:ListAliases action.
NOOP
Constructor and Description |
---|
ListAliasesRequest() |
Modifier and Type | Method and Description |
---|---|
ListAliasesRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getFunctionName()
Lambda function name for which the alias is created.
|
String |
getFunctionVersion()
If you specify this optional parameter, the API returns only the
aliases pointing to the specific Lambda function version, otherwise
returns all aliases created for the Lambda function.
|
String |
getMarker()
Optional string.
|
Integer |
getMaxItems()
Optional integer.
|
int |
hashCode() |
void |
setFunctionName(String functionName)
Lambda function name for which the alias is created.
|
void |
setFunctionVersion(String functionVersion)
If you specify this optional parameter, the API returns only the
aliases pointing to the specific Lambda function version, otherwise
returns all aliases created for the Lambda function.
|
void |
setMarker(String marker)
Optional string.
|
void |
setMaxItems(Integer maxItems)
Optional integer.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListAliasesRequest |
withFunctionName(String functionName)
Lambda function name for which the alias is created.
|
ListAliasesRequest |
withFunctionVersion(String functionVersion)
If you specify this optional parameter, the API returns only the
aliases pointing to the specific Lambda function version, otherwise
returns all aliases created for the Lambda function.
|
ListAliasesRequest |
withMarker(String marker)
Optional string.
|
ListAliasesRequest |
withMaxItems(Integer maxItems)
Optional integer.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public String getFunctionName()
Constraints:
Length: 1 - 140
Pattern: (arn:aws:lambda:)?([a-z]{2}-[a-z]+-\d{1}:)?(\d{12}:)?(function:)?([a-zA-Z0-9-_]+)(:(\$LATEST|[a-zA-Z0-9-_]+))?
public void setFunctionName(String functionName)
Constraints:
Length: 1 - 140
Pattern: (arn:aws:lambda:)?([a-z]{2}-[a-z]+-\d{1}:)?(\d{12}:)?(function:)?([a-zA-Z0-9-_]+)(:(\$LATEST|[a-zA-Z0-9-_]+))?
functionName
- Lambda function name for which the alias is created.public ListAliasesRequest withFunctionName(String functionName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 140
Pattern: (arn:aws:lambda:)?([a-z]{2}-[a-z]+-\d{1}:)?(\d{12}:)?(function:)?([a-zA-Z0-9-_]+)(:(\$LATEST|[a-zA-Z0-9-_]+))?
functionName
- Lambda function name for which the alias is created.public String getFunctionVersion()
Constraints:
Length: 1 - 1024
Pattern: (\$LATEST|[0-9]+)
public void setFunctionVersion(String functionVersion)
Constraints:
Length: 1 - 1024
Pattern: (\$LATEST|[0-9]+)
functionVersion
- If you specify this optional parameter, the API returns only the
aliases pointing to the specific Lambda function version, otherwise
returns all aliases created for the Lambda function.public ListAliasesRequest withFunctionVersion(String functionVersion)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1024
Pattern: (\$LATEST|[0-9]+)
functionVersion
- If you specify this optional parameter, the API returns only the
aliases pointing to the specific Lambda function version, otherwise
returns all aliases created for the Lambda function.public String getMarker()
public void setMarker(String marker)
marker
- Optional string. An opaque pagination token returned from a previous
ListAliases operation. If present, indicates where to continue the
listing.public ListAliasesRequest withMarker(String marker)
Returns a reference to this object so that method calls can be chained together.
marker
- Optional string. An opaque pagination token returned from a previous
ListAliases operation. If present, indicates where to continue the
listing.public Integer getMaxItems()
Constraints:
Range: 1 - 10000
public void setMaxItems(Integer maxItems)
Constraints:
Range: 1 - 10000
maxItems
- Optional integer. Specifies the maximum number of aliases to return in
response. This parameter value must be greater than 0.public ListAliasesRequest withMaxItems(Integer maxItems)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 - 10000
maxItems
- Optional integer. Specifies the maximum number of aliases to return in
response. This parameter value must be greater than 0.public String toString()
toString
in class Object
Object.toString()
public ListAliasesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.