aws-sdk-transfer 1.58.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: 8a13939bb04d1626575a179a207b8c439389cd89ff8d1211e800e9b5cea83ded
4
- data.tar.gz: d34fbbe4805f79565e01669650859ab7b749009e85faf046bdb05227fd59d45c
3
+ metadata.gz: 98089ecdcf2e9a746ee65bc0a529c97f48f666deabec6dced02fe323e14d899a
4
+ data.tar.gz: dd0f7bd139618d8dcfb05ef4b7c8b79ff9e63c7414d999515c4a5ca393cbb8e2
5
5
  SHA512:
6
- metadata.gz: f714601ebc7a90411c9aaa18d05d10021be58250c78871e908658642e6b2932d75fea6f1699bcee8dc42b62d75f268164d79658950658cedb7c0c05ca27fbcdd
7
- data.tar.gz: '089541d2d201998478a1cdfd809f823011b0a0cc37972b99a3d600568911551291d51dc63a50e4340f513e856e2aeffdd5dc27477995fb44595f18392238da3d'
6
+ metadata.gz: ad1509226e8f09f092ae565f03782438aeed5440b0aa781df7d1612c0f821e32c9e6685c4ea5d415f14a731070c102cd500aa0202cf48ac56f36ed0ebf68580d
7
+ data.tar.gz: 6831c9934188d2e9857dfb6a9f52bc7e75bd8b53625970ec18dee2e277efbb08c581a84bc0888d5f1b0a8c2acb52ad7d5b4dcbd1745257691bc032292344ac55
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
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
+
4
9
  1.58.0 (2022-08-24)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.58.0
1
+ 1.59.0
@@ -1483,6 +1483,33 @@ module Aws::Transfer
1483
1483
  req.send_request(options)
1484
1484
  end
1485
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
+
1486
1513
  # Deletes the profile that's specified in the `ProfileId` parameter.
1487
1514
  #
1488
1515
  # @option params [required, String] :profile_id
@@ -1878,6 +1905,48 @@ module Aws::Transfer
1878
1905
  req.send_request(options)
1879
1906
  end
1880
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
+
1881
1950
  # Returns the details of the profile that's specified by the
1882
1951
  # `ProfileId`.
1883
1952
  #
@@ -2233,6 +2302,56 @@ module Aws::Transfer
2233
2302
  req.send_request(options)
2234
2303
  end
2235
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
+
2236
2355
  # Adds a Secure Shell (SSH) public key to a user account identified by a
2237
2356
  # `UserName` value assigned to the specific file transfer
2238
2357
  # protocol-enabled server, identified by `ServerId`.
@@ -2551,6 +2670,56 @@ module Aws::Transfer
2551
2670
  req.send_request(options)
2552
2671
  end
2553
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
+
2554
2723
  # Returns a list of the profiles for your system. If you want to limit
2555
2724
  # the results to a certain number, supply a value for the `MaxResults`
2556
2725
  # parameter. If you ran the command previously and received a value for
@@ -3482,6 +3651,46 @@ module Aws::Transfer
3482
3651
  req.send_request(options)
3483
3652
  end
3484
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
+
3485
3694
  # Updates some of the parameters for an existing profile. Provide the
3486
3695
  # `ProfileId` for the profile that you want to update, along with the
3487
3696
  # new values for the parameters to update.
@@ -3958,7 +4167,7 @@ module Aws::Transfer
3958
4167
  params: params,
3959
4168
  config: config)
3960
4169
  context[:gem_name] = 'aws-sdk-transfer'
3961
- context[:gem_version] = '1.58.0'
4170
+ context[:gem_version] = '1.59.0'
3962
4171
  Seahorse::Client::Request.new(handlers, context)
3963
4172
  end
3964
4173
 
@@ -61,6 +61,7 @@ module Aws::Transfer
61
61
  DeleteAgreementRequest = Shapes::StructureShape.new(name: 'DeleteAgreementRequest')
62
62
  DeleteCertificateRequest = Shapes::StructureShape.new(name: 'DeleteCertificateRequest')
63
63
  DeleteConnectorRequest = Shapes::StructureShape.new(name: 'DeleteConnectorRequest')
64
+ DeleteHostKeyRequest = Shapes::StructureShape.new(name: 'DeleteHostKeyRequest')
64
65
  DeleteProfileRequest = Shapes::StructureShape.new(name: 'DeleteProfileRequest')
65
66
  DeleteServerRequest = Shapes::StructureShape.new(name: 'DeleteServerRequest')
66
67
  DeleteSshPublicKeyRequest = Shapes::StructureShape.new(name: 'DeleteSshPublicKeyRequest')
@@ -77,6 +78,8 @@ module Aws::Transfer
77
78
  DescribeConnectorResponse = Shapes::StructureShape.new(name: 'DescribeConnectorResponse')
78
79
  DescribeExecutionRequest = Shapes::StructureShape.new(name: 'DescribeExecutionRequest')
79
80
  DescribeExecutionResponse = Shapes::StructureShape.new(name: 'DescribeExecutionResponse')
