aws-sdk-transfer 1.45.0 → 1.48.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 43a8b8de941ff8a2bed7e21846dd7b90b97aaab8cce216b1b6a3475fc50acfc8
4
- data.tar.gz: 86f053e182959dcdc3a5a8e175ba4dd591d13fff26dd6769462f5da245ebb054
3
+ metadata.gz: 19edb78d1306a2342380f0768b2b7e88ab09dc35ba21f735678d1230831e8f1f
4
+ data.tar.gz: a6727687e573e0ee06102872ef59f5729b76387c0c57ea9ae118bbce94cd8edc
5
5
  SHA512:
6
- metadata.gz: '019deb826fbbfc19e65b42d0df221756650d5ec051ffb37daa8895d95b132333e6d2f500634a47c26807967bcb33274bd7976c18a92af7124ae8f7f4fce65056'
7
- data.tar.gz: ebcb798a63f5e8a97004af6534fe27042f8dae8dd97056df7a56ddc036668b9ec14a148b405b5a673790c5a510f20fab774735132441b37faef647ddb1a08210
6
+ metadata.gz: 1846cd0749685cca6fa2ada32f5922ad7d75d18e064482215639a490592ba1e4ae3e7732b9b0301316e48962b1082c4de3ff746848b0cd5eef0ca67a199b6a62
7
+ data.tar.gz: 31cbf42978471785bcc8e336934e756f314503f41b39b04c91f4713c06e37a7c803feccdc73f774d2353788415736720f753f3aa6136461a44301fa6aadcb3d6
data/CHANGELOG.md CHANGED
@@ -1,6 +1,21 @@
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
+
9
+ 1.47.0 (2022-02-18)
10
+ ------------------
11
+
12
+ * Feature - Properties for Transfer Family used with SFTP, FTP, and FTPS protocols. Display Banners are bodies of text that can be displayed before and/or after a user authenticates onto a server using one of the previously mentioned protocols.
13
+
14
+ 1.46.0 (2022-02-03)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
4
19
  1.45.0 (2021-12-21)
5
20
  ------------------
6
21
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.45.0
1
+ 1.48.0
@@ -28,6 +28,7 @@ require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
28
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
29
  require 'aws-sdk-core/plugins/http_checksum.rb'
30
30
  require 'aws-sdk-core/plugins/defaults_mode.rb'
31
+ require 'aws-sdk-core/plugins/recursion_detection.rb'
31
32
  require 'aws-sdk-core/plugins/signature_v4.rb'
32
33
  require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
33
34
 
@@ -75,6 +76,7 @@ module Aws::Transfer
75
76
  add_plugin(Aws::Plugins::TransferEncoding)
76
77
  add_plugin(Aws::Plugins::HttpChecksum)
77
78
  add_plugin(Aws::Plugins::DefaultsMode)
79
+ add_plugin(Aws::Plugins::RecursionDetection)
78
80
  add_plugin(Aws::Plugins::SignatureV4)
79
81
  add_plugin(Aws::Plugins::Protocols::JsonRpc)
80
82
 
@@ -404,17 +406,6 @@ module Aws::Transfer
404
406
  #
405
407
  # `[ \{ "Entry:": "/", "Target": "/bucket_name/home/mydirectory" \} ]`
406
408
  #
407
- # <note markdown="1"> If the target of a logical directory entry does not exist in Amazon S3
408
- # or EFS, the entry is ignored. As a workaround, you can use the Amazon
409
- # S3 API or EFS API to create 0 byte objects as place holders for your
410
- # directory. If using the CLI, use the `s3api` or `efsapi` call instead
411
- # of `s3` or `efs` so you can use the put-object operation. For example,
412
- # you use the following: `aws s3api put-object --bucket bucketname --key
413
- # path/to/folder/`. Make sure that the end of the key name ends in a `/`
414
- # for it to be considered a folder.
415
- #
416
- # </note>
417
- #
418
409
  # @option params [String] :policy
419
410
  # A session policy for your user so that you can use the same IAM role
420
411
  # across multiple users. This policy scopes down user access to portions
@@ -663,6 +654,10 @@ module Aws::Transfer
663
654
  # on Amazon CloudWatch logging for Amazon S3 or Amazon EFS events. When
664
655
  # set, user activity can be viewed in your CloudWatch logs.
665
656
  #
657
+ # @option params [String] :post_authentication_login_banner
658
+ #
659
+ # @option params [String] :pre_authentication_login_banner
660
+ #
666
661
  # @option params [Array<String>] :protocols
667
662
  # Specifies the file transfer protocol or protocols over which your file
668
663
  # transfer protocol client can connect to your server's endpoint. The
@@ -741,6 +736,8 @@ module Aws::Transfer
741
736
  # },
742
737
  # identity_provider_type: "SERVICE_MANAGED", # accepts SERVICE_MANAGED, API_GATEWAY, AWS_DIRECTORY_SERVICE, AWS_LAMBDA
