aws-sdk-transfer 1.15.0 → 1.16.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/lib/aws-sdk-transfer.rb +1 -1
- data/lib/aws-sdk-transfer/client.rb +51 -13
- data/lib/aws-sdk-transfer/client_api.rb +17 -0
- data/lib/aws-sdk-transfer/errors.rb +16 -0
- data/lib/aws-sdk-transfer/types.rb +90 -12
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a3cd7c542cb28a93bf0941b472319129cc139f56
|
4
|
+
data.tar.gz: 57a2ed8cc1a05c0eefa50492a1f4254348aac9d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 62ddd3eab3a8ee29c2fb1c47ad22a03e89d290b7ef07d30e85606aad5d37972383ebb09bda13c7341cffcd0f6b9492043f40302dd6bd15b02fb82ea90e5ca423
|
7
|
+
data.tar.gz: 00ba9c719d7aee275596b10ed2dbf6ed5e1b447b140b28d3038fe3e6c733ab7c4a834d7b9a3cfdc2ca64024507f129027ba138464119266820e76b673b7fee67
|
data/lib/aws-sdk-transfer.rb
CHANGED
@@ -270,14 +270,17 @@ module Aws::Transfer
|
|
270
270
|
# property that is assigned to the newly created server.
|
271
271
|
#
|
272
272
|
# @option params [Types::EndpointDetails] :endpoint_details
|
273
|
-
# The virtual private cloud (VPC) endpoint settings that
|
274
|
-
#
|
275
|
-
#
|
273
|
+
# The virtual private cloud (VPC) endpoint settings that are configured
|
274
|
+
# for your SFTP server. With a VPC endpoint, you can restrict access to
|
275
|
+
# your SFTP server to resources only within your VPC. To control
|
276
|
+
# incoming internet traffic, you will need to invoke the `UpdateServer`
|
277
|
+
# API and attach an Elastic IP to your server's endpoint.
|
276
278
|
#
|
277
279
|
# @option params [String] :endpoint_type
|
278
280
|
# The type of VPC endpoint that you want your SFTP server to connect to.
|
279
|
-
#
|
280
|
-
#
|
281
|
+
# You can choose to connect to the public internet or a virtual private
|
282
|
+
# cloud (VPC) endpoint. With a VPC endpoint, you can restrict access to
|
283
|
+
# your SFTP server and resources only within your VPC.
|
281
284
|
#
|
282
285
|
# @option params [String] :host_key
|
283
286
|
# The RSA private key as generated by the `ssh-keygen -N "" -f
|
@@ -322,9 +325,12 @@ module Aws::Transfer
|
|
322
325
|
#
|
323
326
|
# resp = client.create_server({
|
324
327
|
# endpoint_details: {
|
328
|
+
# address_allocation_ids: ["AddressAllocationId"],
|
329
|
+
# subnet_ids: ["SubnetId"],
|
325
330
|
# vpc_endpoint_id: "VpcEndpointId",
|
331
|
+
# vpc_id: "VpcId",
|
326
332
|
# },
|
327
|
-
# endpoint_type: "PUBLIC", # accepts PUBLIC, VPC_ENDPOINT
|
333
|
+
# endpoint_type: "PUBLIC", # accepts PUBLIC, VPC, VPC_ENDPOINT
|
328
334
|
# host_key: "HostKey",
|
329
335
|
# identity_provider_details: {
|
330
336
|
# url: "Url",
|
@@ -394,6 +400,16 @@ module Aws::Transfer
|
|
394
400
|
# To do this, you can set `Entry` to '/' and set `Target` to the
|
395
401
|
# HomeDirectory parameter value.
|
396
402
|
#
|
403
|
+
# <note markdown="1"> If the target of a logical directory entry does not exist in S3, the
|
404
|
+
# entry will be ignored. As a workaround, you can use the S3 api to
|
405
|
+
# create 0 byte objects as place holders for your directory. If using
|
406
|
+
# the CLI, use the s3api call instead of s3 so you can use the
|
407
|
+
# put-object operation. For example, you use the following: `aws s3api
|
408
|
+
# put-object --bucket bucketname --key path/to/folder/`. Make sure that
|
409
|
+
# the end of the key name ends in a / for it to be considered a folder.
|
410
|
+
#
|
411
|
+
# </note>
|
412
|
+
#
|
397
413
|
# @option params [String] :policy
|
398
414
|
# A scope-down policy for your user so you can use the same IAM role
|
399
415
|
# across multiple users. This policy scopes down user access to portions
|
@@ -582,7 +598,9 @@ module Aws::Transfer
|
|
582
598
|
# Describes the server that you specify by passing the `ServerId`
|
583
599
|
# parameter.
|
584
600
|
#
|
585
|
-
# The response contains a description of the server's properties.
|
601
|
+
# The response contains a description of the server's properties. When
|
602
|
+
# you set `EndpointType` to VPC, the response will contain the
|
603
|
+
# `EndpointDetails`.
|
586
604
|
#
|
587
605
|
# @option params [required, String] :server_id
|
588
606
|
# A system-assigned unique identifier for an SFTP server.
|
@@ -600,8 +618,13 @@ module Aws::Transfer
|
|
600
618
|
# @example Response structure
|
601
619
|
#
|
602
620
|
# resp.server.arn #=> String
|
621
|
+
# resp.server.endpoint_details.address_allocation_ids #=> Array
|
622
|
+
# resp.server.endpoint_details.address_allocation_ids[0] #=> String
|
623
|
+
# resp.server.endpoint_details.subnet_ids #=> Array
|
624
|
+
# resp.server.endpoint_details.subnet_ids[0] #=> String
|
603
625
|
# resp.server.endpoint_details.vpc_endpoint_id #=> String
|
604
|
-
# resp.server.
|
626
|
+
# resp.server.endpoint_details.vpc_id #=> String
|
627
|
+
# resp.server.endpoint_type #=> String, one of "PUBLIC", "VPC", "VPC_ENDPOINT"
|
605
628
|
# resp.server.host_key_fingerprint #=> String
|
606
629
|
# resp.server.identity_provider_details.url #=> String
|
607
630
|
# resp.server.identity_provider_details.invocation_role #=> String
|
@@ -755,7 +778,7 @@ module Aws::Transfer
|
|
755
778
|
# resp.servers #=> Array
|
756
779
|
# resp.servers[0].arn #=> String
|
757
780
|
# resp.servers[0].identity_provider_type #=> String, one of "SERVICE_MANAGED", "API_GATEWAY"
|
758
|
-
# resp.servers[0].endpoint_type #=> String, one of "PUBLIC", "VPC_ENDPOINT"
|
781
|
+
# resp.servers[0].endpoint_type #=> String, one of "PUBLIC", "VPC", "VPC_ENDPOINT"
|
759
782
|
# resp.servers[0].logging_role #=> String
|
760
783
|
# resp.servers[0].server_id #=> String
|
761
784
|
# resp.servers[0].state #=> String, one of "OFFLINE", "ONLINE", "STARTING", "STOPPING", "START_FAILED", "STOP_FAILED"
|
@@ -1063,8 +1086,10 @@ module Aws::Transfer
|
|
1063
1086
|
#
|
1064
1087
|
# @option params [Types::EndpointDetails] :endpoint_details
|
1065
1088
|
# The virtual private cloud (VPC) endpoint settings that are configured
|
1066
|
-
# for your SFTP server. With a VPC endpoint,
|
1067
|
-
#
|
1089
|
+
# for your SFTP server. With a VPC endpoint, you can restrict access to
|
1090
|
+
# your SFTP server to resources only within your VPC. To control
|
1091
|
+
# incoming internet traffic, you will need to associate one or more
|
1092
|
+
# Elastic IP addresses with your server's endpoint.
|
1068
1093
|
#
|
1069
1094
|
# @option params [String] :endpoint_type
|
1070
1095
|
# The type of endpoint that you want your SFTP server to connect to. You
|
@@ -1105,9 +1130,12 @@ module Aws::Transfer
|
|
1105
1130
|
#
|
1106
1131
|
# resp = client.update_server({
|
1107
1132
|
# endpoint_details: {
|
1133
|
+
# address_allocation_ids: ["AddressAllocationId"],
|
1134
|
+
# subnet_ids: ["SubnetId"],
|
1108
1135
|
# vpc_endpoint_id: "VpcEndpointId",
|
1136
|
+
# vpc_id: "VpcId",
|
1109
1137
|
# },
|
1110
|
-
# endpoint_type: "PUBLIC", # accepts PUBLIC, VPC_ENDPOINT
|
1138
|
+
# endpoint_type: "PUBLIC", # accepts PUBLIC, VPC, VPC_ENDPOINT
|
1111
1139
|
# host_key: "HostKey",
|
1112
1140
|
# identity_provider_details: {
|
1113
1141
|
# url: "Url",
|
@@ -1169,6 +1197,16 @@ module Aws::Transfer
|
|
1169
1197
|
# To do this, you can set `Entry` to '/' and set `Target` to the
|
1170
1198
|
# HomeDirectory parameter value.
|
1171
1199
|
#
|
1200
|
+
# <note markdown="1"> If the target of a logical directory entry does not exist in S3, the
|
1201
|
+
# entry will be ignored. As a workaround, you can use the S3 api to
|
1202
|
+
# create 0 byte objects as place holders for your directory. If using
|
1203
|
+
# the CLI, use the s3api call instead of s3 so you can use the
|
1204
|
+
# put-object operation. For example, you use the following: `aws s3api
|
1205
|
+
# put-object --bucket bucketname --key path/to/folder/`. Make sure that
|
1206
|
+
# the end of the key name ends in a / for it to be considered a folder.
|
1207
|
+
#
|
1208
|
+
# </note>
|
1209
|
+
#
|
1172
1210
|
# @option params [String] :policy
|
1173
1211
|
# Allows you to supply a scope-down policy for your user so you can use
|
1174
1212
|
# the same AWS Identity and Access Management (IAM) role across multiple
|
@@ -1262,7 +1300,7 @@ module Aws::Transfer
|
|
1262
1300
|
params: params,
|
1263
1301
|
config: config)
|
1264
1302
|
context[:gem_name] = 'aws-sdk-transfer'
|
1265
|
-
context[:gem_version] = '1.
|
1303
|
+
context[:gem_version] = '1.16.0'
|
1266
1304
|
Seahorse::Client::Request.new(handlers, context)
|
1267
1305
|
end
|
1268
1306
|
|
@@ -11,7 +11,10 @@ module Aws::Transfer
|
|
11
11
|
|
12
12
|
include Seahorse::Model
|
13
13
|
|
14
|
+
AddressAllocationId = Shapes::StringShape.new(name: 'AddressAllocationId')
|
15
|
+
AddressAllocationIds = Shapes::ListShape.new(name: 'AddressAllocationIds')
|
14
16
|
Arn = Shapes::StringShape.new(name: 'Arn')
|
17
|
+
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
15
18
|
CreateServerRequest = Shapes::StructureShape.new(name: 'CreateServerRequest')
|
16
19
|
CreateServerResponse = Shapes::StructureShape.new(name: 'CreateServerResponse')
|
17
20
|
CreateUserRequest = Shapes::StructureShape.new(name: 'CreateUserRequest')
|
@@ -77,6 +80,8 @@ module Aws::Transfer
|
|
77
80
|
State = Shapes::StringShape.new(name: 'State')
|
78
81
|
StatusCode = Shapes::IntegerShape.new(name: 'StatusCode')
|
79
82
|
StopServerRequest = Shapes::StructureShape.new(name: 'StopServerRequest')
|
83
|
+
SubnetId = Shapes::StringShape.new(name: 'SubnetId')
|
84
|
+
SubnetIds = Shapes::ListShape.new(name: 'SubnetIds')
|
80
85
|
Tag = Shapes::StructureShape.new(name: 'Tag')
|
81
86
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
82
87
|
TagKeys = Shapes::ListShape.new(name: 'TagKeys')
|
@@ -96,6 +101,12 @@ module Aws::Transfer
|
|
96
101
|
UserName = Shapes::StringShape.new(name: 'UserName')
|
97
102
|
UserPassword = Shapes::StringShape.new(name: 'UserPassword')
|
98
103
|
VpcEndpointId = Shapes::StringShape.new(name: 'VpcEndpointId')
|
104
|
+
VpcId = Shapes::StringShape.new(name: 'VpcId')
|
105
|
+
|
106
|
+
AddressAllocationIds.member = Shapes::ShapeRef.new(shape: AddressAllocationId)
|
107
|
+
|
108
|
+
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: Message, required: true, location_name: "Message"))
|
109
|
+
ConflictException.struct_class = Types::ConflictException
|
99
110
|
|
100
111
|
CreateServerRequest.add_member(:endpoint_details, Shapes::ShapeRef.new(shape: EndpointDetails, location_name: "EndpointDetails"))
|
101
112
|
CreateServerRequest.add_member(:endpoint_type, Shapes::ShapeRef.new(shape: EndpointType, location_name: "EndpointType"))
|
@@ -174,7 +185,10 @@ module Aws::Transfer
|
|
174
185
|
DescribedUser.add_member(:user_name, Shapes::ShapeRef.new(shape: UserName, location_name: "UserName"))
|
175
186
|
DescribedUser.struct_class = Types::DescribedUser
|
176
187
|
|
188
|
+
EndpointDetails.add_member(:address_allocation_ids, Shapes::ShapeRef.new(shape: AddressAllocationIds, location_name: "AddressAllocationIds"))
|
189
|
+
EndpointDetails.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIds, location_name: "SubnetIds"))
|
177
190
|
EndpointDetails.add_member(:vpc_endpoint_id, Shapes::ShapeRef.new(shape: VpcEndpointId, location_name: "VpcEndpointId"))
|
191
|
+
EndpointDetails.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, location_name: "VpcId"))
|
178
192
|
EndpointDetails.struct_class = Types::EndpointDetails
|
179
193
|
|
180
194
|
HomeDirectoryMapEntry.add_member(:entry, Shapes::ShapeRef.new(shape: MapEntry, required: true, location_name: "Entry"))
|
@@ -281,6 +295,8 @@ module Aws::Transfer
|
|
281
295
|
StopServerRequest.add_member(:server_id, Shapes::ShapeRef.new(shape: ServerId, required: true, location_name: "ServerId"))
|
282
296
|
StopServerRequest.struct_class = Types::StopServerRequest
|
283
297
|
|
298
|
+
SubnetIds.member = Shapes::ShapeRef.new(shape: SubnetId)
|
299
|
+
|
284
300
|
Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
|
285
301
|
Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "Value"))
|
286
302
|
Tag.struct_class = Types::Tag
|
@@ -579,6 +595,7 @@ module Aws::Transfer
|
|
579
595
|
o.input = Shapes::ShapeRef.new(shape: UpdateServerRequest)
|
580
596
|
o.output = Shapes::ShapeRef.new(shape: UpdateServerResponse)
|
581
597
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
598
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
582
599
|
o.errors << Shapes::ShapeRef.new(shape: InternalServiceError)
|
583
600
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
584
601
|
o.errors << Shapes::ShapeRef.new(shape: ResourceExistsException)
|
@@ -10,6 +10,22 @@ module Aws::Transfer
|
|
10
10
|
|
11
11
|
extend Aws::Errors::DynamicErrors
|
12
12
|
|
13
|
+
class ConflictException < ServiceError
|
14
|
+
|
15
|
+
# @param [Seahorse::Client::RequestContext] context
|
16
|
+
# @param [String] message
|
17
|
+
# @param [Aws::Transfer::Types::ConflictException] data
|
18
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
19
|
+
super(context, message, data)
|
20
|
+
end
|
21
|
+
|
22
|
+
# @return [String]
|
23
|
+
def message
|
24
|
+
@message || @data[:message]
|
25
|
+
end
|
26
|
+
|
27
|
+
end
|
28
|
+
|
13
29
|
class InternalServiceError < ServiceError
|
14
30
|
|
15
31
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -8,14 +8,31 @@
|
|
8
8
|
module Aws::Transfer
|
9
9
|
module Types
|
10
10
|
|
11
|
+
# This exception is thrown when the `UpdatServer` is called for a server
|
12
|
+
# that has VPC as the endpoint type and the server's `VpcEndpointID` is
|
13
|
+
# not in the available state.
|
14
|
+
#
|
15
|
+
# @!attribute [rw] message
|
16
|
+
# @return [String]
|
17
|
+
#
|
18
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ConflictException AWS API Documentation
|
19
|
+
#
|
20
|
+
class ConflictException < Struct.new(
|
21
|
+
:message)
|
22
|
+
include Aws::Structure
|
23
|
+
end
|
24
|
+
|
11
25
|
# @note When making an API call, you may pass CreateServerRequest
|
12
26
|
# data as a hash:
|
13
27
|
#
|
14
28
|
# {
|
15
29
|
# endpoint_details: {
|
30
|
+
# address_allocation_ids: ["AddressAllocationId"],
|
31
|
+
# subnet_ids: ["SubnetId"],
|
16
32
|
# vpc_endpoint_id: "VpcEndpointId",
|
33
|
+
# vpc_id: "VpcId",
|
17
34
|
# },
|
18
|
-
# endpoint_type: "PUBLIC", # accepts PUBLIC, VPC_ENDPOINT
|
35
|
+
# endpoint_type: "PUBLIC", # accepts PUBLIC, VPC, VPC_ENDPOINT
|
19
36
|
# host_key: "HostKey",
|
20
37
|
# identity_provider_details: {
|
21
38
|
# url: "Url",
|
@@ -32,15 +49,19 @@ module Aws::Transfer
|
|
32
49
|
# }
|
33
50
|
#
|
34
51
|
# @!attribute [rw] endpoint_details
|
35
|
-
# The virtual private cloud (VPC) endpoint settings that
|
36
|
-
#
|
37
|
-
#
|
52
|
+
# The virtual private cloud (VPC) endpoint settings that are
|
53
|
+
# configured for your SFTP server. With a VPC endpoint, you can
|
54
|
+
# restrict access to your SFTP server to resources only within your
|
55
|
+
# VPC. To control incoming internet traffic, you will need to invoke
|
56
|
+
# the `UpdateServer` API and attach an Elastic IP to your server's
|
57
|
+
# endpoint.
|
38
58
|
# @return [Types::EndpointDetails]
|
39
59
|
#
|
40
60
|
# @!attribute [rw] endpoint_type
|
41
61
|
# The type of VPC endpoint that you want your SFTP server to connect
|
42
|
-
# to.
|
43
|
-
#
|
62
|
+
# to. You can choose to connect to the public internet or a virtual
|
63
|
+
# private cloud (VPC) endpoint. With a VPC endpoint, you can restrict
|
64
|
+
# access to your SFTP server and resources only within your VPC.
|
44
65
|
# @return [String]
|
45
66
|
#
|
46
67
|
# @!attribute [rw] host_key
|
@@ -166,6 +187,17 @@ module Aws::Transfer
|
|
166
187
|
# policy to lock your user down to the designated home directory
|
167
188
|
# ("chroot"). To do this, you can set `Entry` to '/' and set
|
168
189
|
# `Target` to the HomeDirectory parameter value.
|
190
|
+
#
|
191
|
+
# <note markdown="1"> If the target of a logical directory entry does not exist in S3, the
|
192
|
+
# entry will be ignored. As a workaround, you can use the S3 api to
|
193
|
+
# create 0 byte objects as place holders for your directory. If using
|
194
|
+
# the CLI, use the s3api call instead of s3 so you can use the
|
195
|
+
# put-object operation. For example, you use the following: `aws s3api
|
196
|
+
# put-object --bucket bucketname --key path/to/folder/`. Make sure
|
197
|
+
# that the end of the key name ends in a / for it to be considered a
|
198
|
+
# folder.
|
199
|
+
#
|
200
|
+
# </note>
|
169
201
|
# @return [Array<Types::HomeDirectoryMapEntry>]
|
170
202
|
#
|
171
203
|
# @!attribute [rw] policy
|
@@ -591,24 +623,53 @@ module Aws::Transfer
|
|
591
623
|
include Aws::Structure
|
592
624
|
end
|
593
625
|
|
594
|
-
# The
|
595
|
-
#
|
626
|
+
# The virtual private cloud (VPC) endpoint settings that are configured
|
627
|
+
# for your SFTP server. With a VPC endpoint, you can restrict access to
|
628
|
+
# your SFTP server and resources only within your VPC. To control
|
629
|
+
# incoming internet traffic, invoke the `UpdateServer` API and attach an
|
630
|
+
# Elastic IP to your server's endpoint.
|
596
631
|
#
|
597
632
|
# @note When making an API call, you may pass EndpointDetails
|
598
633
|
# data as a hash:
|
599
634
|
#
|
600
635
|
# {
|
636
|
+
# address_allocation_ids: ["AddressAllocationId"],
|
637
|
+
# subnet_ids: ["SubnetId"],
|
601
638
|
# vpc_endpoint_id: "VpcEndpointId",
|
639
|
+
# vpc_id: "VpcId",
|
602
640
|
# }
|
603
641
|
#
|
642
|
+
# @!attribute [rw] address_allocation_ids
|
643
|
+
# A list of address allocation IDs that are required to attach an
|
644
|
+
# Elastic IP address to your SFTP server's endpoint. This is only
|
645
|
+
# valid in the `UpdateServer` API.
|
646
|
+
#
|
647
|
+
# <note markdown="1"> This property can only be use when `EndpointType` is set to `VPC`.
|
648
|
+
#
|
649
|
+
# </note>
|
650
|
+
# @return [Array<String>]
|
651
|
+
#
|
652
|
+
# @!attribute [rw] subnet_ids
|
653
|
+
# A list of subnet IDs that are required to host your SFTP server
|
654
|
+
# endpoint in your VPC.
|
655
|
+
# @return [Array<String>]
|
656
|
+
#
|
604
657
|
# @!attribute [rw] vpc_endpoint_id
|
605
658
|
# The ID of the VPC endpoint.
|
606
659
|
# @return [String]
|
607
660
|
#
|
661
|
+
# @!attribute [rw] vpc_id
|
662
|
+
# The VPC ID of the virtual private cloud in which the SFTP server's
|
663
|
+
# endpoint will be hosted.
|
664
|
+
# @return [String]
|
665
|
+
#
|
608
666
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/EndpointDetails AWS API Documentation
|
609
667
|
#
|
610
668
|
class EndpointDetails < Struct.new(
|
611
|
-
:
|
669
|
+
:address_allocation_ids,
|
670
|
+
:subnet_ids,
|
671
|
+
:vpc_endpoint_id,
|
672
|
+
:vpc_id)
|
612
673
|
include Aws::Structure
|
613
674
|
end
|
614
675
|
|
@@ -1334,9 +1395,12 @@ module Aws::Transfer
|
|
1334
1395
|
#
|
1335
1396
|
# {
|
1336
1397
|
# endpoint_details: {
|
1398
|
+
# address_allocation_ids: ["AddressAllocationId"],
|
1399
|
+
# subnet_ids: ["SubnetId"],
|
1337
1400
|
# vpc_endpoint_id: "VpcEndpointId",
|
1401
|
+
# vpc_id: "VpcId",
|
1338
1402
|
# },
|
1339
|
-
# endpoint_type: "PUBLIC", # accepts PUBLIC, VPC_ENDPOINT
|
1403
|
+
# endpoint_type: "PUBLIC", # accepts PUBLIC, VPC, VPC_ENDPOINT
|
1340
1404
|
# host_key: "HostKey",
|
1341
1405
|
# identity_provider_details: {
|
1342
1406
|
# url: "Url",
|
@@ -1348,8 +1412,11 @@ module Aws::Transfer
|
|
1348
1412
|
#
|
1349
1413
|
# @!attribute [rw] endpoint_details
|
1350
1414
|
# The virtual private cloud (VPC) endpoint settings that are
|
1351
|
-
# configured for your SFTP server. With a VPC endpoint,
|
1352
|
-
# server
|
1415
|
+
# configured for your SFTP server. With a VPC endpoint, you can
|
1416
|
+
# restrict access to your SFTP server to resources only within your
|
1417
|
+
# VPC. To control incoming internet traffic, you will need to
|
1418
|
+
# associate one or more Elastic IP addresses with your server's
|
1419
|
+
# endpoint.
|
1353
1420
|
# @return [Types::EndpointDetails]
|
1354
1421
|
#
|
1355
1422
|
# @!attribute [rw] endpoint_type
|
@@ -1465,6 +1532,17 @@ module Aws::Transfer
|
|
1465
1532
|
# policy to lock your user down to the designated home directory
|
1466
1533
|
# ("chroot"). To do this, you can set `Entry` to '/' and set
|
1467
1534
|
# `Target` to the HomeDirectory parameter value.
|
1535
|
+
#
|
1536
|
+
# <note markdown="1"> If the target of a logical directory entry does not exist in S3, the
|
1537
|
+
# entry will be ignored. As a workaround, you can use the S3 api to
|
1538
|
+
# create 0 byte objects as place holders for your directory. If using
|
1539
|
+
# the CLI, use the s3api call instead of s3 so you can use the
|
1540
|
+
# put-object operation. For example, you use the following: `aws s3api
|
1541
|
+
# put-object --bucket bucketname --key path/to/folder/`. Make sure
|
1542
|
+
# that the end of the key name ends in a / for it to be considered a
|
1543
|
+
# folder.
|
1544
|
+
#
|
1545
|
+
# </note>
|
1468
1546
|
# @return [Array<Types::HomeDirectoryMapEntry>]
|
1469
1547
|
#
|
1470
1548
|
# @!attribute [rw] policy
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-transfer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.16.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:
|
11
|
+
date: 2020-01-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|