aws-sdk-transfer 1.46.0 → 1.49.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: 425c3827a84d3f157d1aca150a643459af458f08d4c2b2bdae95e5a3e8f652c1
4
- data.tar.gz: fef41219568e1986e2f73d951c94dc98a893352b1d0bd2f0a0ddd754626e2029
3
+ metadata.gz: b4dcec53c534ecacf09fc94f69e2df74a13999f50aa80f275128e8d18f76b443
4
+ data.tar.gz: 5fbcbbe7e310309089ebdb58bef2285c085fca6aa19858cbf718df923504fb96
5
5
  SHA512:
6
- metadata.gz: 91977d53138b6e09fcd8ea5c404a6046f3189c80475a1db682a4dbfe6ed4860725261e1955d0e9ca5c0e32904179a86c6b5a8018b49aa3a594bd22aceb0741f4
7
- data.tar.gz: b1d9466a567fd6e19ab521501ebe7a8838d6386c6dff17a17e66fb4fe704cdba12f1d44f3e206389498169c9a214f974210066b8390fab1e9c98d4b4b3c765f8
6
+ metadata.gz: 18a7b532fd07a10853847090bb0c6e940a332ec059bc032ede56fd28fea63013862038c874b1537b905d9be0b1c2aa9f0424d5a3e86ef6309d1784a3c0b56d3a
7
+ data.tar.gz: 2f8c878b83effecd7ed1d52698c1b13229477604639a593d3f42a4833febd225bc69d2a74d04a3a55360fb7d8c95e6f0708feeb3908e78967f9e891c802b28c3
data/CHANGELOG.md CHANGED
@@ -1,6 +1,21 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.49.0 (2022-02-24)
5
+ ------------------
6
+
7
+ * Feature - Support automatic pagination when listing AWS Transfer Family resources.
8
+
9
+ 1.48.0 (2022-02-23)
10
+ ------------------
11
+
12
+ * 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.
13
+
14
+ 1.47.0 (2022-02-18)
15
+ ------------------
16
+
17
+ * 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.
18
+
4
19
  1.46.0 (2022-02-03)
5
20
  ------------------
6
21
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.46.0
1
+ 1.49.0
@@ -27,6 +27,7 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
27
  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
+ require 'aws-sdk-core/plugins/checksum_algorithm.rb'
30
31
  require 'aws-sdk-core/plugins/defaults_mode.rb'
31
32
  require 'aws-sdk-core/plugins/recursion_detection.rb'
32
33
  require 'aws-sdk-core/plugins/signature_v4.rb'
@@ -75,6 +76,7 @@ module Aws::Transfer
75
76
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
76
77
  add_plugin(Aws::Plugins::TransferEncoding)
77
78
  add_plugin(Aws::Plugins::HttpChecksum)
79
+ add_plugin(Aws::Plugins::ChecksumAlgorithm)
78
80
  add_plugin(Aws::Plugins::DefaultsMode)
79
81
  add_plugin(Aws::Plugins::RecursionDetection)
80
82
  add_plugin(Aws::Plugins::SignatureV4)
@@ -406,17 +408,6 @@ module Aws::Transfer
406
408
  #
407
409
  # `[ \{ "Entry:": "/", "Target": "/bucket_name/home/mydirectory" \} ]`
408
410
  #
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
411
  # @option params [String] :policy
421
412
  # A session policy for your user so that you can use the same IAM role
422
413
  # across multiple users. This policy scopes down user access to portions
@@ -665,6 +656,10 @@ module Aws::Transfer
665
656
  # on Amazon CloudWatch logging for Amazon S3 or Amazon EFS events. When
666
657
  # set, user activity can be viewed in your CloudWatch logs.
667
658
  #
659
+ # @option params [String] :post_authentication_login_banner
660
+ #
661
+ # @option params [String] :pre_authentication_login_banner
662
+ #
668
663
  # @option params [Array<String>] :protocols
669
664
  # Specifies the file transfer protocol or protocols over which your file
670
665
  # transfer protocol client can connect to your server's endpoint. The
@@ -743,6 +738,8 @@ module Aws::Transfer
743
738
  # },
