public class GetFunctionConfigurationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
GetFunctionConfiguration operation
.
Returns the configuration information of the Lambda function. This the same information you provided as parameters when uploading the function by using CreateFunction.
You can use the optional Qualifier
parameter to retrieve
configuration information for a specific Lambda function version. If
you don't provide it, the API returns information about the $LATEST
version of the function. For more information about versioning, see
AWS Lambda Function Versioning and Aliases
.
This operation requires permission for the
lambda:GetFunctionConfiguration
operation.
NOOP
Constructor and Description |
---|
GetFunctionConfigurationRequest() |
Modifier and Type | Method and Description |
---|---|
GetFunctionConfigurationRequest |
clone() |
boolean |
equals(Object obj) |
String |
getFunctionName()
The name of the Lambda function for which you want to retrieve the
configuration information.
|
String |
getQualifier()
Using this optional parameter you can specify function version or
alias name.
|
int |
hashCode() |
void |
setFunctionName(String functionName)
The name of the Lambda function for which you want to retrieve the
configuration information.
|
void |
setQualifier(String qualifier)
Using this optional parameter you can specify function version or
alias name.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetFunctionConfigurationRequest |
withFunctionName(String functionName)
The name of the Lambda function for which you want to retrieve the
configuration information.
|
GetFunctionConfigurationRequest |
withQualifier(String qualifier)
Using this optional parameter you can specify function version or
alias name.
|
copyBaseTo, 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()
You can specify an unqualified function name (for example, "Thumbnail") or you can specify Amazon Resource Name (ARN) of the function (for example, "arn:aws:lambda:us-west-2:account-id:function:ThumbNail"). AWS Lambda also allows you to specify only the account ID qualifier (for example, "account-id:Thumbnail"). Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 character in length.
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-_]+))?
You can specify an unqualified function name (for example, "Thumbnail") or you can specify Amazon Resource Name (ARN) of the function (for example, "arn:aws:lambda:us-west-2:account-id:function:ThumbNail"). AWS Lambda also allows you to specify only the account ID qualifier (for example, "account-id:Thumbnail"). Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 character in length.
public void setFunctionName(String functionName)
You can specify an unqualified function name (for example, "Thumbnail") or you can specify Amazon Resource Name (ARN) of the function (for example, "arn:aws:lambda:us-west-2:account-id:function:ThumbNail"). AWS Lambda also allows you to specify only the account ID qualifier (for example, "account-id:Thumbnail"). Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 character in length.
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
- The name of the Lambda function for which you want to retrieve the
configuration information. You can specify an unqualified function name (for example, "Thumbnail") or you can specify Amazon Resource Name (ARN) of the function (for example, "arn:aws:lambda:us-west-2:account-id:function:ThumbNail"). AWS Lambda also allows you to specify only the account ID qualifier (for example, "account-id:Thumbnail"). Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 character in length.
public GetFunctionConfigurationRequest withFunctionName(String functionName)
You can specify an unqualified function name (for example, "Thumbnail") or you can specify Amazon Resource Name (ARN) of the function (for example, "arn:aws:lambda:us-west-2:account-id:function:ThumbNail"). AWS Lambda also allows you to specify only the account ID qualifier (for example, "account-id:Thumbnail"). Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 character in length.
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
- The name of the Lambda function for which you want to retrieve the
configuration information. You can specify an unqualified function name (for example, "Thumbnail") or you can specify Amazon Resource Name (ARN) of the function (for example, "arn:aws:lambda:us-west-2:account-id:function:ThumbNail"). AWS Lambda also allows you to specify only the account ID qualifier (for example, "account-id:Thumbnail"). Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 character in length.
public String getQualifier()
If you don't specify this parameter, the API uses unqualified function ARN, and returns information about the $LATEST function version.
Constraints:
Length: 1 - 128
Pattern: (|[a-zA-Z0-9$_]+)
If you don't specify this parameter, the API uses unqualified function ARN, and returns information about the $LATEST function version.
public void setQualifier(String qualifier)
If you don't specify this parameter, the API uses unqualified function ARN, and returns information about the $LATEST function version.
Constraints:
Length: 1 - 128
Pattern: (|[a-zA-Z0-9$_]+)
qualifier
- Using this optional parameter you can specify function version or
alias name. If you specify function version, the API uses qualified
function ARN and returns information about the specific function
version. if you specify alias name, the API uses alias ARN and returns
information about the function version to which the alias points.
If you don't specify this parameter, the API uses unqualified function ARN, and returns information about the $LATEST function version.
public GetFunctionConfigurationRequest withQualifier(String qualifier)
If you don't specify this parameter, the API uses unqualified function ARN, and returns information about the $LATEST function version.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: (|[a-zA-Z0-9$_]+)
qualifier
- Using this optional parameter you can specify function version or
alias name. If you specify function version, the API uses qualified
function ARN and returns information about the specific function
version. if you specify alias name, the API uses alias ARN and returns
information about the function version to which the alias points.
If you don't specify this parameter, the API uses unqualified function ARN, and returns information about the $LATEST function version.
public String toString()
toString
in class Object
Object.toString()
public GetFunctionConfigurationRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2016. All rights reserved.