S3Action.fromXml constructor

S3Action.fromXml(
  1. XmlElement elem
)

Implementation

factory S3Action.fromXml(_s.XmlElement elem) {
  return S3Action(
    bucketName: _s.extractXmlStringValue(elem, 'BucketName')!,
    kmsKeyArn: _s.extractXmlStringValue(elem, 'KmsKeyArn'),
    objectKeyPrefix: _s.extractXmlStringValue(elem, 'ObjectKeyPrefix'),
    topicArn: _s.extractXmlStringValue(elem, 'TopicArn'),
  );
}