Menu
AWS Glue
Developer Guide

FlatMap Class

Applies a transform to each DynamicFrame in a collection and flattens the results.

Methods

__call__(dfc, BaseTransform, frame_name, transformation_ctx = "", **base_kwargs)

Drops nodes within a DynamicFrame.

  • dfc – The DynamicFrameCollection over which to flatmap (required).

  • BaseTransform – A transform derived from GlueTransform to apply to each member of the collection (required).

  • frame_name – The argument name to pass the elements of the collection to (required).

  • transformation_ctx – A unique string that is used to identify state information (optional).

  • base_kwargs – Arguments to pass to the base transform (required).

Returns a new DynamicFrameCollection created by applying the transform to each DynamicFrame in the source DynamicFrameCollection.

apply(cls, *args, **kwargs)

Inherited from GlueTransform apply.

name(cls)

Inherited from GlueTransform name.

describeArgs(cls)

Inherited from GlueTransform describeArgs.

describeReturn(cls)

Inherited from GlueTransform describeReturn.

describeTransform(cls)

Inherited from GlueTransform describeTransform.

describeErrors(cls)

Inherited from GlueTransform describeErrors.

describe(cls)

Inherited from GlueTransform describe.