aws-sdk-transfer 1.66.0 → 1.67.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 +51 -25
- data/lib/aws-sdk-transfer/types.rb +163 -73
- 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: 6f5625859721f732602752e01edabf8e915b0ad82aae2502857b1fa13b441b97
|
4
|
+
data.tar.gz: 64ee432e3a967d4dbbff68aada763bd17a07a4a76e3855f4aaa6862fcac8b973
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d8cc03d0c99017b385c269549fa4f95ad24a42cc4c9254770dbb66a3f0261031a497d478123362530d29d88094dd9d480354866e54bcc1e641f850dedce72a3
|
7
|
+
data.tar.gz: 0cd1fe1ca95518e0aa2a36340cd03798fcb6fb1c8a5f65103c782e16b209f04740455483a04691746acda797e186588eaa74756d8fb8834348a48cceb9be9119
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.67.0
|
@@ -561,8 +561,7 @@ module Aws::Transfer
|
|
561
561
|
# The landing directory (folder) for files transferred by using the AS2
|
562
562
|
# protocol.
|
563
563
|
#
|
564
|
-
# A `BaseDirectory` example is
|
565
|
-
# *DOC-EXAMPLE-BUCKET*/*home*/*mydirectory*.
|
564
|
+
# A `BaseDirectory` example is `/DOC-EXAMPLE-BUCKET/home/mydirectory`.
|
566
565
|
#
|
567
566
|
# @option params [required, String] :access_role
|
568
567
|
# With AS2, you can send files by calling `StartFileTransfer` and
|
@@ -882,7 +881,7 @@ module Aws::Transfer
|
|
882
881
|
# SFTP-enabled server to a new server, don't update the host key.
|
883
882
|
# Accidentally changing a server's host key can be disruptive.
|
884
883
|
#
|
885
|
-
# For more information, see [
|
884
|
+
# For more information, see [Manage host keys for your SFTP-enabled
|
886
885
|
# server][1] in the *Transfer Family User Guide*.
|
887
886
|
#
|
888
887
|
#
|
@@ -965,14 +964,15 @@ module Aws::Transfer
|
|
965
964
|
#
|
966
965
|
# * If `Protocol` includes either `FTP` or `FTPS`, then the
|
967
966
|
# `EndpointType` must be `VPC` and the `IdentityProviderType` must be
|
968
|
-
# `AWS_DIRECTORY_SERVICE` or `API_GATEWAY`.
|
967
|
+
# either `AWS_DIRECTORY_SERVICE`, `AWS_LAMBDA`, or `API_GATEWAY`.
|
969
968
|
#
|
970
969
|
# * If `Protocol` includes `FTP`, then `AddressAllocationIds` cannot be
|
971
970
|
# associated.
|
972
971
|
#
|
973
972
|
# * If `Protocol` is set only to `SFTP`, the `EndpointType` can be set
|
974
|
-
# to `PUBLIC` and the `IdentityProviderType` can be set
|
975
|
-
# `SERVICE_MANAGED
|
973
|
+
# to `PUBLIC` and the `IdentityProviderType` can be set any of the
|
974
|
+
# supported identity types: `SERVICE_MANAGED`,
|
975
|
+
# `AWS_DIRECTORY_SERVICE`, `AWS_LAMBDA`, or `API_GATEWAY`.
|
976
976
|
#
|
977
977
|
# * If `Protocol` includes `AS2`, then the `EndpointType` must be `VPC`,
|
978
978
|
# and domain must be Amazon S3.
|
@@ -1014,8 +1014,8 @@ module Aws::Transfer
|
|
1014
1014
|
# Specifies the workflow ID for the workflow to assign and the execution
|
1015
1015
|
# role that's used for executing the workflow.
|
1016
1016
|
#
|
1017
|
-
# In
|
1018
|
-
# completely, `
|
1017
|
+
# In addition to a workflow to execute when a file is uploaded
|
1018
|
+
# completely, `WorkflowDetails` can also contain a workflow ID (and
|
1019
1019
|
# execution role) for a workflow to execute on partial upload. A partial
|
1020
1020
|
# upload occurs when a file is open when the session disconnects.
|
1021
1021
|
#
|
@@ -1191,8 +1191,20 @@ module Aws::Transfer
|
|
1191
1191
|
# The public portion of the Secure Shell (SSH) key used to authenticate
|
1192
1192
|
# the user to the server.
|
1193
1193
|
#
|
1194
|
+
# The three standard SSH public key format elements are `<key type>`,
|
1195
|
+
# `<body base64>`, and an optional `<comment>`, with spaces between each
|
1196
|
+
# element.
|
1197
|
+
#
|
1194
1198
|
# Transfer Family accepts RSA, ECDSA, and ED25519 keys.
|
1195
1199
|
#
|
1200
|
+
# * For RSA keys, the key type is `ssh-rsa`.
|
1201
|
+
#
|
1202
|
+
# * For ED25519 keys, the key type is `ssh-ed25519`.
|
1203
|
+
#
|
1204
|
+
# * For ECDSA keys, the key type is either `ecdsa-sha2-nistp256`,
|
1205
|
+
# `ecdsa-sha2-nistp384`, or `ecdsa-sha2-nistp521`, depending on the
|
1206
|
+
# size of the key you generated.
|
1207
|
+
#
|
1196
1208
|
# @option params [Array<Types::Tag>] :tags
|
1197
1209
|
# Key-value pairs that can be used to group and search for users. Tags
|
1198
1210
|
# are metadata attached to users for any purpose.
|
@@ -1268,20 +1280,24 @@ module Aws::Transfer
|
|
1268
1280
|
# The `TYPE` specifies which of the following actions is being taken for
|
1269
1281
|
# this step.
|
1270
1282
|
#
|
1271
|
-
# *
|
1283
|
+
# * <b> <code>COPY</code> </b> - Copy the file to another location.
|
1272
1284
|
#
|
1273
|
-
# *
|
1285
|
+
# * <b> <code>CUSTOM</code> </b> - Perform a custom step with an Lambda
|
1286
|
+
# function target.
|
1274
1287
|
#
|
1275
|
-
# *
|
1288
|
+
# * <b> <code>DECRYPT</code> </b> - Decrypt a file that was encrypted
|
1289
|
+
# before it was uploaded.
|
1276
1290
|
#
|
1277
|
-
# *
|
1291
|
+
# * <b> <code>DELETE</code> </b> - Delete the file.
|
1292
|
+
#
|
1293
|
+
# * <b> <code>TAG</code> </b> - Add a tag to the file.
|
1278
1294
|
#
|
1279
1295
|
# <note markdown="1"> Currently, copying and tagging are supported only on S3.
|
1280
1296
|
#
|
1281
1297
|
# </note>
|
1282
1298
|
#
|
1283
|
-
# For file location, you specify either the S3 bucket and key, or
|
1284
|
-
# EFS file system ID and path.
|
1299
|
+
# For file location, you specify either the Amazon S3 bucket and key, or
|
1300
|
+
# the Amazon EFS file system ID and path.
|
1285
1301
|
#
|
1286
1302
|
# @option params [Array<Types::WorkflowStep>] :on_exception_steps
|
1287
1303
|
# Specifies the steps (actions) to take if errors are encountered during
|
@@ -2337,15 +2353,24 @@ module Aws::Transfer
|
|
2337
2353
|
# Specifies whether this certificate is used for signing or encryption.
|
2338
2354
|
#
|
2339
2355
|
# @option params [required, String] :certificate
|
2340
|
-
#
|
2356
|
+
# * For the CLI, provide a file path for a certificate in URI format.
|
2357
|
+
# For example, `--certificate file://encryption-cert.pem`.
|
2358
|
+
# Alternatively, you can provide the raw content.
|
2359
|
+
#
|
2360
|
+
# * For the SDK, specify the raw content of a certificate file. For
|
2361
|
+
# example, `` --certificate "`cat encryption-cert.pem`" ``.
|
2341
2362
|
#
|
2342
2363
|
# @option params [String] :certificate_chain
|
2343
2364
|
# An optional list of certificates that make up the chain for the
|
2344
2365
|
# certificate that's being imported.
|
2345
2366
|
#
|
2346
2367
|
# @option params [String] :private_key
|
2347
|
-
#
|
2348
|
-
#
|
2368
|
+
# * For the CLI, provide a file path for a private key in URI format.For
|
2369
|
+
# example, `--private-key file://encryption-key.pem`. Alternatively,
|
2370
|
+
# you can provide the raw content of the private key file.
|
2371
|
+
#
|
2372
|
+
# * For the SDK, specify the raw content of a private key file. For
|
2373
|
+
# example, `` --private-key "`cat encryption-key.pem`" ``
|
2349
2374
|
#
|
2350
2375
|
# @option params [Time,DateTime,Date,Integer,String] :active_date
|
2351
2376
|
# An optional date that specifies when the certificate becomes active.
|
@@ -2402,7 +2427,7 @@ module Aws::Transfer
|
|
2402
2427
|
# importing.
|
2403
2428
|
#
|
2404
2429
|
# @option params [required, String] :host_key_body
|
2405
|
-
# The
|
2430
|
+
# The private key portion of an SSH key pair.
|
2406
2431
|
#
|
2407
2432
|
# Transfer Family accepts RSA, ECDSA, and ED25519 keys.
|
2408
2433
|
#
|
@@ -3956,7 +3981,7 @@ module Aws::Transfer
|
|
3956
3981
|
# SFTP-enabled server to a new server, don't update the host key.
|
3957
3982
|
# Accidentally changing a server's host key can be disruptive.
|
3958
3983
|
#
|
3959
|
-
# For more information, see [
|
3984
|
+
# For more information, see [Manage host keys for your SFTP-enabled
|
3960
3985
|
# server][1] in the *Transfer Family User Guide*.
|
3961
3986
|
#
|
3962
3987
|
#
|
@@ -4014,14 +4039,15 @@ module Aws::Transfer
|
|
4014
4039
|
#
|
4015
4040
|
# * If `Protocol` includes either `FTP` or `FTPS`, then the
|
4016
4041
|
# `EndpointType` must be `VPC` and the `IdentityProviderType` must be
|
4017
|
-
# `AWS_DIRECTORY_SERVICE` or `API_GATEWAY`.
|
4042
|
+
# either `AWS_DIRECTORY_SERVICE`, `AWS_LAMBDA`, or `API_GATEWAY`.
|
4018
4043
|
#
|
4019
4044
|
# * If `Protocol` includes `FTP`, then `AddressAllocationIds` cannot be
|
4020
4045
|
# associated.
|
4021
4046
|
#
|
4022
4047
|
# * If `Protocol` is set only to `SFTP`, the `EndpointType` can be set
|
4023
|
-
# to `PUBLIC` and the `IdentityProviderType` can be set
|
4024
|
-
# `SERVICE_MANAGED
|
4048
|
+
# to `PUBLIC` and the `IdentityProviderType` can be set any of the
|
4049
|
+
# supported identity types: `SERVICE_MANAGED`,
|
4050
|
+
# `AWS_DIRECTORY_SERVICE`, `AWS_LAMBDA`, or `API_GATEWAY`.
|
4025
4051
|
#
|
4026
4052
|
# * If `Protocol` includes `AS2`, then the `EndpointType` must be `VPC`,
|
4027
4053
|
# and domain must be Amazon S3.
|
@@ -4040,8 +4066,8 @@ module Aws::Transfer
|
|
4040
4066
|
# Specifies the workflow ID for the workflow to assign and the execution
|
4041
4067
|
# role that's used for executing the workflow.
|
4042
4068
|
#
|
4043
|
-
# In
|
4044
|
-
# completely, `
|
4069
|
+
# In addition to a workflow to execute when a file is uploaded
|
4070
|
+
# completely, `WorkflowDetails` can also contain a workflow ID (and
|
4045
4071
|
# execution role) for a workflow to execute on partial upload. A partial
|
4046
4072
|
# upload occurs when a file is open when the session disconnects.
|
4047
4073
|
#
|
@@ -4273,7 +4299,7 @@ module Aws::Transfer
|
|
4273
4299
|
params: params,
|
4274
4300
|
config: config)
|
4275
4301
|
context[:gem_name] = 'aws-sdk-transfer'
|
4276
|
-
context[:gem_version] = '1.
|
4302
|
+
context[:gem_version] = '1.67.0'
|
4277
4303
|
Seahorse::Client::Request.new(handlers, context)
|
4278
4304
|
end
|
4279
4305
|
|
@@ -46,6 +46,11 @@ module Aws::Transfer
|
|
46
46
|
#
|
47
47
|
# @!attribute [rw] encryption_algorithm
|
48
48
|
# The algorithm that is used to encrypt the file.
|
49
|
+
#
|
50
|
+
# <note markdown="1"> You can only specify `NONE` if the URL for your connector uses
|
51
|
+
# HTTPS. This ensures that no traffic is sent in clear text.
|
52
|
+
#
|
53
|
+
# </note>
|
49
54
|
# @return [String]
|
50
55
|
#
|
51
56
|
# @!attribute [rw] signing_algorithm
|
@@ -57,7 +62,7 @@ module Aws::Transfer
|
|
57
62
|
# The signing algorithm for the MDN response.
|
58
63
|
#
|
59
64
|
# <note markdown="1"> If set to DEFAULT (or not set at all), the value for
|
60
|
-
# `
|
65
|
+
# `SigningAlgorithm` is used.
|
61
66
|
#
|
62
67
|
# </note>
|
63
68
|
# @return [String]
|
@@ -111,14 +116,28 @@ module Aws::Transfer
|
|
111
116
|
# @return [String]
|
112
117
|
#
|
113
118
|
# @!attribute [rw] destination_file_location
|
114
|
-
# Specifies the location for the file being copied.
|
115
|
-
#
|
116
|
-
#
|
119
|
+
# Specifies the location for the file being copied. Use
|
120
|
+
# `$\{Transfer:username\}` or `$\{Transfer:UploadDate\}` in this field
|
121
|
+
# to parametrize the destination prefix by username or uploaded date.
|
122
|
+
#
|
123
|
+
# * Set the value of `DestinationFileLocation` to
|
124
|
+
# `$\{Transfer:username\}` to copy uploaded files to an Amazon S3
|
125
|
+
# bucket that is prefixed with the name of the Transfer Family user
|
126
|
+
# that uploaded the file.
|
127
|
+
#
|
128
|
+
# * Set the value of `DestinationFileLocation` to
|
129
|
+
# `$\{Transfer:UploadDate\}` to copy uploaded files to an Amazon S3
|
130
|
+
# bucket that is prefixed with the date of the upload.
|
131
|
+
#
|
132
|
+
# <note markdown="1"> The system resolves `UploadDate` to a date format of *YYYY-MM-DD*,
|
133
|
+
# based on the date the file is uploaded.
|
134
|
+
#
|
135
|
+
# </note>
|
117
136
|
# @return [Types::InputFileLocation]
|
118
137
|
#
|
119
138
|
# @!attribute [rw] overwrite_existing
|
120
|
-
# A flag that indicates whether
|
121
|
-
#
|
139
|
+
# A flag that indicates whether to overwrite an existing file of the
|
140
|
+
# same name. The default is `FALSE`.
|
122
141
|
# @return [String]
|
123
142
|
#
|
124
143
|
# @!attribute [rw] source_file_location
|
@@ -126,12 +145,12 @@ module Aws::Transfer
|
|
126
145
|
# the output from the previous step, or the originally uploaded file
|
127
146
|
# for the workflow.
|
128
147
|
#
|
129
|
-
# *
|
148
|
+
# * To use the previous file as the input, enter `$\{previous.file\}`.
|
130
149
|
# In this case, this workflow step uses the output file from the
|
131
150
|
# previous workflow step as input. This is the default value.
|
132
151
|
#
|
133
|
-
# *
|
134
|
-
#
|
152
|
+
# * To use the originally uploaded file location as input for this
|
153
|
+
# step, enter `$\{original.file\}`.
|
135
154
|
# @return [String]
|
136
155
|
#
|
137
156
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/CopyStepDetails AWS API Documentation
|
@@ -316,8 +335,7 @@ module Aws::Transfer
|
|
316
335
|
# The landing directory (folder) for files transferred by using the
|
317
336
|
# AS2 protocol.
|
318
337
|
#
|
319
|
-
# A `BaseDirectory` example is
|
320
|
-
# *DOC-EXAMPLE-BUCKET*/*home*/*mydirectory*.
|
338
|
+
# A `BaseDirectory` example is `/DOC-EXAMPLE-BUCKET/home/mydirectory`.
|
321
339
|
# @return [String]
|
322
340
|
#
|
323
341
|
# @!attribute [rw] access_role
|
@@ -609,7 +627,7 @@ module Aws::Transfer
|
|
609
627
|
# SFTP-enabled server to a new server, don't update the host key.
|
610
628
|
# Accidentally changing a server's host key can be disruptive.
|
611
629
|
#
|
612
|
-
# For more information, see [
|
630
|
+
# For more information, see [Manage host keys for your SFTP-enabled
|
613
631
|
# server][1] in the *Transfer Family User Guide*.
|
614
632
|
#
|
615
633
|
#
|
@@ -699,14 +717,15 @@ module Aws::Transfer
|
|
699
717
|
#
|
700
718
|
# * If `Protocol` includes either `FTP` or `FTPS`, then the
|
701
719
|
# `EndpointType` must be `VPC` and the `IdentityProviderType` must
|
702
|
-
# be `AWS_DIRECTORY_SERVICE` or `API_GATEWAY`.
|
720
|
+
# be either `AWS_DIRECTORY_SERVICE`, `AWS_LAMBDA`, or `API_GATEWAY`.
|
703
721
|
#
|
704
722
|
# * If `Protocol` includes `FTP`, then `AddressAllocationIds` cannot
|
705
723
|
# be associated.
|
706
724
|
#
|
707
725
|
# * If `Protocol` is set only to `SFTP`, the `EndpointType` can be set
|
708
|
-
# to `PUBLIC` and the `IdentityProviderType` can be set
|
709
|
-
# `SERVICE_MANAGED
|
726
|
+
# to `PUBLIC` and the `IdentityProviderType` can be set any of the
|
727
|
+
# supported identity types: `SERVICE_MANAGED`,
|
728
|
+
# `AWS_DIRECTORY_SERVICE`, `AWS_LAMBDA`, or `API_GATEWAY`.
|
710
729
|
#
|
711
730
|
# * If `Protocol` includes `AS2`, then the `EndpointType` must be
|
712
731
|
# `VPC`, and domain must be Amazon S3.
|
@@ -753,8 +772,8 @@ module Aws::Transfer
|
|
753
772
|
# Specifies the workflow ID for the workflow to assign and the
|
754
773
|
# execution role that's used for executing the workflow.
|
755
774
|
#
|
756
|
-
# In
|
757
|
-
# completely, `
|
775
|
+
# In addition to a workflow to execute when a file is uploaded
|
776
|
+
# completely, `WorkflowDetails` can also contain a workflow ID (and
|
758
777
|
# execution role) for a workflow to execute on partial upload. A
|
759
778
|
# partial upload occurs when a file is open when the session
|
760
779
|
# disconnects.
|
@@ -894,7 +913,19 @@ module Aws::Transfer
|
|
894
913
|
# The public portion of the Secure Shell (SSH) key used to
|
895
914
|
# authenticate the user to the server.
|
896
915
|
#
|
916
|
+
# The three standard SSH public key format elements are `<key type>`,
|
917
|
+
# `<body base64>`, and an optional `<comment>`, with spaces between
|
918
|
+
# each element.
|
919
|
+
#
|
897
920
|
# Transfer Family accepts RSA, ECDSA, and ED25519 keys.
|
921
|
+
#
|
922
|
+
# * For RSA keys, the key type is `ssh-rsa`.
|
923
|
+
#
|
924
|
+
# * For ED25519 keys, the key type is `ssh-ed25519`.
|
925
|
+
#
|
926
|
+
# * For ECDSA keys, the key type is either `ecdsa-sha2-nistp256`,
|
927
|
+
# `ecdsa-sha2-nistp384`, or `ecdsa-sha2-nistp521`, depending on the
|
928
|
+
# size of the key you generated.
|
898
929
|
# @return [String]
|
899
930
|
#
|
900
931
|
# @!attribute [rw] tags
|
@@ -956,20 +987,24 @@ module Aws::Transfer
|
|
956
987
|
# The `TYPE` specifies which of the following actions is being taken
|
957
988
|
# for this step.
|
958
989
|
#
|
959
|
-
# *
|
990
|
+
# * <b> <code>COPY</code> </b> - Copy the file to another location.
|
960
991
|
#
|
961
|
-
# *
|
992
|
+
# * <b> <code>CUSTOM</code> </b> - Perform a custom step with an
|
993
|
+
# Lambda function target.
|
962
994
|
#
|
963
|
-
# *
|
995
|
+
# * <b> <code>DECRYPT</code> </b> - Decrypt a file that was encrypted
|
996
|
+
# before it was uploaded.
|
964
997
|
#
|
965
|
-
# *
|
998
|
+
# * <b> <code>DELETE</code> </b> - Delete the file.
|
999
|
+
#
|
1000
|
+
# * <b> <code>TAG</code> </b> - Add a tag to the file.
|
966
1001
|
#
|
967
1002
|
# <note markdown="1"> Currently, copying and tagging are supported only on S3.
|
968
1003
|
#
|
969
1004
|
# </note>
|
970
1005
|
#
|
971
|
-
# For file location, you specify either the S3 bucket and key,
|
972
|
-
# EFS file system ID and path.
|
1006
|
+
# For file location, you specify either the Amazon S3 bucket and key,
|
1007
|
+
# or the Amazon EFS file system ID and path.
|
973
1008
|
# @return [Array<Types::WorkflowStep>]
|
974
1009
|
#
|
975
1010
|
# @!attribute [rw] on_exception_steps
|
@@ -1031,12 +1066,12 @@ module Aws::Transfer
|
|
1031
1066
|
# the output from the previous step, or the originally uploaded file
|
1032
1067
|
# for the workflow.
|
1033
1068
|
#
|
1034
|
-
# *
|
1069
|
+
# * To use the previous file as the input, enter `$\{previous.file\}`.
|
1035
1070
|
# In this case, this workflow step uses the output file from the
|
1036
1071
|
# previous workflow step as input. This is the default value.
|
1037
1072
|
#
|
1038
|
-
# *
|
1039
|
-
#
|
1073
|
+
# * To use the originally uploaded file location as input for this
|
1074
|
+
# step, enter `$\{original.file\}`.
|
1040
1075
|
# @return [String]
|
1041
1076
|
#
|
1042
1077
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/CustomStepDetails AWS API Documentation
|
@@ -1050,21 +1085,36 @@ module Aws::Transfer
|
|
1050
1085
|
include Aws::Structure
|
1051
1086
|
end
|
1052
1087
|
|
1088
|
+
# Each step type has its own `StepDetails` structure.
|
1089
|
+
#
|
1053
1090
|
# @!attribute [rw] name
|
1091
|
+
# The name of the step, used as an identifier.
|
1054
1092
|
# @return [String]
|
1055
1093
|
#
|
1056
1094
|
# @!attribute [rw] type
|
1095
|
+
# The type of encryption used. Currently, this value must be `PGP`.
|
1057
1096
|
# @return [String]
|
1058
1097
|
#
|
1059
1098
|
# @!attribute [rw] source_file_location
|
1099
|
+
# Specifies which file to use as input to the workflow step: either
|
1100
|
+
# the output from the previous step, or the originally uploaded file
|
1101
|
+
# for the workflow.
|
1102
|
+
#
|
1103
|
+
# * To use the previous file as the input, enter `$\{previous.file\}`.
|
1104
|
+
# In this case, this workflow step uses the output file from the
|
1105
|
+
# previous workflow step as input. This is the default value.
|
1106
|
+
#
|
1107
|
+
# * To use the originally uploaded file location as input for this
|
1108
|
+
# step, enter `$\{original.file\}`.
|
1060
1109
|
# @return [String]
|
1061
1110
|
#
|
1062
1111
|
# @!attribute [rw] overwrite_existing
|
1112
|
+
# A flag that indicates whether to overwrite an existing file of the
|
1113
|
+
# same name. The default is `FALSE`.
|
1063
1114
|
# @return [String]
|
1064
1115
|
#
|
1065
1116
|
# @!attribute [rw] destination_file_location
|
1066
|
-
# Specifies the location for the file being
|
1067
|
-
# for the Copy type of workflow steps.
|
1117
|
+
# Specifies the location for the file that's being processed.
|
1068
1118
|
# @return [Types::InputFileLocation]
|
1069
1119
|
#
|
1070
1120
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DecryptStepDetails AWS API Documentation
|
@@ -1233,12 +1283,12 @@ module Aws::Transfer
|
|
1233
1283
|
# the output from the previous step, or the originally uploaded file
|
1234
1284
|
# for the workflow.
|
1235
1285
|
#
|
1236
|
-
# *
|
1286
|
+
# * To use the previous file as the input, enter `$\{previous.file\}`.
|
1237
1287
|
# In this case, this workflow step uses the output file from the
|
1238
1288
|
# previous workflow step as input. This is the default value.
|
1239
1289
|
#
|
1240
|
-
# *
|
1241
|
-
#
|
1290
|
+
# * To use the originally uploaded file location as input for this
|
1291
|
+
# step, enter `$\{original.file\}`.
|
1242
1292
|
# @return [String]
|
1243
1293
|
#
|
1244
1294
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DeleteStepDetails AWS API Documentation
|
@@ -2297,14 +2347,15 @@ module Aws::Transfer
|
|
2297
2347
|
#
|
2298
2348
|
# * If `Protocol` includes either `FTP` or `FTPS`, then the
|
2299
2349
|
# `EndpointType` must be `VPC` and the `IdentityProviderType` must
|
2300
|
-
# be `AWS_DIRECTORY_SERVICE` or `API_GATEWAY`.
|
2350
|
+
# be either `AWS_DIRECTORY_SERVICE`, `AWS_LAMBDA`, or `API_GATEWAY`.
|
2301
2351
|
#
|
2302
2352
|
# * If `Protocol` includes `FTP`, then `AddressAllocationIds` cannot
|
2303
2353
|
# be associated.
|
2304
2354
|
#
|
2305
2355
|
# * If `Protocol` is set only to `SFTP`, the `EndpointType` can be set
|
2306
|
-
# to `PUBLIC` and the `IdentityProviderType` can be set
|
2307
|
-
# `SERVICE_MANAGED
|
2356
|
+
# to `PUBLIC` and the `IdentityProviderType` can be set any of the
|
2357
|
+
# supported identity types: `SERVICE_MANAGED`,
|
2358
|
+
# `AWS_DIRECTORY_SERVICE`, `AWS_LAMBDA`, or `API_GATEWAY`.
|
2308
2359
|
#
|
2309
2360
|
# * If `Protocol` includes `AS2`, then the `EndpointType` must be
|
2310
2361
|
# `VPC`, and domain must be Amazon S3.
|
@@ -2348,8 +2399,8 @@ module Aws::Transfer
|
|
2348
2399
|
# Specifies the workflow ID for the workflow to assign and the
|
2349
2400
|
# execution role that's used for executing the workflow.
|
2350
2401
|
#
|
2351
|
-
# In
|
2352
|
-
# completely, `
|
2402
|
+
# In addition to a workflow to execute when a file is uploaded
|
2403
|
+
# completely, `WorkflowDetails` can also contain a workflow ID (and
|
2353
2404
|
# execution role) for a workflow to execute on partial upload. A
|
2354
2405
|
# partial upload occurs when a file is open when the session
|
2355
2406
|
# disconnects.
|
@@ -2527,7 +2578,9 @@ module Aws::Transfer
|
|
2527
2578
|
include Aws::Structure
|
2528
2579
|
end
|
2529
2580
|
|
2530
|
-
#
|
2581
|
+
# Specifies the details for the file location for the file that's being
|
2582
|
+
# used in the workflow. Only applicable if you are using Amazon Elastic
|
2583
|
+
# File Systems (Amazon EFS) for storage.
|
2531
2584
|
#
|
2532
2585
|
# @!attribute [rw] file_system_id
|
2533
2586
|
# The identifier of the file system, assigned by Amazon EFS.
|
@@ -2716,13 +2769,17 @@ module Aws::Transfer
|
|
2716
2769
|
# @!attribute [rw] step_type
|
2717
2770
|
# One of the available step types.
|
2718
2771
|
#
|
2719
|
-
# *
|
2772
|
+
# * <b> <code>COPY</code> </b> - Copy the file to another location.
|
2773
|
+
#
|
2774
|
+
# * <b> <code>CUSTOM</code> </b> - Perform a custom step with an
|
2775
|
+
# Lambda function target.
|
2720
2776
|
#
|
2721
|
-
# *
|
2777
|
+
# * <b> <code>DECRYPT</code> </b> - Decrypt a file that was encrypted
|
2778
|
+
# before it was uploaded.
|
2722
2779
|
#
|
2723
|
-
# *
|
2780
|
+
# * <b> <code>DELETE</code> </b> - Delete the file.
|
2724
2781
|
#
|
2725
|
-
# *
|
2782
|
+
# * <b> <code>TAG</code> </b> - Add a tag to the file.
|
2726
2783
|
# @return [String]
|
2727
2784
|
#
|
2728
2785
|
# @!attribute [rw] outputs
|
@@ -2830,7 +2887,12 @@ module Aws::Transfer
|
|
2830
2887
|
# @return [String]
|
2831
2888
|
#
|
2832
2889
|
# @!attribute [rw] certificate
|
2833
|
-
#
|
2890
|
+
# * For the CLI, provide a file path for a certificate in URI format.
|
2891
|
+
# For example, `--certificate file://encryption-cert.pem`.
|
2892
|
+
# Alternatively, you can provide the raw content.
|
2893
|
+
#
|
2894
|
+
# * For the SDK, specify the raw content of a certificate file. For
|
2895
|
+
# example, `` --certificate "`cat encryption-cert.pem`" ``.
|
2834
2896
|
# @return [String]
|
2835
2897
|
#
|
2836
2898
|
# @!attribute [rw] certificate_chain
|
@@ -2839,8 +2901,13 @@ module Aws::Transfer
|
|
2839
2901
|
# @return [String]
|
2840
2902
|
#
|
2841
2903
|
# @!attribute [rw] private_key
|
2842
|
-
#
|
2843
|
-
#
|
2904
|
+
# * For the CLI, provide a file path for a private key in URI
|
2905
|
+
# format.For example, `--private-key file://encryption-key.pem`.
|
2906
|
+
# Alternatively, you can provide the raw content of the private key
|
2907
|
+
# file.
|
2908
|
+
#
|
2909
|
+
# * For the SDK, specify the raw content of a private key file. For
|
2910
|
+
# example, `` --private-key "`cat encryption-key.pem`" ``
|
2844
2911
|
# @return [String]
|
2845
2912
|
#
|
2846
2913
|
# @!attribute [rw] active_date
|
@@ -2895,7 +2962,7 @@ module Aws::Transfer
|
|
2895
2962
|
# @return [String]
|
2896
2963
|
#
|
2897
2964
|
# @!attribute [rw] host_key_body
|
2898
|
-
# The
|
2965
|
+
# The private key portion of an SSH key pair.
|
2899
2966
|
#
|
2900
2967
|
# Transfer Family accepts RSA, ECDSA, and ED25519 keys.
|
2901
2968
|
# @return [String]
|
@@ -2987,15 +3054,16 @@ module Aws::Transfer
|
|
2987
3054
|
include Aws::Structure
|
2988
3055
|
end
|
2989
3056
|
|
2990
|
-
# Specifies the location for the file being
|
2991
|
-
# the Copy type of workflow steps.
|
3057
|
+
# Specifies the location for the file that's being processed.
|
2992
3058
|
#
|
2993
3059
|
# @!attribute [rw] s3_file_location
|
2994
|
-
# Specifies the details for the S3 file being copied
|
3060
|
+
# Specifies the details for the Amazon S3 file that's being copied or
|
3061
|
+
# decrypted.
|
2995
3062
|
# @return [Types::S3InputFileLocation]
|
2996
3063
|
#
|
2997
3064
|
# @!attribute [rw] efs_file_location
|
2998
|
-
#
|
3065
|
+
# Specifies the details for the Amazon Elastic File System (Amazon
|
3066
|
+
# EFS) file that's being decrypted.
|
2999
3067
|
# @return [Types::EfsFileLocation]
|
3000
3068
|
#
|
3001
3069
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/InputFileLocation AWS API Documentation
|
@@ -4365,9 +4433,9 @@ module Aws::Transfer
|
|
4365
4433
|
include Aws::Structure
|
4366
4434
|
end
|
4367
4435
|
|
4368
|
-
# Specifies the customer input S3 file location. If it is used
|
4369
|
-
# `copyStepDetails.DestinationFileLocation`, it should be the S3
|
4370
|
-
# destination.
|
4436
|
+
# Specifies the customer input Amazon S3 file location. If it is used
|
4437
|
+
# inside `copyStepDetails.DestinationFileLocation`, it should be the S3
|
4438
|
+
# copy destination.
|
4371
4439
|
#
|
4372
4440
|
# You need to provide the bucket and key. The key can represent either a
|
4373
4441
|
# path or a file. This is determined by whether or not you end the key
|
@@ -4635,12 +4703,12 @@ module Aws::Transfer
|
|
4635
4703
|
# the output from the previous step, or the originally uploaded file
|
4636
4704
|
# for the workflow.
|
4637
4705
|
#
|
4638
|
-
# *
|
4706
|
+
# * To use the previous file as the input, enter `$\{previous.file\}`.
|
4639
4707
|
# In this case, this workflow step uses the output file from the
|
4640
4708
|
# previous workflow step as input. This is the default value.
|
4641
4709
|
#
|
4642
|
-
# *
|
4643
|
-
#
|
4710
|
+
# * To use the originally uploaded file location as input for this
|
4711
|
+
# step, enter `$\{original.file\}`.
|
4644
4712
|
# @return [String]
|
4645
4713
|
#
|
4646
4714
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/TagStepDetails AWS API Documentation
|
@@ -5298,7 +5366,7 @@ module Aws::Transfer
|
|
5298
5366
|
# SFTP-enabled server to a new server, don't update the host key.
|
5299
5367
|
# Accidentally changing a server's host key can be disruptive.
|
5300
5368
|
#
|
5301
|
-
# For more information, see [
|
5369
|
+
# For more information, see [Manage host keys for your SFTP-enabled
|
5302
5370
|
# server][1] in the *Transfer Family User Guide*.
|
5303
5371
|
#
|
5304
5372
|
#
|
@@ -5361,14 +5429,15 @@ module Aws::Transfer
|
|
5361
5429
|
#
|
5362
5430
|
# * If `Protocol` includes either `FTP` or `FTPS`, then the
|
5363
5431
|
# `EndpointType` must be `VPC` and the `IdentityProviderType` must
|
5364
|
-
# be `AWS_DIRECTORY_SERVICE` or `API_GATEWAY`.
|
5432
|
+
# be either `AWS_DIRECTORY_SERVICE`, `AWS_LAMBDA`, or `API_GATEWAY`.
|
5365
5433
|
#
|
5366
5434
|
# * If `Protocol` includes `FTP`, then `AddressAllocationIds` cannot
|
5367
5435
|
# be associated.
|
5368
5436
|
#
|
5369
5437
|
# * If `Protocol` is set only to `SFTP`, the `EndpointType` can be set
|
5370
|
-
# to `PUBLIC` and the `IdentityProviderType` can be set
|
5371
|
-
# `SERVICE_MANAGED
|
5438
|
+
# to `PUBLIC` and the `IdentityProviderType` can be set any of the
|
5439
|
+
# supported identity types: `SERVICE_MANAGED`,
|
5440
|
+
# `AWS_DIRECTORY_SERVICE`, `AWS_LAMBDA`, or `API_GATEWAY`.
|
5372
5441
|
#
|
5373
5442
|
# * If `Protocol` includes `AS2`, then the `EndpointType` must be
|
5374
5443
|
# `VPC`, and domain must be Amazon S3.
|
@@ -5390,8 +5459,8 @@ module Aws::Transfer
|
|
5390
5459
|
# Specifies the workflow ID for the workflow to assign and the
|
5391
5460
|
# execution role that's used for executing the workflow.
|
5392
5461
|
#
|
5393
|
-
# In
|
5394
|
-
# completely, `
|
5462
|
+
# In addition to a workflow to execute when a file is uploaded
|
5463
|
+
# completely, `WorkflowDetails` can also contain a workflow ID (and
|
5395
5464
|
# execution role) for a workflow to execute on partial upload. A
|
5396
5465
|
# partial upload occurs when a file is open when the session
|
5397
5466
|
# disconnects.
|
@@ -5610,8 +5679,8 @@ module Aws::Transfer
|
|
5610
5679
|
# Specifies the workflow ID for the workflow to assign and the execution
|
5611
5680
|
# role that's used for executing the workflow.
|
5612
5681
|
#
|
5613
|
-
# In
|
5614
|
-
# completely, `
|
5682
|
+
# In addition to a workflow to execute when a file is uploaded
|
5683
|
+
# completely, `WorkflowDetails` can also contain a workflow ID (and
|
5615
5684
|
# execution role) for a workflow to execute on partial upload. A partial
|
5616
5685
|
# upload occurs when a file is open when the session disconnects.
|
5617
5686
|
#
|
@@ -5671,13 +5740,17 @@ module Aws::Transfer
|
|
5671
5740
|
# @!attribute [rw] type
|
5672
5741
|
# Currently, the following step types are supported.
|
5673
5742
|
#
|
5674
|
-
# *
|
5743
|
+
# * <b> <code>COPY</code> </b> - Copy the file to another location.
|
5744
|
+
#
|
5745
|
+
# * <b> <code>CUSTOM</code> </b> - Perform a custom step with an
|
5746
|
+
# Lambda function target.
|
5675
5747
|
#
|
5676
|
-
# *
|
5748
|
+
# * <b> <code>DECRYPT</code> </b> - Decrypt a file that was encrypted
|
5749
|
+
# before it was uploaded.
|
5677
5750
|
#
|
5678
|
-
# *
|
5751
|
+
# * <b> <code>DELETE</code> </b> - Delete the file.
|
5679
5752
|
#
|
5680
|
-
# *
|
5753
|
+
# * <b> <code>TAG</code> </b> - Add a tag to the file.
|
5681
5754
|
# @return [String]
|
5682
5755
|
#
|
5683
5756
|
# @!attribute [rw] copy_step_details
|
@@ -5687,16 +5760,16 @@ module Aws::Transfer
|
|
5687
5760
|
#
|
5688
5761
|
# * A description
|
5689
5762
|
#
|
5690
|
-
# * An S3 location for the destination of the file copy.
|
5763
|
+
# * An Amazon S3 location for the destination of the file copy.
|
5691
5764
|
#
|
5692
|
-
# * A flag that indicates whether
|
5693
|
-
#
|
5765
|
+
# * A flag that indicates whether to overwrite an existing file of the
|
5766
|
+
# same name. The default is `FALSE`.
|
5694
5767
|
# @return [Types::CopyStepDetails]
|
5695
5768
|
#
|
5696
5769
|
# @!attribute [rw] custom_step_details
|
5697
|
-
# Details for a step that invokes
|
5770
|
+
# Details for a step that invokes an Lambda function.
|
5698
5771
|
#
|
5699
|
-
# Consists of the
|
5772
|
+
# Consists of the Lambda function's name, target, and timeout (in
|
5700
5773
|
# seconds).
|
5701
5774
|
# @return [Types::CustomStepDetails]
|
5702
5775
|
#
|
@@ -5707,10 +5780,27 @@ module Aws::Transfer
|
|
5707
5780
|
# @!attribute [rw] tag_step_details
|
5708
5781
|
# Details for a step that creates one or more tags.
|
5709
5782
|
#
|
5710
|
-
# You specify one or more tags
|
5783
|
+
# You specify one or more tags. Each tag contains a key-value pair.
|
5711
5784
|
# @return [Types::TagStepDetails]
|
5712
5785
|
#
|
5713
5786
|
# @!attribute [rw] decrypt_step_details
|
5787
|
+
# Details for a step that decrypts an encrypted file.
|
5788
|
+
#
|
5789
|
+
# Consists of the following values:
|
5790
|
+
#
|
5791
|
+
# * A descriptive name
|
5792
|
+
#
|
5793
|
+
# * An Amazon S3 or Amazon Elastic File System (Amazon EFS) location
|
5794
|
+
# for the source file to decrypt.
|
5795
|
+
#
|
5796
|
+
# * An S3 or Amazon EFS location for the destination of the file
|
5797
|
+
# decryption.
|
5798
|
+
#
|
5799
|
+
# * A flag that indicates whether to overwrite an existing file of the
|
5800
|
+
# same name. The default is `FALSE`.
|
5801
|
+
#
|
5802
|
+
# * The type of encryption that's used. Currently, only PGP
|
5803
|
+
# encryption is supported.
|
5714
5804
|
# @return [Types::DecryptStepDetails]
|
5715
5805
|
#
|
5716
5806
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/WorkflowStep AWS API Documentation
|
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.67.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: 2023-
|
11
|
+
date: 2023-02-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|