aws-sdk-transfer 1.145.0 → 1.147.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-transfer/client.rb +29 -1
- data/lib/aws-sdk-transfer/client_api.rb +16 -0
- data/lib/aws-sdk-transfer/types.rb +130 -1
- data/lib/aws-sdk-transfer.rb +1 -1
- data/sig/client.rbs +2 -12
- data/sig/params.rbs +16 -0
- data/sig/types.rbs +13 -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: a9cbb63695e95961f0e2be8a88cd0919d888d70ab1fab4f12039ec9a5d9d5755
|
|
4
|
+
data.tar.gz: 52443d5846e6f00571aa3d05773124986fcf2294209517f83f242fb36b49b29a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5aafb54d26c091bbe835da563b9ce828f4675a29b4f7b069f770dc2768796b071728fc7f2deb142c524f5e6138f225b6f3b454226f4371e28ee83266fee28eda
|
|
7
|
+
data.tar.gz: c33270ca2ff7a7d6a76093d69c94b88642ee367bd4262fd1a2abfde0775602caf897ff02a5e4fca96f5245837f1fbc8169d680714d2f14c30545f15bb86a619d
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.147.0 (2026-09-29)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - AWS Transfer Family now supports configuring up to three custom ports on public SFTP servers, instead of the single default port 22. You can also set each port's communication mode (server-talk-first or client-talk-first) so legacy and modern SFTP clients connect reliably.
|
|
8
|
+
|
|
9
|
+
1.146.0 (2026-09-15)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* 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.
|
|
13
|
+
|
|
4
14
|
1.145.0 (2026-09-11)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.147.0
|
|
@@ -1269,6 +1269,9 @@ module Aws::Transfer
|
|
|
1269
1269
|
# CloudWatch Logs, so that you can determine when the client is making
|
|
1270
1270
|
# a `SETSTAT` call.
|
|
1271
1271
|
#
|
|
1272
|
+
# * To specify which ports your Transfer Family server listens to, use
|
|
1273
|
+
# the `SftpPorts` parameter.
|
|
1274
|
+
#
|
|
1272
1275
|
# * To determine whether your Transfer Family server resumes recent,
|
|
1273
1276
|
# negotiated sessions through a unique session ID, use the
|
|
1274
1277
|
# `TlsSessionResumptionMode` parameter.
|
|
@@ -1384,7 +1387,16 @@ module Aws::Transfer
|
|
|
1384
1387
|
# passive_ip: "PassiveIp",
|
|
1385
1388
|
# tls_session_resumption_mode: "DISABLED", # accepts DISABLED, ENABLED, ENFORCED
|
|
1386
1389
|
# set_stat_option: "DEFAULT", # accepts DEFAULT, ENABLE_NO_OP
|
|
1390
|
+
# sftp_ports: [
|
|
1391
|
+
# {
|
|
1392
|
+
# sftp_port: 1, # required
|
|
1393
|
+
# communication_mode: "CLIENT_TALK_FIRST", # accepts CLIENT_TALK_FIRST, SERVER_TALK_FIRST
|
|
1394
|
+
# },
|
|
1395
|
+
# ],
|
|
1387
1396
|
# as_2_transports: ["HTTP"], # accepts HTTP
|
|
1397
|
+
# proxy_config: {
|
|
1398
|
+
# sftp_mode: "NONE", # accepts NONE, PROXY_PROTOCOL_V2_ENFORCED
|
|
1399
|
+
# },
|
|
1388
1400
|
# },
|
|
1389
1401
|
# security_policy_name: "SecurityPolicyName",
|
|
1390
1402
|
# tags: [
|
|
@@ -2692,8 +2704,12 @@ module Aws::Transfer
|
|
|
2692
2704
|
# resp.server.protocol_details.passive_ip #=> String
|
|
2693
2705
|
# resp.server.protocol_details.tls_session_resumption_mode #=> String, one of "DISABLED", "ENABLED", "ENFORCED"
|
|
2694
2706
|
# resp.server.protocol_details.set_stat_option #=> String, one of "DEFAULT", "ENABLE_NO_OP"
|
|
2707
|
+
# resp.server.protocol_details.sftp_ports #=> Array
|
|
2708
|
+
# resp.server.protocol_details.sftp_ports[0].sftp_port #=> Integer
|
|
2709
|
+
# resp.server.protocol_details.sftp_ports[0].communication_mode #=> String, one of "CLIENT_TALK_FIRST", "SERVER_TALK_FIRST"
|
|
2695
2710
|
# resp.server.protocol_details.as_2_transports #=> Array
|
|
2696
2711
|
# resp.server.protocol_details.as_2_transports[0] #=> String, one of "HTTP"
|
|
2712
|
+
# resp.server.protocol_details.proxy_config.sftp_mode #=> String, one of "NONE", "PROXY_PROTOCOL_V2_ENFORCED"
|
|
2697
2713
|
# resp.server.domain #=> String, one of "S3", "EFS"
|
|
2698
2714
|
# resp.server.endpoint_details.address_allocation_ids #=> Array
|
|
2699
2715
|
# resp.server.endpoint_details.address_allocation_ids[0] #=> String
|
|
@@ -5150,6 +5166,9 @@ module Aws::Transfer
|
|
|
5150
5166
|
# CloudWatch Logs, so that you can determine when the client is making
|
|
5151
5167
|
# a `SETSTAT` call.
|
|
5152
5168
|
#
|
|
5169
|
+
# * To specify which ports your Transfer Family server listens to, use
|
|
5170
|
+
# the `SftpPorts` parameter.
|
|
5171
|
+
#
|
|
5153
5172
|
# * To determine whether your Transfer Family server resumes recent,
|
|
5154
5173
|
# negotiated sessions through a unique session ID, use the
|
|
5155
5174
|
# `TlsSessionResumptionMode` parameter.
|
|
@@ -5412,7 +5431,16 @@ module Aws::Transfer
|
|
|
5412
5431
|
# passive_ip: "PassiveIp",
|
|
5413
5432
|
# tls_session_resumption_mode: "DISABLED", # accepts DISABLED, ENABLED, ENFORCED
|
|
5414
5433
|
# set_stat_option: "DEFAULT", # accepts DEFAULT, ENABLE_NO_OP
|
|
5434
|
+
# sftp_ports: [
|
|
5435
|
+
# {
|
|
5436
|
+
# sftp_port: 1, # required
|
|
5437
|
+
# communication_mode: "CLIENT_TALK_FIRST", # accepts CLIENT_TALK_FIRST, SERVER_TALK_FIRST
|
|
5438
|
+
# },
|
|
5439
|
+
# ],
|
|
5415
5440
|
# as_2_transports: ["HTTP"], # accepts HTTP
|
|
5441
|
+
# proxy_config: {
|
|
5442
|
+
# sftp_mode: "NONE", # accepts NONE, PROXY_PROTOCOL_V2_ENFORCED
|
|
5443
|
+
# },
|
|
5416
5444
|
# },
|
|
5417
5445
|
# endpoint_details: {
|
|
5418
5446
|
# address_allocation_ids: ["AddressAllocationId"],
|
|
@@ -5773,7 +5801,7 @@ module Aws::Transfer
|
|
|
5773
5801
|
tracer: tracer
|
|
5774
5802
|
)
|
|
5775
5803
|
context[:gem_name] = 'aws-sdk-transfer'
|
|
5776
|
-
context[:gem_version] = '1.
|
|
5804
|
+
context[:gem_version] = '1.147.0'
|
|
5777
5805
|
Seahorse::Client::Request.new(handlers, context)
|
|
5778
5806
|
end
|
|
5779
5807
|
|
|
@@ -38,6 +38,7 @@ module Aws::Transfer
|
|
|
38
38
|
CertificateStatusType = Shapes::StringShape.new(name: 'CertificateStatusType')
|
|
39
39
|
CertificateType = Shapes::StringShape.new(name: 'CertificateType')
|
|
40
40
|
CertificateUsageType = Shapes::StringShape.new(name: 'CertificateUsageType')
|
|
41
|
+
CommunicationMode = Shapes::StringShape.new(name: 'CommunicationMode')
|
|
41
42
|
CompressionEnum = Shapes::StringShape.new(name: 'CompressionEnum')
|
|
42
43
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
|
43
44
|
ConnectorEgressConfig = Shapes::UnionShape.new(name: 'ConnectorEgressConfig')
|
|
@@ -273,6 +274,8 @@ module Aws::Transfer
|
|
|
273
274
|
Protocol = Shapes::StringShape.new(name: 'Protocol')
|
|
274
275
|
ProtocolDetails = Shapes::StructureShape.new(name: 'ProtocolDetails')
|
|
275
276
|
Protocols = Shapes::ListShape.new(name: 'Protocols')
|
|
277
|
+
ProxyConfig = Shapes::StructureShape.new(name: 'ProxyConfig')
|
|
278
|
+
ProxyMode = Shapes::StringShape.new(name: 'ProxyMode')
|
|
276
279
|
Resource = Shapes::StringShape.new(name: 'Resource')
|
|
277
280
|
ResourceExistsException = Shapes::StructureShape.new(name: 'ResourceExistsException')
|
|
278
281
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
|
@@ -321,6 +324,8 @@ module Aws::Transfer
|
|
|
321
324
|
SftpConnectorTrustedHostKey = Shapes::StringShape.new(name: 'SftpConnectorTrustedHostKey')
|
|
322
325
|
SftpConnectorTrustedHostKeyList = Shapes::ListShape.new(name: 'SftpConnectorTrustedHostKeyList')
|
|
323
326
|
SftpPort = Shapes::IntegerShape.new(name: 'SftpPort')
|
|
327
|
+
SftpPortWithOptions = Shapes::StructureShape.new(name: 'SftpPortWithOptions')
|
|
328
|
+
SftpPorts = Shapes::ListShape.new(name: 'SftpPorts')
|
|
324
329
|
SigningAlg = Shapes::StringShape.new(name: 'SigningAlg')
|
|
325
330
|
SourceFileLocation = Shapes::StringShape.new(name: 'SourceFileLocation')
|
|
326
331
|
SourceIp = Shapes::StringShape.new(name: 'SourceIp')
|
|
@@ -1275,11 +1280,16 @@ module Aws::Transfer
|
|
|
1275
1280
|
ProtocolDetails.add_member(:passive_ip, Shapes::ShapeRef.new(shape: PassiveIp, location_name: "PassiveIp"))
|
|
1276
1281
|
ProtocolDetails.add_member(:tls_session_resumption_mode, Shapes::ShapeRef.new(shape: TlsSessionResumptionMode, location_name: "TlsSessionResumptionMode"))
|
|
1277
1282
|
ProtocolDetails.add_member(:set_stat_option, Shapes::ShapeRef.new(shape: SetStatOption, location_name: "SetStatOption"))
|
|
1283
|
+
ProtocolDetails.add_member(:sftp_ports, Shapes::ShapeRef.new(shape: SftpPorts, location_name: "SftpPorts"))
|
|
1278
1284
|
ProtocolDetails.add_member(:as_2_transports, Shapes::ShapeRef.new(shape: As2Transports, location_name: "As2Transports"))
|
|
1285
|
+
ProtocolDetails.add_member(:proxy_config, Shapes::ShapeRef.new(shape: ProxyConfig, location_name: "ProxyConfig"))
|
|
1279
1286
|
ProtocolDetails.struct_class = Types::ProtocolDetails
|
|
1280
1287
|
|
|
1281
1288
|
Protocols.member = Shapes::ShapeRef.new(shape: Protocol)
|
|
1282
1289
|
|
|
1290
|
+
ProxyConfig.add_member(:sftp_mode, Shapes::ShapeRef.new(shape: ProxyMode, location_name: "SftpMode"))
|
|
1291
|
+
ProxyConfig.struct_class = Types::ProxyConfig
|
|
1292
|
+
|
|
1283
1293
|
ResourceExistsException.add_member(:message, Shapes::ShapeRef.new(shape: Message, required: true, location_name: "Message"))
|
|
1284
1294
|
ResourceExistsException.add_member(:resource, Shapes::ShapeRef.new(shape: Resource, required: true, location_name: "Resource"))
|
|
1285
1295
|
ResourceExistsException.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, required: true, location_name: "ResourceType"))
|
|
@@ -1348,6 +1358,12 @@ module Aws::Transfer
|
|
|
1348
1358
|
|
|
1349
1359
|
SftpConnectorTrustedHostKeyList.member = Shapes::ShapeRef.new(shape: SftpConnectorTrustedHostKey)
|
|
1350
1360
|
|
|
1361
|
+
SftpPortWithOptions.add_member(:sftp_port, Shapes::ShapeRef.new(shape: SftpPort, required: true, location_name: "SftpPort"))
|
|
1362
|
+
SftpPortWithOptions.add_member(:communication_mode, Shapes::ShapeRef.new(shape: CommunicationMode, location_name: "CommunicationMode"))
|
|
1363
|
+
SftpPortWithOptions.struct_class = Types::SftpPortWithOptions
|
|
1364
|
+
|
|
1365
|
+
SftpPorts.member = Shapes::ShapeRef.new(shape: SftpPortWithOptions)
|
|
1366
|
+
|
|
1351
1367
|
SshPublicKey.add_member(:date_imported, Shapes::ShapeRef.new(shape: DateImported, required: true, location_name: "DateImported"))
|
|
1352
1368
|
SshPublicKey.add_member(:ssh_public_key_body, Shapes::ShapeRef.new(shape: SshPublicKeyBody, required: true, location_name: "SshPublicKeyBody"))
|
|
1353
1369
|
SshPublicKey.add_member(:ssh_public_key_id, Shapes::ShapeRef.new(shape: SshPublicKeyId, required: true, location_name: "SshPublicKeyId"))
|
|
@@ -1075,6 +1075,9 @@ module Aws::Transfer
|
|
|
1075
1075
|
# to Amazon CloudWatch Logs, so that you can determine when the
|
|
1076
1076
|
# client is making a `SETSTAT` call.
|
|
1077
1077
|
#
|
|
1078
|
+
# * To specify which ports your Transfer Family server listens to, use
|
|
1079
|
+
# the `SftpPorts` parameter.
|
|
1080
|
+
#
|
|
1078
1081
|
# * To determine whether your Transfer Family server resumes recent,
|
|
1079
1082
|
# negotiated sessions through a unique session ID, use the
|
|
1080
1083
|
# `TlsSessionResumptionMode` parameter.
|
|
@@ -3160,6 +3163,9 @@ module Aws::Transfer
|
|
|
3160
3163
|
# to Amazon CloudWatch Logs, so that you can determine when the
|
|
3161
3164
|
# client is making a `SETSTAT` call.
|
|
3162
3165
|
#
|
|
3166
|
+
# * To specify which ports your Transfer Family server listens to, use
|
|
3167
|
+
# the `SftpPorts` parameter.
|
|
3168
|
+
#
|
|
3163
3169
|
# * To determine whether your Transfer Family server resumes recent,
|
|
3164
3170
|
# negotiated sessions through a unique session ID, use the
|
|
3165
3171
|
# `TlsSessionResumptionMode` parameter.
|
|
@@ -5868,18 +5874,111 @@ module Aws::Transfer
|
|
|
5868
5874
|
# </note>
|
|
5869
5875
|
# @return [String]
|
|
5870
5876
|
#
|
|
5877
|
+
# @!attribute [rw] sftp_ports
|
|
5878
|
+
# A property used with Transfer Family servers that use the SFTP
|
|
5879
|
+
# protocol and have `PUBLIC` endpoints. This property accepts a list
|
|
5880
|
+
# of up to three port configurations that the service opens on the
|
|
5881
|
+
# server endpoint.
|
|
5882
|
+
#
|
|
5883
|
+
# Each entry in the list consists of two parameters, the `SftpPort`
|
|
5884
|
+
# and the `CommunicationMode`. The `SftpPort` takes any integer from
|
|
5885
|
+
# 2000 to 65535, or 22. `CommunicationMode` can be one of the
|
|
5886
|
+
# following options:
|
|
5887
|
+
#
|
|
5888
|
+
# * `SERVER_TALK_FIRST`: The server responds to initial TCP
|
|
5889
|
+
# connections first. Many older clients expect that an SFTP server
|
|
5890
|
+
# responds with its server string before starting SSH negotiations.
|
|
5891
|
+
#
|
|
5892
|
+
# * `CLIENT_TALK_FIRST`: The server responds to the initial TCP
|
|
5893
|
+
# connection only after receiving a data packet. Most modern clients
|
|
5894
|
+
# support this behavior and send their client string along with the
|
|
5895
|
+
# initial data packets for SSH negotiation. Additionally, this mode
|
|
5896
|
+
# is more resilient to TCP retransmissions that can occur during the
|
|
5897
|
+
# initial TCP connection.
|
|
5898
|
+
#
|
|
5899
|
+
# The following is an `SftpPorts` example for port 2222 with
|
|
5900
|
+
# `CLIENT_TALK_FIRST`.
|
|
5901
|
+
#
|
|
5902
|
+
# `[ { "SftpPort": 2222, "CommunicationMode": "CLIENT_TALK_FIRST" } ]`
|
|
5903
|
+
#
|
|
5904
|
+
# If you don't specify any configurations during `CreateServer`, the
|
|
5905
|
+
# service uses port 22 with `SERVER_TALK_FIRST` by default.
|
|
5906
|
+
# @return [Array<Types::SftpPortWithOptions>]
|
|
5907
|
+
#
|
|
5871
5908
|
# @!attribute [rw] as_2_transports
|
|
5872
5909
|
# Indicates the transport method for the AS2 messages. Currently, only
|
|
5873
5910
|
# HTTP is supported.
|
|
5874
5911
|
# @return [Array<String>]
|
|
5875
5912
|
#
|
|
5913
|
+
# @!attribute [rw] proxy_config
|
|
5914
|
+
# The configuration for PROXY protocol version 2 (PPv2) support on the
|
|
5915
|
+
# Transfer Family server. For more information, see [Working with
|
|
5916
|
+
# Network Load Balancers][1].
|
|
5917
|
+
#
|
|
5918
|
+
#
|
|
5919
|
+
#
|
|
5920
|
+
# [1]: https://docs.aws.amazon.com/transfer/latest/userguide/working-with-nlb.html
|
|
5921
|
+
# @return [Types::ProxyConfig]
|
|
5922
|
+
#
|
|
5876
5923
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ProtocolDetails AWS API Documentation
|
|
5877
5924
|
#
|
|
5878
5925
|
class ProtocolDetails < Struct.new(
|
|
5879
5926
|
:passive_ip,
|
|
5880
5927
|
:tls_session_resumption_mode,
|
|
5881
5928
|
:set_stat_option,
|
|
5882
|
-
:
|
|
5929
|
+
:sftp_ports,
|
|
5930
|
+
:as_2_transports,
|
|
5931
|
+
:proxy_config)
|
|
5932
|
+
SENSITIVE = []
|
|
5933
|
+
include Aws::Structure
|
|
5934
|
+
end
|
|
5935
|
+
|
|
5936
|
+
# Contains configuration for PROXY protocol version 2 (PPv2) support on
|
|
5937
|
+
# an Transfer Family server. When enabled, Transfer Family reads the
|
|
5938
|
+
# added PPv2 header from incoming connections to extract the client's
|
|
5939
|
+
# source IP address. This address is then available in Amazon CloudWatch
|
|
5940
|
+
# Logs entries and is passed to custom identity providers during
|
|
5941
|
+
# authentication, enabling IP-based access policies. For more
|
|
5942
|
+
# information, see [Working with Network Load Balancers][1].
|
|
5943
|
+
#
|
|
5944
|
+
#
|
|
5945
|
+
#
|
|
5946
|
+
# [1]: https://docs.aws.amazon.com/transfer/latest/userguide/working-with-nlb.html
|
|
5947
|
+
#
|
|
5948
|
+
# @!attribute [rw] sftp_mode
|
|
5949
|
+
# Specifies whether the Transfer Family server requires or ignores a
|
|
5950
|
+
# PPv2 header containing the client's source IP address on incoming
|
|
5951
|
+
# SFTP connections. If you don't specify a value, the default is
|
|
5952
|
+
# `NONE`
|
|
5953
|
+
#
|
|
5954
|
+
# * `NONE`: the server reads and ignores any PPv2 header on incoming
|
|
5955
|
+
# SFTP connections. This is the default value. Use this value when
|
|
5956
|
+
# your SFTP server is not behind an NLB, or when you do not need to
|
|
5957
|
+
# preserve the client's source IP address through an NLB.
|
|
5958
|
+
#
|
|
5959
|
+
# * `PROXY_PROTOCOL_V2_ENFORCED`: the server requires a valid PPv2
|
|
5960
|
+
# header on every incoming SFTP connection. When a valid header is
|
|
5961
|
+
# present, the server applies it and uses the source IP address from
|
|
5962
|
+
# the header. If a connection arrives without a PPv2 header, the
|
|
5963
|
+
# server refuses the connection and logs an error to Amazon
|
|
5964
|
+
# CloudWatch Logs indicating that the expected PPv2 header was
|
|
5965
|
+
# missing. Use this value when your SFTP server is behind an NLB
|
|
5966
|
+
# with PPv2 enabled on the target group.
|
|
5967
|
+
#
|
|
5968
|
+
# With `PROXY_PROTOCOL_V2_ENFORCED` you must restrict the server's
|
|
5969
|
+
# VPC endpoint security group to allow inbound traffic only via the
|
|
5970
|
+
# trusted NLB. For more information, see [Working with Network Load
|
|
5971
|
+
# Balancers][1].
|
|
5972
|
+
#
|
|
5973
|
+
#
|
|
5974
|
+
#
|
|
5975
|
+
# [1]: https://docs.aws.amazon.com/transfer/latest/userguide/working-with-nlb.html
|
|
5976
|
+
# @return [String]
|
|
5977
|
+
#
|
|
5978
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ProxyConfig AWS API Documentation
|
|
5979
|
+
#
|
|
5980
|
+
class ProxyConfig < Struct.new(
|
|
5981
|
+
:sftp_mode)
|
|
5883
5982
|
SENSITIVE = []
|
|
5884
5983
|
include Aws::Structure
|
|
5885
5984
|
end
|
|
@@ -6227,6 +6326,33 @@ module Aws::Transfer
|
|
|
6227
6326
|
include Aws::Structure
|
|
6228
6327
|
end
|
|
6229
6328
|
|
|
6329
|
+
# Specifies the configuration for a single SFTP port on a Transfer
|
|
6330
|
+
# Family server that uses the SFTP protocol and has a `PUBLIC` endpoint.
|
|
6331
|
+
# Each entry in the `SftpPorts` list is an `SftpPortWithOptions` object
|
|
6332
|
+
# that pairs a port number with a communication mode.
|
|
6333
|
+
#
|
|
6334
|
+
# @!attribute [rw] sftp_port
|
|
6335
|
+
# The port on which the Transfer Family server listens for SFTP
|
|
6336
|
+
# connections. Specify any integer from 2000 to 65535, or 22. This
|
|
6337
|
+
# value is required for each entry in the `SftpPorts` list.
|
|
6338
|
+
# @return [Integer]
|
|
6339
|
+
#
|
|
6340
|
+
# @!attribute [rw] communication_mode
|
|
6341
|
+
# Determines whether the server or the client sends data first when a
|
|
6342
|
+
# client establishes an SFTP connection on this port. Valid values are
|
|
6343
|
+
# `SERVER_TALK_FIRST` and `CLIENT_TALK_FIRST`. For a description of
|
|
6344
|
+
# each mode, see the `SftpPorts` property. This value is optional.
|
|
6345
|
+
# @return [String]
|
|
6346
|
+
#
|
|
6347
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/SftpPortWithOptions AWS API Documentation
|
|
6348
|
+
#
|
|
6349
|
+
class SftpPortWithOptions < Struct.new(
|
|
6350
|
+
:sftp_port,
|
|
6351
|
+
:communication_mode)
|
|
6352
|
+
SENSITIVE = []
|
|
6353
|
+
include Aws::Structure
|
|
6354
|
+
end
|
|
6355
|
+
|
|
6230
6356
|
# Provides information about the public Secure Shell (SSH) key that is
|
|
6231
6357
|
# associated with a Transfer Family user for the specific file transfer
|
|
6232
6358
|
# protocol-enabled server (as identified by `ServerId`). The information
|
|
@@ -7365,6 +7491,9 @@ module Aws::Transfer
|
|
|
7365
7491
|
# to Amazon CloudWatch Logs, so that you can determine when the
|
|
7366
7492
|
# client is making a `SETSTAT` call.
|
|
7367
7493
|
#
|
|
7494
|
+
# * To specify which ports your Transfer Family server listens to, use
|
|
7495
|
+
# the `SftpPorts` parameter.
|
|
7496
|
+
#
|
|
7368
7497
|
# * To determine whether your Transfer Family server resumes recent,
|
|
7369
7498
|
# negotiated sessions through a unique session ID, use the
|
|
7370
7499
|
# `TlsSessionResumptionMode` parameter.
|
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,22 @@ 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
|
+
sftp_ports: Array[
|
|
33
|
+
{
|
|
34
|
+
sftp_port: ::Integer,
|
|
35
|
+
communication_mode: ("CLIENT_TALK_FIRST" | "SERVER_TALK_FIRST")?
|
|
36
|
+
}
|
|
37
|
+
]?,
|
|
38
|
+
as_2_transports: Array[("HTTP")]?,
|
|
39
|
+
proxy_config: {
|
|
40
|
+
sftp_mode: ("NONE" | "PROXY_PROTOCOL_V2_ENFORCED")?
|
|
41
|
+
}?
|
|
42
|
+
}
|
|
43
|
+
|
|
28
44
|
type workflow_details = {
|
|
29
45
|
on_upload: Array[
|
|
30
46
|
{
|
data/sig/types.rbs
CHANGED
|
@@ -1125,7 +1125,14 @@ module Aws::Transfer
|
|
|
1125
1125
|
attr_accessor passive_ip: ::String
|
|
1126
1126
|
attr_accessor tls_session_resumption_mode: ("DISABLED" | "ENABLED" | "ENFORCED")
|
|
1127
1127
|
attr_accessor set_stat_option: ("DEFAULT" | "ENABLE_NO_OP")
|
|
1128
|
+
attr_accessor sftp_ports: ::Array[Types::SftpPortWithOptions]
|
|
1128
1129
|
attr_accessor as_2_transports: ::Array[("HTTP")]
|
|
1130
|
+
attr_accessor proxy_config: Types::ProxyConfig
|
|
1131
|
+
SENSITIVE: []
|
|
1132
|
+
end
|
|
1133
|
+
|
|
1134
|
+
class ProxyConfig
|
|
1135
|
+
attr_accessor sftp_mode: ("NONE" | "PROXY_PROTOCOL_V2_ENFORCED")
|
|
1129
1136
|
SENSITIVE: []
|
|
1130
1137
|
end
|
|
1131
1138
|
|
|
@@ -1202,6 +1209,12 @@ module Aws::Transfer
|
|
|
1202
1209
|
SENSITIVE: []
|
|
1203
1210
|
end
|
|
1204
1211
|
|
|
1212
|
+
class SftpPortWithOptions
|
|
1213
|
+
attr_accessor sftp_port: ::Integer
|
|
1214
|
+
attr_accessor communication_mode: ("CLIENT_TALK_FIRST" | "SERVER_TALK_FIRST")
|
|
1215
|
+
SENSITIVE: []
|
|
1216
|
+
end
|
|
1217
|
+
|
|
1205
1218
|
class SshPublicKey
|
|
1206
1219
|
attr_accessor date_imported: ::Time
|
|
1207
1220
|
attr_accessor ssh_public_key_body: ::String
|