81
+ DescribeHostKeyRequest = Shapes::StructureShape.new(name: 'DescribeHostKeyRequest')
82
+ DescribeHostKeyResponse = Shapes::StructureShape.new(name: 'DescribeHostKeyResponse')
80
83
  DescribeProfileRequest = Shapes::StructureShape.new(name: 'DescribeProfileRequest')
81
84
  DescribeProfileResponse = Shapes::StructureShape.new(name: 'DescribeProfileResponse')
82
85
  DescribeSecurityPolicyRequest = Shapes::StructureShape.new(name: 'DescribeSecurityPolicyRequest')
@@ -92,6 +95,7 @@ module Aws::Transfer
92
95
  DescribedCertificate = Shapes::StructureShape.new(name: 'DescribedCertificate')
93
96
  DescribedConnector = Shapes::StructureShape.new(name: 'DescribedConnector')
94
97
  DescribedExecution = Shapes::StructureShape.new(name: 'DescribedExecution')
98
+ DescribedHostKey = Shapes::StructureShape.new(name: 'DescribedHostKey')
95
99
  DescribedProfile = Shapes::StructureShape.new(name: 'DescribedProfile')
96
100
  DescribedSecurityPolicy = Shapes::StructureShape.new(name: 'DescribedSecurityPolicy')
97
101
  DescribedServer = Shapes::StructureShape.new(name: 'DescribedServer')
@@ -125,11 +129,16 @@ module Aws::Transfer
125
129
  HomeDirectoryMappings = Shapes::ListShape.new(name: 'HomeDirectoryMappings')
126
130
  HomeDirectoryType = Shapes::StringShape.new(name: 'HomeDirectoryType')
127
131
  HostKey = Shapes::StringShape.new(name: 'HostKey')
132
+ HostKeyDescription = Shapes::StringShape.new(name: 'HostKeyDescription')
128
133
  HostKeyFingerprint = Shapes::StringShape.new(name: 'HostKeyFingerprint')
134
+ HostKeyId = Shapes::StringShape.new(name: 'HostKeyId')
135
+ HostKeyType = Shapes::StringShape.new(name: 'HostKeyType')
129
136
  IdentityProviderDetails = Shapes::StructureShape.new(name: 'IdentityProviderDetails')
130
137
  IdentityProviderType = Shapes::StringShape.new(name: 'IdentityProviderType')
131
138
  ImportCertificateRequest = Shapes::StructureShape.new(name: 'ImportCertificateRequest')
132
139
  ImportCertificateResponse = Shapes::StructureShape.new(name: 'ImportCertificateResponse')
140
+ ImportHostKeyRequest = Shapes::StructureShape.new(name: 'ImportHostKeyRequest')
141
+ ImportHostKeyResponse = Shapes::StructureShape.new(name: 'ImportHostKeyResponse')
133
142
  ImportSshPublicKeyRequest = Shapes::StructureShape.new(name: 'ImportSshPublicKeyRequest')
134
143
  ImportSshPublicKeyResponse = Shapes::StructureShape.new(name: 'ImportSshPublicKeyResponse')
135
144
  InputFileLocation = Shapes::StructureShape.new(name: 'InputFileLocation')
@@ -146,6 +155,8 @@ module Aws::Transfer
146
155
  ListConnectorsResponse = Shapes::StructureShape.new(name: 'ListConnectorsResponse')
147
156
  ListExecutionsRequest = Shapes::StructureShape.new(name: 'ListExecutionsRequest')
148
157
  ListExecutionsResponse = Shapes::StructureShape.new(name: 'ListExecutionsResponse')
158
+ ListHostKeysRequest = Shapes::StructureShape.new(name: 'ListHostKeysRequest')
159
+ ListHostKeysResponse = Shapes::StructureShape.new(name: 'ListHostKeysResponse')
149
160
  ListProfilesRequest = Shapes::StructureShape.new(name: 'ListProfilesRequest')
150
161
  ListProfilesResponse = Shapes::StructureShape.new(name: 'ListProfilesResponse')
151
162
  ListSecurityPoliciesRequest = Shapes::StructureShape.new(name: 'ListSecurityPoliciesRequest')
@@ -168,6 +179,8 @@ module Aws::Transfer
168
179
  ListedConnectors = Shapes::ListShape.new(name: 'ListedConnectors')
169
180
  ListedExecution = Shapes::StructureShape.new(name: 'ListedExecution')
170
181
  ListedExecutions = Shapes::ListShape.new(name: 'ListedExecutions')
182
+ ListedHostKey = Shapes::StructureShape.new(name: 'ListedHostKey')
183
+ ListedHostKeys = Shapes::ListShape.new(name: 'ListedHostKeys')
171
184
  ListedProfile = Shapes::StructureShape.new(name: 'ListedProfile')
172
185
  ListedProfiles = Shapes::ListShape.new(name: 'ListedProfiles')
173
186
  ListedServer = Shapes::StructureShape.new(name: 'ListedServer')
@@ -271,6 +284,8 @@ module Aws::Transfer
271
284
  UpdateCertificateResponse = Shapes::StructureShape.new(name: 'UpdateCertificateResponse')
