aws-sdk-transfer 1.91.0 → 1.93.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-transfer/client.rb +158 -57
- data/lib/aws-sdk-transfer/client_api.rb +28 -0
- data/lib/aws-sdk-transfer/endpoints.rb +14 -0
- data/lib/aws-sdk-transfer/plugins/endpoints.rb +2 -0
- data/lib/aws-sdk-transfer/types.rb +55 -24
- data/lib/aws-sdk-transfer.rb +1 -1
- data/sig/client.rbs +14 -0
- data/sig/types.rbs +14 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f04e2e35076dc6a91c9d97e712406d9ccfd740e9e390ab91bb3255cde7e54943
|
4
|
+
data.tar.gz: dc0960e1589fefbe127cad52efc2bbd24bf2b5bfa08f55dd71da213d3a191daa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: defb88acf2d37ee54cf858ad6549043b8193942c845bb40e2f36fe0303dfb6ead7a78d64f69a558b6e2bcd98a752b79a85241c107ecfcdc605446c2815541d55
|
7
|
+
data.tar.gz: 62a803e724d1e96aee4fb642d33ad13f20fbfc5a645f3f194ba56ba2a16976d5bb57909803607c327ec631cacce9e83bb19fefdb7ae46c2e8dfc5d67af165d12
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.93.0 (2024-05-13)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.92.0 (2024-04-25)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.91.0 (2024-04-12)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.93.0
|
@@ -22,6 +22,7 @@ require 'aws-sdk-core/plugins/endpoint_pattern.rb'
|
|
22
22
|
require 'aws-sdk-core/plugins/response_paging.rb'
|
23
23
|
require 'aws-sdk-core/plugins/stub_responses.rb'
|
24
24
|
require 'aws-sdk-core/plugins/idempotency_token.rb'
|
25
|
+
require 'aws-sdk-core/plugins/invocation_id.rb'
|
25
26
|
require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
26
27
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
27
28
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
@@ -72,6 +73,7 @@ module Aws::Transfer
|
|
72
73
|
add_plugin(Aws::Plugins::ResponsePaging)
|
73
74
|
add_plugin(Aws::Plugins::StubResponses)
|
74
75
|
add_plugin(Aws::Plugins::IdempotencyToken)
|
76
|
+
add_plugin(Aws::Plugins::InvocationId)
|
75
77
|
add_plugin(Aws::Plugins::JsonvalueConverter)
|
76
78
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
77
79
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
@@ -196,10 +198,17 @@ module Aws::Transfer
|
|
196
198
|
# When set to 'true' the request body will not be compressed
|
197
199
|
# for supported operations.
|
198
200
|
#
|
199
|
-
# @option options [String] :endpoint
|
200
|
-
#
|
201
|
-
#
|
202
|
-
#
|
201
|
+
# @option options [String, URI::HTTPS, URI::HTTP] :endpoint
|
202
|
+
# Normally you should not configure the `:endpoint` option
|
203
|
+
# directly. This is normally constructed from the `:region`
|
204
|
+
# option. Configuring `:endpoint` is normally reserved for
|
205
|
+
# connecting to test or custom endpoints. The endpoint should
|
206
|
+
# be a URI formatted like:
|
207
|
+
#
|
208
|
+
# 'http://example.com'
|
209
|
+
# 'https://example.com'
|
210
|
+
# 'http://example.com:123'
|
211
|
+
#
|
203
212
|
#
|
204
213
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
205
214
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -292,8 +301,9 @@ module Aws::Transfer
|
|
292
301
|
#
|
293
302
|
# @option options [String] :sdk_ua_app_id
|
294
303
|
# A unique and opaque application ID that is appended to the
|
295
|
-
# User-Agent header as app
|
296
|
-
# maximum length of 50.
|
304
|
+
# User-Agent header as app/sdk_ua_app_id. It should have a
|
305
|
+
# maximum length of 50. This variable is sourced from environment
|
306
|
+
# variable AWS_SDK_UA_APP_ID or the shared config profile attribute sdk_ua_app_id.
|
297
307
|
#
|
298
308
|
# @option options [String] :secret_access_key
|
299
309
|
#
|
@@ -347,50 +357,65 @@ module Aws::Transfer
|
|
347
357
|
# @option options [Aws::Transfer::EndpointProvider] :endpoint_provider
|
348
358
|
# The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::Transfer::EndpointParameters`
|
349
359
|
#
|
350
|
-
# @option options [
|
351
|
-
#
|
352
|
-
#
|
353
|
-
#
|
354
|
-
#
|
355
|
-
#
|
356
|
-
#
|
357
|
-
#
|
358
|
-
#
|
359
|
-
#
|
360
|
-
#
|
361
|
-
# @option options [Float] :
|
362
|
-
#
|
363
|
-
#
|
364
|
-
#
|
365
|
-
#
|
366
|
-
#
|
367
|
-
#
|
368
|
-
#
|
369
|
-
#
|
370
|
-
#
|
371
|
-
#
|
372
|
-
#
|
373
|
-
#
|
374
|
-
#
|
375
|
-
#
|
376
|
-
#
|
377
|
-
#
|
360
|
+
# @option options [Float] :http_continue_timeout (1)
|
361
|
+
# The number of seconds to wait for a 100-continue response before sending the
|
362
|
+
# request body. This option has no effect unless the request has "Expect"
|
363
|
+
# header set to "100-continue". Defaults to `nil` which disables this
|
364
|
+
# behaviour. This value can safely be set per request on the session.
|
365
|
+
#
|
366
|
+
# @option options [Float] :http_idle_timeout (5)
|
367
|
+
# The number of seconds a connection is allowed to sit idle before it
|
368
|
+
# is considered stale. Stale connections are closed and removed from the
|
369
|
+
# pool before making a request.
|
370
|
+
#
|
371
|
+
# @option options [Float] :http_open_timeout (15)
|
372
|
+
# The default number of seconds to wait for response data.
|
373
|
+
# This value can safely be set per-request on the session.
|
374
|
+
#
|
375
|
+
# @option options [URI::HTTP,String] :http_proxy
|
376
|
+
# A proxy to send requests through. Formatted like 'http://proxy.com:123'.
|
377
|
+
#
|
378
|
+
# @option options [Float] :http_read_timeout (60)
|
379
|
+
# The default number of seconds to wait for response data.
|
380
|
+
# This value can safely be set per-request on the session.
|
381
|
+
#
|
382
|
+
# @option options [Boolean] :http_wire_trace (false)
|
383
|
+
# When `true`, HTTP debug output will be sent to the `:logger`.
|
384
|
+
#
|
385
|
+
# @option options [Proc] :on_chunk_received
|
386
|
+
# When a Proc object is provided, it will be used as callback when each chunk
|
387
|
+
# of the response body is received. It provides three arguments: the chunk,
|
388
|
+
# the number of bytes received, and the total number of
|
389
|
+
# bytes in the response (or nil if the server did not send a `content-length`).
|
390
|
+
#
|
391
|
+
# @option options [Proc] :on_chunk_sent
|
392
|
+
# When a Proc object is provided, it will be used as callback when each chunk
|
393
|
+
# of the request body is sent. It provides three arguments: the chunk,
|
394
|
+
# the number of bytes read from the body, and the total number of
|
395
|
+
# bytes in the body.
|
396
|
+
#
|
397
|
+
# @option options [Boolean] :raise_response_errors (true)
|
398
|
+
# When `true`, response errors are raised.
|
399
|
+
#
|
400
|
+
# @option options [String] :ssl_ca_bundle
|
401
|
+
# Full path to the SSL certificate authority bundle file that should be used when
|
402
|
+
# verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
|
403
|
+
# `:ssl_ca_directory` the the system default will be used if available.
|
404
|
+
#
|
405
|
+
# @option options [String] :ssl_ca_directory
|
406
|
+
# Full path of the directory that contains the unbundled SSL certificate
|
407
|
+
# authority files for verifying peer certificates. If you do
|
408
|
+
# not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
|
409
|
+
# default will be used if available.
|
378
410
|
#
|
379
|
-
# @option options [
|
380
|
-
#
|
381
|
-
# connection.
|
411
|
+
# @option options [String] :ssl_ca_store
|
412
|
+
# Sets the X509::Store to verify peer certificate.
|
382
413
|
#
|
383
|
-
# @option options [
|
384
|
-
#
|
385
|
-
# verifying peer certificates. If you do not pass
|
386
|
-
# `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
|
387
|
-
# will be used if available.
|
414
|
+
# @option options [Float] :ssl_timeout
|
415
|
+
# Sets the SSL timeout in seconds
|
388
416
|
#
|
389
|
-
# @option options [
|
390
|
-
#
|
391
|
-
# authority files for verifying peer certificates. If you do
|
392
|
-
# not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
|
393
|
-
# system default will be used if available.
|
417
|
+
# @option options [Boolean] :ssl_verify_peer (true)
|
418
|
+
# When `true`, SSL peer certificates are verified when establishing a connection.
|
394
419
|
#
|
395
420
|
def initialize(*args)
|
396
421
|
super
|
@@ -2523,14 +2548,7 @@ module Aws::Transfer
|
|
2523
2548
|
# create local (AS2) profiles and partner profiles.
|
2524
2549
|
#
|
2525
2550
|
# @option params [required, String] :usage
|
2526
|
-
# Specifies
|
2527
|
-
# following ways:
|
2528
|
-
#
|
2529
|
-
# * `SIGNING`: For signing AS2 messages
|
2530
|
-
#
|
2531
|
-
# * `ENCRYPTION`: For encrypting AS2 messages
|
2532
|
-
#
|
2533
|
-
# * `TLS`: For securing AS2 communications sent over HTTPS
|
2551
|
+
# Specifies whether this certificate is used for signing or encryption.
|
2534
2552
|
#
|
2535
2553
|
# @option params [required, String] :certificate
|
2536
2554
|
# * For the CLI, provide a file path for a certificate in URI format.
|
@@ -3360,6 +3378,89 @@ module Aws::Transfer
|
|
3360
3378
|
req.send_request(options)
|
3361
3379
|
end
|
3362
3380
|
|
3381
|
+
# Retrieves a list of the contents of a directory from a remote SFTP
|
3382
|
+
# server. You specify the connector ID, the output path, and the remote
|
3383
|
+
# directory path. You can also specify the optional `MaxItems` value to
|
3384
|
+
# control the maximum number of items that are listed from the remote
|
3385
|
+
# directory. This API returns a list of all files and directories in the
|
3386
|
+
# remote directory (up to the maximum value), but does not return files
|
3387
|
+
# or folders in sub-directories. That is, it only returns a list of
|
3388
|
+
# files and directories one-level deep.
|
3389
|
+
#
|
3390
|
+
# After you receive the listing file, you can provide the files that you
|
3391
|
+
# want to transfer to the `RetrieveFilePaths` parameter of the
|
3392
|
+
# `StartFileTransfer` API call.
|
3393
|
+
#
|
3394
|
+
# The naming convention for the output file is `
|
3395
|
+
# connector-ID-listing-ID.json`. The output file contains the following
|
3396
|
+
# information:
|
3397
|
+
#
|
3398
|
+
# * `filePath`: the complete path of a remote file, relative to the
|
3399
|
+
# directory of the listing request for your SFTP connector on the
|
3400
|
+
# remote server.
|
3401
|
+
#
|
3402
|
+
# * `modifiedTimestamp`: the last time the file was modified, in UTC
|
3403
|
+
# time format. This field is optional. If the remote file attributes
|
3404
|
+
# don't contain a timestamp, it is omitted from the file listing.
|
3405
|
+
#
|
3406
|
+
# * `size`: the size of the file, in bytes. This field is optional. If
|
3407
|
+
# the remote file attributes don't contain a file size, it is omitted
|
3408
|
+
# from the file listing.
|
3409
|
+
#
|
3410
|
+
# * `path`: the complete path of a remote directory, relative to the
|
3411
|
+
# directory of the listing request for your SFTP connector on the
|
3412
|
+
# remote server.
|
3413
|
+
#
|
3414
|
+
# * `truncated`: a flag indicating whether the list output contains all
|
3415
|
+
# of the items contained in the remote directory or not. If your
|
3416
|
+
# `Truncated` output value is true, you can increase the value
|
3417
|
+
# provided in the optional `max-items` input attribute to be able to
|
3418
|
+
# list more items (up to the maximum allowed list size of 10,000
|
3419
|
+
# items).
|
3420
|
+
#
|
3421
|
+
# @option params [required, String] :connector_id
|
3422
|
+
# The unique identifier for the connector.
|
3423
|
+
#
|
3424
|
+
# @option params [required, String] :remote_directory_path
|
3425
|
+
# Specifies the directory on the remote SFTP server for which you want
|
3426
|
+
# to list its contents.
|
3427
|
+
#
|
3428
|
+
# @option params [Integer] :max_items
|
3429
|
+
# An optional parameter where you can specify the maximum number of
|
3430
|
+
# file/directory names to retrieve. The default value is 1,000.
|
3431
|
+
#
|
3432
|
+
# @option params [required, String] :output_directory_path
|
3433
|
+
# Specifies the path (bucket and prefix) in Amazon S3 storage to store
|
3434
|
+
# the results of the directory listing.
|
3435
|
+
#
|
3436
|
+
# @return [Types::StartDirectoryListingResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3437
|
+
#
|
3438
|
+
# * {Types::StartDirectoryListingResponse#listing_id #listing_id} => String
|
3439
|
+
# * {Types::StartDirectoryListingResponse#output_file_name #output_file_name} => String
|
3440
|
+
#
|
3441
|
+
# @example Request syntax with placeholder values
|
3442
|
+
#
|
3443
|
+
# resp = client.start_directory_listing({
|
3444
|
+
# connector_id: "ConnectorId", # required
|
3445
|
+
# remote_directory_path: "FilePath", # required
|
3446
|
+
# max_items: 1,
|
3447
|
+
# output_directory_path: "FilePath", # required
|
3448
|
+
# })
|
3449
|
+
#
|
3450
|
+
# @example Response structure
|
3451
|
+
#
|
3452
|
+
# resp.listing_id #=> String
|
3453
|
+
# resp.output_file_name #=> String
|
3454
|
+
#
|
3455
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/StartDirectoryListing AWS API Documentation
|
3456
|
+
#
|
3457
|
+
# @overload start_directory_listing(params = {})
|
3458
|
+
# @param [Hash] params ({})
|
3459
|
+
def start_directory_listing(params = {}, options = {})
|
3460
|
+
req = build_request(:start_directory_listing, params)
|
3461
|
+
req.send_request(options)
|
3462
|
+
end
|
3463
|
+
|
3363
3464
|
# Begins a file transfer between local Amazon Web Services storage and a
|
3364
3465
|
# remote AS2 or SFTP server.
|
3365
3466
|
#
|
@@ -3372,7 +3473,7 @@ module Aws::Transfer
|
|
3372
3473
|
#
|
3373
3474
|
# * If you are transferring file from a partner's SFTP server to
|
3374
3475
|
# Amazon Web Services storage, you specify one or more
|
3375
|
-
# `
|
3476
|
+
# `RetrieveFilePaths` to identify the files you want to transfer,
|
3376
3477
|
# and a `LocalDirectoryPath` to specify the destination folder.
|
3377
3478
|
#
|
3378
3479
|
# * If you are transferring file to a partner's SFTP server from
|
@@ -4708,7 +4809,7 @@ module Aws::Transfer
|
|
4708
4809
|
params: params,
|
4709
4810
|
config: config)
|
4710
4811
|
context[:gem_name] = 'aws-sdk-transfer'
|
4711
|
-
context[:gem_version] = '1.
|
4812
|
+
context[:gem_version] = '1.93.0'
|
4712
4813
|
Seahorse::Client::Request.new(handlers, context)
|
4713
4814
|
end
|
4714
4815
|
|
@@ -194,11 +194,13 @@ module Aws::Transfer
|
|
194
194
|
ListedUsers = Shapes::ListShape.new(name: 'ListedUsers')
|
195
195
|
ListedWorkflow = Shapes::StructureShape.new(name: 'ListedWorkflow')
|
196
196
|
ListedWorkflows = Shapes::ListShape.new(name: 'ListedWorkflows')
|
197
|
+
ListingId = Shapes::StringShape.new(name: 'ListingId')
|
197
198
|
LogGroupName = Shapes::StringShape.new(name: 'LogGroupName')
|
198
199
|
LoggingConfiguration = Shapes::StructureShape.new(name: 'LoggingConfiguration')
|
199
200
|
MapEntry = Shapes::StringShape.new(name: 'MapEntry')
|
200
201
|
MapTarget = Shapes::StringShape.new(name: 'MapTarget')
|
201
202
|
MapType = Shapes::StringShape.new(name: 'MapType')
|
203
|
+
MaxItems = Shapes::IntegerShape.new(name: 'MaxItems')
|
202
204
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
203
205
|
MdnResponse = Shapes::StringShape.new(name: 'MdnResponse')
|
204
206
|
MdnSigningAlg = Shapes::StringShape.new(name: 'MdnSigningAlg')
|
@@ -208,6 +210,7 @@ module Aws::Transfer
|
|
208
210
|
NullableRole = Shapes::StringShape.new(name: 'NullableRole')
|
209
211
|
OnPartialUploadWorkflowDetails = Shapes::ListShape.new(name: 'OnPartialUploadWorkflowDetails')
|
210
212
|
OnUploadWorkflowDetails = Shapes::ListShape.new(name: 'OnUploadWorkflowDetails')
|
213
|
+
OutputFileName = Shapes::StringShape.new(name: 'OutputFileName')
|
211
214
|
OverwriteExisting = Shapes::StringShape.new(name: 'OverwriteExisting')
|
212
215
|
PassiveIp = Shapes::StringShape.new(name: 'PassiveIp')
|
213
216
|
Policy = Shapes::StringShape.new(name: 'Policy')
|
@@ -272,6 +275,8 @@ module Aws::Transfer
|
|
272
275
|
SshPublicKeyCount = Shapes::IntegerShape.new(name: 'SshPublicKeyCount')
|
273
276
|
SshPublicKeyId = Shapes::StringShape.new(name: 'SshPublicKeyId')
|
274
277
|
SshPublicKeys = Shapes::ListShape.new(name: 'SshPublicKeys')
|
278
|
+
StartDirectoryListingRequest = Shapes::StructureShape.new(name: 'StartDirectoryListingRequest')
|
279
|
+
StartDirectoryListingResponse = Shapes::StructureShape.new(name: 'StartDirectoryListingResponse')
|
275
280
|
StartFileTransferRequest = Shapes::StructureShape.new(name: 'StartFileTransferRequest')
|
276
281
|
StartFileTransferResponse = Shapes::StructureShape.new(name: 'StartFileTransferResponse')
|
277
282
|
StartServerRequest = Shapes::StructureShape.new(name: 'StartServerRequest')
|
@@ -1094,6 +1099,16 @@ module Aws::Transfer
|
|
1094
1099
|
|
1095
1100
|
SshPublicKeys.member = Shapes::ShapeRef.new(shape: SshPublicKey)
|
1096
1101
|
|
1102
|
+
StartDirectoryListingRequest.add_member(:connector_id, Shapes::ShapeRef.new(shape: ConnectorId, required: true, location_name: "ConnectorId"))
|
1103
|
+
StartDirectoryListingRequest.add_member(:remote_directory_path, Shapes::ShapeRef.new(shape: FilePath, required: true, location_name: "RemoteDirectoryPath"))
|
1104
|
+
StartDirectoryListingRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: MaxItems, location_name: "MaxItems"))
|
1105
|
+
StartDirectoryListingRequest.add_member(:output_directory_path, Shapes::ShapeRef.new(shape: FilePath, required: true, location_name: "OutputDirectoryPath"))
|
1106
|
+
StartDirectoryListingRequest.struct_class = Types::StartDirectoryListingRequest
|
1107
|
+
|
1108
|
+
StartDirectoryListingResponse.add_member(:listing_id, Shapes::ShapeRef.new(shape: ListingId, required: true, location_name: "ListingId"))
|
1109
|
+
StartDirectoryListingResponse.add_member(:output_file_name, Shapes::ShapeRef.new(shape: OutputFileName, required: true, location_name: "OutputFileName"))
|
1110
|
+
StartDirectoryListingResponse.struct_class = Types::StartDirectoryListingResponse
|
1111
|
+
|
1097
1112
|
StartFileTransferRequest.add_member(:connector_id, Shapes::ShapeRef.new(shape: ConnectorId, required: true, location_name: "ConnectorId"))
|
1098
1113
|
StartFileTransferRequest.add_member(:send_file_paths, Shapes::ShapeRef.new(shape: FilePaths, location_name: "SendFilePaths"))
|
1099
1114
|
StartFileTransferRequest.add_member(:retrieve_file_paths, Shapes::ShapeRef.new(shape: FilePaths, location_name: "RetrieveFilePaths"))
|
@@ -1924,6 +1939,19 @@ module Aws::Transfer
|
|
1924
1939
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1925
1940
|
end)
|
1926
1941
|
|
1942
|
+
api.add_operation(:start_directory_listing, Seahorse::Model::Operation.new.tap do |o|
|
1943
|
+
o.name = "StartDirectoryListing"
|
1944
|
+
o.http_method = "POST"
|
1945
|
+
o.http_request_uri = "/"
|
1946
|
+
o.input = Shapes::ShapeRef.new(shape: StartDirectoryListingRequest)
|
1947
|
+
o.output = Shapes::ShapeRef.new(shape: StartDirectoryListingResponse)
|
1948
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1949
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1950
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1951
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceError)
|
1952
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1953
|
+
end)
|
1954
|
+
|
1927
1955
|
api.add_operation(:start_file_transfer, Seahorse::Model::Operation.new.tap do |o|
|
1928
1956
|
o.name = "StartFileTransfer"
|
1929
1957
|
o.http_method = "POST"
|
@@ -628,6 +628,20 @@ module Aws::Transfer
|
|
628
628
|
end
|
629
629
|
end
|
630
630
|
|
631
|
+
class StartDirectoryListing
|
632
|
+
def self.build(context)
|
633
|
+
unless context.config.regional_endpoint
|
634
|
+
endpoint = context.config.endpoint.to_s
|
635
|
+
end
|
636
|
+
Aws::Transfer::EndpointParameters.new(
|
637
|
+
region: context.config.region,
|
638
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
639
|
+
use_fips: context.config.use_fips_endpoint,
|
640
|
+
endpoint: endpoint,
|
641
|
+
)
|
642
|
+
end
|
643
|
+
end
|
644
|
+
|
631
645
|
class StartFileTransfer
|
632
646
|
def self.build(context)
|
633
647
|
unless context.config.regional_endpoint
|
@@ -146,6 +146,8 @@ module Aws::Transfer
|
|
146
146
|
Aws::Transfer::Endpoints::ListWorkflows.build(context)
|
147
147
|
when :send_workflow_step_state
|
148
148
|
Aws::Transfer::Endpoints::SendWorkflowStepState.build(context)
|
149
|
+
when :start_directory_listing
|
150
|
+
Aws::Transfer::Endpoints::StartDirectoryListing.build(context)
|
149
151
|
when :start_file_transfer
|
150
152
|
Aws::Transfer::Endpoints::StartFileTransfer.build(context)
|
151
153
|
when :start_server
|
@@ -2071,14 +2071,8 @@ module Aws::Transfer
|
|
2071
2071
|
# @return [String]
|
2072
2072
|
#
|
2073
2073
|
# @!attribute [rw] usage
|
2074
|
-
# Specifies
|
2075
|
-
#
|
2076
|
-
#
|
2077
|
-
# * `SIGNING`: For signing AS2 messages
|
2078
|
-
#
|
2079
|
-
# * `ENCRYPTION`: For encrypting AS2 messages
|
2080
|
-
#
|
2081
|
-
# * `TLS`: For securing AS2 communications sent over HTTPS
|
2074
|
+
# Specifies whether this certificate is used for signing or
|
2075
|
+
# encryption.
|
2082
2076
|
# @return [String]
|
2083
2077
|
#
|
2084
2078
|
# @!attribute [rw] status
|
@@ -3300,14 +3294,8 @@ module Aws::Transfer
|
|
3300
3294
|
end
|
3301
3295
|
|
3302
3296
|
# @!attribute [rw] usage
|
3303
|
-
# Specifies
|
3304
|
-
#
|
3305
|
-
#
|
3306
|
-
# * `SIGNING`: For signing AS2 messages
|
3307
|
-
#
|
3308
|
-
# * `ENCRYPTION`: For encrypting AS2 messages
|
3309
|
-
#
|
3310
|
-
# * `TLS`: For securing AS2 communications sent over HTTPS
|
3297
|
+
# Specifies whether this certificate is used for signing or
|
3298
|
+
# encryption.
|
3311
3299
|
# @return [String]
|
3312
3300
|
#
|
3313
3301
|
# @!attribute [rw] certificate
|
@@ -4237,14 +4225,8 @@ module Aws::Transfer
|
|
4237
4225
|
# @return [String]
|
4238
4226
|
#
|
4239
4227
|
# @!attribute [rw] usage
|
4240
|
-
# Specifies
|
4241
|
-
#
|
4242
|
-
#
|
4243
|
-
# * `SIGNING`: For signing AS2 messages
|
4244
|
-
#
|
4245
|
-
# * `ENCRYPTION`: For encrypting AS2 messages
|
4246
|
-
#
|
4247
|
-
# * `TLS`: For securing AS2 communications sent over HTTPS
|
4228
|
+
# Specifies whether this certificate is used for signing or
|
4229
|
+
# encryption.
|
4248
4230
|
# @return [String]
|
4249
4231
|
#
|
4250
4232
|
# @!attribute [rw] status
|
@@ -5115,6 +5097,55 @@ module Aws::Transfer
|
|
5115
5097
|
include Aws::Structure
|
5116
5098
|
end
|
5117
5099
|
|
5100
|
+
# @!attribute [rw] connector_id
|
5101
|
+
# The unique identifier for the connector.
|
5102
|
+
# @return [String]
|
5103
|
+
#
|
5104
|
+
# @!attribute [rw] remote_directory_path
|
5105
|
+
# Specifies the directory on the remote SFTP server for which you want
|
5106
|
+
# to list its contents.
|
5107
|
+
# @return [String]
|
5108
|
+
#
|
5109
|
+
# @!attribute [rw] max_items
|
5110
|
+
# An optional parameter where you can specify the maximum number of
|
5111
|
+
# file/directory names to retrieve. The default value is 1,000.
|
5112
|
+
# @return [Integer]
|
5113
|
+
#
|
5114
|
+
# @!attribute [rw] output_directory_path
|
5115
|
+
# Specifies the path (bucket and prefix) in Amazon S3 storage to store
|
5116
|
+
# the results of the directory listing.
|
5117
|
+
# @return [String]
|
5118
|
+
#
|
5119
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/StartDirectoryListingRequest AWS API Documentation
|
5120
|
+
#
|
5121
|
+
class StartDirectoryListingRequest < Struct.new(
|
5122
|
+
:connector_id,
|
5123
|
+
:remote_directory_path,
|
5124
|
+
:max_items,
|
5125
|
+
:output_directory_path)
|
5126
|
+
SENSITIVE = []
|
5127
|
+
include Aws::Structure
|
5128
|
+
end
|
5129
|
+
|
5130
|
+
# @!attribute [rw] listing_id
|
5131
|
+
# Returns a unique identifier for the directory listing call.
|
5132
|
+
# @return [String]
|
5133
|
+
#
|
5134
|
+
# @!attribute [rw] output_file_name
|
5135
|
+
# Returns the file name where the results are stored. This is a
|
5136
|
+
# combination of the connector ID and the listing ID:
|
5137
|
+
# `<connector-id>-<listing-id>.json`.
|
5138
|
+
# @return [String]
|
5139
|
+
#
|
5140
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/StartDirectoryListingResponse AWS API Documentation
|
5141
|
+
#
|
5142
|
+
class StartDirectoryListingResponse < Struct.new(
|
5143
|
+
:listing_id,
|
5144
|
+
:output_file_name)
|
5145
|
+
SENSITIVE = []
|
5146
|
+
include Aws::Structure
|
5147
|
+
end
|
5148
|
+
|
5118
5149
|
# @!attribute [rw] connector_id
|
5119
5150
|
# The unique identifier for the connector.
|
5120
5151
|
# @return [String]
|
data/lib/aws-sdk-transfer.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -808,6 +808,20 @@ module Aws
|
|
808
808
|
) -> _SendWorkflowStepStateResponseSuccess
|
809
809
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SendWorkflowStepStateResponseSuccess
|
810
810
|
|
811
|
+
interface _StartDirectoryListingResponseSuccess
|
812
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StartDirectoryListingResponse]
|
813
|
+
def listing_id: () -> ::String
|
814
|
+
def output_file_name: () -> ::String
|
815
|
+
end
|
816
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Transfer/Client.html#start_directory_listing-instance_method
|
817
|
+
def start_directory_listing: (
|
818
|
+
connector_id: ::String,
|
819
|
+
remote_directory_path: ::String,
|
820
|
+
?max_items: ::Integer,
|
821
|
+
output_directory_path: ::String
|
822
|
+
) -> _StartDirectoryListingResponseSuccess
|
823
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartDirectoryListingResponseSuccess
|
824
|
+
|
811
825
|
interface _StartFileTransferResponseSuccess
|
812
826
|
include ::Seahorse::Client::_ResponseSuccess[Types::StartFileTransferResponse]
|
813
827
|
def transfer_id: () -> ::String
|
data/sig/types.rbs
CHANGED
@@ -977,6 +977,20 @@ module Aws::Transfer
|
|
977
977
|
SENSITIVE: []
|
978
978
|
end
|
979
979
|
|
980
|
+
class StartDirectoryListingRequest
|
981
|
+
attr_accessor connector_id: ::String
|
982
|
+
attr_accessor remote_directory_path: ::String
|
983
|
+
attr_accessor max_items: ::Integer
|
984
|
+
attr_accessor output_directory_path: ::String
|
985
|
+
SENSITIVE: []
|
986
|
+
end
|
987
|
+
|
988
|
+
class StartDirectoryListingResponse
|
989
|
+
attr_accessor listing_id: ::String
|
990
|
+
attr_accessor output_file_name: ::String
|
991
|
+
SENSITIVE: []
|
992
|
+
end
|
993
|
+
|
980
994
|
class StartFileTransferRequest
|
981
995
|
attr_accessor connector_id: ::String
|
982
996
|
attr_accessor send_file_paths: ::Array[::String]
|
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.93.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: 2024-
|
11
|
+
date: 2024-05-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.193.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.193.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|