aws-sdk-transfer 1.58.0 → 1.60.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8a13939bb04d1626575a179a207b8c439389cd89ff8d1211e800e9b5cea83ded
4
- data.tar.gz: d34fbbe4805f79565e01669650859ab7b749009e85faf046bdb05227fd59d45c
3
+ metadata.gz: 5669837987ccd1bb143f2599b6bb22fd35ee846843ff935079a7e25d49b6a1dc
4
+ data.tar.gz: 1b001adbb9be475e9909f1e4da8bf353a3ec565284cc3bb3243454c8c8a347cf
5
5
  SHA512:
6
- metadata.gz: f714601ebc7a90411c9aaa18d05d10021be58250c78871e908658642e6b2932d75fea6f1699bcee8dc42b62d75f268164d79658950658cedb7c0c05ca27fbcdd
7
- data.tar.gz: '089541d2d201998478a1cdfd809f823011b0a0cc37972b99a3d600568911551291d51dc63a50e4340f513e856e2aeffdd5dc27477995fb44595f18392238da3d'
6
+ metadata.gz: 5dea701e6cb6af0304123df9d7409095cc8b82fc936063b5f3ce01fcd228fadc34c0826c7293a6f3bac23a0be2b22d7be4aab2e67eb6dc79627bc68335adf787
7
+ data.tar.gz: b3ab9b4ad168381b6461f3779b71c88f8705cd2300c1bb233809f5b2210b883aefd203822a9b433555296addbe5a3cdb08d90750b965a8b3fcc5ae971155c689
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
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
+
9
+ 1.59.0 (2022-09-13)
10
+ ------------------
11
+
12
+ * Feature - This release introduces the ability to have multiple server host keys for any of your Transfer Family servers that use the SFTP protocol.
13
+
4
14
  1.58.0 (2022-08-24)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.58.0
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 `/DOC-EXAMPLE-BUCKET/home/mydirectory `.
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 from a customer's non Amazon Web Services server.
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 profile for the AS2 process. The agreement is between 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
- # Indicates whether to list only `LOCAL` type profiles or only `PARTNER`
696
- # type profiles. If not supplied in the request, the command lists all
697
- # types of profiles.
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 server.
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 [Change the host key for your SFTP-enabled
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: [ # required
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 ID associated with the agreement that you are deleting.
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 ID of the certificate object that you are deleting.
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
  #
@@ -1483,10 +1507,37 @@ module Aws::Transfer
1483
1507
  req.send_request(options)
1484
1508
  end
1485
1509
 
1510
+ # Deletes the host key that's specified in the `HoskKeyId` parameter.
1511
+ #
1512
+ # @option params [required, String] :server_id
1513
+ # The identifier of the server that contains the host key that you are
1514
+ # deleting.
1515
+ #
1516
+ # @option params [required, String] :host_key_id
1517
+ # The identifier of the host key that you are deleting.
1518
+ #
1519
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1520
+ #
1521
+ # @example Request syntax with placeholder values
1522
+ #
1523
+ # resp = client.delete_host_key({
1524
+ # server_id: "ServerId", # required
1525
+ # host_key_id: "HostKeyId", # required
1526
+ # })
1527
+ #
1528
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DeleteHostKey AWS API Documentation
1529
+ #
1530
+ # @overload delete_host_key(params = {})
1531
+ # @param [Hash] params ({})
1532
+ def delete_host_key(params = {}, options = {})
1533
+ req = build_request(:delete_host_key, params)
1534
+ req.send_request(options)
1535
+ end
1536
+
1486
1537
  # Deletes the profile that's specified in the `ProfileId` parameter.
1487
1538
  #
1488
1539
  # @option params [required, String] :profile_id
1489
- # The ID of the profile that you are deleting.
1540
+ # The identifier of the profile that you are deleting.
1490
1541
  #
1491
1542
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1492
1543
  #
@@ -1692,7 +1743,7 @@ module Aws::Transfer
1692
1743
  # when you create an agreement.
1693
1744
  #
1694
1745
  # @option params [required, String] :server_id
1695
- # The server ID that's associated with the agreement.
1746
+ # The server identifier that's associated with the agreement.
1696
1747
  #
1697
1748
  # @return [Types::DescribeAgreementResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1698
1749
  #
@@ -1878,6 +1929,48 @@ module Aws::Transfer
1878
1929
  req.send_request(options)
1879
1930
  end
1880
1931
 
1932
+ # Returns the details of the host key that's specified by the
1933
+ # `HostKeyId` and `ServerId`.
1934
+ #
1935
+ # @option params [required, String] :server_id
1936
+ # The identifier of the server that contains the host key that you want
1937
+ # described.
1938
+ #
1939
+ # @option params [required, String] :host_key_id
1940
+ # The identifier of the host key that you want described.
1941
+ #
1942
+ # @return [Types::DescribeHostKeyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1943
+ #
1944
+ # * {Types::DescribeHostKeyResponse#host_key #host_key} => Types::DescribedHostKey
1945
+ #
1946
+ # @example Request syntax with placeholder values
1947
+ #
1948
+ # resp = client.describe_host_key({
1949
+ # server_id: "ServerId", # required
1950
+ # host_key_id: "HostKeyId", # required
1951
+ # })
1952
+ #
1953
+ # @example Response structure
1954
+ #
1955
+ # resp.host_key.arn #=> String
1956
+ # resp.host_key.host_key_id #=> String
1957
+ # resp.host_key.host_key_fingerprint #=> String
1958
+ # resp.host_key.description #=> String
1959
+ # resp.host_key.type #=> String
1960
+ # resp.host_key.date_imported #=> Time
1961
+ # resp.host_key.tags #=> Array
1962
+ # resp.host_key.tags[0].key #=> String
1963
+ # resp.host_key.tags[0].value #=> String
1964
+ #
1965
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DescribeHostKey AWS API Documentation
1966
+ #
1967
+ # @overload describe_host_key(params = {})
1968
+ # @param [Hash] params ({})
1969
+ def describe_host_key(params = {}, options = {})
1970
+ req = build_request(:describe_host_key, params)
1971
+ req.send_request(options)
1972
+ end
1973
+
1881
1974
  # Returns the details of the profile that's specified by the
1882
1975
  # `ProfileId`.
1883
1976
  #
@@ -2020,6 +2113,9 @@ module Aws::Transfer
2020
2113
  # resp.server.workflow_details.on_upload #=> Array
2021
2114
  # resp.server.workflow_details.on_upload[0].workflow_id #=> String
2022
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
2023
2119
  #
2024
2120
  #
2025
2121
  # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
@@ -2233,6 +2329,57 @@ module Aws::Transfer
2233
2329
  req.send_request(options)
2234
2330
  end
2235
2331
 
2332
+ # Adds a host key to the server that's specified by the `ServerId`
2333
+ # parameter.
2334
+ #
2335
+ # @option params [required, String] :server_id
2336
+ # The identifier of the server that contains the host key that you are
2337
+ # importing.
2338
+ #
2339
+ # @option params [required, String] :host_key_body
2340
+ # The public key portion of an SSH key pair.
2341
+ #
2342
+ # Transfer Family accepts RSA, ECDSA, and ED25519 keys.
2343
+ #
2344
+ # @option params [String] :description
2345
+ # The text description that identifies this host key.
2346
+ #
2347
+ # @option params [Array<Types::Tag>] :tags
2348
+ # Key-value pairs that can be used to group and search for host keys.
2349
+ #
2350
+ # @return [Types::ImportHostKeyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2351
+ #
2352
+ # * {Types::ImportHostKeyResponse#server_id #server_id} => String
2353
+ # * {Types::ImportHostKeyResponse#host_key_id #host_key_id} => String
2354
+ #
2355
+ # @example Request syntax with placeholder values
2356
+ #
2357
+ # resp = client.import_host_key({
2358
+ # server_id: "ServerId", # required
2359
+ # host_key_body: "HostKey", # required
2360
+ # description: "HostKeyDescription",
2361
+ # tags: [
2362
+ # {
2363
+ # key: "TagKey", # required
2364
+ # value: "TagValue", # required
2365
+ # },
2366
+ # ],
2367
+ # })
2368
+ #
2369
+ # @example Response structure
2370
+ #
2371
+ # resp.server_id #=> String
2372
+ # resp.host_key_id #=> String
2373
+ #
2374
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ImportHostKey AWS API Documentation
2375
+ #
2376
+ # @overload import_host_key(params = {})
2377
+ # @param [Hash] params ({})
2378
+ def import_host_key(params = {}, options = {})
2379
+ req = build_request(:import_host_key, params)
2380
+ req.send_request(options)
2381
+ end
2382
+
2236
2383
  # Adds a Secure Shell (SSH) public key to a user account identified by a
2237
2384
  # `UserName` value assigned to the specific file transfer
2238
2385
  # protocol-enabled server, identified by `ServerId`.
@@ -2551,6 +2698,56 @@ module Aws::Transfer
2551
2698
  req.send_request(options)
2552
2699
  end
2553
2700
 
2701
+ # Returns a list of host keys for the server that's specified by the
2702
+ # `ServerId` parameter.
2703
+ #
2704
+ # @option params [Integer] :max_results
2705
+ # The maximum number of host keys to return.
2706
+ #
2707
+ # @option params [String] :next_token
2708
+ # When there are additional results that were not returned, a
2709
+ # `NextToken` parameter is returned. You can use that value for a
2710
+ # subsequent call to `ListHostKeys` to continue listing results.
2711
+ #
2712
+ # @option params [required, String] :server_id
2713
+ # The identifier of the server that contains the host keys that you want
2714
+ # to view.
2715
+ #
2716
+ # @return [Types::ListHostKeysResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2717
+ #
2718
+ # * {Types::ListHostKeysResponse#next_token #next_token} => String
2719
+ # * {Types::ListHostKeysResponse#server_id #server_id} => String
2720
+ # * {Types::ListHostKeysResponse#host_keys #host_keys} => Array&lt;Types::ListedHostKey&gt;
2721
+ #
2722
+ # @example Request syntax with placeholder values
2723
+ #
2724
+ # resp = client.list_host_keys({
2725
+ # max_results: 1,
2726
+ # next_token: "NextToken",
2727
+ # server_id: "ServerId", # required
2728
+ # })
2729
+ #
2730
+ # @example Response structure
2731
+ #
2732
+ # resp.next_token #=> String
2733
+ # resp.server_id #=> String
2734
+ # resp.host_keys #=> Array
2735
+ # resp.host_keys[0].arn #=> String
2736
+ # resp.host_keys[0].host_key_id #=> String
2737
+ # resp.host_keys[0].fingerprint #=> String
2738
+ # resp.host_keys[0].description #=> String
2739
+ # resp.host_keys[0].type #=> String
2740
+ # resp.host_keys[0].date_imported #=> Time
2741
+ #
2742
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ListHostKeys AWS API Documentation
2743
+ #
2744
+ # @overload list_host_keys(params = {})
2745
+ # @param [Hash] params ({})
2746
+ def list_host_keys(params = {}, options = {})
2747
+ req = build_request(:list_host_keys, params)
2748
+ req.send_request(options)
2749
+ end
2750
+
2554
2751
  # Returns a list of the profiles for your system. If you want to limit
2555
2752
  # the results to a certain number, supply a value for the `MaxResults`
2556
2753
  # parameter. If you ran the command previously and received a value for
@@ -2879,8 +3076,8 @@ module Aws::Transfer
2879
3076
  req.send_request(options)
2880
3077
  end
2881
3078
 
2882
- # Begins an outbound file transfer. You specify the `ConnectorId` and
2883
- # 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.
2884
3081
  #
2885
3082
  # @option params [required, String] :connector_id
2886
3083
  # The unique identifier for the connector.
@@ -3482,6 +3679,46 @@ module Aws::Transfer
3482
3679
  req.send_request(options)
3483
3680
  end
3484
3681
 
3682
+ # Updates the description for the host key that's specified by the
3683
+ # `ServerId` and `HostKeyId` parameters.
3684
+ #
3685
+ # @option params [required, String] :server_id
3686
+ # The identifier of the server that contains the host key that you are
3687
+ # updating.
3688
+ #
3689
+ # @option params [required, String] :host_key_id
3690
+ # The identifier of the host key that you are updating.
3691
+ #
3692
+ # @option params [required, String] :description
3693
+ # An updated description for the host key.
3694
+ #
3695
+ # @return [Types::UpdateHostKeyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3696
+ #
3697
+ # * {Types::UpdateHostKeyResponse#server_id #server_id} => String
3698
+ # * {Types::UpdateHostKeyResponse#host_key_id #host_key_id} => String
3699
+ #
3700
+ # @example Request syntax with placeholder values
3701
+ #
3702
+ # resp = client.update_host_key({
3703
+ # server_id: "ServerId", # required
3704
+ # host_key_id: "HostKeyId", # required
3705
+ # description: "HostKeyDescription", # required
3706
+ # })
3707
+ #
3708
+ # @example Response structure
3709
+ #
3710
+ # resp.server_id #=> String
3711
+ # resp.host_key_id #=> String
3712
+ #
3713
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/UpdateHostKey AWS API Documentation
3714
+ #
3715
+ # @overload update_host_key(params = {})
3716
+ # @param [Hash] params ({})
3717
+ def update_host_key(params = {}, options = {})
3718
+ req = build_request(:update_host_key, params)
3719
+ req.send_request(options)
3720
+ end
3721
+
3485
3722
  # Updates some of the parameters for an existing profile. Provide the
3486
3723
  # `ProfileId` for the profile that you want to update, along with the
3487
3724
  # new values for the parameters to update.
@@ -3623,7 +3860,9 @@ module Aws::Transfer
3623
3860
  # </note>
3624
3861
  #
3625
3862
  # @option params [String] :host_key
3626
- # The RSA, ECDSA, or ED25519 private key to use for your server.
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.
3627
3866
  #
3628
3867
  # Use the following command to generate an RSA 2048 bit key with no
3629
3868
  # passphrase:
@@ -3652,7 +3891,7 @@ module Aws::Transfer
3652
3891
  # SFTP-enabled server to a new server, don't update the host key.
3653
3892
  # Accidentally changing a server's host key can be disruptive.
3654
3893
  #
3655
- # For more information, see [Change the host key for your SFTP-enabled
3894
+ # For more information, see [Update host keys for your SFTP-enabled
3656
3895
  # server][1] in the *Transfer Family User Guide*.
3657
3896
  #
3658
3897
  #
@@ -3736,6 +3975,11 @@ module Aws::Transfer
3736
3975
  # Specifies the workflow ID for the workflow to assign and the execution
3737
3976
  # role that's used for executing the workflow.
3738
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
+ #
3739
3983
  # To remove an associated workflow from a server, you can provide an
3740
3984
  # empty `OnUpload` object, as in the following example.
3741
3985
  #
@@ -3778,7 +4022,13 @@ module Aws::Transfer
3778
4022
  # security_policy_name: "SecurityPolicyName",
3779
4023
  # server_id: "ServerId", # required
3780
4024
  # workflow_details: {
3781
- # on_upload: [ # required
4025
+ # on_upload: [
4026
+ # {
4027
+ # workflow_id: "WorkflowId", # required
4028
+ # execution_role: "Role", # required
4029
+ # },
4030
+ # ],
4031
+ # on_partial_upload: [
3782
4032
  # {
3783
4033
  # workflow_id: "WorkflowId", # required
3784
4034
  # execution_role: "Role", # required
@@ -3958,7 +4208,7 @@ module Aws::Transfer
3958
4208
  params: params,
3959
4209
  config: config)
3960
4210
  context[:gem_name] = 'aws-sdk-transfer'
3961
- context[:gem_version] = '1.58.0'
4211
+ context[:gem_version] = '1.60.0'
3962
4212
  Seahorse::Client::Request.new(handlers, context)
3963
4213
  end
3964
4214