aws-sdk-transfer 1.57.0 → 1.59.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9979487ffcaf1e591f578ab8ead99de5e8a4762488a0e550ef8ef4ff0f6e6979
4
- data.tar.gz: d20d0d5356f22d95f553f54e40921aab60cfd6957b02f1e2b146a0f2c5a73161
3
+ metadata.gz: 98089ecdcf2e9a746ee65bc0a529c97f48f666deabec6dced02fe323e14d899a
4
+ data.tar.gz: dd0f7bd139618d8dcfb05ef4b7c8b79ff9e63c7414d999515c4a5ca393cbb8e2
5
5
  SHA512:
6
- metadata.gz: e00b9bfccaab724d24fd3beadc20ca3193d052e900ca9762f6ca83f6117ecb4b0119e9e84c3a42aa6ae6b727ee46b3830ac6822e50e2355930415ff084a7f286
7
- data.tar.gz: 43b51b9c439f02926bb1b6f24548efe1f90e4531f69f86fc7f6b37a16ae497dc567713b9b4eddda13026d526c7cb407a6d61152a20ed16080f3a2806d3874a3c
6
+ metadata.gz: ad1509226e8f09f092ae565f03782438aeed5440b0aa781df7d1612c0f821e32c9e6685c4ea5d415f14a731070c102cd500aa0202cf48ac56f36ed0ebf68580d
7
+ data.tar.gz: 6831c9934188d2e9857dfb6a9f52bc7e75bd8b53625970ec18dee2e277efbb08c581a84bc0888d5f1b0a8c2acb52ad7d5b4dcbd1745257691bc032292344ac55
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.59.0 (2022-09-13)
5
+ ------------------
6
+
7
+ * Feature - This release introduces the ability to have multiple server host keys for any of your Transfer Family servers that use the SFTP protocol.
8
+
9
+ 1.58.0 (2022-08-24)
10
+ ------------------
11
+
12
+ * Feature - Documentation updates for AWS Transfer Family
13
+
4
14
  1.57.0 (2022-07-26)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.57.0
1
+ 1.59.0
@@ -547,9 +547,18 @@ module Aws::Transfer
547
547
  # A `BaseDirectory` example is `/DOC-EXAMPLE-BUCKET/home/mydirectory `.
548
548
  #
549
549
  # @option params [required, String] :access_role
550
- # The Amazon Resource Name (ARN) of the Identity and Access Management
551
- # (IAM) role that grants access to at least the `HomeDirectory` of your
552
- # users' Amazon S3 buckets.
550
+ # With AS2, you can send files by calling `StartFileTransfer` and
551
+ # specifying the file paths in the request parameter, `SendFilePaths`.
552
+ # We use the file’s parent directory (for example, for
553
+ # `--send-file-paths /bucket/dir/file.txt`, parent directory is
554
+ # `/bucket/dir/`) to temporarily store a processed AS2 message file,
555
+ # store the MDN when we receive them from the partner, and write a final
556
+ # JSON file containing relevant metadata of the transmission. So, the
557
+ # `AccessRole` needs to provide read and write access to the parent
558
+ # directory of the file location used in the `StartFileTransfer`
559
+ # request. Additionally, you need to provide read and write access to
560
+ # the parent directory of the files that you intend to send with
561
+ # `StartFileTransfer`.
553
562
  #
554
563
  # @option params [String] :status
555
564
  # The status of the agreement. The agreement can be either `ACTIVE` or
@@ -672,10 +681,10 @@ module Aws::Transfer
672
681
  # partner and the AS2 process.
673
682
  #
674
683
  # @option params [required, String] :as_2_id
675
- # The `As2Id` is the *AS2-name*, as defined in the defined in the [RFC
676
- # 4130][1]. For inbound transfers, this is the `AS2-From` header for the
677
- # AS2 messages sent from the partner. For outbound connectors, this is
678
- # the `AS2-To` header for the AS2 messages sent to the partner using the
684
+ # The `As2Id` is the *AS2-name*, as defined in the [RFC 4130][1]. For
685
+ # inbound transfers, this is the `AS2-From` header for the AS2 messages
686
+ # sent from the partner. For outbound connectors, this is the `AS2-To`
687
+ # header for the AS2 messages sent to the partner using the
679
688
  # `StartFileTransfer` API operation. This ID cannot include spaces.