744
739
  # identity_provider_type: "SERVICE_MANAGED", # accepts SERVICE_MANAGED, API_GATEWAY, AWS_DIRECTORY_SERVICE, AWS_LAMBDA
745
740
  # logging_role: "Role",
741
+ # post_authentication_login_banner: "PostAuthenticationLoginBanner",
742
+ # pre_authentication_login_banner: "PreAuthenticationLoginBanner",
746
743
  # protocols: ["SFTP"], # accepts SFTP, FTP, FTPS
747
744
  # protocol_details: {
748
745
  # passive_ip: "PassiveIp",
@@ -826,17 +823,6 @@ module Aws::Transfer
826
823
  #
827
824
  # `[ \{ "Entry:": "/", "Target": "/bucket_name/home/mydirectory" \} ]`
828
825
  #
829
- # <note markdown="1"> If the target of a logical directory entry does not exist in Amazon S3
830
- # or EFS, the entry is ignored. As a workaround, you can use the Amazon
831
- # S3 API or EFS API to create 0 byte objects as place holders for your
832
- # directory. If using the CLI, use the `s3api` or `efsapi` call instead
833
- # of `s3` or `efs` so you can use the put-object operation. For example,
834
- # you use the following: `aws s3api put-object --bucket bucketname --key
835
- # path/to/folder/`. Make sure that the end of the key name ends in a `/`
836
- # for it to be considered a folder.
837
- #
838
- # </note>
839
- #
840
826
  # @option params [String] :policy
841
827
  # A session policy for your user so that you can use the same IAM role
842
828
  # across multiple users. This policy scopes down user access to portions
@@ -1023,14 +1009,17 @@ module Aws::Transfer
1023
1009
  # },
1024
1010
  # },
1025
1011
  # overwrite_existing: "TRUE", # accepts TRUE, FALSE
1012
+ # source_file_location: "SourceFileLocation",
1026
1013
  # },
1027
1014
  # custom_step_details: {
1028
1015
  # name: "WorkflowStepName",
1029
1016
  # target: "CustomStepTarget",
1030
1017
  # timeout_seconds: 1,
1018
+ # source_file_location: "SourceFileLocation",
1031
1019
  # },
1032
1020
  # delete_step_details: {
1033
1021
  # name: "WorkflowStepName",
1022
+ # source_file_location: "SourceFileLocation",
1034
1023
  # },
1035
1024
  # tag_step_details: {
1036
1025
  # name: "WorkflowStepName",
@@ -1040,6 +1029,7 @@ module Aws::Transfer
1040
1029
  # value: "S3TagValue", # required
1041
1030
  # },
1042
1031
  # ],
1032
+ # source_file_location: "SourceFileLocation",
1043
1033
  # },
1044
1034
  # },
1045
1035
  # ],
@@ -1059,14 +1049,17 @@ module Aws::Transfer
1059
1049
  # },
1060
1050
  # },
1061
1051
  # overwrite_existing: "TRUE", # accepts TRUE, FALSE
1052
+ # source_file_location: "SourceFileLocation",
1062
1053
  # },
1063
1054
  # custom_step_details: {
1064
1055
  # name: "WorkflowStepName",
1065
1056
  # target: "CustomStepTarget",
1066
1057
  # timeout_seconds: 1,
1058
+ # source_file_location: "SourceFileLocation",
1067
1059
  # },
1068
1060
  # delete_step_details: {
1069
1061
  # name: "WorkflowStepName",
1062
+ # source_file_location: "SourceFileLocation",
1070
1063
  # },
1071
1064
  # tag_step_details: {
1072
1065
  # name: "WorkflowStepName",
@@ -1076,6 +1069,7 @@ module Aws::Transfer
1076
1069
  # value: "S3TagValue", # required
1077
1070
  # },
1078
1071
  # ],
1072
+ # source_file_location: "SourceFileLocation",
1079
1073
  # },
1080
1074
  # },
1081
1075
  # ],
@@ -1474,6 +1468,8 @@ module Aws::Transfer
1474
1468
  # resp.server.identity_provider_details.function #=> String
1475
1469
  # resp.server.identity_provider_type #=> String, one of "SERVICE_MANAGED", "API_GATEWAY", "AWS_DIRECTORY_SERVICE", "AWS_LAMBDA"
1476
1470
  # resp.server.logging_role #=> String
1471
+ # resp.server.post_authentication_login_banner #=> String
1472
+ # resp.server.pre_authentication_login_banner #=> String
1477
1473
  # resp.server.protocols #=> Array
1478
1474
  # resp.server.protocols[0] #=> String, one of "SFTP", "FTP", "FTPS"
1479
1475
  # resp.server.security_policy_name #=> String
@@ -1583,14 +1579,18 @@ module Aws::Transfer
1583
1579
  # resp.workflow.steps[0].copy_step_details.destination_file_location.efs_file_location.file_system_id #=> String
1584
1580
  # resp.workflow.steps[0].copy_step_details.destination_file_location.efs_file_location.path #=> String
1585
1581
  # resp.workflow.steps[0].copy_step_details.overwrite_existing #=> String, one of "TRUE", "FALSE"
1582
+ # resp.workflow.steps[0].copy_step_details.source_file_location #=> String
1586
1583
  # resp.workflow.steps[0].custom_step_details.name #=> String
1587
1584
  # resp.workflow.steps[0].custom_step_details.target #=> String
1588
1585
  # resp.workflow.steps[0].custom_step_details.timeout_seconds #=> Integer
1586
+ # resp.workflow.steps[0].custom_step_details.source_file_location #=> String
1589
1587
  # resp.workflow.steps[0].delete_step_details.name #=> String
1588
+ # resp.workflow.steps[0].delete_step_details.source_file_location #=> String
1590
1589
  # resp.workflow.steps[0].tag_step_details.name #=> String
1591
1590
  # resp.workflow.steps[0].tag_step_details.tags #=> Array
1592
1591
  # resp.workflow.steps[0].tag_step_details.tags[0].key #=> String
1593
1592
  # resp.workflow.steps[0].tag_step_details.tags[0].value #=> String
1593
+ # resp.workflow.steps[0].tag_step_details.source_file_location #=> String
1594
1594
  # resp.workflow.on_exception_steps #=> Array
1595
1595
  # resp.workflow.on_exception_steps[0].type #=> String, one of "COPY", "CUSTOM", "TAG", "DELETE"
1596
1596
  # resp.workflow.on_exception_steps[0].copy_step_details.name #=> String
@@ -1599,14 +1599,18 @@ module Aws::Transfer
1599
1599
  # resp.workflow.on_exception_steps[0].copy_step_details.destination_file_location.efs_file_location.file_system_id #=> String
1600
1600
  # resp.workflow.on_exception_steps[0].copy_step_details.destination_file_location.efs_file_location.path #=> String
1601
1601
  # resp.workflow.on_exception_steps[0].copy_step_details.overwrite_existing #=> String, one of "TRUE", "FALSE"
1602
+ # resp.workflow.on_exception_steps[0].copy_step_details.source_file_location #=> String
1602
1603
  # resp.workflow.on_exception_steps[0].custom_step_details.name #=> String
1603
1604
  # resp.workflow.on_exception_steps[0].custom_step_details.target #=> String
1604
1605
  # resp.workflow.on_exception_steps[0].custom_step_details.timeout_seconds #=> Integer
1606
+ # resp.workflow.on_exception_steps[0].custom_step_details.source_file_location #=> String
1605
1607
  # resp.workflow.on_exception_steps[0].delete_step_details.name #=> String
1608
+ # resp.workflow.on_exception_steps[0].delete_step_details.source_file_location #=> String
1606
1609
  # resp.workflow.on_exception_steps[0].tag_step_details.name #=> String
1607
1610
  # resp.workflow.on_exception_steps[0].tag_step_details.tags #=> Array
1608
1611
  # resp.workflow.on_exception_steps[0].tag_step_details.tags[0].key #=> String
1609
1612
  # resp.workflow.on_exception_steps[0].tag_step_details.tags[0].value #=> String
1613
+ # resp.workflow.on_exception_steps[0].tag_step_details.source_file_location #=> String
1610
1614
  # resp.workflow.workflow_id #=> String
1611
1615
  # resp.workflow.tags #=> Array
1612
1616
  # resp.workflow.tags[0].key #=> String
@@ -2336,17 +2340,6 @@ module Aws::Transfer
2336
2340
  #
2337
2341
  # `[ \{ "Entry:": "/", "Target": "/bucket_name/home/mydirectory" \} ]`
2338
2342
  #
2339
- # <note markdown="1"> If the target of a logical directory entry does not exist in Amazon S3
2340
- # or EFS, the entry is ignored. As a workaround, you can use the Amazon
2341
- # S3 API or EFS API to create 0 byte objects as place holders for your
2342
- # directory. If using the CLI, use the `s3api` or `efsapi` call instead
2343
- # of `s3` or `efs` so you can use the put-object operation. For example,
2344
- # you use the following: `aws s3api put-object --bucket bucketname --key
2345
- # path/to/folder/`. Make sure that the end of the key name ends in a `/`
2346
- # for it to be considered a folder.
2347
- #
2348
- # </note>
2349
- #
2350
2343
  # @option params [String] :policy
2351
2344
  # A session policy for your user so that you can use the same IAM role
2352
2345
  # across multiple users. This policy scopes down user access to portions
@@ -2572,6 +2565,10 @@ module Aws::Transfer
2572
2565
  # on Amazon CloudWatch logging for Amazon S3 or Amazon EFS events. When
2573
2566
  # set, user activity can be viewed in your CloudWatch logs.
2574
2567
  #
2568
+ # @option params [String] :post_authentication_login_banner
2569
+ #
2570
+ # @option params [String] :pre_authentication_login_banner
2571
+ #
2575
2572
  # @option params [Array<String>] :protocols
2576
2573
  # Specifies the file transfer protocol or protocols over which your file
2577
2574
  # transfer protocol client can connect to your server's endpoint. The
@@ -2642,6 +2639,8 @@ module Aws::Transfer
2642
2639
  # function: "Function",
2643
2640
  # },
2644
2641
  # logging_role: "NullableRole",
2642
+ # post_authentication_login_banner: "PostAuthenticationLoginBanner",
2643
+ # pre_authentication_login_banner: "PreAuthenticationLoginBanner",
2645
2644
  # protocols: ["SFTP"], # accepts SFTP, FTP, FTPS
2646
2645
  # security_policy_name: "SecurityPolicyName",
2647
2646
  # server_id: "ServerId", # required
@@ -2714,17 +2713,6 @@ module Aws::Transfer
2714
2713
  #
2715
2714
  # `[ \{ "Entry:": "/", "Target": "/bucket_name/home/mydirectory" \} ]`
2716
2715
  #
2717
- # <note markdown="1"> If the target of a logical directory entry does not exist in Amazon S3
2718
- # or EFS, the entry is ignored. As a workaround, you can use the Amazon
2719
- # S3 API or EFS API to create 0 byte objects as place holders for your
2720
- # directory. If using the CLI, use the `s3api` or `efsapi` call instead
2721
- # of `s3` or `efs` so you can use the put-object operation. For example,
2722
- # you use the following: `aws s3api put-object --bucket bucketname --key
2723
- # path/to/folder/`. Make sure that the end of the key name ends in a `/`
2724
- # for it to be considered a folder.
2725
- #
2726
- # </note>
2727
- #
2728
2716
  # @option params [String] :policy
2729
2717
  # A session policy for your user so that you can use the same IAM role
2730
2718
  # across multiple users. This policy scopes down user access to portions
@@ -2836,7 +2824,7 @@ module Aws::Transfer
2836
2824
  params: params,
2837
2825
  config: config)
2838
2826
  context[:gem_name] = 'aws-sdk-transfer'
2839
- context[:gem_version] = '1.46.0'
2827
+ context[:gem_version] = '1.49.0'
2840
2828
  Seahorse::Client::Request.new(handlers, context)
2841
2829
  end
2842
2830
 
@@ -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.46.0'
51
+ GEM_VERSION = '1.49.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.46.0
4
+ version: 1.49.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-03 00:00:00.000000000 Z
11
+ date: 2022-02-24 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.126.0
22
+ version: 3.127.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.126.0
32
+ version: 3.127.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement