aws-sdk-transfer 1.145.0 → 1.146.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-transfer/client.rb +8 -1
- data/lib/aws-sdk-transfer/client_api.rb +6 -0
- data/lib/aws-sdk-transfer/types.rb +63 -1
- data/lib/aws-sdk-transfer.rb +1 -1
- data/sig/client.rbs +2 -12
- data/sig/params.rbs +10 -0
- data/sig/types.rbs +6 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0ba2122544e8d5692d74be6edd3d2c1149e250d9edd3b5a776876ae575925d1e
|
|
4
|
+
data.tar.gz: ec351a563779bb118038714ab3409cdee6653f5f5575e8c1a2a50d7be5d5ebb4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 44b030b474ee2aaffd926cc978a3d21449269be1337edd9dceffa7d7909166abc169a9ca81164870ca6ff998297e2d33d3498a7859362f2ccec2e58903785e30
|
|
7
|
+
data.tar.gz: 89c1207925a726583458e2b7ee787907ceae8781b72a902fb69aa6896b5e86f3040620cde885b4b81fcf0ab5df707368e47664856c8cc0b084f6446cad3dad37
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.146.0 (2026-09-15)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - AWS Transfer Family now preserves the original source IP address using Proxy Protocol v2 when you place a Network Load Balancer in front of your server for SFTP connections.
|
|
8
|
+
|
|
4
9
|
1.145.0 (2026-09-11)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.146.0
|
|
@@ -1385,6 +1385,9 @@ module Aws::Transfer
|
|
|
1385
1385
|
# tls_session_resumption_mode: "DISABLED", # accepts DISABLED, ENABLED, ENFORCED
|
|
1386
1386
|
# set_stat_option: "DEFAULT", # accepts DEFAULT, ENABLE_NO_OP
|
|
1387
1387
|
# as_2_transports: ["HTTP"], # accepts HTTP
|
|
1388
|
+
# proxy_config: {
|
|
1389
|
+
# sftp_mode: "NONE", # accepts NONE, PROXY_PROTOCOL_V2_ENFORCED
|
|
1390
|
+
# },
|
|
1388
1391
|
# },
|
|
1389
1392
|
# security_policy_name: "SecurityPolicyName",
|
|
1390
1393
|
# tags: [
|
|
@@ -2694,6 +2697,7 @@ module Aws::Transfer
|
|
|
2694
2697
|
# resp.server.protocol_details.set_stat_option #=> String, one of "DEFAULT", "ENABLE_NO_OP"
|
|
2695
2698
|
# resp.server.protocol_details.as_2_transports #=> Array
|
|
2696
2699
|
# resp.server.protocol_details.as_2_transports[0] #=> String, one of "HTTP"
|
|
2700
|
+
# resp.server.protocol_details.proxy_config.sftp_mode #=> String, one of "NONE", "PROXY_PROTOCOL_V2_ENFORCED"
|
|
2697
2701
|
# resp.server.domain #=> String, one of "S3", "EFS"
|
|
2698
2702
|
# resp.server.endpoint_details.address_allocation_ids #=> Array
|
|
2699
2703
|
# resp.server.endpoint_details.address_allocation_ids[0] #=> String
|
|
@@ -5413,6 +5417,9 @@ module Aws::Transfer
|
|
|
5413
5417
|
# tls_session_resumption_mode: "DISABLED", # accepts DISABLED, ENABLED, ENFORCED
|
|
5414
5418
|
# set_stat_option: "DEFAULT", # accepts DEFAULT, ENABLE_NO_OP
|
|
5415
5419
|
# as_2_transports: ["HTTP"], # accepts HTTP
|
|
5420
|
+
# proxy_config: {
|
|
5421
|
+
# sftp_mode: "NONE", # accepts NONE, PROXY_PROTOCOL_V2_ENFORCED
|
|
5422
|
+
# },
|
|
5416
5423
|
# },
|
|
5417
5424
|
# endpoint_details: {
|
|
5418
5425
|
# address_allocation_ids: ["AddressAllocationId"],
|
|
@@ -5773,7 +5780,7 @@ module Aws::Transfer
|
|
|
5773
5780
|
tracer: tracer
|
|
5774
5781
|
)
|
|
5775
5782
|
context[:gem_name] = 'aws-sdk-transfer'
|
|
5776
|
-
context[:gem_version] = '1.
|
|
5783
|
+
context[:gem_version] = '1.146.0'
|
|
5777
5784
|
Seahorse::Client::Request.new(handlers, context)
|
|
5778
5785
|
end
|
|
5779
5786
|
|
|
@@ -273,6 +273,8 @@ module Aws::Transfer
|
|
|
273
273
|
Protocol = Shapes::StringShape.new(name: 'Protocol')
|
|
274
274
|
ProtocolDetails = Shapes::StructureShape.new(name: 'ProtocolDetails')
|
|
275
275
|
Protocols = Shapes::ListShape.new(name: 'Protocols')
|
|
276
|
+
ProxyConfig = Shapes::StructureShape.new(name: 'ProxyConfig')
|
|
277
|
+
ProxyMode = Shapes::StringShape.new(name: 'ProxyMode')
|
|
276
278
|
Resource = Shapes::StringShape.new(name: 'Resource')
|
|
277
279
|
ResourceExistsException = Shapes::StructureShape.new(name: 'ResourceExistsException')
|
|
278
280
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
|
@@ -1276,10 +1278,14 @@ module Aws::Transfer
|
|
|
1276
1278
|
ProtocolDetails.add_member(:tls_session_resumption_mode, Shapes::ShapeRef.new(shape: TlsSessionResumptionMode, location_name: "TlsSessionResumptionMode"))
|
|
1277
1279
|
ProtocolDetails.add_member(:set_stat_option, Shapes::ShapeRef.new(shape: SetStatOption, location_name: "SetStatOption"))
|
|
1278
1280
|
ProtocolDetails.add_member(:as_2_transports, Shapes::ShapeRef.new(shape: As2Transports, location_name: "As2Transports"))
|
|
1281
|
+
ProtocolDetails.add_member(:proxy_config, Shapes::ShapeRef.new(shape: ProxyConfig, location_name: "ProxyConfig"))
|
|
1279
1282
|
ProtocolDetails.struct_class = Types::ProtocolDetails
|
|
1280
1283
|
|
|
1281
1284
|
Protocols.member = Shapes::ShapeRef.new(shape: Protocol)
|
|
1282
1285
|
|
|
1286
|
+
ProxyConfig.add_member(:sftp_mode, Shapes::ShapeRef.new(shape: ProxyMode, location_name: "SftpMode"))
|
|
1287
|
+
ProxyConfig.struct_class = Types::ProxyConfig
|
|
1288
|
+
|
|
1283
1289
|
ResourceExistsException.add_member(:message, Shapes::ShapeRef.new(shape: Message, required: true, location_name: "Message"))
|
|
1284
1290
|
ResourceExistsException.add_member(:resource, Shapes::ShapeRef.new(shape: Resource, required: true, location_name: "Resource"))
|
|
1285
1291
|
ResourceExistsException.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, required: true, location_name: "ResourceType"))
|
|
@@ -5873,13 +5873,75 @@ module Aws::Transfer
|
|
|
5873
5873
|
# HTTP is supported.
|
|
5874
5874
|
# @return [Array<String>]
|
|
5875
5875
|
#
|
|
5876
|
+
# @!attribute [rw] proxy_config
|
|
5877
|
+
# The configuration for PROXY protocol version 2 (PPv2) support on the
|
|
5878
|
+
# Transfer Family server. For more information, see [Working with
|
|
5879
|
+
# Network Load Balancers][1].
|
|
5880
|
+
#
|
|
5881
|
+
#
|
|
5882
|
+
#
|
|
5883
|
+
# [1]: https://docs.aws.amazon.com/transfer/latest/userguide/working-with-nlb.html
|
|
5884
|
+
# @return [Types::ProxyConfig]
|
|
5885
|
+
#
|
|
5876
5886
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ProtocolDetails AWS API Documentation
|
|
5877
5887
|
#
|
|
5878
5888
|
class ProtocolDetails < Struct.new(
|
|
5879
5889
|
:passive_ip,
|
|
5880
5890
|
:tls_session_resumption_mode,
|
|
5881
5891
|
:set_stat_option,
|
|
5882
|
-
:as_2_transports
|
|
5892
|
+
:as_2_transports,
|
|
5893
|
+
:proxy_config)
|
|
5894
|
+
SENSITIVE = []
|
|
5895
|
+
include Aws::Structure
|
|
5896
|
+
end
|
|
5897
|
+
|
|
5898
|
+
# Contains configuration for PROXY protocol version 2 (PPv2) support on
|
|
5899
|
+
# an Transfer Family server. When enabled, Transfer Family reads the
|
|
5900
|
+
# added PPv2 header from incoming connections to extract the original
|
|
5901
|
+
# client IP address. This address is then available in Amazon CloudWatch
|
|
5902
|
+
# Logs entries and is passed to custom identity providers during
|
|
5903
|
+
# authentication, enabling IP-based access policies. For more
|
|
5904
|
+
# information, see [Working with Network Load Balancers][1].
|
|
5905
|
+
#
|
|
5906
|
+
#
|
|
5907
|
+
#
|
|
5908
|
+
# [1]: https://docs.aws.amazon.com/transfer/latest/userguide/working-with-nlb.html
|
|
5909
|
+
#
|
|
5910
|
+
# @!attribute [rw] sftp_mode
|
|
5911
|
+
# Specifies whether the Transfer Family server requires or ignores a
|
|
5912
|
+
# PPv2 header containing the original client IP address on incoming
|
|
5913
|
+
# SFTP connections. If you don't specify a value, the default is
|
|
5914
|
+
# `NONE`
|
|
5915
|
+
#
|
|
5916
|
+
# * `NONE`: the server reads and ignores any PPv2 header on incoming
|
|
5917
|
+
# SFTP connections. This is the default value. Use this value when
|
|
5918
|
+
# your SFTP server is not behind an NLB, or when you do not need to
|
|
5919
|
+
# preserve client source IP addresses through an NLB.
|
|
5920
|
+
#
|
|
5921
|
+
# * `PROXY_PROTOCOL_V2_ENFORCED`: the server requires a valid PPv2
|
|
5922
|
+
# header on every incoming SFTP connection. When a valid header is
|
|
5923
|
+
# present, the server applies it and uses the client IP address from
|
|
5924
|
+
# the header. If a connection arrives without a PPv2 header, the
|
|
5925
|
+
# server refuses the connection and logs an error to Amazon
|
|
5926
|
+
# CloudWatch Logs indicating that the expected PPv2 header was
|
|
5927
|
+
# missing. Use this value when your SFTP server is behind an NLB
|
|
5928
|
+
# with PPv2 enabled on the target group.
|
|
5929
|
+
#
|
|
5930
|
+
# When you enable `PROXY_PROTOCOL_V2_ENFORCED`, the server trusts
|
|
5931
|
+
# the source IP address in the PPv2 header. You must configure
|
|
5932
|
+
# security groups on your server's VPC endpoint to restrict inbound
|
|
5933
|
+
# traffic to only the NLB's private IP addresses. For the full
|
|
5934
|
+
# requirements, see [Working with Network Load Balancers][1].
|
|
5935
|
+
#
|
|
5936
|
+
#
|
|
5937
|
+
#
|
|
5938
|
+
# [1]: https://docs.aws.amazon.com/transfer/latest/userguide/working-with-nlb.html
|
|
5939
|
+
# @return [String]
|
|
5940
|
+
#
|
|
5941
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ProxyConfig AWS API Documentation
|
|
5942
|
+
#
|
|
5943
|
+
class ProxyConfig < Struct.new(
|
|
5944
|
+
:sftp_mode)
|
|
5883
5945
|
SENSITIVE = []
|
|
5884
5946
|
include Aws::Structure
|
|
5885
5947
|
end
|
data/lib/aws-sdk-transfer.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -218,12 +218,7 @@ module Aws
|
|
|
218
218
|
?post_authentication_login_banner: ::String,
|
|
219
219
|
?pre_authentication_login_banner: ::String,
|
|
220
220
|
?protocols: Array[("SFTP" | "FTP" | "FTPS" | "AS2")],
|
|
221
|
-
?protocol_details:
|
|
222
|
-
passive_ip: ::String?,
|
|
223
|
-
tls_session_resumption_mode: ("DISABLED" | "ENABLED" | "ENFORCED")?,
|
|
224
|
-
set_stat_option: ("DEFAULT" | "ENABLE_NO_OP")?,
|
|
225
|
-
as_2_transports: Array[("HTTP")]?
|
|
226
|
-
},
|
|
221
|
+
?protocol_details: Params::protocol_details,
|
|
227
222
|
?security_policy_name: ::String,
|
|
228
223
|
?tags: Array[
|
|
229
224
|
{
|
|
@@ -1040,12 +1035,7 @@ module Aws
|
|
|
1040
1035
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Transfer/Client.html#update_server-instance_method
|
|
1041
1036
|
def update_server: (
|
|
1042
1037
|
?certificate: ::String,
|
|
1043
|
-
?protocol_details:
|
|
1044
|
-
passive_ip: ::String?,
|
|
1045
|
-
tls_session_resumption_mode: ("DISABLED" | "ENABLED" | "ENFORCED")?,
|
|
1046
|
-
set_stat_option: ("DEFAULT" | "ENABLE_NO_OP")?,
|
|
1047
|
-
as_2_transports: Array[("HTTP")]?
|
|
1048
|
-
},
|
|
1038
|
+
?protocol_details: Params::protocol_details,
|
|
1049
1039
|
?endpoint_details: {
|
|
1050
1040
|
address_allocation_ids: Array[::String]?,
|
|
1051
1041
|
subnet_ids: Array[::String]?,
|
data/sig/params.rbs
CHANGED
|
@@ -25,6 +25,16 @@ module Aws
|
|
|
25
25
|
}?
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
+
type protocol_details = {
|
|
29
|
+
passive_ip: ::String?,
|
|
30
|
+
tls_session_resumption_mode: ("DISABLED" | "ENABLED" | "ENFORCED")?,
|
|
31
|
+
set_stat_option: ("DEFAULT" | "ENABLE_NO_OP")?,
|
|
32
|
+
as_2_transports: Array[("HTTP")]?,
|
|
33
|
+
proxy_config: {
|
|
34
|
+
sftp_mode: ("NONE" | "PROXY_PROTOCOL_V2_ENFORCED")?
|
|
35
|
+
}?
|
|
36
|
+
}
|
|
37
|
+
|
|
28
38
|
type workflow_details = {
|
|
29
39
|
on_upload: Array[
|
|
30
40
|
{
|
data/sig/types.rbs
CHANGED
|
@@ -1126,6 +1126,12 @@ module Aws::Transfer
|
|
|
1126
1126
|
attr_accessor tls_session_resumption_mode: ("DISABLED" | "ENABLED" | "ENFORCED")
|
|
1127
1127
|
attr_accessor set_stat_option: ("DEFAULT" | "ENABLE_NO_OP")
|
|
1128
1128
|
attr_accessor as_2_transports: ::Array[("HTTP")]
|
|
1129
|
+
attr_accessor proxy_config: Types::ProxyConfig
|
|
1130
|
+
SENSITIVE: []
|
|
1131
|
+
end
|
|
1132
|
+
|
|
1133
|
+
class ProxyConfig
|
|
1134
|
+
attr_accessor sftp_mode: ("NONE" | "PROXY_PROTOCOL_V2_ENFORCED")
|
|
1129
1135
|
SENSITIVE: []
|
|
1130
1136
|
end
|
|
1131
1137
|
|