Ask Your Question
2

How do I add an Amazon S3 Destination Stage Type via Python

asked 2020-01-08 10:37:25 -0500

adj gravatar image

updated 2020-01-08 13:30:25 -0500

metadaddy gravatar image

I am creating a pipeline via python using StreamSets SDK.

The below python snippet would create an Amazon S3 origin. How do I create an Amazon S3 destination stage type?

data_destination = builder.add_stage(''Amazon S3'')
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2020-01-08 10:41:34 -0500

adj gravatar image

updated 2020-01-08 13:30:02 -0500

metadaddy gravatar image

I found my answer. Needed to specify the type in the method call.

data_destination = builder.add_stage('Amazon S3',type='destination')
edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2020-01-08 10:37:25 -0500

Seen: 61 times

Last updated: Jan 08