AWS SDK for C++  1.8.54
AWS SDK for C++
Public Member Functions | List of all members
Aws::Lambda::Model::CreateEventSourceMappingRequest Class Reference

#include <CreateEventSourceMappingRequest.h>

+ Inheritance diagram for Aws::Lambda::Model::CreateEventSourceMappingRequest:

Public Member Functions

 CreateEventSourceMappingRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
const Aws::StringGetEventSourceArn () const
 
bool EventSourceArnHasBeenSet () const
 
void SetEventSourceArn (const Aws::String &value)
 
void SetEventSourceArn (Aws::String &&value)
 
void SetEventSourceArn (const char *value)
 
CreateEventSourceMappingRequestWithEventSourceArn (const Aws::String &value)
 
CreateEventSourceMappingRequestWithEventSourceArn (Aws::String &&value)
 
CreateEventSourceMappingRequestWithEventSourceArn (const char *value)
 
const Aws::StringGetFunctionName () const
 
bool FunctionNameHasBeenSet () const
 
void SetFunctionName (const Aws::String &value)
 
void SetFunctionName (Aws::String &&value)
 
void SetFunctionName (const char *value)
 
CreateEventSourceMappingRequestWithFunctionName (const Aws::String &value)
 
CreateEventSourceMappingRequestWithFunctionName (Aws::String &&value)
 
CreateEventSourceMappingRequestWithFunctionName (const char *value)
 
bool GetEnabled () const
 
bool EnabledHasBeenSet () const
 
void SetEnabled (bool value)
 
CreateEventSourceMappingRequestWithEnabled (bool value)
 
int GetBatchSize () const
 
bool BatchSizeHasBeenSet () const
 
void SetBatchSize (int value)
 
CreateEventSourceMappingRequestWithBatchSize (int value)
 
int GetMaximumBatchingWindowInSeconds () const
 
bool MaximumBatchingWindowInSecondsHasBeenSet () const
 
void SetMaximumBatchingWindowInSeconds (int value)
 
CreateEventSourceMappingRequestWithMaximumBatchingWindowInSeconds (int value)
 
int GetParallelizationFactor () const
 
bool ParallelizationFactorHasBeenSet () const
 
void SetParallelizationFactor (int value)
 
CreateEventSourceMappingRequestWithParallelizationFactor (int value)
 
const EventSourcePositionGetStartingPosition () const
 
bool StartingPositionHasBeenSet () const
 
void SetStartingPosition (const EventSourcePosition &value)
 
void SetStartingPosition (EventSourcePosition &&value)
 
CreateEventSourceMappingRequestWithStartingPosition (const EventSourcePosition &value)
 
CreateEventSourceMappingRequestWithStartingPosition (EventSourcePosition &&value)
 
const Aws::Utils::DateTimeGetStartingPositionTimestamp () const
 
bool StartingPositionTimestampHasBeenSet () const
 
void SetStartingPositionTimestamp (const Aws::Utils::DateTime &value)
 
void SetStartingPositionTimestamp (Aws::Utils::DateTime &&value)
 
CreateEventSourceMappingRequestWithStartingPositionTimestamp (const Aws::Utils::DateTime &value)
 
CreateEventSourceMappingRequestWithStartingPositionTimestamp (Aws::Utils::DateTime &&value)
 
const DestinationConfigGetDestinationConfig () const
 
bool DestinationConfigHasBeenSet () const
 
void SetDestinationConfig (const DestinationConfig &value)
 
void SetDestinationConfig (DestinationConfig &&value)
 
CreateEventSourceMappingRequestWithDestinationConfig (const DestinationConfig &value)
 
CreateEventSourceMappingRequestWithDestinationConfig (DestinationConfig &&value)
 
int GetMaximumRecordAgeInSeconds () const
 
bool MaximumRecordAgeInSecondsHasBeenSet () const
 
void SetMaximumRecordAgeInSeconds (int value)
 
CreateEventSourceMappingRequestWithMaximumRecordAgeInSeconds (int value)
 
bool GetBisectBatchOnFunctionError () const
 
bool BisectBatchOnFunctionErrorHasBeenSet () const
 
void SetBisectBatchOnFunctionError (bool value)
 
CreateEventSourceMappingRequestWithBisectBatchOnFunctionError (bool value)
 
int GetMaximumRetryAttempts () const
 
bool MaximumRetryAttemptsHasBeenSet () const
 
void SetMaximumRetryAttempts (int value)
 
CreateEventSourceMappingRequestWithMaximumRetryAttempts (int value)
 
const Aws::Vector< Aws::String > & GetTopics () const
 
bool TopicsHasBeenSet () const
 
void SetTopics (const Aws::Vector< Aws::String > &value)
 
void SetTopics (Aws::Vector< Aws::String > &&value)
 
CreateEventSourceMappingRequestWithTopics (const Aws::Vector< Aws::String > &value)
 
CreateEventSourceMappingRequestWithTopics (Aws::Vector< Aws::String > &&value)
 
CreateEventSourceMappingRequestAddTopics (const Aws::String &value)
 
CreateEventSourceMappingRequestAddTopics (Aws::String &&value)
 
CreateEventSourceMappingRequestAddTopics (const char *value)
 
- Public Member Functions inherited from Aws::Lambda::LambdaRequest
virtual ~LambdaRequest ()
 
void AddParametersToRequest (Aws::Http::HttpRequest &httpRequest) const
 
Aws::Http::HeaderValueCollection GetHeaders () const override
 
- Public Member Functions inherited from Aws::AmazonSerializableWebServiceRequest
 AmazonSerializableWebServiceRequest ()
 
virtual ~AmazonSerializableWebServiceRequest ()
 
std::shared_ptr< Aws::IOStreamGetBody () const override
 
- Public Member Functions inherited from Aws::AmazonWebServiceRequest
 AmazonWebServiceRequest ()
 
virtual ~AmazonWebServiceRequest ()=default
 
virtual void AddQueryStringParameters (Aws::Http::URI &uri) const
 
virtual void PutToPresignedUrl (Aws::Http::URI &uri) const
 
virtual bool IsStreaming () const
 
virtual bool IsEventStreamRequest () const
 
virtual bool SignBody () const
 
virtual bool IsChunked () const
 
virtual void SetRequestSignedHandler (const RequestSignedHandler &handler)
 
virtual const RequestSignedHandlerGetRequestSignedHandler () const
 
const Aws::IOStreamFactoryGetResponseStreamFactory () const
 
void SetResponseStreamFactory (const Aws::IOStreamFactory &factory)
 
