aws-sdk-transfer 1.91.0 → 1.92.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 91b565bd99a0c32392621b15463c51a0ae8818f2fcf40f6db5dfb591b05880f0
4
- data.tar.gz: 236c12045314f4c89b848a1a1ae4d62f1ca0941a527ed5035ef1c1dec5afb098
3
+ metadata.gz: 432765b10722dccada548ff1d2f0fe7a96c43042320e26d24bf2616be0fd27c8
4
+ data.tar.gz: 8931aac60962971929c24eb442bfbf8ebcd91f40dfbcd275c27e904f1e7fedf8
5
5
  SHA512:
6
- metadata.gz: b8a0d7790a4ba71e81a3b68ae69860f6027a63a4c4d902b929347eea0979a364f7a5b7c8e52102c1175b7c60d12c351c0f184b25655c70ae7d03d027c23825bd
7
- data.tar.gz: 34e0bc153374fa54b689cd08969ad5e479926bfdc4d9d91e2c0533ed93d016fdae8fd6666ad3e2afb09077bfd491d817bc9dbc717a0b3b5ab655f93bacbfe0c5
6
+ metadata.gz: 884c03a49c88c74c4ce1a6efe7517b6dcedeb041885f0c068403bbcd24384352e531a785ecd68d6775f105289b5741aa70555a7cff4b623c2edf66e02641ee60
7
+ data.tar.gz: 1c952a5afa233c1e5426491678525cc1751af0436faabe68e8dfe9178adfea46c72a8f57fc3b5f8d822889281506e711013fc1792f0ba9323d509fd2f0be9907
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.92.0 (2024-04-25)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
4
9
  1.91.0 (2024-04-12)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.91.0
1
+ 1.92.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
- # The client endpoint is normally constructed from the `:region`
201
- # option. You should only configure an `:endpoint` when connecting
202
- # to test or custom endpoints. This should be a valid HTTP(S) URI.
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
@@ -347,50 +356,65 @@ module Aws::Transfer
347
356
  # @option options [Aws::Transfer::EndpointProvider] :endpoint_provider
348
357
  # 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
358
  #
350
- # @option options [URI::HTTP,String] :http_proxy A proxy to send
351
- # requests through. Formatted like 'http://proxy.com:123'.
352
- #
353
- # @option options [Float] :http_open_timeout (15) The number of
354
- # seconds to wait when opening a HTTP session before raising a
355
- # `Timeout::Error`.
356
- #
357
- # @option options [Float] :http_read_timeout (60) The default
358
- # number of seconds to wait for response data. This value can
359
- # safely be set per-request on the session.
360
- #
361
- # @option options [Float] :http_idle_timeout (5) The number of
362
- # seconds a connection is allowed to sit idle before it is
363
- # considered stale. Stale connections are closed and removed
364
- # from the pool before making a request.
365
- #
366
- # @option options [Float] :http_continue_timeout (1) The number of
367
- # seconds to wait for a 100-continue response before sending the
368
- # request body. This option has no effect unless the request has
369
- # "Expect" header set to "100-continue". Defaults to `nil` which
370
- # disables this behaviour. This value can safely be set per
371
- # request on the session.
372
- #
373
- # @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
374
- # in seconds.
375
- #
376
- # @option options [Boolean] :http_wire_trace (false) When `true`,
377
- # HTTP debug output will be sent to the `:logger`.
359
+ # @option options [Float] :http_continue_timeout (1)
360
+ # The number of seconds to wait for a 100-continue response before sending the
361
+ # request body. This option has no effect unless the request has "Expect"
362
+ # header set to "100-continue". Defaults to `nil` which disables this
363
+ # behaviour. This value can safely be set per request on the session.
364
+ #
365
+ # @option options [Float] :http_idle_timeout (5)
366
+ # The number of seconds a connection is allowed to sit idle before it
367
+ # is considered stale. Stale connections are closed and removed from the
368
+ # pool before making a request.
369
+ #
370
+ # @option options [Float] :http_open_timeout (15)
371
+ # The default number of seconds to wait for response data.
372
+ # This value can safely be set per-request on the session.
373
+ #
374
+ # @option options [URI::HTTP,String] :http_proxy
375
+ # A proxy to send requests through. Formatted like 'http://proxy.com:123'.
376
+ #
377
+ # @option options [Float] :http_read_timeout (60)
378
+ # The default number of seconds to wait for response data.
379
+ # This value can safely be set per-request on the session.
380
+ #
381
+ # @option options [Boolean] :http_wire_trace (false)
382
+ # When `true`, HTTP debug output will be sent to the `:logger`.
383
+ #
384
+ # @option options [Proc] :on_chunk_received
385
+ # When a Proc object is provided, it will be used as callback when each chunk
386
+ # of the response body is received. It provides three arguments: the chunk,
387
+ # the number of bytes received, and the total number of
388
+ # bytes in the response (or nil if the server did not send a `content-length`).
389
+ #
390
+ # @option options [Proc] :on_chunk_sent
391
+ # When a Proc object is provided, it will be used as callback when each chunk
392
+ # of the request body is sent. It provides three arguments: the chunk,
393
+ # the number of bytes read from the body, and the total number of
394
+ # bytes in the body.
395
+ #
396
+ # @option options [Boolean] :raise_response_errors (true)
397
+ # When `true`, response errors are raised.
398
+ #
399
+ # @option options [String] :ssl_ca_bundle
400
+ # Full path to the SSL certificate authority bundle file that should be used when
401
+ # verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
402
+ # `:ssl_ca_directory` the the system default will be used if available.
403
+ #
404
+ # @option options [String] :ssl_ca_directory
405
+ # Full path of the directory that contains the unbundled SSL certificate
406
+ # authority files for verifying peer certificates. If you do
407
+ # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
408
+ # default will be used if available.
378
409
  #
379
- # @option options [Boolean] :ssl_verify_peer (true) When `true`,
380
- # SSL peer certificates are verified when establishing a
381
- # connection.
410
+ # @option options [String] :ssl_ca_store
411
+ # Sets the X509::Store to verify peer certificate.
382
412
  #
383
- # @option options [String] :ssl_ca_bundle Full path to the SSL
384
- # certificate authority bundle file that should be used when
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.
413
+ # @option options [Float] :ssl_timeout
414
+ # Sets the SSL timeout in seconds
388
415
  #
389
- # @option options [String] :ssl_ca_directory Full path of the
390
- # directory that contains the unbundled SSL certificate
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.
416
+ # @option options [Boolean] :ssl_verify_peer (true)
417
+ # When `true`, SSL peer certificates are verified when establishing a connection.
394
418
  #
395
419
  def initialize(*args)
396
420
  super
@@ -2523,14 +2547,7 @@ module Aws::Transfer
2523
2547
  # create local (AS2) profiles and partner profiles.
2524
2548
  #
2525
2549
  # @option params [required, String] :usage
2526
- # Specifies how this certificate is used. It can be used in the
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
2550
+ # Specifies whether this certificate is used for signing or encryption.
2534
2551
  #
2535
2552
  # @option params [required, String] :certificate
2536
2553
  # * For the CLI, provide a file path for a certificate in URI format.
@@ -3360,6 +3377,89 @@ module Aws::Transfer
3360
3377
  req.send_request(options)
3361
3378
  end
3362
3379
 