680
689
  #
681
690
  #
@@ -1474,6 +1483,33 @@ module Aws::Transfer
1474
1483
  req.send_request(options)
1475
1484
  end
1476
1485
 
1486
+ # Deletes the host key that's specified in the `HoskKeyId` parameter.
1487
+ #
1488
+ # @option params [required, String] :server_id
1489
+ # Provide the ID of the server that contains the host key that you are
1490
+ # deleting.
1491
+ #
1492
+ # @option params [required, String] :host_key_id
1493
+ # The ID of the host key that you are deleting.
1494
+ #
1495
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1496
+ #
1497
+ # @example Request syntax with placeholder values
1498
+ #
1499
+ # resp = client.delete_host_key({
1500
+ # server_id: "ServerId", # required
1501
+ # host_key_id: "HostKeyId", # required
1502
+ # })
1503
+ #
1504
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DeleteHostKey AWS API Documentation
1505
+ #
1506
+ # @overload delete_host_key(params = {})
1507
+ # @param [Hash] params ({})
1508
+ def delete_host_key(params = {}, options = {})
1509
+ req = build_request(:delete_host_key, params)
1510
+ req.send_request(options)
1511
+ end
1512
+
1477
1513
  # Deletes the profile that's specified in the `ProfileId` parameter.
1478
1514
  #
1479
1515
  # @option params [required, String] :profile_id
@@ -1869,6 +1905,48 @@ module Aws::Transfer
1869
1905
  req.send_request(options)
1870
1906
  end
1871
1907
 
1908
+ # Returns the details of the host key that's specified by the
1909
+ # `HostKeyId` and `ServerId`.
1910
+ #
1911
+ # @option params [required, String] :server_id
1912
+ # Provide the ID of the server that contains the host key that you want
1913
+ # described.
1914
+ #
1915
+ # @option params [required, String] :host_key_id
1916
+ # Provide the ID of the host key that you want described.
1917
+ #
1918
+ # @return [Types::DescribeHostKeyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1919
+ #
1920
+ # * {Types::DescribeHostKeyResponse#host_key #host_key} => Types::DescribedHostKey
1921
+ #
1922
+ # @example Request syntax with placeholder values
1923
+ #
1924
+ # resp = client.describe_host_key({
1925
+ # server_id: "ServerId", # required
1926
+ # host_key_id: "HostKeyId", # required
1927
+ # })
1928
+ #
1929
+ # @example Response structure
1930
+ #
1931
+ # resp.host_key.arn #=> String
1932
+ # resp.host_key.host_key_id #=> String
1933
+ # resp.host_key.host_key_fingerprint #=> String
1934
+ # resp.host_key.description #=> String
1935
+ # resp.host_key.type #=> String
1936
+ # resp.host_key.date_imported #=> Time
1937
+ # resp.host_key.tags #=> Array
1938
+ # resp.host_key.tags[0].key #=> String
1939
+ # resp.host_key.tags[0].value #=> String
1940
+ #
1941
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DescribeHostKey AWS API Documentation
1942
+ #
1943
+ # @overload describe_host_key(params = {})
1944
+ # @param [Hash] params ({})
1945
+ def describe_host_key(params = {}, options = {})
1946
+ req = build_request(:describe_host_key, params)
1947
+ req.send_request(options)
1948
+ end
1949
+
1872
1950
  # Returns the details of the profile that's specified by the
1873
1951
  # `ProfileId`.
1874
1952
  #
@@ -2224,6 +2302,56 @@ module Aws::Transfer
2224
2302
  req.send_request(options)
2225
2303
  end
2226
2304
 
2305
+ # Adds a host key to the server specified by the `ServerId` parameter.
2306
+ #
2307
+ # @option params [required, String] :server_id
2308
+ # Provide the ID of the server that contains the host key that you are
2309
+ # importing.
2310
+ #
2311
+ # @option params [required, String] :host_key_body
2312
+ # The public key portion of an SSH key pair.
2313
+ #
2314
+ # Transfer Family accepts RSA, ECDSA, and ED25519 keys.
2315
+ #
2316
+ # @option params [String] :description
2317
+ # Enter a text description to identify this host key.
2318
+ #
2319
+ # @option params [Array<Types::Tag>] :tags
2320
+ # Key-value pairs that can be used to group and search for host keys.
2321
+ #
2322
+ # @return [Types::ImportHostKeyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2323
+ #
2324
+ # * {Types::ImportHostKeyResponse#server_id #server_id} => String
2325
+ # * {Types::ImportHostKeyResponse#host_key_id #host_key_id} => String
2326
+ #
2327
+ # @example Request syntax with placeholder values
2328
+ #
2329
+ # resp = client.import_host_key({
2330
+ # server_id: "ServerId", # required
2331
+ # host_key_body: "HostKey", # required
2332
+ # description: "HostKeyDescription",
2333
+ # tags: [
2334
+ # {
2335
+ # key: "TagKey", # required
2336
+ # value: "TagValue", # required
2337
+ # },
2338
+ # ],
2339
+ # })
2340
+ #
2341
+ # @example Response structure
2342
+ #
2343
+ # resp.server_id #=> String
2344
+ # resp.host_key_id #=> String
2345
+ #
2346
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ImportHostKey AWS API Documentation
2347
+ #
2348
+ # @overload import_host_key(params = {})
2349
+ # @param [Hash] params ({})
2350
+ def import_host_key(params = {}, options = {})
2351
+ req = build_request(:import_host_key, params)
2352
+ req.send_request(options)
2353
+ end
2354
+
2227
2355
  # Adds a Secure Shell (SSH) public key to a user account identified by a
2228
2356
  # `UserName` value assigned to the specific file transfer
2229
2357
  # protocol-enabled server, identified by `ServerId`.
@@ -2542,6 +2670,56 @@ module Aws::Transfer
2542
2670
  req.send_request(options)
2543
2671
  end
2544
2672
 
2673
+ # Returns a list of host keys for the server specified by the `ServerId`
2674
+ # paramter.
2675
+ #
2676
+ # @option params [Integer] :max_results
2677
+ # The maximum number of host keys to return.
2678
+ #
2679
+ # @option params [String] :next_token
2680
+ # When there are additional results that were not returned, a
2681
+ # `NextToken` parameter is returned. You can use that value for a
2682
+ # subsequent call to `ListHostKeys` to continue listing results.
2683
+ #
2684
+ # @option params [required, String] :server_id
2685
+ # Provide the ID of the server that contains the host keys that you want
2686
+ # to view.
2687
+ #
2688
+ # @return [Types::ListHostKeysResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2689
+ #
2690
+ # * {Types::ListHostKeysResponse#next_token #next_token} => String
2691
+ # * {Types::ListHostKeysResponse#server_id #server_id} => String
2692
+ # * {Types::ListHostKeysResponse#host_keys #host_keys} => Array&lt;Types::ListedHostKey&gt;
2693
+ #
2694
+ # @example Request syntax with placeholder values
2695
+ #
2696
+ # resp = client.list_host_keys({
2697
+ # max_results: 1,
2698
+ # next_token: "NextToken",
2699
+ # server_id: "ServerId", # required
2700
+ # })
2701
+ #
2702
+ # @example Response structure
2703
+ #
2704
+ # resp.next_token #=> String
2705
+ # resp.server_id #=> String
2706
+ # resp.host_keys #=> Array
2707
+ # resp.host_keys[0].arn #=> String
2708
+ # resp.host_keys[0].host_key_id #=> String
2709
+ # resp.host_keys[0].fingerprint #=> String
2710
+ # resp.host_keys[0].description #=> String
2711
+ # resp.host_keys[0].type #=> String
2712
+ # resp.host_keys[0].date_imported #=> Time
2713
+ #
2714
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ListHostKeys AWS API Documentation
2715
+ #
2716
+ # @overload list_host_keys(params = {})
2717
+ # @param [Hash] params ({})
2718
+ def list_host_keys(params = {}, options = {})
2719
+ req = build_request(:list_host_keys, params)
2720
+ req.send_request(options)
2721
+ end
2722
+
2545
2723
  # Returns a list of the profiles for your system. If you want to limit
