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

Set Canned ACLOn File

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

The Set Canned ACLOn File step is used to set the chosen canned ACL wrapper via the ACL to set input on a specified file via the File Name input.

Prerequisites 


Properties

Inputs

PropertyDescriptionData Type
Bucket NameName of bucket containing file to be modified.String
Cannonical User Id64 character user Id associated with the ACL.String
File NameName of file to have a canned ACL applied to.String
Permissions To SetPermissions to establish on the file via canned ACL.List of S3PeremissionWrapper
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


Common Errors

Exception invoking method SetACLOnFile on class AmazonS3Steps

If one or more input values are 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 Set ACLOn File 1[SetACLOnFile] in flow [S3 Step Flows]: Exception invoking method SetACLOnFile on class AmazonS3Steps
 ---> DecisionsFramework.LoggedException: Exception invoking method SetACLOnFile on class AmazonS3Steps
 ---> System.ArgumentException: BucketName is a required property and must be set before making this call. (Parameter 'GetACLRequest.BucketName')
 at Amazon.S3.Model.Internal.MarshallTransformations.GetACLRequestMarshaller.Marshall(GetACLRequest getObjectAclRequest)
 at Amazon.S3.Model.Internal.MarshallTransformations.GetACLRequestMarshaller.Marshall(AmazonWebServiceRequest input)
 at Amazon.Runtime.Internal.Marshaller.PreInvoke(IExecutionContext executionContext)
 at Amazon.Runtime.Internal.Marshaller.InvokeAsync[T](IExecutionContext executionContext)
 at Amazon.S3.Internal.AmazonS3PreMarshallHandler.InvokeAsync[T](IExecutionContext executionContext)
 at Amazon.Runtime.Internal.CallbackHandler.InvokeAsync[T](IExecutionContext executionContext)
 at Amazon.S3.Internal.AmazonS3ExceptionHandler.InvokeAsync[T](IExecutionContext executionContext)
 at Amazon.Runtime.Internal.ErrorCallbackHandler.InvokeAsync[T](IExecutionContext executionContext)
 at Amazon.Runtime.Internal.MetricsHandler.InvokeAsync[T](IExecutionContext executionContext)
 at Decisions.AmazonAWS.S3.AmazonS3Steps.SetACLOnFile(String BucketName, String FileName, String CannonicalUserId, S3PermissionWrapper[] PermissionsToSet, AmazonAWSRegion Region, AssumeRoleCredentials overrideCredentials, String accessKeyId, String secretAccessKey)
 at DecisionsFramework.Design.Flow.StepImplementations.InvokeMethodStep.Run(StepStartData data)
   --- End of inner exception stack trace ---



Related Information

Related Article:

Amazon AWS S3