Have Questions?  Need Expert Answers?  JOIN LUNCH N' LEARNS!

Put File In S3

Prev Next
Step Details
Introduced in Version9.0.0
Last Modified in Version9.0.0
LocationIntegration > Amazon AWS > S3

The Put File In S3 step is used to add a specified file to the specified S3 bucket.

Prerequisites 


Properties

Inputs

PropertyDescriptionData Type
Bucket NameName of bucket to add the file to.String
FileFile to add to the bucket.FileData
File Name To StoreName of the file to store in S3.String
RegionThe Amazon AWS Region the instance is located on.AmazonAWSRegion
Override Role CredentialsOptional input allowing the user to alter the default role used to create the folder.AssumeRoleCredentials

Override Settings

PropertyDescriptionData Type
Access Key IDID used to connect to Amazon S3.String
Secret Access KeySecret Access Key used to connect to Amazon S3.                                                                  String

Outputs

PropertyDescriptionData Type
Done


OutputOutputs file transfer information.String


Common Errors

Exception Invoking Method PutFileInS3 on class AmazonS3Steps

If there is an input value not declared, the step will cause an error.

To correct this, ensure all input values have been filled out properly.

Exception Message:


DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Put File In S3 1[PutFileInS3] in flow [S3 Step Flows]: Exception invoking method PutFileInS3 on class AmazonS3Steps
 ---> DecisionsFramework.LoggedException: Exception invoking method PutFileInS3 on class AmazonS3Steps
 ---> System.NullReferenceException: Object reference not set to an instance of an object. at Decisions.AmazonAWS.S3.AmazonS3Steps.PutFileInS3(String BucketName, String FileNameToStore, FileData File, AmazonAWSRegion Region, AssumeRoleCredentials overrideCredentials, String accessKeyId, String secretAccessKey)
 at DecisionsFramework.Design.Flow.StepImplementations.InvokeMethodStep.Run(StepStartData data)
   --- End of inner exception stack trace --- at DecisionsFramework.Design.Flow.StepImplementations.InvokeMethodStep.Run(StepStartData data)
 at DecisionsFramework.Design.Flow.FlowStep.RunStepInternal(String flowTrackingID, String stepTrackingID, KeyValuePairDataStructure[] stepRunDataValues, AbstractFlowTrackingData trackingData)
 at DecisionsFramework.Design.Flow.FlowStep.Start(String flowTrackingID, String stepTrackingID, FlowStateData data, AbstractFlowTrackingData trackingData, RunningStepData currentStepData)
   --- End of inner exception stack trace ---



Related Information

Related Article:

Amazon AWS S3