2546
2724
  # the results to a certain number, supply a value for the `MaxResults`
2547
2725
  # parameter. If you ran the command previously and received a value for
@@ -3307,10 +3485,13 @@ module Aws::Transfer
3307
3485
  # inactive agreement or the reverse.
3308
3486
  #
3309
3487
  # @option params [String] :local_profile_id
3488
+ # A unique identifier for the AS2 local profile.
3489
+ #
3310
3490
  # To change the local profile identifier, provide a new value here.
3311
3491
  #
3312
3492
  # @option params [String] :partner_profile_id
3313
- # To change the partner profile identifier, provide a new value here.
3493
+ # A unique identifier for the partner profile. To change the partner
3494
+ # profile identifier, provide a new value here.
3314
3495
  #
3315
3496
  # @option params [String] :base_directory
3316
3497
  # To change the landing directory (folder) for files that are
@@ -3318,9 +3499,18 @@ module Aws::Transfer
3318
3499
  # example, `/DOC-EXAMPLE-BUCKET/home/mydirectory `.
3319
3500
  #
3320
3501
  # @option params [String] :access_role
3321
- # The Amazon Resource Name (ARN) of the Identity and Access Management
3322
- # (IAM) role that grants access to at least the `HomeDirectory` of your
3323
- # users' Amazon S3 buckets.
3502
+ # With AS2, you can send files by calling `StartFileTransfer` and
3503
+ # specifying the file paths in the request parameter, `SendFilePaths`.
3504
+ # We use the file’s parent directory (for example, for
3505
+ # `--send-file-paths /bucket/dir/file.txt`, parent directory is
3506
+ # `/bucket/dir/`) to temporarily store a processed AS2 message file,
3507
+ # store the MDN when we receive them from the partner, and write a final
3508
+ # JSON file containing relevant metadata of the transmission. So, the
3509
+ # `AccessRole` needs to provide read and write access to the parent
3510
+ # directory of the file location used in the `StartFileTransfer`
3511
+ # request. Additionally, you need to provide read and write access to
3512
+ # the parent directory of the files that you intend to send with
3513
+ # `StartFileTransfer`.
3324
3514
  #
3325
3515
  # @return [Types::UpdateAgreementResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3326
3516
  #
@@ -3461,6 +3651,46 @@ module Aws::Transfer
3461
3651
  req.send_request(options)
3462
3652
  end
3463
3653
 
3654
+ # Updates the description for the host key specified by the specified by
3655
+ # the `ServerId` and `HostKeyId` parameters.
3656
+ #
3657
+ # @option params [required, String] :server_id
3658
+ # Provide the ID of the server that contains the host key that you are
3659
+ # updating.
3660
+ #
3661
+ # @option params [required, String] :host_key_id
3662
+ # Provide the ID of the host key that you are updating.
3663
+ #
3664
+ # @option params [required, String] :description
3665
+ # Provide an updated description for the host key.
3666
+ #
3667
+ # @return [Types::UpdateHostKeyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3668
+ #
3669
+ # * {Types::UpdateHostKeyResponse#server_id #server_id} => String
3670
+ # * {Types::UpdateHostKeyResponse#host_key_id #host_key_id} => String
3671
+ #
3672
+ # @example Request syntax with placeholder values
3673
+ #
3674
+ # resp = client.update_host_key({
3675
+ # server_id: "ServerId", # required
3676
+ # host_key_id: "HostKeyId", # required
3677
+ # description: "HostKeyDescription", # required
3678
+ # })
3679
+ #
3680
+ # @example Response structure
3681
+ #
3682
+ # resp.server_id #=> String
3683
+ # resp.host_key_id #=> String
3684
+ #
3685
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/UpdateHostKey AWS API Documentation
3686
+ #
3687
+ # @overload update_host_key(params = {})
3688
+ # @param [Hash] params ({})
3689
+ def update_host_key(params = {}, options = {})
3690
+ req = build_request(:update_host_key, params)
3691
+ req.send_request(options)
3692
+ end
3693
+
3464
3694
  # Updates some of the parameters for an existing profile. Provide the
3465
3695
  # `ProfileId` for the profile that you want to update, along with the
3466
3696
  # new values for the parameters to update.
@@ -3672,28 +3902,34 @@ module Aws::Transfer
3672
3902
  # transfer protocol client can connect to your server's endpoint. The
3673
3903
  # available protocols are:
3674
3904
  #
3675
- # * Secure Shell (SSH) File Transfer Protocol (SFTP): File transfer over
3676
- # SSH
3905
+ # * `SFTP` (Secure Shell (SSH) File Transfer Protocol): File transfer
3906
+ # over SSH
3677
3907
  #
3678
- # * File Transfer Protocol Secure (FTPS): File transfer with TLS
3908
+ # * `FTPS` (File Transfer Protocol Secure): File transfer with TLS
3679
3909
  # encryption
3680
3910
  #
3681
- # * File Transfer Protocol (FTP): Unencrypted file transfer
3911
+ # * `FTP` (File Transfer Protocol): Unencrypted file transfer
3912
+ #
3913
+ # * `AS2` (Applicability Statement 2): used for transporting structured
3914
+ # business-to-business data
3915
+ #
3916
+ # <note markdown="1"> * If you select `FTPS`, you must choose a certificate stored in
3917
+ # Certificate Manager (ACM) which is used to identify your server when
3918
+ # clients connect to it over FTPS.
3682
3919
  #
3683
- # <note markdown="1"> If you select `FTPS`, you must choose a certificate stored in Amazon
3684
- # Web ServicesCertificate Manager (ACM) which will be used to identify
3685
- # your server when clients connect to it over FTPS.
3920
+ # * If `Protocol` includes either `FTP` or `FTPS`, then the
3921
+ # `EndpointType` must be `VPC` and the `IdentityProviderType` must be
3922
+ # `AWS_DIRECTORY_SERVICE` or `API_GATEWAY`.
3686
3923
  #
3687
- # If `Protocol` includes either `FTP` or `FTPS`, then the `EndpointType`
3688
- # must be `VPC` and the `IdentityProviderType` must be
3689
- # `AWS_DIRECTORY_SERVICE` or `API_GATEWAY`.
3924
+ # * If `Protocol` includes `FTP`, then `AddressAllocationIds` cannot be
3925
+ # associated.
3690
3926
  #
3691
- # If `Protocol` includes `FTP`, then `AddressAllocationIds` cannot be
3692
- # associated.
3927
+ # * If `Protocol` is set only to `SFTP`, the `EndpointType` can be set
3928
+ # to `PUBLIC` and the `IdentityProviderType` can be set to
3929
+ # `SERVICE_MANAGED`.
3693
3930
  #
3694
- # If `Protocol` is set only to `SFTP`, the `EndpointType` can be set to
3695
- # `PUBLIC` and the `IdentityProviderType` can be set to
3696
- # `SERVICE_MANAGED`.
3931
+ # * If `Protocol` includes `AS2`, then the `EndpointType` must be `VPC`,
3932
+ # and domain must be Amazon S3.
3697
3933
  #
3698
3934
  # </note>
3699
3935
  #
@@ -3931,7 +4167,7 @@ module Aws::Transfer
3931
4167
  params: params,
3932
4168
  config: config)
3933
4169
  context[:gem_name] = 'aws-sdk-transfer'
3934
- context[:gem_version] = '1.57.0'
4170
+ context[:gem_version] = '1.59.0'
3935
4171
  Seahorse::Client::Request.new(handlers, context)
3936
4172
  end
3937
4173