aws-sdk-transfer 1.47.0 → 1.48.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-transfer/client.rb +17 -45
- data/lib/aws-sdk-transfer/client_api.rb +5 -0
- data/lib/aws-sdk-transfer/types.rb +83 -60
- data/lib/aws-sdk-transfer.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 19edb78d1306a2342380f0768b2b7e88ab09dc35ba21f735678d1230831e8f1f
|
4
|
+
data.tar.gz: a6727687e573e0ee06102872ef59f5729b76387c0c57ea9ae118bbce94cd8edc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1846cd0749685cca6fa2ada32f5922ad7d75d18e064482215639a490592ba1e4ae3e7732b9b0301316e48962b1082c4de3ff746848b0cd5eef0ca67a199b6a62
|
7
|
+
data.tar.gz: 31cbf42978471785bcc8e336934e756f314503f41b39b04c91f4713c06e37a7c803feccdc73f774d2353788415736720f753f3aa6136461a44301fa6aadcb3d6
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.48.0 (2022-02-23)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - The file input selection feature provides the ability to use either the originally uploaded file or the output file from the previous workflow step, enabling customers to make multiple copies of the original file while keeping the source file intact for file archival.
|
8
|
+
|
4
9
|
1.47.0 (2022-02-18)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.48.0
|
@@ -406,17 +406,6 @@ module Aws::Transfer
|
|
406
406
|
#
|
407
407
|
# `[ \{ "Entry:": "/", "Target": "/bucket_name/home/mydirectory" \} ]`
|
408
408
|
#
|
409
|
-
# <note markdown="1"> If the target of a logical directory entry does not exist in Amazon S3
|
410
|
-
# or EFS, the entry is ignored. As a workaround, you can use the Amazon
|
411
|
-
# S3 API or EFS API to create 0 byte objects as place holders for your
|
412
|
-
# directory. If using the CLI, use the `s3api` or `efsapi` call instead
|
413
|
-
# of `s3` or `efs` so you can use the put-object operation. For example,
|
414
|
-
# you use the following: `aws s3api put-object --bucket bucketname --key
|
415
|
-
# path/to/folder/`. Make sure that the end of the key name ends in a `/`
|
416
|
-
# for it to be considered a folder.
|
417
|
-
#
|
418
|
-
# </note>
|
419
|
-
#
|
420
409
|
# @option params [String] :policy
|
421
410
|
# A session policy for your user so that you can use the same IAM role
|
422
411
|
# across multiple users. This policy scopes down user access to portions
|
@@ -832,17 +821,6 @@ module Aws::Transfer
|
|
832
821
|
#
|
833
822
|
# `[ \{ "Entry:": "/", "Target": "/bucket_name/home/mydirectory" \} ]`
|
834
823
|
#
|
835
|
-
# <note markdown="1"> If the target of a logical directory entry does not exist in Amazon S3
|
836
|
-
# or EFS, the entry is ignored. As a workaround, you can use the Amazon
|
837
|
-
# S3 API or EFS API to create 0 byte objects as place holders for your
|
838
|
-
# directory. If using the CLI, use the `s3api` or `efsapi` call instead
|
839
|
-
# of `s3` or `efs` so you can use the put-object operation. For example,
|
840
|
-
# you use the following: `aws s3api put-object --bucket bucketname --key
|
841
|
-
# path/to/folder/`. Make sure that the end of the key name ends in a `/`
|
842
|
-
# for it to be considered a folder.
|
843
|
-
#
|
844
|
-
# </note>
|
845
|
-
#
|
846
824
|
# @option params [String] :policy
|
847
825
|
# A session policy for your user so that you can use the same IAM role
|
848
826
|
# across multiple users. This policy scopes down user access to portions
|
@@ -1029,14 +1007,17 @@ module Aws::Transfer
|
|
1029
1007
|
# },
|
1030
1008
|
# },
|
1031
1009
|
# overwrite_existing: "TRUE", # accepts TRUE, FALSE
|
1010
|
+
# source_file_location: "SourceFileLocation",
|
1032
1011
|
# },
|
1033
1012
|
# custom_step_details: {
|
1034
1013
|
# name: "WorkflowStepName",
|
1035
1014
|
# target: "CustomStepTarget",
|
1036
1015
|
# timeout_seconds: 1,
|
1016
|
+
# source_file_location: "SourceFileLocation",
|
1037
1017
|
# },
|
1038
1018
|
# delete_step_details: {
|
1039
1019
|
# name: "WorkflowStepName",
|
1020
|
+
# source_file_location: "SourceFileLocation",
|
1040
1021
|
# },
|
1041
1022
|
# tag_step_details: {
|
1042
1023
|
# name: "WorkflowStepName",
|
@@ -1046,6 +1027,7 @@ module Aws::Transfer
|
|
1046
1027
|
# value: "S3TagValue", # required
|
1047
1028
|
# },
|
1048
1029
|
# ],
|
1030
|
+
# source_file_location: "SourceFileLocation",
|
1049
1031
|
# },
|
1050
1032
|
# },
|
1051
1033
|
# ],
|
@@ -1065,14 +1047,17 @@ module Aws::Transfer
|
|
1065
1047
|
# },
|
1066
1048
|
# },
|
1067
1049
|
# overwrite_existing: "TRUE", # accepts TRUE, FALSE
|
1050
|
+
# source_file_location: "SourceFileLocation",
|
1068
1051
|
# },
|
1069
1052
|
# custom_step_details: {
|
1070
1053
|
# name: "WorkflowStepName",
|
1071
1054
|
# target: "CustomStepTarget",
|
1072
1055
|
# timeout_seconds: 1,
|
1056
|
+
# source_file_location: "SourceFileLocation",
|
1073
1057
|
# },
|
1074
1058
|
# delete_step_details: {
|
1075
1059
|
# name: "WorkflowStepName",
|
1060
|
+
# source_file_location: "SourceFileLocation",
|
1076
1061
|
# },
|
1077
1062
|
# tag_step_details: {
|
1078
1063
|
# name: "WorkflowStepName",
|
@@ -1082,6 +1067,7 @@ module Aws::Transfer
|
|
1082
1067
|
# value: "S3TagValue", # required
|
1083
1068
|
# },
|
1084
1069
|
# ],
|
1070
|
+
# source_file_location: "SourceFileLocation",
|
1085
1071
|
# },
|
1086
1072
|
# },
|
1087
1073
|
# ],
|
@@ -1591,14 +1577,18 @@ module Aws::Transfer
|
|
1591
1577
|
# resp.workflow.steps[0].copy_step_details.destination_file_location.efs_file_location.file_system_id #=> String
|
1592
1578
|
# resp.workflow.steps[0].copy_step_details.destination_file_location.efs_file_location.path #=> String
|
1593
1579
|
# resp.workflow.steps[0].copy_step_details.overwrite_existing #=> String, one of "TRUE", "FALSE"
|
1580
|
+
# resp.workflow.steps[0].copy_step_details.source_file_location #=> String
|
1594
1581
|
# resp.workflow.steps[0].custom_step_details.name #=> String
|
1595
1582
|
# resp.workflow.steps[0].custom_step_details.target #=> String
|
1596
1583
|
# resp.workflow.steps[0].custom_step_details.timeout_seconds #=> Integer
|
1584
|
+
# resp.workflow.steps[0].custom_step_details.source_file_location #=> String
|
1597
1585
|
# resp.workflow.steps[0].delete_step_details.name #=> String
|
1586
|
+
# resp.workflow.steps[0].delete_step_details.source_file_location #=> String
|
1598
1587
|
# resp.workflow.steps[0].tag_step_details.name #=> String
|
1599
1588
|
# resp.workflow.steps[0].tag_step_details.tags #=> Array
|
1600
1589
|
# resp.workflow.steps[0].tag_step_details.tags[0].key #=> String
|
1601
1590
|
# resp.workflow.steps[0].tag_step_details.tags[0].value #=> String
|
1591
|
+
# resp.workflow.steps[0].tag_step_details.source_file_location #=> String
|
1602
1592
|
# resp.workflow.on_exception_steps #=> Array
|
1603
1593
|
# resp.workflow.on_exception_steps[0].type #=> String, one of "COPY", "CUSTOM", "TAG", "DELETE"
|
1604
1594
|
# resp.workflow.on_exception_steps[0].copy_step_details.name #=> String
|
@@ -1607,14 +1597,18 @@ module Aws::Transfer
|
|
1607
1597
|
# resp.workflow.on_exception_steps[0].copy_step_details.destination_file_location.efs_file_location.file_system_id #=> String
|
1608
1598
|
# resp.workflow.on_exception_steps[0].copy_step_details.destination_file_location.efs_file_location.path #=> String
|
1609
1599
|
# resp.workflow.on_exception_steps[0].copy_step_details.overwrite_existing #=> String, one of "TRUE", "FALSE"
|
1600
|
+
# resp.workflow.on_exception_steps[0].copy_step_details.source_file_location #=> String
|
1610
1601
|
# resp.workflow.on_exception_steps[0].custom_step_details.name #=> String
|
1611
1602
|
# resp.workflow.on_exception_steps[0].custom_step_details.target #=> String
|
1612
1603
|
# resp.workflow.on_exception_steps[0].custom_step_details.timeout_seconds #=> Integer
|
1604
|
+
# resp.workflow.on_exception_steps[0].custom_step_details.source_file_location #=> String
|
1613
1605
|
# resp.workflow.on_exception_steps[0].delete_step_details.name #=> String
|
1606
|
+
# resp.workflow.on_exception_steps[0].delete_step_details.source_file_location #=> String
|
1614
1607
|
# resp.workflow.on_exception_steps[0].tag_step_details.name #=> String
|
1615
1608
|
# resp.workflow.on_exception_steps[0].tag_step_details.tags #=> Array
|
1616
1609
|
# resp.workflow.on_exception_steps[0].tag_step_details.tags[0].key #=> String
|
1617
1610
|
# resp.workflow.on_exception_steps[0].tag_step_details.tags[0].value #=> String
|
1611
|
+
# resp.workflow.on_exception_steps[0].tag_step_details.source_file_location #=> String
|
1618
1612
|
# resp.workflow.workflow_id #=> String
|
1619
1613
|
# resp.workflow.tags #=> Array
|
1620
1614
|
# resp.workflow.tags[0].key #=> String
|
@@ -2344,17 +2338,6 @@ module Aws::Transfer
|
|
2344
2338
|
#
|
2345
2339
|
# `[ \{ "Entry:": "/", "Target": "/bucket_name/home/mydirectory" \} ]`
|
2346
2340
|
#
|
2347
|
-
# <note markdown="1"> If the target of a logical directory entry does not exist in Amazon S3
|
2348
|
-
# or EFS, the entry is ignored. As a workaround, you can use the Amazon
|
2349
|
-
# S3 API or EFS API to create 0 byte objects as place holders for your
|
2350
|
-
# directory. If using the CLI, use the `s3api` or `efsapi` call instead
|
2351
|
-
# of `s3` or `efs` so you can use the put-object operation. For example,
|
2352
|
-
# you use the following: `aws s3api put-object --bucket bucketname --key
|
2353
|
-
# path/to/folder/`. Make sure that the end of the key name ends in a `/`
|
2354
|
-
# for it to be considered a folder.
|
2355
|
-
#
|
2356
|
-
# </note>
|
2357
|
-
#
|
2358
2341
|
# @option params [String] :policy
|
2359
2342
|
# A session policy for your user so that you can use the same IAM role
|
2360
2343
|
# across multiple users. This policy scopes down user access to portions
|
@@ -2728,17 +2711,6 @@ module Aws::Transfer
|
|
2728
2711
|
#
|
2729
2712
|
# `[ \{ "Entry:": "/", "Target": "/bucket_name/home/mydirectory" \} ]`
|
2730
2713
|
#
|
2731
|
-
# <note markdown="1"> If the target of a logical directory entry does not exist in Amazon S3
|
2732
|
-
# or EFS, the entry is ignored. As a workaround, you can use the Amazon
|
2733
|
-
# S3 API or EFS API to create 0 byte objects as place holders for your
|
2734
|
-
# directory. If using the CLI, use the `s3api` or `efsapi` call instead
|
2735
|
-
# of `s3` or `efs` so you can use the put-object operation. For example,
|
2736
|
-
# you use the following: `aws s3api put-object --bucket bucketname --key
|
2737
|
-
# path/to/folder/`. Make sure that the end of the key name ends in a `/`
|
2738
|
-
# for it to be considered a folder.
|
2739
|
-
#
|
2740
|
-
# </note>
|
2741
|
-
#
|
2742
2714
|
# @option params [String] :policy
|
2743
2715
|
# A session policy for your user so that you can use the same IAM role
|
2744
2716
|
# across multiple users. This policy scopes down user access to portions
|
@@ -2850,7 +2822,7 @@ module Aws::Transfer
|
|
2850
2822
|
params: params,
|
2851
2823
|
config: config)
|
2852
2824
|
context[:gem_name] = 'aws-sdk-transfer'
|
2853
|
-
context[:gem_version] = '1.
|
2825
|
+
context[:gem_version] = '1.48.0'
|
2854
2826
|
Seahorse::Client::Request.new(handlers, context)
|
2855
2827
|
end
|
2856
2828
|
|
@@ -165,6 +165,7 @@ module Aws::Transfer
|
|
165
165
|
ServiceMetadata = Shapes::StructureShape.new(name: 'ServiceMetadata')
|
166
166
|
ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
|
167
167
|
SessionId = Shapes::StringShape.new(name: 'SessionId')
|
168
|
+
SourceFileLocation = Shapes::StringShape.new(name: 'SourceFileLocation')
|
168
169
|
SourceIp = Shapes::StringShape.new(name: 'SourceIp')
|
169
170
|
SshPublicKey = Shapes::StructureShape.new(name: 'SshPublicKey')
|
170
171
|
SshPublicKeyBody = Shapes::StringShape.new(name: 'SshPublicKeyBody')
|
@@ -223,6 +224,7 @@ module Aws::Transfer
|
|
223
224
|
CopyStepDetails.add_member(:name, Shapes::ShapeRef.new(shape: WorkflowStepName, location_name: "Name"))
|
224
225
|
CopyStepDetails.add_member(:destination_file_location, Shapes::ShapeRef.new(shape: InputFileLocation, location_name: "DestinationFileLocation"))
|
225
226
|
CopyStepDetails.add_member(:overwrite_existing, Shapes::ShapeRef.new(shape: OverwriteExisting, location_name: "OverwriteExisting"))
|
227
|
+
CopyStepDetails.add_member(:source_file_location, Shapes::ShapeRef.new(shape: SourceFileLocation, location_name: "SourceFileLocation"))
|
226
228
|
CopyStepDetails.struct_class = Types::CopyStepDetails
|
227
229
|
|
228
230
|
CreateAccessRequest.add_member(:home_directory, Shapes::ShapeRef.new(shape: HomeDirectory, location_name: "HomeDirectory"))
|
@@ -287,6 +289,7 @@ module Aws::Transfer
|
|
287
289
|
CustomStepDetails.add_member(:name, Shapes::ShapeRef.new(shape: WorkflowStepName, location_name: "Name"))
|
288
290
|
CustomStepDetails.add_member(:target, Shapes::ShapeRef.new(shape: CustomStepTarget, location_name: "Target"))
|
289
291
|
CustomStepDetails.add_member(:timeout_seconds, Shapes::ShapeRef.new(shape: CustomStepTimeoutSeconds, location_name: "TimeoutSeconds"))
|
292
|
+
CustomStepDetails.add_member(:source_file_location, Shapes::ShapeRef.new(shape: SourceFileLocation, location_name: "SourceFileLocation"))
|
290
293
|
CustomStepDetails.struct_class = Types::CustomStepDetails
|
291
294
|
|
292
295
|
DeleteAccessRequest.add_member(:server_id, Shapes::ShapeRef.new(shape: ServerId, required: true, location_name: "ServerId"))
|
@@ -302,6 +305,7 @@ module Aws::Transfer
|
|
302
305
|
DeleteSshPublicKeyRequest.struct_class = Types::DeleteSshPublicKeyRequest
|
303
306
|
|
304
307
|
DeleteStepDetails.add_member(:name, Shapes::ShapeRef.new(shape: WorkflowStepName, location_name: "Name"))
|
308
|
+
DeleteStepDetails.add_member(:source_file_location, Shapes::ShapeRef.new(shape: SourceFileLocation, location_name: "SourceFileLocation"))
|
305
309
|
DeleteStepDetails.struct_class = Types::DeleteStepDetails
|
306
310
|
|
307
311
|
DeleteUserRequest.add_member(:server_id, Shapes::ShapeRef.new(shape: ServerId, required: true, location_name: "ServerId"))
|
@@ -687,6 +691,7 @@ module Aws::Transfer
|
|
687
691
|
|
688
692
|
TagStepDetails.add_member(:name, Shapes::ShapeRef.new(shape: WorkflowStepName, location_name: "Name"))
|
689
693
|
TagStepDetails.add_member(:tags, Shapes::ShapeRef.new(shape: S3Tags, location_name: "Tags"))
|
694
|
+
TagStepDetails.add_member(:source_file_location, Shapes::ShapeRef.new(shape: SourceFileLocation, location_name: "SourceFileLocation"))
|
690
695
|
TagStepDetails.struct_class = Types::TagStepDetails
|
691
696
|
|
692
697
|
Tags.member = Shapes::ShapeRef.new(shape: Tag)
|
@@ -56,6 +56,7 @@ module Aws::Transfer
|
|
56
56
|
# },
|
57
57
|
# },
|
58
58
|
# overwrite_existing: "TRUE", # accepts TRUE, FALSE
|
59
|
+
# source_file_location: "SourceFileLocation",
|
59
60
|
# }
|
60
61
|
#
|
61
62
|
# @!attribute [rw] name
|
@@ -64,7 +65,8 @@ module Aws::Transfer
|
|
64
65
|
#
|
65
66
|
# @!attribute [rw] destination_file_location
|
66
67
|
# Specifies the location for the file being copied. Only applicable
|
67
|
-
# for
|
68
|
+
# for Copy type workflow steps. Use `$\{Transfer:username\}` in this
|
69
|
+
# field to parametrize the destination prefix by username.
|
68
70
|
# @return [Types::InputFileLocation]
|
69
71
|
#
|
70
72
|
# @!attribute [rw] overwrite_existing
|
@@ -72,12 +74,26 @@ module Aws::Transfer
|
|
72
74
|
# of the same name. The default is `FALSE`.
|
73
75
|
# @return [String]
|
74
76
|
#
|
77
|
+
# @!attribute [rw] source_file_location
|
78
|
+
# Specifies which file to use as input to the workflow step: either
|
79
|
+
# the output from the previous step, or the originally uploaded file
|
80
|
+
# for the workflow.
|
81
|
+
#
|
82
|
+
# * Enter `$\{previous.file\}` to use the previous file as the input.
|
83
|
+
# In this case, this workflow step uses the output file from the
|
84
|
+
# previous workflow step as input. This is the default value.
|
85
|
+
#
|
86
|
+
# * Enter `$\{original.file\}` to use the originally-uploaded file
|
87
|
+
# location as input for this step.
|
88
|
+
# @return [String]
|
89
|
+
#
|
75
90
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/CopyStepDetails AWS API Documentation
|
76
91
|
#
|
77
92
|
class CopyStepDetails < Struct.new(
|
78
93
|
:name,
|
79
94
|
:destination_file_location,
|
80
|
-
:overwrite_existing
|
95
|
+
:overwrite_existing,
|
96
|
+
:source_file_location)
|
81
97
|
SENSITIVE = []
|
82
98
|
include Aws::Structure
|
83
99
|
end
|
@@ -146,17 +162,6 @@ module Aws::Transfer
|
|
146
162
|
# The following is an `Entry` and `Target` pair example for `chroot`.
|
147
163
|
#
|
148
164
|
# `[ \{ "Entry:": "/", "Target": "/bucket_name/home/mydirectory" \} ]`
|
149
|
-
#
|
150
|
-
# <note markdown="1"> If the target of a logical directory entry does not exist in Amazon
|
151
|
-
# S3 or EFS, the entry is ignored. As a workaround, you can use the
|
152
|
-
# Amazon S3 API or EFS API to create 0 byte objects as place holders
|
153
|
-
# for your directory. If using the CLI, use the `s3api` or `efsapi`
|
154
|
-
# call instead of `s3` or `efs` so you can use the put-object
|
155
|
-
# operation. For example, you use the following: `aws s3api put-object
|
156
|
-
# --bucket bucketname --key path/to/folder/`. Make sure that the end
|
157
|
-
# of the key name ends in a `/` for it to be considered a folder.
|
158
|
-
#
|
159
|
-
# </note>
|
160
165
|
# @return [Array<Types::HomeDirectoryMapEntry>]
|
161
166
|
#
|
162
167
|
# @!attribute [rw] policy
|
@@ -627,17 +632,6 @@ module Aws::Transfer
|
|
627
632
|
# The following is an `Entry` and `Target` pair example for `chroot`.
|
628
633
|
#
|
629
634
|
# `[ \{ "Entry:": "/", "Target": "/bucket_name/home/mydirectory" \} ]`
|
630
|
-
#
|
631
|
-
# <note markdown="1"> If the target of a logical directory entry does not exist in Amazon
|
632
|
-
# S3 or EFS, the entry is ignored. As a workaround, you can use the
|
633
|
-
# Amazon S3 API or EFS API to create 0 byte objects as place holders
|
634
|
-
# for your directory. If using the CLI, use the `s3api` or `efsapi`
|
635
|
-
# call instead of `s3` or `efs` so you can use the put-object
|
636
|
-
# operation. For example, you use the following: `aws s3api put-object
|
637
|
-
# --bucket bucketname --key path/to/folder/`. Make sure that the end
|
638
|
-
# of the key name ends in a `/` for it to be considered a folder.
|
639
|
-
#
|
640
|
-
# </note>
|
641
635
|
# @return [Array<Types::HomeDirectoryMapEntry>]
|
642
636
|
#
|
643
637
|
# @!attribute [rw] policy
|
@@ -772,14 +766,17 @@ module Aws::Transfer
|
|
772
766
|
# },
|
773
767
|
# },
|
774
768
|
# overwrite_existing: "TRUE", # accepts TRUE, FALSE
|
769
|
+
# source_file_location: "SourceFileLocation",
|
775
770
|
# },
|
776
771
|
# custom_step_details: {
|
777
772
|
# name: "WorkflowStepName",
|
778
773
|
# target: "CustomStepTarget",
|
779
774
|
# timeout_seconds: 1,
|
775
|
+
# source_file_location: "SourceFileLocation",
|
780
776
|
# },
|
781
777
|
# delete_step_details: {
|
782
778
|
# name: "WorkflowStepName",
|
779
|
+
# source_file_location: "SourceFileLocation",
|
783
780
|
# },
|
784
781
|
# tag_step_details: {
|
785
782
|
# name: "WorkflowStepName",
|
@@ -789,6 +786,7 @@ module Aws::Transfer
|
|
789
786
|
# value: "S3TagValue", # required
|
790
787
|
# },
|
791
788
|
# ],
|
789
|
+
# source_file_location: "SourceFileLocation",
|
792
790
|
# },
|
793
791
|
# },
|
794
792
|
# ],
|
@@ -808,14 +806,17 @@ module Aws::Transfer
|
|
808
806
|
# },
|
809
807
|
# },
|
810
808
|
# overwrite_existing: "TRUE", # accepts TRUE, FALSE
|
809
|
+
# source_file_location: "SourceFileLocation",
|
811
810
|
# },
|
812
811
|
# custom_step_details: {
|
813
812
|
# name: "WorkflowStepName",
|
814
813
|
# target: "CustomStepTarget",
|
815
814
|
# timeout_seconds: 1,
|
815
|
+
# source_file_location: "SourceFileLocation",
|
816
816
|
# },
|
817
817
|
# delete_step_details: {
|
818
818
|
# name: "WorkflowStepName",
|
819
|
+
# source_file_location: "SourceFileLocation",
|
819
820
|
# },
|
820
821
|
# tag_step_details: {
|
821
822
|
# name: "WorkflowStepName",
|
@@ -825,6 +826,7 @@ module Aws::Transfer
|
|
825
826
|
# value: "S3TagValue", # required
|
826
827
|
# },
|
827
828
|
# ],
|
829
|
+
# source_file_location: "SourceFileLocation",
|
828
830
|
# },
|
829
831
|
# },
|
830
832
|
# ],
|
@@ -912,6 +914,7 @@ module Aws::Transfer
|
|
912
914
|
# name: "WorkflowStepName",
|
913
915
|
# target: "CustomStepTarget",
|
914
916
|
# timeout_seconds: 1,
|
917
|
+
# source_file_location: "SourceFileLocation",
|
915
918
|
# }
|
916
919
|
#
|
917
920
|
# @!attribute [rw] name
|
@@ -926,12 +929,26 @@ module Aws::Transfer
|
|
926
929
|
# Timeout, in seconds, for the step.
|
927
930
|
# @return [Integer]
|
928
931
|
#
|
932
|
+
# @!attribute [rw] source_file_location
|
933
|
+
# Specifies which file to use as input to the workflow step: either
|
934
|
+
# the output from the previous step, or the originally uploaded file
|
935
|
+
# for the workflow.
|
936
|
+
#
|
937
|
+
# * Enter `$\{previous.file\}` to use the previous file as the input.
|
938
|
+
# In this case, this workflow step uses the output file from the
|
939
|
+
# previous workflow step as input. This is the default value.
|
940
|
+
#
|
941
|
+
# * Enter `$\{original.file\}` to use the originally-uploaded file
|
942
|
+
# location as input for this step.
|
943
|
+
# @return [String]
|
944
|
+
#
|
929
945
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/CustomStepDetails AWS API Documentation
|
930
946
|
#
|
931
947
|
class CustomStepDetails < Struct.new(
|
932
948
|
:name,
|
933
949
|
:target,
|
934
|
-
:timeout_seconds
|
950
|
+
:timeout_seconds,
|
951
|
+
:source_file_location)
|
935
952
|
SENSITIVE = []
|
936
953
|
include Aws::Structure
|
937
954
|
end
|
@@ -1037,16 +1054,31 @@ module Aws::Transfer
|
|
1037
1054
|
#
|
1038
1055
|
# {
|
1039
1056
|
# name: "WorkflowStepName",
|
1057
|
+
# source_file_location: "SourceFileLocation",
|
1040
1058
|
# }
|
1041
1059
|
#
|
1042
1060
|
# @!attribute [rw] name
|
1043
1061
|
# The name of the step, used as an identifier.
|
1044
1062
|
# @return [String]
|
1045
1063
|
#
|
1064
|
+
# @!attribute [rw] source_file_location
|
1065
|
+
# Specifies which file to use as input to the workflow step: either
|
1066
|
+
# the output from the previous step, or the originally uploaded file
|
1067
|
+
# for the workflow.
|
1068
|
+
#
|
1069
|
+
# * Enter `$\{previous.file\}` to use the previous file as the input.
|
1070
|
+
# In this case, this workflow step uses the output file from the
|
1071
|
+
# previous workflow step as input. This is the default value.
|
1072
|
+
#
|
1073
|
+
# * Enter `$\{original.file\}` to use the originally-uploaded file
|
1074
|
+
# location as input for this step.
|
1075
|
+
# @return [String]
|
1076
|
+
#
|
1046
1077
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DeleteStepDetails AWS API Documentation
|
1047
1078
|
#
|
1048
1079
|
class DeleteStepDetails < Struct.new(
|
1049
|
-
:name
|
1080
|
+
:name,
|
1081
|
+
:source_file_location)
|
1050
1082
|
SENSITIVE = []
|
1051
1083
|
include Aws::Structure
|
1052
1084
|
end
|
@@ -2099,17 +2131,6 @@ module Aws::Transfer
|
|
2099
2131
|
#
|
2100
2132
|
# `[ \{ "Entry:": "/", "Target": "/bucket_name/home/mydirectory" \} ]`
|
2101
2133
|
#
|
2102
|
-
# <note markdown="1"> If the target of a logical directory entry does not exist in Amazon S3
|
2103
|
-
# or EFS, the entry is ignored. As a workaround, you can use the Amazon
|
2104
|
-
# S3 API or EFS API to create 0 byte objects as place holders for your
|
2105
|
-
# directory. If using the CLI, use the `s3api` or `efsapi` call instead
|
2106
|
-
# of `s3` or `efs` so you can use the put-object operation. For example,
|
2107
|
-
# you use the following: `aws s3api put-object --bucket bucketname --key
|
2108
|
-
# path/to/folder/`. Make sure that the end of the key name ends in a `/`
|
2109
|
-
# for it to be considered a folder.
|
2110
|
-
#
|
2111
|
-
# </note>
|
2112
|
-
#
|
2113
2134
|
# @note When making an API call, you may pass HomeDirectoryMapEntry
|
2114
2135
|
# data as a hash:
|
2115
2136
|
#
|
@@ -3514,6 +3535,7 @@ module Aws::Transfer
|
|
3514
3535
|
# value: "S3TagValue", # required
|
3515
3536
|
# },
|
3516
3537
|
# ],
|
3538
|
+
# source_file_location: "SourceFileLocation",
|
3517
3539
|
# }
|
3518
3540
|
#
|
3519
3541
|
# @!attribute [rw] name
|
@@ -3524,11 +3546,25 @@ module Aws::Transfer
|
|
3524
3546
|
# Array that contains from 1 to 10 key/value pairs.
|
3525
3547
|
# @return [Array<Types::S3Tag>]
|
3526
3548
|
#
|
3549
|
+
# @!attribute [rw] source_file_location
|
3550
|
+
# Specifies which file to use as input to the workflow step: either
|
3551
|
+
# the output from the previous step, or the originally uploaded file
|
3552
|
+
# for the workflow.
|
3553
|
+
#
|
3554
|
+
# * Enter `$\{previous.file\}` to use the previous file as the input.
|
3555
|
+
# In this case, this workflow step uses the output file from the
|
3556
|
+
# previous workflow step as input. This is the default value.
|
3557
|
+
#
|
3558
|
+
# * Enter `$\{original.file\}` to use the originally-uploaded file
|
3559
|
+
# location as input for this step.
|
3560
|
+
# @return [String]
|
3561
|
+
#
|
3527
3562
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/TagStepDetails AWS API Documentation
|
3528
3563
|
#
|
3529
3564
|
class TagStepDetails < Struct.new(
|
3530
3565
|
:name,
|
3531
|
-
:tags
|
3566
|
+
:tags,
|
3567
|
+
:source_file_location)
|
3532
3568
|
SENSITIVE = []
|
3533
3569
|
include Aws::Structure
|
3534
3570
|
end
|
@@ -3595,6 +3631,11 @@ module Aws::Transfer
|
|
3595
3631
|
#
|
3596
3632
|
# @!attribute [rw] message
|
3597
3633
|
# A message that indicates whether the test was successful or not.
|
3634
|
+
#
|
3635
|
+
# <note markdown="1"> If an empty string is returned, the most likely cause is that the
|
3636
|
+
# authentication failed due to an incorrect username or password.
|
3637
|
+
#
|
3638
|
+
# </note>
|
3598
3639
|
# @return [String]
|
3599
3640
|
#
|
3600
3641
|
# @!attribute [rw] url
|
@@ -3720,17 +3761,6 @@ module Aws::Transfer
|
|
3720
3761
|
# The following is an `Entry` and `Target` pair example for `chroot`.
|
3721
3762
|
#
|
3722
3763
|
# `[ \{ "Entry:": "/", "Target": "/bucket_name/home/mydirectory" \} ]`
|
3723
|
-
#
|
3724
|
-
# <note markdown="1"> If the target of a logical directory entry does not exist in Amazon
|
3725
|
-
# S3 or EFS, the entry is ignored. As a workaround, you can use the
|
3726
|
-
# Amazon S3 API or EFS API to create 0 byte objects as place holders
|
3727
|
-
# for your directory. If using the CLI, use the `s3api` or `efsapi`
|
3728
|
-
# call instead of `s3` or `efs` so you can use the put-object
|
3729
|
-
# operation. For example, you use the following: `aws s3api put-object
|
3730
|
-
# --bucket bucketname --key path/to/folder/`. Make sure that the end
|
3731
|
-
# of the key name ends in a `/` for it to be considered a folder.
|
3732
|
-
#
|
3733
|
-
# </note>
|
3734
3764
|
# @return [Array<Types::HomeDirectoryMapEntry>]
|
3735
3765
|
#
|
3736
3766
|
# @!attribute [rw] policy
|
@@ -4149,17 +4179,6 @@ module Aws::Transfer
|
|
4149
4179
|
# The following is an `Entry` and `Target` pair example for `chroot`.
|
4150
4180
|
#
|
4151
4181
|
# `[ \{ "Entry:": "/", "Target": "/bucket_name/home/mydirectory" \} ]`
|
4152
|
-
#
|
4153
|
-
# <note markdown="1"> If the target of a logical directory entry does not exist in Amazon
|
4154
|
-
# S3 or EFS, the entry is ignored. As a workaround, you can use the
|
4155
|
-
# Amazon S3 API or EFS API to create 0 byte objects as place holders
|
4156
|
-
# for your directory. If using the CLI, use the `s3api` or `efsapi`
|
4157
|
-
# call instead of `s3` or `efs` so you can use the put-object
|
4158
|
-
# operation. For example, you use the following: `aws s3api put-object
|
4159
|
-
# --bucket bucketname --key path/to/folder/`. Make sure that the end
|
4160
|
-
# of the key name ends in a `/` for it to be considered a folder.
|
4161
|
-
#
|
4162
|
-
# </note>
|
4163
4182
|
# @return [Array<Types::HomeDirectoryMapEntry>]
|
4164
4183
|
#
|
4165
4184
|
# @!attribute [rw] policy
|
@@ -4368,14 +4387,17 @@ module Aws::Transfer
|
|
4368
4387
|
# },
|
4369
4388
|
# },
|
4370
4389
|
# overwrite_existing: "TRUE", # accepts TRUE, FALSE
|
4390
|
+
# source_file_location: "SourceFileLocation",
|
4371
4391
|
# },
|
4372
4392
|
# custom_step_details: {
|
4373
4393
|
# name: "WorkflowStepName",
|
4374
4394
|
# target: "CustomStepTarget",
|
4375
4395
|
# timeout_seconds: 1,
|
4396
|
+
# source_file_location: "SourceFileLocation",
|
4376
4397
|
# },
|
4377
4398
|
# delete_step_details: {
|
4378
4399
|
# name: "WorkflowStepName",
|
4400
|
+
# source_file_location: "SourceFileLocation",
|
4379
4401
|
# },
|
4380
4402
|
# tag_step_details: {
|
4381
4403
|
# name: "WorkflowStepName",
|
@@ -4385,6 +4407,7 @@ module Aws::Transfer
|
|
4385
4407
|
# value: "S3TagValue", # required
|
4386
4408
|
# },
|
4387
4409
|
# ],
|
4410
|
+
# source_file_location: "SourceFileLocation",
|
4388
4411
|
# },
|
4389
4412
|
# }
|
4390
4413
|
#
|
data/lib/aws-sdk-transfer.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-transfer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.48.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-02-
|
11
|
+
date: 2022-02-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|