aws-sdk-transfer 1.114.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 01ff45ec81e30cb8dd343a62f3839b73bdaf2a8ef58621aa1a1de83e9e2809cb
4
- data.tar.gz: 78e8a6e3753f42da1d0a07d7e8e7582e195ce21ce694a8b9f329802238a441b9
3
+ metadata.gz: cbadfa6c89234b8b3781fa4045781ff1be7cad52b577e898234b0f78a84339b5
4
+ data.tar.gz: 22d552b391e4ea8ac4121b4846234b3a980db4dee27c17e4b08e2911040bc867
5
5
  SHA512:
6
- metadata.gz: d9862109fe4a45cb34f6e6f76049c2f4bd514f8f6d8bdde40a60a0b1e450ac75d36ac75c3d37128ba988962d36f70ee7eb6b673e55472acc5465c4cfa20fd4b7
7
- data.tar.gz: 680a209ff70b4294070637850b5f82a449b17f6681b680e926b3c98f07ca2f2d841ba7360606fed0c64b5a935d024113e0199a91a974f4aaa595d6f6ac140e74
6
+ metadata.gz: 0f79615d2dc7c6efabd0a2f7b25bd17b6d9179d09eeceea96741ab291eb33ae4967f972983f75873bad6a0aaeb21bfab395cbd71e238795994cec039678285f6
7
+ data.tar.gz: 2f0cd15c47e37055d95e62499fc07a0afa8446cde449a08ddba174772b11dd33a79a4f568067d4af9f8ff70457a90d72a7f939c6c1779449cdb773e002ab4e55
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
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
+
9
+ 1.115.0 (2025-04-07)
10
+ ------------------
11
+
12
+ * Feature - This launch enables customers to manage contents of their remote directories, by deleting old files or moving files to archive folders in remote servers once they have been retrieved. Customers will be able to automate the process using event-driven architecture.
13
+
4
14
  1.114.0 (2025-03-31)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.114.0
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
  # })
@@ -1151,7 +1152,7 @@ module Aws::Transfer
1151
1152
  # @option params [String] :logging_role
1152
1153
  # The Amazon Resource Name (ARN) of the Identity and Access Management
1153
1154
  # (IAM) role that allows a server to turn on Amazon CloudWatch logging
1154
- # for Amazon S3 or Amazon EFSevents. When set, you can view user
1155
+ # for Amazon S3 or Amazon EFS events. When set, you can view user
1155
1156
  # activity in your CloudWatch logs.
1156
1157
  #
1157
1158
  # @option params [String] :post_authentication_login_banner
@@ -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
@@ -2862,6 +2864,14 @@ module Aws::Transfer
2862
2864
  # Imports the signing and encryption certificates that you need to
2863
2865
  # create local (AS2) profiles and partner profiles.
2864
2866
  #
2867
+ # You can import both the certificate and its chain in the `Certificate`
2868
+ # parameter.
2869
+ #
2870
+ # <note markdown="1"> If you use the `Certificate` parameter to upload both the certificate
2871
+ # and its chain, don't use the `CertificateChain` parameter.
2872
+ #
2873
+ # </note>
2874
+ #
2865
2875
  # @option params [required, String] :usage
2866
2876
  # Specifies how this certificate is used. It can be used in the
2867
2877
  # following ways:
@@ -2880,23 +2890,35 @@ module Aws::Transfer
2880
2890
  # * For the SDK, specify the raw content of a certificate file. For
2881
2891
  # example, `` --certificate "`cat encryption-cert.pem`" ``.
2882
2892
  #
2893
+ # <note markdown="1"> You can provide both the certificate and its chain in this parameter,
2894
+ # without needing to use the `CertificateChain` parameter. If you use
2895
+ # this parameter for both the certificate and its chain, do not use the
2896
+ # `CertificateChain` parameter.
2897
+ #
2898
+ # </note>
2899
+ #
2883
2900
  # @option params [String] :certificate_chain
2884
2901
  # An optional list of certificates that make up the chain for the
2885
2902
  # certificate that's being imported.
2886
2903
  #
2887
2904
  # @option params [String] :private_key
2888
- # * For the CLI, provide a file path for a private key in URI format.For
2889
- # example, `--private-key file://encryption-key.pem`. Alternatively,
2890
- # you can provide the raw content of the private key file.
2905
+ # * For the CLI, provide a file path for a private key in URI format.
2906
+ # For example, `--private-key file://encryption-key.pem`.
2907
+ # Alternatively, you can provide the raw content of the private key
2908
+ # file.
2891
2909
  #
2892
2910
  # * For the SDK, specify the raw content of a private key file. For
2893
2911
  # example, `` --private-key "`cat encryption-key.pem`" ``
2894
2912
  #
2895
2913
  # @option params [Time,DateTime,Date,Integer,String] :active_date
2896
2914
  # An optional date that specifies when the certificate becomes active.
2915
+ # If you do not specify a value, `ActiveDate` takes the same value as
2916
+ # `NotBeforeDate`, which is specified by the CA.
2897
2917
  #
2898
2918
  # @option params [Time,DateTime,Date,Integer,String] :inactive_date
2899
2919
  # An optional date that specifies when the certificate becomes inactive.
2920
+ # If you do not specify a value, `InactiveDate` takes the same value as
2921
+ # `NotAfterDate`, which is specified by the CA.
2900
2922
  #
2901
2923
  # @option params [String] :description
2902
2924
  # A short description that helps identify the certificate.
@@ -3968,6 +3990,76 @@ module Aws::Transfer
3968
3990
  req.send_request(options)
3969
3991
  end
3970
3992
 
3993
+ # Deletes a file or directory on the remote SFTP server.
3994
+ #
3995
+ # @option params [required, String] :connector_id
3996
+ # The unique identifier for the connector.
3997
+ #
3998
+ # @option params [required, String] :delete_path
3999
+ # The absolute path of the file or directory to delete. You can only
4000
+ # specify one path per call to this operation.
4001
+ #
4002
+ # @return [Types::StartRemoteDeleteResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4003
+ #
4004
+ # * {Types::StartRemoteDeleteResponse#delete_id #delete_id} => String
4005
+ #
4006
+ # @example Request syntax with placeholder values
4007
+ #
4008
+ # resp = client.start_remote_delete({
4009
+ # connector_id: "ConnectorId", # required
4010
+ # delete_path: "FilePath", # required
4011
+ # })
4012
+ #
4013
+ # @example Response structure
4014
+ #
4015
+ # resp.delete_id #=> String
4016
+ #
4017
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/StartRemoteDelete AWS API Documentation
4018
+ #
4019
+ # @overload start_remote_delete(params = {})
4020
+ # @param [Hash] params ({})
4021
+ def start_remote_delete(params = {}, options = {})
4022
+ req = build_request(:start_remote_delete, params)
4023
+ req.send_request(options)
4024
+ end
4025
+
4026
+ # Moves or renames a file or directory on the remote SFTP server.
4027
+ #
4028
+ # @option params [required, String] :connector_id
4029
+ # The unique identifier for the connector.
4030
+ #
4031
+ # @option params [required, String] :source_path
4032
+ # The absolute path of the file or directory to move or rename. You can
4033
+ # only specify one path per call to this operation.
4034
+ #
4035
+ # @option params [required, String] :target_path
4036
+ # The absolute path for the target of the move/rename operation.
4037
+ #
4038
+ # @return [Types::StartRemoteMoveResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4039
+ #
4040
+ # * {Types::StartRemoteMoveResponse#move_id #move_id} => String
4041
+ #
4042
+ # @example Request syntax with placeholder values
4043
+ #
4044
+ # resp = client.start_remote_move({
4045
+ # connector_id: "ConnectorId", # required
4046
+ # source_path: "FilePath", # required
4047
+ # target_path: "FilePath", # required
4048
+ # })
4049
+ #
4050
+ # @example Response structure
4051
+ #
4052
+ # resp.move_id #=> String
4053
+ #
4054
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/StartRemoteMove AWS API Documentation
4055
+ #
4056
+ # @overload start_remote_move(params = {})
4057
+ # @param [Hash] params ({})
4058
+ def start_remote_move(params = {}, options = {})
4059
+ req = build_request(:start_remote_move, params)
4060
+ req.send_request(options)
4061
+ end
4062
+
3971
4063
  # Changes the state of a file transfer protocol-enabled server from
3972
4064
  # `OFFLINE` to `ONLINE`. It has no impact on a server that is already
3973
4065
  # `ONLINE`. An `ONLINE` server can accept and process file transfer
@@ -4087,6 +4179,7 @@ module Aws::Transfer
4087
4179
  # * {Types::TestConnectionResponse#connector_id #connector_id} => String
4088
4180
  # * {Types::TestConnectionResponse#status #status} => String
4089
4181
  # * {Types::TestConnectionResponse#status_message #status_message} => String
4182
+ # * {Types::TestConnectionResponse#sftp_connection_details #sftp_connection_details} => Types::SftpConnectorConnectionDetails
4090
4183
  #
4091
4184
  # @example Request syntax with placeholder values
4092
4185
  #
@@ -4099,6 +4192,7 @@ module Aws::Transfer
4099
4192
  # resp.connector_id #=> String
4100
4193
  # resp.status #=> String
4101
4194
  # resp.status_message #=> String
4195
+ # resp.sftp_connection_details.host_key #=> String
4102
4196
  #
4103
4197
  # @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/TestConnection AWS API Documentation
4104
4198
  #
@@ -4574,9 +4668,13 @@ module Aws::Transfer
4574
4668
  #
4575
4669
  # @option params [Time,DateTime,Date,Integer,String] :active_date
4576
4670
  # An optional date that specifies when the certificate becomes active.
4671
+ # If you do not specify a value, `ActiveDate` takes the same value as
4672
+ # `NotBeforeDate`, which is specified by the CA.
4577
4673
  #
4578
4674
  # @option params [Time,DateTime,Date,Integer,String] :inactive_date
4579
4675
  # An optional date that specifies when the certificate becomes inactive.
4676
+ # If you do not specify a value, `InactiveDate` takes the same value as
4677
+ # `NotAfterDate`, which is specified by the CA.
4580
4678
  #
4581
4679
  # @option params [String] :description
4582
4680
  # A short description to help identify the certificate.
@@ -4692,6 +4790,7 @@ module Aws::Transfer
4692
4790
  # sftp_config: {
4693
4791
  # user_secret_id: "SecretId",
4694
4792
  # trusted_host_keys: ["SftpConnectorTrustedHostKey"],
4793
+ # max_concurrent_connections: 1,
4695
4794
  # },
4696
4795
  # security_policy_name: "ConnectorSecurityPolicyName",
4697
4796
  # })
@@ -4935,7 +5034,7 @@ module Aws::Transfer
4935
5034
  # @option params [String] :logging_role
4936
5035
  # The Amazon Resource Name (ARN) of the Identity and Access Management
4937
5036
  # (IAM) role that allows a server to turn on Amazon CloudWatch logging
4938
- # for Amazon S3 or Amazon EFSevents. When set, you can view user
5037
+ # for Amazon S3 or Amazon EFS events. When set, you can view user
4939
5038
  # activity in your CloudWatch logs.
4940
5039
  #
4941
5040
  # @option params [String] :post_authentication_login_banner
@@ -5398,7 +5497,7 @@ module Aws::Transfer
5398
5497
  tracer: tracer
5399
5498
  )
5400
5499
  context[:gem_name] = 'aws-sdk-transfer'
5401
- context[:gem_version] = '1.114.0'
5500
+ context[:gem_version] = '1.116.0'
5402
5501
  Seahorse::Client::Request.new(handlers, context)
5403
5502
  end
5404
5503
 
@@ -71,6 +71,7 @@ module Aws::Transfer
71
71
  DeleteCertificateRequest = Shapes::StructureShape.new(name: 'DeleteCertificateRequest')
72
72
  DeleteConnectorRequest = Shapes::StructureShape.new(name: 'DeleteConnectorRequest')
73
73
  DeleteHostKeyRequest = Shapes::StructureShape.new(name: 'DeleteHostKeyRequest')
74
+ DeleteId = Shapes::StringShape.new(name: 'DeleteId')
74
75
  DeleteProfileRequest = Shapes::StructureShape.new(name: 'DeleteProfileRequest')
75
76
  DeleteServerRequest = Shapes::StructureShape.new(name: 'DeleteServerRequest')
76
77
  DeleteSshPublicKeyRequest = Shapes::StructureShape.new(name: 'DeleteSshPublicKeyRequest')
@@ -227,12 +228,14 @@ module Aws::Transfer
227
228
  MapEntry = Shapes::StringShape.new(name: 'MapEntry')
228
229
  MapTarget = Shapes::StringShape.new(name: 'MapTarget')
229
230
  MapType = Shapes::StringShape.new(name: 'MapType')
231
+ MaxConcurrentConnections = Shapes::IntegerShape.new(name: 'MaxConcurrentConnections')
230
232
  MaxItems = Shapes::IntegerShape.new(name: 'MaxItems')
231
233
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
232
234
  MdnResponse = Shapes::StringShape.new(name: 'MdnResponse')
233
235
  MdnSigningAlg = Shapes::StringShape.new(name: 'MdnSigningAlg')
234
236
  Message = Shapes::StringShape.new(name: 'Message')
235
237
  MessageSubject = Shapes::StringShape.new(name: 'MessageSubject')
238
+ MoveId = Shapes::StringShape.new(name: 'MoveId')
236
239
  NextToken = Shapes::StringShape.new(name: 'NextToken')
237
240
  NullableRole = Shapes::StringShape.new(name: 'NullableRole')
238
241
  OnPartialUploadWorkflowDetails = Shapes::ListShape.new(name: 'OnPartialUploadWorkflowDetails')
@@ -294,6 +297,8 @@ module Aws::Transfer
294
297
  SetStatOption = Shapes::StringShape.new(name: 'SetStatOption')
295
298
  SftpAuthenticationMethods = Shapes::StringShape.new(name: 'SftpAuthenticationMethods')
296
299
  SftpConnectorConfig = Shapes::StructureShape.new(name: 'SftpConnectorConfig')
300
+ SftpConnectorConnectionDetails = Shapes::StructureShape.new(name: 'SftpConnectorConnectionDetails')
301
+ SftpConnectorHostKey = Shapes::StringShape.new(name: 'SftpConnectorHostKey')
297
302
  SftpConnectorTrustedHostKey = Shapes::StringShape.new(name: 'SftpConnectorTrustedHostKey')
298
303
  SftpConnectorTrustedHostKeyList = Shapes::ListShape.new(name: 'SftpConnectorTrustedHostKeyList')
