aws-sdk-transfer 1.59.0 → 1.60.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 +76 -35
- data/lib/aws-sdk-transfer/client_api.rb +5 -1
- data/lib/aws-sdk-transfer/types.rb +152 -69
- 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: 5669837987ccd1bb143f2599b6bb22fd35ee846843ff935079a7e25d49b6a1dc
|
4
|
+
data.tar.gz: 1b001adbb9be475e9909f1e4da8bf353a3ec565284cc3bb3243454c8c8a347cf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5dea701e6cb6af0304123df9d7409095cc8b82fc936063b5f3ce01fcd228fadc34c0826c7293a6f3bac23a0be2b22d7be4aab2e67eb6dc79627bc68335adf787
|
7
|
+
data.tar.gz: b3ab9b4ad168381b6461f3779b71c88f8705cd2300c1bb233809f5b2210b883aefd203822a9b433555296addbe5a3cdb08d90750b965a8b3fcc5ae971155c689
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.60.0 (2022-10-13)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds an option for customers to configure workflows that are triggered when files are only partially received from a client due to premature session disconnect.
|
8
|
+
|
4
9
|
1.59.0 (2022-09-13)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.60.0
|
@@ -544,7 +544,8 @@ module Aws::Transfer
|
|
544
544
|
# The landing directory (folder) for files transferred by using the AS2
|
545
545
|
# protocol.
|
546
546
|
#
|
547
|
-
# A `BaseDirectory` example is
|
547
|
+
# A `BaseDirectory` example is
|
548
|
+
# *DOC-EXAMPLE-BUCKET*/*home*/*mydirectory*.
|
548
549
|
#
|
549
550
|
# @option params [required, String] :access_role
|
550
551
|
# With AS2, you can send files by calling `StartFileTransfer` and
|
@@ -604,7 +605,12 @@ module Aws::Transfer
|
|
604
605
|
|
605
606
|
# Creates the connector, which captures the parameters for an outbound
|
606
607
|
# connection for the AS2 protocol. The connector is required for sending
|
607
|
-
# files
|
608
|
+
# files to an externally hosted AS2 server. For more details about
|
609
|
+
# connectors, see [Create AS2 connectors][1].
|
610
|
+
#
|
611
|
+
#
|
612
|
+
#
|
613
|
+
# [1]: https://docs.aws.amazon.com/transfer/latest/userguide/create-b2b-server.html#configure-as2-connector
|
608
614
|
#
|
609
615
|
# @option params [required, String] :url
|
610
616
|
# The URL of the partner's AS2 endpoint.
|
@@ -677,8 +683,7 @@ module Aws::Transfer
|
|
677
683
|
req.send_request(options)
|
678
684
|
end
|
679
685
|
|
680
|
-
# Creates the
|
681
|
-
# partner and the AS2 process.
|
686
|
+
# Creates the local or partner profile to use for AS2 transfers.
|
682
687
|
#
|
683
688
|
# @option params [required, String] :as_2_id
|
684
689
|
# The `As2Id` is the *AS2-name*, as defined in the [RFC 4130][1]. For
|
@@ -692,9 +697,14 @@ module Aws::Transfer
|
|
692
697
|
# [1]: https://datatracker.ietf.org/doc/html/rfc4130
|
693
698
|
#
|
694
699
|
# @option params [required, String] :profile_type
|
695
|
-
#
|
696
|
-
#
|
697
|
-
#
|
700
|
+
# Determines the type of profile to create:
|
701
|
+
#
|
702
|
+
# * Specify `LOCAL` to create a local profile. A local profile
|
703
|
+
# represents the AS2-enabled Transfer Family server organization or
|
704
|
+
# party.
|
705
|
+
#
|
706
|
+
# * Specify `PARTNER` to create a partner profile. A partner profile
|
707
|
+
# represents a remote organization, external to Transfer Family.
|
698
708
|
#
|
699
709
|
# @option params [Array<String>] :certificate_ids
|
700
710
|
# An array of identifiers for the imported certificates. You use this
|
@@ -824,7 +834,9 @@ module Aws::Transfer
|
|
824
834
|
# </note>
|
825
835
|
#
|
826
836
|
# @option params [String] :host_key
|
827
|
-
# The RSA, ECDSA, or ED25519 private key to use for your
|
837
|
+
# The RSA, ECDSA, or ED25519 private key to use for your SFTP-enabled
|
838
|
+
# server. You can add multiple host keys, in case you want to rotate
|
839
|
+
# keys, or have a set of active keys that use different algorithms.
|
828
840
|
#
|
829
841
|
# Use the following command to generate an RSA 2048 bit key with no
|
830
842
|
# passphrase:
|
@@ -853,7 +865,7 @@ module Aws::Transfer
|
|
853
865
|
# SFTP-enabled server to a new server, don't update the host key.
|
854
866
|
# Accidentally changing a server's host key can be disruptive.
|
855
867
|
#
|
856
|
-
# For more information, see [
|
868
|
+
# For more information, see [Update host keys for your SFTP-enabled
|
857
869
|
# server][1] in the *Transfer Family User Guide*.
|
858
870
|
#
|
859
871
|
#
|
@@ -985,6 +997,11 @@ module Aws::Transfer
|
|
985
997
|
# Specifies the workflow ID for the workflow to assign and the execution
|
986
998
|
# role that's used for executing the workflow.
|
987
999
|
#
|
1000
|
+
# In additon to a workflow to execute when a file is uploaded
|
1001
|
+
# completely, `WorkflowDeatails` can also contain a workflow ID (and
|
1002
|
+
# execution role) for a workflow to execute on partial upload. A partial
|
1003
|
+
# upload occurs when a file is open when the session disconnects.
|
1004
|
+
#
|
988
1005
|
# @return [Types::CreateServerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
989
1006
|
#
|
990
1007
|
# * {Types::CreateServerResponse#server_id #server_id} => String
|
@@ -1028,7 +1045,13 @@ module Aws::Transfer
|
|
1028
1045
|
# },
|
1029
1046
|
# ],
|
1030
1047
|
# workflow_details: {
|
1031
|
-
# on_upload: [
|
1048
|
+
# on_upload: [
|
1049
|
+
# {
|
1050
|
+
# workflow_id: "WorkflowId", # required
|
1051
|
+
# execution_role: "Role", # required
|
1052
|
+
# },
|
1053
|
+
# ],
|
1054
|
+
# on_partial_upload: [
|
1032
1055
|
# {
|
1033
1056
|
# workflow_id: "WorkflowId", # required
|
1034
1057
|
# execution_role: "Role", # required
|
@@ -1418,7 +1441,8 @@ module Aws::Transfer
|
|
1418
1441
|
# when you create an agreement.
|
1419
1442
|
#
|
1420
1443
|
# @option params [required, String] :server_id
|
1421
|
-
# The server
|
1444
|
+
# The server identifier associated with the agreement that you are
|
1445
|
+
# deleting.
|
1422
1446
|
#
|
1423
1447
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1424
1448
|
#
|
@@ -1442,7 +1466,7 @@ module Aws::Transfer
|
|
1442
1466
|
# parameter.
|
1443
1467
|
#
|
1444
1468
|
# @option params [required, String] :certificate_id
|
1445
|
-
# The
|
1469
|
+
# The identifier of the certificate object that you are deleting.
|
1446
1470
|
#
|
1447
1471
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1448
1472
|
#
|
@@ -1486,11 +1510,11 @@ module Aws::Transfer
|
|
1486
1510
|
# Deletes the host key that's specified in the `HoskKeyId` parameter.
|
1487
1511
|
#
|
1488
1512
|
# @option params [required, String] :server_id
|
1489
|
-
#
|
1513
|
+
# The identifier of the server that contains the host key that you are
|
1490
1514
|
# deleting.
|
1491
1515
|
#
|
1492
1516
|
# @option params [required, String] :host_key_id
|
1493
|
-
# The
|
1517
|
+
# The identifier of the host key that you are deleting.
|
1494
1518
|
#
|
1495
1519
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1496
1520
|
#
|
@@ -1513,7 +1537,7 @@ module Aws::Transfer
|
|
1513
1537
|
# Deletes the profile that's specified in the `ProfileId` parameter.
|
1514
1538
|
#
|
1515
1539
|
# @option params [required, String] :profile_id
|
1516
|
-
# The
|
1540
|
+
# The identifier of the profile that you are deleting.
|
1517
1541
|
#
|
1518
1542
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1519
1543
|
#
|
@@ -1719,7 +1743,7 @@ module Aws::Transfer
|
|
1719
1743
|
# when you create an agreement.
|
1720
1744
|
#
|
1721
1745
|
# @option params [required, String] :server_id
|
1722
|
-
# The server
|
1746
|
+
# The server identifier that's associated with the agreement.
|
1723
1747
|
#
|
1724
1748
|
# @return [Types::DescribeAgreementResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1725
1749
|
#
|
@@ -1909,11 +1933,11 @@ module Aws::Transfer
|
|
1909
1933
|
# `HostKeyId` and `ServerId`.
|
1910
1934
|
#
|
1911
1935
|
# @option params [required, String] :server_id
|
1912
|
-
#
|
1936
|
+
# The identifier of the server that contains the host key that you want
|
1913
1937
|
# described.
|
1914
1938
|
#
|
1915
1939
|
# @option params [required, String] :host_key_id
|
1916
|
-
#
|
1940
|
+
# The identifier of the host key that you want described.
|
1917
1941
|
#
|
1918
1942
|
# @return [Types::DescribeHostKeyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1919
1943
|
#
|
@@ -2089,6 +2113,9 @@ module Aws::Transfer
|
|
2089
2113
|
# resp.server.workflow_details.on_upload #=> Array
|
2090
2114
|
# resp.server.workflow_details.on_upload[0].workflow_id #=> String
|
2091
2115
|
# resp.server.workflow_details.on_upload[0].execution_role #=> String
|
2116
|
+
# resp.server.workflow_details.on_partial_upload #=> Array
|
2117
|
+
# resp.server.workflow_details.on_partial_upload[0].workflow_id #=> String
|
2118
|
+
# resp.server.workflow_details.on_partial_upload[0].execution_role #=> String
|
2092
2119
|
#
|
2093
2120
|
#
|
2094
2121
|
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
@@ -2302,10 +2329,11 @@ module Aws::Transfer
|
|
2302
2329
|
req.send_request(options)
|
2303
2330
|
end
|
2304
2331
|
|
2305
|
-
# Adds a host key to the server specified by the `ServerId`
|
2332
|
+
# Adds a host key to the server that's specified by the `ServerId`
|
2333
|
+
# parameter.
|
2306
2334
|
#
|
2307
2335
|
# @option params [required, String] :server_id
|
2308
|
-
#
|
2336
|
+
# The identifier of the server that contains the host key that you are
|
2309
2337
|
# importing.
|
2310
2338
|
#
|
2311
2339
|
# @option params [required, String] :host_key_body
|
@@ -2314,7 +2342,7 @@ module Aws::Transfer
|
|
2314
2342
|
# Transfer Family accepts RSA, ECDSA, and ED25519 keys.
|
2315
2343
|
#
|
2316
2344
|
# @option params [String] :description
|
2317
|
-
#
|
2345
|
+
# The text description that identifies this host key.
|
2318
2346
|
#
|
2319
2347
|
# @option params [Array<Types::Tag>] :tags
|
2320
2348
|
# Key-value pairs that can be used to group and search for host keys.
|
@@ -2670,8 +2698,8 @@ module Aws::Transfer
|
|
2670
2698
|
req.send_request(options)
|
2671
2699
|
end
|
2672
2700
|
|
2673
|
-
# Returns a list of host keys for the server specified by the
|
2674
|
-
#
|
2701
|
+
# Returns a list of host keys for the server that's specified by the
|
2702
|
+
# `ServerId` parameter.
|
2675
2703
|
#
|
2676
2704
|
# @option params [Integer] :max_results
|
2677
2705
|
# The maximum number of host keys to return.
|
@@ -2682,7 +2710,7 @@ module Aws::Transfer
|
|
2682
2710
|
# subsequent call to `ListHostKeys` to continue listing results.
|
2683
2711
|
#
|
2684
2712
|
# @option params [required, String] :server_id
|
2685
|
-
#
|
2713
|
+
# The identifier of the server that contains the host keys that you want
|
2686
2714
|
# to view.
|
2687
2715
|
#
|
2688
2716
|
# @return [Types::ListHostKeysResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -3048,8 +3076,8 @@ module Aws::Transfer
|
|
3048
3076
|
req.send_request(options)
|
3049
3077
|
end
|
3050
3078
|
|
3051
|
-
# Begins an outbound file transfer. You specify
|
3052
|
-
# the file paths for where to send the files.
|
3079
|
+
# Begins an outbound file transfer to a remote AS2 server. You specify
|
3080
|
+
# the `ConnectorId` and the file paths for where to send the files.
|
3053
3081
|
#
|
3054
3082
|
# @option params [required, String] :connector_id
|
3055
3083
|
# The unique identifier for the connector.
|
@@ -3651,18 +3679,18 @@ module Aws::Transfer
|
|
3651
3679
|
req.send_request(options)
|
3652
3680
|
end
|
3653
3681
|
|
3654
|
-
# Updates the description for the host key specified by the
|
3655
|
-
#
|
3682
|
+
# Updates the description for the host key that's specified by the
|
3683
|
+
# `ServerId` and `HostKeyId` parameters.
|
3656
3684
|
#
|
3657
3685
|
# @option params [required, String] :server_id
|
3658
|
-
#
|
3686
|
+
# The identifier of the server that contains the host key that you are
|
3659
3687
|
# updating.
|
3660
3688
|
#
|
3661
3689
|
# @option params [required, String] :host_key_id
|
3662
|
-
#
|
3690
|
+
# The identifier of the host key that you are updating.
|
3663
3691
|
#
|
3664
3692
|
# @option params [required, String] :description
|
3665
|
-
#
|
3693
|
+
# An updated description for the host key.
|
3666
3694
|
#
|
3667
3695
|
# @return [Types::UpdateHostKeyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3668
3696
|
#
|
@@ -3832,7 +3860,9 @@ module Aws::Transfer
|
|
3832
3860
|
# </note>
|
3833
3861
|
#
|
3834
3862
|
# @option params [String] :host_key
|
3835
|
-
# The RSA, ECDSA, or ED25519 private key to use for your
|
3863
|
+
# The RSA, ECDSA, or ED25519 private key to use for your SFTP-enabled
|
3864
|
+
# server. You can add multiple host keys, in case you want to rotate
|
3865
|
+
# keys, or have a set of active keys that use different algorithms.
|
3836
3866
|
#
|
3837
3867
|
# Use the following command to generate an RSA 2048 bit key with no
|
3838
3868
|
# passphrase:
|
@@ -3861,7 +3891,7 @@ module Aws::Transfer
|
|
3861
3891
|
# SFTP-enabled server to a new server, don't update the host key.
|
3862
3892
|
# Accidentally changing a server's host key can be disruptive.
|
3863
3893
|
#
|
3864
|
-
# For more information, see [
|
3894
|
+
# For more information, see [Update host keys for your SFTP-enabled
|
3865
3895
|
# server][1] in the *Transfer Family User Guide*.
|
3866
3896
|
#
|
3867
3897
|
#
|
@@ -3945,6 +3975,11 @@ module Aws::Transfer
|
|
3945
3975
|
# Specifies the workflow ID for the workflow to assign and the execution
|
3946
3976
|
# role that's used for executing the workflow.
|
3947
3977
|
#
|
3978
|
+
# In additon to a workflow to execute when a file is uploaded
|
3979
|
+
# completely, `WorkflowDeatails` can also contain a workflow ID (and
|
3980
|
+
# execution role) for a workflow to execute on partial upload. A partial
|
3981
|
+
# upload occurs when a file is open when the session disconnects.
|
3982
|
+
#
|
3948
3983
|
# To remove an associated workflow from a server, you can provide an
|
3949
3984
|
# empty `OnUpload` object, as in the following example.
|
3950
3985
|
#
|
@@ -3987,7 +4022,13 @@ module Aws::Transfer
|
|
3987
4022
|
# security_policy_name: "SecurityPolicyName",
|
3988
4023
|
# server_id: "ServerId", # required
|
3989
4024
|
# workflow_details: {
|
3990
|
-
# on_upload: [
|
4025
|
+
# on_upload: [
|
4026
|
+
# {
|
4027
|
+
# workflow_id: "WorkflowId", # required
|
4028
|
+
# execution_role: "Role", # required
|
4029
|
+
# },
|
4030
|
+
# ],
|
4031
|
+
# on_partial_upload: [
|
3991
4032
|
# {
|
3992
4033
|
# workflow_id: "WorkflowId", # required
|
3993
4034
|
# execution_role: "Role", # required
|
@@ -4167,7 +4208,7 @@ module Aws::Transfer
|
|
4167
4208
|
params: params,
|
4168
4209
|
config: config)
|
4169
4210
|
context[:gem_name] = 'aws-sdk-transfer'
|
4170
|
-
context[:gem_version] = '1.
|
4211
|
+
context[:gem_version] = '1.60.0'
|
4171
4212
|
Seahorse::Client::Request.new(handlers, context)
|
4172
4213
|
end
|
4173
4214
|
|
@@ -200,6 +200,7 @@ module Aws::Transfer
|
|
200
200
|
MessageSubject = Shapes::StringShape.new(name: 'MessageSubject')
|
201
201
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
202
202
|
NullableRole = Shapes::StringShape.new(name: 'NullableRole')
|
203
|
+
OnPartialUploadWorkflowDetails = Shapes::ListShape.new(name: 'OnPartialUploadWorkflowDetails')
|
203
204
|
OnUploadWorkflowDetails = Shapes::ListShape.new(name: 'OnUploadWorkflowDetails')
|
204
205
|
OverwriteExisting = Shapes::StringShape.new(name: 'OverwriteExisting')
|
205
206
|
PassiveIp = Shapes::StringShape.new(name: 'PassiveIp')
|
@@ -964,6 +965,8 @@ module Aws::Transfer
|
|
964
965
|
LoggingConfiguration.add_member(:log_group_name, Shapes::ShapeRef.new(shape: LogGroupName, location_name: "LogGroupName"))
|
965
966
|
LoggingConfiguration.struct_class = Types::LoggingConfiguration
|
966
967
|
|
968
|
+
OnPartialUploadWorkflowDetails.member = Shapes::ShapeRef.new(shape: WorkflowDetail)
|
969
|
+
|
967
970
|
OnUploadWorkflowDetails.member = Shapes::ShapeRef.new(shape: WorkflowDetail)
|
968
971
|
|
969
972
|
PosixProfile.add_member(:uid, Shapes::ShapeRef.new(shape: PosixId, required: true, location_name: "Uid"))
|
@@ -1189,7 +1192,8 @@ module Aws::Transfer
|
|
1189
1192
|
WorkflowDetail.add_member(:execution_role, Shapes::ShapeRef.new(shape: Role, required: true, location_name: "ExecutionRole"))
|
1190
1193
|
WorkflowDetail.struct_class = Types::WorkflowDetail
|
1191
1194
|
|
1192
|
-
WorkflowDetails.add_member(:on_upload, Shapes::ShapeRef.new(shape: OnUploadWorkflowDetails,
|
1195
|
+
WorkflowDetails.add_member(:on_upload, Shapes::ShapeRef.new(shape: OnUploadWorkflowDetails, location_name: "OnUpload"))
|
1196
|
+
WorkflowDetails.add_member(:on_partial_upload, Shapes::ShapeRef.new(shape: OnPartialUploadWorkflowDetails, location_name: "OnPartialUpload"))
|
1193
1197
|
WorkflowDetails.struct_class = Types::WorkflowDetails
|
1194
1198
|
|
1195
1199
|
WorkflowStep.add_member(:type, Shapes::ShapeRef.new(shape: WorkflowStepType, location_name: "Type"))
|
@@ -333,13 +333,13 @@ module Aws::Transfer
|
|
333
333
|
end
|
334
334
|
|
335
335
|
# @!attribute [rw] server_id
|
336
|
-
# The
|
336
|
+
# The identifier of the server that the user is attached to.
|
337
337
|
# @return [String]
|
338
338
|
#
|
339
339
|
# @!attribute [rw] external_id
|
340
|
-
# The external
|
341
|
-
# S3 or Amazon EFS resources over the enabled protocols using
|
342
|
-
# Family.
|
340
|
+
# The external identifier of the group whose users have access to your
|
341
|
+
# Amazon S3 or Amazon EFS resources over the enabled protocols using
|
342
|
+
# Transfer Family.
|
343
343
|
# @return [String]
|
344
344
|
#
|
345
345
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/CreateAccessResponse AWS API Documentation
|
@@ -391,8 +391,8 @@ module Aws::Transfer
|
|
391
391
|
# The landing directory (folder) for files transferred by using the
|
392
392
|
# AS2 protocol.
|
393
393
|
#
|
394
|
-
# A `BaseDirectory` example is
|
395
|
-
#
|
394
|
+
# A `BaseDirectory` example is
|
395
|
+
# *DOC-EXAMPLE-BUCKET*/*home*/*mydirectory*.
|
396
396
|
# @return [String]
|
397
397
|
#
|
398
398
|
# @!attribute [rw] access_role
|
@@ -561,9 +561,14 @@ module Aws::Transfer
|
|
561
561
|
# @return [String]
|
562
562
|
#
|
563
563
|
# @!attribute [rw] profile_type
|
564
|
-
#
|
565
|
-
#
|
566
|
-
#
|
564
|
+
# Determines the type of profile to create:
|
565
|
+
#
|
566
|
+
# * Specify `LOCAL` to create a local profile. A local profile
|
567
|
+
# represents the AS2-enabled Transfer Family server organization or
|
568
|
+
# party.
|
569
|
+
#
|
570
|
+
# * Specify `PARTNER` to create a partner profile. A partner profile
|
571
|
+
# represents a remote organization, external to Transfer Family.
|
567
572
|
# @return [String]
|
568
573
|
#
|
569
574
|
# @!attribute [rw] certificate_ids
|
@@ -640,7 +645,13 @@ module Aws::Transfer
|
|
640
645
|
# },
|
641
646
|
# ],
|
642
647
|
# workflow_details: {
|
643
|
-
# on_upload: [
|
648
|
+
# on_upload: [
|
649
|
+
# {
|
650
|
+
# workflow_id: "WorkflowId", # required
|
651
|
+
# execution_role: "Role", # required
|
652
|
+
# },
|
653
|
+
# ],
|
654
|
+
# on_partial_upload: [
|
644
655
|
# {
|
645
656
|
# workflow_id: "WorkflowId", # required
|
646
657
|
# execution_role: "Role", # required
|
@@ -737,7 +748,9 @@ module Aws::Transfer
|
|
737
748
|
# @return [String]
|
738
749
|
#
|
739
750
|
# @!attribute [rw] host_key
|
740
|
-
# The RSA, ECDSA, or ED25519 private key to use for your
|
751
|
+
# The RSA, ECDSA, or ED25519 private key to use for your SFTP-enabled
|
752
|
+
# server. You can add multiple host keys, in case you want to rotate
|
753
|
+
# keys, or have a set of active keys that use different algorithms.
|
741
754
|
#
|
742
755
|
# Use the following command to generate an RSA 2048 bit key with no
|
743
756
|
# passphrase:
|
@@ -766,7 +779,7 @@ module Aws::Transfer
|
|
766
779
|
# SFTP-enabled server to a new server, don't update the host key.
|
767
780
|
# Accidentally changing a server's host key can be disruptive.
|
768
781
|
#
|
769
|
-
# For more information, see [
|
782
|
+
# For more information, see [Update host keys for your SFTP-enabled
|
770
783
|
# server][1] in the *Transfer Family User Guide*.
|
771
784
|
#
|
772
785
|
#
|
@@ -909,6 +922,12 @@ module Aws::Transfer
|
|
909
922
|
# @!attribute [rw] workflow_details
|
910
923
|
# Specifies the workflow ID for the workflow to assign and the
|
911
924
|
# execution role that's used for executing the workflow.
|
925
|
+
#
|
926
|
+
# In additon to a workflow to execute when a file is uploaded
|
927
|
+
# completely, `WorkflowDeatails` can also contain a workflow ID (and
|
928
|
+
# execution role) for a workflow to execute on partial upload. A
|
929
|
+
# partial upload occurs when a file is open when the session
|
930
|
+
# disconnects.
|
912
931
|
# @return [Types::WorkflowDetails]
|
913
932
|
#
|
914
933
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/CreateServerRequest AWS API Documentation
|
@@ -934,7 +953,7 @@ module Aws::Transfer
|
|
934
953
|
end
|
935
954
|
|
936
955
|
# @!attribute [rw] server_id
|
937
|
-
# The service-assigned
|
956
|
+
# The service-assigned identifier of the server that is created.
|
938
957
|
# @return [String]
|
939
958
|
#
|
940
959
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/CreateServerResponse AWS API Documentation
|
@@ -1109,7 +1128,7 @@ module Aws::Transfer
|
|
1109
1128
|
end
|
1110
1129
|
|
1111
1130
|
# @!attribute [rw] server_id
|
1112
|
-
# The
|
1131
|
+
# The identifier of the server that the user is attached to.
|
1113
1132
|
# @return [String]
|
1114
1133
|
#
|
1115
1134
|
# @!attribute [rw] user_name
|
@@ -1390,7 +1409,8 @@ module Aws::Transfer
|
|
1390
1409
|
# @return [String]
|
1391
1410
|
#
|
1392
1411
|
# @!attribute [rw] server_id
|
1393
|
-
# The server
|
1412
|
+
# The server identifier associated with the agreement that you are
|
1413
|
+
# deleting.
|
1394
1414
|
# @return [String]
|
1395
1415
|
#
|
1396
1416
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DeleteAgreementRequest AWS API Documentation
|
@@ -1410,7 +1430,7 @@ module Aws::Transfer
|
|
1410
1430
|
# }
|
1411
1431
|
#
|
1412
1432
|
# @!attribute [rw] certificate_id
|
1413
|
-
# The
|
1433
|
+
# The identifier of the certificate object that you are deleting.
|
1414
1434
|
# @return [String]
|
1415
1435
|
#
|
1416
1436
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DeleteCertificateRequest AWS API Documentation
|
@@ -1449,12 +1469,12 @@ module Aws::Transfer
|
|
1449
1469
|
# }
|
1450
1470
|
#
|
1451
1471
|
# @!attribute [rw] server_id
|
1452
|
-
#
|
1472
|
+
# The identifier of the server that contains the host key that you are
|
1453
1473
|
# deleting.
|
1454
1474
|
# @return [String]
|
1455
1475
|
#
|
1456
1476
|
# @!attribute [rw] host_key_id
|
1457
|
-
# The
|
1477
|
+
# The identifier of the host key that you are deleting.
|
1458
1478
|
# @return [String]
|
1459
1479
|
#
|
1460
1480
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DeleteHostKeyRequest AWS API Documentation
|
@@ -1474,7 +1494,7 @@ module Aws::Transfer
|
|
1474
1494
|
# }
|
1475
1495
|
#
|
1476
1496
|
# @!attribute [rw] profile_id
|
1477
|
-
# The
|
1497
|
+
# The identifier of the profile that you are deleting.
|
1478
1498
|
# @return [String]
|
1479
1499
|
#
|
1480
1500
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DeleteProfileRequest AWS API Documentation
|
@@ -1667,7 +1687,8 @@ module Aws::Transfer
|
|
1667
1687
|
# @return [String]
|
1668
1688
|
#
|
1669
1689
|
# @!attribute [rw] access
|
1670
|
-
# The external
|
1690
|
+
# The external identifier of the server that the access is attached
|
1691
|
+
# to.
|
1671
1692
|
# @return [Types::DescribedAccess]
|
1672
1693
|
#
|
1673
1694
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DescribeAccessResponse AWS API Documentation
|
@@ -1693,7 +1714,7 @@ module Aws::Transfer
|
|
1693
1714
|
# @return [String]
|
1694
1715
|
#
|
1695
1716
|
# @!attribute [rw] server_id
|
1696
|
-
# The server
|
1717
|
+
# The server identifier that's associated with the agreement.
|
1697
1718
|
# @return [String]
|
1698
1719
|
#
|
1699
1720
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DescribeAgreementRequest AWS API Documentation
|
@@ -1832,12 +1853,12 @@ module Aws::Transfer
|
|
1832
1853
|
# }
|
1833
1854
|
#
|
1834
1855
|
# @!attribute [rw] server_id
|
1835
|
-
#
|
1856
|
+
# The identifier of the server that contains the host key that you
|
1836
1857
|
# want described.
|
1837
1858
|
# @return [String]
|
1838
1859
|
#
|
1839
1860
|
# @!attribute [rw] host_key_id
|
1840
|
-
#
|
1861
|
+
# The identifier of the host key that you want described.
|
1841
1862
|
# @return [String]
|
1842
1863
|
#
|
1843
1864
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DescribeHostKeyRequest AWS API Documentation
|
@@ -2434,18 +2455,18 @@ module Aws::Transfer
|
|
2434
2455
|
# @return [String]
|
2435
2456
|
#
|
2436
2457
|
# @!attribute [rw] type
|
2437
|
-
# The encryption algorithm used for the host key. The `Type`
|
2438
|
-
# the following values:
|
2458
|
+
# The encryption algorithm that is used for the host key. The `Type`
|
2459
|
+
# parameter is specified by using one of the following values:
|
2439
2460
|
#
|
2440
|
-
# * ssh-rsa
|
2461
|
+
# * `ssh-rsa`
|
2441
2462
|
#
|
2442
|
-
# * ssh-ed25519
|
2463
|
+
# * `ssh-ed25519`
|
2443
2464
|
#
|
2444
|
-
# * ecdsa-sha2-nistp256
|
2465
|
+
# * `ecdsa-sha2-nistp256`
|
2445
2466
|
#
|
2446
|
-
# * ecdsa-sha2-nistp384
|
2467
|
+
# * `ecdsa-sha2-nistp384`
|
2447
2468
|
#
|
2448
|
-
# * ecdsa-sha2-nistp521
|
2469
|
+
# * `ecdsa-sha2-nistp521`
|
2449
2470
|
# @return [String]
|
2450
2471
|
#
|
2451
2472
|
# @!attribute [rw] date_imported
|
@@ -2470,7 +2491,7 @@ module Aws::Transfer
|
|
2470
2491
|
include Aws::Structure
|
2471
2492
|
end
|
2472
2493
|
|
2473
|
-
# The details for a local or partner AS2 profile.
|
2494
|
+
# The details for a local or partner AS2 profile.
|
2474
2495
|
#
|
2475
2496
|
# @!attribute [rw] arn
|
2476
2497
|
# The unique Amazon Resource Name (ARN) for the profile.
|
@@ -2766,6 +2787,12 @@ module Aws::Transfer
|
|
2766
2787
|
# @!attribute [rw] workflow_details
|
2767
2788
|
# Specifies the workflow ID for the workflow to assign and the
|
2768
2789
|
# execution role that's used for executing the workflow.
|
2790
|
+
#
|
2791
|
+
# In additon to a workflow to execute when a file is uploaded
|
2792
|
+
# completely, `WorkflowDeatails` can also contain a workflow ID (and
|
2793
|
+
# execution role) for a workflow to execute on partial upload. A
|
2794
|
+
# partial upload occurs when a file is open when the session
|
2795
|
+
# disconnects.
|
2769
2796
|
# @return [Types::WorkflowDetails]
|
2770
2797
|
#
|
2771
2798
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DescribedServer AWS API Documentation
|
@@ -2951,7 +2978,7 @@ module Aws::Transfer
|
|
2951
2978
|
# }
|
2952
2979
|
#
|
2953
2980
|
# @!attribute [rw] file_system_id
|
2954
|
-
# The
|
2981
|
+
# The identifier of the file system, assigned by Amazon EFS.
|
2955
2982
|
# @return [String]
|
2956
2983
|
#
|
2957
2984
|
# @!attribute [rw] path
|
@@ -3016,7 +3043,7 @@ module Aws::Transfer
|
|
3016
3043
|
# @return [Array<String>]
|
3017
3044
|
#
|
3018
3045
|
# @!attribute [rw] vpc_endpoint_id
|
3019
|
-
# The
|
3046
|
+
# The identifier of the VPC endpoint.
|
3020
3047
|
#
|
3021
3048
|
# <note markdown="1"> This property can only be set when `EndpointType` is set to
|
3022
3049
|
# `VPC_ENDPOINT`.
|
@@ -3028,7 +3055,8 @@ module Aws::Transfer
|
|
3028
3055
|
# @return [String]
|
3029
3056
|
#
|
3030
3057
|
# @!attribute [rw] vpc_id
|
3031
|
-
# The VPC
|
3058
|
+
# The VPC identifier of the VPC in which a server's endpoint will be
|
3059
|
+
# hosted.
|
3032
3060
|
#
|
3033
3061
|
# <note markdown="1"> This property can only be set when `EndpointType` is set to `VPC`.
|
3034
3062
|
#
|
@@ -3184,7 +3212,8 @@ module Aws::Transfer
|
|
3184
3212
|
# @return [Types::S3FileLocation]
|
3185
3213
|
#
|
3186
3214
|
# @!attribute [rw] efs_file_location
|
3187
|
-
# Specifies the Amazon EFS
|
3215
|
+
# Specifies the Amazon EFS identifier and the path for the file being
|
3216
|
+
# used.
|
3188
3217
|
# @return [Types::EfsFileLocation]
|
3189
3218
|
#
|
3190
3219
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/FileLocation AWS API Documentation
|
@@ -3372,7 +3401,7 @@ module Aws::Transfer
|
|
3372
3401
|
# }
|
3373
3402
|
#
|
3374
3403
|
# @!attribute [rw] server_id
|
3375
|
-
#
|
3404
|
+
# The identifier of the server that contains the host key that you are
|
3376
3405
|
# importing.
|
3377
3406
|
# @return [String]
|
3378
3407
|
#
|
@@ -3383,7 +3412,7 @@ module Aws::Transfer
|
|
3383
3412
|
# @return [String]
|
3384
3413
|
#
|
3385
3414
|
# @!attribute [rw] description
|
3386
|
-
#
|
3415
|
+
# The text description that identifies this host key.
|
3387
3416
|
# @return [String]
|
3388
3417
|
#
|
3389
3418
|
# @!attribute [rw] tags
|
@@ -3402,11 +3431,11 @@ module Aws::Transfer
|
|
3402
3431
|
end
|
3403
3432
|
|
3404
3433
|
# @!attribute [rw] server_id
|
3405
|
-
# Returns the server
|
3434
|
+
# Returns the server identifier that contains the imported key.
|
3406
3435
|
# @return [String]
|
3407
3436
|
#
|
3408
3437
|
# @!attribute [rw] host_key_id
|
3409
|
-
# Returns the host key
|
3438
|
+
# Returns the host key identifier for the imported key.
|
3410
3439
|
# @return [String]
|
3411
3440
|
#
|
3412
3441
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ImportHostKeyResponse AWS API Documentation
|
@@ -3868,7 +3897,7 @@ module Aws::Transfer
|
|
3868
3897
|
# @return [String]
|
3869
3898
|
#
|
3870
3899
|
# @!attribute [rw] server_id
|
3871
|
-
#
|
3900
|
+
# The identifier of the server that contains the host keys that you
|
3872
3901
|
# want to view.
|
3873
3902
|
# @return [String]
|
3874
3903
|
#
|
@@ -3888,7 +3917,7 @@ module Aws::Transfer
|
|
3888
3917
|
# @return [String]
|
3889
3918
|
#
|
3890
3919
|
# @!attribute [rw] server_id
|
3891
|
-
# Returns the server
|
3920
|
+
# Returns the server identifier that contains the listed host keys.
|
3892
3921
|
# @return [String]
|
3893
3922
|
#
|
3894
3923
|
# @!attribute [rw] host_keys
|
@@ -4454,13 +4483,14 @@ module Aws::Transfer
|
|
4454
4483
|
include Aws::Structure
|
4455
4484
|
end
|
4456
4485
|
|
4457
|
-
# Returns properties of the host key that
|
4486
|
+
# Returns properties of the host key that's specified.
|
4458
4487
|
#
|
4459
4488
|
# @!attribute [rw] arn
|
4460
|
-
#
|
4489
|
+
# The unique Amazon Resource Name (ARN) of the host key.
|
4461
4490
|
# @return [String]
|
4462
4491
|
#
|
4463
4492
|
# @!attribute [rw] host_key_id
|
4493
|
+
# A unique identifier for the host key.
|
4464
4494
|
# @return [String]
|
4465
4495
|
#
|
4466
4496
|
# @!attribute [rw] fingerprint
|
@@ -4475,18 +4505,18 @@ module Aws::Transfer
|
|
4475
4505
|
# @return [String]
|
4476
4506
|
#
|
4477
4507
|
# @!attribute [rw] type
|
4478
|
-
# The encryption algorithm used for the host key. The `Type`
|
4479
|
-
# the following values:
|
4508
|
+
# The encryption algorithm that is used for the host key. The `Type`
|
4509
|
+
# parameter is specified by using one of the following values:
|
4480
4510
|
#
|
4481
|
-
# * ssh-rsa
|
4511
|
+
# * `ssh-rsa`
|
4482
4512
|
#
|
4483
|
-
# * ssh-ed25519
|
4513
|
+
# * `ssh-ed25519`
|
4484
4514
|
#
|
4485
|
-
# * ecdsa-sha2-nistp256
|
4515
|
+
# * `ecdsa-sha2-nistp256`
|
4486
4516
|
#
|
4487
|
-
# * ecdsa-sha2-nistp384
|
4517
|
+
# * `ecdsa-sha2-nistp384`
|
4488
4518
|
#
|
4489
|
-
# * ecdsa-sha2-nistp521
|
4519
|
+
# * `ecdsa-sha2-nistp521`
|
4490
4520
|
# @return [String]
|
4491
4521
|
#
|
4492
4522
|
# @!attribute [rw] date_imported
|
@@ -4699,8 +4729,8 @@ module Aws::Transfer
|
|
4699
4729
|
include Aws::Structure
|
4700
4730
|
end
|
4701
4731
|
|
4702
|
-
# Contains the
|
4703
|
-
# the workflow.
|
4732
|
+
# Contains the identifier, text description, and Amazon Resource Name
|
4733
|
+
# (ARN) for the workflow.
|
4704
4734
|
#
|
4705
4735
|
# @!attribute [rw] workflow_id
|
4706
4736
|
# A unique identifier for the workflow.
|
@@ -4803,9 +4833,9 @@ module Aws::Transfer
|
|
4803
4833
|
# IPv4 address, such as the public IP address of a firewall, router,
|
4804
4834
|
# or load balancer. For example:
|
4805
4835
|
#
|
4806
|
-
# `
|
4836
|
+
# `aws transfer update-server --protocol-details PassiveIp=0.0.0.0`
|
4807
4837
|
#
|
4808
|
-
# Replace `
|
4838
|
+
# Replace `0.0.0.0` in the example above with the actual IP address
|
4809
4839
|
# you want to use.
|
4810
4840
|
#
|
4811
4841
|
# <note markdown="1"> If you change the `PassiveIp` value, you must stop and then restart
|
@@ -4816,6 +4846,24 @@ module Aws::Transfer
|
|
4816
4846
|
#
|
4817
4847
|
# </note>
|
4818
4848
|
#
|
4849
|
+
# *Special values*
|
4850
|
+
#
|
4851
|
+
# The `AUTO` and `0.0.0.0` are special values for the `PassiveIp`
|
4852
|
+
# parameter. The value `PassiveIp=AUTO` is assigned by default to FTP
|
4853
|
+
# and FTPS type servers. In this case, the server automatically
|
4854
|
+
# responds with one of the endpoint IPs within the PASV response.
|
4855
|
+
# `PassiveIp=0.0.0.0` has a more unique application for its usage. For
|
4856
|
+
# example, if you have a High Availability (HA) Network Load Balancer
|
4857
|
+
# (NLB) environment, where you have 3 subnets, you can only specify a
|
4858
|
+
# single IP address using the `PassiveIp` parameter. This reduces the
|
4859
|
+
# effectiveness of having High Availability. In this case, you can
|
4860
|
+
# specify `PassiveIp=0.0.0.0`. This tells the client to use the same
|
4861
|
+
# IP address as the Control connection and utilize all AZs for their
|
4862
|
+
# connections. Note, however, that not all FTP clients support the
|
4863
|
+
# `PassiveIp=0.0.0.0` response. FileZilla and WinSCP do support it. If
|
4864
|
+
# you are using other clients, check to see if your client supports
|
4865
|
+
# the `PassiveIp=0.0.0.0` response.
|
4866
|
+
#
|
4819
4867
|
#
|
4820
4868
|
#
|
4821
4869
|
# [1]: http://aws.amazon.com/blogs/storage/configuring-your-ftps-server-behind-a-firewall-or-nat-with-aws-transfer-family/
|
@@ -5625,13 +5673,13 @@ module Aws::Transfer
|
|
5625
5673
|
end
|
5626
5674
|
|
5627
5675
|
# @!attribute [rw] server_id
|
5628
|
-
# The
|
5676
|
+
# The identifier of the server that the user is attached to.
|
5629
5677
|
# @return [String]
|
5630
5678
|
#
|
5631
5679
|
# @!attribute [rw] external_id
|
5632
|
-
# The external
|
5633
|
-
# S3 or Amazon EFS resources over the enabled protocols using
|
5634
|
-
# Web ServicesTransfer Family.
|
5680
|
+
# The external identifier of the group whose users have access to your
|
5681
|
+
# Amazon S3 or Amazon EFS resources over the enabled protocols using
|
5682
|
+
# Amazon Web ServicesTransfer Family.
|
5635
5683
|
# @return [String]
|
5636
5684
|
#
|
5637
5685
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/UpdateAccessResponse AWS API Documentation
|
@@ -5877,16 +5925,16 @@ module Aws::Transfer
|
|
5877
5925
|
# }
|
5878
5926
|
#
|
5879
5927
|
# @!attribute [rw] server_id
|
5880
|
-
#
|
5928
|
+
# The identifier of the server that contains the host key that you are
|
5881
5929
|
# updating.
|
5882
5930
|
# @return [String]
|
5883
5931
|
#
|
5884
5932
|
# @!attribute [rw] host_key_id
|
5885
|
-
#
|
5933
|
+
# The identifier of the host key that you are updating.
|
5886
5934
|
# @return [String]
|
5887
5935
|
#
|
5888
5936
|
# @!attribute [rw] description
|
5889
|
-
#
|
5937
|
+
# An updated description for the host key.
|
5890
5938
|
# @return [String]
|
5891
5939
|
#
|
5892
5940
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/UpdateHostKeyRequest AWS API Documentation
|
@@ -5900,12 +5948,12 @@ module Aws::Transfer
|
|
5900
5948
|
end
|
5901
5949
|
|
5902
5950
|
# @!attribute [rw] server_id
|
5903
|
-
# Returns the server
|
5904
|
-
# key.
|
5951
|
+
# Returns the server identifier for the server that contains the
|
5952
|
+
# updated host key.
|
5905
5953
|
# @return [String]
|
5906
5954
|
#
|
5907
5955
|
# @!attribute [rw] host_key_id
|
5908
|
-
# Returns the host key
|
5956
|
+
# Returns the host key identifier for the updated host key.
|
5909
5957
|
# @return [String]
|
5910
5958
|
#
|
5911
5959
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/UpdateHostKeyResponse AWS API Documentation
|
@@ -5988,7 +6036,13 @@ module Aws::Transfer
|
|
5988
6036
|
# security_policy_name: "SecurityPolicyName",
|
5989
6037
|
# server_id: "ServerId", # required
|
5990
6038
|
# workflow_details: {
|
5991
|
-
# on_upload: [
|
6039
|
+
# on_upload: [
|
6040
|
+
# {
|
6041
|
+
# workflow_id: "WorkflowId", # required
|
6042
|
+
# execution_role: "Role", # required
|
6043
|
+
# },
|
6044
|
+
# ],
|
6045
|
+
# on_partial_upload: [
|
5992
6046
|
# {
|
5993
6047
|
# workflow_id: "WorkflowId", # required
|
5994
6048
|
# execution_role: "Role", # required
|
@@ -6103,7 +6157,9 @@ module Aws::Transfer
|
|
6103
6157
|
# @return [String]
|
6104
6158
|
#
|
6105
6159
|
# @!attribute [rw] host_key
|
6106
|
-
# The RSA, ECDSA, or ED25519 private key to use for your
|
6160
|
+
# The RSA, ECDSA, or ED25519 private key to use for your SFTP-enabled
|
6161
|
+
# server. You can add multiple host keys, in case you want to rotate
|
6162
|
+
# keys, or have a set of active keys that use different algorithms.
|
6107
6163
|
#
|
6108
6164
|
# Use the following command to generate an RSA 2048 bit key with no
|
6109
6165
|
# passphrase:
|
@@ -6132,7 +6188,7 @@ module Aws::Transfer
|
|
6132
6188
|
# SFTP-enabled server to a new server, don't update the host key.
|
6133
6189
|
# Accidentally changing a server's host key can be disruptive.
|
6134
6190
|
#
|
6135
|
-
# For more information, see [
|
6191
|
+
# For more information, see [Update host keys for your SFTP-enabled
|
6136
6192
|
# server][1] in the *Transfer Family User Guide*.
|
6137
6193
|
#
|
6138
6194
|
#
|
@@ -6224,6 +6280,12 @@ module Aws::Transfer
|
|
6224
6280
|
# Specifies the workflow ID for the workflow to assign and the
|
6225
6281
|
# execution role that's used for executing the workflow.
|
6226
6282
|
#
|
6283
|
+
# In additon to a workflow to execute when a file is uploaded
|
6284
|
+
# completely, `WorkflowDeatails` can also contain a workflow ID (and
|
6285
|
+
# execution role) for a workflow to execute on partial upload. A
|
6286
|
+
# partial upload occurs when a file is open when the session
|
6287
|
+
# disconnects.
|
6288
|
+
#
|
6227
6289
|
# To remove an associated workflow from a server, you can provide an
|
6228
6290
|
# empty `OnUpload` object, as in the following example.
|
6229
6291
|
#
|
@@ -6461,6 +6523,11 @@ module Aws::Transfer
|
|
6461
6523
|
# Specifies the workflow ID for the workflow to assign and the execution
|
6462
6524
|
# role that's used for executing the workflow.
|
6463
6525
|
#
|
6526
|
+
# In additon to a workflow to execute when a file is uploaded
|
6527
|
+
# completely, `WorkflowDeatails` can also contain a workflow ID (and
|
6528
|
+
# execution role) for a workflow to execute on partial upload. A partial
|
6529
|
+
# upload occurs when a file is open when the session disconnects.
|
6530
|
+
#
|
6464
6531
|
# @note When making an API call, you may pass WorkflowDetail
|
6465
6532
|
# data as a hash:
|
6466
6533
|
#
|
@@ -6495,7 +6562,13 @@ module Aws::Transfer
|
|
6495
6562
|
# data as a hash:
|
6496
6563
|
#
|
6497
6564
|
# {
|
6498
|
-
# on_upload: [
|
6565
|
+
# on_upload: [
|
6566
|
+
# {
|
6567
|
+
# workflow_id: "WorkflowId", # required
|
6568
|
+
# execution_role: "Role", # required
|
6569
|
+
# },
|
6570
|
+
# ],
|
6571
|
+
# on_partial_upload: [
|
6499
6572
|
# {
|
6500
6573
|
# workflow_id: "WorkflowId", # required
|
6501
6574
|
# execution_role: "Role", # required
|
@@ -6514,10 +6587,20 @@ module Aws::Transfer
|
|
6514
6587
|
# --workflow-details '\{"OnUpload":[]\}'`
|
6515
6588
|
# @return [Array<Types::WorkflowDetail>]
|
6516
6589
|
#
|
6590
|
+
# @!attribute [rw] on_partial_upload
|
6591
|
+
# A trigger that starts a workflow if a file is only partially
|
6592
|
+
# uploaded. You can attach a workflow to a server that executes
|
6593
|
+
# whenever there is a partial upload.
|
6594
|
+
#
|
6595
|
+
# A *partial upload* occurs when a file is open when the session
|
6596
|
+
# disconnects.
|
6597
|
+
# @return [Array<Types::WorkflowDetail>]
|
6598
|
+
#
|
6517
6599
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/WorkflowDetails AWS API Documentation
|
6518
6600
|
#
|
6519
6601
|
class WorkflowDetails < Struct.new(
|
6520
|
-
:on_upload
|
6602
|
+
:on_upload,
|
6603
|
+
:on_partial_upload)
|
6521
6604
|
SENSITIVE = []
|
6522
6605
|
include Aws::Structure
|
6523
6606
|
end
|
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.60.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: 2022-
|
11
|
+
date: 2022-10-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|