public class ListEventSourceMappingsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
ListEventSourceMappings operation
.
Returns a list of event source mappings you created using the
CreateEventSourceMapping
(see CreateEventSourceMapping),
where you identify a stream as an event source. This list does not
include Amazon S3 event sources.
For each mapping, the API returns configuration information. You can optionally specify filters to retrieve specific event source mappings.
This operation requires permission for the
lambda:ListEventSourceMappings
action.
NOOP
Constructor and Description |
---|
ListEventSourceMappingsRequest() |
Modifier and Type | Method and Description |
---|---|
ListEventSourceMappingsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getEventSourceArn()
The Amazon Resource Name (ARN) of the Amazon Kinesis stream.
|
String |
getFunctionName()
The name of the Lambda function.
|
String |
getMarker()
Optional string.
|
Integer |
getMaxItems()
Optional integer.
|
int |
hashCode() |
void |
setEventSourceArn(String eventSourceArn)
The Amazon Resource Name (ARN) of the Amazon Kinesis stream.
|
void |
setFunctionName(String functionName)
The name of 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.
|
ListEventSourceMappingsRequest |
withEventSourceArn(String eventSourceArn)
The Amazon Resource Name (ARN) of the Amazon Kinesis stream.
|
ListEventSourceMappingsRequest |
withFunctionName(String functionName)
The name of the Lambda function.
|
ListEventSourceMappingsRequest |
withMarker(String marker)
Optional string.
|
ListEventSourceMappingsRequest |
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 getEventSourceArn()
Constraints:
Pattern: arn:aws:([a-zA-Z0-9\-])+:([a-z]{2}-[a-z]+-\d{1})?:(\d{12})?:(.*)
public void setEventSourceArn(String eventSourceArn)
Constraints:
Pattern: arn:aws:([a-zA-Z0-9\-])+:([a-z]{2}-[a-z]+-\d{1})?:(\d{12})?:(.*)
eventSourceArn
- The Amazon Resource Name (ARN) of the Amazon Kinesis stream.public ListEventSourceMappingsRequest withEventSourceArn(String eventSourceArn)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: arn:aws:([a-zA-Z0-9\-])+:([a-z]{2}-[a-z]+-\d{1})?:(\d{12})?:(.*)
eventSourceArn
- The Amazon Resource Name (ARN) of the Amazon Kinesis stream.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. 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 ListEventSourceMappingsRequest 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. 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 getMarker()
ListEventSourceMappings
operation. If present, specifies
to continue the list from where the returning call left off.ListEventSourceMappings
operation. If present, specifies
to continue the list from where the returning call left off.public void setMarker(String marker)
ListEventSourceMappings
operation. If present, specifies
to continue the list from where the returning call left off.marker
- Optional string. An opaque pagination token returned from a previous
ListEventSourceMappings
operation. If present, specifies
to continue the list from where the returning call left off.public ListEventSourceMappingsRequest withMarker(String marker)
ListEventSourceMappings
operation. If present, specifies
to continue the list from where the returning call left off.
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
ListEventSourceMappings
operation. If present, specifies
to continue the list from where the returning call left off.public Integer getMaxItems()
Constraints:
Range: 1 - 10000
public void setMaxItems(Integer maxItems)
Constraints:
Range: 1 - 10000
maxItems
- Optional integer. Specifies the maximum number of event sources to
return in response. This value must be greater than 0.public ListEventSourceMappingsRequest 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 event sources to
return in response. This value must be greater than 0.public String toString()
toString
in class Object
Object.toString()
public ListEventSourceMappingsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.