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.
If you are using the versioning feature, you can retrieve this
information for a specific function version by using the optional
Qualifier
parameter and specifying the function version
or alias that points to it. 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()
Creates a shallow clone of this request.
|
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 a function version or an
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 a function version or an
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 a function version or an
alias name.
|
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 a 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 a partial ARN (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 a 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 a partial ARN (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 a 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 a partial ARN (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 a 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 a partial ARN (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 a 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 a partial ARN (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 a 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 a partial ARN (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 a function version or an
alias name. If you specify function version, the API uses qualified
function ARN and returns information about the specific function
version. If you specify an alias name, the API uses the 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 a function version or an
alias name. If you specify function version, the API uses qualified
function ARN and returns information about the specific function
version. If you specify an alias name, the API uses the 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()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.