aws-sdk-transfer 1.42.0 → 1.46.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 +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-transfer/client.rb +53 -6
- data/lib/aws-sdk-transfer/client_api.rb +5 -0
- data/lib/aws-sdk-transfer/types.rb +90 -9
- data/lib/aws-sdk-transfer.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 425c3827a84d3f157d1aca150a643459af458f08d4c2b2bdae95e5a3e8f652c1
|
4
|
+
data.tar.gz: fef41219568e1986e2f73d951c94dc98a893352b1d0bd2f0a0ddd754626e2029
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 91977d53138b6e09fcd8ea5c404a6046f3189c80475a1db682a4dbfe6ed4860725261e1955d0e9ca5c0e32904179a86c6b5a8018b49aa3a594bd22aceb0741f4
|
7
|
+
data.tar.gz: b1d9466a567fd6e19ab521501ebe7a8838d6386c6dff17a17e66fb4fe704cdba12f1d44f3e206389498169c9a214f974210066b8390fab1e9c98d4b4b3c765f8
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.46.0 (2022-02-03)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.45.0 (2021-12-21)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Property for Transfer Family used with the FTPS protocol. TLS Session Resumption provides a mechanism to resume or share a negotiated secret key between the control and data connection for an FTPS session.
|
13
|
+
|
14
|
+
1.44.0 (2021-11-30)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.43.0 (2021-11-15)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - AWS Transfer Family now supports integrating a custom identity provider using AWS Lambda
|
23
|
+
|
4
24
|
1.42.0 (2021-11-04)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.46.0
|
@@ -27,6 +27,8 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
|
27
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
28
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
29
|
require 'aws-sdk-core/plugins/http_checksum.rb'
|
30
|
+
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
31
|
+
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
30
32
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
31
33
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
32
34
|
|
@@ -73,6 +75,8 @@ module Aws::Transfer
|
|
73
75
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
74
76
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
77
|
add_plugin(Aws::Plugins::HttpChecksum)
|
78
|
+
add_plugin(Aws::Plugins::DefaultsMode)
|
79
|
+
add_plugin(Aws::Plugins::RecursionDetection)
|
76
80
|
add_plugin(Aws::Plugins::SignatureV4)
|
77
81
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
78
82
|
|
@@ -119,7 +123,9 @@ module Aws::Transfer
|
|
119
123
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
124
|
# are very aggressive. Construct and pass an instance of
|
121
125
|
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
-
# enable retries and extended timeouts.
|
126
|
+
# enable retries and extended timeouts. Instance profile credential
|
127
|
+
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
128
|
+
# to true.
|
123
129
|
#
|
124
130
|
# @option options [required, String] :region
|
125
131
|
# The AWS region to connect to. The configured `:region` is
|
@@ -173,6 +179,10 @@ module Aws::Transfer
|
|
173
179
|
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
174
180
|
# a clock skew correction and retry requests with skewed client clocks.
|
175
181
|
#
|
182
|
+
# @option options [String] :defaults_mode ("legacy")
|
183
|
+
# See {Aws::DefaultsModeConfiguration} for a list of the
|
184
|
+
# accepted modes and the configuration defaults that are included.
|
185
|
+
#
|
176
186
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
177
187
|
# Set to true to disable SDK automatically adding host prefix
|
178
188
|
# to default service endpoint when available.
|
@@ -305,7 +315,7 @@ module Aws::Transfer
|
|
305
315
|
# seconds to wait when opening a HTTP session before raising a
|
306
316
|
# `Timeout::Error`.
|
307
317
|
#
|
308
|
-
# @option options [
|
318
|
+
# @option options [Float] :http_read_timeout (60) The default
|
309
319
|
# number of seconds to wait for response data. This value can
|
310
320
|
# safely be set per-request on the session.
|
311
321
|
#
|
@@ -321,6 +331,9 @@ module Aws::Transfer
|
|
321
331
|
# disables this behaviour. This value can safely be set per
|
322
332
|
# request on the session.
|
323
333
|
#
|
334
|
+
# @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
|
335
|
+
# in seconds.
|
336
|
+
#
|
324
337
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
325
338
|
# HTTP debug output will be sent to the `:logger`.
|
326
339
|
#
|
@@ -641,6 +654,11 @@ module Aws::Transfer
|
|
641
654
|
# API Gateway endpoint URL to call for authentication using the
|
642
655
|
# `IdentityProviderDetails` parameter.
|
643
656
|
#
|
657
|
+
# Use the `AWS_LAMBDA` value to directly use a Lambda function as your
|
658
|
+
# identity provider. If you choose this value, you must specify the ARN
|
659
|
+
# for the lambda function in the `Function` parameter for the
|
660
|
+
# `IdentityProviderDetails` data type.
|
661
|
+
#
|
644
662
|
# @option params [String] :logging_role
|
645
663
|
# Specifies the Amazon Resource Name (ARN) of the Amazon Web Services
|
646
664
|
# Identity and Access Management (IAM) role that allows a server to turn
|
@@ -677,6 +695,17 @@ module Aws::Transfer
|
|
677
695
|
#
|
678
696
|
# </note>
|
679
697
|
#
|
698
|
+
# @option params [Types::ProtocolDetails] :protocol_details
|
699
|
+
# The protocol settings that are configured for your server.
|
700
|
+
#
|
701
|
+
# Use the `PassiveIp` parameter to indicate passive mode (for FTP and
|
702
|
+
# FTPS protocols). Enter a single dotted-quad IPv4 address, such as the
|
703
|
+
# external IP address of a firewall, router, or load balancer.
|
704
|
+
#
|
705
|
+
# Use the `TlsSessionResumptionMode` parameter to determine whether or
|
706
|
+
# not your Transfer server resumes recent, negotiated sessions through a
|
707
|
+
# unique session ID.
|
708
|
+
#
|
680
709
|
# @option params [String] :security_policy_name
|
681
710
|
# Specifies the name of the security policy that is attached to the
|
682
711
|
# server.
|
@@ -710,10 +739,15 @@ module Aws::Transfer
|
|
710
739
|
# url: "Url",
|
711
740
|
# invocation_role: "Role",
|
712
741
|
# directory_id: "DirectoryId",
|
742
|
+
# function: "Function",
|
713
743
|
# },
|
714
|
-
# identity_provider_type: "SERVICE_MANAGED", # accepts SERVICE_MANAGED, API_GATEWAY, AWS_DIRECTORY_SERVICE
|
744
|
+
# identity_provider_type: "SERVICE_MANAGED", # accepts SERVICE_MANAGED, API_GATEWAY, AWS_DIRECTORY_SERVICE, AWS_LAMBDA
|
715
745
|
# logging_role: "Role",
|
716
746
|
# protocols: ["SFTP"], # accepts SFTP, FTP, FTPS
|
747
|
+
# protocol_details: {
|
748
|
+
# passive_ip: "PassiveIp",
|
749
|
+
# tls_session_resumption_mode: "DISABLED", # accepts DISABLED, ENABLED, ENFORCED
|
750
|
+
# },
|
717
751
|
# security_policy_name: "SecurityPolicyName",
|
718
752
|
# tags: [
|
719
753
|
# {
|
@@ -855,6 +889,11 @@ module Aws::Transfer
|
|
855
889
|
# The public portion of the Secure Shell (SSH) key used to authenticate
|
856
890
|
# the user to the server.
|
857
891
|
#
|
892
|
+
# <note markdown="1"> Currently, Transfer Family does not accept elliptical curve keys (keys
|
893
|
+
# beginning with `ecdsa`).
|
894
|
+
#
|
895
|
+
# </note>
|
896
|
+
#
|
858
897
|
# @option params [Array<Types::Tag>] :tags
|
859
898
|
# Key-value pairs that can be used to group and search for users. Tags
|
860
899
|
# are metadata attached to users for any purpose.
|
@@ -1417,6 +1456,7 @@ module Aws::Transfer
|
|
1417
1456
|
# resp.server.arn #=> String
|
1418
1457
|
# resp.server.certificate #=> String
|
1419
1458
|
# resp.server.protocol_details.passive_ip #=> String
|
1459
|
+
# resp.server.protocol_details.tls_session_resumption_mode #=> String, one of "DISABLED", "ENABLED", "ENFORCED"
|
1420
1460
|
# resp.server.domain #=> String, one of "S3", "EFS"
|
1421
1461
|
# resp.server.endpoint_details.address_allocation_ids #=> Array
|
1422
1462
|
# resp.server.endpoint_details.address_allocation_ids[0] #=> String
|
@@ -1431,7 +1471,8 @@ module Aws::Transfer
|
|
1431
1471
|
# resp.server.identity_provider_details.url #=> String
|
1432
1472
|
# resp.server.identity_provider_details.invocation_role #=> String
|
1433
1473
|
# resp.server.identity_provider_details.directory_id #=> String
|
1434
|
-
# resp.server.
|
1474
|
+
# resp.server.identity_provider_details.function #=> String
|
1475
|
+
# resp.server.identity_provider_type #=> String, one of "SERVICE_MANAGED", "API_GATEWAY", "AWS_DIRECTORY_SERVICE", "AWS_LAMBDA"
|
1435
1476
|
# resp.server.logging_role #=> String
|
1436
1477
|
# resp.server.protocols #=> Array
|
1437
1478
|
# resp.server.protocols[0] #=> String, one of "SFTP", "FTP", "FTPS"
|
@@ -1822,7 +1863,7 @@ module Aws::Transfer
|
|
1822
1863
|
# resp.servers #=> Array
|
1823
1864
|
# resp.servers[0].arn #=> String
|
1824
1865
|
# resp.servers[0].domain #=> String, one of "S3", "EFS"
|
1825
|
-
# resp.servers[0].identity_provider_type #=> String, one of "SERVICE_MANAGED", "API_GATEWAY", "AWS_DIRECTORY_SERVICE"
|
1866
|
+
# resp.servers[0].identity_provider_type #=> String, one of "SERVICE_MANAGED", "API_GATEWAY", "AWS_DIRECTORY_SERVICE", "AWS_LAMBDA"
|
1826
1867
|
# resp.servers[0].endpoint_type #=> String, one of "PUBLIC", "VPC", "VPC_ENDPOINT"
|
1827
1868
|
# resp.servers[0].logging_role #=> String
|
1828
1869
|
# resp.servers[0].server_id #=> String
|
@@ -2467,6 +2508,10 @@ module Aws::Transfer
|
|
2467
2508
|
# FTPS protocols). Enter a single dotted-quad IPv4 address, such as the
|
2468
2509
|
# external IP address of a firewall, router, or load balancer.
|
2469
2510
|
#
|
2511
|
+
# Use the `TlsSessionResumptionMode` parameter to determine whether or
|
2512
|
+
# not your Transfer server resumes recent, negotiated sessions through a
|
2513
|
+
# unique session ID.
|
2514
|
+
#
|
2470
2515
|
# @option params [Types::EndpointDetails] :endpoint_details
|
2471
2516
|
# The virtual private cloud (VPC) endpoint settings that are configured
|
2472
2517
|
# for your server. When you host your endpoint within your VPC, you can
|
@@ -2579,6 +2624,7 @@ module Aws::Transfer
|
|
2579
2624
|
# certificate: "Certificate",
|
2580
2625
|
# protocol_details: {
|
2581
2626
|
# passive_ip: "PassiveIp",
|
2627
|
+
# tls_session_resumption_mode: "DISABLED", # accepts DISABLED, ENABLED, ENFORCED
|
2582
2628
|
# },
|
2583
2629
|
# endpoint_details: {
|
2584
2630
|
# address_allocation_ids: ["AddressAllocationId"],
|
@@ -2593,6 +2639,7 @@ module Aws::Transfer
|
|
2593
2639
|
# url: "Url",
|
2594
2640
|
# invocation_role: "Role",
|
2595
2641
|
# directory_id: "DirectoryId",
|
2642
|
+
# function: "Function",
|
2596
2643
|
# },
|
2597
2644
|
# logging_role: "NullableRole",
|
2598
2645
|
# protocols: ["SFTP"], # accepts SFTP, FTP, FTPS
|
@@ -2789,7 +2836,7 @@ module Aws::Transfer
|
|
2789
2836
|
params: params,
|
2790
2837
|
config: config)
|
2791
2838
|
context[:gem_name] = 'aws-sdk-transfer'
|
2792
|
-
context[:gem_version] = '1.
|
2839
|
+
context[:gem_version] = '1.46.0'
|
2793
2840
|
Seahorse::Client::Request.new(handlers, context)
|
2794
2841
|
end
|
2795
2842
|
|
@@ -76,6 +76,7 @@ module Aws::Transfer
|
|
76
76
|
ExternalId = Shapes::StringShape.new(name: 'ExternalId')
|
77
77
|
FileLocation = Shapes::StructureShape.new(name: 'FileLocation')
|
78
78
|
Fips = Shapes::BooleanShape.new(name: 'Fips')
|
79
|
+
Function = Shapes::StringShape.new(name: 'Function')
|
79
80
|
HomeDirectory = Shapes::StringShape.new(name: 'HomeDirectory')
|
80
81
|
HomeDirectoryMapEntry = Shapes::StructureShape.new(name: 'HomeDirectoryMapEntry')
|
81
82
|
HomeDirectoryMappings = Shapes::ListShape.new(name: 'HomeDirectoryMappings')
|
@@ -185,6 +186,7 @@ module Aws::Transfer
|
|
185
186
|
TestIdentityProviderRequest = Shapes::StructureShape.new(name: 'TestIdentityProviderRequest')
|
186
187
|
TestIdentityProviderResponse = Shapes::StructureShape.new(name: 'TestIdentityProviderResponse')
|
187
188
|
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
189
|
+
TlsSessionResumptionMode = Shapes::StringShape.new(name: 'TlsSessionResumptionMode')
|
188
190
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
189
191
|
UpdateAccessRequest = Shapes::StructureShape.new(name: 'UpdateAccessRequest')
|
190
192
|
UpdateAccessResponse = Shapes::StructureShape.new(name: 'UpdateAccessResponse')
|
@@ -244,6 +246,7 @@ module Aws::Transfer
|
|
244
246
|
CreateServerRequest.add_member(:identity_provider_type, Shapes::ShapeRef.new(shape: IdentityProviderType, location_name: "IdentityProviderType"))
|
245
247
|
CreateServerRequest.add_member(:logging_role, Shapes::ShapeRef.new(shape: Role, location_name: "LoggingRole"))
|
246
248
|
CreateServerRequest.add_member(:protocols, Shapes::ShapeRef.new(shape: Protocols, location_name: "Protocols"))
|
249
|
+
CreateServerRequest.add_member(:protocol_details, Shapes::ShapeRef.new(shape: ProtocolDetails, location_name: "ProtocolDetails"))
|
247
250
|
CreateServerRequest.add_member(:security_policy_name, Shapes::ShapeRef.new(shape: SecurityPolicyName, location_name: "SecurityPolicyName"))
|
248
251
|
CreateServerRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
|
249
252
|
CreateServerRequest.add_member(:workflow_details, Shapes::ShapeRef.new(shape: WorkflowDetails, location_name: "WorkflowDetails"))
|
@@ -451,6 +454,7 @@ module Aws::Transfer
|
|
451
454
|
IdentityProviderDetails.add_member(:url, Shapes::ShapeRef.new(shape: Url, location_name: "Url"))
|
452
455
|
IdentityProviderDetails.add_member(:invocation_role, Shapes::ShapeRef.new(shape: Role, location_name: "InvocationRole"))
|
453
456
|
IdentityProviderDetails.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, location_name: "DirectoryId"))
|
457
|
+
IdentityProviderDetails.add_member(:function, Shapes::ShapeRef.new(shape: Function, location_name: "Function"))
|
454
458
|
IdentityProviderDetails.struct_class = Types::IdentityProviderDetails
|
455
459
|
|
456
460
|
ImportSshPublicKeyRequest.add_member(:server_id, Shapes::ShapeRef.new(shape: ServerId, required: true, location_name: "ServerId"))
|
@@ -597,6 +601,7 @@ module Aws::Transfer
|
|
597
601
|
PosixProfile.struct_class = Types::PosixProfile
|
598
602
|
|
599
603
|
ProtocolDetails.add_member(:passive_ip, Shapes::ShapeRef.new(shape: PassiveIp, location_name: "PassiveIp"))
|
604
|
+
ProtocolDetails.add_member(:tls_session_resumption_mode, Shapes::ShapeRef.new(shape: TlsSessionResumptionMode, location_name: "TlsSessionResumptionMode"))
|
600
605
|
ProtocolDetails.struct_class = Types::ProtocolDetails
|
601
606
|
|
602
607
|
Protocols.member = Shapes::ShapeRef.new(shape: Protocol)
|
@@ -285,10 +285,15 @@ module Aws::Transfer
|
|
285
285
|
# url: "Url",
|
286
286
|
# invocation_role: "Role",
|
287
287
|
# directory_id: "DirectoryId",
|
288
|
+
# function: "Function",
|
288
289
|
# },
|
289
|
-
# identity_provider_type: "SERVICE_MANAGED", # accepts SERVICE_MANAGED, API_GATEWAY, AWS_DIRECTORY_SERVICE
|
290
|
+
# identity_provider_type: "SERVICE_MANAGED", # accepts SERVICE_MANAGED, API_GATEWAY, AWS_DIRECTORY_SERVICE, AWS_LAMBDA
|
290
291
|
# logging_role: "Role",
|
291
292
|
# protocols: ["SFTP"], # accepts SFTP, FTP, FTPS
|
293
|
+
# protocol_details: {
|
294
|
+
# passive_ip: "PassiveIp",
|
295
|
+
# tls_session_resumption_mode: "DISABLED", # accepts DISABLED, ENABLED, ENFORCED
|
296
|
+
# },
|
292
297
|
# security_policy_name: "SecurityPolicyName",
|
293
298
|
# tags: [
|
294
299
|
# {
|
@@ -437,6 +442,11 @@ module Aws::Transfer
|
|
437
442
|
# of your choosing. The `API_GATEWAY` setting requires you to provide
|
438
443
|
# an API Gateway endpoint URL to call for authentication using the
|
439
444
|
# `IdentityProviderDetails` parameter.
|
445
|
+
#
|
446
|
+
# Use the `AWS_LAMBDA` value to directly use a Lambda function as your
|
447
|
+
# identity provider. If you choose this value, you must specify the
|
448
|
+
# ARN for the lambda function in the `Function` parameter for the
|
449
|
+
# `IdentityProviderDetails` data type.
|
440
450
|
# @return [String]
|
441
451
|
#
|
442
452
|
# @!attribute [rw] logging_role
|
@@ -478,6 +488,18 @@ module Aws::Transfer
|
|
478
488
|
# </note>
|
479
489
|
# @return [Array<String>]
|
480
490
|
#
|
491
|
+
# @!attribute [rw] protocol_details
|
492
|
+
# The protocol settings that are configured for your server.
|
493
|
+
#
|
494
|
+
# Use the `PassiveIp` parameter to indicate passive mode (for FTP and
|
495
|
+
# FTPS protocols). Enter a single dotted-quad IPv4 address, such as
|
496
|
+
# the external IP address of a firewall, router, or load balancer.
|
497
|
+
#
|
498
|
+
# Use the `TlsSessionResumptionMode` parameter to determine whether or
|
499
|
+
# not your Transfer server resumes recent, negotiated sessions through
|
500
|
+
# a unique session ID.
|
501
|
+
# @return [Types::ProtocolDetails]
|
502
|
+
#
|
481
503
|
# @!attribute [rw] security_policy_name
|
482
504
|
# Specifies the name of the security policy that is attached to the
|
483
505
|
# server.
|
@@ -504,6 +526,7 @@ module Aws::Transfer
|
|
504
526
|
:identity_provider_type,
|
505
527
|
:logging_role,
|
506
528
|
:protocols,
|
529
|
+
:protocol_details,
|
507
530
|
:security_policy_name,
|
508
531
|
:tags,
|
509
532
|
:workflow_details)
|
@@ -663,6 +686,11 @@ module Aws::Transfer
|
|
663
686
|
# @!attribute [rw] ssh_public_key_body
|
664
687
|
# The public portion of the Secure Shell (SSH) key used to
|
665
688
|
# authenticate the user to the server.
|
689
|
+
#
|
690
|
+
# <note markdown="1"> Currently, Transfer Family does not accept elliptical curve keys
|
691
|
+
# (keys beginning with `ecdsa`).
|
692
|
+
#
|
693
|
+
# </note>
|
666
694
|
# @return [String]
|
667
695
|
#
|
668
696
|
# @!attribute [rw] tags
|
@@ -1583,6 +1611,11 @@ module Aws::Transfer
|
|
1583
1611
|
# of your choosing. The `API_GATEWAY` setting requires you to provide
|
1584
1612
|
# an API Gateway endpoint URL to call for authentication using the
|
1585
1613
|
# `IdentityProviderDetails` parameter.
|
1614
|
+
#
|
1615
|
+
# Use the `AWS_LAMBDA` value to directly use a Lambda function as your
|
1616
|
+
# identity provider. If you choose this value, you must specify the
|
1617
|
+
# ARN for the lambda function in the `Function` parameter for the
|
1618
|
+
# `IdentityProviderDetails` data type.
|
1586
1619
|
# @return [String]
|
1587
1620
|
#
|
1588
1621
|
# @!attribute [rw] logging_role
|
@@ -2095,6 +2128,7 @@ module Aws::Transfer
|
|
2095
2128
|
# url: "Url",
|
2096
2129
|
# invocation_role: "Role",
|
2097
2130
|
# directory_id: "DirectoryId",
|
2131
|
+
# function: "Function",
|
2098
2132
|
# }
|
2099
2133
|
#
|
2100
2134
|
# @!attribute [rw] url
|
@@ -2108,8 +2142,12 @@ module Aws::Transfer
|
|
2108
2142
|
# @return [String]
|
2109
2143
|
#
|
2110
2144
|
# @!attribute [rw] directory_id
|
2111
|
-
# The identifier of the Amazon Web
|
2112
|
-
# that you want to stop sharing.
|
2145
|
+
# The identifier of the Amazon Web Services Directory Service
|
2146
|
+
# directory that you want to stop sharing.
|
2147
|
+
# @return [String]
|
2148
|
+
#
|
2149
|
+
# @!attribute [rw] function
|
2150
|
+
# The ARN for a lambda function to use for the Identity provider.
|
2113
2151
|
# @return [String]
|
2114
2152
|
#
|
2115
2153
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/IdentityProviderDetails AWS API Documentation
|
@@ -2117,7 +2155,8 @@ module Aws::Transfer
|
|
2117
2155
|
class IdentityProviderDetails < Struct.new(
|
2118
2156
|
:url,
|
2119
2157
|
:invocation_role,
|
2120
|
-
:directory_id
|
2158
|
+
:directory_id,
|
2159
|
+
:function)
|
2121
2160
|
SENSITIVE = []
|
2122
2161
|
include Aws::Structure
|
2123
2162
|
end
|
@@ -2798,6 +2837,11 @@ module Aws::Transfer
|
|
2798
2837
|
# of your choosing. The `API_GATEWAY` setting requires you to provide
|
2799
2838
|
# an API Gateway endpoint URL to call for authentication using the
|
2800
2839
|
# `IdentityProviderDetails` parameter.
|
2840
|
+
#
|
2841
|
+
# Use the `AWS_LAMBDA` value to directly use a Lambda function as your
|
2842
|
+
# identity provider. If you choose this value, you must specify the
|
2843
|
+
# ARN for the lambda function in the `Function` parameter for the
|
2844
|
+
# `IdentityProviderDetails` data type.
|
2801
2845
|
# @return [String]
|
2802
2846
|
#
|
2803
2847
|
# @!attribute [rw] endpoint_type
|
@@ -3009,15 +3053,12 @@ module Aws::Transfer
|
|
3009
3053
|
|
3010
3054
|
# The protocol settings that are configured for your server.
|
3011
3055
|
#
|
3012
|
-
# <note markdown="1"> This type is only valid in the `UpdateServer` API.
|
3013
|
-
#
|
3014
|
-
# </note>
|
3015
|
-
#
|
3016
3056
|
# @note When making an API call, you may pass ProtocolDetails
|
3017
3057
|
# data as a hash:
|
3018
3058
|
#
|
3019
3059
|
# {
|
3020
3060
|
# passive_ip: "PassiveIp",
|
3061
|
+
# tls_session_resumption_mode: "DISABLED", # accepts DISABLED, ENABLED, ENFORCED
|
3021
3062
|
# }
|
3022
3063
|
#
|
3023
3064
|
# @!attribute [rw] passive_ip
|
@@ -3043,10 +3084,44 @@ module Aws::Transfer
|
|
3043
3084
|
# [1]: http://aws.amazon.com/blogs/storage/configuring-your-ftps-server-behind-a-firewall-or-nat-with-aws-transfer-family/
|
3044
3085
|
# @return [String]
|
3045
3086
|
#
|
3087
|
+
# @!attribute [rw] tls_session_resumption_mode
|
3088
|
+
# A property used with Transfer servers that use the FTPS protocol.
|
3089
|
+
# TLS Session Resumption provides a mechanism to resume or share a
|
3090
|
+
# negotiated secret key between the control and data connection for an
|
3091
|
+
# FTPS session. `TlsSessionResumptionMode` determines whether or not
|
3092
|
+
# the server resumes recent, negotiated sessions through a unique
|
3093
|
+
# session ID. This property is available during `CreateServer` and
|
3094
|
+
# `UpdateServer` calls. If a `TlsSessionResumptionMode` value is not
|
3095
|
+
# specified during CreateServer, it is set to `ENFORCED` by default.
|
3096
|
+
#
|
3097
|
+
# * `DISABLED`\: the server does not process TLS session resumption
|
3098
|
+
# client requests and creates a new TLS session for each request.
|
3099
|
+
#
|
3100
|
+
# * `ENABLED`\: the server processes and accepts clients that are
|
3101
|
+
# performing TLS session resumption. The server doesn't reject
|
3102
|
+
# client data connections that do not perform the TLS session
|
3103
|
+
# resumption client processing.
|
3104
|
+
#
|
3105
|
+
# * `ENFORCED`\: the server processes and accepts clients that are
|
3106
|
+
# performing TLS session resumption. The server rejects client data
|
3107
|
+
# connections that do not perform the TLS session resumption client
|
3108
|
+
# processing. Before you set the value to `ENFORCED`, test your
|
3109
|
+
# clients.
|
3110
|
+
#
|
3111
|
+
# <note markdown="1"> Not all FTPS clients perform TLS session resumption. So, if you
|
3112
|
+
# choose to enforce TLS session resumption, you prevent any
|
3113
|
+
# connections from FTPS clients that don't perform the protocol
|
3114
|
+
# negotiation. To determine whether or not you can use the
|
3115
|
+
# `ENFORCED` value, you need to test your clients.
|
3116
|
+
#
|
3117
|
+
# </note>
|
3118
|
+
# @return [String]
|
3119
|
+
#
|
3046
3120
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ProtocolDetails AWS API Documentation
|
3047
3121
|
#
|
3048
3122
|
class ProtocolDetails < Struct.new(
|
3049
|
-
:passive_ip
|
3123
|
+
:passive_ip,
|
3124
|
+
:tls_session_resumption_mode)
|
3050
3125
|
SENSITIVE = []
|
3051
3126
|
include Aws::Structure
|
3052
3127
|
end
|
@@ -3754,6 +3829,7 @@ module Aws::Transfer
|
|
3754
3829
|
# certificate: "Certificate",
|
3755
3830
|
# protocol_details: {
|
3756
3831
|
# passive_ip: "PassiveIp",
|
3832
|
+
# tls_session_resumption_mode: "DISABLED", # accepts DISABLED, ENABLED, ENFORCED
|
3757
3833
|
# },
|
3758
3834
|
# endpoint_details: {
|
3759
3835
|
# address_allocation_ids: ["AddressAllocationId"],
|
@@ -3768,6 +3844,7 @@ module Aws::Transfer
|
|
3768
3844
|
# url: "Url",
|
3769
3845
|
# invocation_role: "Role",
|
3770
3846
|
# directory_id: "DirectoryId",
|
3847
|
+
# function: "Function",
|
3771
3848
|
# },
|
3772
3849
|
# logging_role: "NullableRole",
|
3773
3850
|
# protocols: ["SFTP"], # accepts SFTP, FTP, FTPS
|
@@ -3831,6 +3908,10 @@ module Aws::Transfer
|
|
3831
3908
|
# Use the `PassiveIp` parameter to indicate passive mode (for FTP and
|
3832
3909
|
# FTPS protocols). Enter a single dotted-quad IPv4 address, such as
|
3833
3910
|
# the external IP address of a firewall, router, or load balancer.
|
3911
|
+
#
|
3912
|
+
# Use the `TlsSessionResumptionMode` parameter to determine whether or
|
3913
|
+
# not your Transfer server resumes recent, negotiated sessions through
|
3914
|
+
# a unique session ID.
|
3834
3915
|
# @return [Types::ProtocolDetails]
|
3835
3916
|
#
|
3836
3917
|
# @!attribute [rw] endpoint_details
|
data/lib/aws-sdk-transfer.rb
CHANGED
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.46.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: 2022-02-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.126.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.126.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|