272
285
  UpdateConnectorRequest = Shapes::StructureShape.new(name: 'UpdateConnectorRequest')
273
286
  UpdateConnectorResponse = Shapes::StructureShape.new(name: 'UpdateConnectorResponse')
287
+ UpdateHostKeyRequest = Shapes::StructureShape.new(name: 'UpdateHostKeyRequest')
288
+ UpdateHostKeyResponse = Shapes::StructureShape.new(name: 'UpdateHostKeyResponse')
274
289
  UpdateProfileRequest = Shapes::StructureShape.new(name: 'UpdateProfileRequest')
275
290
  UpdateProfileResponse = Shapes::StructureShape.new(name: 'UpdateProfileResponse')
276
291
  UpdateServerRequest = Shapes::StructureShape.new(name: 'UpdateServerRequest')
@@ -432,6 +447,10 @@ module Aws::Transfer
432
447
  DeleteConnectorRequest.add_member(:connector_id, Shapes::ShapeRef.new(shape: ConnectorId, required: true, location_name: "ConnectorId"))
433
448
  DeleteConnectorRequest.struct_class = Types::DeleteConnectorRequest
434
449
 
450
+ DeleteHostKeyRequest.add_member(:server_id, Shapes::ShapeRef.new(shape: ServerId, required: true, location_name: "ServerId"))
451
+ DeleteHostKeyRequest.add_member(:host_key_id, Shapes::ShapeRef.new(shape: HostKeyId, required: true, location_name: "HostKeyId"))
452
+ DeleteHostKeyRequest.struct_class = Types::DeleteHostKeyRequest
453
+
435
454
  DeleteProfileRequest.add_member(:profile_id, Shapes::ShapeRef.new(shape: ProfileId, required: true, location_name: "ProfileId"))
436
455
  DeleteProfileRequest.struct_class = Types::DeleteProfileRequest
437
456
 
@@ -489,6 +508,13 @@ module Aws::Transfer
489
508
  DescribeExecutionResponse.add_member(:execution, Shapes::ShapeRef.new(shape: DescribedExecution, required: true, location_name: "Execution"))
490
509
  DescribeExecutionResponse.struct_class = Types::DescribeExecutionResponse
491
510
 
511
+ DescribeHostKeyRequest.add_member(:server_id, Shapes::ShapeRef.new(shape: ServerId, required: true, location_name: "ServerId"))
512
+ DescribeHostKeyRequest.add_member(:host_key_id, Shapes::ShapeRef.new(shape: HostKeyId, required: true, location_name: "HostKeyId"))
513
+ DescribeHostKeyRequest.struct_class = Types::DescribeHostKeyRequest
514
+
515
+ DescribeHostKeyResponse.add_member(:host_key, Shapes::ShapeRef.new(shape: DescribedHostKey, required: true, location_name: "HostKey"))
516
+ DescribeHostKeyResponse.struct_class = Types::DescribeHostKeyResponse
517
+
492
518
  DescribeProfileRequest.add_member(:profile_id, Shapes::ShapeRef.new(shape: ProfileId, required: true, location_name: "ProfileId"))
493
519
  DescribeProfileRequest.struct_class = Types::DescribeProfileRequest
494
520
 
@@ -577,6 +603,15 @@ module Aws::Transfer
577
603
  DescribedExecution.add_member(:results, Shapes::ShapeRef.new(shape: ExecutionResults, location_name: "Results"))
578
604
  DescribedExecution.struct_class = Types::DescribedExecution
579
605
 
606
+ DescribedHostKey.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "Arn"))
607
+ DescribedHostKey.add_member(:host_key_id, Shapes::ShapeRef.new(shape: HostKeyId, location_name: "HostKeyId"))
608
+ DescribedHostKey.add_member(:host_key_fingerprint, Shapes::ShapeRef.new(shape: HostKeyFingerprint, location_name: "HostKeyFingerprint"))
609
+ DescribedHostKey.add_member(:description, Shapes::ShapeRef.new(shape: HostKeyDescription, location_name: "Description"))
610
+ DescribedHostKey.add_member(:type, Shapes::ShapeRef.new(shape: HostKeyType, location_name: "Type"))
611
+ DescribedHostKey.add_member(:date_imported, Shapes::ShapeRef.new(shape: DateImported, location_name: "DateImported"))
612
+ DescribedHostKey.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
613
+ DescribedHostKey.struct_class = Types::DescribedHostKey
614
+
580
615
  DescribedProfile.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "Arn"))
581
616
  DescribedProfile.add_member(:profile_id, Shapes::ShapeRef.new(shape: ProfileId, location_name: "ProfileId"))
582
617
  DescribedProfile.add_member(:profile_type, Shapes::ShapeRef.new(shape: ProfileType, location_name: "ProfileType"))
@@ -691,6 +726,16 @@ module Aws::Transfer
691
726
  ImportCertificateResponse.add_member(:certificate_id, Shapes::ShapeRef.new(shape: CertificateId, required: true, location_name: "CertificateId"))
692
727
  ImportCertificateResponse.struct_class = Types::ImportCertificateResponse
693
728
 
