aws-sdk-transfer 1.115.0 → 1.116.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 +6 -1
- data/lib/aws-sdk-transfer/client_api.rb +8 -0
- data/lib/aws-sdk-transfer/types.rb +50 -11
- data/lib/aws-sdk-transfer.rb +1 -1
- data/sig/client.rbs +5 -2
- data/sig/types.rbs +7 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cbadfa6c89234b8b3781fa4045781ff1be7cad52b577e898234b0f78a84339b5
|
4
|
+
data.tar.gz: 22d552b391e4ea8ac4121b4846234b3a980db4dee27c17e4b08e2911040bc867
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0f79615d2dc7c6efabd0a2f7b25bd17b6d9179d09eeceea96741ab291eb33ae4967f972983f75873bad6a0aaeb21bfab395cbd71e238795994cec039678285f6
|
7
|
+
data.tar.gz: 2f0cd15c47e37055d95e62499fc07a0afa8446cde449a08ddba174772b11dd33a79a4f568067d4af9f8ff70457a90d72a7f939c6c1779449cdb773e002ab4e55
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.116.0 (2025-04-09)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This launch includes 2 enhancements to SFTP connectors user-experience: 1) Customers can self-serve concurrent connections setting for their connectors, and 2) Customers can discover the public host key of remote servers using their SFTP connectors.
|
8
|
+
|
4
9
|
1.115.0 (2025-04-07)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.116.0
|
@@ -911,6 +911,7 @@ module Aws::Transfer
|
|
911
911
|
# sftp_config: {
|
912
912
|
# user_secret_id: "SecretId",
|
913
913
|
# trusted_host_keys: ["SftpConnectorTrustedHostKey"],
|
914
|
+
# max_concurrent_connections: 1,
|
914
915
|
# },
|
915
916
|
# security_policy_name: "ConnectorSecurityPolicyName",
|
916
917
|
# })
|
@@ -2338,6 +2339,7 @@ module Aws::Transfer
|
|
2338
2339
|
# resp.connector.sftp_config.user_secret_id #=> String
|
2339
2340
|
# resp.connector.sftp_config.trusted_host_keys #=> Array
|
2340
2341
|
# resp.connector.sftp_config.trusted_host_keys[0] #=> String
|
2342
|
+
# resp.connector.sftp_config.max_concurrent_connections #=> Integer
|
2341
2343
|
# resp.connector.service_managed_egress_ip_addresses #=> Array
|
2342
2344
|
# resp.connector.service_managed_egress_ip_addresses[0] #=> String
|
2343
2345
|
# resp.connector.security_policy_name #=> String
|
@@ -4177,6 +4179,7 @@ module Aws::Transfer
|
|
4177
4179
|
# * {Types::TestConnectionResponse#connector_id #connector_id} => String
|
4178
4180
|
# * {Types::TestConnectionResponse#status #status} => String
|
4179
4181
|
# * {Types::TestConnectionResponse#status_message #status_message} => String
|
4182
|
+
# * {Types::TestConnectionResponse#sftp_connection_details #sftp_connection_details} => Types::SftpConnectorConnectionDetails
|
4180
4183
|
#
|
4181
4184
|
# @example Request syntax with placeholder values
|
4182
4185
|
#
|
@@ -4189,6 +4192,7 @@ module Aws::Transfer
|
|
4189
4192
|
# resp.connector_id #=> String
|
4190
4193
|
# resp.status #=> String
|
4191
4194
|
# resp.status_message #=> String
|
4195
|
+
# resp.sftp_connection_details.host_key #=> String
|
4192
4196
|
#
|
4193
4197
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/TestConnection AWS API Documentation
|
4194
4198
|
#
|
@@ -4786,6 +4790,7 @@ module Aws::Transfer
|
|
4786
4790
|
# sftp_config: {
|
4787
4791
|
# user_secret_id: "SecretId",
|
4788
4792
|
# trusted_host_keys: ["SftpConnectorTrustedHostKey"],
|
4793
|
+
# max_concurrent_connections: 1,
|
4789
4794
|
# },
|
4790
4795
|
# security_policy_name: "ConnectorSecurityPolicyName",
|
4791
4796
|
# })
|
@@ -5492,7 +5497,7 @@ module Aws::Transfer
|
|
5492
5497
|
tracer: tracer
|
5493
5498
|
)
|
5494
5499
|
context[:gem_name] = 'aws-sdk-transfer'
|
5495
|
-
context[:gem_version] = '1.
|
5500
|
+
context[:gem_version] = '1.116.0'
|
5496
5501
|
Seahorse::Client::Request.new(handlers, context)
|
5497
5502
|
end
|
5498
5503
|
|
@@ -228,6 +228,7 @@ module Aws::Transfer
|
|
228
228
|
MapEntry = Shapes::StringShape.new(name: 'MapEntry')
|
229
229
|
MapTarget = Shapes::StringShape.new(name: 'MapTarget')
|
230
230
|
MapType = Shapes::StringShape.new(name: 'MapType')
|
231
|
+
MaxConcurrentConnections = Shapes::IntegerShape.new(name: 'MaxConcurrentConnections')
|
231
232
|
MaxItems = Shapes::IntegerShape.new(name: 'MaxItems')
|
232
233
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
233
234
|
MdnResponse = Shapes::StringShape.new(name: 'MdnResponse')
|
@@ -296,6 +297,8 @@ module Aws::Transfer
|
|
296
297
|
SetStatOption = Shapes::StringShape.new(name: 'SetStatOption')
|
297
298
|
SftpAuthenticationMethods = Shapes::StringShape.new(name: 'SftpAuthenticationMethods')
|
298
299
|
SftpConnectorConfig = Shapes::StructureShape.new(name: 'SftpConnectorConfig')
|
300
|
+
SftpConnectorConnectionDetails = Shapes::StructureShape.new(name: 'SftpConnectorConnectionDetails')
|
301
|
+
SftpConnectorHostKey = Shapes::StringShape.new(name: 'SftpConnectorHostKey')
|
299
302
|
SftpConnectorTrustedHostKey = Shapes::StringShape.new(name: 'SftpConnectorTrustedHostKey')
|
300
303
|
SftpConnectorTrustedHostKeyList = Shapes::ListShape.new(name: 'SftpConnectorTrustedHostKeyList')
|
301
304
|
SigningAlg = Shapes::StringShape.new(name: 'SigningAlg')
|
@@ -1248,8 +1251,12 @@ module Aws::Transfer
|
|
1248
1251
|
|
1249
1252
|
SftpConnectorConfig.add_member(:user_secret_id, Shapes::ShapeRef.new(shape: SecretId, location_name: "UserSecretId"))
|
1250
1253
|
SftpConnectorConfig.add_member(:trusted_host_keys, Shapes::ShapeRef.new(shape: SftpConnectorTrustedHostKeyList, location_name: "TrustedHostKeys"))
|
1254
|
+
SftpConnectorConfig.add_member(:max_concurrent_connections, Shapes::ShapeRef.new(shape: MaxConcurrentConnections, location_name: "MaxConcurrentConnections"))
|
1251
1255
|
SftpConnectorConfig.struct_class = Types::SftpConnectorConfig
|
1252
1256
|
|
1257
|
+
SftpConnectorConnectionDetails.add_member(:host_key, Shapes::ShapeRef.new(shape: SftpConnectorHostKey, location_name: "HostKey"))
|
1258
|
+
SftpConnectorConnectionDetails.struct_class = Types::SftpConnectorConnectionDetails
|
1259
|
+
|
1253
1260
|
SftpConnectorTrustedHostKeyList.member = Shapes::ShapeRef.new(shape: SftpConnectorTrustedHostKey)
|
1254
1261
|
|
1255
1262
|
SshPublicKey.add_member(:date_imported, Shapes::ShapeRef.new(shape: DateImported, required: true, location_name: "DateImported"))
|
@@ -1327,6 +1334,7 @@ module Aws::Transfer
|
|
1327
1334
|
TestConnectionResponse.add_member(:connector_id, Shapes::ShapeRef.new(shape: ConnectorId, location_name: "ConnectorId"))
|
1328
1335
|
TestConnectionResponse.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "Status"))
|
1329
1336
|
TestConnectionResponse.add_member(:status_message, Shapes::ShapeRef.new(shape: Message, location_name: "StatusMessage"))
|
1337
|
+
TestConnectionResponse.add_member(:sftp_connection_details, Shapes::ShapeRef.new(shape: SftpConnectorConnectionDetails, location_name: "SftpConnectionDetails"))
|
1330
1338
|
TestConnectionResponse.struct_class = Types::TestConnectionResponse
|
1331
1339
|
|
1332
1340
|
TestIdentityProviderRequest.add_member(:server_id, Shapes::ShapeRef.new(shape: ServerId, required: true, location_name: "ServerId"))
|
@@ -5688,20 +5688,17 @@ module Aws::Transfer
|
|
5688
5688
|
# object is used for transferring files to and from a partner's SFTP
|
5689
5689
|
# server.
|
5690
5690
|
#
|
5691
|
-
# <note markdown="1"> Because the `SftpConnectorConfig` data type is used for both creating
|
5692
|
-
# and updating SFTP connectors, its parameters, `TrustedHostKeys` and
|
5693
|
-
# `UserSecretId` are marked as not required. This is a bit misleading,
|
5694
|
-
# as they are not required when you are updating an existing SFTP
|
5695
|
-
# connector, but *are required* when you are creating a new SFTP
|
5696
|
-
# connector.
|
5697
|
-
#
|
5698
|
-
# </note>
|
5699
|
-
#
|
5700
5691
|
# @!attribute [rw] user_secret_id
|
5701
5692
|
# The identifier for the secret (in Amazon Web Services Secrets
|
5702
5693
|
# Manager) that contains the SFTP user's private key, password, or
|
5703
5694
|
# both. The identifier must be the Amazon Resource Name (ARN) of the
|
5704
5695
|
# secret.
|
5696
|
+
#
|
5697
|
+
# <note markdown="1"> * Required when creating an SFTP connector
|
5698
|
+
#
|
5699
|
+
# * Optional when updating an existing SFTP connector
|
5700
|
+
#
|
5701
|
+
# </note>
|
5705
5702
|
# @return [String]
|
5706
5703
|
#
|
5707
5704
|
# @!attribute [rw] trusted_host_keys
|
@@ -5710,6 +5707,13 @@ module Aws::Transfer
|
|
5710
5707
|
# use the `ssh-keyscan` command against the SFTP server to retrieve
|
5711
5708
|
# the necessary key.
|
5712
5709
|
#
|
5710
|
+
# <note markdown="1"> `TrustedHostKeys` is optional for `CreateConnector`. If not
|
5711
|
+
# provided, you can use `TestConnection` to retrieve the server host
|
5712
|
+
# key during the initial connection attempt, and subsequently update
|
5713
|
+
# the connector with the observed host key.
|
5714
|
+
#
|
5715
|
+
# </note>
|
5716
|
+
#
|
5713
5717
|
# The three standard SSH public key format elements are `<key type>`,
|
5714
5718
|
# `<body base64>`, and an optional `<comment>`, with spaces between
|
5715
5719
|
# each element. Specify only the `<key type>` and `<body base64>`: do
|
@@ -5739,11 +5743,41 @@ module Aws::Transfer
|
|
5739
5743
|
# in the console.
|
5740
5744
|
# @return [Array<String>]
|
5741
5745
|
#
|
5746
|
+
# @!attribute [rw] max_concurrent_connections
|
5747
|
+
# Specify the number of concurrent connections that your connector
|
5748
|
+
# creates to the remote server. The default value is `5` (this is also
|
5749
|
+
# the maximum value allowed).
|
5750
|
+
#
|
5751
|
+
# This parameter specifies the number of active connections that your
|
5752
|
+
# connector can establish with the remote server at the same time.
|
5753
|
+
# Increasing this value can enhance connector performance when
|
5754
|
+
# transferring large file batches by enabling parallel operations.
|
5755
|
+
# @return [Integer]
|
5756
|
+
#
|
5742
5757
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/SftpConnectorConfig AWS API Documentation
|
5743
5758
|
#
|
5744
5759
|
class SftpConnectorConfig < Struct.new(
|
5745
5760
|
:user_secret_id,
|
5746
|
-
:trusted_host_keys
|
5761
|
+
:trusted_host_keys,
|
5762
|
+
:max_concurrent_connections)
|
5763
|
+
SENSITIVE = []
|
5764
|
+
include Aws::Structure
|
5765
|
+
end
|
5766
|
+
|
5767
|
+
# Contains the details for an SFTP connector connection.
|
5768
|
+
#
|
5769
|
+
# @!attribute [rw] host_key
|
5770
|
+
# The SSH public key of the remote SFTP server. This is returned
|
5771
|
+
# during the initial connection attempt when you call
|
5772
|
+
# `TestConnection`. It allows you to retrieve the valid server host
|
5773
|
+
# key to update the connector when you are unable to obtain it in
|
5774
|
+
# advance.
|
5775
|
+
# @return [String]
|
5776
|
+
#
|
5777
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/SftpConnectorConnectionDetails AWS API Documentation
|
5778
|
+
#
|
5779
|
+
class SftpConnectorConnectionDetails < Struct.new(
|
5780
|
+
:host_key)
|
5747
5781
|
SENSITIVE = []
|
5748
5782
|
include Aws::Structure
|
5749
5783
|
end
|
@@ -6097,12 +6131,17 @@ module Aws::Transfer
|
|
6097
6131
|
# matches the `ssh-keyscan` output.
|
6098
6132
|
# @return [String]
|
6099
6133
|
#
|
6134
|
+
# @!attribute [rw] sftp_connection_details
|
6135
|
+
# Structure that contains the SFTP connector host key.
|
6136
|
+
# @return [Types::SftpConnectorConnectionDetails]
|
6137
|
+
#
|
6100
6138
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/TestConnectionResponse AWS API Documentation
|
6101
6139
|
#
|
6102
6140
|
class TestConnectionResponse < Struct.new(
|
6103
6141
|
:connector_id,
|
6104
6142
|
:status,
|
6105
|
-
:status_message
|
6143
|
+
:status_message,
|
6144
|
+
:sftp_connection_details)
|
6106
6145
|
SENSITIVE = []
|
6107
6146
|
include Aws::Structure
|
6108
6147
|
end
|
data/lib/aws-sdk-transfer.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -166,7 +166,8 @@ module Aws
|
|
166
166
|
],
|
167
167
|
?sftp_config: {
|
168
168
|
user_secret_id: ::String?,
|
169
|
-
trusted_host_keys: Array[::String]
|
169
|
+
trusted_host_keys: Array[::String]?,
|
170
|
+
max_concurrent_connections: ::Integer?
|
170
171
|
},
|
171
172
|
?security_policy_name: ::String
|
172
173
|
) -> _CreateConnectorResponseSuccess
|
@@ -987,6 +988,7 @@ module Aws
|
|
987
988
|
def connector_id: () -> ::String
|
988
989
|
def status: () -> ::String
|
989
990
|
def status_message: () -> ::String
|
991
|
+
def sftp_connection_details: () -> Types::SftpConnectorConnectionDetails
|
990
992
|
end
|
991
993
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Transfer/Client.html#test_connection-instance_method
|
992
994
|
def test_connection: (
|
@@ -1109,7 +1111,8 @@ module Aws
|
|
1109
1111
|
?logging_role: ::String,
|
1110
1112
|
?sftp_config: {
|
1111
1113
|
user_secret_id: ::String?,
|
1112
|
-
trusted_host_keys: Array[::String]
|
1114
|
+
trusted_host_keys: Array[::String]?,
|
1115
|
+
max_concurrent_connections: ::Integer?
|
1113
1116
|
},
|
1114
1117
|
?security_policy_name: ::String
|
1115
1118
|
) -> _UpdateConnectorResponseSuccess
|
data/sig/types.rbs
CHANGED
@@ -1114,6 +1114,12 @@ module Aws::Transfer
|
|
1114
1114
|
class SftpConnectorConfig
|
1115
1115
|
attr_accessor user_secret_id: ::String
|
1116
1116
|
attr_accessor trusted_host_keys: ::Array[::String]
|
1117
|
+
attr_accessor max_concurrent_connections: ::Integer
|
1118
|
+
SENSITIVE: []
|
1119
|
+
end
|
1120
|
+
|
1121
|
+
class SftpConnectorConnectionDetails
|
1122
|
+
attr_accessor host_key: ::String
|
1117
1123
|
SENSITIVE: []
|
1118
1124
|
end
|
1119
1125
|
|
@@ -1213,6 +1219,7 @@ module Aws::Transfer
|
|
1213
1219
|
attr_accessor connector_id: ::String
|
1214
1220
|
attr_accessor status: ::String
|
1215
1221
|
attr_accessor status_message: ::String
|
1222
|
+
attr_accessor sftp_connection_details: Types::SftpConnectorConnectionDetails
|
1216
1223
|
SENSITIVE: []
|
1217
1224
|
end
|
1218
1225
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-transfer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.116.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: 2025-04-
|
11
|
+
date: 2025-04-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|