743
738
  # logging_role: "Role",
739
+ # post_authentication_login_banner: "PostAuthenticationLoginBanner",
740
+ # pre_authentication_login_banner: "PreAuthenticationLoginBanner",
744
741
  # protocols: ["SFTP"], # accepts SFTP, FTP, FTPS
745
742
  # protocol_details: {
746
743
  # passive_ip: "PassiveIp",
@@ -824,17 +821,6 @@ module Aws::Transfer
824
821
  #
825
822
  # `[ \{ "Entry:": "/", "Target": "/bucket_name/home/mydirectory" \} ]`
826
823
  #
827
- # <note markdown="1"> If the target of a logical directory entry does not exist in Amazon S3
828
- # or EFS, the entry is ignored. As a workaround, you can use the Amazon
829
- # S3 API or EFS API to create 0 byte objects as place holders for your
830
- # directory. If using the CLI, use the `s3api` or `efsapi` call instead
831
- # of `s3` or `efs` so you can use the put-object operation. For example,
832
- # you use the following: `aws s3api put-object --bucket bucketname --key
833
- # path/to/folder/`. Make sure that the end of the key name ends in a `/`
834
- # for it to be considered a folder.
835
- #
836
- # </note>
837
- #
838
824
  # @option params [String] :policy
839
825
  # A session policy for your user so that you can use the same IAM role
840
826
  # across multiple users. This policy scopes down user access to portions
@@ -1021,14 +1007,17 @@ module Aws::Transfer
1021
1007
  # },
1022
1008
  # },
1023
1009
  # overwrite_existing: "TRUE", # accepts TRUE, FALSE
1010
+ # source_file_location: "SourceFileLocation",
1024
1011
  # },
1025
1012
  # custom_step_details: {
1026
1013
  # name: "WorkflowStepName",
1027
1014
  # target: "CustomStepTarget",
1028
1015
  # timeout_seconds: 1,
1016
+ # source_file_location: "SourceFileLocation",
1029
1017
  # },
1030
1018
  # delete_step_details: {
1031
1019
  # name: "WorkflowStepName",
1020
+ # source_file_location: "SourceFileLocation",
1032
1021
  # },
1033
1022
  # tag_step_details: {
1034
1023
  # name: "WorkflowStepName",
@@ -1038,6 +1027,7 @@ module Aws::Transfer
1038
1027
  # value: "S3TagValue", # required
1039
1028
  # },
1040
1029
  # ],
1030
+ # source_file_location: "SourceFileLocation",
1041
1031
  # },
1042
1032
  # },
1043
1033
  # ],
@@ -1057,14 +1047,17 @@ module Aws::Transfer
1057
1047
  # },
1058
1048
  # },
1059
1049
  # overwrite_existing: "TRUE", # accepts TRUE, FALSE
1050
+ # source_file_location: "SourceFileLocation",
1060
1051
  # },
1061
1052
  # custom_step_details: {
1062
1053
  # name: "WorkflowStepName",
1063
1054
  # target: "CustomStepTarget",
1064
1055
  # timeout_seconds: 1,
1056
+ # source_file_location: "SourceFileLocation",
1065
1057
  # },
1066
1058
  # delete_step_details: {
1067
1059
  # name: "WorkflowStepName",
1060
+ # source_file_location: "SourceFileLocation",
1068
1061
  # },
1069
1062
  # tag_step_details: {
1070
1063
  # name: "WorkflowStepName",
@@ -1074,6 +1067,7 @@ module Aws::Transfer
1074
1067
  # value: "S3TagValue", # required
1075
1068
  # },
1076
1069
  # ],
1070
+ # source_file_location: "SourceFileLocation",
1077
1071
  # },
1078
1072
  # },
1079
1073
  # ],
@@ -1472,6 +1466,8 @@ module Aws::Transfer
1472
1466
  # resp.server.identity_provider_details.function #=> String
1473
1467
  # resp.server.identity_provider_type #=> String, one of "SERVICE_MANAGED", "API_GATEWAY", "AWS_DIRECTORY_SERVICE", "AWS_LAMBDA"
1474
1468
  # resp.server.logging_role #=> String
1469
+ # resp.server.post_authentication_login_banner #=> String
1470
+ # resp.server.pre_authentication_login_banner #=> String
1475
1471
  # resp.server.protocols #=> Array
1476
1472
  # resp.server.protocols[0] #=> String, one of "SFTP", "FTP", "FTPS"
1477
1473
  # resp.server.security_policy_name #=> String
@@ -1581,14 +1577,18 @@ module Aws::Transfer
1581
1577
  # resp.workflow.steps[0].copy_step_details.destination_file_location.efs_file_location.file_system_id #=> String
1582
1578
  # resp.workflow.steps[0].copy_step_details.destination_file_location.efs_file_location.path #=> String
