Step Details | |
Introduced in Version | 9.0.0 |
Last Modified in Version | 9.0.0 |
Location | Integration > Amazon AWS > S3 |
The Create Folder step is used to create a new folder intended to store objects in Amazon S3.
Prerequisites
- This step requires the Amazon AWS Module to be installed before it will be available in the toolbox, and an active AWS account. The Amazon WebServices Settings must also be configured.
- A dependency must be created after installing the module in order for the the steps to be properly used.
Properties
Inputs
Property | Description | Data Type |
---|---|---|
Bucket | Name of the bucket intended to place new folder. | String |
Folder | Name of new folder to create. | String |
Region | The Amazon AWS Region the instance is located on. | AmazonAWSRegion |
Override Role Credentials | Optional input allowing the user to alter the default role used to create the folder. | AssumeRoleCredentials |
Override Settings
Property | Description | Data Type |
---|---|---|
Access Key ID | ID used to connect to Amazon S3. | String |
Secret Access Key | Secret Access Key used to connect to Amazon S3. | String |
Common Errors
The AWS Access Key Id You Provided Does not Exist In Our Records
If the Access Key ID is invalid or missing, the step will cause an error.
To correct this, ensure the Access Key ID is correctly inputted.
Exception Message:
DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Create Folder 1[CreateFolder] in flow [S3 Step Flows]: Exception invoking method CreateFolder on class AmazonS3Steps
---> DecisionsFramework.LoggedException: Exception invoking method CreateFolder on class AmazonS3Steps
---> Amazon.S3.AmazonS3Exception: The AWS Access Key Id you provided does not exist in our records.
---> Amazon.Runtime.Internal.HttpErrorResponseException: Exception of type 'Amazon.Runtime.Internal.HttpErrorResponseException' was thrown. at Amazon.Runtime.HttpWebRequestMessage.ProcessHttpResponseMessage(HttpResponseMessage responseMessage)
at Amazon.Runtime.HttpWebRequestMessage.GetResponseAsync(CancellationToken cancellationToken)
at Amazon.Runtime.Internal.HttpHandler`1.InvokeAsync[T](IExecutionContext executionContext)
at Amazon.Runtime.Internal.RedirectHandler.InvokeAsync[T](IExecutionContext executionContext)
at Amazon.Runtime.Internal.Unmarshaller.InvokeAsync[T](IExecutionContext executionContext)
at Amazon.S3.Internal.AmazonS3ResponseHandler.InvokeAsync[T](IExecutionContext executionContext)
at Amazon.Runtime.Internal.ErrorHandler.InvokeAsync[T](IExecutionContext executionContext)
--- End of inner exception stack trace ---
In Order to Override Credentials, Both the Access Key ID and the Secret Access Key must be Configured
If the Access Key ID has been inputted in the Override Settings but the Secret Access Key has not, the step will cause an error.
To correct this, input the Secret Access Key prior to running the step.
Exception Message:
DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Create Folder 1[CreateFolder] in flow [S3 Step Flows]: Exception invoking method CreateFolder on class AmazonS3Steps
---> DecisionsFramework.LoggedException: Exception invoking method CreateFolder on class AmazonS3Steps
---> System.Exception: In order to override credentials, both the Access Key ID and the Secret Access Key must be configured. at Decisions.AmazonAWS.S3.AmazonS3Steps.GetClient(AmazonAWSRegion region, AssumeRoleCredentials overrideCredentials, String accessKeyId, String secretAccessKey)
at Decisions.AmazonAWS.S3.AmazonS3Steps.CreateFolder(String bucket, String folder, 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: