Class AwsInvokeRequestDefinition
java.lang.Object
io.micronaut.function.client.aws.v2.AwsInvokeRequestDefinition
- All Implemented Interfaces:
io.micronaut.function.client.FunctionDefinition
@EachProperty("aws.lambda.functions")
public class AwsInvokeRequestDefinition
extends Object
implements io.micronaut.function.client.FunctionDefinition
Builds an
AwsInvokeRequestDefinition
for each definition under aws.lambda.functions
.- Since:
- 4.7.0
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription.getName()
void
setClientContext
(String clientContext) void
setFunctionName
(String functionName) void
setQualifier
(String qualifier) .Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.micronaut.function.client.FunctionDefinition
getURI
-
Field Details
-
AWS_LAMBDA_FUNCTIONS
Configuration prefix.- See Also:
-
-
Constructor Details
-
AwsInvokeRequestDefinition
Constructor.- Parameters:
name
- configured name from a property
-
-
Method Details
-
getName
- Specified by:
getName
in interfaceio.micronaut.function.client.FunctionDefinition
-
getFunctionName
- Returns:
- The name or ARN of the Lambda function, version, or alias.
-
setFunctionName
- Parameters:
functionName
- The name or ARN of the Lambda function, version, or alias.
-
getQualifier
- Returns:
- Specify a version or alias to invoke a published version of the function.
-
getClientContext
.- Returns:
- Up to 3,583 bytes of base64-encoded data about the invoking client to pass to the function in the context object.
-
setQualifier
.- Parameters:
qualifier
- Specify a version or alias to invoke a published version of the function.
-
setClientContext
- Parameters:
clientContext
- Up to 3,583 bytes of base64-encoded data about the invoking client to pass to the function in the context object.
-