aws-sdk-transfer 1.4.0 → 1.5.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 +69 -7
- data/lib/aws-sdk-transfer/client_api.rb +13 -0
- data/lib/aws-sdk-transfer/types.rb +61 -8
- 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: bb099344db6a491c1f21a1bb041c14014ca0ec11
|
4
|
+
data.tar.gz: eeb6e96c16843309f71e777a997ebe7bc0e886e9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 68abe028e2b5c0fd18e27bb8a75821a1a505f2ea13de001a69345c91f9c5b312a47021e15b1c8de417dfc69e966397de8b916963b319ce16a2145aba57189be9
|
7
|
+
data.tar.gz: c03e5f52367edb77f5482701a45efe6c637b6a82a22d1d0e5ad0accaa9c133b952f8b2113850652361fe52f9fa0f804eb8318e4704c034225cfa6c299e73f83f
|
data/lib/aws-sdk-transfer.rb
CHANGED
@@ -209,6 +209,49 @@ module Aws::Transfer
|
|
209
209
|
# When `true`, request parameters are validated before
|
210
210
|
# sending the request.
|
211
211
|
#
|
212
|
+
# @option options [URI::HTTP,String] :http_proxy A proxy to send
|
213
|
+
# requests through. Formatted like 'http://proxy.com:123'.
|
214
|
+
#
|
215
|
+
# @option options [Float] :http_open_timeout (15) The number of
|
216
|
+
# seconds to wait when opening a HTTP session before rasing a
|
217
|
+
# `Timeout::Error`.
|
218
|
+
#
|
219
|
+
# @option options [Integer] :http_read_timeout (60) The default
|
220
|
+
# number of seconds to wait for response data. This value can
|
221
|
+
# safely be set
|
222
|
+
# per-request on the session yeidled by {#session_for}.
|
223
|
+
#
|
224
|
+
# @option options [Float] :http_idle_timeout (5) The number of
|
225
|
+
# seconds a connection is allowed to sit idble before it is
|
226
|
+
# considered stale. Stale connections are closed and removed
|
227
|
+
# from the pool before making a request.
|
228
|
+
#
|
229
|
+
# @option options [Float] :http_continue_timeout (1) The number of
|
230
|
+
# seconds to wait for a 100-continue response before sending the
|
231
|
+
# request body. This option has no effect unless the request has
|
232
|
+
# "Expect" header set to "100-continue". Defaults to `nil` which
|
233
|
+
# disables this behaviour. This value can safely be set per
|
234
|
+
# request on the session yeidled by {#session_for}.
|
235
|
+
#
|
236
|
+
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
237
|
+
# HTTP debug output will be sent to the `:logger`.
|
238
|
+
#
|
239
|
+
# @option options [Boolean] :ssl_verify_peer (true) When `true`,
|
240
|
+
# SSL peer certificates are verified when establishing a
|
241
|
+
# connection.
|
242
|
+
#
|
243
|
+
# @option options [String] :ssl_ca_bundle Full path to the SSL
|
244
|
+
# certificate authority bundle file that should be used when
|
245
|
+
# verifying peer certificates. If you do not pass
|
246
|
+
# `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
|
247
|
+
# will be used if available.
|
248
|
+
#
|
249
|
+
# @option options [String] :ssl_ca_directory Full path of the
|
250
|
+
# directory that contains the unbundled SSL certificate
|
251
|
+
# authority files for verifying peer certificates. If you do
|
252
|
+
# not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
|
253
|
+
# system default will be used if available.
|
254
|
+
#
|
212
255
|
def initialize(*args)
|
213
256
|
super
|
214
257
|
end
|
@@ -224,6 +267,10 @@ module Aws::Transfer
|
|
224
267
|
# The response returns the `ServerId` value for the newly created
|
225
268
|
# server.
|
226
269
|
#
|
270
|
+
# @option params [Types::EndpointDetails] :endpoint_details
|
271
|
+
#
|
272
|
+
# @option params [String] :endpoint_type
|
273
|
+
#
|
227
274
|
# @option params [Types::IdentityProviderDetails] :identity_provider_details
|
228
275
|
# An array containing all of the information required to call a
|
229
276
|
# customer-supplied authentication API. This parameter is not required
|
@@ -239,7 +286,7 @@ module Aws::Transfer
|
|
239
286
|
# provider of your choice.
|
240
287
|
#
|
241
288
|
# @option params [String] :logging_role
|
242
|
-
# A value that allows the service to write your SFTP users
|
289
|
+
# A value that allows the service to write your SFTP users' activity to
|
243
290
|
# your Amazon CloudWatch logs for monitoring and auditing purposes.
|
244
291
|
#
|
245
292
|
# @option params [Array<Types::Tag>] :tags
|
@@ -252,6 +299,10 @@ module Aws::Transfer
|
|
252
299
|
# @example Request syntax with placeholder values
|
253
300
|
#
|
254
301
|
# resp = client.create_server({
|
302
|
+
# endpoint_details: {
|
303
|
+
# vpc_endpoint_id: "VpcEndpointId",
|
304
|
+
# },
|
305
|
+
# endpoint_type: "PUBLIC", # accepts PUBLIC, VPC_ENDPOINT
|
255
306
|
# identity_provider_details: {
|
256
307
|
# url: "Url",
|
257
308
|
# invocation_role: "Role",
|
@@ -302,12 +353,12 @@ module Aws::Transfer
|
|
302
353
|
# `$\{Transfer:HomeBucket\}`.
|
303
354
|
#
|
304
355
|
# @option params [required, String] :role
|
305
|
-
# The IAM role that controls your user
|
356
|
+
# The IAM role that controls your user's access to your Amazon S3
|
306
357
|
# bucket. The policies attached to this role will determine the level of
|
307
358
|
# access you want to provide your users when transferring files into and
|
308
359
|
# out of your Amazon S3 bucket or buckets. The IAM role should also
|
309
360
|
# contain a trust relationship that allows the SFTP server to access
|
310
|
-
# your resources when servicing your SFTP user
|
361
|
+
# your resources when servicing your SFTP user's transfer requests.
|
311
362
|
#
|
312
363
|
# @option params [required, String] :server_id
|
313
364
|
# A system-assigned unique identifier for an SFTP server instance. This
|
@@ -397,7 +448,7 @@ module Aws::Transfer
|
|
397
448
|
# Protocol (SFTP) server instance that has the user assigned to it.
|
398
449
|
#
|
399
450
|
# @option params [required, String] :ssh_public_key_id
|
400
|
-
# A unique identifier used to reference your user
|
451
|
+
# A unique identifier used to reference your user's specific SSH key.
|
401
452
|
#
|
402
453
|
# @option params [required, String] :user_name
|
403
454
|
# A unique string that identifies a user whose public key is being
|
@@ -477,6 +528,8 @@ module Aws::Transfer
|
|
477
528
|
# @example Response structure
|
478
529
|
#
|
479
530
|
# resp.server.arn #=> String
|
531
|
+
# resp.server.endpoint_details.vpc_endpoint_id #=> String
|
532
|
+
# resp.server.endpoint_type #=> String, one of "PUBLIC", "VPC_ENDPOINT"
|
480
533
|
# resp.server.identity_provider_details.url #=> String
|
481
534
|
# resp.server.identity_provider_details.invocation_role #=> String
|
482
535
|
# resp.server.identity_provider_type #=> String, one of "SERVICE_MANAGED", "API_GATEWAY"
|
@@ -625,6 +678,7 @@ module Aws::Transfer
|
|
625
678
|
# resp.servers #=> Array
|
626
679
|
# resp.servers[0].arn #=> String
|
627
680
|
# resp.servers[0].identity_provider_type #=> String, one of "SERVICE_MANAGED", "API_GATEWAY"
|
681
|
+
# resp.servers[0].endpoint_type #=> String, one of "PUBLIC", "VPC_ENDPOINT"
|
628
682
|
# resp.servers[0].logging_role #=> String
|
629
683
|
# resp.servers[0].server_id #=> String
|
630
684
|
# resp.servers[0].state #=> String, one of "OFFLINE", "ONLINE", "STARTING", "STOPPING", "START_FAILED", "STOP_FAILED"
|
@@ -927,6 +981,10 @@ module Aws::Transfer
|
|
927
981
|
# The `UpdateServer` call returns the `ServerId` of the Secure File
|
928
982
|
# Transfer Protocol (SFTP) server you updated.
|
929
983
|
#
|
984
|
+
# @option params [Types::EndpointDetails] :endpoint_details
|
985
|
+
#
|
986
|
+
# @option params [String] :endpoint_type
|
987
|
+
#
|
930
988
|
# @option params [Types::IdentityProviderDetails] :identity_provider_details
|
931
989
|
# This response parameter is an array containing all of the information
|
932
990
|
# required to call a customer's authentication API method.
|
@@ -947,6 +1005,10 @@ module Aws::Transfer
|
|
947
1005
|
# @example Request syntax with placeholder values
|
948
1006
|
#
|
949
1007
|
# resp = client.update_server({
|
1008
|
+
# endpoint_details: {
|
1009
|
+
# vpc_endpoint_id: "VpcEndpointId",
|
1010
|
+
# },
|
1011
|
+
# endpoint_type: "PUBLIC", # accepts PUBLIC, VPC_ENDPOINT
|
950
1012
|
# identity_provider_details: {
|
951
1013
|
# url: "Url",
|
952
1014
|
# invocation_role: "Role",
|
@@ -989,13 +1051,13 @@ module Aws::Transfer
|
|
989
1051
|
# `$\{Transfer:HomeBucket\}`.
|
990
1052
|
#
|
991
1053
|
# @option params [String] :role
|
992
|
-
# The IAM role that controls your user
|
1054
|
+
# The IAM role that controls your user's access to your Amazon S3
|
993
1055
|
# bucket. The policies attached to this role will determine the level of
|
994
1056
|
# access you want to provide your users when transferring files into and
|
995
1057
|
# out of your Amazon S3 bucket or buckets. The IAM role should also
|
996
1058
|
# contain a trust relationship that allows the Secure File Transfer
|
997
1059
|
# Protocol (SFTP) server to access your resources when servicing your
|
998
|
-
# SFTP user
|
1060
|
+
# SFTP user's transfer requests.
|
999
1061
|
#
|
1000
1062
|
# @option params [required, String] :server_id
|
1001
1063
|
# A system-assigned unique identifier for an SFTP server instance that
|
@@ -1048,7 +1110,7 @@ module Aws::Transfer
|
|
1048
1110
|
params: params,
|
1049
1111
|
config: config)
|
1050
1112
|
context[:gem_name] = 'aws-sdk-transfer'
|
1051
|
-
context[:gem_version] = '1.
|
1113
|
+
context[:gem_version] = '1.5.0'
|
1052
1114
|
Seahorse::Client::Request.new(handlers, context)
|
1053
1115
|
end
|
1054
1116
|
|
@@ -26,6 +26,8 @@ module Aws::Transfer
|
|
26
26
|
DescribeUserResponse = Shapes::StructureShape.new(name: 'DescribeUserResponse')
|
27
27
|
DescribedServer = Shapes::StructureShape.new(name: 'DescribedServer')
|
28
28
|
DescribedUser = Shapes::StructureShape.new(name: 'DescribedUser')
|
29
|
+
EndpointDetails = Shapes::StructureShape.new(name: 'EndpointDetails')
|
30
|
+
EndpointType = Shapes::StringShape.new(name: 'EndpointType')
|
29
31
|
HomeDirectory = Shapes::StringShape.new(name: 'HomeDirectory')
|
30
32
|
IdentityProviderDetails = Shapes::StructureShape.new(name: 'IdentityProviderDetails')
|
31
33
|
IdentityProviderType = Shapes::StringShape.new(name: 'IdentityProviderType')
|
@@ -83,7 +85,10 @@ module Aws::Transfer
|
|
83
85
|
UserCount = Shapes::IntegerShape.new(name: 'UserCount')
|
84
86
|
UserName = Shapes::StringShape.new(name: 'UserName')
|
85
87
|
UserPassword = Shapes::StringShape.new(name: 'UserPassword')
|
88
|
+
VpcEndpointId = Shapes::StringShape.new(name: 'VpcEndpointId')
|
86
89
|
|
90
|
+
CreateServerRequest.add_member(:endpoint_details, Shapes::ShapeRef.new(shape: EndpointDetails, location_name: "EndpointDetails"))
|
91
|
+
CreateServerRequest.add_member(:endpoint_type, Shapes::ShapeRef.new(shape: EndpointType, location_name: "EndpointType"))
|
87
92
|
CreateServerRequest.add_member(:identity_provider_details, Shapes::ShapeRef.new(shape: IdentityProviderDetails, location_name: "IdentityProviderDetails"))
|
88
93
|
CreateServerRequest.add_member(:identity_provider_type, Shapes::ShapeRef.new(shape: IdentityProviderType, location_name: "IdentityProviderType"))
|
89
94
|
CreateServerRequest.add_member(:logging_role, Shapes::ShapeRef.new(shape: Role, location_name: "LoggingRole"))
|
@@ -133,6 +138,8 @@ module Aws::Transfer
|
|
133
138
|
DescribeUserResponse.struct_class = Types::DescribeUserResponse
|
134
139
|
|
135
140
|
DescribedServer.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "Arn"))
|
141
|
+
DescribedServer.add_member(:endpoint_details, Shapes::ShapeRef.new(shape: EndpointDetails, location_name: "EndpointDetails"))
|
142
|
+
DescribedServer.add_member(:endpoint_type, Shapes::ShapeRef.new(shape: EndpointType, location_name: "EndpointType"))
|
136
143
|
DescribedServer.add_member(:identity_provider_details, Shapes::ShapeRef.new(shape: IdentityProviderDetails, location_name: "IdentityProviderDetails"))
|
137
144
|
DescribedServer.add_member(:identity_provider_type, Shapes::ShapeRef.new(shape: IdentityProviderType, location_name: "IdentityProviderType"))
|
138
145
|
DescribedServer.add_member(:logging_role, Shapes::ShapeRef.new(shape: Role, location_name: "LoggingRole"))
|
@@ -151,6 +158,9 @@ module Aws::Transfer
|
|
151
158
|
DescribedUser.add_member(:user_name, Shapes::ShapeRef.new(shape: UserName, location_name: "UserName"))
|
152
159
|
DescribedUser.struct_class = Types::DescribedUser
|
153
160
|
|
161
|
+
EndpointDetails.add_member(:vpc_endpoint_id, Shapes::ShapeRef.new(shape: VpcEndpointId, location_name: "VpcEndpointId"))
|
162
|
+
EndpointDetails.struct_class = Types::EndpointDetails
|
163
|
+
|
154
164
|
IdentityProviderDetails.add_member(:url, Shapes::ShapeRef.new(shape: Url, location_name: "Url"))
|
155
165
|
IdentityProviderDetails.add_member(:invocation_role, Shapes::ShapeRef.new(shape: Role, location_name: "InvocationRole"))
|
156
166
|
IdentityProviderDetails.struct_class = Types::IdentityProviderDetails
|
@@ -195,6 +205,7 @@ module Aws::Transfer
|
|
195
205
|
|
196
206
|
ListedServer.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "Arn"))
|
197
207
|
ListedServer.add_member(:identity_provider_type, Shapes::ShapeRef.new(shape: IdentityProviderType, location_name: "IdentityProviderType"))
|
208
|
+
ListedServer.add_member(:endpoint_type, Shapes::ShapeRef.new(shape: EndpointType, location_name: "EndpointType"))
|
198
209
|
ListedServer.add_member(:logging_role, Shapes::ShapeRef.new(shape: Role, location_name: "LoggingRole"))
|
199
210
|
ListedServer.add_member(:server_id, Shapes::ShapeRef.new(shape: ServerId, location_name: "ServerId"))
|
200
211
|
ListedServer.add_member(:state, Shapes::ShapeRef.new(shape: State, location_name: "State"))
|
@@ -251,6 +262,8 @@ module Aws::Transfer
|
|
251
262
|
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeys, required: true, location_name: "TagKeys"))
|
252
263
|
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
253
264
|
|
265
|
+
UpdateServerRequest.add_member(:endpoint_details, Shapes::ShapeRef.new(shape: EndpointDetails, location_name: "EndpointDetails"))
|
266
|
+
UpdateServerRequest.add_member(:endpoint_type, Shapes::ShapeRef.new(shape: EndpointType, location_name: "EndpointType"))
|
254
267
|
UpdateServerRequest.add_member(:identity_provider_details, Shapes::ShapeRef.new(shape: IdentityProviderDetails, location_name: "IdentityProviderDetails"))
|
255
268
|
UpdateServerRequest.add_member(:logging_role, Shapes::ShapeRef.new(shape: NullableRole, location_name: "LoggingRole"))
|
256
269
|
UpdateServerRequest.add_member(:server_id, Shapes::ShapeRef.new(shape: ServerId, required: true, location_name: "ServerId"))
|
@@ -12,6 +12,10 @@ module Aws::Transfer
|
|
12
12
|
# data as a hash:
|
13
13
|
#
|
14
14
|
# {
|
15
|
+
# endpoint_details: {
|
16
|
+
# vpc_endpoint_id: "VpcEndpointId",
|
17
|
+
# },
|
18
|
+
# endpoint_type: "PUBLIC", # accepts PUBLIC, VPC_ENDPOINT
|
15
19
|
# identity_provider_details: {
|
16
20
|
# url: "Url",
|
17
21
|
# invocation_role: "Role",
|
@@ -26,6 +30,12 @@ module Aws::Transfer
|
|
26
30
|
# ],
|
27
31
|
# }
|
28
32
|
#
|
33
|
+
# @!attribute [rw] endpoint_details
|
34
|
+
# @return [Types::EndpointDetails]
|
35
|
+
#
|
36
|
+
# @!attribute [rw] endpoint_type
|
37
|
+
# @return [String]
|
38
|
+
#
|
29
39
|
# @!attribute [rw] identity_provider_details
|
30
40
|
# An array containing all of the information required to call a
|
31
41
|
# customer-supplied authentication API. This parameter is not required
|
@@ -43,7 +53,7 @@ module Aws::Transfer
|
|
43
53
|
# @return [String]
|
44
54
|
#
|
45
55
|
# @!attribute [rw] logging_role
|
46
|
-
# A value that allows the service to write your SFTP users
|
56
|
+
# A value that allows the service to write your SFTP users' activity
|
47
57
|
# to your Amazon CloudWatch logs for monitoring and auditing purposes.
|
48
58
|
# @return [String]
|
49
59
|
#
|
@@ -54,6 +64,8 @@ module Aws::Transfer
|
|
54
64
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/CreateServerRequest AWS API Documentation
|
55
65
|
#
|
56
66
|
class CreateServerRequest < Struct.new(
|
67
|
+
:endpoint_details,
|
68
|
+
:endpoint_type,
|
57
69
|
:identity_provider_details,
|
58
70
|
:identity_provider_type,
|
59
71
|
:logging_role,
|
@@ -104,12 +116,12 @@ module Aws::Transfer
|
|
104
116
|
# @return [String]
|
105
117
|
#
|
106
118
|
# @!attribute [rw] role
|
107
|
-
# The IAM role that controls your user
|
119
|
+
# The IAM role that controls your user's access to your Amazon S3
|
108
120
|
# bucket. The policies attached to this role will determine the level
|
109
121
|
# of access you want to provide your users when transferring files
|
110
122
|
# into and out of your Amazon S3 bucket or buckets. The IAM role
|
111
123
|
# should also contain a trust relationship that allows the SFTP server
|
112
|
-
# to access your resources when servicing your SFTP user
|
124
|
+
# to access your resources when servicing your SFTP user's transfer
|
113
125
|
# requests.
|
114
126
|
# @return [String]
|
115
127
|
#
|
@@ -196,7 +208,7 @@ module Aws::Transfer
|
|
196
208
|
# @return [String]
|
197
209
|
#
|
198
210
|
# @!attribute [rw] ssh_public_key_id
|
199
|
-
# A unique identifier used to reference your user
|
211
|
+
# A unique identifier used to reference your user's specific SSH key.
|
200
212
|
# @return [String]
|
201
213
|
#
|
202
214
|
# @!attribute [rw] user_name
|
@@ -324,6 +336,12 @@ module Aws::Transfer
|
|
324
336
|
# described.
|
325
337
|
# @return [String]
|
326
338
|
#
|
339
|
+
# @!attribute [rw] endpoint_details
|
340
|
+
# @return [Types::EndpointDetails]
|
341
|
+
#
|
342
|
+
# @!attribute [rw] endpoint_type
|
343
|
+
# @return [String]
|
344
|
+
#
|
327
345
|
# @!attribute [rw] identity_provider_details
|
328
346
|
# Specifies information to call a customer-supplied authentication
|
329
347
|
# API. This field is not populated when the `IdentityProviderType` of
|
@@ -378,6 +396,8 @@ module Aws::Transfer
|
|
378
396
|
#
|
379
397
|
class DescribedServer < Struct.new(
|
380
398
|
:arn,
|
399
|
+
:endpoint_details,
|
400
|
+
:endpoint_type,
|
381
401
|
:identity_provider_details,
|
382
402
|
:identity_provider_type,
|
383
403
|
:logging_role,
|
@@ -407,13 +427,13 @@ module Aws::Transfer
|
|
407
427
|
# @return [String]
|
408
428
|
#
|
409
429
|
# @!attribute [rw] role
|
410
|
-
# This property specifies the IAM role that controls your user
|
430
|
+
# This property specifies the IAM role that controls your user's
|
411
431
|
# access to your Amazon S3 bucket. The policies attached to this role
|
412
432
|
# will determine the level of access you want to provide your users
|
413
433
|
# when transferring files into and out of your Amazon S3 bucket or
|
414
434
|
# buckets. The IAM role should also contain a trust relationship that
|
415
435
|
# allows the SFTP server to access your resources when servicing your
|
416
|
-
# SFTP user
|
436
|
+
# SFTP user's transfer requests.
|
417
437
|
# @return [String]
|
418
438
|
#
|
419
439
|
# @!attribute [rw] ssh_public_keys
|
@@ -447,6 +467,23 @@ module Aws::Transfer
|
|
447
467
|
include Aws::Structure
|
448
468
|
end
|
449
469
|
|
470
|
+
# @note When making an API call, you may pass EndpointDetails
|
471
|
+
# data as a hash:
|
472
|
+
#
|
473
|
+
# {
|
474
|
+
# vpc_endpoint_id: "VpcEndpointId",
|
475
|
+
# }
|
476
|
+
#
|
477
|
+
# @!attribute [rw] vpc_endpoint_id
|
478
|
+
# @return [String]
|
479
|
+
#
|
480
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/EndpointDetails AWS API Documentation
|
481
|
+
#
|
482
|
+
class EndpointDetails < Struct.new(
|
483
|
+
:vpc_endpoint_id)
|
484
|
+
include Aws::Structure
|
485
|
+
end
|
486
|
+
|
450
487
|
# Returns information related to the type of user authentication that is
|
451
488
|
# in use for a server's users. A server can only have one method of
|
452
489
|
# authentication.
|
@@ -718,6 +755,9 @@ module Aws::Transfer
|
|
718
755
|
# `API_GATEWAY`.
|
719
756
|
# @return [String]
|
720
757
|
#
|
758
|
+
# @!attribute [rw] endpoint_type
|
759
|
+
# @return [String]
|
760
|
+
#
|
721
761
|
# @!attribute [rw] logging_role
|
722
762
|
# The AWS Identity and Access Management entity that allows the server
|
723
763
|
# to turn on Amazon CloudWatch logging.
|
@@ -752,6 +792,7 @@ module Aws::Transfer
|
|
752
792
|
class ListedServer < Struct.new(
|
753
793
|
:arn,
|
754
794
|
:identity_provider_type,
|
795
|
+
:endpoint_type,
|
755
796
|
:logging_role,
|
756
797
|
:server_id,
|
757
798
|
:state,
|
@@ -1015,6 +1056,10 @@ module Aws::Transfer
|
|
1015
1056
|
# data as a hash:
|
1016
1057
|
#
|
1017
1058
|
# {
|
1059
|
+
# endpoint_details: {
|
1060
|
+
# vpc_endpoint_id: "VpcEndpointId",
|
1061
|
+
# },
|
1062
|
+
# endpoint_type: "PUBLIC", # accepts PUBLIC, VPC_ENDPOINT
|
1018
1063
|
# identity_provider_details: {
|
1019
1064
|
# url: "Url",
|
1020
1065
|
# invocation_role: "Role",
|
@@ -1023,6 +1068,12 @@ module Aws::Transfer
|
|
1023
1068
|
# server_id: "ServerId", # required
|
1024
1069
|
# }
|
1025
1070
|
#
|
1071
|
+
# @!attribute [rw] endpoint_details
|
1072
|
+
# @return [Types::EndpointDetails]
|
1073
|
+
#
|
1074
|
+
# @!attribute [rw] endpoint_type
|
1075
|
+
# @return [String]
|
1076
|
+
#
|
1026
1077
|
# @!attribute [rw] identity_provider_details
|
1027
1078
|
# This response parameter is an array containing all of the
|
1028
1079
|
# information required to call a customer's authentication API
|
@@ -1043,6 +1094,8 @@ module Aws::Transfer
|
|
1043
1094
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/UpdateServerRequest AWS API Documentation
|
1044
1095
|
#
|
1045
1096
|
class UpdateServerRequest < Struct.new(
|
1097
|
+
:endpoint_details,
|
1098
|
+
:endpoint_type,
|
1046
1099
|
:identity_provider_details,
|
1047
1100
|
:logging_role,
|
1048
1101
|
:server_id)
|
@@ -1088,13 +1141,13 @@ module Aws::Transfer
|
|
1088
1141
|
# @return [String]
|
1089
1142
|
#
|
1090
1143
|
# @!attribute [rw] role
|
1091
|
-
# The IAM role that controls your user
|
1144
|
+
# The IAM role that controls your user's access to your Amazon S3
|
1092
1145
|
# bucket. The policies attached to this role will determine the level
|
1093
1146
|
# of access you want to provide your users when transferring files
|
1094
1147
|
# into and out of your Amazon S3 bucket or buckets. The IAM role
|
1095
1148
|
# should also contain a trust relationship that allows the Secure File
|
1096
1149
|
# Transfer Protocol (SFTP) server to access your resources when
|
1097
|
-
# servicing your SFTP user
|
1150
|
+
# servicing your SFTP user's transfer requests.
|
1098
1151
|
# @return [String]
|
1099
1152
|
#
|
1100
1153
|
# @!attribute [rw] server_id
|
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.5.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: 2019-03-
|
11
|
+
date: 2019-03-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|