729
+ ImportHostKeyRequest.add_member(:server_id, Shapes::ShapeRef.new(shape: ServerId, required: true, location_name: "ServerId"))
730
+ ImportHostKeyRequest.add_member(:host_key_body, Shapes::ShapeRef.new(shape: HostKey, required: true, location_name: "HostKeyBody"))
731
+ ImportHostKeyRequest.add_member(:description, Shapes::ShapeRef.new(shape: HostKeyDescription, location_name: "Description"))
732
+ ImportHostKeyRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
733
+ ImportHostKeyRequest.struct_class = Types::ImportHostKeyRequest
734
+
735
+ ImportHostKeyResponse.add_member(:server_id, Shapes::ShapeRef.new(shape: ServerId, required: true, location_name: "ServerId"))
736
+ ImportHostKeyResponse.add_member(:host_key_id, Shapes::ShapeRef.new(shape: HostKeyId, required: true, location_name: "HostKeyId"))
737
+ ImportHostKeyResponse.struct_class = Types::ImportHostKeyResponse
738
+
694
739
  ImportSshPublicKeyRequest.add_member(:server_id, Shapes::ShapeRef.new(shape: ServerId, required: true, location_name: "ServerId"))
695
740
  ImportSshPublicKeyRequest.add_member(:ssh_public_key_body, Shapes::ShapeRef.new(shape: SshPublicKeyBody, required: true, location_name: "SshPublicKeyBody"))
696
741
  ImportSshPublicKeyRequest.add_member(:user_name, Shapes::ShapeRef.new(shape: UserName, required: true, location_name: "UserName"))
@@ -759,6 +804,16 @@ module Aws::Transfer
759
804
  ListExecutionsResponse.add_member(:executions, Shapes::ShapeRef.new(shape: ListedExecutions, required: true, location_name: "Executions"))
760
805
  ListExecutionsResponse.struct_class = Types::ListExecutionsResponse
761
806
 
807
+ ListHostKeysRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
808
+ ListHostKeysRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
809
+ ListHostKeysRequest.add_member(:server_id, Shapes::ShapeRef.new(shape: ServerId, required: true, location_name: "ServerId"))
810
+ ListHostKeysRequest.struct_class = Types::ListHostKeysRequest
811
+
812
+ ListHostKeysResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
813
+ ListHostKeysResponse.add_member(:server_id, Shapes::ShapeRef.new(shape: ServerId, required: true, location_name: "ServerId"))
814
+ ListHostKeysResponse.add_member(:host_keys, Shapes::ShapeRef.new(shape: ListedHostKeys, required: true, location_name: "HostKeys"))
815
+ ListHostKeysResponse.struct_class = Types::ListHostKeysResponse
816
+
762
817
  ListProfilesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
763
818
  ListProfilesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
764
819
  ListProfilesRequest.add_member(:profile_type, Shapes::ShapeRef.new(shape: ProfileType, location_name: "ProfileType"))
@@ -858,6 +913,16 @@ module Aws::Transfer
858
913
 
859
914
  ListedExecutions.member = Shapes::ShapeRef.new(shape: ListedExecution)
860
915
 
916
+ ListedHostKey.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "Arn"))
917
+ ListedHostKey.add_member(:host_key_id, Shapes::ShapeRef.new(shape: HostKeyId, location_name: "HostKeyId"))
918
+ ListedHostKey.add_member(:fingerprint, Shapes::ShapeRef.new(shape: HostKeyFingerprint, location_name: "Fingerprint"))
919
+ ListedHostKey.add_member(:description, Shapes::ShapeRef.new(shape: HostKeyDescription, location_name: "Description"))
920
+ ListedHostKey.add_member(:type, Shapes::ShapeRef.new(shape: HostKeyType, location_name: "Type"))
921
+ ListedHostKey.add_member(:date_imported, Shapes::ShapeRef.new(shape: DateImported, location_name: "DateImported"))
922
+ ListedHostKey.struct_class = Types::ListedHostKey
923
+
924
+ ListedHostKeys.member = Shapes::ShapeRef.new(shape: ListedHostKey)
925
+
861
926
  ListedProfile.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "Arn"))
862
927
  ListedProfile.add_member(:profile_id, Shapes::ShapeRef.new(shape: ProfileId, location_name: "ProfileId"))
863
928
  ListedProfile.add_member(:as_2_id, Shapes::ShapeRef.new(shape: As2Id, location_name: "As2Id"))
@@ -1067,6 +1132,15 @@ module Aws::Transfer
1067
1132
  UpdateConnectorResponse.add_member(:connector_id, Shapes::ShapeRef.new(shape: ConnectorId, required: true, location_name: "ConnectorId"))
1068
1133
  UpdateConnectorResponse.struct_class = Types::UpdateConnectorResponse
1069
1134
 
1135
+ UpdateHostKeyRequest.add_member(:server_id, Shapes::ShapeRef.new(shape: ServerId, required: true, location_name: "ServerId"))
1136
+ UpdateHostKeyRequest.add_member(:host_key_id, Shapes::ShapeRef.new(shape: HostKeyId, required: true, location_name: "HostKeyId"))
1137
+ UpdateHostKeyRequest.add_member(:description, Shapes::ShapeRef.new(shape: HostKeyDescription, required: true, location_name: "Description"))
1138
+ UpdateHostKeyRequest.struct_class = Types::UpdateHostKeyRequest
1139
+
1140
+ UpdateHostKeyResponse.add_member(:server_id, Shapes::ShapeRef.new(shape: ServerId, required: true, location_name: "ServerId"))
1141
+ UpdateHostKeyResponse.add_member(:host_key_id, Shapes::ShapeRef.new(shape: HostKeyId, required: true, location_name: "HostKeyId"))
1142
+ UpdateHostKeyResponse.struct_class = Types::UpdateHostKeyResponse
1143
+
1070
1144
  UpdateProfileRequest.add_member(:profile_id, Shapes::ShapeRef.new(shape: ProfileId, required: true, location_name: "ProfileId"))
1071
1145
  UpdateProfileRequest.add_member(:certificate_ids, Shapes::ShapeRef.new(shape: CertificateIds, location_name: "CertificateIds"))
1072
1146
  UpdateProfileRequest.struct_class = Types::UpdateProfileRequest
@@ -1288,6 +1362,19 @@ module Aws::Transfer
1288
1362
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1289
1363
  end)
1290
1364
 
1365
+ api.add_operation(:delete_host_key, Seahorse::Model::Operation.new.tap do |o|
1366
+ o.name = "DeleteHostKey"
1367
+ o.http_method = "POST"
1368
+ o.http_request_uri = "/"
1369
+ o.input = Shapes::ShapeRef.new(shape: DeleteHostKeyRequest)
1370
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1371
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1372
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceError)
1373
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1374
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1375
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1376
+ end)
1377
+
1291
1378
  api.add_operation(:delete_profile, Seahorse::Model::Operation.new.tap do |o|
1292
1379
  o.name = "DeleteProfile"
1293
1380
  o.http_method = "POST"
@@ -1411,6 +1498,18 @@ module Aws::Transfer
1411
1498
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1412
1499
  end)
1413
1500
 
1501
+ api.add_operation(:describe_host_key, Seahorse::Model::Operation.new.tap do |o|
1502
+ o.name = "DescribeHostKey"
1503
+ o.http_method = "POST"
1504
+ o.http_request_uri = "/"
1505
+ o.input = Shapes::ShapeRef.new(shape: DescribeHostKeyRequest)
1506
+ o.output = Shapes::ShapeRef.new(shape: DescribeHostKeyResponse)
1507
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1508
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceError)
1509
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1510
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1511
+ end)
1512
+
1414
1513
  api.add_operation(:describe_profile, Seahorse::Model::Operation.new.tap do |o|
1415
1514
  o.name = "DescribeProfile"
1416
1515
  o.http_method = "POST"
@@ -1483,6 +1582,20 @@ module Aws::Transfer
1483
1582
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1484
1583
  end)
1485
1584
 
1585
+ api.add_operation(:import_host_key, Seahorse::Model::Operation.new.tap do |o|
1586
+ o.name = "ImportHostKey"
1587
+ o.http_method = "POST"
1588
+ o.http_request_uri = "/"
1589
+ o.input = Shapes::ShapeRef.new(shape: ImportHostKeyRequest)
1590
+ o.output = Shapes::ShapeRef.new(shape: ImportHostKeyResponse)
1591
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1592
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceError)
1593
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1594
+ o.errors << Shapes::ShapeRef.new(shape: ResourceExistsException)
1595
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1596
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1597
+ end)
1598
+
1486
1599
  api.add_operation(:import_ssh_public_key, Seahorse::Model::Operation.new.tap do |o|
1487
1600
  o.name = "ImportSshPublicKey"
1488
1601
  o.http_method = "POST"
@@ -1592,6 +1705,19 @@ module Aws::Transfer
1592
1705
  )
1593
1706
  end)
1594
1707
 
1708
+ api.add_operation(:list_host_keys, Seahorse::Model::Operation.new.tap do |o|
1709
+ o.name = "ListHostKeys"
1710
+ o.http_method = "POST"
1711
+ o.http_request_uri = "/"
1712
+ o.input = Shapes::ShapeRef.new(shape: ListHostKeysRequest)
1713
+ o.output = Shapes::ShapeRef.new(shape: ListHostKeysResponse)
1714
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1715
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceError)
1716
+ o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
1717
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1718
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1719
+ end)
1720
+
1595
1721
  api.add_operation(:list_profiles, Seahorse::Model::Operation.new.tap do |o|
1596
1722
  o.name = "ListProfiles"
1597
1723
  o.http_method = "POST"
@@ -1842,6 +1968,19 @@ module Aws::Transfer
1842
1968
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1843
1969
  end)
1844
1970
 
1971
+ api.add_operation(:update_host_key, Seahorse::Model::Operation.new.tap do |o|
1972
+ o.name = "UpdateHostKey"
1973
+ o.http_method = "POST"
1974
+ o.http_request_uri = "/"
1975
+ o.input = Shapes::ShapeRef.new(shape: UpdateHostKeyRequest)
1976
+ o.output = Shapes::ShapeRef.new(shape: UpdateHostKeyResponse)
1977
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1978
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceError)
1979
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1980
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1981
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1982
+ end)
1983
+
1845
1984
  api.add_operation(:update_profile, Seahorse::Model::Operation.new.tap do |o|
1846
1985
  o.name = "UpdateProfile"
1847
1986
  o.http_method = "POST"
@@ -1440,6 +1440,32 @@ module Aws::Transfer
1440
1440
  include Aws::Structure
1441
1441
  end
1442
1442
 
1443
+ # @note When making an API call, you may pass DeleteHostKeyRequest
1444
+ # data as a hash:
1445
+ #
1446
+ # {
1447
+ # server_id: "ServerId", # required
1448
+ # host_key_id: "HostKeyId", # required
1449
+ # }
1450
+ #
1451
+ # @!attribute [rw] server_id
1452
+ # Provide the ID of the server that contains the host key that you are
1453
+ # deleting.
1454
+ # @return [String]
1455
+ #
1456
+ # @!attribute [rw] host_key_id
1457
+ # The ID of the host key that you are deleting.
1458
+ # @return [String]
1459
+ #
1460
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DeleteHostKeyRequest AWS API Documentation
1461
+ #
1462
+ class DeleteHostKeyRequest < Struct.new(
1463
+ :server_id,
1464
+ :host_key_id)
1465
+ SENSITIVE = []
1466
+ include Aws::Structure
1467
+ end
1468
+
1443
1469
  # @note When making an API call, you may pass DeleteProfileRequest
1444
1470
  # data as a hash:
1445
1471
  #
@@ -1797,6 +1823,44 @@ module Aws::Transfer
1797
1823
  include Aws::Structure
1798
1824
  end
1799
1825
 
1826
+ # @note When making an API call, you may pass DescribeHostKeyRequest
1827
+ # data as a hash:
1828
+ #
1829
+ # {
1830
+ # server_id: "ServerId", # required
1831
+ # host_key_id: "HostKeyId", # required
1832
+ # }
1833
+ #
1834
+ # @!attribute [rw] server_id
1835
+ # Provide the ID of the server that contains the host key that you
1836
+ # want described.
1837
+ # @return [String]
1838
+ #
1839
+ # @!attribute [rw] host_key_id
1840
+ # Provide the ID of the host key that you want described.
1841
+ # @return [String]
1842
+ #
1843
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DescribeHostKeyRequest AWS API Documentation
1844
+ #
1845
+ class DescribeHostKeyRequest < Struct.new(
1846
+ :server_id,
1847
+ :host_key_id)
1848
+ SENSITIVE = []
1849
+ include Aws::Structure
1850
+ end
1851
+
1852
+ # @!attribute [rw] host_key
1853
+ # Returns the details for the specified host key.
1854
+ # @return [Types::DescribedHostKey]
1855
+ #
1856
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DescribeHostKeyResponse AWS API Documentation
1857
+ #
1858
+ class DescribeHostKeyResponse < Struct.new(
1859
+ :host_key)
1860
+ SENSITIVE = []
1861
+ include Aws::Structure
1862
+ end
1863
+
1800
1864
  # @note When making an API call, you may pass DescribeProfileRequest
1801
1865
  # data as a hash:
1802
1866
  #
@@ -2350,6 +2414,62 @@ module Aws::Transfer
2350
2414
  include Aws::Structure
2351
2415
  end
2352
2416
 
2417
+ # The details for a server host key.
2418
+ #
2419
+ # @!attribute [rw] arn
2420
+ # The unique Amazon Resource Name (ARN) for the host key.
2421
+ # @return [String]
2422
+ #
2423
+ # @!attribute [rw] host_key_id
2424
+ # A unique identifier for the host key.
2425
+ # @return [String]
2426
+ #
2427
+ # @!attribute [rw] host_key_fingerprint
2428
+ # The public key fingerprint, which is a short sequence of bytes used
2429
+ # to identify the longer public key.
2430
+ # @return [String]
2431
+ #
2432
+ # @!attribute [rw] description
2433
+ # The text description for this host key.
2434
+ # @return [String]
2435
+ #
2436
+ # @!attribute [rw] type
2437
+ # The encryption algorithm used for the host key. The `Type` is one of
2438
+ # the following values:
2439
+ #
2440
+ # * ssh-rsa
2441
+ #
2442
+ # * ssh-ed25519
2443
+ #
2444
+ # * ecdsa-sha2-nistp256
2445
+ #
2446
+ # * ecdsa-sha2-nistp384
2447
+ #
2448
+ # * ecdsa-sha2-nistp521
2449
+ # @return [String]
2450
+ #
2451
+ # @!attribute [rw] date_imported
2452
+ # The date on which the host key was added to the server.
2453
+ # @return [Time]
2454
+ #
2455
+ # @!attribute [rw] tags
2456
+ # Key-value pairs that can be used to group and search for host keys.
2457
+ # @return [Array<Types::Tag>]
2458
+ #
2459
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DescribedHostKey AWS API Documentation
2460
+ #
2461
+ class DescribedHostKey < Struct.new(
2462
+ :arn,
2463
+ :host_key_id,
2464
+ :host_key_fingerprint,
2465
+ :description,
2466
+ :type,
2467
+ :date_imported,
2468
+ :tags)
2469
+ SENSITIVE = []
2470
+ include Aws::Structure
2471
+ end
2472
+
2353
2473
  # The details for a local or partner AS2 profile. profile.
2354
2474
  #
2355
2475
  # @!attribute [rw] arn
@@ -3236,6 +3356,68 @@ module Aws::Transfer
3236
3356
  include Aws::Structure
3237
3357
  end
3238
3358
 
3359
+ # @note When making an API call, you may pass ImportHostKeyRequest
3360
+ # data as a hash:
3361
+ #
3362
+ # {
3363
+ # server_id: "ServerId", # required
3364
+ # host_key_body: "HostKey", # required
3365
+ # description: "HostKeyDescription",
3366
+ # tags: [
3367
+ # {
3368
+ # key: "TagKey", # required
3369
+ # value: "TagValue", # required
3370
+ # },
3371
+ # ],
3372
+ # }
3373
+ #
3374
+ # @!attribute [rw] server_id
3375
+ # Provide the ID of the server that contains the host key that you are
3376
+ # importing.
3377
+ # @return [String]
3378
+ #
3379
+ # @!attribute [rw] host_key_body
3380
+ # The public key portion of an SSH key pair.
3381
+ #
3382
+ # Transfer Family accepts RSA, ECDSA, and ED25519 keys.
3383
+ # @return [String]
3384
+ #
3385
+ # @!attribute [rw] description
3386
+ # Enter a text description to identify this host key.
3387
+ # @return [String]
3388
+ #
3389
+ # @!attribute [rw] tags
3390
+ # Key-value pairs that can be used to group and search for host keys.
3391
+ # @return [Array<Types::Tag>]
3392
+ #
3393
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ImportHostKeyRequest AWS API Documentation
3394
+ #
3395
+ class ImportHostKeyRequest < Struct.new(
3396
+ :server_id,
3397
+ :host_key_body,
3398
+ :description,
3399
+ :tags)
3400
+ SENSITIVE = [:host_key_body]
3401
+ include Aws::Structure
3402
+ end
3403
+
3404
+ # @!attribute [rw] server_id
3405
+ # Returns the server ID that contains the imported key.
3406
+ # @return [String]
3407
+ #
3408
+ # @!attribute [rw] host_key_id
3409
+ # Returns the host key ID for the imported key.
3410
+ # @return [String]
3411
+ #
3412
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ImportHostKeyResponse AWS API Documentation
3413
+ #
3414
+ class ImportHostKeyResponse < Struct.new(
3415
+ :server_id,
3416
+ :host_key_id)
3417
+ SENSITIVE = []
3418
+ include Aws::Structure
3419
+ end
3420
+
3239
3421
  # @note When making an API call, you may pass ImportSshPublicKeyRequest
3240
3422
  # data as a hash:
3241
3423
  #
@@ -3666,6 +3848,64 @@ module Aws::Transfer
3666
3848
  include Aws::Structure
3667
3849
  end
3668
3850
 
3851
+ # @note When making an API call, you may pass ListHostKeysRequest
3852
+ # data as a hash:
3853
+ #
3854
+ # {
3855
+ # max_results: 1,
3856
+ # next_token: "NextToken",
3857
+ # server_id: "ServerId", # required
3858
+ # }
3859
+ #
3860
+ # @!attribute [rw] max_results
3861
+ # The maximum number of host keys to return.
3862
+ # @return [Integer]
3863
+ #
3864
+ # @!attribute [rw] next_token
3865
+ # When there are additional results that were not returned, a
3866
+ # `NextToken` parameter is returned. You can use that value for a
3867
+ # subsequent call to `ListHostKeys` to continue listing results.
3868
+ # @return [String]
3869
+ #
3870
+ # @!attribute [rw] server_id
3871
+ # Provide the ID of the server that contains the host keys that you
3872
+ # want to view.
3873
+ # @return [String]
3874
+ #
3875
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ListHostKeysRequest AWS API Documentation
3876
+ #
3877
+ class ListHostKeysRequest < Struct.new(
3878
+ :max_results,
3879
+ :next_token,
3880
+ :server_id)
3881
+ SENSITIVE = []
3882
+ include Aws::Structure
3883
+ end
3884
+
3885
+ # @!attribute [rw] next_token
3886
+ # Returns a token that you can use to call `ListHostKeys` again and
3887
+ # receive additional results, if there are any.
3888
+ # @return [String]
3889
+ #
3890
+ # @!attribute [rw] server_id
3891
+ # Returns the server ID that contains the listed host keys.
3892
+ # @return [String]
3893
+ #
3894
+ # @!attribute [rw] host_keys
3895
+ # Returns an array, where each item contains the details of a host
3896
+ # key.
3897
+ # @return [Array<Types::ListedHostKey>]
3898
+ #
3899
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ListHostKeysResponse AWS API Documentation
3900
+ #
3901
+ class ListHostKeysResponse < Struct.new(
3902
+ :next_token,
3903
+ :server_id,
3904
+ :host_keys)
3905
+ SENSITIVE = []
3906
+ include Aws::Structure
3907
+ end
3908
+
3669
3909
  # @note When making an API call, you may pass ListProfilesRequest
3670
3910
  # data as a hash:
3671
3911
  #
@@ -4214,6 +4454,58 @@ module Aws::Transfer
4214
4454
  include Aws::Structure
4215
4455
  end
4216
4456
 
4457
+ # Returns properties of the host key that is specified.
4458
+ #
4459
+ # @!attribute [rw] arn
4460
+ # Specifies the unique Amazon Resource Name (ARN) of the host key.
4461
+ # @return [String]
4462
+ #
4463
+ # @!attribute [rw] host_key_id
4464
+ # @return [String]
4465
+ #
4466
+ # @!attribute [rw] fingerprint
4467
+ # The public key fingerprint, which is a short sequence of bytes used
4468
+ # to identify the longer public key.
4469
+ # @return [String]
4470
+ #
4471
+ # @!attribute [rw] description
4472
+ # The current description for the host key. You can change it by
4473
+ # calling the `UpdateHostKey` operation and providing a new
4474
+ # description.
4475
+ # @return [String]
4476
+ #
4477
+ # @!attribute [rw] type
4478
+ # The encryption algorithm used for the host key. The `Type` is one of
4479
+ # the following values:
4480
+ #
4481
+ # * ssh-rsa
4482
+ #
4483
+ # * ssh-ed25519
4484
+ #
4485
+ # * ecdsa-sha2-nistp256
4486
+ #
4487
+ # * ecdsa-sha2-nistp384
4488
+ #
4489
+ # * ecdsa-sha2-nistp521
4490
+ # @return [String]
4491
+ #
4492
+ # @!attribute [rw] date_imported
4493
+ # The date on which the host key was added to the server.
4494
+ # @return [Time]
4495
+ #
4496
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ListedHostKey AWS API Documentation
4497
+ #
4498
+ class ListedHostKey < Struct.new(
4499
+ :arn,
4500
+ :host_key_id,
4501
+ :fingerprint,
4502
+ :description,
4503
+ :type,
4504
+ :date_imported)
4505
+ SENSITIVE = []
4506
+ include Aws::Structure
4507
+ end
4508
+
4217
4509
  # Returns the properties of the profile that was specified.
4218
4510
  #
4219
4511
  # @!attribute [rw] arn
@@ -5575,6 +5867,56 @@ module Aws::Transfer
5575
5867
  include Aws::Structure
5576
5868
  end
5577
5869
 
5870
+ # @note When making an API call, you may pass UpdateHostKeyRequest
5871
+ # data as a hash:
5872
+ #
5873
+ # {
5874
+ # server_id: "ServerId", # required
5875
+ # host_key_id: "HostKeyId", # required
5876
+ # description: "HostKeyDescription", # required
5877
+ # }
5878
+ #
5879
+ # @!attribute [rw] server_id
5880
+ # Provide the ID of the server that contains the host key that you are
5881
+ # updating.
5882
+ # @return [String]
5883
+ #
5884
+ # @!attribute [rw] host_key_id
5885
+ # Provide the ID of the host key that you are updating.
5886
+ # @return [String]
5887
+ #
5888
+ # @!attribute [rw] description
5889
+ # Provide an updated description for the host key.
5890
+ # @return [String]
5891
+ #
5892
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/UpdateHostKeyRequest AWS API Documentation
5893
+ #
5894
+ class UpdateHostKeyRequest < Struct.new(
5895
+ :server_id,
5896
+ :host_key_id,
5897
+ :description)
5898
+ SENSITIVE = []
5899
+ include Aws::Structure
5900
+ end
5901
+
5902
+ # @!attribute [rw] server_id
5903
+ # Returns the server ID for the server that contains the updated host
5904
+ # key.
5905
+ # @return [String]
5906
+ #
5907
+ # @!attribute [rw] host_key_id
5908
+ # Returns the host key ID for the updated host key.
5909
+ # @return [String]
5910
+ #
5911
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/UpdateHostKeyResponse AWS API Documentation
5912
+ #
5913
+ class UpdateHostKeyResponse < Struct.new(
5914
+ :server_id,
5915
+ :host_key_id)
5916
+ SENSITIVE = []
5917
+ include Aws::Structure
5918
+ end
5919
+
5578
5920
  # @note When making an API call, you may pass UpdateProfileRequest
5579
5921
  # data as a hash:
5580
5922
  #
@@ -49,6 +49,6 @@ require_relative 'aws-sdk-transfer/customizations'
49
49
  # @!group service
50
50
  module Aws::Transfer
51
51
 
52
- GEM_VERSION = '1.58.0'
52
+ GEM_VERSION = '1.59.0'
53
53
 
54
54
  end
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.58.0
4
+ version: 1.59.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-08-24 00:00:00.000000000 Z
11
+ date: 2022-09-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core