1583
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
1584
1581
  # resp.workflow.steps[0].custom_step_details.name #=> String
1585
1582
  # resp.workflow.steps[0].custom_step_details.target #=> String
1586
1583
  # resp.workflow.steps[0].custom_step_details.timeout_seconds #=> Integer
1584
+ # resp.workflow.steps[0].custom_step_details.source_file_location #=> String
1587
1585
  # resp.workflow.steps[0].delete_step_details.name #=> String
1586
+ # resp.workflow.steps[0].delete_step_details.source_file_location #=> String
1588
1587
  # resp.workflow.steps[0].tag_step_details.name #=> String
1589
1588
  # resp.workflow.steps[0].tag_step_details.tags #=> Array
1590
1589
  # resp.workflow.steps[0].tag_step_details.tags[0].key #=> String
1591
1590
  # resp.workflow.steps[0].tag_step_details.tags[0].value #=> String
1591
+ # resp.workflow.steps[0].tag_step_details.source_file_location #=> String
1592
1592
  # resp.workflow.on_exception_steps #=> Array
1593
1593
  # resp.workflow.on_exception_steps[0].type #=> String, one of "COPY", "CUSTOM", "TAG", "DELETE"
1594
1594
  # resp.workflow.on_exception_steps[0].copy_step_details.name #=> String
@@ -1597,14 +1597,18 @@ module Aws::Transfer
1597
1597
  # resp.workflow.on_exception_steps[0].copy_step_details.destination_file_location.efs_file_location.file_system_id #=> String
1598
1598
  # resp.workflow.on_exception_steps[0].copy_step_details.destination_file_location.efs_file_location.path #=> String
1599
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
1600
1601
  # resp.workflow.on_exception_steps[0].custom_step_details.name #=> String
1601
1602
  # resp.workflow.on_exception_steps[0].custom_step_details.target #=> String
1602
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
1603
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
1604
1607
  # resp.workflow.on_exception_steps[0].tag_step_details.name #=> String
1605
1608
  # resp.workflow.on_exception_steps[0].tag_step_details.tags #=> Array
1606
1609
  # resp.workflow.on_exception_steps[0].tag_step_details.tags[0].key #=> String
1607
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
1608
1612
  # resp.workflow.workflow_id #=> String
1609
1613
  # resp.workflow.tags #=> Array
1610
1614
  # resp.workflow.tags[0].key #=> String
@@ -2334,17 +2338,6 @@ module Aws::Transfer
2334
2338
  #
2335
2339
  # `[ \{ "Entry:": "/", "Target": "/bucket_name/home/mydirectory" \} ]`
2336
2340
  #
2337
- # <note markdown="1"> If the target of a logical directory entry does not exist in Amazon S3
2338
- # or EFS, the entry is ignored. As a workaround, you can use the Amazon
2339
- # S3 API or EFS API to create 0 byte objects as place holders for your
2340
- # directory. If using the CLI, use the `s3api` or `efsapi` call instead
2341
- # of `s3` or `efs` so you can use the put-object operation. For example,
2342
- # you use the following: `aws s3api put-object --bucket bucketname --key
2343
- # path/to/folder/`. Make sure that the end of the key name ends in a `/`
2344
- # for it to be considered a folder.
2345
- #
2346
- # </note>
2347
- #
2348
2341
  # @option params [String] :policy
2349
2342
  # A session policy for your user so that you can use the same IAM role
2350
2343
  # across multiple users. This policy scopes down user access to portions
@@ -2570,6 +2563,10 @@ module Aws::Transfer
2570
2563
  # on Amazon CloudWatch logging for Amazon S3 or Amazon EFS events. When
2571
2564
  # set, user activity can be viewed in your CloudWatch logs.
2572
2565
  #
2566
+ # @option params [String] :post_authentication_login_banner
2567
+ #
2568
+ # @option params [String] :pre_authentication_login_banner
2569
+ #
2573
2570
  # @option params [Array<String>] :protocols
2574
2571
  # Specifies the file transfer protocol or protocols over which your file
2575
2572
  # transfer protocol client can connect to your server's endpoint. The
@@ -2640,6 +2637,8 @@ module Aws::Transfer
2640
2637
  # function: "Function",
2641
2638
  # },
2642
2639
  # logging_role: "NullableRole",
2640
+ # post_authentication_login_banner: "PostAuthenticationLoginBanner",
2641
+ # pre_authentication_login_banner: "PreAuthenticationLoginBanner",
2643
2642
  # protocols: ["SFTP"], # accepts SFTP, FTP, FTPS
2644
2643
  # security_policy_name: "SecurityPolicyName",
2645
2644
  # server_id: "ServerId", # required
@@ -2712,17 +2711,6 @@ module Aws::Transfer
2712
2711
  #
2713
2712
  # `[ \{ "Entry:": "/", "Target": "/bucket_name/home/mydirectory" \} ]`
2714
2713
  #
2715
- # <note markdown="1"> If the target of a logical directory entry does not exist in Amazon S3
2716
- # or EFS, the entry is ignored. As a workaround, you can use the Amazon
2717
- # S3 API or EFS API to create 0 byte objects as place holders for your
2718
- # directory. If using the CLI, use the `s3api` or `efsapi` call instead
2719
- # of `s3` or `efs` so you can use the put-object operation. For example,
2720
- # you use the following: `aws s3api put-object --bucket bucketname --key
2721
- # path/to/folder/`. Make sure that the end of the key name ends in a `/`
2722
- # for it to be considered a folder.
2723
- #
2724
- # </note>
2725
- #
2726
2714
  # @option params [String] :policy
2727
2715
  # A session policy for your user so that you can use the same IAM role
2728
2716
  # across multiple users. This policy scopes down user access to portions
@@ -2834,7 +2822,7 @@ module Aws::Transfer
2834
2822
  params: params,
2835
2823
  config: config)
2836
2824
  context[:gem_name] = 'aws-sdk-transfer'
2837
- context[:gem_version] = '1.45.0'
2825
+ context[:gem_version] = '1.48.0'
2838
2826
  Seahorse::Client::Request.new(handlers, context)
2839
2827
  end
2840
2828
 
@@ -129,6 +129,8 @@ module Aws::Transfer
129
129
  Policy = Shapes::StringShape.new(name: 'Policy')
130
130
  PosixId = Shapes::IntegerShape.new(name: 'PosixId')
131
131
  PosixProfile = Shapes::StructureShape.new(name: 'PosixProfile')
132
+ PostAuthenticationLoginBanner = Shapes::StringShape.new(name: 'PostAuthenticationLoginBanner')
133
+ PreAuthenticationLoginBanner = Shapes::StringShape.new(name: 'PreAuthenticationLoginBanner')
132
134
  Protocol = Shapes::StringShape.new(name: 'Protocol')
133
135
  ProtocolDetails = Shapes::StructureShape.new(name: 'ProtocolDetails')
134
136
  Protocols = Shapes::ListShape.new(name: 'Protocols')
@@ -163,6 +165,7 @@ module Aws::Transfer
163
165
  ServiceMetadata = Shapes::StructureShape.new(name: 'ServiceMetadata')
164
166
  ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
165
167
  SessionId = Shapes::StringShape.new(name: 'SessionId')
168
+ SourceFileLocation = Shapes::StringShape.new(name: 'SourceFileLocation')
166
169
  SourceIp = Shapes::StringShape.new(name: 'SourceIp')
167
170
  SshPublicKey = Shapes::StructureShape.new(name: 'SshPublicKey')
168
171
  SshPublicKeyBody = Shapes::StringShape.new(name: 'SshPublicKeyBody')
@@ -221,6 +224,7 @@ module Aws::Transfer
221
224
  CopyStepDetails.add_member(:name, Shapes::ShapeRef.new(shape: WorkflowStepName, location_name: "Name"))
222
225
  CopyStepDetails.add_member(:destination_file_location, Shapes::ShapeRef.new(shape: InputFileLocation, location_name: "DestinationFileLocation"))
223
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"))
224
228
  CopyStepDetails.struct_class = Types::CopyStepDetails
225
229
 
226
230
  CreateAccessRequest.add_member(:home_directory, Shapes::ShapeRef.new(shape: HomeDirectory, location_name: "HomeDirectory"))
@@ -245,6 +249,8 @@ module Aws::Transfer
245
249
  CreateServerRequest.add_member(:identity_provider_details, Shapes::ShapeRef.new(shape: IdentityProviderDetails, location_name: "IdentityProviderDetails"))
246
250
  CreateServerRequest.add_member(:identity_provider_type, Shapes::ShapeRef.new(shape: IdentityProviderType, location_name: "IdentityProviderType"))
247
251
  CreateServerRequest.add_member(:logging_role, Shapes::ShapeRef.new(shape: Role, location_name: "LoggingRole"))
252
+ CreateServerRequest.add_member(:post_authentication_login_banner, Shapes::ShapeRef.new(shape: PostAuthenticationLoginBanner, location_name: "PostAuthenticationLoginBanner"))
253
+ CreateServerRequest.add_member(:pre_authentication_login_banner, Shapes::ShapeRef.new(shape: PreAuthenticationLoginBanner, location_name: "PreAuthenticationLoginBanner"))
248
254
  CreateServerRequest.add_member(:protocols, Shapes::ShapeRef.new(shape: Protocols, location_name: "Protocols"))
249
255
  CreateServerRequest.add_member(:protocol_details, Shapes::ShapeRef.new(shape: ProtocolDetails, location_name: "ProtocolDetails"))
