Using the Amazon Simple Storage Service (S3), deletes a file or a folder from a bucket.
This transformer accepts any feature.
Features which have successfully deleted a file or a folder from S3 are output through this port. Trying to delete an object or folder that does not exist or one that has already been deleted will also cause features to be output through this port.
Features which have not successfully deleted a file or a folder from S3 are output through this port. Additionally, a message stored in an attribute specified in Error Attribute, will contain details about the failure.
An access key associated with a user with permission to delete data from the specified bucket. If a pairing of an access key and a secret access key is not given, credentials will be searched in various locations listed here.
- In a file titled AwsCredentials.properties located in the Java classpath
- For the properties aws.accessKeyId and aws.secretKey in the Java system properties
- In the environment variables AWS_ACCESS_KEY_ID and AWS_SECRET_KEY
If credentials are still not found, the client will act as if it is in anonymous mode, where requests aren’t signed. This is useful if accessing a publicly accessible object or bucket.
A secret key paired with the access key provided. See the Access Key ID parameter for credential searching.
S3 Delete Options
Whether the object specified in Object Key is a file or a folder.
The name of the bucket to delete a file or a folder from.
The key identifying the file or folder to delete.
Specify the output attribute that will store any messages from errors during the delete process.
Editing Transformer Parameters
Using a set of menu options, transformer parameters can be assigned by referencing other elements in the workspace. More advanced functions, such as an advanced editor and an arithmetic editor, are also available in some transformers. To access a menu of these options, click beside the applicable parameter. For more information, see Transformer Parameter Menu Options.
FME Licensing Level
FME Professional edition and above
Search FME Knowledge Center
Search for samples and information about this transformer on the FME Knowledge Center.