virtual void SetDataReceivedEventHandler (const Aws::Http::DataReceivedEventHandler &dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (const Aws::Http::DataSentEventHandler &dataSentEventHandler)
 
virtual void SetContinueRequestHandler (const Aws::Http::ContinueRequestHandler &continueRequestHandler)
 
virtual void SetDataReceivedEventHandler (Aws::Http::DataReceivedEventHandler &&dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (Aws::Http::DataSentEventHandler &&dataSentEventHandler)
 
virtual void SetContinueRequestHandler (Aws::Http::ContinueRequestHandler &&continueRequestHandler)
 
virtual void SetRequestRetryHandler (const RequestRetryHandler &handler)
 
virtual void SetRequestRetryHandler (RequestRetryHandler &&handler)
 
virtual const Aws::Http::DataReceivedEventHandlerGetDataReceivedEventHandler () const
 
virtual const Aws::Http::DataSentEventHandlerGetDataSentEventHandler () const
 
virtual const Aws::Http::ContinueRequestHandlerGetContinueRequestHandler () const
 
virtual const RequestRetryHandlerGetRequestRetryHandler () const
 
virtual bool ShouldComputeContentMd5 () const
 

Additional Inherited Members

- Protected Member Functions inherited from Aws::Lambda::LambdaRequest
virtual Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const
 
- Protected Member Functions inherited from Aws::AmazonWebServiceRequest
virtual void DumpBodyToUrl (Aws::Http::URI &uri) const
 

Detailed Description

Definition at line 25 of file CreateEventSourceMappingRequest.h.

Constructor & Destructor Documentation

◆ CreateEventSourceMappingRequest()

Aws::Lambda::Model::CreateEventSourceMappingRequest::CreateEventSourceMappingRequest ( )

Member Function Documentation

◆ AddTopics() [1/3]

CreateEventSourceMappingRequest& Aws::Lambda::Model::CreateEventSourceMappingRequest::AddTopics ( const Aws::String value)
inline

(MSK) The name of the Kafka topic.

Definition at line 574 of file CreateEventSourceMappingRequest.h.

◆ AddTopics() [2/3]

CreateEventSourceMappingRequest& Aws::Lambda::Model::CreateEventSourceMappingRequest::AddTopics ( Aws::String &&  value)
inline

(MSK) The name of the Kafka topic.

Definition at line 579 of file CreateEventSourceMappingRequest.h.

◆ AddTopics() [3/3]

CreateEventSourceMappingRequest& Aws::Lambda::Model::CreateEventSourceMappingRequest::AddTopics ( const char *  value)
inline

(MSK) The name of the Kafka topic.

Definition at line 584 of file CreateEventSourceMappingRequest.h.

◆ BatchSizeHasBeenSet()

bool Aws::Lambda::Model::CreateEventSourceMappingRequest::BatchSizeHasBeenSet ( ) const
inline

The maximum number of items to retrieve in a single batch.

  • Amazon Kinesis - Default 100. Max 10,000.

  • Amazon DynamoDB Streams - Default 100. Max 1,000.

  • Amazon Simple Queue Service - Default 10. Max 10.

  • Amazon Managed Streaming for Apache Kafka - Default 100. Max 10,000.

Definition at line 276 of file CreateEventSourceMappingRequest.h.

◆ BisectBatchOnFunctionErrorHasBeenSet()

bool Aws::Lambda::Model::CreateEventSourceMappingRequest::BisectBatchOnFunctionErrorHasBeenSet ( ) const
inline

(Streams) If the function returns an error, split the batch in two and retry.

Definition at line 497 of file CreateEventSourceMappingRequest.h.

◆ DestinationConfigHasBeenSet()

bool Aws::Lambda::Model::CreateEventSourceMappingRequest::DestinationConfigHasBeenSet ( ) const
inline

(Streams) An Amazon SQS queue or Amazon SNS topic destination for discarded records.

Definition at line 435 of file CreateEventSourceMappingRequest.h.

◆ EnabledHasBeenSet()

bool Aws::Lambda::Model::CreateEventSourceMappingRequest::EnabledHasBeenSet ( ) const
inline

If true, the event source mapping is active. Set to false to pause polling and invocation.

Definition at line 243 of file CreateEventSourceMappingRequest.h.

◆ EventSourceArnHasBeenSet()

bool Aws::Lambda::Model::CreateEventSourceMappingRequest::EventSourceArnHasBeenSet ( ) const
inline

The Amazon Resource Name (ARN) of the event source.

  • Amazon Kinesis - The ARN of the data stream or a stream consumer.

  • Amazon DynamoDB Streams - The ARN of the stream.

  • Amazon Simple Queue Service - The ARN of the queue.

  • Amazon Managed Streaming for Apache Kafka - The ARN of the cluster.

Definition at line 57 of file CreateEventSourceMappingRequest.h.

◆ FunctionNameHasBeenSet()

bool Aws::Lambda::Model::CreateEventSourceMappingRequest::FunctionNameHasBeenSet ( ) const
inline

The name of the Lambda function.

Name formats

  • Function name - MyFunction.

  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction.

  • Version or Alias ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD.

  • Partial ARN - 123456789012:function:MyFunction.

The length constraint applies only to the full ARN. If you specify only the function name, it's limited to 64 characters in length.

Definition at line 146 of file CreateEventSourceMappingRequest.h.

◆ GetBatchSize()

int Aws::Lambda::Model::CreateEventSourceMappingRequest::GetBatchSize ( ) const
inline

The maximum number of items to retrieve in a single batch.

  • Amazon Kinesis - Default 100. Max 10,000.

  • Amazon DynamoDB Streams - Default 100. Max 1,000.

  • Amazon Simple Queue Service - Default 10. Max 10.

  • Amazon Managed Streaming for Apache Kafka - Default 100. Max 10,000.

Definition at line 266 of file CreateEventSourceMappingRequest.h.

◆ GetBisectBatchOnFunctionError()

bool Aws::Lambda::Model::CreateEventSourceMappingRequest::GetBisectBatchOnFunctionError ( ) const
inline

(Streams) If the function returns an error, split the batch in two and retry.

Definition at line 491 of file CreateEventSourceMappingRequest.h.

◆ GetDestinationConfig()

const DestinationConfig& Aws::Lambda::Model::CreateEventSourceMappingRequest::GetDestinationConfig ( ) const
inline

(Streams) An Amazon SQS queue or Amazon SNS topic destination for discarded records.

Definition at line 429 of file CreateEventSourceMappingRequest.h.

◆ GetEnabled()

bool Aws::Lambda::Model::CreateEventSourceMappingRequest::GetEnabled ( ) const
inline

If true, the event source mapping is active. Set to false to pause polling and invocation.

Definition at line 237 of file CreateEventSourceMappingRequest.h.

◆ GetEventSourceArn()

const Aws::String& Aws::Lambda::Model::CreateEventSourceMappingRequest::GetEventSourceArn ( ) const
inline

The Amazon Resource Name (ARN) of the event source.

  • Amazon Kinesis - The ARN of the data stream or a stream consumer.

  • Amazon DynamoDB Streams - The ARN of the stream.

  • Amazon Simple Queue Service - The ARN of the queue.

  • Amazon Managed Streaming for Apache Kafka - The ARN of the cluster.

Definition at line 47 of file CreateEventSourceMappingRequest.h.

◆ GetFunctionName()

const Aws::String& Aws::Lambda::Model::CreateEventSourceMappingRequest::GetFunctionName ( ) const
inline

The name of the Lambda function.

Name formats

  • Function name - MyFunction.

  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction.

  • Version or Alias ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD.

  • Partial ARN - 123456789012:function:MyFunction.

The length constraint applies only to the full ARN. If you specify only the function name, it's limited to 64 characters in length.

Definition at line 132 of file CreateEventSourceMappingRequest.h.

◆ GetMaximumBatchingWindowInSeconds()

int Aws::Lambda::Model::CreateEventSourceMappingRequest::GetMaximumBatchingWindowInSeconds ( ) const
inline

(Streams) The maximum amount of time to gather records before invoking the function, in seconds.

Definition at line 303 of file CreateEventSourceMappingRequest.h.

◆ GetMaximumRecordAgeInSeconds()

int Aws::Lambda::Model::CreateEventSourceMappingRequest::GetMaximumRecordAgeInSeconds ( ) const
inline

(Streams) Discard records older than the specified age. The default value is infinite (-1).

Definition at line 466 of file CreateEventSourceMappingRequest.h.

◆ GetMaximumRetryAttempts()

int Aws::Lambda::Model::CreateEventSourceMappingRequest::GetMaximumRetryAttempts ( ) const
inline

(Streams) Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records will be retried until the record expires.

Definition at line 517 of file CreateEventSourceMappingRequest.h.

◆ GetParallelizationFactor()

int Aws::Lambda::Model::CreateEventSourceMappingRequest::GetParallelizationFactor ( ) const
inline

(Streams) The number of batches to process from each shard concurrently.

Definition at line 327 of file CreateEventSourceMappingRequest.h.

◆ GetServiceRequestName()

virtual const char* Aws::Lambda::Model::CreateEventSourceMappingRequest::GetServiceRequestName ( ) const
inlineoverridevirtual

Implements Aws::AmazonWebServiceRequest.

Definition at line 34 of file CreateEventSourceMappingRequest.h.

◆ GetStartingPosition()

const EventSourcePosition& Aws::Lambda::Model::CreateEventSourceMappingRequest::GetStartingPosition ( ) const
inline

The position in a stream from which to start reading. Required for Amazon Kinesis, Amazon DynamoDB, and Amazon MSK Streams sources. AT_TIMESTAMP is only supported for Amazon Kinesis streams.

Definition at line 350 of file CreateEventSourceMappingRequest.h.

◆ GetStartingPositionTimestamp()

const Aws::Utils::DateTime& Aws::Lambda::Model::CreateEventSourceMappingRequest::GetStartingPositionTimestamp ( ) const
inline

With StartingPosition set to AT_TIMESTAMP, the time from which to start reading.

Definition at line 392 of file CreateEventSourceMappingRequest.h.

◆ GetTopics()

const Aws::Vector<Aws::String>& Aws::Lambda::Model::CreateEventSourceMappingRequest::GetTopics ( ) const
inline

(MSK) The name of the Kafka topic.

Definition at line 544 of file CreateEventSourceMappingRequest.h.

◆ MaximumBatchingWindowInSecondsHasBeenSet()

bool Aws::Lambda::Model::CreateEventSourceMappingRequest::MaximumBatchingWindowInSecondsHasBeenSet ( ) const
inline

(Streams) The maximum amount of time to gather records before invoking the function, in seconds.

Definition at line 309 of file CreateEventSourceMappingRequest.h.

◆ MaximumRecordAgeInSecondsHasBeenSet()

bool Aws::Lambda::Model::CreateEventSourceMappingRequest::MaximumRecordAgeInSecondsHasBeenSet ( ) const
inline

(Streams) Discard records older than the specified age. The default value is infinite (-1).

Definition at line 472 of file CreateEventSourceMappingRequest.h.

◆ MaximumRetryAttemptsHasBeenSet()

bool Aws::Lambda::Model::CreateEventSourceMappingRequest::MaximumRetryAttemptsHasBeenSet ( ) const
inline

(Streams) Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records will be retried until the record expires.

Definition at line 524 of file CreateEventSourceMappingRequest.h.

◆ ParallelizationFactorHasBeenSet()

bool Aws::Lambda::Model::CreateEventSourceMappingRequest::ParallelizationFactorHasBeenSet ( ) const
inline

(Streams) The number of batches to process from each shard concurrently.

Definition at line 332 of file CreateEventSourceMappingRequest.h.

◆ SerializePayload()

Aws::String Aws::Lambda::Model::CreateEventSourceMappingRequest::SerializePayload ( ) const
overridevirtual

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetBatchSize()

void Aws::Lambda::Model::CreateEventSourceMappingRequest::SetBatchSize ( int  value)
inline

The maximum number of items to retrieve in a single batch.

  • Amazon Kinesis - Default 100. Max 10,000.

  • Amazon DynamoDB Streams - Default 100. Max 1,000.

  • Amazon Simple Queue Service - Default 10. Max 10.

  • Amazon Managed Streaming for Apache Kafka - Default 100. Max 10,000.

Definition at line 286 of file CreateEventSourceMappingRequest.h.

◆ SetBisectBatchOnFunctionError()

void Aws::Lambda::Model::CreateEventSourceMappingRequest::SetBisectBatchOnFunctionError ( bool  value)
inline

(Streams) If the function returns an error, split the batch in two and retry.

Definition at line 503 of file CreateEventSourceMappingRequest.h.

◆ SetDestinationConfig() [1/2]

void Aws::Lambda::Model::CreateEventSourceMappingRequest::SetDestinationConfig ( const DestinationConfig value)
inline

(Streams) An Amazon SQS queue or Amazon SNS topic destination for discarded records.

Definition at line 441 of file CreateEventSourceMappingRequest.h.

◆ SetDestinationConfig() [2/2]

void Aws::Lambda::Model::CreateEventSourceMappingRequest::SetDestinationConfig ( DestinationConfig &&  value)
inline

(Streams) An Amazon SQS queue or Amazon SNS topic destination for discarded records.

Definition at line 447 of file CreateEventSourceMappingRequest.h.

◆ SetEnabled()

void Aws::Lambda::Model::CreateEventSourceMappingRequest::SetEnabled ( bool  value)
inline

If true, the event source mapping is active. Set to false to pause polling and invocation.

Definition at line 249 of file CreateEventSourceMappingRequest.h.

◆ SetEventSourceArn() [1/3]

void Aws::Lambda::Model::CreateEventSourceMappingRequest::SetEventSourceArn ( const Aws::String value)
inline

The Amazon Resource Name (ARN) of the event source.

  • Amazon Kinesis - The ARN of the data stream or a stream consumer.

  • Amazon DynamoDB Streams - The ARN of the stream.

  • Amazon Simple Queue Service - The ARN of the queue.

  • Amazon Managed Streaming for Apache Kafka - The ARN of the cluster.

Definition at line 67 of file CreateEventSourceMappingRequest.h.

◆ SetEventSourceArn() [2/3]

void Aws::Lambda::Model::CreateEventSourceMappingRequest::SetEventSourceArn ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) of the event source.

  • Amazon Kinesis - The ARN of the data stream or a stream consumer.

  • Amazon DynamoDB Streams - The ARN of the stream.

  • Amazon Simple Queue Service - The ARN of the queue.

  • Amazon Managed Streaming for Apache Kafka - The ARN of the cluster.

Definition at line 77 of file CreateEventSourceMappingRequest.h.

◆ SetEventSourceArn() [3/3]

void Aws::Lambda::Model::CreateEventSourceMappingRequest::SetEventSourceArn ( const char *  value)
inline

The Amazon Resource Name (ARN) of the event source.

  • Amazon Kinesis - The ARN of the data stream or a stream consumer.

  • Amazon DynamoDB Streams - The ARN of the stream.

  • Amazon Simple Queue Service - The ARN of the queue.

  • Amazon Managed Streaming for Apache Kafka - The ARN of the cluster.

Definition at line 87 of file CreateEventSourceMappingRequest.h.

◆ SetFunctionName() [1/3]

void Aws::Lambda::Model::CreateEventSourceMappingRequest::SetFunctionName ( const Aws::String value)
inline

The name of the Lambda function.

Name formats

  • Function name - MyFunction.

  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction.

  • Version or Alias ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD.

  • Partial ARN - 123456789012:function:MyFunction.

The length constraint applies only to the full ARN. If you specify only the function name, it's limited to 64 characters in length.

Definition at line 160 of file CreateEventSourceMappingRequest.h.

◆ SetFunctionName() [2/3]

void Aws::Lambda::Model::CreateEventSourceMappingRequest::SetFunctionName ( Aws::String &&  value)
inline

The name of the Lambda function.

Name formats

  • Function name - MyFunction.

  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction.

  • Version or Alias ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD.

  • Partial ARN - 123456789012:function:MyFunction.

The length constraint applies only to the full ARN. If you specify only the function name, it's limited to 64 characters in length.

Definition at line 174 of file CreateEventSourceMappingRequest.h.

◆ SetFunctionName() [3/3]

void Aws::Lambda::Model::CreateEventSourceMappingRequest::SetFunctionName ( const char *  value)
inline

The name of the Lambda function.

Name formats

  • Function name - MyFunction.

  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction.

  • Version or Alias ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD.

  • Partial ARN - 123456789012:function:MyFunction.

The length constraint applies only to the full ARN. If you specify only the function name, it's limited to 64 characters in length.

Definition at line 188 of file CreateEventSourceMappingRequest.h.

◆ SetMaximumBatchingWindowInSeconds()

void Aws::Lambda::Model::CreateEventSourceMappingRequest::SetMaximumBatchingWindowInSeconds ( int  value)
inline

(Streams) The maximum amount of time to gather records before invoking the function, in seconds.

Definition at line 315 of file CreateEventSourceMappingRequest.h.

◆ SetMaximumRecordAgeInSeconds()

void Aws::Lambda::Model::CreateEventSourceMappingRequest::SetMaximumRecordAgeInSeconds ( int  value)
inline

(Streams) Discard records older than the specified age. The default value is infinite (-1).

Definition at line 478 of file CreateEventSourceMappingRequest.h.

◆ SetMaximumRetryAttempts()

void Aws::Lambda::Model::CreateEventSourceMappingRequest::SetMaximumRetryAttempts ( int  value)
inline

(Streams) Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records will be retried until the record expires.

Definition at line 531 of file CreateEventSourceMappingRequest.h.

◆ SetParallelizationFactor()

void Aws::Lambda::Model::CreateEventSourceMappingRequest::SetParallelizationFactor ( int  value)
inline

(Streams) The number of batches to process from each shard concurrently.

Definition at line 337 of file CreateEventSourceMappingRequest.h.

◆ SetStartingPosition() [1/2]

void Aws::Lambda::Model::CreateEventSourceMappingRequest::SetStartingPosition ( const EventSourcePosition value)
inline

The position in a stream from which to start reading. Required for Amazon Kinesis, Amazon DynamoDB, and Amazon MSK Streams sources. AT_TIMESTAMP is only supported for Amazon Kinesis streams.

Definition at line 364 of file CreateEventSourceMappingRequest.h.

◆ SetStartingPosition() [2/2]

void Aws::Lambda::Model::CreateEventSourceMappingRequest::SetStartingPosition ( EventSourcePosition &&  value)
inline

The position in a stream from which to start reading. Required for Amazon Kinesis, Amazon DynamoDB, and Amazon MSK Streams sources. AT_TIMESTAMP is only supported for Amazon Kinesis streams.

Definition at line 371 of file CreateEventSourceMappingRequest.h.

◆ SetStartingPositionTimestamp() [1/2]

void Aws::Lambda::Model::CreateEventSourceMappingRequest::SetStartingPositionTimestamp ( const Aws::Utils::DateTime value)
inline

With StartingPosition set to AT_TIMESTAMP, the time from which to start reading.

Definition at line 404 of file CreateEventSourceMappingRequest.h.

◆ SetStartingPositionTimestamp() [2/2]

void Aws::Lambda::Model::CreateEventSourceMappingRequest::SetStartingPositionTimestamp ( Aws::Utils::DateTime &&  value)
inline

With StartingPosition set to AT_TIMESTAMP, the time from which to start reading.

Definition at line 410 of file CreateEventSourceMappingRequest.h.

◆ SetTopics() [1/2]

void Aws::Lambda::Model::CreateEventSourceMappingRequest::SetTopics ( const Aws::Vector< Aws::String > &  value)
inline

(MSK) The name of the Kafka topic.

Definition at line 554 of file CreateEventSourceMappingRequest.h.

◆ SetTopics() [2/2]

void Aws::Lambda::Model::CreateEventSourceMappingRequest::SetTopics ( Aws::Vector< Aws::String > &&  value)
inline

(MSK) The name of the Kafka topic.

Definition at line 559 of file CreateEventSourceMappingRequest.h.

◆ StartingPositionHasBeenSet()

bool Aws::Lambda::Model::CreateEventSourceMappingRequest::StartingPositionHasBeenSet ( ) const
inline

The position in a stream from which to start reading. Required for Amazon Kinesis, Amazon DynamoDB, and Amazon MSK Streams sources. AT_TIMESTAMP is only supported for Amazon Kinesis streams.

Definition at line 357 of file CreateEventSourceMappingRequest.h.

◆ StartingPositionTimestampHasBeenSet()

bool Aws::Lambda::Model::CreateEventSourceMappingRequest::StartingPositionTimestampHasBeenSet ( ) const
inline

With StartingPosition set to AT_TIMESTAMP, the time from which to start reading.

Definition at line 398 of file CreateEventSourceMappingRequest.h.

◆ TopicsHasBeenSet()

bool Aws::Lambda::Model::CreateEventSourceMappingRequest::TopicsHasBeenSet ( ) const
inline

(MSK) The name of the Kafka topic.

Definition at line 549 of file CreateEventSourceMappingRequest.h.

◆ WithBatchSize()

CreateEventSourceMappingRequest& Aws::Lambda::Model::CreateEventSourceMappingRequest::WithBatchSize ( int  value)
inline

The maximum number of items to retrieve in a single batch.

  • Amazon Kinesis - Default 100. Max 10,000.

  • Amazon DynamoDB Streams - Default 100. Max 1,000.

  • Amazon Simple Queue Service - Default 10. Max 10.

  • Amazon Managed Streaming for Apache Kafka - Default 100. Max 10,000.

Definition at line 296 of file CreateEventSourceMappingRequest.h.

◆ WithBisectBatchOnFunctionError()

CreateEventSourceMappingRequest& Aws::Lambda::Model::CreateEventSourceMappingRequest::WithBisectBatchOnFunctionError ( bool  value)
inline

(Streams) If the function returns an error, split the batch in two and retry.

Definition at line 509 of file CreateEventSourceMappingRequest.h.

◆ WithDestinationConfig() [1/2]

CreateEventSourceMappingRequest& Aws::Lambda::Model::CreateEventSourceMappingRequest::WithDestinationConfig ( const DestinationConfig value)
inline

(Streams) An Amazon SQS queue or Amazon SNS topic destination for discarded records.

Definition at line 453 of file CreateEventSourceMappingRequest.h.

◆ WithDestinationConfig() [2/2]

CreateEventSourceMappingRequest& Aws::Lambda::Model::CreateEventSourceMappingRequest::WithDestinationConfig ( DestinationConfig &&  value)
inline

(Streams) An Amazon SQS queue or Amazon SNS topic destination for discarded records.

Definition at line 459 of file CreateEventSourceMappingRequest.h.

◆ WithEnabled()

CreateEventSourceMappingRequest& Aws::Lambda::Model::CreateEventSourceMappingRequest::WithEnabled ( bool  value)
inline

If true, the event source mapping is active. Set to false to pause polling and invocation.

Definition at line 255 of file CreateEventSourceMappingRequest.h.

◆ WithEventSourceArn() [1/3]

CreateEventSourceMappingRequest& Aws::Lambda::Model::CreateEventSourceMappingRequest::WithEventSourceArn ( const Aws::String value)
inline

The Amazon Resource Name (ARN) of the event source.

  • Amazon Kinesis - The ARN of the data stream or a stream consumer.

  • Amazon DynamoDB Streams - The ARN of the stream.

  • Amazon Simple Queue Service - The ARN of the queue.

  • Amazon Managed Streaming for Apache Kafka - The ARN of the cluster.

Definition at line 97 of file CreateEventSourceMappingRequest.h.

◆ WithEventSourceArn() [2/3]

CreateEventSourceMappingRequest& Aws::Lambda::Model::CreateEventSourceMappingRequest::WithEventSourceArn ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) of the event source.

  • Amazon Kinesis - The ARN of the data stream or a stream consumer.

  • Amazon DynamoDB Streams - The ARN of the stream.

  • Amazon Simple Queue Service - The ARN of the queue.

  • Amazon Managed Streaming for Apache Kafka - The ARN of the cluster.

Definition at line 107 of file CreateEventSourceMappingRequest.h.

◆ WithEventSourceArn() [3/3]

CreateEventSourceMappingRequest& Aws::Lambda::Model::CreateEventSourceMappingRequest::WithEventSourceArn ( const char *  value)
inline

The Amazon Resource Name (ARN) of the event source.

  • Amazon Kinesis - The ARN of the data stream or a stream consumer.

  • Amazon DynamoDB Streams - The ARN of the stream.

  • Amazon Simple Queue Service - The ARN of the queue.

  • Amazon Managed Streaming for Apache Kafka - The ARN of the cluster.

Definition at line 117 of file CreateEventSourceMappingRequest.h.

◆ WithFunctionName() [1/3]

CreateEventSourceMappingRequest& Aws::Lambda::Model::CreateEventSourceMappingRequest::WithFunctionName ( const Aws::String value)
inline

The name of the Lambda function.

Name formats

  • Function name - MyFunction.

  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction.

  • Version or Alias ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD.

  • Partial ARN - 123456789012:function:MyFunction.

The length constraint applies only to the full ARN. If you specify only the function name, it's limited to 64 characters in length.

Definition at line 202 of file CreateEventSourceMappingRequest.h.

◆ WithFunctionName() [2/3]

CreateEventSourceMappingRequest& Aws::Lambda::Model::CreateEventSourceMappingRequest::WithFunctionName ( Aws::String &&  value)
inline

The name of the Lambda function.

Name formats

  • Function name - MyFunction.

  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction.

  • Version or Alias ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD.

  • Partial ARN - 123456789012:function:MyFunction.

The length constraint applies only to the full ARN. If you specify only the function name, it's limited to 64 characters in length.

Definition at line 216 of file CreateEventSourceMappingRequest.h.

◆ WithFunctionName() [3/3]

CreateEventSourceMappingRequest& Aws::Lambda::Model::CreateEventSourceMappingRequest::WithFunctionName ( const char *  value)
inline

The name of the Lambda function.

Name formats

  • Function name - MyFunction.

  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction.

  • Version or Alias ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD.

  • Partial ARN - 123456789012:function:MyFunction.

The length constraint applies only to the full ARN. If you specify only the function name, it's limited to 64 characters in length.

Definition at line 230 of file CreateEventSourceMappingRequest.h.

◆ WithMaximumBatchingWindowInSeconds()

CreateEventSourceMappingRequest& Aws::Lambda::Model::CreateEventSourceMappingRequest::WithMaximumBatchingWindowInSeconds ( int  value)
inline

(Streams) The maximum amount of time to gather records before invoking the function, in seconds.

Definition at line 321 of file CreateEventSourceMappingRequest.h.

◆ WithMaximumRecordAgeInSeconds()

CreateEventSourceMappingRequest& Aws::Lambda::Model::CreateEventSourceMappingRequest::WithMaximumRecordAgeInSeconds ( int  value)
inline

(Streams) Discard records older than the specified age. The default value is infinite (-1).

Definition at line 484 of file CreateEventSourceMappingRequest.h.

◆ WithMaximumRetryAttempts()

CreateEventSourceMappingRequest& Aws::Lambda::Model::CreateEventSourceMappingRequest::WithMaximumRetryAttempts ( int  value)
inline

(Streams) Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records will be retried until the record expires.

Definition at line 538 of file CreateEventSourceMappingRequest.h.

◆ WithParallelizationFactor()

CreateEventSourceMappingRequest& Aws::Lambda::Model::CreateEventSourceMappingRequest::WithParallelizationFactor ( int  value)
inline

(Streams) The number of batches to process from each shard concurrently.

Definition at line 342 of file CreateEventSourceMappingRequest.h.

◆ WithStartingPosition() [1/2]

CreateEventSourceMappingRequest& Aws::Lambda::Model::CreateEventSourceMappingRequest::WithStartingPosition ( const EventSourcePosition value)
inline

The position in a stream from which to start reading. Required for Amazon Kinesis, Amazon DynamoDB, and Amazon MSK Streams sources. AT_TIMESTAMP is only supported for Amazon Kinesis streams.

