@Deprecated public class InvokeAsyncRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
InvokeAsync operation
.
IMPORTANT:This API is deprecated. We recommend you use Invoke API (see Invoke).
Submits an invocation request to AWS Lambda. Upon receiving the request, Lambda executes the specified function asynchronously. To see the logs generated by the Lambda function execution, see the CloudWatch logs console.
This operation requires permission for the
lambda:InvokeFunction
action.
NOOP
Constructor and Description |
---|
InvokeAsyncRequest()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
InvokeAsyncRequest |
clone()
Deprecated.
|
boolean |
equals(Object obj)
Deprecated.
|
String |
getFunctionName()
Deprecated.
The Lambda function name.
|
InputStream |
getInvokeArgs()
Deprecated.
JSON that you want to provide to your Lambda function as input.
|
int |
hashCode()
Deprecated.
|
void |
setFunctionName(String functionName)
Deprecated.
The Lambda function name.
|
void |
setInvokeArgs(InputStream invokeArgs)
Deprecated.
JSON that you want to provide to your Lambda function as input.
|
void |
setInvokeArgs(String invokeArgs)
Deprecated.
JSON that you want to provide to your Lambda function as input.
|
String |
toString()
Deprecated.
Returns a string representation of this object; useful for testing and
debugging.
|
InvokeAsyncRequest |
withFunctionName(String functionName)
Deprecated.
The Lambda function name.
|
InvokeAsyncRequest |
withInvokeArgs(InputStream invokeArgs)
Deprecated.
JSON that you want to provide to your Lambda function as input.
|
InvokeAsyncRequest |
withInvokeArgs(String invokeArgs)
Deprecated.
JSON that you want to provide to your Lambda function as input.
|
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()
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
- The Lambda function name.public InvokeAsyncRequest 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
- The Lambda function name.public InputStream getInvokeArgs()
public void setInvokeArgs(InputStream invokeArgs)
invokeArgs
- JSON that you want to provide to your Lambda function as input.public InvokeAsyncRequest withInvokeArgs(InputStream invokeArgs)
Returns a reference to this object so that method calls can be chained together.
invokeArgs
- JSON that you want to provide to your Lambda function as input.public void setInvokeArgs(String invokeArgs)
invokeArgs
- JSON that you want to provide to your Lambda function as input.public InvokeAsyncRequest withInvokeArgs(String invokeArgs)
Returns a reference to this object so that method calls can be chained together.
invokeArgs
- JSON that you want to provide to your Lambda function as input.public String toString()
toString
in class Object
Object.toString()
public InvokeAsyncRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2016. All rights reserved.