299
304
  SigningAlg = Shapes::StringShape.new(name: 'SigningAlg')
@@ -308,6 +313,10 @@ module Aws::Transfer
308
313
  StartDirectoryListingResponse = Shapes::StructureShape.new(name: 'StartDirectoryListingResponse')
309
314
  StartFileTransferRequest = Shapes::StructureShape.new(name: 'StartFileTransferRequest')
310
315
  StartFileTransferResponse = Shapes::StructureShape.new(name: 'StartFileTransferResponse')
316
+ StartRemoteDeleteRequest = Shapes::StructureShape.new(name: 'StartRemoteDeleteRequest')
317
+ StartRemoteDeleteResponse = Shapes::StructureShape.new(name: 'StartRemoteDeleteResponse')
318
+ StartRemoteMoveRequest = Shapes::StructureShape.new(name: 'StartRemoteMoveRequest')
319
+ StartRemoteMoveResponse = Shapes::StructureShape.new(name: 'StartRemoteMoveResponse')
311
320
  StartServerRequest = Shapes::StructureShape.new(name: 'StartServerRequest')
312
321
  State = Shapes::StringShape.new(name: 'State')
313
322
  Status = Shapes::StringShape.new(name: 'Status')
@@ -1242,8 +1251,12 @@ module Aws::Transfer
1242
1251
 
1243
1252
  SftpConnectorConfig.add_member(:user_secret_id, Shapes::ShapeRef.new(shape: SecretId, location_name: "UserSecretId"))
1244
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"))
1245
1255
  SftpConnectorConfig.struct_class = Types::SftpConnectorConfig
1246
1256
 
1257
+ SftpConnectorConnectionDetails.add_member(:host_key, Shapes::ShapeRef.new(shape: SftpConnectorHostKey, location_name: "HostKey"))
1258
+ SftpConnectorConnectionDetails.struct_class = Types::SftpConnectorConnectionDetails
1259
+
1247
1260
  SftpConnectorTrustedHostKeyList.member = Shapes::ShapeRef.new(shape: SftpConnectorTrustedHostKey)
1248
1261
 
1249
1262
  SshPublicKey.add_member(:date_imported, Shapes::ShapeRef.new(shape: DateImported, required: true, location_name: "DateImported"))
@@ -1273,6 +1286,21 @@ module Aws::Transfer
1273
1286
  StartFileTransferResponse.add_member(:transfer_id, Shapes::ShapeRef.new(shape: TransferId, required: true, location_name: "TransferId"))
1274
1287
  StartFileTransferResponse.struct_class = Types::StartFileTransferResponse
1275
1288
 
1289
+ StartRemoteDeleteRequest.add_member(:connector_id, Shapes::ShapeRef.new(shape: ConnectorId, required: true, location_name: "ConnectorId"))
1290
+ StartRemoteDeleteRequest.add_member(:delete_path, Shapes::ShapeRef.new(shape: FilePath, required: true, location_name: "DeletePath"))
1291
+ StartRemoteDeleteRequest.struct_class = Types::StartRemoteDeleteRequest
1292
+
1293
+ StartRemoteDeleteResponse.add_member(:delete_id, Shapes::ShapeRef.new(shape: DeleteId, required: true, location_name: "DeleteId"))
1294
+ StartRemoteDeleteResponse.struct_class = Types::StartRemoteDeleteResponse
1295
+
1296
+ StartRemoteMoveRequest.add_member(:connector_id, Shapes::ShapeRef.new(shape: ConnectorId, required: true, location_name: "ConnectorId"))
1297
+ StartRemoteMoveRequest.add_member(:source_path, Shapes::ShapeRef.new(shape: FilePath, required: true, location_name: "SourcePath"))
1298
+ StartRemoteMoveRequest.add_member(:target_path, Shapes::ShapeRef.new(shape: FilePath, required: true, location_name: "TargetPath"))
1299
+ StartRemoteMoveRequest.struct_class = Types::StartRemoteMoveRequest
1300
+
1301
+ StartRemoteMoveResponse.add_member(:move_id, Shapes::ShapeRef.new(shape: MoveId, required: true, location_name: "MoveId"))
1302
+ StartRemoteMoveResponse.struct_class = Types::StartRemoteMoveResponse
1303
+
1276
1304
  StartServerRequest.add_member(:server_id, Shapes::ShapeRef.new(shape: ServerId, required: true, location_name: "ServerId"))
1277
1305
  StartServerRequest.struct_class = Types::StartServerRequest
1278
1306
 
@@ -1306,6 +1334,7 @@ module Aws::Transfer
1306
1334
  TestConnectionResponse.add_member(:connector_id, Shapes::ShapeRef.new(shape: ConnectorId, location_name: "ConnectorId"))
1307
1335
  TestConnectionResponse.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "Status"))
1308
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"))
1309
1338
  TestConnectionResponse.struct_class = Types::TestConnectionResponse
1310
1339
 