Definition at line 378 of file CreateEventSourceMappingRequest.h.

◆ WithStartingPosition() [2/2]

CreateEventSourceMappingRequest& Aws::Lambda::Model::CreateEventSourceMappingRequest::WithStartingPosition ( EventSourcePosition &&  value)
inline

The position in a stream from which to start reading. Required for Amazon Kinesis, Amazon DynamoDB, and Amazon MSK Streams sources. AT_TIMESTAMP is only supported for Amazon Kinesis streams.

Definition at line 385 of file CreateEventSourceMappingRequest.h.

◆ WithStartingPositionTimestamp() [1/2]

CreateEventSourceMappingRequest& Aws::Lambda::Model::CreateEventSourceMappingRequest::WithStartingPositionTimestamp ( const Aws::Utils::DateTime value)
inline

With StartingPosition set to AT_TIMESTAMP, the time from which to start reading.

Definition at line 416 of file CreateEventSourceMappingRequest.h.

◆ WithStartingPositionTimestamp() [2/2]

CreateEventSourceMappingRequest& Aws::Lambda::Model::CreateEventSourceMappingRequest::WithStartingPositionTimestamp ( Aws::Utils::DateTime &&  value)
inline

With StartingPosition set to AT_TIMESTAMP, the time from which to start reading.

Definition at line 422 of file CreateEventSourceMappingRequest.h.

◆ WithTopics() [1/2]

CreateEventSourceMappingRequest& Aws::Lambda::Model::CreateEventSourceMappingRequest::WithTopics ( const Aws::Vector< Aws::String > &  value)
inline

(MSK) The name of the Kafka topic.

Definition at line 564 of file CreateEventSourceMappingRequest.h.

◆ WithTopics() [2/2]

CreateEventSourceMappingRequest& Aws::Lambda::Model::CreateEventSourceMappingRequest::WithTopics ( Aws::Vector< Aws::String > &&  value)
inline

(MSK) The name of the Kafka topic.

Definition at line 569 of file CreateEventSourceMappingRequest.h.


The documentation for this class was generated from the following file: