Class: Aws::Transfer::Types::WorkflowDetails

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-transfer/lib/aws-sdk-transfer/types.rb

Overview

Note:

When making an API call, you may pass WorkflowDetails data as a hash:

{
  on_upload: [ # required
    {
      workflow_id: "WorkflowId", # required
      execution_role: "Role", # required
    },
  ],
}

Container for the WorkflowDetail data type. It is used by actions that trigger a workflow to begin execution.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#on_uploadArray<Types::WorkflowDetail>

A trigger that starts a workflow: the workflow begins to execute after a file is uploaded.

To remove an associated workflow from a server, you can provide an empty OnUpload object, as in the following example.

aws transfer update-server --server-id s-01234567890abcdef --workflow-details '\{"OnUpload":[]\}'

Returns:



6079
6080
6081
6082
6083
# File 'gems/aws-sdk-transfer/lib/aws-sdk-transfer/types.rb', line 6079

class WorkflowDetails < Struct.new(
  :on_upload)
  SENSITIVE = []
  include Aws::Structure
end