1311
1340
  TestIdentityProviderRequest.add_member(:server_id, Shapes::ShapeRef.new(shape: ServerId, required: true, location_name: "ServerId"))
@@ -2265,6 +2294,32 @@ module Aws::Transfer
2265
2294
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
2266
2295
  end)
2267
2296
 
2297
+ api.add_operation(:start_remote_delete, Seahorse::Model::Operation.new.tap do |o|
2298
+ o.name = "StartRemoteDelete"
2299
+ o.http_method = "POST"
2300
+ o.http_request_uri = "/"
2301
+ o.input = Shapes::ShapeRef.new(shape: StartRemoteDeleteRequest)
2302
+ o.output = Shapes::ShapeRef.new(shape: StartRemoteDeleteResponse)
2303
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2304
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2305
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2306
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceError)
2307
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
2308
+ end)
2309
+
2310
+ api.add_operation(:start_remote_move, Seahorse::Model::Operation.new.tap do |o|
2311
+ o.name = "StartRemoteMove"
2312
+ o.http_method = "POST"
2313
+ o.http_request_uri = "/"
2314
+ o.input = Shapes::ShapeRef.new(shape: StartRemoteMoveRequest)
2315
+ o.output = Shapes::ShapeRef.new(shape: StartRemoteMoveResponse)
2316
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2317
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2318
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2319
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceError)
2320
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
2321
+ end)
2322
+
2268
2323
  api.add_operation(:start_server, Seahorse::Model::Operation.new.tap do |o|
2269
2324
  o.name = "StartServer"
2270
2325
  o.http_method = "POST"
@@ -72,7 +72,7 @@ module Aws::Transfer
72
72
  # @return [String]
73
73
  #
74
74
  # @!attribute [rw] mdn_response
75
- # Used for outbound requests (from an Transfer Family server to a
75
+ # Used for outbound requests (from an Transfer Family connector to a
76
76
  # partner AS2 server) to determine whether the partner response for
77
77
  # transfers is synchronous or asynchronous. Specify either of the
78
78
  # following values:
@@ -878,7 +878,7 @@ module Aws::Transfer
878
878
  # @!attribute [rw] logging_role
879
879
  # The Amazon Resource Name (ARN) of the Identity and Access Management
880
880
  # (IAM) role that allows a server to turn on Amazon CloudWatch logging
881
- # for Amazon S3 or Amazon EFSevents. When set, you can view user
881
+ # for Amazon S3 or Amazon EFS events. When set, you can view user
882
882
  # activity in your CloudWatch logs.
883
883
  # @return [String]
884
884
  #
@@ -2394,8 +2394,17 @@ module Aws::Transfer
2394
2394
  # @return [String]
2395
2395
  #
2396
2396
  # @!attribute [rw] status
2397
- # Currently, the only available status is `ACTIVE`: all other values
2398
- # are reserved for future use.
2397
+ # A certificate's status can be either `ACTIVE` or `INACTIVE`.
2398
+ #
2399
+ # You can set `ActiveDate` and `InactiveDate` in the
2400
+ # `UpdateCertificate` call. If you set values for these parameters,
2401
+ # those values are used to determine whether the certificate has a
2402
+ # status of `ACTIVE` or `INACTIVE`.
2403
+ #
2404
+ # If you don't set values for `ActiveDate` and `InactiveDate`, we use
2405
+ # the `NotBefore` and `NotAfter` date as specified on the X509
2406
+ # certificate to determine when a certificate is active and when it is
2407
+ # inactive.
2399
2408
  # @return [String]
2400
2409
  #
2401
2410
  # @!attribute [rw] certificate
@@ -2408,11 +2417,14 @@ module Aws::Transfer
2408
2417
  #
2409
2418
  # @!attribute [rw] active_date
2410
2419
  # An optional date that specifies when the certificate becomes active.
2420
+ # If you do not specify a value, `ActiveDate` takes the same value as
2421
+ # `NotBeforeDate`, which is specified by the CA.
2411
2422
  # @return [Time]
2412
2423
  #
2413
2424
  # @!attribute [rw] inactive_date
2414
2425
  # An optional date that specifies when the certificate becomes
2415
- # inactive.
2426
+ # inactive. If you do not specify a value, `InactiveDate` takes the
2427
+ # same value as `NotAfterDate`, which is specified by the CA.
2416
2428
  # @return [Time]
2417
2429
  #
2418
2430
  # @!attribute [rw] serial
@@ -2938,7 +2950,7 @@ module Aws::Transfer
2938
2950
  # @!attribute [rw] logging_role
2939
2951
  # The Amazon Resource Name (ARN) of the Identity and Access Management
2940
2952
  # (IAM) role that allows a server to turn on Amazon CloudWatch logging
2941
- # for Amazon S3 or Amazon EFSevents. When set, you can view user
2953
+ # for Amazon S3 or Amazon EFS events. When set, you can view user
2942
2954
  # activity in your CloudWatch logs.
2943
2955
  # @return [String]
2944
2956
  #
@@ -3815,6 +3827,13 @@ module Aws::Transfer
3815
3827
  #
3816
3828
  # * For the SDK, specify the raw content of a certificate file. For
3817
3829
  # example, `` --certificate "`cat encryption-cert.pem`" ``.
3830
+ #
3831
+ # <note markdown="1"> You can provide both the certificate and its chain in this
3832
+ # parameter, without needing to use the `CertificateChain` parameter.
3833
+ # If you use this parameter for both the certificate and its chain, do
3834
+ # not use the `CertificateChain` parameter.
3835
+ #
3836
+ # </note>
3818
3837
  # @return [String]
3819
3838
  #
3820
3839
  # @!attribute [rw] certificate_chain
@@ -3823,8 +3842,8 @@ module Aws::Transfer
3823
3842
  # @return [String]
3824
3843
  #
3825
3844
  # @!attribute [rw] private_key
3826
- # * For the CLI, provide a file path for a private key in URI
3827
- # format.For example, `--private-key file://encryption-key.pem`.
3845
+ # * For the CLI, provide a file path for a private key in URI format.
3846
+ # For example, `--private-key file://encryption-key.pem`.
3828
3847
  # Alternatively, you can provide the raw content of the private key
3829
3848
  # file.
3830
3849
  #
@@ -3834,11 +3853,14 @@ module Aws::Transfer
3834
3853
  #
3835
3854
  # @!attribute [rw] active_date
3836
3855
  # An optional date that specifies when the certificate becomes active.
3856
+ # If you do not specify a value, `ActiveDate` takes the same value as
3857
+ # `NotBeforeDate`, which is specified by the CA.
3837
3858
  # @return [Time]
3838
3859
  #
3839
3860
  # @!attribute [rw] inactive_date
3840
3861
  # An optional date that specifies when the certificate becomes
3841
- # inactive.
3862
+ # inactive. If you do not specify a value, `InactiveDate` takes the
3863
+ # same value as `NotAfterDate`, which is specified by the CA.
3842
3864
  # @return [Time]
3843
3865
  #
3844
3866
  # @!attribute [rw] description
@@ -4862,11 +4884,14 @@ module Aws::Transfer
4862
4884
  #
4863
4885
  # @!attribute [rw] active_date
4864
4886
  # An optional date that specifies when the certificate becomes active.
4887
+ # If you do not specify a value, `ActiveDate` takes the same value as
4888
+ # `NotBeforeDate`, which is specified by the CA.
4865
4889
  # @return [Time]
4866
4890
  #
4867
4891
  # @!attribute [rw] inactive_date
4868
4892
  # An optional date that specifies when the certificate becomes
4869
- # inactive.
4893
+ # inactive. If you do not specify a value, `InactiveDate` takes the
4894
+ # same value as `NotAfterDate`, which is specified by the CA.
4870
4895
  # @return [Time]
4871
4896
  #
4872
4897
  # @!attribute [rw] type
@@ -5092,7 +5117,7 @@ module Aws::Transfer
5092
5117
  # @!attribute [rw] logging_role
5093
5118
  # The Amazon Resource Name (ARN) of the Identity and Access Management
5094
5119
  # (IAM) role that allows a server to turn on Amazon CloudWatch logging
5095
- # for Amazon S3 or Amazon EFSevents. When set, you can view user
5120
+ # for Amazon S3 or Amazon EFS events. When set, you can view user
5096
5121
  # activity in your CloudWatch logs.
5097
5122
  # @return [String]
5098
5123
  #
@@ -5277,7 +5302,7 @@ module Aws::Transfer
5277
5302
  # @!attribute [rw] logging_role
5278
5303
  # The Amazon Resource Name (ARN) of the Identity and Access Management
5279
5304
  # (IAM) role that allows a server to turn on Amazon CloudWatch logging
5280
- # for Amazon S3 or Amazon EFSevents. When set, you can view user
5305
+ # for Amazon S3 or Amazon EFS events. When set, you can view user
5281
5306
  # activity in your CloudWatch logs.
5282
5307
  # @return [String]
5283
5308
  #
@@ -5663,20 +5688,17 @@ module Aws::Transfer
5663
5688
  # object is used for transferring files to and from a partner's SFTP
5664
5689
  # server.
5665
5690
  #
5666
- # <note markdown="1"> Because the `SftpConnectorConfig` data type is used for both creating
5667
- # and updating SFTP connectors, its parameters, `TrustedHostKeys` and
5668
- # `UserSecretId` are marked as not required. This is a bit misleading,
5669
- # as they are not required when you are updating an existing SFTP
5670
- # connector, but *are required* when you are creating a new SFTP
5671
- # connector.
5672
- #
5673
- # </note>
5674
- #
5675
5691
  # @!attribute [rw] user_secret_id
5676
5692
  # The identifier for the secret (in Amazon Web Services Secrets
5677
5693
  # Manager) that contains the SFTP user's private key, password, or
5678
5694
  # both. The identifier must be the Amazon Resource Name (ARN) of the
5679
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>
5680
5702
  # @return [String]
5681
5703
  #
5682
5704
  # @!attribute [rw] trusted_host_keys
@@ -5685,6 +5707,13 @@ module Aws::Transfer
5685
5707
  # use the `ssh-keyscan` command against the SFTP server to retrieve
5686
5708
  # the necessary key.
5687
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
+ #
5688
5717
  # The three standard SSH public key format elements are `<key type>`,
5689
5718
  # `<body base64>`, and an optional `<comment>`, with spaces between
5690
5719
  # each element. Specify only the `<key type>` and `<body base64>`: do
@@ -5714,11 +5743,41 @@ module Aws::Transfer
5714
5743
  # in the console.
5715
5744
  # @return [Array<String>]
5716
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
+ #
5717
5757
  # @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/SftpConnectorConfig AWS API Documentation
5718
5758
  #
5719
5759
  class SftpConnectorConfig < Struct.new(
5720
5760
  :user_secret_id,
5721
- :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)
5722
5781
  SENSITIVE = []
5723
5782
  include Aws::Structure
5724
5783
  end
@@ -5863,6 +5922,71 @@ module Aws::Transfer
5863
5922
  include Aws::Structure
5864
5923
  end
5865
5924
 
5925
+ # @!attribute [rw] connector_id
5926
+ # The unique identifier for the connector.
5927
+ # @return [String]
5928
+ #
5929
+ # @!attribute [rw] delete_path
5930
+ # The absolute path of the file or directory to delete. You can only
5931
+ # specify one path per call to this operation.
5932
+ # @return [String]
5933
+ #
5934
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/StartRemoteDeleteRequest AWS API Documentation
5935
+ #
5936
+ class StartRemoteDeleteRequest < Struct.new(
5937
+ :connector_id,
5938
+ :delete_path)
5939
+ SENSITIVE = []
5940
+ include Aws::Structure
5941
+ end
5942
+
5943
+ # @!attribute [rw] delete_id
5944
+ # Returns a unique identifier for the delete operation.
5945
+ # @return [String]
5946
+ #
5947
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/StartRemoteDeleteResponse AWS API Documentation
5948
+ #
5949
+ class StartRemoteDeleteResponse < Struct.new(
5950
+ :delete_id)
5951
+ SENSITIVE = []
5952
+ include Aws::Structure
5953
+ end
5954
+
5955
+ # @!attribute [rw] connector_id
5956
+ # The unique identifier for the connector.
5957
+ # @return [String]
5958
+ #
5959
+ # @!attribute [rw] source_path
5960
+ # The absolute path of the file or directory to move or rename. You
5961
+ # can only specify one path per call to this operation.
5962
+ # @return [String]
5963
+ #
5964
+ # @!attribute [rw] target_path
5965
+ # The absolute path for the target of the move/rename operation.
5966
+ # @return [String]
5967
+ #
5968
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/StartRemoteMoveRequest AWS API Documentation
5969
+ #
5970
+ class StartRemoteMoveRequest < Struct.new(
5971
+ :connector_id,
5972
+ :source_path,
5973
+ :target_path)
5974
+ SENSITIVE = []
5975
+ include Aws::Structure
5976
+ end
5977
+
5978
+ # @!attribute [rw] move_id
5979
+ # Returns a unique identifier for the move/rename operation.
5980
+ # @return [String]
5981
+ #
5982
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/StartRemoteMoveResponse AWS API Documentation
5983
+ #
5984
+ class StartRemoteMoveResponse < Struct.new(
5985
+ :move_id)
5986
+ SENSITIVE = []
5987
+ include Aws::Structure
5988
+ end
5989
+
5866
5990
  # @!attribute [rw] server_id
5867
5991
  # A system-assigned unique identifier for a server that you start.
5868
5992
  # @return [String]
@@ -6007,12 +6131,17 @@ module Aws::Transfer
6007
6131
  # matches the `ssh-keyscan` output.
6008
6132
  # @return [String]
6009
6133
  #
6134
+ # @!attribute [rw] sftp_connection_details
6135
+ # Structure that contains the SFTP connector host key.
6136
+ # @return [Types::SftpConnectorConnectionDetails]
6137
+ #
6010
6138
  # @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/TestConnectionResponse AWS API Documentation
6011
6139
  #
6012
6140
  class TestConnectionResponse < Struct.new(
6013
6141
  :connector_id,
6014
6142
  :status,
6015
- :status_message)
6143
+ :status_message,
6144
+ :sftp_connection_details)
6016
6145
  SENSITIVE = []
6017
6146
  include Aws::Structure
6018
6147
  end
@@ -6445,11 +6574,14 @@ module Aws::Transfer
6445
6574
  #
6446
6575
  # @!attribute [rw] active_date
6447
6576
  # An optional date that specifies when the certificate becomes active.
6577
+ # If you do not specify a value, `ActiveDate` takes the same value as
6578
+ # `NotBeforeDate`, which is specified by the CA.
6448
6579
  # @return [Time]
6449
6580
  #
6450
6581
  # @!attribute [rw] inactive_date
6451
6582
  # An optional date that specifies when the certificate becomes
6452
- # inactive.
6583
+ # inactive. If you do not specify a value, `InactiveDate` takes the
6584
+ # same value as `NotAfterDate`, which is specified by the CA.
6453
6585
  # @return [Time]
6454
6586
  #
6455
6587
  # @!attribute [rw] description
@@ -6796,7 +6928,7 @@ module Aws::Transfer
6796
6928
  # @!attribute [rw] logging_role
6797
6929
  # The Amazon Resource Name (ARN) of the Identity and Access Management
6798
6930
  # (IAM) role that allows a server to turn on Amazon CloudWatch logging
6799
- # for Amazon S3 or Amazon EFSevents. When set, you can view user
6931
+ # for Amazon S3 or Amazon EFS events. When set, you can view user
6800
6932
  # activity in your CloudWatch logs.
6801
6933
  # @return [String]
6802
6934
  #
@@ -55,7 +55,7 @@ module Aws::Transfer
55
55
  autoload :EndpointProvider, 'aws-sdk-transfer/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-transfer/endpoints'
57
57
 
58
- GEM_VERSION = '1.114.0'
58
+ GEM_VERSION = '1.116.0'
59
59
 
60
60
  end
61
61
 
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
@@ -935,6 +936,29 @@ module Aws
935
936
  ) -> _StartFileTransferResponseSuccess
936
937
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartFileTransferResponseSuccess
937
938
 
939
+ interface _StartRemoteDeleteResponseSuccess
940
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartRemoteDeleteResponse]
941
+ def delete_id: () -> ::String
942
+ end
943
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Transfer/Client.html#start_remote_delete-instance_method
944
+ def start_remote_delete: (
945
+ connector_id: ::String,
946
+ delete_path: ::String
947
+ ) -> _StartRemoteDeleteResponseSuccess
948
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartRemoteDeleteResponseSuccess
949
+
950
+ interface _StartRemoteMoveResponseSuccess
951
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartRemoteMoveResponse]
952
+ def move_id: () -> ::String
953
+ end
954
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Transfer/Client.html#start_remote_move-instance_method
955
+ def start_remote_move: (
956
+ connector_id: ::String,
957
+ source_path: ::String,
958
+ target_path: ::String
959
+ ) -> _StartRemoteMoveResponseSuccess
960
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartRemoteMoveResponseSuccess
961
+
938
962
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Transfer/Client.html#start_server-instance_method
939
963
  def start_server: (
940
964
  server_id: ::String
@@ -964,6 +988,7 @@ module Aws
964
988
  def connector_id: () -> ::String
965
989
  def status: () -> ::String
966
990
  def status_message: () -> ::String
991
+ def sftp_connection_details: () -> Types::SftpConnectorConnectionDetails
967
992
  end
968
993
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Transfer/Client.html#test_connection-instance_method
969
994
  def test_connection: (
@@ -1086,7 +1111,8 @@ module Aws
1086
1111
  ?logging_role: ::String,
1087
1112
  ?sftp_config: {
1088
1113
  user_secret_id: ::String?,
1089
- trusted_host_keys: Array[::String]?
1114
+ trusted_host_keys: Array[::String]?,
1115
+ max_concurrent_connections: ::Integer?
1090
1116
  },
1091
1117
  ?security_policy_name: ::String
1092
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
 
@@ -1152,6 +1158,29 @@ module Aws::Transfer
1152
1158
  SENSITIVE: []
1153
1159
  end
1154
1160
 
1161
+ class StartRemoteDeleteRequest
1162
+ attr_accessor connector_id: ::String
1163
+ attr_accessor delete_path: ::String
1164
+ SENSITIVE: []
1165
+ end
1166
+
1167
+ class StartRemoteDeleteResponse
1168
+ attr_accessor delete_id: ::String
1169
+ SENSITIVE: []
1170
+ end
1171
+
1172
+ class StartRemoteMoveRequest
1173
+ attr_accessor connector_id: ::String
1174
+ attr_accessor source_path: ::String
1175
+ attr_accessor target_path: ::String
1176
+ SENSITIVE: []
1177
+ end
1178
+
1179
+ class StartRemoteMoveResponse
1180
+ attr_accessor move_id: ::String
1181
+ SENSITIVE: []
1182
+ end
1183
+
1155
1184
  class StartServerRequest
1156
1185
  attr_accessor server_id: ::String
1157
1186
  SENSITIVE: []
@@ -1190,6 +1219,7 @@ module Aws::Transfer
1190
1219
  attr_accessor connector_id: ::String
1191
1220
  attr_accessor status: ::String
1192
1221
  attr_accessor status_message: ::String
1222
+ attr_accessor sftp_connection_details: Types::SftpConnectorConnectionDetails
1193
1223
  SENSITIVE: []
1194
1224
  end
1195
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.114.0
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-03-31 00:00:00.000000000 Z
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