Amazon S3 Component
Manage files within an Amazon (AWS) S3 bucket
Component key: aws-s3
Description
Amazon S3 is a file storage solution from Amazon Web Services. The Amazon S3 component allows you to create, read, update, move, list or delete objects (files) within an Amazon S3 bucket.
API Documentation: Amazon S3 API Reference
A common integration pattern involves listing files in a file store, and performing a series of actions on the array of files that are returned. See our looping over files quickstart for information about how to create a loop over an array of files.
Listening for file changes
You can leverage Amazon Simple Notification Service (SNS) to listen for file changes in S3. Our GitHub examples repo contains an example integration that illustrates how to listen for file changes in S3 and perform an action when a file is added or updated - you can import and try it out for yourself.
The example integration contains three flows:
- Create and configure SNS topic runs when an instance is deployed and will create an SNS topic and configure it to listen for new files added to S3. It instructs SNS to notify the Receive SNS Notifications flow when a new file is added to an S3 bucket that a user selected as part of the configuration wizard.
- Receive SNS Notifications will receive the SNS notification and extract the S3 bucket and key from the message. It will fetch the file that was added. From there, you can process or send that file to another system.
- Remove SNS Topic will remove the SNS topic that was created in the first flow when an instance is deleted.
Streaming large files to S3
Amazon S3 offers a feature called multipart upload that allows you to upload large files in parts. This component supports multipart uploads in two ways:
-
File Streaming: This is useful if you are looping over a paginated API and would like to stream the response to S3 as a CSV (or similar) file. This option is useful when you have a large number of records to process and you want to avoid loading all of them into memory at once (which can cause an out-of-memory error). When you use the Upload Stream actions, the component will automatically handle the multipart upload for you. Within your integration you would:
- Run a Upload Stream - Create Stream action to create a new file stream.
- Loop over the records you want to write to the file.
- For each record, run a Upload Stream - Write Data action to write the record to the file stream.
- Run a Upload Stream - Close Stream action to close the file stream and upload the file to S3.
-
Multipart Upload: This is useful if you have a file that is already split into parts and you want to upload the parts to S3 and then join them together. Within your integration you would:
- Run a Create Multipart Upload action to start a new multipart upload.
- Run a Generate Presigned URL for Multipart Uploads action to generate a presigned URL for each part.
- Run an HTTP component Post action to post each part to the presigned URL.
- Run a Complete Multipart Upload to complete the multipart upload.
This option requires that you manually handle the multipart upload process and abide by the restrictions that Amazon S3 imposes on multipart uploads (like each part being at least 5MB in size, with the exception of the last part).
Connections
AWS API Key and Secret
An AWS IAM access key pair is required to interact with Amazon S3. Make sure that the key pair you generate in AWS has proper permissions to the S3 resources you want to access. Read more about S3 IAM actions in the AWS docs.
To create an IAM access key pair:
- Sign in to the AWS Console and navigate to Identity and Access Management (IAM)
- Under the Access Keys section select Create access key
- Once created copy the Access Key and Secret access key and enter them into the connection configuration of your integration.
Input | Notes | Example |
---|---|---|
Access Key ID string / Required accessKeyId | An AWS IAM Access Key ID | AKIAIOSFODNN7EXAMPLE |
Secret Access Key password / Required secretAccessKey | An AWS IAM Secret Access Key | wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY |
AWS Role ARN
To enable the IAM role authentication begin by logging into the AWS Console and navigate to Identity and Access Management (IAM).
To create an ARN user and generate credentials:
- Navigate to Users and select Create User.
- Provide a User name and check the box providing them user access to the AWS Management Console if needed.
- Once completed with the User creation, copy the ARN provided in the summary for a later step.
- To obtain the ARN for an existing User, click on the designated username from the Users page and the ARN will be provided in the summary section.
- From the summary section, select Create access key
- Select Third-party service as the access key type and select next.
- Set a description and select create access key.
- Copy the Access Key and Secret access key and enter those into the connection configuration of your integration along with the ARN.
To create and assign a user a role:
- Navigate to Roles and select Create Role.
- Select Custom Trust Policy for the Trusted entity types
- Copy the following statement into the statement console. Making sure to replace the ARN with the user's actual ARN from the previous section
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": {
"AWS": "ARN"
},
"Action": "sts:AssumeRole"
}
]
}
- When adding permissions provide the AmazonS3FullAccess permission
- Complete remaining steps and select Create Role
Input | Notes | Example |
---|---|---|
Access Key ID string / Required accessKeyId | An AWS IAM Access Key ID | AKIAIOSFODNN7EXAMPLE |
Role ARN string / Required roleARN | An AWS IAM Role ARN | arn:aws:iam::OtherAccount-ID:role/assumed-role-name |
Secret Access Key password / Required secretAccessKey | An AWS IAM Secret Access Key | wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY |
Triggers
Webhook
Trigger to handle SNS subscription for S3 event notifications | key: snsS3NotificationWebhook
To trigger an S3 webhook, first you need to set up event notifications by using a SNS topic subscription to receive notifications when something changes on an S3 bucket.
You can accomplish this by creating an integration flow using the next components in the same order:
Create Topic For S3 Event Notification
Use this component to create a new topic. This topic will act as a communication channel for receiving event notifications from the S3 bucket.
Update Topic Policy For S3 Event Notification
Use this component to modify the access policy of the previously created topic to grant permission to the S3 bucket to publish messages to the topic. This policy adjustment allows the S3 bucket to send event notifications to a topic.
Subscribe to Topic
Use this component to subscribe to the previously created topic. You should create another flow and include the S3 Webhook (snsS3NotificationWebhook
) get the flow URL and set it as the subscription's endpoint. This endpoint represents the Prismatic webhook that will be triggered when events occur in the S3 bucket. Note: S3 Webhook (snsS3NotificationWebhook
) takes care of confirming the subscription.
Bucket SNS Event Trigger Configuration
Use this component to configure the S3 bucket to generate event notifications when objects within it change. Specify the desired events such as object creation, deletion, or modification that should trigger the event.
With these steps, you have established a flow where changes to objects in the S3 bucket will trigger event notifications. These notifications are published to the created topic, which then delivers them to the subscribed Prismatic trigger endpoint. As a result, the Prismatic webhook URL is called, allowing you to process the events or perform custom actions in response to the changes in the S3 bucket.
Example Payload for Webhook
{
"payload": {
"headers": {
"Accept-Encoding": "gzip,deflate",
"Content-Type": "text/plain; charset=UTF-8",
"Host": "hooks.prismatic.io",
"User-Agent": "Amazon Simple Notification Service Agent",
"X-Amz-Cf-Id": "YniH-T5wsgLIDAZGQqoyBHaDGn7wn-6HLrba6tXoQPeWzF4kKBU12345",
"x-amz-sns-message-id": "bf30dd82-9ea0-5810-8856-80a8f5b12345",
"x-amz-sns-message-type": "Notification",
"x-amz-sns-subscription-arn": "arn:aws:sns:us-east-2:360110312345:TopicName:885a69c3-c9e8-4e60-95e0-eef25d212345",
"x-amz-sns-topic-arn": "arn:aws:sns:us-east-2:360110312345:TopicName",
"X-Amzn-Trace-Id": "Root=1-64b068d6-637723ca3d4d079c07112345"
},
"queryParameters": null,
"rawBody": "<data (1790 bytes)>",
"body": {
"data": {
"Type": "Notification",
"MessageId": "bf30dd82-9ea0-5810-8856-80a8f5b12345",
"TopicArn": "arn:aws:sns:us-east-2:360110312345:TopicName",
"Subject": "Amazon S3 Notification",
"Message": "{\"Records\":[{\"eventVersion\":\"2.1\",\"eventSource\":\"aws:s3\",\"awsRegion\":\"us-east-2\",\"eventTime\":\"2023-07-13T21:12:53.055Z\",\"eventName\":\"ObjectCreated:Put\",\"userIdentity\":{\"principalId\":\"AHAMUB6P64E3X\"},\"requestParameters\":{\"sourceIPAddress\":\"189.3.2.1\"},\"responseElements\":{\"x-amz-request-id\":\"F4SB1AW5GXE12345\",\"x-amz-id-2\":\"ushICMH5Uag/mHKtTGsdxqV3NqMCKvLQyZgw7qNrfKU/FeTaJhKmAO6Z+pG0DITDcmmIcXHB25nmOnxnsVxByqK8qVpFVrcvy+u0Swy12345\"},\"s3\":{\"s3SchemaVersion\":\"1.0\",\"configurationId\":\"EventName\",\"bucket\":{\"name\":\"bucketName\",\"ownerIdentity\":{\"principalId\":\"12345\"},\"arn\":\"arn:aws:s3:::bucketName\"},\"object\":{\"key\":\"test.docx\",\"size\":12551,\"eTag\":\"c8a35e0c8dc9b8a2b622339fa5b12345\",\"sequencer\":\"0064B068D4E19CDEAD\"}}}]}",
"Timestamp": "2023-07-13T21:12:54.505Z",
"SignatureVersion": "1",
"Signature": "ZlPxmNxGxhG05drIsJONhJw8bA8kW4XJ3zB5KjIfr7cMJX8iDkcyhI3T8ptn8Klc0InlwCkdmuV3HSWBL/RkwY47za5rFOXuHxuwKwCu4sbTiEfOnznoRnfYaq/hORp3Si4IIVpU2F7CVHfNOseiU1Ml+kktdHzf2rPBsD8iaWh7R9edtv9P0dZ5jrPV4dXDaIaqf5t/4FgCvYCoxcTqgaIfcL6EYtGmxSsTC3fc47OAjpTaj9mEeQ/c23P6pOYGchDwbE/Yl/Slioy9lk93pahRoUzukpbj8z5cJm9iGlT++v6O2ztwO/x12345",
"SigningCertURL": "https://sns.us-east-2.amazonaws.com/SimpleNotificationService-12345.pem",
"UnsubscribeURL": "https://sns.us-east-2.amazonaws.com/?Action=Unsubscribe&SubscriptionArn=arn:aws:sns:us-east-2:360110312345:TopicName:885a69c3-c9e8-4e60-95e0-eef212345"
}
},
"pathFragment": "",
"webhookUrls": {
"Flow 1": "https://hooks.prismatic.io/trigger/<WEBHOOK_ID>"
},
"webhookApiKeys": {
"Flow 1": [
"sample-api-key"
],
"SNS S3": [
"sample-api-key"
]
},
"invokeUrl": "https://hooks.prismatic.io/trigger/<WEBHOOK_ID>",
"executionId": "SW5zdGFuY2VFeGVjdXRpb25SZXN1bHQ6N2Y3NmJkNjctZjFkNS00YTU5LTliODEtN2JiZGJlNGM12345",
"customer": {
"id": "testCustomerId",
"name": "Test Customer",
"externalId": "testCustomerExternalId"
},
"instance": {
"id": "testInstanceId",
"name": "Test Instance"
},
"user": {
"id": "testUserId",
"email": "testUserEmail@example.com",
"name": "Test User",
"externalId": "testUserExternalId"
}
}
}
Data Sources
Select AWS Region
Select an AWS region | key: selectRegion | type: picklist
Select Bucket
Choose a bucket from a list | key: selectBucket | type: picklist
Input | Notes |
---|---|
Connection connection accessKey | Access keys provide programmatic access to access resources in AWS. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html. |
Dynamic Access Key ID string dynamicAccessKeyId | Use this input to authenticate with AWS if you are using a dynamically-generated access key. Otherwise, use the connection to enter a static access key ID. |
Dynamic Secret Access Key password dynamicSecretAccessKey | Use this input to authenticate with AWS if you are using a dynamically-generated secret access key. Otherwise, use the connection to enter a static secret access key. |
Dynamic Session Token password dynamicSessionToken | Use this input to authenticate with AWS if you are using a OPTIONAL dynamically-generated session token. |
Actions
Abort Multipart Upload
Abort a multipart upload | key: abortMultipartUpload
Input | Notes | Example |
---|---|---|
Connection connection accessKey | Access keys provide programmatic access to access resources in AWS. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html. | |
AWS Region string awsRegion | AWS provides services in multiple regions, like us-west-2 or eu-west-1. | us-east-1 |
Bucket Name string / Required bucket | An Amazon S3 'bucket' is a container where files are stored. You can create a bucket from within the AWS console. Bucket names contain only letters, numbers, and dashes. | my-s3-bucket-abc123 |
Dynamic Access Key ID string dynamicAccessKeyId | Use this input to authenticate with AWS if you are using a dynamically-generated access key. Otherwise, use the connection to enter a static access key ID. | |
Dynamic Secret Access Key password dynamicSecretAccessKey | Use this input to authenticate with AWS if you are using a dynamically-generated secret access key. Otherwise, use the connection to enter a static secret access key. | |
Dynamic Session Token password dynamicSessionToken | Use this input to authenticate with AWS if you are using a OPTIONAL dynamically-generated session token. | |
Object Key string / Required objectKey | An object in S3 is a file that is saved in a 'bucket'. This represents the object's key (file path). Do not include a leading /. | path/to/file.txt |
Upload ID string / Required uploadId | Multipart upload ID | xadcOB_7YPBOJuoFiQ9cz4P3Pe6FIZwO4f7wN93uHsNBEw97pl5eNwzExg0LAT2dUN91cOmrEQHDsP3WA60CEg |
Example Payload for Abort Multipart Upload
{
"data": {
"$metadata": {
"httpStatusCode": 204,
"requestId": "DZ1ZJB3H2JB1234",
"extendedRequestId": "0D9BDVoAGoHqu3dIW4WHmaO4kkiWecrbf0yLRMe/JmUfX7N/12345=",
"cfId": null,
"attempts": 1,
"totalRetryDelay": 0
}
}
}
Bucket SNS Event Trigger Configuration
Add events to send notifications to SNS Topic | key: bucketEventTriggerConfiguration
Input | Notes | Example |
---|---|---|
Connection connection awsConnection | Access keys provide programmatic access to access resources in AWS. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html. | |
AWS Region string awsRegion | AWS provides services in multiple regions, like us-west-2 or eu-west-1. | us-east-1 |
Bucket Name string / Required bucket | An Amazon S3 'bucket' is a container where files are stored. You can create a bucket from within the AWS console. Bucket names contain only letters, numbers, and dashes. | my-s3-bucket-abc123 |
Bucket Owner Account ID string / Required bucketOwnerAccountid | Provide the AWS Account ID of the bucket owner. It can be found in the account settings of the AWS console, or can be retrieved using the 'Get Current Account' action. | 012345678901 |
Dynamic Access Key ID string dynamicAccessKeyId | Use this input to authenticate with AWS if you are using a dynamically-generated access key. Otherwise, use the connection to enter a static access key ID. | |
Dynamic Secret Access Key password dynamicSecretAccessKey | Use this input to authenticate with AWS if you are using a dynamically-generated secret access key. Otherwise, use the connection to enter a static secret access key. | |
Dynamic Session Token password dynamicSessionToken | Use this input to authenticate with AWS if you are using a OPTIONAL dynamically-generated session token. | |
Event Notification Name string / Required eventNotificationName | Provide a string for the name of the event notification. | MyExampleEventNotification |
Event string / Required Value List eventsList | S3 Bucket change event type to trigger the webhook | s3:ObjectCreated:* |
SNS Topic ARN string / Required snsTopicArn | The Amazon Resource Name (ARN) of the topic. | arn:aws:sns:us-east-1:123456789012:MyExampleTopic |
Example Payload for Bucket SNS Event Trigger Configuration
{
"data": {
"$metadata": {
"httpStatusCode": 200,
"requestId": "73B4K590MABCMWV",
"extendedRequestId": "AHYlhdFxyrlbc3otaMb/gcjlmDEY+UT3xt7Vz6ZQ8F4B1234GZQSGN7D6yDV7mEC+U/1xU0pKc=",
"cfId": null,
"attempts": 1,
"totalRetryDelay": 0
}
}
}
Complete Multipart Upload
Complete a multipart upload | key: completeMultipartUpload
Input | Notes | Example |
---|---|---|
Connection connection accessKey | Access keys provide programmatic access to access resources in AWS. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html. | |
AWS Region string awsRegion | AWS provides services in multiple regions, like us-west-2 or eu-west-1. | us-east-1 |
Bucket Name string / Required bucket | An Amazon S3 'bucket' is a container where files are stored. You can create a bucket from within the AWS console. Bucket names contain only letters, numbers, and dashes. | my-s3-bucket-abc123 |
Dynamic Access Key ID string dynamicAccessKeyId | Use this input to authenticate with AWS if you are using a dynamically-generated access key. Otherwise, use the connection to enter a static access key ID. | |
Dynamic Secret Access Key password dynamicSecretAccessKey | Use this input to authenticate with AWS if you are using a dynamically-generated secret access key. Otherwise, use the connection to enter a static secret access key. | |
Dynamic Session Token password dynamicSessionToken | Use this input to authenticate with AWS if you are using a OPTIONAL dynamically-generated session token. | |
Object Key string / Required objectKey | An object in S3 is a file that is saved in a 'bucket'. This represents the object's key (file path). Do not include a leading /. | path/to/file.txt |
Parts data / Required parts | Use the List Parts action to get the list of parts. Reference the 'Parts' field from the List Parts action output at the input for this field. | |
Upload ID string / Required uploadId | Multipart upload ID | xadcOB_7YPBOJuoFiQ9cz4P3Pe6FIZwO4f7wN93uHsNBEw97pl5eNwzExg0LAT2dUN91cOmrEQHDsP3WA60CEg |
Example Payload for Complete Multipart Upload
{
"data": {
"$metadata": {
"httpStatusCode": 200,
"requestId": "GD4Y1XMZ6MFV1234",
"extendedRequestId": "Ego8CAUdYnt2THhZmBLnbfmTPY0HR8zA9rEMkSg+OB0t/uldGkuBlI6UF9X+123456=",
"cfId": null,
"attempts": 1,
"totalRetryDelay": 0
},
"ServerSideEncryption": "AES256",
"Bucket": "bucket-name",
"ETag": "\"d96cf49f8c439501eb19c4728712345-1\"",
"Key": "image.jpg",
"Location": "https://bucketname.s3.us-east-2.amazonaws.com/image.jpg"
}
}
Copy Object
Copy an object in S3 from one location to another | key: copyObject
Input | Notes | Example |
---|---|---|
Connection connection accessKey | Access keys provide programmatic access to access resources in AWS. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html. | |
ACL Permissions string acl | A set of canned ACL permissions to apply to the object. See https://docs.aws.amazon.com/AmazonS3/latest/userguide/acl-overview.html#canned-acl | |
AWS Region string awsRegion | AWS provides services in multiple regions, like us-west-2 or eu-west-1. | us-east-1 |
Destination Bucket Name string / Required destinationBucket | An Amazon S3 'bucket' is a container where files are stored. The destination bucket indicates the bucket where you want a file to be stored. If you are copying files within a single bucket, list the same bucket as the source and destination bucket. | my-destination-bucket |
Destination Key string / Required destinationKey | An object in S3 is a file that is saved in a 'bucket'. This represents the destination object's key (file path). Do not include a leading /. | path/to/destination/file.txt |
Dynamic Access Key ID string dynamicAccessKeyId | Use this input to authenticate with AWS if you are using a dynamically-generated access key. Otherwise, use the connection to enter a static access key ID. | |
Dynamic Secret Access Key password dynamicSecretAccessKey | Use this input to authenticate with AWS if you are using a dynamically-generated secret access key. Otherwise, use the connection to enter a static secret access key. | |
Dynamic Session Token password dynamicSessionToken | Use this input to authenticate with AWS if you are using a OPTIONAL dynamically-generated session token. | |
Source Bucket Name string / Required sourceBucket | An Amazon S3 'bucket' is a container where files are stored. The source bucket indicates the bucket containing the file you want to copy. If you are copying files within a single bucket, list the same bucket as the source and destination bucket. | my-source-bucket |
Source Key string / Required sourceKey | An object in S3 is a file that is saved in a 'bucket'. This represents the source object's key (file path). Do not include a leading /. | path/to/source/file.txt |
Example Payload for Copy Object
{
"data": {
"CopyObjectResult": {
"ETag": "Example",
"LastModified": "2020-01-01T00:00:00.000Z"
}
}
}
Create Multipart Upload
Create a multipart upload | key: createMultipartUpload
Input | Notes | Example |
---|---|---|
Connection connection accessKey | Access keys provide programmatic access to access resources in AWS. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html. | |
ACL Permissions string acl | A set of canned ACL permissions to apply to the object. See https://docs.aws.amazon.com/AmazonS3/latest/userguide/acl-overview.html#canned-acl | |
AWS Region string awsRegion | AWS provides services in multiple regions, like us-west-2 or eu-west-1. | us-east-1 |
Bucket Name string / Required bucket | An Amazon S3 'bucket' is a container where files are stored. You can create a bucket from within the AWS console. Bucket names contain only letters, numbers, and dashes. | my-s3-bucket-abc123 |
Dynamic Access Key ID string dynamicAccessKeyId | Use this input to authenticate with AWS if you are using a dynamically-generated access key. Otherwise, use the connection to enter a static access key ID. | |
Dynamic Secret Access Key password dynamicSecretAccessKey | Use this input to authenticate with AWS if you are using a dynamically-generated secret access key. Otherwise, use the connection to enter a static secret access key. | |
Dynamic Session Token password dynamicSessionToken | Use this input to authenticate with AWS if you are using a OPTIONAL dynamically-generated session token. | |
Object Key string / Required objectKey | An object in S3 is a file that is saved in a 'bucket'. This represents the object's key (file path). Do not include a leading /. | path/to/file.txt |
Object Tags string Key Value List tagging | Objects in an S3 bucket can be optionally tagged so you can filter for files more easily. For example, you may want to tag customers with a key of 'Customer Name' and value of 'Mars Missions Corp' | key: Customer Name, value: Mars Missions Corp |
Example Payload for Create Multipart Upload
{
"data": {
"$metadata": {
"httpStatusCode": 200,
"requestId": "J4Q9AY99DPMR1234",
"extendedRequestId": "P59zKeH2C4Jz3VAC1I+12345Gty4d4gyl9JYQmc4udM6bCB6w/MEg8AKKWUuBH1x0EU2dufwkw=",
"cfId": null,
"attempts": 1,
"totalRetryDelay": 0
},
"ServerSideEncryption": "AES256",
"Bucket": "bucket-name",
"Key": "file.txt",
"UploadId": "9DWJzLdFIcK05G2Yq.TNhJbCU57dDZyIRlO_tHcdFgYqWQgtu6XdASs7h.DJlcWk2M9vmEx72gXcS8q5SBu_12345ccg-"
}
}
Create SNS Topic For S3 Event Notification
Create an Amazon SNS Topic to be used with S3 Event Notifications | key: createTopic
Input | Notes | Example |
---|---|---|
Connection connection awsConnection | Access keys provide programmatic access to access resources in AWS. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html. | |
AWS Region string awsRegion | AWS provides services in multiple regions, like us-west-2 or eu-west-1. | us-east-1 |
Dynamic Access Key ID string dynamicAccessKeyId | Use this input to authenticate with AWS if you are using a dynamically-generated access key. Otherwise, use the connection to enter a static access key ID. | |
Dynamic Secret Access Key password dynamicSecretAccessKey | Use this input to authenticate with AWS if you are using a dynamically-generated secret access key. Otherwise, use the connection to enter a static secret access key. | |
Dynamic Session Token password dynamicSessionToken | Use this input to authenticate with AWS if you are using a OPTIONAL dynamically-generated session token. | |
Name string / Required name | Provide a string for the name of the topic. | MyExampleTopic |
Example Payload for Create SNS Topic For S3 Event Notification
{
"data": {
"TopicArn": "arn:aws:Example Topic Arn"
}
}
Delete Bucket
Deletes the S3 bucket. All objects in the bucket must be deleted before the bucket itself can be deleted | key: deleteBucket
Input | Notes | Example |
---|---|---|
Connection connection accessKey | Access keys provide programmatic access to access resources in AWS. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html. | |
AWS Region string awsRegion | AWS provides services in multiple regions, like us-west-2 or eu-west-1. | us-east-1 |
Bucket Name string / Required bucket | An Amazon S3 'bucket' is a container where files are stored. You can create a bucket from within the AWS console. Bucket names contain only letters, numbers, and dashes. | my-s3-bucket-abc123 |
Dynamic Access Key ID string dynamicAccessKeyId | Use this input to authenticate with AWS if you are using a dynamically-generated access key. Otherwise, use the connection to enter a static access key ID. | |
Dynamic Secret Access Key password dynamicSecretAccessKey | Use this input to authenticate with AWS if you are using a dynamically-generated secret access key. Otherwise, use the connection to enter a static secret access key. | |
Dynamic Session Token password dynamicSessionToken | Use this input to authenticate with AWS if you are using a OPTIONAL dynamically-generated session token. |
Example Payload for Delete Bucket
{
"data": {
"$metadata": {
"httpStatusCode": 204,
"requestId": "CBD415E7",
"extendedRequestId": "WXvHrStedS7jFJZVw0Pt1LH3K3Nn99XFGuyELkK7UQANs3IOHs9GsR=",
"cfId": null,
"attempts": 1,
"totalRetryDelay": 0
}
}
}
Delete Object
Delete an Object within an S3 Bucket | key: deleteObject
Input | Notes | Example |
---|---|---|
Connection connection accessKey | Access keys provide programmatic access to access resources in AWS. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html. | |
AWS Region string awsRegion | AWS provides services in multiple regions, like us-west-2 or eu-west-1. | us-east-1 |
Bucket Name string / Required bucket | An Amazon S3 'bucket' is a container where files are stored. You can create a bucket from within the AWS console. Bucket names contain only letters, numbers, and dashes. | my-s3-bucket-abc123 |
Dynamic Access Key ID string dynamicAccessKeyId | Use this input to authenticate with AWS if you are using a dynamically-generated access key. Otherwise, use the connection to enter a static access key ID. | |
Dynamic Secret Access Key password dynamicSecretAccessKey | Use this input to authenticate with AWS if you are using a dynamically-generated secret access key. Otherwise, use the connection to enter a static secret access key. | |
Dynamic Session Token password dynamicSessionToken | Use this input to authenticate with AWS if you are using a OPTIONAL dynamically-generated session token. | |
Object Key string / Required objectKey | An object in S3 is a file that is saved in a 'bucket'. This represents the object's key (file path). Do not include a leading /. | path/to/file.txt |
Example Payload for Delete Object
{
"data": {
"DeleteMarker": true,
"VersionId": "3/L4kqtJlcpXroDTDmJ+rmSpXd3dIbrHY+MTRCxf3vjVBH40Nr8X8gdRQBpUMLUo",
"RequestCharged": "requester"
}
}
Delete Objects
Delete multiple objects from a bucket | key: deleteObjects
Input | Notes | Example |
---|---|---|
Connection connection accessKey | Access keys provide programmatic access to access resources in AWS. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html. | |
AWS Region string awsRegion | AWS provides services in multiple regions, like us-west-2 or eu-west-1. | us-east-1 |
Bucket Name string / Required bucket | An Amazon S3 'bucket' is a container where files are stored. You can create a bucket from within the AWS console. Bucket names contain only letters, numbers, and dashes. | my-s3-bucket-abc123 |
Dynamic Access Key ID string dynamicAccessKeyId | Use this input to authenticate with AWS if you are using a dynamically-generated access key. Otherwise, use the connection to enter a static access key ID. | |
Dynamic Secret Access Key password dynamicSecretAccessKey | Use this input to authenticate with AWS if you are using a dynamically-generated secret access key. Otherwise, use the connection to enter a static secret access key. | |
Dynamic Session Token password dynamicSessionToken | Use this input to authenticate with AWS if you are using a OPTIONAL dynamically-generated session token. | |
Object Keys string / Required Value List objectKeys | A list of object keys to delete. These are the file paths of the objects you want to delete. Do not include a leading /. | path/to/file1.txt |
Example Payload for Delete Objects
{
"data": {
"$metadata": {
"httpStatusCode": 200,
"requestId": "FAQAVT",
"extendedRequestId": "T/nk6UtPuVs11K6ji59C8phr==",
"cfId": null,
"attempts": 1,
"totalRetryDelay": 0
},
"Deleted": [
{
"Key": "file.csv"
},
{
"Key": "audio.mp3"
}
]
}
}
Generate Presigned URL
Generate a presigned URL that can be used to upload or download an object in S3 | key: generatePresignedUrl
Input | Default | Notes | Example |
---|---|---|---|
Connection connection accessKey | Access keys provide programmatic access to access resources in AWS. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html. | ||
Action (Download or Upload) string / Required actionType | download | Should this URL allow a user to upload or download an object? | |
AWS Region string awsRegion | AWS provides services in multiple regions, like us-west-2 or eu-west-1. | us-east-1 | |
Bucket Name string / Required bucket | An Amazon S3 'bucket' is a container where files are stored. You can create a bucket from within the AWS console. Bucket names contain only letters, numbers, and dashes. | my-s3-bucket-abc123 | |
Dynamic Access Key ID string dynamicAccessKeyId | Use this input to authenticate with AWS if you are using a dynamically-generated access key. Otherwise, use the connection to enter a static access key ID. | ||
Dynamic Secret Access Key password dynamicSecretAccessKey | Use this input to authenticate with AWS if you are using a dynamically-generated secret access key. Otherwise, use the connection to enter a static secret access key. | ||
Dynamic Session Token password dynamicSessionToken | Use this input to authenticate with AWS if you are using a OPTIONAL dynamically-generated session token. | ||
Expiration Seconds string / Required expirationSeconds | 3600 | This presigned URL will expire in this many seconds | |
Object Key string / Required objectKey | An object in S3 is a file that is saved in a 'bucket'. This represents the object's key (file path). Do not include a leading /. | path/to/file.txt |
Example Payload for Generate Presigned URL
{
"data": "https://my-bucket.s3.us-east-2.amazonaws.com/my-file.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256..."
}
Generate Presigned URL for Multipart Uploads
Generate presigned URL's that can be used to upload or download an object in S3 | key: generatePresignedForMultiparUploads
Input | Default | Notes | Example |
---|---|---|---|
Connection connection accessKey | Access keys provide programmatic access to access resources in AWS. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html. | ||
AWS Region string awsRegion | AWS provides services in multiple regions, like us-west-2 or eu-west-1. | us-east-1 | |
Bucket Name string / Required bucket | An Amazon S3 'bucket' is a container where files are stored. You can create a bucket from within the AWS console. Bucket names contain only letters, numbers, and dashes. | my-s3-bucket-abc123 | |
Dynamic Access Key ID string dynamicAccessKeyId | Use this input to authenticate with AWS if you are using a dynamically-generated access key. Otherwise, use the connection to enter a static access key ID. | ||
Dynamic Secret Access Key password dynamicSecretAccessKey | Use this input to authenticate with AWS if you are using a dynamically-generated secret access key. Otherwise, use the connection to enter a static secret access key. | ||
Dynamic Session Token password dynamicSessionToken | Use this input to authenticate with AWS if you are using a OPTIONAL dynamically-generated session token. | ||
Expiration Seconds string / Required expirationSeconds | 3600 | This presigned URL will expire in this many seconds | |
Object Key string / Required objectKey | An object in S3 is a file that is saved in a 'bucket'. This represents the object's key (file path). Do not include a leading /. | path/to/file.txt | |
Upload ID string / Required uploadId | Multipart upload ID | xadcOB_7YPBOJuoFiQ9cz4P3Pe6FIZwO4f7wN93uHsNBEw97pl5eNwzExg0LAT2dUN91cOmrEQHDsP3WA60CEg | |
Urls to Generate string / Required urlsToGenerate | 5 | The amount of urls to generate | 5 |
Example Payload for Generate Presigned URL for Multipart Uploads
{
"data": [
{
"url": "https://my-bucket.s3.us-east-2.amazonaws.com/my-file.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256...",
"partNumber": 1
}
]
}
Get Bucket Location
Get the location (AWS region) of a bucket by name | key: getBucketLocation
Input | Notes | Example |
---|---|---|
Connection connection accessKey | Access keys provide programmatic access to access resources in AWS. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html. | |
Bucket Name string / Required bucket | An Amazon S3 'bucket' is a container where files are stored. You can create a bucket from within the AWS console. Bucket names contain only letters, numbers, and dashes. | my-s3-bucket-abc123 |
Dynamic Access Key ID string dynamicAccessKeyId | Use this input to authenticate with AWS if you are using a dynamically-generated access key. Otherwise, use the connection to enter a static access key ID. | |
Dynamic Secret Access Key password dynamicSecretAccessKey | Use this input to authenticate with AWS if you are using a dynamically-generated secret access key. Otherwise, use the connection to enter a static secret access key. | |
Dynamic Session Token password dynamicSessionToken | Use this input to authenticate with AWS if you are using a OPTIONAL dynamically-generated session token. |
Example Payload for Get Bucket Location
{
"data": "us-east-1"
}
Get Bucket Notification Configuration
Returns the notification configuration of a bucket | key: getBucketNotificationConfiguration
Input | Notes | Example |
---|---|---|
Connection connection accessKey | Access keys provide programmatic access to access resources in AWS. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html. | |
AWS Region string awsRegion | AWS provides services in multiple regions, like us-west-2 or eu-west-1. | us-east-1 |
Bucket Name string / Required bucket | An Amazon S3 'bucket' is a container where files are stored. You can create a bucket from within the AWS console. Bucket names contain only letters, numbers, and dashes. | my-s3-bucket-abc123 |
Dynamic Access Key ID string dynamicAccessKeyId | Use this input to authenticate with AWS if you are using a dynamically-generated access key. Otherwise, use the connection to enter a static access key ID. | |
Dynamic Secret Access Key password dynamicSecretAccessKey | Use this input to authenticate with AWS if you are using a dynamically-generated secret access key. Otherwise, use the connection to enter a static secret access key. | |
Dynamic Session Token password dynamicSessionToken | Use this input to authenticate with AWS if you are using a OPTIONAL dynamically-generated session token. |
Example Payload for Get Bucket Notification Configuration
{
"data": {
"$metadata": {
"httpStatusCode": 200,
"requestId": "2KMYXFM4GHPES",
"extendedRequestId": "dLu9EloFaZ2UeACk5l4IovjfHXHTkM7kFLdThrbIJIjn05dgO7bdU3TUJ7/8DzZvcQ==",
"cfId": null,
"attempts": 1,
"totalRetryDelay": 0
},
"LambdaFunctionConfigurations": [
{
"Id": "Lambda",
"LambdaFunctionArn": "arn:aws:lambda:us-east-2:1234:function:Function",
"Events": [
"s3:ObjectRemoved:*"
]
}
],
"QueueConfigurations": [
{
"Id": "Queue",
"QueueArn": "arn:aws:sqs:us-east-2:1234:Queue",
"Events": [
"s3:ObjectCreated:*"
]
}
],
"TopicConfigurations": [
{
"Id": "Topic",
"TopicArn": "arn:aws:sns:us-east-2:1234:Topic",
"Events": [
"s3:ObjectRestore:*"
]
}
]
}
}
Get Current Account
Get the current AWS account | key: getCurrentAccount
Input | Notes |
---|---|
Connection connection accessKey | Access keys provide programmatic access to access resources in AWS. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html. |
Dynamic Access Key ID string dynamicAccessKeyId | Use this input to authenticate with AWS if you are using a dynamically-generated access key. Otherwise, use the connection to enter a static access key ID. |
Dynamic Secret Access Key password dynamicSecretAccessKey | Use this input to authenticate with AWS if you are using a dynamically-generated secret access key. Otherwise, use the connection to enter a static secret access key. |
Dynamic Session Token password dynamicSessionToken | Use this input to authenticate with AWS if you are using a OPTIONAL dynamically-generated session token. |
Example Payload for Get Current Account
{
"data": {
"$metadata": {},
"Account": "123456789012",
"Arn": "arn:aws:iam::123456789012:user/Alice",
"UserId": "ABCDEFGHIJKLMNOP:ABCDEFGHIJKLMNOP"
}
}
Get Object
Get the contents of an object | key: getObject
Input | Notes | Example |
---|---|---|
Connection connection accessKey | Access keys provide programmatic access to access resources in AWS. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html. | |
AWS Region string awsRegion | AWS provides services in multiple regions, like us-west-2 or eu-west-1. | us-east-1 |
Bucket Name string / Required bucket | An Amazon S3 'bucket' is a container where files are stored. You can create a bucket from within the AWS console. Bucket names contain only letters, numbers, and dashes. | my-s3-bucket-abc123 |
Dynamic Access Key ID string dynamicAccessKeyId | Use this input to authenticate with AWS if you are using a dynamically-generated access key. Otherwise, use the connection to enter a static access key ID. | |
Dynamic Secret Access Key password dynamicSecretAccessKey | Use this input to authenticate with AWS if you are using a dynamically-generated secret access key. Otherwise, use the connection to enter a static secret access key. | |
Dynamic Session Token password dynamicSessionToken | Use this input to authenticate with AWS if you are using a OPTIONAL dynamically-generated session token. | |
Object Key string / Required objectKey | An object in S3 is a file that is saved in a 'bucket'. This represents the object's key (file path). Do not include a leading /. | path/to/file.txt |
Example Payload for Get Object
{
"data": {
"type": "Buffer",
"data": [
69,
120,
97,
109,
112,
108,
101,
32,
70,
105,
108,
101,
32,
67,
111,
110,
116,
101,
110,
116,
115
]
},
"contentType": "application/octet"
}
Get Object Attributes
Retrieves all the metadata from an object without returning the object itself | key: getObjectAttributes
Input | Notes | Example |
---|---|---|
Connection connection accessKey | Access keys provide programmatic access to access resources in AWS. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html. | |
AWS Region string awsRegion | AWS provides services in multiple regions, like us-west-2 or eu-west-1. | us-east-1 |
Bucket Name string / Required bucket | An Amazon S3 'bucket' is a container where files are stored. You can create a bucket from within the AWS console. Bucket names contain only letters, numbers, and dashes. | my-s3-bucket-abc123 |
Dynamic Access Key ID string dynamicAccessKeyId | Use this input to authenticate with AWS if you are using a dynamically-generated access key. Otherwise, use the connection to enter a static access key ID. | |
Dynamic Secret Access Key password dynamicSecretAccessKey | Use this input to authenticate with AWS if you are using a dynamically-generated secret access key. Otherwise, use the connection to enter a static secret access key. | |
Dynamic Session Token password dynamicSessionToken | Use this input to authenticate with AWS if you are using a OPTIONAL dynamically-generated session token. | |
Object Attributes string / Required Value List objectAttributes | Specifies the fields at the root level that you want returned in the response. Fields that you do not specify are not returned. | |
Object Key string / Required objectKey | An object in S3 is a file that is saved in a 'bucket'. This represents the object's key (file path). Do not include a leading /. | path/to/file.txt |
Version ID string versionId | The version ID for the object whose metadata you want to retrieve. | AMn71WZYnWqbvfy0unBOdtaBC.DRiN_r |
Example Payload for Get Object Attributes
{
"data": {
"$metadata": {
"httpStatusCode": 200,
"requestId": "0AJN29JBC3D5BNB6",
"extendedRequestId": "sVW4/xKq7DkMI8kgvbJUNWbzzZ9H6GKqyVocDm3uE4y7dZ6GmZcFrIC9MPGDjSNXMMn8CtLO8Vy0SxOcNOwl2A==",
"cfId": null,
"attempts": 1,
"totalRetryDelay": 0
},
"LastModified": "2024-03-08T22:20:41.000Z",
"VersionId": "0Ec_RdbYOEQ1Un2HllBJbGG758RS3UuZ",
"ObjectSize": 515400
}
}
Get Object Lock Configuration
Gets the Object Lock configuration for a bucket | key: getObjectLockConfiguration
Input | Notes | Example |
---|---|---|
Connection connection accessKey | Access keys provide programmatic access to access resources in AWS. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html. | |
AWS Region string awsRegion | AWS provides services in multiple regions, like us-west-2 or eu-west-1. | us-east-1 |
Bucket Name string / Required bucket | An Amazon S3 'bucket' is a container where files are stored. You can create a bucket from within the AWS console. Bucket names contain only letters, numbers, and dashes. | my-s3-bucket-abc123 |
Dynamic Access Key ID string dynamicAccessKeyId | Use this input to authenticate with AWS if you are using a dynamically-generated access key. Otherwise, use the connection to enter a static access key ID. | |
Dynamic Secret Access Key password dynamicSecretAccessKey | Use this input to authenticate with AWS if you are using a dynamically-generated secret access key. Otherwise, use the connection to enter a static secret access key. | |
Dynamic Session Token password dynamicSessionToken | Use this input to authenticate with AWS if you are using a OPTIONAL dynamically-generated session token. |
Example Payload for Get Object Lock Configuration
{
"data": {
"$metadata": {
"httpStatusCode": 200,
"requestId": "J58R459KF4NH",
"extendedRequestId": "YLfHsBUyeXU06tYjF7ZLX7f7JhBL1FFZhA/UZKUr4WNTy0OHDOjYN=",
"cfId": null,
"attempts": 1,
"totalRetryDelay": 0
},
"ObjectLockConfiguration": {
"ObjectLockEnabled": "Enabled",
"Rule": {
"DefaultRetention": {
"Mode": "GOVERNANCE",
"Years": 2
}
}
}
}
}
Get Object Retention
Retrieves an object's retention settings | key: getObjectRetention
Input | Notes | Example |
---|---|---|
Connection connection accessKey | Access keys provide programmatic access to access resources in AWS. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html. | |
AWS Region string awsRegion | AWS provides services in multiple regions, like us-west-2 or eu-west-1. | us-east-1 |
Bucket Name string / Required bucket | An Amazon S3 'bucket' is a container where files are stored. You can create a bucket from within the AWS console. Bucket names contain only letters, numbers, and dashes. | my-s3-bucket-abc123 |
Dynamic Access Key ID string dynamicAccessKeyId | Use this input to authenticate with AWS if you are using a dynamically-generated access key. Otherwise, use the connection to enter a static access key ID. | |
Dynamic Secret Access Key password dynamicSecretAccessKey | Use this input to authenticate with AWS if you are using a dynamically-generated secret access key. Otherwise, use the connection to enter a static secret access key. | |
Dynamic Session Token password dynamicSessionToken | Use this input to authenticate with AWS if you are using a OPTIONAL dynamically-generated session token. | |
Object Key string / Required objectKey | An object in S3 is a file that is saved in a 'bucket'. This represents the object's key (file path). Do not include a leading /. | path/to/file.txt |
Version ID string versionId | The version ID for the object whose retention settings you want to retrieve. | AMn71WZYnWqbvfy0unBOdtaBC.DRiN_r |
Example Payload for Get Object Retention
{
"data": {
"$metadata": {
"httpStatusCode": 200,
"requestId": "88W3KJSMC9E",
"extendedRequestId": "aJ3Rpb+v2F6Fqy47J6fWoPPCqe+LC8UX8vo5x3KK/YhN/=",
"cfId": null,
"attempts": 1,
"totalRetryDelay": 0
},
"Retention": {
"Mode": "COMPLIANCE",
"RetainUntilDate": "2024-08-25T20:00:00.000Z"
}
}
}
Head Bucket
Determine if a bucket exists and if you have permission to access it | key: headBucket
Input | Notes | Example |
---|---|---|
Connection connection accessKey | Access keys provide programmatic access to access resources in AWS. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html. | |
AWS Region string awsRegion | AWS provides services in multiple regions, like us-west-2 or eu-west-1. | us-east-1 |
Bucket Name string / Required bucket | An Amazon S3 'bucket' is a container where files are stored. You can create a bucket from within the AWS console. Bucket names contain only letters, numbers, and dashes. | my-s3-bucket-abc123 |
Dynamic Access Key ID string dynamicAccessKeyId | Use this input to authenticate with AWS if you are using a dynamically-generated access key. Otherwise, use the connection to enter a static access key ID. | |
Dynamic Secret Access Key password dynamicSecretAccessKey | Use this input to authenticate with AWS if you are using a dynamically-generated secret access key. Otherwise, use the connection to enter a static secret access key. | |
Dynamic Session Token password dynamicSessionToken | Use this input to authenticate with AWS if you are using a OPTIONAL dynamically-generated session token. |
Example Payload for Head Bucket
{
"data": {
"$metadata": {
"httpStatusCode": 200,
"requestId": "A6R8PTRGRVGVB123",
"extendedRequestId": "O1lqC0pMNa1+juScFrJbqgtJDQgkqvkcWDvLPfmcZBQNbxe+Bl4JE0WeIuswg/123456==",
"cfId": null,
"attempts": 1,
"totalRetryDelay": 0
}
}
}
Head Object
Retrieve metadata from an object without returning the object itself | key: headObject
Input | Notes | Example |
---|---|---|
Connection connection accessKey | Access keys provide programmatic access to access resources in AWS. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html. | |
AWS Region string awsRegion | AWS provides services in multiple regions, like us-west-2 or eu-west-1. | us-east-1 |
Bucket Name string / Required bucket | An Amazon S3 'bucket' is a container where files are stored. You can create a bucket from within the AWS console. Bucket names contain only letters, numbers, and dashes. | my-s3-bucket-abc123 |
Dynamic Access Key ID string dynamicAccessKeyId | Use this input to authenticate with AWS if you are using a dynamically-generated access key. Otherwise, use the connection to enter a static access key ID. | |
Dynamic Secret Access Key password dynamicSecretAccessKey | Use this input to authenticate with AWS if you are using a dynamically-generated secret access key. Otherwise, use the connection to enter a static secret access key. | |
Dynamic Session Token password dynamicSessionToken | Use this input to authenticate with AWS if you are using a OPTIONAL dynamically-generated session token. | |
Object Key string / Required objectKey | An object in S3 is a file that is saved in a 'bucket'. This represents the object's key (file path). Do not include a leading /. | path/to/file.txt |
Example Payload for Head Object
{
"data": {
"$metadata": {
"httpStatusCode": 200,
"requestId": "2GNCNQ9QYJF91H2H3",
"extendedRequestId": "20td2yhMFyFEFYm7Wh+P+qr8DDva152du5KA+JFU7ZRuHWLFZZxdLCOVfnMF41K2BYQ/12345=",
"cfId": null,
"attempts": 1,
"totalRetryDelay": 0
},
"AcceptRanges": "bytes",
"LastModified": "2021-08-25T20:00:00.000Z",
"ContentLength": 65338,
"ETag": "\"266b7131485849fcefe583dcce654321\"",
"ContentType": "image/jpeg",
"ServerSideEncryption": "AES256",
"Metadata": {}
}
}
List Buckets
List all buckets in an AWS account | key: listBuckets
Input | Notes | Example |
---|---|---|
Connection connection accessKey | Access keys provide programmatic access to access resources in AWS. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html. | |
AWS Region string awsRegion | AWS provides services in multiple regions, like us-west-2 or eu-west-1. | us-east-1 |
Dynamic Access Key ID string dynamicAccessKeyId | Use this input to authenticate with AWS if you are using a dynamically-generated access key. Otherwise, use the connection to enter a static access key ID. | |
Dynamic Secret Access Key password dynamicSecretAccessKey | Use this input to authenticate with AWS if you are using a dynamically-generated secret access key. Otherwise, use the connection to enter a static secret access key. | |
Dynamic Session Token password dynamicSessionToken | Use this input to authenticate with AWS if you are using a OPTIONAL dynamically-generated session token. |
Example Payload for List Buckets
{
"data": [
{
"Name": "bucket-1",
"CreationDate": "2024-03-08T23:30:22.000Z"
}
]
}
List Multipart Uploads
Lists in-progress multipart uploads in a bucket | key: listMultipartUploads
Input | Notes | Example |
---|---|---|
Connection connection accessKey | Access keys provide programmatic access to access resources in AWS. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html. | |
AWS Region string awsRegion | AWS provides services in multiple regions, like us-west-2 or eu-west-1. | us-east-1 |
Bucket Name string / Required bucket | An Amazon S3 'bucket' is a container where files are stored. You can create a bucket from within the AWS console. Bucket names contain only letters, numbers, and dashes. | my-s3-bucket-abc123 |
Dynamic Access Key ID string dynamicAccessKeyId | Use this input to authenticate with AWS if you are using a dynamically-generated access key. Otherwise, use the connection to enter a static access key ID. | |
Dynamic Secret Access Key password dynamicSecretAccessKey | Use this input to authenticate with AWS if you are using a dynamically-generated secret access key. Otherwise, use the connection to enter a static secret access key. | |
Dynamic Session Token password dynamicSessionToken | Use this input to authenticate with AWS if you are using a OPTIONAL dynamically-generated session token. |
Example Payload for List Multipart Uploads
{
"data": {
"$metadata": {
"httpStatusCode": 200,
"requestId": "MSB2RAFETTBCQ123",
"extendedRequestId": "Ax6cjVx4lugZGOI+yo3dApqbvrtLD3U",
"cfId": null,
"attempts": 1,
"totalRetryDelay": 0
},
"Bucket": "some-bucket",
"IsTruncated": false,
"KeyMarker": "",
"MaxUploads": 1000,
"NextKeyMarker": "file.txt",
"NextUploadIdMarker": "itQ2Dw8eMZ01dGiwRIj2dwDqpx",
"UploadIdMarker": "",
"Uploads": [
{
"UploadId": "hbZQmDNtym9xtdh8XwgT7Ys..FkRWJfV0MUgmNWg",
"Key": "new_file.txt",
"Initiated": "2024-01-25T16:06:31.000Z",
"StorageClass": "STANDARD",
"Owner": {
"ID": "0edc4b00d"
},
"Initiator": {
"ID": "0edc4b00d"
}
}
]
}
}
List Objects
List Objects in a Bucket | key: listObjects
Input | Default | Notes | Example |
---|---|---|---|
Connection connection accessKey | Access keys provide programmatic access to access resources in AWS. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html. | ||
AWS Region string awsRegion | AWS provides services in multiple regions, like us-west-2 or eu-west-1. | us-east-1 | |
Bucket Name string / Required bucket | An Amazon S3 'bucket' is a container where files are stored. You can create a bucket from within the AWS console. Bucket names contain only letters, numbers, and dashes. | my-s3-bucket-abc123 | |
Continuation Token string continuationToken | Specify the pagination token that's returned by a previous request to retrieve the next page of results | lslTXFcbLQKkb0vP9Kgh5hy0Y0OnC7Z9ZPHPwPmMnxSk3eiDRMkct7D8E | |
Dynamic Access Key ID string dynamicAccessKeyId | Use this input to authenticate with AWS if you are using a dynamically-generated access key. Otherwise, use the connection to enter a static access key ID. | ||
Dynamic Secret Access Key password dynamicSecretAccessKey | Use this input to authenticate with AWS if you are using a dynamically-generated secret access key. Otherwise, use the connection to enter a static secret access key. | ||
Dynamic Session Token password dynamicSessionToken | Use this input to authenticate with AWS if you are using a OPTIONAL dynamically-generated session token. | ||
Include Metadata boolean / Required includeMetadata | false | By default, this action returns a list of object keys. When this is set to true, additional metadata about each object is returned, along with pagination information. | |
Max Keys string maxKeys | Provide an integer value for the maximum amount of items that will be returned. Provide a value from 1 to 1000. | 1000 | |
Prefix string prefix | List only objects prefixed with this string. For example, if you only want files in a directory called 'unprocessed', you can enter 'unprocessed/'. If this is left blank, all files in the selected bucket will be listed. | path/to/files/ |
Example Payload for List Objects
{
"data": [
"Example Item 1",
"Example Item 2",
"Example Item 3"
]
}
List Parts
List parts of a multipart upload | key: listParts
Input | Notes | Example |
---|---|---|
Connection connection accessKey | Access keys provide programmatic access to access resources in AWS. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html. | |
AWS Region string awsRegion | AWS provides services in multiple regions, like us-west-2 or eu-west-1. | us-east-1 |
Bucket Name string / Required bucket | An Amazon S3 'bucket' is a container where files are stored. You can create a bucket from within the AWS console. Bucket names contain only letters, numbers, and dashes. | my-s3-bucket-abc123 |
Dynamic Access Key ID string dynamicAccessKeyId | Use this input to authenticate with AWS if you are using a dynamically-generated access key. Otherwise, use the connection to enter a static access key ID. | |
Dynamic Secret Access Key password dynamicSecretAccessKey | Use this input to authenticate with AWS if you are using a dynamically-generated secret access key. Otherwise, use the connection to enter a static secret access key. | |
Dynamic Session Token password dynamicSessionToken | Use this input to authenticate with AWS if you are using a OPTIONAL dynamically-generated session token. | |
Object Key string / Required objectKey | An object in S3 is a file that is saved in a 'bucket'. This represents the object's key (file path). Do not include a leading /. | path/to/file.txt |
Upload ID string / Required uploadId | Multipart upload ID | xadcOB_7YPBOJuoFiQ9cz4P3Pe6FIZwO4f7wN93uHsNBEw97pl5eNwzExg0LAT2dUN91cOmrEQHDsP3WA60CEg |
Example Payload for List Parts
{
"data": {
"$metadata": {
"httpStatusCode": 200,
"requestId": "3Z9CNHKT01WVE123",
"extendedRequestId": "AYcUJyiexeUBBf5Uynsj4m1PojM18tHSxlyKMWzjM+123456=",
"cfId": null,
"attempts": 1,
"totalRetryDelay": 0
},
"Bucket": "bucket-name",
"Initiator": {
"ID": "0edc4b00d1bfae1ebe33617c5cfe04e17b6f1fb9c5c2c55796123456"
},
"IsTruncated": false,
"Key": "image.jpg",
"MaxParts": 1000,
"NextPartNumberMarker": "1",
"Owner": {
"ID": "0edc4b00d1bfae1ebe33617c5cfe04e17b6f1fb9c5c2c55796123456"
},
"PartNumberMarker": "0",
"Parts": [
{
"PartNumber": 1,
"LastModified": "2024-03-11T23:47:51.000Z",
"ETag": "\"266b7131485849fcefe583dcce071234\"",
"Size": 65338
}
],
"StorageClass": "STANDARD",
"UploadId": "iHtFwRT6d6IAPwGTlT6tO1iBApulQGCA2sG7yn_BzUKItrnLrWykCbDheQBJrb1MUGHgGfihOY07XfnCeU2CWCZM0kD6VbyC46MJ4123456-"
}
}
Put Bucket Notification Configuration
Replace an existing bucket notification configuration with a new one | key: putBucketNotificationConfiguration
Input | Default | Notes | Example |
---|---|---|---|
Connection connection accessKey | Access keys provide programmatic access to access resources in AWS. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html. | ||
AWS Region string awsRegion | AWS provides services in multiple regions, like us-west-2 or eu-west-1. | us-east-1 | |
Bucket Name string / Required bucket | An Amazon S3 'bucket' is a container where files are stored. You can create a bucket from within the AWS console. Bucket names contain only letters, numbers, and dashes. | my-s3-bucket-abc123 | |
Dynamic Access Key ID string dynamicAccessKeyId | Use this input to authenticate with AWS if you are using a dynamically-generated access key. Otherwise, use the connection to enter a static access key ID. | ||
Dynamic Secret Access Key password dynamicSecretAccessKey | Use this input to authenticate with AWS if you are using a dynamically-generated secret access key. Otherwise, use the connection to enter a static secret access key. | ||
Dynamic Session Token password dynamicSessionToken | Use this input to authenticate with AWS if you are using a OPTIONAL dynamically-generated session token. | ||
EventBridge Configuration code eventBridgeConfiguration | EventBridge configuration to be added to the bucket notification configuration. | ||
Lambda Function Configurations code lambdaFunctionConfigurations | List of Lambda Function configurations to be added to the bucket notification configuration. | ||
Queue Configurations code queueConfigurations | List of Queue configurations to be added to the bucket notification configuration. | ||
Topic Configurations code topicConfigurations | List of Topic configurations to be added to the bucket notification configuration. |
Example Payload for Put Bucket Notification Configuration
{
"data": {
"$metadata": {
"httpStatusCode": 200,
"requestId": "3G6FNXP71KGVQ",
"extendedRequestId": "epeRYyT9tl3QOMTMck4AG+NqmGa5fRKv5nME7gRl8KMxfnCAKWZzKbWVKp4ED7RaZIGvVcS=",
"cfId": null,
"attempts": 1,
"totalRetryDelay": 0
}
}
}
Put Object
Write an object to S3 | key: putObject
Input | Notes | Example |
---|---|---|
Connection connection accessKey | Access keys provide programmatic access to access resources in AWS. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html. | |
ACL Permissions string acl | A set of canned ACL permissions to apply to the object. See https://docs.aws.amazon.com/AmazonS3/latest/userguide/acl-overview.html#canned-acl | |
AWS Region string awsRegion | AWS provides services in multiple regions, like us-west-2 or eu-west-1. | us-east-1 |
Bucket Name string / Required bucket | An Amazon S3 'bucket' is a container where files are stored. You can create a bucket from within the AWS console. Bucket names contain only letters, numbers, and dashes. | my-s3-bucket-abc123 |
Dynamic Access Key ID string dynamicAccessKeyId | Use this input to authenticate with AWS if you are using a dynamically-generated access key. Otherwise, use the connection to enter a static access key ID. | |
Dynamic Secret Access Key password dynamicSecretAccessKey | Use this input to authenticate with AWS if you are using a dynamically-generated secret access key. Otherwise, use the connection to enter a static secret access key. | |
Dynamic Session Token password dynamicSessionToken | Use this input to authenticate with AWS if you are using a OPTIONAL dynamically-generated session token. | |
File Contents data / Required fileContents | The contents to write to a file. This can be a string of text, it can be binary data (like an image or PDF) that was generated in a previous step. | My File Contents |
Object Key string / Required objectKey | An object in S3 is a file that is saved in a 'bucket'. This represents the object's key (file path). Do not include a leading /. | path/to/file.txt |
Object Tags string Key Value List tagging | Objects in an S3 bucket can be optionally tagged so you can filter for files more easily. For example, you may want to tag customers with a key of 'Customer Name' and value of 'Mars Missions Corp' | key: Customer Name, value: Mars Missions Corp |
File Contents can be a reference to a binary file from a previous step.
For example, if you have an HTTP Get action that pulls down a .png image, you can reference its step name to write the .png to S3.
Or, File Contents can be simple text, like 'Hello World'
.
Example Payload for Put Object
{
"data": {
"ETag": "Example Tag",
"VersionId": "Example Version Id"
}
}
Put Object Lock Configuration
Places an Object Lock configuration on the specified bucket | key: putObjectLockConfiguration
Input | Notes | Example |
---|---|---|
Connection connection accessKey | Access keys provide programmatic access to access resources in AWS. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html. | |
AWS Region string awsRegion | AWS provides services in multiple regions, like us-west-2 or eu-west-1. | us-east-1 |
Bucket Name string / Required bucket | An Amazon S3 'bucket' is a container where files are stored. You can create a bucket from within the AWS console. Bucket names contain only letters, numbers, and dashes. | my-s3-bucket-abc123 |
Default Retention Days string defaultRetentionDays | The number of days that you want to specify for the default retention period. You can specify either Default Retention Days or Default Retention Years, but not both. | 20 |
Default Retention Mode string defaultRetentionMode | The default Object Lock retention mode you want to apply to new objects placed in the specified bucket. Must be used with either Default Retention Days or Default Retention Years. | |
Default Retention Years string defaultRetentionYears | The number of years that you want to specify for the default retention period. You can specify either Default Retention Days or Default Retention Years, but not both. | 2 |
Dynamic Access Key ID string dynamicAccessKeyId | Use this input to authenticate with AWS if you are using a dynamically-generated access key. Otherwise, use the connection to enter a static access key ID. | |
Dynamic Secret Access Key password dynamicSecretAccessKey | Use this input to authenticate with AWS if you are using a dynamically-generated secret access key. Otherwise, use the connection to enter a static secret access key. | |
Dynamic Session Token password dynamicSessionToken | Use this input to authenticate with AWS if you are using a OPTIONAL dynamically-generated session token. |
Example Payload for Put Object Lock Configuration
{
"data": {
"$metadata": {
"httpStatusCode": 200,
"requestId": "HRTN",
"extendedRequestId": "n2j6gnXOgOKm+PomoHrLsbOhatc7LMw1Su",
"cfId": null,
"attempts": 1,
"totalRetryDelay": 0
}
}
}
Put Object Retention
Places an Object Retention configuration on an object | key: putObjectRetention
Input | Notes | Example |
---|---|---|
Connection connection accessKey | Access keys provide programmatic access to access resources in AWS. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html. | |
AWS Region string awsRegion | AWS provides services in multiple regions, like us-west-2 or eu-west-1. | us-east-1 |
Bucket Name string / Required bucket | An Amazon S3 'bucket' is a container where files are stored. You can create a bucket from within the AWS console. Bucket names contain only letters, numbers, and dashes. | my-s3-bucket-abc123 |
Dynamic Access Key ID string dynamicAccessKeyId | Use this input to authenticate with AWS if you are using a dynamically-generated access key. Otherwise, use the connection to enter a static access key ID. | |
Dynamic Secret Access Key password dynamicSecretAccessKey | Use this input to authenticate with AWS if you are using a dynamically-generated secret access key. Otherwise, use the connection to enter a static secret access key. | |
Dynamic Session Token password dynamicSessionToken | Use this input to authenticate with AWS if you are using a OPTIONAL dynamically-generated session token. | |
Object Key string / Required objectKey | An object in S3 is a file that is saved in a 'bucket'. This represents the object's key (file path). Do not include a leading /. | path/to/file.txt |
Retain Until Date string retainUntilDate | The date and time when you want the specified Object Retention configuration to expire. Required when using Retention Mode. | 2024-08-25T20:00:00.000Z |
Retention Mode string retentionMode | Retention mode for the specified object. Required when Retain Until Date is set. | |
Version ID string versionId | The version ID for the object that you want to apply this Object Retention configuration to. | AMn71WZYnWqbvfy0unBOdtaBC.DRiN_r |
Example Payload for Put Object Retention
{
"data": {
"$metadata": {
"httpStatusCode": 200,
"requestId": "9GKTJZDRMJCGMNY6",
"extendedRequestId": "NKjiPDGEYKYtH7sHPWKSVpy9y9NtjbXzeJ7whq75y62jiH9JLuZOpMLCBiYyc+/hOlnOTCaTpWo=",
"cfId": null,
"attempts": 1,
"totalRetryDelay": 0
}
}
}
Subscribe to SNS Topic
Subscribe to an Amazon SNS Topic for S3 Event Notifications | key: subscribeToTopic
Input | Notes | Example |
---|---|---|
Connection connection awsConnection | Access keys provide programmatic access to access resources in AWS. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html. | |
AWS Region string awsRegion | AWS provides services in multiple regions, like us-west-2 or eu-west-1. | us-east-1 |
Dynamic Access Key ID string dynamicAccessKeyId | Use this input to authenticate with AWS if you are using a dynamically-generated access key. Otherwise, use the connection to enter a static access key ID. | |
Dynamic Secret Access Key password dynamicSecretAccessKey | Use this input to authenticate with AWS if you are using a dynamically-generated secret access key. Otherwise, use the connection to enter a static secret access key. | |
Dynamic Session Token password dynamicSessionToken | Use this input to authenticate with AWS if you are using a OPTIONAL dynamically-generated session token. | |
Webhook Endpoint string / Required endpoint | The endpoint that you want to trigger when an S3 event occurs. | https://hooks.prismatic.io/trigger/SW5zdGFuY2VGbG93Q29uZmlnOjhiNGY0ZTRkLWIyODMtNDE4Yy04YmZhLTg1NGI11234567890== |
SNS Topic ARN string / Required snsTopicArn | The Amazon Resource Name (ARN) of the topic. | arn:aws:sns:us-east-1:123456789012:MyExampleTopic |
Example Payload for Subscribe to SNS Topic
{
"data": {
"SubscriptionArn": "arn:aws:sns:us-east-2:123456789012:MyExampleTopic:00000000-00000000-00000000-00000000"
}
}
Unsubscribe from a SNS Topic
Unsubscribe from an Amazon SNS Topic for S3 Event Notifications | key: unsubscribeFromTopic
Input | Notes | Example |
---|---|---|
Connection connection awsConnection | Access keys provide programmatic access to access resources in AWS. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html. | |
AWS Region string awsRegion | AWS provides services in multiple regions, like us-west-2 or eu-west-1. | us-east-1 |
Dynamic Access Key ID string dynamicAccessKeyId | Use this input to authenticate with AWS if you are using a dynamically-generated access key. Otherwise, use the connection to enter a static access key ID. | |
Dynamic Secret Access Key password dynamicSecretAccessKey | Use this input to authenticate with AWS if you are using a dynamically-generated secret access key. Otherwise, use the connection to enter a static secret access key. | |
Dynamic Session Token password dynamicSessionToken | Use this input to authenticate with AWS if you are using a OPTIONAL dynamically-generated session token. | |
Subscription Arn string / Required subscriptionArn | The unique identifier for a topic subscription | arn:aws:sns:us-east-2:123456789012:MyExampleTopic:00000000-00000000-00000000-00000000 |
Example Payload for Unsubscribe from a SNS Topic
{
"data": {
"$metadata": {
"httpStatusCode": 200,
"requestId": "059f8a07-f312-5e3b-9b7c-d46e66ee8a58",
"extendedRequestId": null,
"cfId": null,
"attempts": 1,
"totalRetryDelay": 0
}
}
}
Update SNS Topic Policy For S3 Event Notification
Update an Amazon SNS Topic Policy to grant S3 permission to publish | key: updateTopicPolicy
Input | Notes | Example |
---|---|---|
Connection connection awsConnection | Access keys provide programmatic access to access resources in AWS. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html. | |
AWS Region string awsRegion | AWS provides services in multiple regions, like us-west-2 or eu-west-1. | us-east-1 |
Bucket Name string / Required bucket | An Amazon S3 'bucket' is a container where files are stored. You can create a bucket from within the AWS console. Bucket names contain only letters, numbers, and dashes. | my-s3-bucket-abc123 |
Bucket Owner Account ID string / Required bucketOwnerAccountid | Provide the AWS Account ID of the bucket owner. It can be found in the account settings of the AWS console, or can be retrieved using the 'Get Current Account' action. | 012345678901 |
Dynamic Access Key ID string dynamicAccessKeyId | Use this input to authenticate with AWS if you are using a dynamically-generated access key. Otherwise, use the connection to enter a static access key ID. | |
Dynamic Secret Access Key password dynamicSecretAccessKey | Use this input to authenticate with AWS if you are using a dynamically-generated secret access key. Otherwise, use the connection to enter a static secret access key. | |
Dynamic Session Token password dynamicSessionToken | Use this input to authenticate with AWS if you are using a OPTIONAL dynamically-generated session token. | |
SNS Topic ARN string / Required snsTopicArn | The Amazon Resource Name (ARN) of the topic. | arn:aws:sns:us-east-1:123456789012:MyExampleTopic |
Example Payload for Update SNS Topic Policy For S3 Event Notification
{
"data": {
"$metadata": {
"httpStatusCode": 200,
"requestId": "b81eb768-e79a-52a1-9be8-e90175212345",
"extendedRequestId": null,
"cfId": null,
"attempts": 1,
"totalRetryDelay": 0
}
}
}
Upload Part
Upload a chunk of a multipart file upload | key: uploadPart
Input | Notes | Example |
---|---|---|
Connection connection accessKey | Access keys provide programmatic access to access resources in AWS. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html. | |
AWS Region string awsRegion | AWS provides services in multiple regions, like us-west-2 or eu-west-1. | us-east-1 |
Bucket Name string / Required bucket | An Amazon S3 'bucket' is a container where files are stored. You can create a bucket from within the AWS console. Bucket names contain only letters, numbers, and dashes. | my-s3-bucket-abc123 |
Dynamic Access Key ID string dynamicAccessKeyId | Use this input to authenticate with AWS if you are using a dynamically-generated access key. Otherwise, use the connection to enter a static access key ID. | |
Dynamic Secret Access Key password dynamicSecretAccessKey | Use this input to authenticate with AWS if you are using a dynamically-generated secret access key. Otherwise, use the connection to enter a static secret access key. | |
Dynamic Session Token password dynamicSessionToken | Use this input to authenticate with AWS if you are using a OPTIONAL dynamically-generated session token. | |
File Chunk data / Required fileChunk | The file data chunk to upload. This can be binary data referenced from a previous step. | |
Object Key string / Required objectKey | An object in S3 is a file that is saved in a 'bucket'. This represents the object's key (file path). Do not include a leading /. | path/to/file.txt |
Part Number string / Required partNumber | Part number of part being uploaded. This is a positive integer between 1 and 10,000. | 1 |
Upload ID string / Required uploadId | Multipart upload ID | xadcOB_7YPBOJuoFiQ9cz4P3Pe6FIZwO4f7wN93uHsNBEw97pl5eNwzExg0LAT2dUN91cOmrEQHDsP3WA60CEg |
Example Payload for Upload Part
{
"data": {
"$metadata": {
"httpStatusCode": 200,
"requestId": "3Z9FSV3QYRYCK123",
"extendedRequestId": "nhNCxtYGnVN+nxfdPaCPgAc23cJw2rphbIU1Z5ZUEmUDXIvF+Ra3eUXv2MNdOoWTIKXEym12345=",
"cfId": null,
"attempts": 1,
"totalRetryDelay": 0
},
"ServerSideEncryption": "AES256",
"ETag": "\"266b7131485849fcefe583dcce071234\"",
"part": {
"ETag": "\"266b7131485849fcefe583dcce071234\"",
"PartNumber": 1
}
}
}
Upload Stream - Close Stream
Close an upload stream | key: closeUploadStream
Input | Notes |
---|---|
Upload Stream ID string / Required uploadId | The ID of the upload stream to write to. Generate this with the 'Create Stream' action. |
Upload Stream - Create Stream
Create an upload stream to S3 | key: createUploadStream
Input | Notes | Example |
---|---|---|
Connection connection accessKey | Access keys provide programmatic access to access resources in AWS. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html. | |
ACL Permissions string acl | A set of canned ACL permissions to apply to the object. See https://docs.aws.amazon.com/AmazonS3/latest/userguide/acl-overview.html#canned-acl | |
AWS Region string awsRegion | AWS provides services in multiple regions, like us-west-2 or eu-west-1. | us-east-1 |
Bucket Name string / Required bucket | An Amazon S3 'bucket' is a container where files are stored. You can create a bucket from within the AWS console. Bucket names contain only letters, numbers, and dashes. | my-s3-bucket-abc123 |
Dynamic Access Key ID string dynamicAccessKeyId | Use this input to authenticate with AWS if you are using a dynamically-generated access key. Otherwise, use the connection to enter a static access key ID. | |
Dynamic Secret Access Key password dynamicSecretAccessKey | Use this input to authenticate with AWS if you are using a dynamically-generated secret access key. Otherwise, use the connection to enter a static secret access key. | |
Dynamic Session Token password dynamicSessionToken | Use this input to authenticate with AWS if you are using a OPTIONAL dynamically-generated session token. | |
Object Key string / Required objectKey | An object in S3 is a file that is saved in a 'bucket'. This represents the object's key (file path). Do not include a leading /. | path/to/file.txt |
Object Tags string Key Value List tagging | Objects in an S3 bucket can be optionally tagged so you can filter for files more easily. For example, you may want to tag customers with a key of 'Customer Name' and value of 'Mars Missions Corp' | key: Customer Name, value: Mars Missions Corp |
Example Payload for Upload Stream - Create Stream
{
"data": "711B632B-C025-4E26-9E34-525822E3C0ED"
}
Upload Stream - Write Data
Write to an upload stream | key: writeUploadStream
Input | Notes | Example |
---|---|---|
File Contents data / Required fileContents | The contents to write to a file. This can be a string of text, it can be binary data (like an image or PDF) that was generated in a previous step. | My File Contents |
Upload Stream ID string / Required uploadId | The ID of the upload stream to write to. Generate this with the 'Create Stream' action. |