250
256
  CreateServerRequest.add_member(:security_policy_name, Shapes::ShapeRef.new(shape: SecurityPolicyName, location_name: "SecurityPolicyName"))
@@ -283,6 +289,7 @@ module Aws::Transfer
283
289
  CustomStepDetails.add_member(:name, Shapes::ShapeRef.new(shape: WorkflowStepName, location_name: "Name"))
284
290
  CustomStepDetails.add_member(:target, Shapes::ShapeRef.new(shape: CustomStepTarget, location_name: "Target"))
285
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"))
286
293
  CustomStepDetails.struct_class = Types::CustomStepDetails
287
294
 
288
295
  DeleteAccessRequest.add_member(:server_id, Shapes::ShapeRef.new(shape: ServerId, required: true, location_name: "ServerId"))
@@ -298,6 +305,7 @@ module Aws::Transfer
298
305
  DeleteSshPublicKeyRequest.struct_class = Types::DeleteSshPublicKeyRequest
299
306
 
300
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"))
301
309
  DeleteStepDetails.struct_class = Types::DeleteStepDetails
302
310
 
303
311
  DeleteUserRequest.add_member(:server_id, Shapes::ShapeRef.new(shape: ServerId, required: true, location_name: "ServerId"))
@@ -386,6 +394,8 @@ module Aws::Transfer
386
394
  DescribedServer.add_member(:identity_provider_details, Shapes::ShapeRef.new(shape: IdentityProviderDetails, location_name: "IdentityProviderDetails"))
387
395
  DescribedServer.add_member(:identity_provider_type, Shapes::ShapeRef.new(shape: IdentityProviderType, location_name: "IdentityProviderType"))
388
396
  DescribedServer.add_member(:logging_role, Shapes::ShapeRef.new(shape: Role, location_name: "LoggingRole"))
397
+ DescribedServer.add_member(:post_authentication_login_banner, Shapes::ShapeRef.new(shape: PostAuthenticationLoginBanner, location_name: "PostAuthenticationLoginBanner"))
398
+ DescribedServer.add_member(:pre_authentication_login_banner, Shapes::ShapeRef.new(shape: PreAuthenticationLoginBanner, location_name: "PreAuthenticationLoginBanner"))
389
399
  DescribedServer.add_member(:protocols, Shapes::ShapeRef.new(shape: Protocols, location_name: "Protocols"))
390
400
  DescribedServer.add_member(:security_policy_name, Shapes::ShapeRef.new(shape: SecurityPolicyName, location_name: "SecurityPolicyName"))
391
401
  DescribedServer.add_member(:server_id, Shapes::ShapeRef.new(shape: ServerId, location_name: "ServerId"))
@@ -681,6 +691,7 @@ module Aws::Transfer
681
691
 
682
692
  TagStepDetails.add_member(:name, Shapes::ShapeRef.new(shape: WorkflowStepName, location_name: "Name"))
683
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"))
684
695
  TagStepDetails.struct_class = Types::TagStepDetails
685
696
 
686
697
  Tags.member = Shapes::ShapeRef.new(shape: Tag)
@@ -726,6 +737,8 @@ module Aws::Transfer
726
737
  UpdateServerRequest.add_member(:host_key, Shapes::ShapeRef.new(shape: HostKey, location_name: "HostKey"))
727
738
  UpdateServerRequest.add_member(:identity_provider_details, Shapes::ShapeRef.new(shape: IdentityProviderDetails, location_name: "IdentityProviderDetails"))
728
739
  UpdateServerRequest.add_member(:logging_role, Shapes::ShapeRef.new(shape: NullableRole, location_name: "LoggingRole"))
740
+ UpdateServerRequest.add_member(:post_authentication_login_banner, Shapes::ShapeRef.new(shape: PostAuthenticationLoginBanner, location_name: "PostAuthenticationLoginBanner"))
741
+ UpdateServerRequest.add_member(:pre_authentication_login_banner, Shapes::ShapeRef.new(shape: PreAuthenticationLoginBanner, location_name: "PreAuthenticationLoginBanner"))
729
742
  UpdateServerRequest.add_member(:protocols, Shapes::ShapeRef.new(shape: Protocols, location_name: "Protocols"))
730
743
  UpdateServerRequest.add_member(:security_policy_name, Shapes::ShapeRef.new(shape: SecurityPolicyName, location_name: "SecurityPolicyName"))
731
744
  UpdateServerRequest.add_member(:server_id, Shapes::ShapeRef.new(shape: ServerId, required: true, location_name: "ServerId"))
@@ -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 the Copy type of workflow steps.
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
@@ -289,6 +294,8 @@ module Aws::Transfer
289
294
  # },
290
295
  # identity_provider_type: "SERVICE_MANAGED", # accepts SERVICE_MANAGED, API_GATEWAY, AWS_DIRECTORY_SERVICE, AWS_LAMBDA
291
296
  # logging_role: "Role",
