| 1 | |||
| 2 | package Paws::Lambda::EventSourceMappingConfiguration; | ||
| 3 | use Moose; | ||
| 4 | has BatchSize => (is => 'ro', isa => 'Int'); | ||
| 5 | has BisectBatchOnFunctionError => (is => 'ro', isa => 'Bool'); | ||
| 6 | has DestinationConfig => (is => 'ro', isa => 'Paws::Lambda::DestinationConfig'); | ||
| 7 | has EventSourceArn => (is => 'ro', isa => 'Str'); | ||
| 8 | has FunctionArn => (is => 'ro', isa => 'Str'); | ||
| 9 | has FunctionResponseTypes => (is => 'ro', isa => 'ArrayRef[Str|Undef]'); | ||
| 10 | has LastModified => (is => 'ro', isa => 'Str'); | ||
| 11 | has LastProcessingResult => (is => 'ro', isa => 'Str'); | ||
| 12 | has MaximumBatchingWindowInSeconds => (is => 'ro', isa => 'Int'); | ||
| 13 | has MaximumRecordAgeInSeconds => (is => 'ro', isa => 'Int'); | ||
| 14 | has MaximumRetryAttempts => (is => 'ro', isa => 'Int'); | ||
| 15 | has ParallelizationFactor => (is => 'ro', isa => 'Int'); | ||
| 16 | has Queues => (is => 'ro', isa => 'ArrayRef[Str|Undef]'); | ||
| 17 | has SelfManagedEventSource => (is => 'ro', isa => 'Paws::Lambda::SelfManagedEventSource'); | ||
| 18 | has SourceAccessConfigurations => (is => 'ro', isa => 'ArrayRef[Paws::Lambda::SourceAccessConfiguration]'); | ||
| 19 | has StartingPosition => (is => 'ro', isa => 'Str'); | ||
| 20 | has StartingPositionTimestamp => (is => 'ro', isa => 'Str'); | ||
| 21 | has State => (is => 'ro', isa => 'Str'); | ||
| 22 | has StateTransitionReason => (is => 'ro', isa => 'Str'); | ||
| 23 | has Topics => (is => 'ro', isa => 'ArrayRef[Str|Undef]'); | ||
| 24 | has TumblingWindowInSeconds => (is => 'ro', isa => 'Int'); | ||
| 25 | has UUID => (is => 'ro', isa => 'Str'); | ||
| 26 | |||
| 27 | has _request_id => (is => 'ro', isa => 'Str'); | ||
| 28 | 1; | ||
| 29 | |||
| 30 | ### main pod documentation begin ### | ||
| 31 | |||
| 32 | =head1 NAME | ||
| 33 | |||
| 34 | Paws::Lambda::EventSourceMappingConfiguration | ||
| 35 | |||
| 36 | =head1 ATTRIBUTES | ||
| 37 | |||
| 38 | |||
| 39 | =head2 BatchSize => Int | ||
| 40 | |||
| 41 | The maximum number of items to retrieve in a single batch. | ||
| 42 | |||
| 43 | |||
| 44 | =head2 BisectBatchOnFunctionError => Bool | ||
| 45 | |||
| 46 | (Streams only) If the function returns an error, split the batch in two | ||
| 47 | and retry. The default value is false. | ||
| 48 | |||
| 49 | |||
| 50 | =head2 DestinationConfig => L<Paws::Lambda::DestinationConfig> | ||
| 51 | |||
| 52 | (Streams only) An Amazon SQS queue or Amazon SNS topic destination for | ||
| 53 | discarded records. | ||
| 54 | |||
| 55 | |||
| 56 | =head2 EventSourceArn => Str | ||
| 57 | |||
| 58 | The Amazon Resource Name (ARN) of the event source. | ||
| 59 | |||
| 60 | |||
| 61 | =head2 FunctionArn => Str | ||
| 62 | |||
| 63 | The ARN of the Lambda function. | ||
| 64 | |||
| 65 | |||
| 66 | =head2 FunctionResponseTypes => ArrayRef[Str|Undef] | ||
| 67 | |||
| 68 | (Streams only) A list of current response type enums applied to the | ||
| 69 | event source mapping. | ||
| 70 | |||
| 71 | |||
| 72 | =head2 LastModified => Str | ||
| 73 | |||
| 74 | The date that the event source mapping was last updated, or its state | ||
| 75 | changed. | ||
| 76 | |||
| 77 | |||
| 78 | =head2 LastProcessingResult => Str | ||
| 79 | |||
| 80 | The result of the last Lambda invocation of your Lambda function. | ||
| 81 | |||
| 82 | |||
| 83 | =head2 MaximumBatchingWindowInSeconds => Int | ||
| 84 | |||
| 85 | (Streams and SQS standard queues) The maximum amount of time to gather | ||
| 86 | records before invoking the function, in seconds. The default value is | ||
| 87 | zero. | ||
| 88 | |||
| 89 | |||
| 90 | =head2 MaximumRecordAgeInSeconds => Int | ||
| 91 | |||
| 92 | (Streams only) Discard records older than the specified age. The | ||
| 93 | default value is -1, which sets the maximum age to infinite. When the | ||
| 94 | value is set to infinite, Lambda never discards old records. | ||
| 95 | |||
| 96 | |||
| 97 | =head2 MaximumRetryAttempts => Int | ||
| 98 | |||
| 99 | (Streams only) Discard records after the specified number of retries. | ||
| 100 | The default value is -1, which sets the maximum number of retries to | ||
| 101 | infinite. When MaximumRetryAttempts is infinite, Lambda retries failed | ||
| 102 | records until the record expires in the event source. | ||
| 103 | |||
| 104 | |||
| 105 | =head2 ParallelizationFactor => Int | ||
| 106 | |||
| 107 | (Streams only) The number of batches to process from each shard | ||
| 108 | concurrently. The default value is 1. | ||
| 109 | |||
| 110 | |||
| 111 | =head2 Queues => ArrayRef[Str|Undef] | ||
| 112 | |||
| 113 | (MQ) The name of the Amazon MQ broker destination queue to consume. | ||
| 114 | |||
| 115 | |||
| 116 | =head2 SelfManagedEventSource => L<Paws::Lambda::SelfManagedEventSource> | ||
| 117 | |||
| 118 | The Self-Managed Apache Kafka cluster for your event source. | ||
| 119 | |||
| 120 | |||
| 121 | =head2 SourceAccessConfigurations => ArrayRef[L<Paws::Lambda::SourceAccessConfiguration>] | ||
| 122 | |||
| 123 | An array of the authentication protocol, or the VPC components to | ||
| 124 | secure your event source. | ||
| 125 | |||
| 126 | |||
| 127 | =head2 StartingPosition => Str | ||
| 128 | |||
| 129 | The position in a stream from which to start reading. Required for | ||
| 130 | Amazon Kinesis, Amazon DynamoDB, and Amazon MSK Streams sources. | ||
| 131 | C<AT_TIMESTAMP> is only supported for Amazon Kinesis streams. | ||
| 132 | |||
| 133 | Valid values are: C<"TRIM_HORIZON">, C<"LATEST">, C<"AT_TIMESTAMP"> | ||
| 134 | =head2 StartingPositionTimestamp => Str | ||
| 135 | |||
| 136 | With C<StartingPosition> set to C<AT_TIMESTAMP>, the time from which to | ||
| 137 | start reading. | ||
| 138 | |||
| 139 | |||
| 140 | =head2 State => Str | ||
| 141 | |||
| 142 | The state of the event source mapping. It can be one of the following: | ||
| 143 | C<Creating>, C<Enabling>, C<Enabled>, C<Disabling>, C<Disabled>, | ||
| 144 | C<Updating>, or C<Deleting>. | ||
| 145 | |||
| 146 | |||
| 147 | =head2 StateTransitionReason => Str | ||
| 148 | |||
| 149 | Indicates whether the last change to the event source mapping was made | ||
| 150 | by a user, or by the Lambda service. | ||
| 151 | |||
| 152 | |||
| 153 | =head2 Topics => ArrayRef[Str|Undef] | ||
| 154 | |||
| 155 | The name of the Kafka topic. | ||
| 156 | |||
| 157 | |||
| 158 | =head2 TumblingWindowInSeconds => Int | ||
| 159 | |||
| 160 | (Streams only) The duration in seconds of a processing window. The | ||
| 161 | range is between 1 second up to 900 seconds. | ||
| 162 | |||
| 163 | |||
| 164 | =head2 UUID => Str | ||
| 165 | |||
| 166 | The identifier of the event source mapping. | ||
| 167 | |||
| 168 | |||
| 169 | =head2 _request_id => Str | ||
| 170 | |||
| 171 | |||
| 172 | =cut | ||
| 173 |