FunctionEventInvokeConfig.fromJson constructor
FunctionEventInvokeConfig.fromJson(
- Map<String, dynamic> json
)
Implementation
factory FunctionEventInvokeConfig.fromJson(Map<String, dynamic> json) {
return FunctionEventInvokeConfig(
destinationConfig: json['DestinationConfig'] != null
? DestinationConfig.fromJson(
json['DestinationConfig'] as Map<String, dynamic>)
: null,
functionArn: json['FunctionArn'] as String?,
lastModified: timeStampFromJson(json['LastModified']),
maximumEventAgeInSeconds: json['MaximumEventAgeInSeconds'] as int?,
maximumRetryAttempts: json['MaximumRetryAttempts'] as int?,
);
}