Amazon Transfer Family CreateWorkflow API
The CreateWorkflow API from Amazon Transfer Family — 1 operation(s) for createworkflow.
The CreateWorkflow API from Amazon Transfer Family — 1 operation(s) for createworkflow.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/amazon-transfer-family:amazon-transfer-family-createworkflow-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.1.0
info:
title: AWS Transfer Family Createworkflow API
version: '2018-11-05'
description: Generated from AWS's published Smithy model for AWS Transfer Family. 1 operation(s).
contact:
name: Amazon Web Services
url: https://aws.amazon.com/contact-us/
license:
name: Apache 2.0
identifier: Apache-2.0
url: https://github.com/aws/api-models-aws/blob/main/LICENSE
servers:
- url: https://transfer.{region}.amazonaws.com
variables:
region:
default: us-east-1
security:
- sigv4: []
paths:
/#CreateWorkflow:
post:
operationId: CreateWorkflow
summary: Create Workflow
description: Allows you to create a workflow with specified steps and step details the workflow invokes after file transfer
completes. After creating a workflow, you can associate the workflow created with any transfer servers by specifying
the workflow-details field in CreateServer and UpdateServer operations.
responses:
'200':
description: Success
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/CreateWorkflowResponse'
'403':
description: AccessDeniedException
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/AccessDeniedException'
'503':
description: InternalServiceError; ServiceUnavailableException
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/InternalServiceError'
'400':
description: InvalidRequestException
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/InvalidRequestException'
'409':
description: ResourceExistsException
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/ResourceExistsException'
'429':
description: ThrottlingException
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/ThrottlingException'
parameters:
- name: X-Amz-Target
in: header
required: true
schema:
type: string
enum:
- TransferService.CreateWorkflow
requestBody:
required: true
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/CreateWorkflowRequest'
tags:
- Createworkflow
components:
securitySchemes:
sigv4:
type: apiKey
in: header
name: Authorization
description: AWS Signature Version 4. The Authorization header carries an AWS4-HMAC-SHA256 signature over the canonical
request, with X-Amz-Date (and X-Amz-Security-Token for temporary credentials). Not a bearer token.
x-aws-sigv4:
signingName: transfer
schemas:
AccessDeniedException:
type: object
properties:
Message:
type: string
CopyStepDetails:
type: object
properties:
Name:
type: string
description: The name of the step, used as an identifier.
DestinationFileLocation:
$ref: '#/components/schemas/InputFileLocation'
OverwriteExisting:
type: string
enum:
- 'TRUE'
- 'FALSE'
description: 'A flag that indicates whether to overwrite an existing file of the same name. The default is FALSE.
If the workflow is processing a file that has the same name as an existing file, the behavior is as follows: If
OverwriteExisting is TRUE, the existing file is replaced with the file being processed. If OverwriteExisting is
FALSE, nothing happens, and the workflow processing stops.'
SourceFileLocation:
type: string
description: 'Specifies which file to use as input to the workflow step: either the output from the previous step,
or the originally uploaded file for the workflow. To use the previous file as the input, enter ${previous.file}.
In this case, this workflow step uses the output file from the previous workflow step as input. This is the default
value. To use the originally uploaded file location as input for this step, enter ${original.file}.'
CreateWorkflowRequest:
type: object
properties:
Description:
type: string
description: A textual description for the workflow.
Steps:
type: array
items:
$ref: '#/components/schemas/WorkflowStep'
description: Specifies the details for the steps that are in the specified workflow. The TYPE specifies which of
the following actions is being taken for this step. COPY - Copy the file to another location. CUSTOM - Perform
a custom step with an Lambda function target. DECRYPT - Decrypt a file that was encrypted before it was uploaded.
DELETE - Delete the file. TAG - Add a tag to the file. Currently, copying and tagging are supported only on S3.
For file location, you specify either the Amazon S3 bucket and key, or the Amazon EFS file system ID and path.
OnExceptionSteps:
type: array
items:
$ref: '#/components/schemas/WorkflowStep'
description: Specifies the steps (actions) to take if errors are encountered during execution of the workflow. For
custom steps, the Lambda function needs to send FAILURE to the call back API to kick off the exception steps.
Additionally, if the Lambda does not send SUCCESS before it times out, the exception steps are executed.
Tags:
type: array
items:
$ref: '#/components/schemas/Tag'
description: Key-value pairs that can be used to group and search for workflows. Tags are metadata attached to workflows
for any purpose.
StructuredLogDestinations:
type: array
items:
type: string
description: 'Specifies the log groups to which your workflow logs are sent. To specify a log group, you must provide
the ARN for an existing log group. In this case, the format of the log group is as follows: arn:partition:logs:region-name:amazon-account-id:log-group:log-group-name:*
For example, arn:aws:logs:us-east-1:111122223333:log-group:mytestgroup:*'
required:
- Steps
CreateWorkflowResponse:
type: object
properties:
WorkflowId:
type: string
description: A unique identifier for the workflow.
required:
- WorkflowId
CustomStepDetails:
type: object
properties:
Name:
type: string
description: The name of the step, used as an identifier.
Target:
type: string
description: The ARN for the Lambda function that is being called.
TimeoutSeconds:
type: integer
description: Timeout, in seconds, for the step.
SourceFileLocation:
type: string
description: 'Specifies which file to use as input to the workflow step: either the output from the previous step,
or the originally uploaded file for the workflow. To use the previous file as the input, enter ${previous.file}.
In this case, this workflow step uses the output file from the previous workflow step as input. This is the default
value. To use the originally uploaded file location as input for this step, enter ${original.file}.'
DecryptStepDetails:
type: object
properties:
Name:
type: string
description: The name of the step, used as an identifier.
Type:
type: string
enum:
- PGP
description: The type of encryption used. Currently, this value must be PGP.
SourceFileLocation:
type: string
description: 'Specifies which file to use as input to the workflow step: either the output from the previous step,
or the originally uploaded file for the workflow. To use the previous file as the input, enter ${previous.file}.
In this case, this workflow step uses the output file from the previous workflow step as input. This is the default
value. To use the originally uploaded file location as input for this step, enter ${original.file}.'
OverwriteExisting:
type: string
enum:
- 'TRUE'
- 'FALSE'
description: 'A flag that indicates whether to overwrite an existing file of the same name. The default is FALSE.
If the workflow is processing a file that has the same name as an existing file, the behavior is as follows: If
OverwriteExisting is TRUE, the existing file is replaced with the file being processed. If OverwriteExisting is
FALSE, nothing happens, and the workflow processing stops.'
DestinationFileLocation:
$ref: '#/components/schemas/InputFileLocation'
required:
- Type
- DestinationFileLocation
DeleteStepDetails:
type: object
properties:
Name:
type: string
description: The name of the step, used as an identifier.
SourceFileLocation:
type: string
description: 'Specifies which file to use as input to the workflow step: either the output from the previous step,
or the originally uploaded file for the workflow. To use the previous file as the input, enter ${previous.file}.
In this case, this workflow step uses the output file from the previous workflow step as input. This is the default
value. To use the originally uploaded file location as input for this step, enter ${original.file}.'
EfsFileLocation:
type: object
properties:
FileSystemId:
type: string
description: The identifier of the file system, assigned by Amazon EFS.
Path:
type: string
description: The pathname for the folder being used by a workflow.
InputFileLocation:
type: object
properties:
S3FileLocation:
$ref: '#/components/schemas/S3InputFileLocation'
EfsFileLocation:
$ref: '#/components/schemas/EfsFileLocation'
InternalServiceError:
type: object
properties:
Message:
type: string
required:
- Message
InvalidRequestException:
type: object
properties:
Message:
type: string
required:
- Message
ResourceExistsException:
type: object
properties:
Message:
type: string
Resource:
type: string
ResourceType:
type: string
required:
- Message
- Resource
- ResourceType
S3InputFileLocation:
type: object
properties:
Bucket:
type: string
description: Specifies the S3 bucket for the customer input file.
Key:
type: string
description: The name assigned to the file when it was created in Amazon S3. You use the object key to retrieve
the object.
S3Tag:
type: object
properties:
Key:
type: string
description: The name assigned to the tag that you create.
Value:
type: string
description: The value that corresponds to the key.
required:
- Key
- Value
Tag:
type: object
properties:
Key:
type: string
description: The name assigned to the tag that you create.
Value:
type: string
description: Contains one or more values that you assigned to the key name you create.
required:
- Key
- Value
TagStepDetails:
type: object
properties:
Name:
type: string
description: The name of the step, used as an identifier.
Tags:
type: array
items:
$ref: '#/components/schemas/S3Tag'
description: Array that contains from 1 to 10 key/value pairs.
SourceFileLocation:
type: string
description: 'Specifies which file to use as input to the workflow step: either the output from the previous step,
or the originally uploaded file for the workflow. To use the previous file as the input, enter ${previous.file}.
In this case, this workflow step uses the output file from the previous workflow step as input. This is the default
value. To use the originally uploaded file location as input for this step, enter ${original.file}.'
ThrottlingException:
type: object
properties:
RetryAfterSeconds:
type: string
WorkflowStep:
type: object
properties:
Type:
type: string
enum:
- COPY
- CUSTOM
- TAG
- DELETE
- DECRYPT
description: Currently, the following step types are supported. COPY - Copy the file to another location. CUSTOM
- Perform a custom step with an Lambda function target. DECRYPT - Decrypt a file that was encrypted before it
was uploaded. DELETE - Delete the file. TAG - Add a tag to the file.
CopyStepDetails:
$ref: '#/components/schemas/CopyStepDetails'
CustomStepDetails:
$ref: '#/components/schemas/CustomStepDetails'
DeleteStepDetails:
$ref: '#/components/schemas/DeleteStepDetails'
TagStepDetails:
$ref: '#/components/schemas/TagStepDetails'
DecryptStepDetails:
$ref: '#/components/schemas/DecryptStepDetails'
x-provenance:
method: harvested
publisher: Amazon Web Services
source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/transfer/service/2018-11-05/transfer-2018-11-05.json
note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)