aws-sdk-transfer 1.67.0 → 1.68.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-transfer/client.rb +61 -28
- data/lib/aws-sdk-transfer/client_api.rb +2 -0
- data/lib/aws-sdk-transfer/endpoint_parameters.rb +0 -3
- data/lib/aws-sdk-transfer/endpoint_provider.rb +27 -24
- data/lib/aws-sdk-transfer/types.rb +130 -81
- data/lib/aws-sdk-transfer.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fea65db9c058c1b92c949a5a7efc40bd5f967865eb4ca92880be5b020cfc8c33
|
4
|
+
data.tar.gz: afc7f782c3e8482741bfa49baf23f5e36c19bd0291d614612d1d8cf6bfd8029a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 39261dd8b5aff9b5a3e263867fa959dc7ecb25921b45289038a8d1837bbdc13fed11a1ac000932e213e47f5ebc8f4cd11f9206c59ed2f1835f1fca2cc255c905
|
7
|
+
data.tar.gz: 1d6f4b7e2af636625201d6a360b81d28473f3548030e47a0c23b915ab7dc06d52d17b66e9f208edb10740936b8353fe072fcf3c9fec97399780068505c05db8b
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.68.0 (2023-05-15)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release introduces the ability to require both password and SSH key when users authenticate to your Transfer Family servers that use the SFTP protocol.
|
8
|
+
|
4
9
|
1.67.0 (2023-02-07)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.68.0
|
@@ -889,8 +889,9 @@ module Aws::Transfer
|
|
889
889
|
# [1]: https://docs.aws.amazon.com/transfer/latest/userguide/edit-server-config.html#configuring-servers-change-host-key
|
890
890
|
#
|
891
891
|
# @option params [Types::IdentityProviderDetails] :identity_provider_details
|
892
|
-
# Required when `IdentityProviderType` is set to
|
893
|
-
#
|
892
|
+
# Required when `IdentityProviderType` is set to
|
893
|
+
# `AWS_DIRECTORY_SERVICE`, `Amazon Web Services_LAMBDA` or
|
894
|
+
# `API_GATEWAY`. Accepts an array containing all of the information
|
894
895
|
# required to use a directory in `AWS_DIRECTORY_SERVICE` or invoke a
|
895
896
|
# customer-supplied authentication API, including the API Gateway URL.
|
896
897
|
# Not required when `IdentityProviderType` is set to `SERVICE_MANAGED`.
|
@@ -914,7 +915,7 @@ module Aws::Transfer
|
|
914
915
|
#
|
915
916
|
# Use the `AWS_LAMBDA` value to directly use an Lambda function as your
|
916
917
|
# identity provider. If you choose this value, you must specify the ARN
|
917
|
-
# for the Lambda function in the `Function` parameter
|
918
|
+
# for the Lambda function in the `Function` parameter for the
|
918
919
|
# `IdentityProviderDetails` data type.
|
919
920
|
#
|
920
921
|
# @option params [String] :logging_role
|
@@ -1017,7 +1018,8 @@ module Aws::Transfer
|
|
1017
1018
|
# In addition to a workflow to execute when a file is uploaded
|
1018
1019
|
# completely, `WorkflowDetails` can also contain a workflow ID (and
|
1019
1020
|
# execution role) for a workflow to execute on partial upload. A partial
|
1020
|
-
# upload occurs when
|
1021
|
+
# upload occurs when the server session disconnects while the file is
|
1022
|
+
# still being uploaded.
|
1021
1023
|
#
|
1022
1024
|
# @return [Types::CreateServerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1023
1025
|
#
|
@@ -1042,6 +1044,7 @@ module Aws::Transfer
|
|
1042
1044
|
# invocation_role: "Role",
|
1043
1045
|
# directory_id: "DirectoryId",
|
1044
1046
|
# function: "Function",
|
1047
|
+
# sftp_authentication_methods: "PASSWORD", # accepts PASSWORD, PUBLIC_KEY, PUBLIC_KEY_OR_PASSWORD, PUBLIC_KEY_AND_PASSWORD
|
1045
1048
|
# },
|
1046
1049
|
# identity_provider_type: "SERVICE_MANAGED", # accepts SERVICE_MANAGED, API_GATEWAY, AWS_DIRECTORY_SERVICE, AWS_LAMBDA
|
1047
1050
|
# logging_role: "Role",
|
@@ -1303,9 +1306,9 @@ module Aws::Transfer
|
|
1303
1306
|
# Specifies the steps (actions) to take if errors are encountered during
|
1304
1307
|
# execution of the workflow.
|
1305
1308
|
#
|
1306
|
-
# <note markdown="1"> For custom steps, the
|
1309
|
+
# <note markdown="1"> For custom steps, the Lambda function needs to send `FAILURE` to the
|
1307
1310
|
# call back API to kick off the exception steps. Additionally, if the
|
1308
|
-
#
|
1311
|
+
# Lambda does not send `SUCCESS` before it times out, the exception
|
1309
1312
|
# steps are executed.
|
1310
1313
|
#
|
1311
1314
|
# </note>
|
@@ -1572,7 +1575,7 @@ module Aws::Transfer
|
|
1572
1575
|
req.send_request(options)
|
1573
1576
|
end
|
1574
1577
|
|
1575
|
-
# Deletes the host key that's specified in the `
|
1578
|
+
# Deletes the host key that's specified in the `HostKeyId` parameter.
|
1576
1579
|
#
|
1577
1580
|
# @option params [required, String] :server_id
|
1578
1581
|
# The identifier of the server that contains the host key that you are
|
@@ -1935,6 +1938,14 @@ module Aws::Transfer
|
|
1935
1938
|
# You can use `DescribeExecution` to check the details of the execution
|
1936
1939
|
# of the specified workflow.
|
1937
1940
|
#
|
1941
|
+
# <note markdown="1"> This API call only returns details for in-progress workflows.
|
1942
|
+
#
|
1943
|
+
# If you provide an ID for an execution that is not in progress, or if
|
1944
|
+
# the execution doesn't match the specified workflow ID, you receive a
|
1945
|
+
# `ResourceNotFound` exception.
|
1946
|
+
#
|
1947
|
+
# </note>
|
1948
|
+
#
|
1938
1949
|
# @option params [required, String] :execution_id
|
1939
1950
|
# A unique identifier for the execution of a workflow.
|
1940
1951
|
#
|
@@ -2162,6 +2173,7 @@ module Aws::Transfer
|
|
2162
2173
|
# resp.server.identity_provider_details.invocation_role #=> String
|
2163
2174
|
# resp.server.identity_provider_details.directory_id #=> String
|
2164
2175
|
# resp.server.identity_provider_details.function #=> String
|
2176
|
+
# resp.server.identity_provider_details.sftp_authentication_methods #=> String, one of "PASSWORD", "PUBLIC_KEY", "PUBLIC_KEY_OR_PASSWORD", "PUBLIC_KEY_AND_PASSWORD"
|
2165
2177
|
# resp.server.identity_provider_type #=> String, one of "SERVICE_MANAGED", "API_GATEWAY", "AWS_DIRECTORY_SERVICE", "AWS_LAMBDA"
|
2166
2178
|
# resp.server.logging_role #=> String
|
2167
2179
|
# resp.server.post_authentication_login_banner #=> String
|
@@ -2470,9 +2482,9 @@ module Aws::Transfer
|
|
2470
2482
|
req.send_request(options)
|
2471
2483
|
end
|
2472
2484
|
|
2473
|
-
# Adds a Secure Shell (SSH) public key to a
|
2474
|
-
# `UserName` value assigned to the specific file
|
2475
|
-
# protocol-enabled server, identified by `ServerId`.
|
2485
|
+
# Adds a Secure Shell (SSH) public key to a Transfer Family user
|
2486
|
+
# identified by a `UserName` value assigned to the specific file
|
2487
|
+
# transfer protocol-enabled server, identified by `ServerId`.
|
2476
2488
|
#
|
2477
2489
|
# The response returns the `UserName` value, the `ServerId` value, and
|
2478
2490
|
# the name of the `SshPublicKeyId`.
|
@@ -2486,7 +2498,8 @@ module Aws::Transfer
|
|
2486
2498
|
# Transfer Family accepts RSA, ECDSA, and ED25519 keys.
|
2487
2499
|
#
|
2488
2500
|
# @option params [required, String] :user_name
|
2489
|
-
# The name of the user
|
2501
|
+
# The name of the Transfer Family user that is assigned to one or more
|
2502
|
+
# servers.
|
2490
2503
|
#
|
2491
2504
|
# @return [Types::ImportSshPublicKeyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2492
2505
|
#
|
@@ -2716,7 +2729,12 @@ module Aws::Transfer
|
|
2716
2729
|
req.send_request(options)
|
2717
2730
|
end
|
2718
2731
|
|
2719
|
-
# Lists all executions for the specified workflow.
|
2732
|
+
# Lists all in-progress executions for the specified workflow.
|
2733
|
+
#
|
2734
|
+
# <note markdown="1"> If the specified workflow ID cannot be found, `ListExecutions` returns
|
2735
|
+
# a `ResourceNotFound` exception.
|
2736
|
+
#
|
2737
|
+
# </note>
|
2720
2738
|
#
|
2721
2739
|
# @option params [Integer] :max_results
|
2722
2740
|
# Specifies the maximum number of executions to return.
|
@@ -2728,7 +2746,7 @@ module Aws::Transfer
|
|
2728
2746
|
#
|
2729
2747
|
# This is useful for pagination, for instance. If you have 100
|
2730
2748
|
# executions for a workflow, you might only want to list first 10. If
|
2731
|
-
# so, call the API by specifying the `max-results
|
2749
|
+
# so, call the API by specifying the `max-results`:
|
2732
2750
|
#
|
2733
2751
|
# `aws transfer list-executions --max-results 10`
|
2734
2752
|
#
|
@@ -3086,7 +3104,8 @@ module Aws::Transfer
|
|
3086
3104
|
req.send_request(options)
|
3087
3105
|
end
|
3088
3106
|
|
3089
|
-
# Lists all
|
3107
|
+
# Lists all workflows associated with your Amazon Web Services account
|
3108
|
+
# for your current region.
|
3090
3109
|
#
|
3091
3110
|
# @option params [Integer] :max_results
|
3092
3111
|
# Specifies the maximum number of workflows to return.
|
@@ -3281,8 +3300,8 @@ module Aws::Transfer
|
|
3281
3300
|
#
|
3282
3301
|
# @option params [required, Array<Types::Tag>] :tags
|
3283
3302
|
# Key-value pairs assigned to ARNs that you can use to group and search
|
3284
|
-
# for resources by type. You can attach this metadata to
|
3285
|
-
# for any purpose.
|
3303
|
+
# for resources by type. You can attach this metadata to resources
|
3304
|
+
# (servers, users, workflows, and so on) for any purpose.
|
3286
3305
|
#
|
3287
3306
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3288
3307
|
#
|
@@ -3318,10 +3337,16 @@ module Aws::Transfer
|
|
3318
3337
|
# The `ServerId` and `UserName` parameters are required. The
|
3319
3338
|
# `ServerProtocol`, `SourceIp`, and `UserPassword` are all optional.
|
3320
3339
|
#
|
3321
|
-
#
|
3322
|
-
# your server is `SERVICE_MANAGED`.
|
3340
|
+
# Note the following:
|
3323
3341
|
#
|
3324
|
-
#
|
3342
|
+
# * You cannot use `TestIdentityProvider` if the `IdentityProviderType`
|
3343
|
+
# of your server is `SERVICE_MANAGED`.
|
3344
|
+
#
|
3345
|
+
# * `TestIdentityProvider` does not work with keys: it only accepts
|
3346
|
+
# passwords.
|
3347
|
+
#
|
3348
|
+
# * `TestIdentityProvider` can test the password operation for a custom
|
3349
|
+
# Identity Provider that handles keys and passwords.
|
3325
3350
|
#
|
3326
3351
|
# * If you provide any incorrect values for any parameters, the
|
3327
3352
|
# `Response` field is empty.
|
@@ -3338,7 +3363,11 @@ module Aws::Transfer
|
|
3338
3363
|
# error:
|
3339
3364
|
#
|
3340
3365
|
# `An error occurred (ResourceNotFoundException) when calling the
|
3341
|
-
# TestIdentityProvider operation: Unknown server
|
3366
|
+
# TestIdentityProvider operation: Unknown server`.
|
3367
|
+
#
|
3368
|
+
# It is possible your sever is in a different region. You can specify
|
3369
|
+
# a region by adding the following: `--region region-code`, such as
|
3370
|
+
# `--region us-east-2` to specify a server in **US East (Ohio)**.
|
3342
3371
|
#
|
3343
3372
|
# @option params [required, String] :server_id
|
3344
3373
|
# A system-assigned identifier for a specific server. That server's
|
@@ -3355,14 +3384,16 @@ module Aws::Transfer
|
|
3355
3384
|
#
|
3356
3385
|
# * File Transfer Protocol (FTP)
|
3357
3386
|
#
|
3387
|
+
# * Applicability Statement 2 (AS2)
|
3388
|
+
#
|
3358
3389
|
# @option params [String] :source_ip
|
3359
|
-
# The source IP address of the
|
3390
|
+
# The source IP address of the account to be tested.
|
3360
3391
|
#
|
3361
3392
|
# @option params [required, String] :user_name
|
3362
|
-
# The name of the
|
3393
|
+
# The name of the account to be tested.
|
3363
3394
|
#
|
3364
3395
|
# @option params [String] :user_password
|
3365
|
-
# The password of the
|
3396
|
+
# The password of the account to be tested.
|
3366
3397
|
#
|
3367
3398
|
# @return [Types::TestIdentityProviderResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3368
3399
|
#
|
@@ -4060,7 +4091,7 @@ module Aws::Transfer
|
|
4060
4091
|
#
|
4061
4092
|
# @option params [required, String] :server_id
|
4062
4093
|
# A system-assigned unique identifier for a server instance that the
|
4063
|
-
# user
|
4094
|
+
# Transfer Family user is assigned to.
|
4064
4095
|
#
|
4065
4096
|
# @option params [Types::WorkflowDetails] :workflow_details
|
4066
4097
|
# Specifies the workflow ID for the workflow to assign and the execution
|
@@ -4069,7 +4100,8 @@ module Aws::Transfer
|
|
4069
4100
|
# In addition to a workflow to execute when a file is uploaded
|
4070
4101
|
# completely, `WorkflowDetails` can also contain a workflow ID (and
|
4071
4102
|
# execution role) for a workflow to execute on partial upload. A partial
|
4072
|
-
# upload occurs when
|
4103
|
+
# upload occurs when the server session disconnects while the file is
|
4104
|
+
# still being uploaded.
|
4073
4105
|
#
|
4074
4106
|
# To remove an associated workflow from a server, you can provide an
|
4075
4107
|
# empty `OnUpload` object, as in the following example.
|
@@ -4105,6 +4137,7 @@ module Aws::Transfer
|
|
4105
4137
|
# invocation_role: "Role",
|
4106
4138
|
# directory_id: "DirectoryId",
|
4107
4139
|
# function: "Function",
|
4140
|
+
# sftp_authentication_methods: "PASSWORD", # accepts PASSWORD, PUBLIC_KEY, PUBLIC_KEY_OR_PASSWORD, PUBLIC_KEY_AND_PASSWORD
|
4108
4141
|
# },
|
4109
4142
|
# logging_role: "NullableRole",
|
4110
4143
|
# post_authentication_login_banner: "PostAuthenticationLoginBanner",
|
@@ -4234,8 +4267,8 @@ module Aws::Transfer
|
|
4234
4267
|
# users' transfer requests.
|
4235
4268
|
#
|
4236
4269
|
# @option params [required, String] :server_id
|
4237
|
-
# A system-assigned unique identifier for a
|
4238
|
-
# user
|
4270
|
+
# A system-assigned unique identifier for a Transfer Family server
|
4271
|
+
# instance that the user is assigned to.
|
4239
4272
|
#
|
4240
4273
|
# @option params [required, String] :user_name
|
4241
4274
|
# A unique string that identifies a user and is associated with a server
|
@@ -4299,7 +4332,7 @@ module Aws::Transfer
|
|
4299
4332
|
params: params,
|
4300
4333
|
config: config)
|
4301
4334
|
context[:gem_name] = 'aws-sdk-transfer'
|
4302
|
-
context[:gem_version] = '1.
|
4335
|
+
context[:gem_version] = '1.68.0'
|
4303
4336
|
Seahorse::Client::Request.new(handlers, context)
|
4304
4337
|
end
|
4305
4338
|
|
@@ -249,6 +249,7 @@ module Aws::Transfer
|
|
249
249
|
ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
|
250
250
|
SessionId = Shapes::StringShape.new(name: 'SessionId')
|
251
251
|
SetStatOption = Shapes::StringShape.new(name: 'SetStatOption')
|
252
|
+
SftpAuthenticationMethods = Shapes::StringShape.new(name: 'SftpAuthenticationMethods')
|
252
253
|
SigningAlg = Shapes::StringShape.new(name: 'SigningAlg')
|
253
254
|
SourceFileLocation = Shapes::StringShape.new(name: 'SourceFileLocation')
|
254
255
|
SourceIp = Shapes::StringShape.new(name: 'SourceIp')
|
@@ -721,6 +722,7 @@ module Aws::Transfer
|
|
721
722
|
IdentityProviderDetails.add_member(:invocation_role, Shapes::ShapeRef.new(shape: Role, location_name: "InvocationRole"))
|
722
723
|
IdentityProviderDetails.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, location_name: "DirectoryId"))
|
723
724
|
IdentityProviderDetails.add_member(:function, Shapes::ShapeRef.new(shape: Function, location_name: "Function"))
|
725
|
+
IdentityProviderDetails.add_member(:sftp_authentication_methods, Shapes::ShapeRef.new(shape: SftpAuthenticationMethods, location_name: "SftpAuthenticationMethods"))
|
724
726
|
IdentityProviderDetails.struct_class = Types::IdentityProviderDetails
|
725
727
|
|
726
728
|
ImportCertificateRequest.add_member(:usage, Shapes::ShapeRef.new(shape: CertificateUsageType, required: true, location_name: "Usage"))
|
@@ -50,9 +50,6 @@ module Aws::Transfer
|
|
50
50
|
|
51
51
|
def initialize(options = {})
|
52
52
|
self[:region] = options[:region]
|
53
|
-
if self[:region].nil?
|
54
|
-
raise ArgumentError, "Missing required EndpointParameter: :region"
|
55
|
-
end
|
56
53
|
self[:use_dual_stack] = options[:use_dual_stack]
|
57
54
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
58
55
|
if self[:use_dual_stack].nil?
|
@@ -14,36 +14,39 @@ module Aws::Transfer
|
|
14
14
|
use_dual_stack = parameters.use_dual_stack
|
15
15
|
use_fips = parameters.use_fips
|
16
16
|
endpoint = parameters.endpoint
|
17
|
-
if
|
18
|
-
if Aws::Endpoints::Matchers.set?(endpoint)
|
19
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
|
-
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
|
-
end
|
22
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
-
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
|
-
end
|
25
|
-
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
26
|
-
end
|
27
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
28
|
-
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
29
|
-
return Aws::Endpoints::Endpoint.new(url: "https://transfer-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
30
|
-
end
|
31
|
-
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
32
|
-
end
|
17
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
33
18
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
34
|
-
|
35
|
-
return Aws::Endpoints::Endpoint.new(url: "https://transfer-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
36
|
-
end
|
37
|
-
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
19
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
38
20
|
end
|
39
21
|
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
40
|
-
|
41
|
-
|
22
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
23
|
+
end
|
24
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
25
|
+
end
|
26
|
+
if Aws::Endpoints::Matchers.set?(region)
|
27
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
29
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
30
|
+
return Aws::Endpoints::Endpoint.new(url: "https://transfer-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
31
|
+
end
|
32
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
|
+
end
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
36
|
+
return Aws::Endpoints::Endpoint.new(url: "https://transfer-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
|
+
end
|
38
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
39
|
+
end
|
40
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
41
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
42
|
+
return Aws::Endpoints::Endpoint.new(url: "https://transfer.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
43
|
+
end
|
44
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
42
45
|
end
|
43
|
-
|
46
|
+
return Aws::Endpoints::Endpoint.new(url: "https://transfer.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
44
47
|
end
|
45
|
-
return Aws::Endpoints::Endpoint.new(url: "https://transfer.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
46
48
|
end
|
49
|
+
raise ArgumentError, "Invalid Configuration: Missing Region"
|
47
50
|
raise ArgumentError, 'No endpoint could be resolved'
|
48
51
|
|
49
52
|
end
|
@@ -73,10 +73,10 @@ module Aws::Transfer
|
|
73
73
|
# transfers is synchronous or asynchronous. Specify either of the
|
74
74
|
# following values:
|
75
75
|
#
|
76
|
-
# * `SYNC
|
76
|
+
# * `SYNC`: The system expects a synchronous MDN response, confirming
|
77
77
|
# that the file was transferred successfully (or not).
|
78
78
|
#
|
79
|
-
# * `NONE
|
79
|
+
# * `NONE`: Specifies that no MDN response is required.
|
80
80
|
# @return [String]
|
81
81
|
#
|
82
82
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/As2ConnectorConfig AWS API Documentation
|
@@ -117,11 +117,11 @@ module Aws::Transfer
|
|
117
117
|
#
|
118
118
|
# @!attribute [rw] destination_file_location
|
119
119
|
# Specifies the location for the file being copied. Use
|
120
|
-
# `$\{Transfer:
|
120
|
+
# `$\{Transfer:UserName\}` or `$\{Transfer:UploadDate\}` in this field
|
121
121
|
# to parametrize the destination prefix by username or uploaded date.
|
122
122
|
#
|
123
123
|
# * Set the value of `DestinationFileLocation` to
|
124
|
-
# `$\{Transfer:
|
124
|
+
# `$\{Transfer:UserName\}` to copy uploaded files to an Amazon S3
|
125
125
|
# bucket that is prefixed with the name of the Transfer Family user
|
126
126
|
# that uploaded the file.
|
127
127
|
#
|
@@ -130,7 +130,7 @@ module Aws::Transfer
|
|
130
130
|
# bucket that is prefixed with the date of the upload.
|
131
131
|
#
|
132
132
|
# <note markdown="1"> The system resolves `UploadDate` to a date format of *YYYY-MM-DD*,
|
133
|
-
# based on the date the file is uploaded.
|
133
|
+
# based on the date the file is uploaded in UTC.
|
134
134
|
#
|
135
135
|
# </note>
|
136
136
|
# @return [Types::InputFileLocation]
|
@@ -138,6 +138,15 @@ module Aws::Transfer
|
|
138
138
|
# @!attribute [rw] overwrite_existing
|
139
139
|
# A flag that indicates whether to overwrite an existing file of the
|
140
140
|
# same name. The default is `FALSE`.
|
141
|
+
#
|
142
|
+
# If the workflow is processing a file that has the same name as an
|
143
|
+
# existing file, the behavior is as follows:
|
144
|
+
#
|
145
|
+
# * If `OverwriteExisting` is `TRUE`, the existing file is replaced
|
146
|
+
# with the file being processed.
|
147
|
+
#
|
148
|
+
# * If `OverwriteExisting` is `FALSE`, nothing happens, and the
|
149
|
+
# workflow processing stops.
|
141
150
|
# @return [String]
|
142
151
|
#
|
143
152
|
# @!attribute [rw] source_file_location
|
@@ -637,11 +646,12 @@ module Aws::Transfer
|
|
637
646
|
#
|
638
647
|
# @!attribute [rw] identity_provider_details
|
639
648
|
# Required when `IdentityProviderType` is set to
|
640
|
-
# `AWS_DIRECTORY_SERVICE`
|
641
|
-
# containing all of the information
|
642
|
-
# `AWS_DIRECTORY_SERVICE` or invoke a
|
643
|
-
# API, including the API Gateway URL.
|
644
|
-
# `IdentityProviderType` is set to
|
649
|
+
# `AWS_DIRECTORY_SERVICE`, `Amazon Web Services_LAMBDA` or
|
650
|
+
# `API_GATEWAY`. Accepts an array containing all of the information
|
651
|
+
# required to use a directory in `AWS_DIRECTORY_SERVICE` or invoke a
|
652
|
+
# customer-supplied authentication API, including the API Gateway URL.
|
653
|
+
# Not required when `IdentityProviderType` is set to
|
654
|
+
# `SERVICE_MANAGED`.
|
645
655
|
# @return [Types::IdentityProviderDetails]
|
646
656
|
#
|
647
657
|
# @!attribute [rw] identity_provider_type
|
@@ -663,7 +673,7 @@ module Aws::Transfer
|
|
663
673
|
#
|
664
674
|
# Use the `AWS_LAMBDA` value to directly use an Lambda function as
|
665
675
|
# your identity provider. If you choose this value, you must specify
|
666
|
-
# the ARN for the Lambda function in the `Function` parameter
|
676
|
+
# the ARN for the Lambda function in the `Function` parameter for the
|
667
677
|
# `IdentityProviderDetails` data type.
|
668
678
|
# @return [String]
|
669
679
|
#
|
@@ -775,8 +785,8 @@ module Aws::Transfer
|
|
775
785
|
# In addition to a workflow to execute when a file is uploaded
|
776
786
|
# completely, `WorkflowDetails` can also contain a workflow ID (and
|
777
787
|
# execution role) for a workflow to execute on partial upload. A
|
778
|
-
# partial upload occurs when
|
779
|
-
#
|
788
|
+
# partial upload occurs when the server session disconnects while the
|
789
|
+
# file is still being uploaded.
|
780
790
|
# @return [Types::WorkflowDetails]
|
781
791
|
#
|
782
792
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/CreateServerRequest AWS API Documentation
|
@@ -963,8 +973,7 @@ module Aws::Transfer
|
|
963
973
|
# @return [String]
|
964
974
|
#
|
965
975
|
# @!attribute [rw] user_name
|
966
|
-
# A unique string that identifies a
|
967
|
-
# server.
|
976
|
+
# A unique string that identifies a Transfer Family user.
|
968
977
|
# @return [String]
|
969
978
|
#
|
970
979
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/CreateUserResponse AWS API Documentation
|
@@ -1011,9 +1020,9 @@ module Aws::Transfer
|
|
1011
1020
|
# Specifies the steps (actions) to take if errors are encountered
|
1012
1021
|
# during execution of the workflow.
|
1013
1022
|
#
|
1014
|
-
# <note markdown="1"> For custom steps, the
|
1023
|
+
# <note markdown="1"> For custom steps, the Lambda function needs to send `FAILURE` to the
|
1015
1024
|
# call back API to kick off the exception steps. Additionally, if the
|
1016
|
-
#
|
1025
|
+
# Lambda does not send `SUCCESS` before it times out, the exception
|
1017
1026
|
# steps are executed.
|
1018
1027
|
#
|
1019
1028
|
# </note>
|
@@ -1054,7 +1063,7 @@ module Aws::Transfer
|
|
1054
1063
|
# @return [String]
|
1055
1064
|
#
|
1056
1065
|
# @!attribute [rw] target
|
1057
|
-
# The ARN for the
|
1066
|
+
# The ARN for the Lambda function that is being called.
|
1058
1067
|
# @return [String]
|
1059
1068
|
#
|
1060
1069
|
# @!attribute [rw] timeout_seconds
|
@@ -1111,10 +1120,35 @@ module Aws::Transfer
|
|
1111
1120
|
# @!attribute [rw] overwrite_existing
|
1112
1121
|
# A flag that indicates whether to overwrite an existing file of the
|
1113
1122
|
# same name. The default is `FALSE`.
|
1123
|
+
#
|
1124
|
+
# If the workflow is processing a file that has the same name as an
|
1125
|
+
# existing file, the behavior is as follows:
|
1126
|
+
#
|
1127
|
+
# * If `OverwriteExisting` is `TRUE`, the existing file is replaced
|
1128
|
+
# with the file being processed.
|
1129
|
+
#
|
1130
|
+
# * If `OverwriteExisting` is `FALSE`, nothing happens, and the
|
1131
|
+
# workflow processing stops.
|
1114
1132
|
# @return [String]
|
1115
1133
|
#
|
1116
1134
|
# @!attribute [rw] destination_file_location
|
1117
|
-
# Specifies the location for the file
|
1135
|
+
# Specifies the location for the file being decrypted. Use
|
1136
|
+
# `$\{Transfer:UserName\}` or `$\{Transfer:UploadDate\}` in this field
|
1137
|
+
# to parametrize the destination prefix by username or uploaded date.
|
1138
|
+
#
|
1139
|
+
# * Set the value of `DestinationFileLocation` to
|
1140
|
+
# `$\{Transfer:UserName\}` to decrypt uploaded files to an Amazon S3
|
1141
|
+
# bucket that is prefixed with the name of the Transfer Family user
|
1142
|
+
# that uploaded the file.
|
1143
|
+
#
|
1144
|
+
# * Set the value of `DestinationFileLocation` to
|
1145
|
+
# `$\{Transfer:UploadDate\}` to decrypt uploaded files to an Amazon
|
1146
|
+
# S3 bucket that is prefixed with the date of the upload.
|
1147
|
+
#
|
1148
|
+
# <note markdown="1"> The system resolves `UploadDate` to a date format of *YYYY-MM-DD*,
|
1149
|
+
# based on the date the file is uploaded in UTC.
|
1150
|
+
#
|
1151
|
+
# </note>
|
1118
1152
|
# @return [Types::InputFileLocation]
|
1119
1153
|
#
|
1120
1154
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DecryptStepDetails AWS API Documentation
|
@@ -1628,8 +1662,8 @@ module Aws::Transfer
|
|
1628
1662
|
# @return [String]
|
1629
1663
|
#
|
1630
1664
|
# @!attribute [rw] user
|
1631
|
-
# An array containing the properties of the user
|
1632
|
-
# `ServerID` value that you specified.
|
1665
|
+
# An array containing the properties of the Transfer Family user for
|
1666
|
+
# the `ServerID` value that you specified.
|
1633
1667
|
# @return [Types::DescribedUser]
|
1634
1668
|
#
|
1635
1669
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DescribeUserResponse AWS API Documentation
|
@@ -2293,7 +2327,7 @@ module Aws::Transfer
|
|
2293
2327
|
#
|
2294
2328
|
# Use the `AWS_LAMBDA` value to directly use an Lambda function as
|
2295
2329
|
# your identity provider. If you choose this value, you must specify
|
2296
|
-
# the ARN for the Lambda function in the `Function` parameter
|
2330
|
+
# the ARN for the Lambda function in the `Function` parameter for the
|
2297
2331
|
# `IdentityProviderDetails` data type.
|
2298
2332
|
# @return [String]
|
2299
2333
|
#
|
@@ -2402,8 +2436,8 @@ module Aws::Transfer
|
|
2402
2436
|
# In addition to a workflow to execute when a file is uploaded
|
2403
2437
|
# completely, `WorkflowDetails` can also contain a workflow ID (and
|
2404
2438
|
# execution role) for a workflow to execute on partial upload. A
|
2405
|
-
# partial upload occurs when
|
2406
|
-
#
|
2439
|
+
# partial upload occurs when the server session disconnects while the
|
2440
|
+
# file is still being uploaded.
|
2407
2441
|
# @return [Types::WorkflowDetails]
|
2408
2442
|
#
|
2409
2443
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DescribedServer AWS API Documentation
|
@@ -2695,36 +2729,36 @@ module Aws::Transfer
|
|
2695
2729
|
# @!attribute [rw] type
|
2696
2730
|
# Specifies the error type.
|
2697
2731
|
#
|
2698
|
-
# * `ALREADY_EXISTS
|
2732
|
+
# * `ALREADY_EXISTS`: occurs for a copy step, if the overwrite option
|
2699
2733
|
# is not selected and a file with the same name already exists in
|
2700
2734
|
# the target location.
|
2701
2735
|
#
|
2702
|
-
# * `BAD_REQUEST
|
2736
|
+
# * `BAD_REQUEST`: a general bad request: for example, a step that
|
2703
2737
|
# attempts to tag an EFS file returns `BAD_REQUEST`, as only S3
|
2704
2738
|
# files can be tagged.
|
2705
2739
|
#
|
2706
|
-
# * `CUSTOM_STEP_FAILED
|
2740
|
+
# * `CUSTOM_STEP_FAILED`: occurs when the custom step provided a
|
2707
2741
|
# callback that indicates failure.
|
2708
2742
|
#
|
2709
|
-
# * `INTERNAL_SERVER_ERROR
|
2743
|
+
# * `INTERNAL_SERVER_ERROR`: a catch-all error that can occur for a
|
2710
2744
|
# variety of reasons.
|
2711
2745
|
#
|
2712
|
-
# * `NOT_FOUND
|
2746
|
+
# * `NOT_FOUND`: occurs when a requested entity, for example a source
|
2713
2747
|
# file for a copy step, does not exist.
|
2714
2748
|
#
|
2715
|
-
# * `PERMISSION_DENIED
|
2749
|
+
# * `PERMISSION_DENIED`: occurs if your policy does not contain the
|
2716
2750
|
# correct permissions to complete one or more of the steps in the
|
2717
2751
|
# workflow.
|
2718
2752
|
#
|
2719
|
-
# * `TIMEOUT
|
2753
|
+
# * `TIMEOUT`: occurs when the execution times out.
|
2720
2754
|
#
|
2721
2755
|
# <note markdown="1"> You can set the `TimeoutSeconds` for a custom step, anywhere from
|
2722
2756
|
# 1 second to 1800 seconds (30 minutes).
|
2723
2757
|
#
|
2724
2758
|
# </note>
|
2725
2759
|
#
|
2726
|
-
# * `THROTTLED
|
2727
|
-
#
|
2760
|
+
# * `THROTTLED`: occurs if you exceed the new execution refill rate of
|
2761
|
+
# one workflow per second.
|
2728
2762
|
# @return [String]
|
2729
2763
|
#
|
2730
2764
|
# @!attribute [rw] message
|
@@ -2857,8 +2891,9 @@ module Aws::Transfer
|
|
2857
2891
|
# @return [String]
|
2858
2892
|
#
|
2859
2893
|
# @!attribute [rw] invocation_role
|
2860
|
-
#
|
2861
|
-
#
|
2894
|
+
# This parameter is only applicable if your `IdentityProviderType` is
|
2895
|
+
# `API_GATEWAY`. Provides the type of `InvocationRole` used to
|
2896
|
+
# authenticate the user account.
|
2862
2897
|
# @return [String]
|
2863
2898
|
#
|
2864
2899
|
# @!attribute [rw] directory_id
|
@@ -2867,7 +2902,26 @@ module Aws::Transfer
|
|
2867
2902
|
# @return [String]
|
2868
2903
|
#
|
2869
2904
|
# @!attribute [rw] function
|
2870
|
-
# The ARN for a
|
2905
|
+
# The ARN for a Lambda function to use for the Identity provider.
|
2906
|
+
# @return [String]
|
2907
|
+
#
|
2908
|
+
# @!attribute [rw] sftp_authentication_methods
|
2909
|
+
# For SFTP-enabled servers, and for custom identity providers *only*,
|
2910
|
+
# you can specify whether to authenticate using a password, SSH key
|
2911
|
+
# pair, or both.
|
2912
|
+
#
|
2913
|
+
# * `PASSWORD` - users must provide their password to connect.
|
2914
|
+
#
|
2915
|
+
# * `PUBLIC_KEY` - users must provide their private key to connect.
|
2916
|
+
#
|
2917
|
+
# * `PUBLIC_KEY_OR_PASSWORD` - users can authenticate with either
|
2918
|
+
# their password or their key. This is the default value.
|
2919
|
+
#
|
2920
|
+
# * `PUBLIC_KEY_AND_PASSWORD` - users must provide both their private
|
2921
|
+
# key and their password to connect. The server checks the key
|
2922
|
+
# first, and then if the key is valid, the system prompts for a
|
2923
|
+
# password. If the private key provided does not match the public
|
2924
|
+
# key that is stored, authentication fails.
|
2871
2925
|
# @return [String]
|
2872
2926
|
#
|
2873
2927
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/IdentityProviderDetails AWS API Documentation
|
@@ -2876,7 +2930,8 @@ module Aws::Transfer
|
|
2876
2930
|
:url,
|
2877
2931
|
:invocation_role,
|
2878
2932
|
:directory_id,
|
2879
|
-
:function
|
2933
|
+
:function,
|
2934
|
+
:sftp_authentication_methods)
|
2880
2935
|
SENSITIVE = []
|
2881
2936
|
include Aws::Structure
|
2882
2937
|
end
|
@@ -3014,7 +3069,7 @@ module Aws::Transfer
|
|
3014
3069
|
# @return [String]
|
3015
3070
|
#
|
3016
3071
|
# @!attribute [rw] user_name
|
3017
|
-
# The name of the user
|
3072
|
+
# The name of the Transfer Family user that is assigned to one or more
|
3018
3073
|
# servers.
|
3019
3074
|
# @return [String]
|
3020
3075
|
#
|
@@ -3302,7 +3357,7 @@ module Aws::Transfer
|
|
3302
3357
|
#
|
3303
3358
|
# This is useful for pagination, for instance. If you have 100
|
3304
3359
|
# executions for a workflow, you might only want to list first 10. If
|
3305
|
-
# so, call the API by specifying the `max-results
|
3360
|
+
# so, call the API by specifying the `max-results`:
|
3306
3361
|
#
|
3307
3362
|
# `aws transfer list-executions --max-results 10`
|
3308
3363
|
#
|
@@ -3343,19 +3398,8 @@ module Aws::Transfer
|
|
3343
3398
|
# @return [String]
|
3344
3399
|
#
|
3345
3400
|
# @!attribute [rw] executions
|
3346
|
-
# Returns the details for each execution
|
3347
|
-
#
|
3348
|
-
# * **NextToken**\: returned from a call to several APIs, you can use
|
3349
|
-
# pass it to a subsequent command to continue listing additional
|
3350
|
-
# executions.
|
3351
|
-
#
|
3352
|
-
# * **StartTime**\: timestamp indicating when the execution began.
|
3353
|
-
#
|
3354
|
-
# * **Executions**\: details of the execution, including the execution
|
3355
|
-
# ID, initial file location, and Service metadata.
|
3356
|
-
#
|
3357
|
-
# * **Status**\: one of the following values: `IN_PROGRESS`,
|
3358
|
-
# `COMPLETED`, `EXCEPTION`, `HANDLING_EXEPTION`.
|
3401
|
+
# Returns the details for each execution, in a `ListedExecution`
|
3402
|
+
# array.
|
3359
3403
|
# @return [Array<Types::ListedExecution>]
|
3360
3404
|
#
|
3361
3405
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ListExecutionsResponse AWS API Documentation
|
@@ -3638,8 +3682,8 @@ module Aws::Transfer
|
|
3638
3682
|
# @return [String]
|
3639
3683
|
#
|
3640
3684
|
# @!attribute [rw] users
|
3641
|
-
# Returns the
|
3642
|
-
# value that you specify.
|
3685
|
+
# Returns the Transfer Family users and their properties for the
|
3686
|
+
# `ServerId` value that you specify.
|
3643
3687
|
# @return [Array<Types::ListedUser>]
|
3644
3688
|
#
|
3645
3689
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ListUsersResponse AWS API Documentation
|
@@ -4038,7 +4082,7 @@ module Aws::Transfer
|
|
4038
4082
|
#
|
4039
4083
|
# Use the `AWS_LAMBDA` value to directly use an Lambda function as
|
4040
4084
|
# your identity provider. If you choose this value, you must specify
|
4041
|
-
# the ARN for the Lambda function in the `Function` parameter
|
4085
|
+
# the ARN for the Lambda function in the `Function` parameter for the
|
4042
4086
|
# `IdentityProviderDetails` data type.
|
4043
4087
|
# @return [String]
|
4044
4088
|
#
|
@@ -4292,15 +4336,15 @@ module Aws::Transfer
|
|
4292
4336
|
# `TlsSessionResumptionMode` value is not specified during
|
4293
4337
|
# `CreateServer`, it is set to `ENFORCED` by default.
|
4294
4338
|
#
|
4295
|
-
# * `DISABLED
|
4339
|
+
# * `DISABLED`: the server does not process TLS session resumption
|
4296
4340
|
# client requests and creates a new TLS session for each request.
|
4297
4341
|
#
|
4298
|
-
# * `ENABLED
|
4342
|
+
# * `ENABLED`: the server processes and accepts clients that are
|
4299
4343
|
# performing TLS session resumption. The server doesn't reject
|
4300
4344
|
# client data connections that do not perform the TLS session
|
4301
4345
|
# resumption client processing.
|
4302
4346
|
#
|
4303
|
-
# * `ENFORCED
|
4347
|
+
# * `ENFORCED`: the server processes and accepts clients that are
|
4304
4348
|
# performing TLS session resumption. The server rejects client data
|
4305
4349
|
# connections that do not perform the TLS session resumption client
|
4306
4350
|
# processing. Before you set the value to `ENFORCED`, test your
|
@@ -4448,7 +4492,7 @@ module Aws::Transfer
|
|
4448
4492
|
# For example, if your path is `shared-files/bob/`, your uploaded files
|
4449
4493
|
# are copied to the `shared-files/bob/`, folder. If your path is
|
4450
4494
|
# `shared-files/today`, each uploaded file is copied to the
|
4451
|
-
# `shared-files` folder and named `today
|
4495
|
+
# `shared-files` folder and named `today`: each upload overwrites the
|
4452
4496
|
# previous version of the *bob* file.
|
4453
4497
|
#
|
4454
4498
|
# @!attribute [rw] bucket
|
@@ -4552,15 +4596,15 @@ module Aws::Transfer
|
|
4552
4596
|
end
|
4553
4597
|
|
4554
4598
|
# Provides information about the public Secure Shell (SSH) key that is
|
4555
|
-
# associated with a user
|
4599
|
+
# associated with a Transfer Family user for the specific file transfer
|
4556
4600
|
# protocol-enabled server (as identified by `ServerId`). The information
|
4557
4601
|
# returned includes the date the key was imported, the public key
|
4558
4602
|
# contents, and the public key ID. A user can store more than one SSH
|
4559
4603
|
# public key associated with their user name on a specific server.
|
4560
4604
|
#
|
4561
4605
|
# @!attribute [rw] date_imported
|
4562
|
-
# Specifies the date that the public key was added to the
|
4563
|
-
#
|
4606
|
+
# Specifies the date that the public key was added to the Transfer
|
4607
|
+
# Family user.
|
4564
4608
|
# @return [Time]
|
4565
4609
|
#
|
4566
4610
|
# @!attribute [rw] ssh_public_key_body
|
@@ -4672,8 +4716,8 @@ module Aws::Transfer
|
|
4672
4716
|
#
|
4673
4717
|
# @!attribute [rw] tags
|
4674
4718
|
# Key-value pairs assigned to ARNs that you can use to group and
|
4675
|
-
# search for resources by type. You can attach this metadata to
|
4676
|
-
#
|
4719
|
+
# search for resources by type. You can attach this metadata to
|
4720
|
+
# resources (servers, users, workflows, and so on) for any purpose.
|
4677
4721
|
# @return [Array<Types::Tag>]
|
4678
4722
|
#
|
4679
4723
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/TagResourceRequest AWS API Documentation
|
@@ -4736,18 +4780,20 @@ module Aws::Transfer
|
|
4736
4780
|
# * File Transfer Protocol Secure (FTPS)
|
4737
4781
|
#
|
4738
4782
|
# * File Transfer Protocol (FTP)
|
4783
|
+
#
|
4784
|
+
# * Applicability Statement 2 (AS2)
|
4739
4785
|
# @return [String]
|
4740
4786
|
#
|
4741
4787
|
# @!attribute [rw] source_ip
|
4742
|
-
# The source IP address of the
|
4788
|
+
# The source IP address of the account to be tested.
|
4743
4789
|
# @return [String]
|
4744
4790
|
#
|
4745
4791
|
# @!attribute [rw] user_name
|
4746
|
-
# The name of the
|
4792
|
+
# The name of the account to be tested.
|
4747
4793
|
# @return [String]
|
4748
4794
|
#
|
4749
4795
|
# @!attribute [rw] user_password
|
4750
|
-
# The password of the
|
4796
|
+
# The password of the account to be tested.
|
4751
4797
|
# @return [String]
|
4752
4798
|
#
|
4753
4799
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/TestIdentityProviderRequest AWS API Documentation
|
@@ -4763,11 +4809,13 @@ module Aws::Transfer
|
|
4763
4809
|
end
|
4764
4810
|
|
4765
4811
|
# @!attribute [rw] response
|
4766
|
-
# The response that is returned from your API Gateway
|
4812
|
+
# The response that is returned from your API Gateway or your Lambda
|
4813
|
+
# function.
|
4767
4814
|
# @return [String]
|
4768
4815
|
#
|
4769
4816
|
# @!attribute [rw] status_code
|
4770
|
-
# The HTTP status code that is the response from your API Gateway
|
4817
|
+
# The HTTP status code that is the response from your API Gateway or
|
4818
|
+
# your Lambda function.
|
4771
4819
|
# @return [Integer]
|
4772
4820
|
#
|
4773
4821
|
# @!attribute [rw] message
|
@@ -5452,7 +5500,7 @@ module Aws::Transfer
|
|
5452
5500
|
#
|
5453
5501
|
# @!attribute [rw] server_id
|
5454
5502
|
# A system-assigned unique identifier for a server instance that the
|
5455
|
-
# user
|
5503
|
+
# Transfer Family user is assigned to.
|
5456
5504
|
# @return [String]
|
5457
5505
|
#
|
5458
5506
|
# @!attribute [rw] workflow_details
|
@@ -5462,8 +5510,8 @@ module Aws::Transfer
|
|
5462
5510
|
# In addition to a workflow to execute when a file is uploaded
|
5463
5511
|
# completely, `WorkflowDetails` can also contain a workflow ID (and
|
5464
5512
|
# execution role) for a workflow to execute on partial upload. A
|
5465
|
-
# partial upload occurs when
|
5466
|
-
#
|
5513
|
+
# partial upload occurs when the server session disconnects while the
|
5514
|
+
# file is still being uploaded.
|
5467
5515
|
#
|
5468
5516
|
# To remove an associated workflow from a server, you can provide an
|
5469
5517
|
# empty `OnUpload` object, as in the following example.
|
@@ -5493,8 +5541,8 @@ module Aws::Transfer
|
|
5493
5541
|
end
|
5494
5542
|
|
5495
5543
|
# @!attribute [rw] server_id
|
5496
|
-
# A system-assigned unique identifier for a server that the
|
5497
|
-
#
|
5544
|
+
# A system-assigned unique identifier for a server that the Transfer
|
5545
|
+
# Family user is assigned to.
|
5498
5546
|
# @return [String]
|
5499
5547
|
#
|
5500
5548
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/UpdateServerResponse AWS API Documentation
|
@@ -5599,8 +5647,8 @@ module Aws::Transfer
|
|
5599
5647
|
# @return [String]
|
5600
5648
|
#
|
5601
5649
|
# @!attribute [rw] server_id
|
5602
|
-
# A system-assigned unique identifier for a
|
5603
|
-
# user
|
5650
|
+
# A system-assigned unique identifier for a Transfer Family server
|
5651
|
+
# instance that the user is assigned to.
|
5604
5652
|
# @return [String]
|
5605
5653
|
#
|
5606
5654
|
# @!attribute [rw] user_name
|
@@ -5631,8 +5679,8 @@ module Aws::Transfer
|
|
5631
5679
|
# request to update a user's properties.
|
5632
5680
|
#
|
5633
5681
|
# @!attribute [rw] server_id
|
5634
|
-
# A system-assigned unique identifier for a
|
5635
|
-
#
|
5682
|
+
# A system-assigned unique identifier for a Transfer Family server
|
5683
|
+
# instance that the account is assigned to.
|
5636
5684
|
# @return [String]
|
5637
5685
|
#
|
5638
5686
|
# @!attribute [rw] user_name
|
@@ -5652,8 +5700,8 @@ module Aws::Transfer
|
|
5652
5700
|
# Specifies the user name, server ID, and session ID for a workflow.
|
5653
5701
|
#
|
5654
5702
|
# @!attribute [rw] user_name
|
5655
|
-
# A unique string that identifies a user
|
5656
|
-
# server.
|
5703
|
+
# A unique string that identifies a Transfer Family user associated
|
5704
|
+
# with a server.
|
5657
5705
|
# @return [String]
|
5658
5706
|
#
|
5659
5707
|
# @!attribute [rw] server_id
|
@@ -5682,7 +5730,8 @@ module Aws::Transfer
|
|
5682
5730
|
# In addition to a workflow to execute when a file is uploaded
|
5683
5731
|
# completely, `WorkflowDetails` can also contain a workflow ID (and
|
5684
5732
|
# execution role) for a workflow to execute on partial upload. A partial
|
5685
|
-
# upload occurs when
|
5733
|
+
# upload occurs when the server session disconnects while the file is
|
5734
|
+
# still being uploaded.
|
5686
5735
|
#
|
5687
5736
|
# @!attribute [rw] workflow_id
|
5688
5737
|
# A unique identifier for the workflow.
|
data/lib/aws-sdk-transfer.rb
CHANGED
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.68.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: 2023-
|
11
|
+
date: 2023-05-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|