3380
+ # Retrieves a list of the contents of a directory from a remote SFTP
3381
+ # server. You specify the connector ID, the output path, and the remote
3382
+ # directory path. You can also specify the optional `MaxItems` value to
3383
+ # control the maximum number of items that are listed from the remote
3384
+ # directory. This API returns a list of all files and directories in the
3385
+ # remote directory (up to the maximum value), but does not return files
3386
+ # or folders in sub-directories. That is, it only returns a list of
3387
+ # files and directories one-level deep.
3388
+ #
3389
+ # After you receive the listing file, you can provide the files that you
3390
+ # want to transfer to the `RetrieveFilePaths` parameter of the
3391
+ # `StartFileTransfer` API call.
3392
+ #
3393
+ # The naming convention for the output file is `
3394
+ # connector-ID-listing-ID.json`. The output file contains the following
3395
+ # information:
3396
+ #
3397
+ # * `filePath`: the complete path of a remote file, relative to the
3398
+ # directory of the listing request for your SFTP connector on the
3399
+ # remote server.
3400
+ #
3401
+ # * `modifiedTimestamp`: the last time the file was modified, in UTC
3402
+ # time format. This field is optional. If the remote file attributes
3403
+ # don't contain a timestamp, it is omitted from the file listing.
3404
+ #
3405
+ # * `size`: the size of the file, in bytes. This field is optional. If
3406
+ # the remote file attributes don't contain a file size, it is omitted
3407
+ # from the file listing.
3408
+ #
3409
+ # * `path`: the complete path of a remote directory, relative to the
3410
+ # directory of the listing request for your SFTP connector on the
3411
+ # remote server.
3412
+ #
3413
+ # * `truncated`: a flag indicating whether the list output contains all
3414
+ # of the items contained in the remote directory or not. If your
3415
+ # `Truncated` output value is true, you can increase the value
3416
+ # provided in the optional `max-items` input attribute to be able to
3417
+ # list more items (up to the maximum allowed list size of 10,000
3418
+ # items).
3419
+ #
3420
+ # @option params [required, String] :connector_id
3421
+ # The unique identifier for the connector.
3422
+ #
3423
+ # @option params [required, String] :remote_directory_path
3424
+ # Specifies the directory on the remote SFTP server for which you want
3425
+ # to list its contents.
3426
+ #
3427
+ # @option params [Integer] :max_items
3428
+ # An optional parameter where you can specify the maximum number of
3429
+ # file/directory names to retrieve. The default value is 1,000.
3430
+ #
3431
+ # @option params [required, String] :output_directory_path
3432
+ # Specifies the path (bucket and prefix) in Amazon S3 storage to store
3433
+ # the results of the directory listing.
3434
+ #
3435
+ # @return [Types::StartDirectoryListingResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3436
+ #
3437
+ # * {Types::StartDirectoryListingResponse#listing_id #listing_id} => String
3438
+ # * {Types::StartDirectoryListingResponse#output_file_name #output_file_name} => String
3439
+ #
3440
+ # @example Request syntax with placeholder values
3441
+ #
3442
+ # resp = client.start_directory_listing({
3443
+ # connector_id: "ConnectorId", # required
3444
+ # remote_directory_path: "FilePath", # required
3445
+ # max_items: 1,
3446
+ # output_directory_path: "FilePath", # required
3447
+ # })
3448
+ #
3449
+ # @example Response structure
3450
+ #
3451
+ # resp.listing_id #=> String
3452
+ # resp.output_file_name #=> String
3453
+ #
3454
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/StartDirectoryListing AWS API Documentation
3455
+ #
3456
+ # @overload start_directory_listing(params = {})
3457
+ # @param [Hash] params ({})
3458
+ def start_directory_listing(params = {}, options = {})
3459
+ req = build_request(:start_directory_listing, params)
3460
+ req.send_request(options)
3461
+ end
3462
+
3363
3463
  # Begins a file transfer between local Amazon Web Services storage and a
3364
3464
  # remote AS2 or SFTP server.
3365
3465
  #
@@ -3372,7 +3472,7 @@ module Aws::Transfer
3372
3472
  #
3373
3473
  # * If you are transferring file from a partner's SFTP server to
3374
3474
  # Amazon Web Services storage, you specify one or more
3375
- # `RetreiveFilePaths` to identify the files you want to transfer,
3475
+ # `RetrieveFilePaths` to identify the files you want to transfer,
3376
3476
  # and a `LocalDirectoryPath` to specify the destination folder.
3377
3477
  #
3378
3478
  # * If you are transferring file to a partner's SFTP server from
@@ -4708,7 +4808,7 @@ module Aws::Transfer
4708
4808
  params: params,
4709
4809
  config: config)
4710
4810
  context[:gem_name] = 'aws-sdk-transfer'
4711
- context[:gem_version] = '1.91.0'
4811
+ context[:gem_version] = '1.92.0'
4712
4812
  Seahorse::Client::Request.new(handlers, context)
4713
4813
  end
4714
4814
 
@@ -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 how this certificate is used. It can be used in the
2075
- # following ways:
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 how this certificate is used. It can be used in the
3304
- # following ways:
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 how this certificate is used. It can be used in the
4241
- # following ways:
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]
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-transfer/customizations'
53
53
  # @!group service
54
54
  module Aws::Transfer
55
55
 
56
- GEM_VERSION = '1.91.0'
56
+ GEM_VERSION = '1.92.0'
57
57
 
58
58
  end
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.91.0
4
+ version: 1.92.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-04-12 00:00:00.000000000 Z
11
+ date: 2024-04-25 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.191.0
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.191.0
32
+ version: 3.193.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement