aws-sdk-transfer 1.148.0 → 1.149.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-transfer/client.rb +56 -5
- data/lib/aws-sdk-transfer/client_api.rb +12 -1
- data/lib/aws-sdk-transfer/types.rb +73 -5
- data/lib/aws-sdk-transfer.rb +1 -1
- data/sig/client.rbs +8 -3
- data/sig/types.rbs +9 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b0cf0f3a831a6f3c0c848917a05537f474e3f6805abddf805787ada95dbb8fda
|
|
4
|
+
data.tar.gz: 07f96c567077de57d341674ee27656d3ba0f5765ab59ba18c2cf156d472937e4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f8a0ec998394a88c0417d2925c0acdfb0ce45dcf40ddfebf7616c72cd8de6ee2a61955f139188cb6e3c77a92bbe1e0e460d817525acb6bb2d9175f65941c1178
|
|
7
|
+
data.tar.gz: bebf444eb108cd69ee804a8af360de63162b225f073f9a398897b7e2814ec1dbff3d89554066f5a0da1487299d7313fc24bb69673dd1e13c66ce2783c477ec90
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.149.0 (2026-10-14)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - AWS Transfer Family now lets you store SFTP server host keys in AWS Secrets Manager in your own AWS account. This gives you greater control over your server identity and helps simplify server migrations and failover.
|
|
8
|
+
|
|
4
9
|
1.148.0 (2026-10-01)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.149.0
|
|
@@ -1353,6 +1353,12 @@ module Aws::Transfer
|
|
|
1353
1353
|
#
|
|
1354
1354
|
# [1]: https://docs.aws.amazon.com/transfer/latest/APIReference/API_EndpointDetails.html
|
|
1355
1355
|
#
|
|
1356
|
+
# @option params [String] :host_key_storage_type
|
|
1357
|
+
# Specifies whether the host key is stored by Transfer Family
|
|
1358
|
+
# (`SERVICE_MANAGED`) or in Secrets Manager (`SECRETS_MANAGER`). When
|
|
1359
|
+
# you specify `SECRETS_MANAGER`, Transfer Family stores the private host
|
|
1360
|
+
# key material in an Secrets Manager secret.
|
|
1361
|
+
#
|
|
1356
1362
|
# @return [Types::CreateServerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1357
1363
|
#
|
|
1358
1364
|
# * {Types::CreateServerResponse#server_id #server_id} => String
|
|
@@ -1424,6 +1430,7 @@ module Aws::Transfer
|
|
|
1424
1430
|
# directory_listing_optimization: "ENABLED", # accepts ENABLED, DISABLED
|
|
1425
1431
|
# },
|
|
1426
1432
|
# ip_address_type: "IPV4", # accepts IPV4, DUALSTACK
|
|
1433
|
+
# host_key_storage_type: "SERVICE_MANAGED", # accepts SERVICE_MANAGED, SECRETS_MANAGER
|
|
1427
1434
|
# })
|
|
1428
1435
|
#
|
|
1429
1436
|
# @example Response structure
|
|
@@ -2590,6 +2597,8 @@ module Aws::Transfer
|
|
|
2590
2597
|
# resp.host_key.tags #=> Array
|
|
2591
2598
|
# resp.host_key.tags[0].key #=> String
|
|
2592
2599
|
# resp.host_key.tags[0].value #=> String
|
|
2600
|
+
# resp.host_key.storage_type #=> String, one of "SERVICE_MANAGED", "SECRETS_MANAGER"
|
|
2601
|
+
# resp.host_key.secret_id #=> String
|
|
2593
2602
|
#
|
|
2594
2603
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DescribeHostKey AWS API Documentation
|
|
2595
2604
|
#
|
|
@@ -3157,6 +3166,20 @@ module Aws::Transfer
|
|
|
3157
3166
|
# @option params [Array<Types::Tag>] :tags
|
|
3158
3167
|
# Key-value pairs that can be used to group and search for host keys.
|
|
3159
3168
|
#
|
|
3169
|
+
# @option params [String] :storage_type
|
|
3170
|
+
# Specifies whether the host key is stored by Transfer Family
|
|
3171
|
+
# (`SERVICE_MANAGED`) or in Secrets Manager (`SECRETS_MANAGER`). When
|
|
3172
|
+
# you specify `SECRETS_MANAGER`, Transfer Family stores the private host
|
|
3173
|
+
# key material in an Secrets Manager secret.
|
|
3174
|
+
#
|
|
3175
|
+
# @option params [String] :kms_key
|
|
3176
|
+
# The Amazon Resource Name (ARN) of the KMS key used to encrypt the
|
|
3177
|
+
# Secrets Manager secret that stores the host key. If you specify a
|
|
3178
|
+
# customer managed key, its key policy must allow the
|
|
3179
|
+
# `AWSServiceRoleForTransfer` service-linked role to decrypt the secret.
|
|
3180
|
+
# If you don't specify a value, Transfer Family uses the Amazon Web
|
|
3181
|
+
# Services managed key for Secrets Manager.
|
|
3182
|
+
#
|
|
3160
3183
|
# @return [Types::ImportHostKeyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3161
3184
|
#
|
|
3162
3185
|
# * {Types::ImportHostKeyResponse#server_id #server_id} => String
|
|
@@ -3174,6 +3197,8 @@ module Aws::Transfer
|
|
|
3174
3197
|
# value: "TagValue", # required
|
|
3175
3198
|
# },
|
|
3176
3199
|
# ],
|
|
3200
|
+
# storage_type: "SERVICE_MANAGED", # accepts SERVICE_MANAGED, SECRETS_MANAGER
|
|
3201
|
+
# kms_key: "KmsKey",
|
|
3177
3202
|
# })
|
|
3178
3203
|
#
|
|
3179
3204
|
# @example Response structure
|
|
@@ -3621,6 +3646,8 @@ module Aws::Transfer
|
|
|
3621
3646
|
# resp.host_keys[0].description #=> String
|
|
3622
3647
|
# resp.host_keys[0].type #=> String
|
|
3623
3648
|
# resp.host_keys[0].date_imported #=> Time
|
|
3649
|
+
# resp.host_keys[0].storage_type #=> String, one of "SERVICE_MANAGED", "SECRETS_MANAGER"
|
|
3650
|
+
# resp.host_keys[0].secret_id #=> String
|
|
3624
3651
|
#
|
|
3625
3652
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ListHostKeys AWS API Documentation
|
|
3626
3653
|
#
|
|
@@ -5034,8 +5061,16 @@ module Aws::Transfer
|
|
|
5034
5061
|
req.send_request(options)
|
|
5035
5062
|
end
|
|
5036
5063
|
|
|
5037
|
-
# Updates the
|
|
5038
|
-
# `
|
|
5064
|
+
# Updates the host key that's specified by the `ServerId` and
|
|
5065
|
+
# `HostKeyId` parameters. You can update the description of the host
|
|
5066
|
+
# key, change where the host key is stored by specifying the
|
|
5067
|
+
# `StorageType`, and specify the KMS key used to encrypt the host key
|
|
5068
|
+
# when it's stored in Secrets Manager.
|
|
5069
|
+
#
|
|
5070
|
+
# To change a host key's storage type from `SERVICE_MANAGED` to
|
|
5071
|
+
# `SECRETS_MANAGER`, you must have the `transfer:ExportHostKey`
|
|
5072
|
+
# permission. `transfer:ExportHostKey` is a permission-only action that
|
|
5073
|
+
# has no corresponding API operation.
|
|
5039
5074
|
#
|
|
5040
5075
|
# @option params [required, String] :server_id
|
|
5041
5076
|
# The identifier of the server that contains the host key that you are
|
|
@@ -5044,9 +5079,23 @@ module Aws::Transfer
|
|
|
5044
5079
|
# @option params [required, String] :host_key_id
|
|
5045
5080
|
# The identifier of the host key that you are updating.
|
|
5046
5081
|
#
|
|
5047
|
-
# @option params [
|
|
5082
|
+
# @option params [String] :description
|
|
5048
5083
|
# An updated description for the host key.
|
|
5049
5084
|
#
|
|
5085
|
+
# @option params [String] :storage_type
|
|
5086
|
+
# Specifies whether the host key is stored by Transfer Family
|
|
5087
|
+
# (`SERVICE_MANAGED`) or in Secrets Manager (`SECRETS_MANAGER`). When
|
|
5088
|
+
# you specify `SECRETS_MANAGER`, Transfer Family stores the private host
|
|
5089
|
+
# key material in an Secrets Manager secret.
|
|
5090
|
+
#
|
|
5091
|
+
# @option params [String] :kms_key
|
|
5092
|
+
# The Amazon Resource Name (ARN) of the KMS key used to encrypt the
|
|
5093
|
+
# Secrets Manager secret that stores the host key. If you specify a
|
|
5094
|
+
# customer managed key, its key policy must allow the
|
|
5095
|
+
# `AWSServiceRoleForTransfer` service-linked role to decrypt the secret.
|
|
5096
|
+
# If you don't specify a value, Transfer Family uses the Amazon Web
|
|
5097
|
+
# Services managed key for Secrets Manager.
|
|
5098
|
+
#
|
|
5050
5099
|
# @return [Types::UpdateHostKeyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
5051
5100
|
#
|
|
5052
5101
|
# * {Types::UpdateHostKeyResponse#server_id #server_id} => String
|
|
@@ -5057,7 +5106,9 @@ module Aws::Transfer
|
|
|
5057
5106
|
# resp = client.update_host_key({
|
|
5058
5107
|
# server_id: "ServerId", # required
|
|
5059
5108
|
# host_key_id: "HostKeyId", # required
|
|
5060
|
-
# description: "HostKeyDescription",
|
|
5109
|
+
# description: "HostKeyDescription",
|
|
5110
|
+
# storage_type: "SERVICE_MANAGED", # accepts SERVICE_MANAGED, SECRETS_MANAGER
|
|
5111
|
+
# kms_key: "KmsKey",
|
|
5061
5112
|
# })
|
|
5062
5113
|
#
|
|
5063
5114
|
# @example Response structure
|
|
@@ -5815,7 +5866,7 @@ module Aws::Transfer
|
|
|
5815
5866
|
tracer: tracer
|
|
5816
5867
|
)
|
|
5817
5868
|
context[:gem_name] = 'aws-sdk-transfer'
|
|
5818
|
-
context[:gem_version] = '1.
|
|
5869
|
+
context[:gem_version] = '1.149.0'
|
|
5819
5870
|
Seahorse::Client::Request.new(handlers, context)
|
|
5820
5871
|
end
|
|
5821
5872
|
|
|
@@ -173,6 +173,7 @@ module Aws::Transfer
|
|
|
173
173
|
HostKeyDescription = Shapes::StringShape.new(name: 'HostKeyDescription')
|
|
174
174
|
HostKeyFingerprint = Shapes::StringShape.new(name: 'HostKeyFingerprint')
|
|
175
175
|
HostKeyId = Shapes::StringShape.new(name: 'HostKeyId')
|
|
176
|
+
HostKeyStorageType = Shapes::StringShape.new(name: 'HostKeyStorageType')
|
|
176
177
|
HostKeyType = Shapes::StringShape.new(name: 'HostKeyType')
|
|
177
178
|
IdentityCenterApplicationArn = Shapes::StringShape.new(name: 'IdentityCenterApplicationArn')
|
|
178
179
|
IdentityCenterConfig = Shapes::StructureShape.new(name: 'IdentityCenterConfig')
|
|
@@ -190,6 +191,7 @@ module Aws::Transfer
|
|
|
190
191
|
InvalidNextTokenException = Shapes::StructureShape.new(name: 'InvalidNextTokenException')
|
|
191
192
|
InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
|
|
192
193
|
IpAddressType = Shapes::StringShape.new(name: 'IpAddressType')
|
|
194
|
+
KmsKey = Shapes::StringShape.new(name: 'KmsKey')
|
|
193
195
|
ListAccessesRequest = Shapes::StructureShape.new(name: 'ListAccessesRequest')
|
|
194
196
|
ListAccessesResponse = Shapes::StructureShape.new(name: 'ListAccessesResponse')
|
|
195
197
|
ListAgreementsRequest = Shapes::StructureShape.new(name: 'ListAgreementsRequest')
|
|
@@ -550,6 +552,7 @@ module Aws::Transfer
|
|
|
550
552
|
CreateServerRequest.add_member(:structured_log_destinations, Shapes::ShapeRef.new(shape: StructuredLogDestinations, location_name: "StructuredLogDestinations"))
|
|
551
553
|
CreateServerRequest.add_member(:s3_storage_options, Shapes::ShapeRef.new(shape: S3StorageOptions, location_name: "S3StorageOptions"))
|
|
552
554
|
CreateServerRequest.add_member(:ip_address_type, Shapes::ShapeRef.new(shape: IpAddressType, location_name: "IpAddressType"))
|
|
555
|
+
CreateServerRequest.add_member(:host_key_storage_type, Shapes::ShapeRef.new(shape: HostKeyStorageType, location_name: "HostKeyStorageType"))
|
|
553
556
|
CreateServerRequest.struct_class = Types::CreateServerRequest
|
|
554
557
|
|
|
555
558
|
CreateServerResponse.add_member(:server_id, Shapes::ShapeRef.new(shape: ServerId, required: true, location_name: "ServerId"))
|
|
@@ -834,6 +837,8 @@ module Aws::Transfer
|
|
|
834
837
|
DescribedHostKey.add_member(:type, Shapes::ShapeRef.new(shape: HostKeyType, location_name: "Type"))
|
|
835
838
|
DescribedHostKey.add_member(:date_imported, Shapes::ShapeRef.new(shape: DateImported, location_name: "DateImported"))
|
|
836
839
|
DescribedHostKey.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
|
|
840
|
+
DescribedHostKey.add_member(:storage_type, Shapes::ShapeRef.new(shape: HostKeyStorageType, location_name: "StorageType"))
|
|
841
|
+
DescribedHostKey.add_member(:secret_id, Shapes::ShapeRef.new(shape: SecretId, location_name: "SecretId"))
|
|
837
842
|
DescribedHostKey.struct_class = Types::DescribedHostKey
|
|
838
843
|
|
|
839
844
|
DescribedIdentityCenterConfig.add_member(:application_arn, Shapes::ShapeRef.new(shape: IdentityCenterApplicationArn, location_name: "ApplicationArn"))
|
|
@@ -1009,6 +1014,8 @@ module Aws::Transfer
|
|
|
1009
1014
|
ImportHostKeyRequest.add_member(:host_key_body, Shapes::ShapeRef.new(shape: HostKey, required: true, location_name: "HostKeyBody"))
|
|
1010
1015
|
ImportHostKeyRequest.add_member(:description, Shapes::ShapeRef.new(shape: HostKeyDescription, location_name: "Description"))
|
|
1011
1016
|
ImportHostKeyRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
|
|
1017
|
+
ImportHostKeyRequest.add_member(:storage_type, Shapes::ShapeRef.new(shape: HostKeyStorageType, location_name: "StorageType"))
|
|
1018
|
+
ImportHostKeyRequest.add_member(:kms_key, Shapes::ShapeRef.new(shape: KmsKey, location_name: "KmsKey"))
|
|
1012
1019
|
ImportHostKeyRequest.struct_class = Types::ImportHostKeyRequest
|
|
1013
1020
|
|
|
1014
1021
|
ImportHostKeyResponse.add_member(:server_id, Shapes::ShapeRef.new(shape: ServerId, required: true, location_name: "ServerId"))
|
|
@@ -1216,6 +1223,8 @@ module Aws::Transfer
|
|
|
1216
1223
|
ListedHostKey.add_member(:description, Shapes::ShapeRef.new(shape: HostKeyDescription, location_name: "Description"))
|
|
1217
1224
|
ListedHostKey.add_member(:type, Shapes::ShapeRef.new(shape: HostKeyType, location_name: "Type"))
|
|
1218
1225
|
ListedHostKey.add_member(:date_imported, Shapes::ShapeRef.new(shape: DateImported, location_name: "DateImported"))
|
|
1226
|
+
ListedHostKey.add_member(:storage_type, Shapes::ShapeRef.new(shape: HostKeyStorageType, location_name: "StorageType"))
|
|
1227
|
+
ListedHostKey.add_member(:secret_id, Shapes::ShapeRef.new(shape: SecretId, location_name: "SecretId"))
|
|
1219
1228
|
ListedHostKey.struct_class = Types::ListedHostKey
|
|
1220
1229
|
|
|
1221
1230
|
ListedHostKeys.member = Shapes::ShapeRef.new(shape: ListedHostKey)
|
|
@@ -1530,7 +1539,9 @@ module Aws::Transfer
|
|
|
1530
1539
|
|
|
1531
1540
|
UpdateHostKeyRequest.add_member(:server_id, Shapes::ShapeRef.new(shape: ServerId, required: true, location_name: "ServerId"))
|
|
1532
1541
|
UpdateHostKeyRequest.add_member(:host_key_id, Shapes::ShapeRef.new(shape: HostKeyId, required: true, location_name: "HostKeyId"))
|
|
1533
|
-
UpdateHostKeyRequest.add_member(:description, Shapes::ShapeRef.new(shape: HostKeyDescription,
|
|
1542
|
+
UpdateHostKeyRequest.add_member(:description, Shapes::ShapeRef.new(shape: HostKeyDescription, location_name: "Description"))
|
|
1543
|
+
UpdateHostKeyRequest.add_member(:storage_type, Shapes::ShapeRef.new(shape: HostKeyStorageType, location_name: "StorageType"))
|
|
1544
|
+
UpdateHostKeyRequest.add_member(:kms_key, Shapes::ShapeRef.new(shape: KmsKey, location_name: "KmsKey"))
|
|
1534
1545
|
UpdateHostKeyRequest.struct_class = Types::UpdateHostKeyRequest
|
|
1535
1546
|
|
|
1536
1547
|
UpdateHostKeyResponse.add_member(:server_id, Shapes::ShapeRef.new(shape: ServerId, required: true, location_name: "ServerId"))
|
|
@@ -1168,6 +1168,13 @@ module Aws::Transfer
|
|
|
1168
1168
|
# [1]: https://docs.aws.amazon.com/transfer/latest/APIReference/API_EndpointDetails.html
|
|
1169
1169
|
# @return [String]
|
|
1170
1170
|
#
|
|
1171
|
+
# @!attribute [rw] host_key_storage_type
|
|
1172
|
+
# Specifies whether the host key is stored by Transfer Family
|
|
1173
|
+
# (`SERVICE_MANAGED`) or in Secrets Manager (`SECRETS_MANAGER`). When
|
|
1174
|
+
# you specify `SECRETS_MANAGER`, Transfer Family stores the private
|
|
1175
|
+
# host key material in an Secrets Manager secret.
|
|
1176
|
+
# @return [String]
|
|
1177
|
+
#
|
|
1171
1178
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/CreateServerRequest AWS API Documentation
|
|
1172
1179
|
#
|
|
1173
1180
|
class CreateServerRequest < Struct.new(
|
|
@@ -1188,7 +1195,8 @@ module Aws::Transfer
|
|
|
1188
1195
|
:workflow_details,
|
|
1189
1196
|
:structured_log_destinations,
|
|
1190
1197
|
:s3_storage_options,
|
|
1191
|
-
:ip_address_type
|
|
1198
|
+
:ip_address_type,
|
|
1199
|
+
:host_key_storage_type)
|
|
1192
1200
|
SENSITIVE = [:host_key]
|
|
1193
1201
|
include Aws::Structure
|
|
1194
1202
|
end
|
|
@@ -2962,6 +2970,16 @@ module Aws::Transfer
|
|
|
2962
2970
|
# Key-value pairs that can be used to group and search for host keys.
|
|
2963
2971
|
# @return [Array<Types::Tag>]
|
|
2964
2972
|
#
|
|
2973
|
+
# @!attribute [rw] storage_type
|
|
2974
|
+
# Specifies whether the host key is stored by Transfer Family
|
|
2975
|
+
# (`SERVICE_MANAGED`) or in Secrets Manager (`SECRETS_MANAGER`).
|
|
2976
|
+
# @return [String]
|
|
2977
|
+
#
|
|
2978
|
+
# @!attribute [rw] secret_id
|
|
2979
|
+
# The ARN of the Secrets Manager secret that stores the host key
|
|
2980
|
+
# material, when `StorageType` is `SECRETS_MANAGER`.
|
|
2981
|
+
# @return [String]
|
|
2982
|
+
#
|
|
2965
2983
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DescribedHostKey AWS API Documentation
|
|
2966
2984
|
#
|
|
2967
2985
|
class DescribedHostKey < Struct.new(
|
|
@@ -2971,7 +2989,9 @@ module Aws::Transfer
|
|
|
2971
2989
|
:description,
|
|
2972
2990
|
:type,
|
|
2973
2991
|
:date_imported,
|
|
2974
|
-
:tags
|
|
2992
|
+
:tags,
|
|
2993
|
+
:storage_type,
|
|
2994
|
+
:secret_id)
|
|
2975
2995
|
SENSITIVE = []
|
|
2976
2996
|
include Aws::Structure
|
|
2977
2997
|
end
|
|
@@ -4340,13 +4360,31 @@ module Aws::Transfer
|
|
|
4340
4360
|
# Key-value pairs that can be used to group and search for host keys.
|
|
4341
4361
|
# @return [Array<Types::Tag>]
|
|
4342
4362
|
#
|
|
4363
|
+
# @!attribute [rw] storage_type
|
|
4364
|
+
# Specifies whether the host key is stored by Transfer Family
|
|
4365
|
+
# (`SERVICE_MANAGED`) or in Secrets Manager (`SECRETS_MANAGER`). When
|
|
4366
|
+
# you specify `SECRETS_MANAGER`, Transfer Family stores the private
|
|
4367
|
+
# host key material in an Secrets Manager secret.
|
|
4368
|
+
# @return [String]
|
|
4369
|
+
#
|
|
4370
|
+
# @!attribute [rw] kms_key
|
|
4371
|
+
# The Amazon Resource Name (ARN) of the KMS key used to encrypt the
|
|
4372
|
+
# Secrets Manager secret that stores the host key. If you specify a
|
|
4373
|
+
# customer managed key, its key policy must allow the
|
|
4374
|
+
# `AWSServiceRoleForTransfer` service-linked role to decrypt the
|
|
4375
|
+
# secret. If you don't specify a value, Transfer Family uses the
|
|
4376
|
+
# Amazon Web Services managed key for Secrets Manager.
|
|
4377
|
+
# @return [String]
|
|
4378
|
+
#
|
|
4343
4379
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ImportHostKeyRequest AWS API Documentation
|
|
4344
4380
|
#
|
|
4345
4381
|
class ImportHostKeyRequest < Struct.new(
|
|
4346
4382
|
:server_id,
|
|
4347
4383
|
:host_key_body,
|
|
4348
4384
|
:description,
|
|
4349
|
-
:tags
|
|
4385
|
+
:tags,
|
|
4386
|
+
:storage_type,
|
|
4387
|
+
:kms_key)
|
|
4350
4388
|
SENSITIVE = [:host_key_body]
|
|
4351
4389
|
include Aws::Structure
|
|
4352
4390
|
end
|
|
@@ -5444,6 +5482,16 @@ module Aws::Transfer
|
|
|
5444
5482
|
# The date on which the host key was added to the server.
|
|
5445
5483
|
# @return [Time]
|
|
5446
5484
|
#
|
|
5485
|
+
# @!attribute [rw] storage_type
|
|
5486
|
+
# Specifies whether the host key is stored by Transfer Family
|
|
5487
|
+
# (`SERVICE_MANAGED`) or in Secrets Manager (`SECRETS_MANAGER`).
|
|
5488
|
+
# @return [String]
|
|
5489
|
+
#
|
|
5490
|
+
# @!attribute [rw] secret_id
|
|
5491
|
+
# The ARN of the Secrets Manager secret that stores the host key
|
|
5492
|
+
# material, when `StorageType` is `SECRETS_MANAGER`.
|
|
5493
|
+
# @return [String]
|
|
5494
|
+
#
|
|
5447
5495
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ListedHostKey AWS API Documentation
|
|
5448
5496
|
#
|
|
5449
5497
|
class ListedHostKey < Struct.new(
|
|
@@ -5452,7 +5500,9 @@ module Aws::Transfer
|
|
|
5452
5500
|
:fingerprint,
|
|
5453
5501
|
:description,
|
|
5454
5502
|
:type,
|
|
5455
|
-
:date_imported
|
|
5503
|
+
:date_imported,
|
|
5504
|
+
:storage_type,
|
|
5505
|
+
:secret_id)
|
|
5456
5506
|
SENSITIVE = []
|
|
5457
5507
|
include Aws::Structure
|
|
5458
5508
|
end
|
|
@@ -7391,12 +7441,30 @@ module Aws::Transfer
|
|
|
7391
7441
|
# An updated description for the host key.
|
|
7392
7442
|
# @return [String]
|
|
7393
7443
|
#
|
|
7444
|
+
# @!attribute [rw] storage_type
|
|
7445
|
+
# Specifies whether the host key is stored by Transfer Family
|
|
7446
|
+
# (`SERVICE_MANAGED`) or in Secrets Manager (`SECRETS_MANAGER`). When
|
|
7447
|
+
# you specify `SECRETS_MANAGER`, Transfer Family stores the private
|
|
7448
|
+
# host key material in an Secrets Manager secret.
|
|
7449
|
+
# @return [String]
|
|
7450
|
+
#
|
|
7451
|
+
# @!attribute [rw] kms_key
|
|
7452
|
+
# The Amazon Resource Name (ARN) of the KMS key used to encrypt the
|
|
7453
|
+
# Secrets Manager secret that stores the host key. If you specify a
|
|
7454
|
+
# customer managed key, its key policy must allow the
|
|
7455
|
+
# `AWSServiceRoleForTransfer` service-linked role to decrypt the
|
|
7456
|
+
# secret. If you don't specify a value, Transfer Family uses the
|
|
7457
|
+
# Amazon Web Services managed key for Secrets Manager.
|
|
7458
|
+
# @return [String]
|
|
7459
|
+
#
|
|
7394
7460
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/UpdateHostKeyRequest AWS API Documentation
|
|
7395
7461
|
#
|
|
7396
7462
|
class UpdateHostKeyRequest < Struct.new(
|
|
7397
7463
|
:server_id,
|
|
7398
7464
|
:host_key_id,
|
|
7399
|
-
:description
|
|
7465
|
+
:description,
|
|
7466
|
+
:storage_type,
|
|
7467
|
+
:kms_key)
|
|
7400
7468
|
SENSITIVE = []
|
|
7401
7469
|
include Aws::Structure
|
|
7402
7470
|
end
|
data/lib/aws-sdk-transfer.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -231,7 +231,8 @@ module Aws
|
|
|
231
231
|
?s3_storage_options: {
|
|
232
232
|
directory_listing_optimization: ("ENABLED" | "DISABLED")?
|
|
233
233
|
},
|
|
234
|
-
?ip_address_type: ("IPV4" | "DUALSTACK")
|
|
234
|
+
?ip_address_type: ("IPV4" | "DUALSTACK"),
|
|
235
|
+
?host_key_storage_type: ("SERVICE_MANAGED" | "SECRETS_MANAGER")
|
|
235
236
|
) -> _CreateServerResponseSuccess
|
|
236
237
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateServerResponseSuccess
|
|
237
238
|
|
|
@@ -580,7 +581,9 @@ module Aws
|
|
|
580
581
|
key: ::String,
|
|
581
582
|
value: ::String
|
|
582
583
|
}
|
|
583
|
-
]
|
|
584
|
+
],
|
|
585
|
+
?storage_type: ("SERVICE_MANAGED" | "SECRETS_MANAGER"),
|
|
586
|
+
?kms_key: ::String
|
|
584
587
|
) -> _ImportHostKeyResponseSuccess
|
|
585
588
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ImportHostKeyResponseSuccess
|
|
586
589
|
|
|
@@ -1014,7 +1017,9 @@ module Aws
|
|
|
1014
1017
|
def update_host_key: (
|
|
1015
1018
|
server_id: ::String,
|
|
1016
1019
|
host_key_id: ::String,
|
|
1017
|
-
description: ::String
|
|
1020
|
+
?description: ::String,
|
|
1021
|
+
?storage_type: ("SERVICE_MANAGED" | "SECRETS_MANAGER"),
|
|
1022
|
+
?kms_key: ::String
|
|
1018
1023
|
) -> _UpdateHostKeyResponseSuccess
|
|
1019
1024
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateHostKeyResponseSuccess
|
|
1020
1025
|
|
data/sig/types.rbs
CHANGED
|
@@ -160,6 +160,7 @@ module Aws::Transfer
|
|
|
160
160
|
attr_accessor structured_log_destinations: ::Array[::String]
|
|
161
161
|
attr_accessor s3_storage_options: Types::S3StorageOptions
|
|
162
162
|
attr_accessor ip_address_type: ("IPV4" | "DUALSTACK")
|
|
163
|
+
attr_accessor host_key_storage_type: ("SERVICE_MANAGED" | "SECRETS_MANAGER")
|
|
163
164
|
SENSITIVE: [:host_key]
|
|
164
165
|
end
|
|
165
166
|
|
|
@@ -561,6 +562,8 @@ module Aws::Transfer
|
|
|
561
562
|
attr_accessor type: ::String
|
|
562
563
|
attr_accessor date_imported: ::Time
|
|
563
564
|
attr_accessor tags: ::Array[Types::Tag]
|
|
565
|
+
attr_accessor storage_type: ("SERVICE_MANAGED" | "SECRETS_MANAGER")
|
|
566
|
+
attr_accessor secret_id: ::String
|
|
564
567
|
SENSITIVE: []
|
|
565
568
|
end
|
|
566
569
|
|
|
@@ -782,6 +785,8 @@ module Aws::Transfer
|
|
|
782
785
|
attr_accessor host_key_body: ::String
|
|
783
786
|
attr_accessor description: ::String
|
|
784
787
|
attr_accessor tags: ::Array[Types::Tag]
|
|
788
|
+
attr_accessor storage_type: ("SERVICE_MANAGED" | "SECRETS_MANAGER")
|
|
789
|
+
attr_accessor kms_key: ::String
|
|
785
790
|
SENSITIVE: [:host_key_body]
|
|
786
791
|
end
|
|
787
792
|
|
|
@@ -1061,6 +1066,8 @@ module Aws::Transfer
|
|
|
1061
1066
|
attr_accessor description: ::String
|
|
1062
1067
|
attr_accessor type: ::String
|
|
1063
1068
|
attr_accessor date_imported: ::Time
|
|
1069
|
+
attr_accessor storage_type: ("SERVICE_MANAGED" | "SECRETS_MANAGER")
|
|
1070
|
+
attr_accessor secret_id: ::String
|
|
1064
1071
|
SENSITIVE: []
|
|
1065
1072
|
end
|
|
1066
1073
|
|
|
@@ -1436,6 +1443,8 @@ module Aws::Transfer
|
|
|
1436
1443
|
attr_accessor server_id: ::String
|
|
1437
1444
|
attr_accessor host_key_id: ::String
|
|
1438
1445
|
attr_accessor description: ::String
|
|
1446
|
+
attr_accessor storage_type: ("SERVICE_MANAGED" | "SECRETS_MANAGER")
|
|
1447
|
+
attr_accessor kms_key: ::String
|
|
1439
1448
|
SENSITIVE: []
|
|
1440
1449
|
end
|
|
1441
1450
|
|