297
+ # post_authentication_login_banner: "PostAuthenticationLoginBanner",
298
+ # pre_authentication_login_banner: "PreAuthenticationLoginBanner",
292
299
  # protocols: ["SFTP"], # accepts SFTP, FTP, FTPS
293
300
  # protocol_details: {
294
301
  # passive_ip: "PassiveIp",
@@ -457,6 +464,12 @@ module Aws::Transfer
457
464
  # logs.
458
465
  # @return [String]
459
466
  #
467
+ # @!attribute [rw] post_authentication_login_banner
468
+ # @return [String]
469
+ #
470
+ # @!attribute [rw] pre_authentication_login_banner
471
+ # @return [String]
472
+ #
460
473
  # @!attribute [rw] protocols
461
474
  # Specifies the file transfer protocol or protocols over which your
462
475
  # file transfer protocol client can connect to your server's
@@ -525,6 +538,8 @@ module Aws::Transfer
525
538
  :identity_provider_details,
526
539
  :identity_provider_type,
527
540
  :logging_role,
541
+ :post_authentication_login_banner,
542
+ :pre_authentication_login_banner,
528
543
  :protocols,
529
544
  :protocol_details,
530
545
  :security_policy_name,
@@ -617,17 +632,6 @@ module Aws::Transfer
617
632
  # The following is an `Entry` and `Target` pair example for `chroot`.
618
633
  #
619
634
  # `[ \{ "Entry:": "/", "Target": "/bucket_name/home/mydirectory" \} ]`
620
- #
621
- # <note markdown="1"> If the target of a logical directory entry does not exist in Amazon
622
- # S3 or EFS, the entry is ignored. As a workaround, you can use the
623
- # Amazon S3 API or EFS API to create 0 byte objects as place holders
624
- # for your directory. If using the CLI, use the `s3api` or `efsapi`
625
- # call instead of `s3` or `efs` so you can use the put-object
626
- # operation. For example, you use the following: `aws s3api put-object
627
- # --bucket bucketname --key path/to/folder/`. Make sure that the end
628
- # of the key name ends in a `/` for it to be considered a folder.
629
- #
630
- # </note>
631
635
  # @return [Array<Types::HomeDirectoryMapEntry>]
632
636
  #
633
637
  # @!attribute [rw] policy
@@ -762,14 +766,17 @@ module Aws::Transfer
762
766
  # },
763
767
  # },
764
768
  # overwrite_existing: "TRUE", # accepts TRUE, FALSE
769
+ # source_file_location: "SourceFileLocation",
765
770
  # },
766
771
  # custom_step_details: {
767
772
  # name: "WorkflowStepName",
768
773
  # target: "CustomStepTarget",
769
774
  # timeout_seconds: 1,
775
+ # source_file_location: "SourceFileLocation",
770
776
  # },
771
777
  # delete_step_details: {
772
778
  # name: "WorkflowStepName",
779
+ # source_file_location: "SourceFileLocation",
773
780
  # },
774
781
  # tag_step_details: {
775
782
  # name: "WorkflowStepName",
@@ -779,6 +786,7 @@ module Aws::Transfer
779
786
  # value: "S3TagValue", # required
780
787
  # },
781
788
  # ],
789
+ # source_file_location: "SourceFileLocation",
782
790
  # },
783
791
  # },
784
792
  # ],
@@ -798,14 +806,17 @@ module Aws::Transfer
798
806
  # },
799
807
  # },
800
808
  # overwrite_existing: "TRUE", # accepts TRUE, FALSE
809
+ # source_file_location: "SourceFileLocation",
801
810
  # },
802
811
  # custom_step_details: {
803
812
  # name: "WorkflowStepName",
804
813
  # target: "CustomStepTarget",
805
814
  # timeout_seconds: 1,
815
+ # source_file_location: "SourceFileLocation",
806
816
  # },
807
817
  # delete_step_details: {
808
818
  # name: "WorkflowStepName",
819
+ # source_file_location: "SourceFileLocation",
809
820
  # },
810
821
  # tag_step_details: {
811
822
  # name: "WorkflowStepName",
@@ -815,6 +826,7 @@ module Aws::Transfer
815
826
  # value: "S3TagValue", # required
816
827
  # },
817
828
  # ],
829
+ # source_file_location: "SourceFileLocation",
818
830
  # },
819
831
  # },
820
832
  # ],
@@ -902,6 +914,7 @@ module Aws::Transfer
902
914
  # name: "WorkflowStepName",
903
915
  # target: "CustomStepTarget",
904
916
  # timeout_seconds: 1,
917
+ # source_file_location: "SourceFileLocation",
905
918
  # }
906
919
  #
907
920
  # @!attribute [rw] name
@@ -916,12 +929,26 @@ module Aws::Transfer
916
929
  # Timeout, in seconds, for the step.
917
930
  # @return [Integer]
918
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
+ #
919
945
  # @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/CustomStepDetails AWS API Documentation
920
946
  #
921
947
  class CustomStepDetails < Struct.new(
922
948
  :name,
923
949
  :target,
924
- :timeout_seconds)
950
+ :timeout_seconds,
951
+ :source_file_location)
925
952
  SENSITIVE = []
926
953
  include Aws::Structure
927
954
  end
@@ -1027,16 +1054,31 @@ module Aws::Transfer
1027
1054
  #
1028
1055
  # {
1029
1056
  # name: "WorkflowStepName",
1057
+ # source_file_location: "SourceFileLocation",
1030
1058
  # }
1031
1059
  #
1032
1060
  # @!attribute [rw] name
1033
1061
  # The name of the step, used as an identifier.
1034
1062
  # @return [String]
1035
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
+ #
1036
1077
  # @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DeleteStepDetails AWS API Documentation
1037
1078
  #
1038
1079
  class DeleteStepDetails < Struct.new(
1039
- :name)
1080
+ :name,
1081
+ :source_file_location)
1040
1082
  SENSITIVE = []
1041
1083
  include Aws::Structure
1042
1084
  end
@@ -1626,6 +1668,12 @@ module Aws::Transfer
1626
1668
  # logs.
1627
1669
  # @return [String]
1628
1670
  #
1671
+ # @!attribute [rw] post_authentication_login_banner
1672
+ # @return [String]
1673
+ #
1674
+ # @!attribute [rw] pre_authentication_login_banner
1675
+ # @return [String]
1676
+ #
1629
1677
  # @!attribute [rw] protocols
1630
1678
  # Specifies the file transfer protocol or protocols over which your
1631
1679
  # file transfer protocol client can connect to your server's
@@ -1690,6 +1738,8 @@ module Aws::Transfer
1690
1738
  :identity_provider_details,
1691
1739
  :identity_provider_type,
1692
1740
  :logging_role,
1741
+ :post_authentication_login_banner,
1742
+ :pre_authentication_login_banner,
1693
1743
  :protocols,
1694
1744
  :security_policy_name,
1695
1745
  :server_id,
@@ -2081,17 +2131,6 @@ module Aws::Transfer
2081
2131
  #
2082
2132
  # `[ \{ "Entry:": "/", "Target": "/bucket_name/home/mydirectory" \} ]`
2083
2133
  #
2084
- # <note markdown="1"> If the target of a logical directory entry does not exist in Amazon S3
2085
- # or EFS, the entry is ignored. As a workaround, you can use the Amazon
2086
- # S3 API or EFS API to create 0 byte objects as place holders for your
2087
- # directory. If using the CLI, use the `s3api` or `efsapi` call instead
2088
- # of `s3` or `efs` so you can use the put-object operation. For example,
2089
- # you use the following: `aws s3api put-object --bucket bucketname --key
2090
- # path/to/folder/`. Make sure that the end of the key name ends in a `/`
2091
- # for it to be considered a folder.
2092
- #
2093
- # </note>
2094
- #
2095
2134
  # @note When making an API call, you may pass HomeDirectoryMapEntry
2096
2135
  # data as a hash:
2097
2136
  #
@@ -3496,6 +3535,7 @@ module Aws::Transfer
3496
3535
  # value: "S3TagValue", # required
3497
3536
  # },
3498
3537
  # ],
3538
+ # source_file_location: "SourceFileLocation",
3499
3539
  # }
3500
3540
  #
3501
3541
  # @!attribute [rw] name
@@ -3506,11 +3546,25 @@ module Aws::Transfer
3506
3546
  # Array that contains from 1 to 10 key/value pairs.
3507
3547
  # @return [Array<Types::S3Tag>]
3508
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
+ #
3509
3562
  # @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/TagStepDetails AWS API Documentation
3510
3563
  #
3511
3564
  class TagStepDetails < Struct.new(
3512
3565
  :name,
3513
- :tags)
3566
+ :tags,
3567
+ :source_file_location)
3514
3568
  SENSITIVE = []
3515
3569
  include Aws::Structure
3516
3570
  end
@@ -3577,6 +3631,11 @@ module Aws::Transfer
3577
3631
  #
3578
3632
  # @!attribute [rw] message
3579
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>
3580
3639
  # @return [String]
3581
3640
  #
3582
3641
  # @!attribute [rw] url
@@ -3702,17 +3761,6 @@ module Aws::Transfer
3702
3761
  # The following is an `Entry` and `Target` pair example for `chroot`.
3703
3762
  #
3704
3763
  # `[ \{ "Entry:": "/", "Target": "/bucket_name/home/mydirectory" \} ]`
3705
- #
3706
- # <note markdown="1"> If the target of a logical directory entry does not exist in Amazon
3707
- # S3 or EFS, the entry is ignored. As a workaround, you can use the
3708
- # Amazon S3 API or EFS API to create 0 byte objects as place holders
3709
- # for your directory. If using the CLI, use the `s3api` or `efsapi`
3710
- # call instead of `s3` or `efs` so you can use the put-object
3711
- # operation. For example, you use the following: `aws s3api put-object
3712
- # --bucket bucketname --key path/to/folder/`. Make sure that the end
3713
- # of the key name ends in a `/` for it to be considered a folder.
3714
- #
3715
- # </note>
3716
3764
  # @return [Array<Types::HomeDirectoryMapEntry>]
3717
3765
  #
3718
3766
  # @!attribute [rw] policy
@@ -3847,6 +3895,8 @@ module Aws::Transfer
3847
3895
  # function: "Function",
3848
3896
  # },
3849
3897
  # logging_role: "NullableRole",
3898
+ # post_authentication_login_banner: "PostAuthenticationLoginBanner",
3899
+ # pre_authentication_login_banner: "PreAuthenticationLoginBanner",
3850
3900
  # protocols: ["SFTP"], # accepts SFTP, FTP, FTPS
3851
3901
  # security_policy_name: "SecurityPolicyName",
3852
3902
  # server_id: "ServerId", # required
@@ -3980,6 +4030,12 @@ module Aws::Transfer
3980
4030
  # logs.
3981
4031
  # @return [String]
3982
4032
  #
4033
+ # @!attribute [rw] post_authentication_login_banner
4034
+ # @return [String]
4035
+ #
4036
+ # @!attribute [rw] pre_authentication_login_banner
4037
+ # @return [String]
4038
+ #
3983
4039
  # @!attribute [rw] protocols
3984
4040
  # Specifies the file transfer protocol or protocols over which your
3985
4041
  # file transfer protocol client can connect to your server's
@@ -4036,6 +4092,8 @@ module Aws::Transfer
4036
4092
  :host_key,
4037
4093
  :identity_provider_details,
4038
4094
  :logging_role,
4095
+ :post_authentication_login_banner,
4096
+ :pre_authentication_login_banner,
4039
4097
  :protocols,
4040
4098
  :security_policy_name,
4041
4099
  :server_id,
@@ -4121,17 +4179,6 @@ module Aws::Transfer
4121
4179
  # The following is an `Entry` and `Target` pair example for `chroot`.
4122
4180
  #
4123
4181
  # `[ \{ "Entry:": "/", "Target": "/bucket_name/home/mydirectory" \} ]`
4124
- #
4125
- # <note markdown="1"> If the target of a logical directory entry does not exist in Amazon
4126
- # S3 or EFS, the entry is ignored. As a workaround, you can use the
4127
- # Amazon S3 API or EFS API to create 0 byte objects as place holders
4128
- # for your directory. If using the CLI, use the `s3api` or `efsapi`
4129
- # call instead of `s3` or `efs` so you can use the put-object
4130
- # operation. For example, you use the following: `aws s3api put-object
4131
- # --bucket bucketname --key path/to/folder/`. Make sure that the end
4132
- # of the key name ends in a `/` for it to be considered a folder.
4133
- #
4134
- # </note>
4135
4182
  # @return [Array<Types::HomeDirectoryMapEntry>]
4136
4183
  #
4137
4184
  # @!attribute [rw] policy
@@ -4340,14 +4387,17 @@ module Aws::Transfer
4340
4387
  # },
4341
4388
  # },
4342
4389
  # overwrite_existing: "TRUE", # accepts TRUE, FALSE
4390
+ # source_file_location: "SourceFileLocation",
4343
4391
  # },
4344
4392
  # custom_step_details: {
4345
4393
  # name: "WorkflowStepName",
4346
4394
  # target: "CustomStepTarget",
4347
4395
  # timeout_seconds: 1,
4396
+ # source_file_location: "SourceFileLocation",
4348
4397
  # },
4349
4398
  # delete_step_details: {
4350
4399
  # name: "WorkflowStepName",
4400
+ # source_file_location: "SourceFileLocation",
4351
4401
  # },
4352
4402
  # tag_step_details: {
4353
4403
  # name: "WorkflowStepName",
@@ -4357,6 +4407,7 @@ module Aws::Transfer
4357
4407
  # value: "S3TagValue", # required
4358
4408
  # },
4359
4409
  # ],
4410
+ # source_file_location: "SourceFileLocation",
4360
4411
  # },
4361
4412
  # }
4362
4413
  #
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-transfer/customizations'
48
48
  # @!group service
49
49
  module Aws::Transfer
50
50
 
51
- GEM_VERSION = '1.45.0'
51
+ GEM_VERSION = '1.48.0'
52
52
 
53
53
  end
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.45.0
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: 2021-12-21 00:00:00.000000000 Z
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
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.125.0
22
+ version: 3.126.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.125.0
32
+ version: 3.126.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement