aws-sdk-transfer 1.104.0 → 1.106.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-transfer/client.rb +75 -8
- data/lib/aws-sdk-transfer/client_api.rb +43 -0
- data/lib/aws-sdk-transfer/endpoint_parameters.rb +9 -6
- data/lib/aws-sdk-transfer/endpoints.rb +2 -658
- data/lib/aws-sdk-transfer/plugins/endpoints.rb +1 -126
- data/lib/aws-sdk-transfer/types.rb +130 -9
- data/lib/aws-sdk-transfer.rb +1 -1
- data/sig/client.rbs +14 -0
- data/sig/types.rbs +22 -0
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d9525fda73165bfeb0090612c564749845ffd060e9e5e35f75048dc6bb40b9f5
|
4
|
+
data.tar.gz: 19db50f8561fc71fec777ddda2327546071814fb1c41427b443752585a3fec28
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e82e273622cce4d652e5535bf65380a76a822f6491f7f2ca1de6f0524d36c41ab4a654d5be97212ea498edc9a4af0fd9029a4b2c137485d09f6a2ef3e09095fd
|
7
|
+
data.tar.gz: 58b508d3afee686808283d96a305c2afde31172a52ca7c60351df4d77fbaa2a33b566d4ce0d235caacb4af1b9a6a9e4dc57801d21186a09987d57ba3529c5493
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.106.0 (2024-10-18)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.105.0 (2024-10-14)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release enables customers using SFTP connectors to query the transfer status of their files to meet their monitoring needs as well as orchestrate post transfer actions.
|
13
|
+
|
4
14
|
1.104.0 (2024-09-24)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.106.0
|
@@ -651,7 +651,7 @@ module Aws::Transfer
|
|
651
651
|
# The landing directory (folder) for files transferred by using the AS2
|
652
652
|
# protocol.
|
653
653
|
#
|
654
|
-
# A `BaseDirectory` example is `/
|
654
|
+
# A `BaseDirectory` example is `/amzn-s3-demo-bucket/home/mydirectory`.
|
655
655
|
#
|
656
656
|
# @option params [required, String] :access_role
|
657
657
|
# Connectors are used to send files using either the AS2 or SFTP
|
@@ -3030,6 +3030,73 @@ module Aws::Transfer
|
|
3030
3030
|
req.send_request(options)
|
3031
3031
|
end
|
3032
3032
|
|
3033
|
+
# Returns real-time updates and detailed information on the status of
|
3034
|
+
# each individual file being transferred in a specific file transfer
|
3035
|
+
# operation. You specify the file transfer by providing its
|
3036
|
+
# `ConnectorId` and its `TransferId`.
|
3037
|
+
#
|
3038
|
+
# <note markdown="1"> File transfer results are available up to 7 days after an operation
|
3039
|
+
# has been requested.
|
3040
|
+
#
|
3041
|
+
# </note>
|
3042
|
+
#
|
3043
|
+
# @option params [required, String] :connector_id
|
3044
|
+
# A unique identifier for a connector. This value should match the value
|
3045
|
+
# supplied to the corresponding `StartFileTransfer` call.
|
3046
|
+
#
|
3047
|
+
# @option params [required, String] :transfer_id
|
3048
|
+
# A unique identifier for a file transfer. This value should match the
|
3049
|
+
# value supplied to the corresponding `StartFileTransfer` call.
|
3050
|
+
#
|
3051
|
+
# @option params [String] :next_token
|
3052
|
+
# If there are more file details than returned in this call, use this
|
3053
|
+
# value for a subsequent call to `ListFileTransferResults` to retrieve
|
3054
|
+
# them.
|
3055
|
+
#
|
3056
|
+
# @option params [Integer] :max_results
|
3057
|
+
# The maximum number of files to return in a single page. Note that
|
3058
|
+
# currently you can specify a maximum of 10 file paths in a single
|
3059
|
+
# [StartFileTransfer][1] operation. Thus, the maximum number of file
|
3060
|
+
# transfer results that can be returned in a single page is 10.
|
3061
|
+
#
|
3062
|
+
#
|
3063
|
+
#
|
3064
|
+
# [1]: https://docs.aws.amazon.com/transfer/latest/APIReference/API_StartFileTransfer.html
|
3065
|
+
#
|
3066
|
+
# @return [Types::ListFileTransferResultsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3067
|
+
#
|
3068
|
+
# * {Types::ListFileTransferResultsResponse#file_transfer_results #file_transfer_results} => Array<Types::ConnectorFileTransferResult>
|
3069
|
+
# * {Types::ListFileTransferResultsResponse#next_token #next_token} => String
|
3070
|
+
#
|
3071
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3072
|
+
#
|
3073
|
+
# @example Request syntax with placeholder values
|
3074
|
+
#
|
3075
|
+
# resp = client.list_file_transfer_results({
|
3076
|
+
# connector_id: "ConnectorId", # required
|
3077
|
+
# transfer_id: "TransferId", # required
|
3078
|
+
# next_token: "NextToken",
|
3079
|
+
# max_results: 1,
|
3080
|
+
# })
|
3081
|
+
#
|
3082
|
+
# @example Response structure
|
3083
|
+
#
|
3084
|
+
# resp.file_transfer_results #=> Array
|
3085
|
+
# resp.file_transfer_results[0].file_path #=> String
|
3086
|
+
# resp.file_transfer_results[0].status_code #=> String, one of "QUEUED", "IN_PROGRESS", "COMPLETED", "FAILED"
|
3087
|
+
# resp.file_transfer_results[0].failure_code #=> String
|
3088
|
+
# resp.file_transfer_results[0].failure_message #=> String
|
3089
|
+
# resp.next_token #=> String
|
3090
|
+
#
|
3091
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ListFileTransferResults AWS API Documentation
|
3092
|
+
#
|
3093
|
+
# @overload list_file_transfer_results(params = {})
|
3094
|
+
# @param [Hash] params ({})
|
3095
|
+
def list_file_transfer_results(params = {}, options = {})
|
3096
|
+
req = build_request(:list_file_transfer_results, params)
|
3097
|
+
req.send_request(options)
|
3098
|
+
end
|
3099
|
+
|
3033
3100
|
# Returns a list of host keys for the server that's specified by the
|
3034
3101
|
# `ServerId` parameter.
|
3035
3102
|
#
|
@@ -3525,9 +3592,9 @@ module Aws::Transfer
|
|
3525
3592
|
# @option params [Array<String>] :send_file_paths
|
3526
3593
|
# One or more source paths for the Amazon S3 storage. Each string
|
3527
3594
|
# represents a source file path for one outbound file transfer. For
|
3528
|
-
# example, `
|
3595
|
+
# example, ` amzn-s3-demo-bucket/myfile.txt `.
|
3529
3596
|
#
|
3530
|
-
# <note markdown="1"> Replace `
|
3597
|
+
# <note markdown="1"> Replace ` amzn-s3-demo-bucket ` with one of your actual buckets.
|
3531
3598
|
#
|
3532
3599
|
# </note>
|
3533
3600
|
#
|
@@ -4048,7 +4115,7 @@ module Aws::Transfer
|
|
4048
4115
|
# @option params [String] :base_directory
|
4049
4116
|
# To change the landing directory (folder) for files that are
|
4050
4117
|
# transferred, provide the bucket folder that you want to use; for
|
4051
|
-
# example, `/
|
4118
|
+
# example, `/amzn-s3-demo-bucket/home/mydirectory `.
|
4052
4119
|
#
|
4053
4120
|
# @option params [String] :access_role
|
4054
4121
|
# Connectors are used to send files using either the AS2 or SFTP
|
@@ -4417,10 +4484,10 @@ module Aws::Transfer
|
|
4417
4484
|
# directly to it.
|
4418
4485
|
#
|
4419
4486
|
# <note markdown="1"> After May 19, 2021, you won't be able to create a server using
|
4420
|
-
# `EndpointType=VPC_ENDPOINT` in your Amazon Web
|
4421
|
-
# account hasn't already done so before May 19, 2021. If you have
|
4487
|
+
# `EndpointType=VPC_ENDPOINT` in your Amazon Web Services account if
|
4488
|
+
# your account hasn't already done so before May 19, 2021. If you have
|
4422
4489
|
# already created servers with `EndpointType=VPC_ENDPOINT` in your
|
4423
|
-
# Amazon Web
|
4490
|
+
# Amazon Web Services account on or before May 19, 2021, you will not be
|
4424
4491
|
# affected. After this date, use `EndpointType`=`VPC`.
|
4425
4492
|
#
|
4426
4493
|
# For more information, see
|
@@ -4852,7 +4919,7 @@ module Aws::Transfer
|
|
4852
4919
|
tracer: tracer
|
4853
4920
|
)
|
4854
4921
|
context[:gem_name] = 'aws-sdk-transfer'
|
4855
|
-
context[:gem_version] = '1.
|
4922
|
+
context[:gem_version] = '1.106.0'
|
4856
4923
|
Seahorse::Client::Request.new(handlers, context)
|
4857
4924
|
end
|
4858
4925
|
|
@@ -38,6 +38,8 @@ module Aws::Transfer
|
|
38
38
|
CertificateUsageType = Shapes::StringShape.new(name: 'CertificateUsageType')
|
39
39
|
CompressionEnum = Shapes::StringShape.new(name: 'CompressionEnum')
|
40
40
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
41
|
+
ConnectorFileTransferResult = Shapes::StructureShape.new(name: 'ConnectorFileTransferResult')
|
42
|
+
ConnectorFileTransferResults = Shapes::ListShape.new(name: 'ConnectorFileTransferResults')
|
41
43
|
ConnectorId = Shapes::StringShape.new(name: 'ConnectorId')
|
42
44
|
ConnectorSecurityPolicyName = Shapes::StringShape.new(name: 'ConnectorSecurityPolicyName')
|
43
45
|
CopyStepDetails = Shapes::StructureShape.new(name: 'CopyStepDetails')
|
@@ -125,6 +127,7 @@ module Aws::Transfer
|
|
125
127
|
ExecutionStepResult = Shapes::StructureShape.new(name: 'ExecutionStepResult')
|
126
128
|
ExecutionStepResults = Shapes::ListShape.new(name: 'ExecutionStepResults')
|
127
129
|
ExternalId = Shapes::StringShape.new(name: 'ExternalId')
|
130
|
+
FailureCode = Shapes::StringShape.new(name: 'FailureCode')
|
128
131
|
FileLocation = Shapes::StructureShape.new(name: 'FileLocation')
|
129
132
|
FilePath = Shapes::StringShape.new(name: 'FilePath')
|
130
133
|
FilePaths = Shapes::ListShape.new(name: 'FilePaths')
|
@@ -161,6 +164,8 @@ module Aws::Transfer
|
|
161
164
|
ListConnectorsResponse = Shapes::StructureShape.new(name: 'ListConnectorsResponse')
|
162
165
|
ListExecutionsRequest = Shapes::StructureShape.new(name: 'ListExecutionsRequest')
|
163
166
|
ListExecutionsResponse = Shapes::StructureShape.new(name: 'ListExecutionsResponse')
|
167
|
+
ListFileTransferResultsRequest = Shapes::StructureShape.new(name: 'ListFileTransferResultsRequest')
|
168
|
+
ListFileTransferResultsResponse = Shapes::StructureShape.new(name: 'ListFileTransferResultsResponse')
|
164
169
|
ListHostKeysRequest = Shapes::StructureShape.new(name: 'ListHostKeysRequest')
|
165
170
|
ListHostKeysResponse = Shapes::StructureShape.new(name: 'ListHostKeysResponse')
|
166
171
|
ListProfilesRequest = Shapes::StructureShape.new(name: 'ListProfilesRequest')
|
@@ -303,6 +308,7 @@ module Aws::Transfer
|
|
303
308
|
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
304
309
|
TlsSessionResumptionMode = Shapes::StringShape.new(name: 'TlsSessionResumptionMode')
|
305
310
|
TransferId = Shapes::StringShape.new(name: 'TransferId')
|
311
|
+
TransferTableStatus = Shapes::StringShape.new(name: 'TransferTableStatus')
|
306
312
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
307
313
|
UpdateAccessRequest = Shapes::StructureShape.new(name: 'UpdateAccessRequest')
|
308
314
|
UpdateAccessResponse = Shapes::StructureShape.new(name: 'UpdateAccessResponse')
|
@@ -359,6 +365,14 @@ module Aws::Transfer
|
|
359
365
|
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: Message, required: true, location_name: "Message"))
|
360
366
|
ConflictException.struct_class = Types::ConflictException
|
361
367
|
|
368
|
+
ConnectorFileTransferResult.add_member(:file_path, Shapes::ShapeRef.new(shape: FilePath, required: true, location_name: "FilePath"))
|
369
|
+
ConnectorFileTransferResult.add_member(:status_code, Shapes::ShapeRef.new(shape: TransferTableStatus, required: true, location_name: "StatusCode"))
|
370
|
+
ConnectorFileTransferResult.add_member(:failure_code, Shapes::ShapeRef.new(shape: FailureCode, location_name: "FailureCode"))
|
371
|
+
ConnectorFileTransferResult.add_member(:failure_message, Shapes::ShapeRef.new(shape: Message, location_name: "FailureMessage"))
|
372
|
+
ConnectorFileTransferResult.struct_class = Types::ConnectorFileTransferResult
|
373
|
+
|
374
|
+
ConnectorFileTransferResults.member = Shapes::ShapeRef.new(shape: ConnectorFileTransferResult)
|
375
|
+
|
362
376
|
CopyStepDetails.add_member(:name, Shapes::ShapeRef.new(shape: WorkflowStepName, location_name: "Name"))
|
363
377
|
CopyStepDetails.add_member(:destination_file_location, Shapes::ShapeRef.new(shape: InputFileLocation, location_name: "DestinationFileLocation"))
|
364
378
|
CopyStepDetails.add_member(:overwrite_existing, Shapes::ShapeRef.new(shape: OverwriteExisting, location_name: "OverwriteExisting"))
|
@@ -855,6 +869,16 @@ module Aws::Transfer
|
|
855
869
|
ListExecutionsResponse.add_member(:executions, Shapes::ShapeRef.new(shape: ListedExecutions, required: true, location_name: "Executions"))
|
856
870
|
ListExecutionsResponse.struct_class = Types::ListExecutionsResponse
|
857
871
|
|
872
|
+
ListFileTransferResultsRequest.add_member(:connector_id, Shapes::ShapeRef.new(shape: ConnectorId, required: true, location_name: "ConnectorId"))
|
873
|
+
ListFileTransferResultsRequest.add_member(:transfer_id, Shapes::ShapeRef.new(shape: TransferId, required: true, location_name: "TransferId"))
|
874
|
+
ListFileTransferResultsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
875
|
+
ListFileTransferResultsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
876
|
+
ListFileTransferResultsRequest.struct_class = Types::ListFileTransferResultsRequest
|
877
|
+
|
878
|
+
ListFileTransferResultsResponse.add_member(:file_transfer_results, Shapes::ShapeRef.new(shape: ConnectorFileTransferResults, required: true, location_name: "FileTransferResults"))
|
879
|
+
ListFileTransferResultsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
880
|
+
ListFileTransferResultsResponse.struct_class = Types::ListFileTransferResultsResponse
|
881
|
+
|
858
882
|
ListHostKeysRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
859
883
|
ListHostKeysRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
860
884
|
ListHostKeysRequest.add_member(:server_id, Shapes::ShapeRef.new(shape: ServerId, required: true, location_name: "ServerId"))
|
@@ -1304,6 +1328,7 @@ module Aws::Transfer
|
|
1304
1328
|
|
1305
1329
|
api.metadata = {
|
1306
1330
|
"apiVersion" => "2018-11-05",
|
1331
|
+
"auth" => ["aws.auth#sigv4"],
|
1307
1332
|
"endpointPrefix" => "transfer",
|
1308
1333
|
"jsonVersion" => "1.1",
|
1309
1334
|
"protocol" => "json",
|
@@ -1804,6 +1829,24 @@ module Aws::Transfer
|
|
1804
1829
|
)
|
1805
1830
|
end)
|
1806
1831
|
|
1832
|
+
api.add_operation(:list_file_transfer_results, Seahorse::Model::Operation.new.tap do |o|
|
1833
|
+
o.name = "ListFileTransferResults"
|
1834
|
+
o.http_method = "POST"
|
1835
|
+
o.http_request_uri = "/"
|
1836
|
+
o.input = Shapes::ShapeRef.new(shape: ListFileTransferResultsRequest)
|
1837
|
+
o.output = Shapes::ShapeRef.new(shape: ListFileTransferResultsResponse)
|
1838
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1839
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1840
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceError)
|
1841
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1842
|
+
o[:pager] = Aws::Pager.new(
|
1843
|
+
limit_key: "max_results",
|
1844
|
+
tokens: {
|
1845
|
+
"next_token" => "next_token"
|
1846
|
+
}
|
1847
|
+
)
|
1848
|
+
end)
|
1849
|
+
|
1807
1850
|
api.add_operation(:list_host_keys, Seahorse::Model::Operation.new.tap do |o|
|
1808
1851
|
o.name = "ListHostKeys"
|
1809
1852
|
o.http_method = "POST"
|
@@ -52,15 +52,18 @@ module Aws::Transfer
|
|
52
52
|
self[:region] = options[:region]
|
53
53
|
self[:use_dual_stack] = options[:use_dual_stack]
|
54
54
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
55
|
-
if self[:use_dual_stack].nil?
|
56
|
-
raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
|
57
|
-
end
|
58
55
|
self[:use_fips] = options[:use_fips]
|
59
56
|
self[:use_fips] = false if self[:use_fips].nil?
|
60
|
-
if self[:use_fips].nil?
|
61
|
-
raise ArgumentError, "Missing required EndpointParameter: :use_fips"
|
62
|
-
end
|
63
57
|
self[:endpoint] = options[:endpoint]
|
64
58
|
end
|
59
|
+
|
60
|
+
def self.create(config, options={})
|
61
|
+
new({
|
62
|
+
region: config.region,
|
63
|
+
use_dual_stack: config.use_dualstack_endpoint,
|
64
|
+
use_fips: config.use_fips_endpoint,
|
65
|
+
endpoint: (config.endpoint.to_s unless config.regional_endpoint),
|
66
|
+
}.merge(options))
|
67
|
+
end
|
65
68
|
end
|
66
69
|
end
|