aws-sdk-transfer 1.51.0 → 1.54.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-transfer/client.rb +56 -16
- data/lib/aws-sdk-transfer/types.rb +70 -24
- data/lib/aws-sdk-transfer.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 65c22200ccc095cf2afc03c93c5381a621da9ae132ebf660e29725359151815e
|
4
|
+
data.tar.gz: 0e393876399f2472754a661d0235b48c53eaee4db832faabb26210a99dd14983
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 885c30e162f5be6b9f0a75cd78bc2071e07c13e31f23e21861188e7016920ca3b22724b015a9bd812498d871903f4424a084752951150ede299d4608163397ef
|
7
|
+
data.tar.gz: 908228841afdb842d56e00c206ac1d9f37b6af85c13b2170f7f8926f2d32dbe122187a2b51be587ed97a37ce1e8c1093d1f657c5ed84f68364bf9af5c694a521
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,21 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.54.0 (2022-05-12)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - AWS Transfer Family now accepts ECDSA keys for server host keys
|
8
|
+
|
9
|
+
1.53.0 (2022-04-19)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release contains corrected HomeDirectoryMappings examples for several API functions: CreateAccess, UpdateAccess, CreateUser, and UpdateUser,.
|
13
|
+
|
14
|
+
1.52.0 (2022-03-23)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Documentation updates for AWS Transfer Family to describe how to remove an associated workflow from a server.
|
18
|
+
|
4
19
|
1.51.0 (2022-03-10)
|
5
20
|
------------------
|
6
21
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.54.0
|
@@ -406,7 +406,7 @@ module Aws::Transfer
|
|
406
406
|
#
|
407
407
|
# The following is an `Entry` and `Target` pair example for `chroot`.
|
408
408
|
#
|
409
|
-
# `[ \{ "Entry
|
409
|
+
# `[ \{ "Entry": "/", "Target": "/bucket_name/home/mydirectory" \} ]`
|
410
410
|
#
|
411
411
|
# @option params [String] :policy
|
412
412
|
# A session policy for your user so that you can use the same IAM role
|
@@ -608,8 +608,25 @@ module Aws::Transfer
|
|
608
608
|
# </note>
|
609
609
|
#
|
610
610
|
# @option params [String] :host_key
|
611
|
-
# The RSA private key
|
612
|
-
#
|
611
|
+
# The RSA or ECDSA private key to use for your server.
|
612
|
+
#
|
613
|
+
# Use the following command to generate an RSA 2048 bit key with no
|
614
|
+
# passphrase:
|
615
|
+
#
|
616
|
+
# `ssh-keygen -t rsa -b 2048 -N "" -m PEM -f my-new-server-key`.
|
617
|
+
#
|
618
|
+
# Use a minimum value of 2048 for the `-b` option: you can create a
|
619
|
+
# stronger key using 3072 or 4096.
|
620
|
+
#
|
621
|
+
# Use the following command to generate an ECDSA 256 bit key with no
|
622
|
+
# passphrase:
|
623
|
+
#
|
624
|
+
# `ssh-keygen -t ecdsa -b 256 -N "" -m PEM -f my-new-server-key`.
|
625
|
+
#
|
626
|
+
# Valid values for the `-b` option for ECDSA are 256, 384, and 521.
|
627
|
+
#
|
628
|
+
# For both of these commands, you can replace *my-new-server-key* with a
|
629
|
+
# string of your choice.
|
613
630
|
#
|
614
631
|
# If you aren't planning to migrate existing users from an existing
|
615
632
|
# SFTP-enabled server to a new server, don't update the host key.
|
@@ -836,7 +853,7 @@ module Aws::Transfer
|
|
836
853
|
#
|
837
854
|
# The following is an `Entry` and `Target` pair example for `chroot`.
|
838
855
|
#
|
839
|
-
# `[ \{ "Entry
|
856
|
+
# `[ \{ "Entry": "/", "Target": "/bucket_name/home/mydirectory" \} ]`
|
840
857
|
#
|
841
858
|
# @option params [String] :policy
|
842
859
|
# A session policy for your user so that you can use the same IAM role
|
@@ -970,13 +987,13 @@ module Aws::Transfer
|
|
970
987
|
# The `TYPE` specifies which of the following actions is being taken for
|
971
988
|
# this step.
|
972
989
|
#
|
973
|
-
# * *
|
990
|
+
# * *COPY*\: copy the file to another location
|
974
991
|
#
|
975
|
-
# * *
|
992
|
+
# * *CUSTOM*\: custom step with a lambda target
|
976
993
|
#
|
977
|
-
# * *
|
994
|
+
# * *DELETE*\: delete the file
|
978
995
|
#
|
979
|
-
# * *
|
996
|
+
# * *TAG*\: add a tag to the file
|
980
997
|
#
|
981
998
|
# <note markdown="1"> Currently, copying and tagging are supported only on S3.
|
982
999
|
#
|
@@ -2359,7 +2376,7 @@ module Aws::Transfer
|
|
2359
2376
|
#
|
2360
2377
|
# The following is an `Entry` and `Target` pair example for `chroot`.
|
2361
2378
|
#
|
2362
|
-
# `[ \{ "Entry
|
2379
|
+
# `[ \{ "Entry": "/", "Target": "/bucket_name/home/mydirectory" \} ]`
|
2363
2380
|
#
|
2364
2381
|
# @option params [String] :policy
|
2365
2382
|
# A session policy for your user so that you can use the same IAM role
|
@@ -2562,15 +2579,32 @@ module Aws::Transfer
|
|
2562
2579
|
# </note>
|
2563
2580
|
#
|
2564
2581
|
# @option params [String] :host_key
|
2565
|
-
# The RSA private key
|
2566
|
-
#
|
2582
|
+
# The RSA or ECDSA private key to use for your server.
|
2583
|
+
#
|
2584
|
+
# Use the following command to generate an RSA 2048 bit key with no
|
2585
|
+
# passphrase:
|
2586
|
+
#
|
2587
|
+
# `ssh-keygen -t rsa -b 2048 -N "" -m PEM -f my-new-server-key`.
|
2588
|
+
#
|
2589
|
+
# Use a minimum value of 2048 for the `-b` option: you can create a
|
2590
|
+
# stronger key using 3072 or 4096.
|
2591
|
+
#
|
2592
|
+
# Use the following command to generate an ECDSA 256 bit key with no
|
2593
|
+
# passphrase:
|
2594
|
+
#
|
2595
|
+
# `ssh-keygen -t ecdsa -b 256 -N "" -m PEM -f my-new-server-key`.
|
2596
|
+
#
|
2597
|
+
# Valid values for the `-b` option for ECDSA are 256, 384, and 521.
|
2598
|
+
#
|
2599
|
+
# For both of these commands, you can replace *my-new-server-key* with a
|
2600
|
+
# string of your choice.
|
2567
2601
|
#
|
2568
2602
|
# If you aren't planning to migrate existing users from an existing
|
2569
|
-
# server to a new server, don't update the host key.
|
2570
|
-
# changing a server's host key can be disruptive.
|
2603
|
+
# SFTP-enabled server to a new server, don't update the host key.
|
2604
|
+
# Accidentally changing a server's host key can be disruptive.
|
2571
2605
|
#
|
2572
2606
|
# For more information, see [Change the host key for your SFTP-enabled
|
2573
|
-
# server][1] in the *Amazon Web
|
2607
|
+
# server][1] in the *Amazon Web Services Transfer Family User Guide*.
|
2574
2608
|
#
|
2575
2609
|
#
|
2576
2610
|
#
|
@@ -2647,6 +2681,12 @@ module Aws::Transfer
|
|
2647
2681
|
# Specifies the workflow ID for the workflow to assign and the execution
|
2648
2682
|
# role used for executing the workflow.
|
2649
2683
|
#
|
2684
|
+
# To remove an associated workflow from a server, you can provide an
|
2685
|
+
# empty `OnUpload` object, as in the following example.
|
2686
|
+
#
|
2687
|
+
# `aws transfer update-server --server-id s-01234567890abcdef
|
2688
|
+
# --workflow-details '\{"OnUpload":[]\}'`
|
2689
|
+
#
|
2650
2690
|
# @return [Types::UpdateServerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2651
2691
|
#
|
2652
2692
|
# * {Types::UpdateServerResponse#server_id #server_id} => String
|
@@ -2747,7 +2787,7 @@ module Aws::Transfer
|
|
2747
2787
|
#
|
2748
2788
|
# The following is an `Entry` and `Target` pair example for `chroot`.
|
2749
2789
|
#
|
2750
|
-
# `[ \{ "Entry
|
2790
|
+
# `[ \{ "Entry": "/", "Target": "/bucket_name/home/mydirectory" \} ]`
|
2751
2791
|
#
|
2752
2792
|
# @option params [String] :policy
|
2753
2793
|
# A session policy for your user so that you can use the same IAM role
|
@@ -2860,7 +2900,7 @@ module Aws::Transfer
|
|
2860
2900
|
params: params,
|
2861
2901
|
config: config)
|
2862
2902
|
context[:gem_name] = 'aws-sdk-transfer'
|
2863
|
-
context[:gem_version] = '1.
|
2903
|
+
context[:gem_version] = '1.54.0'
|
2864
2904
|
Seahorse::Client::Request.new(handlers, context)
|
2865
2905
|
end
|
2866
2906
|
|
@@ -161,7 +161,7 @@ module Aws::Transfer
|
|
161
161
|
#
|
162
162
|
# The following is an `Entry` and `Target` pair example for `chroot`.
|
163
163
|
#
|
164
|
-
# `[ \{ "Entry
|
164
|
+
# `[ \{ "Entry": "/", "Target": "/bucket_name/home/mydirectory" \} ]`
|
165
165
|
# @return [Array<Types::HomeDirectoryMapEntry>]
|
166
166
|
#
|
167
167
|
# @!attribute [rw] policy
|
@@ -409,8 +409,25 @@ module Aws::Transfer
|
|
409
409
|
# @return [String]
|
410
410
|
#
|
411
411
|
# @!attribute [rw] host_key
|
412
|
-
# The RSA private key
|
413
|
-
#
|
412
|
+
# The RSA or ECDSA private key to use for your server.
|
413
|
+
#
|
414
|
+
# Use the following command to generate an RSA 2048 bit key with no
|
415
|
+
# passphrase:
|
416
|
+
#
|
417
|
+
# `ssh-keygen -t rsa -b 2048 -N "" -m PEM -f my-new-server-key`.
|
418
|
+
#
|
419
|
+
# Use a minimum value of 2048 for the `-b` option: you can create a
|
420
|
+
# stronger key using 3072 or 4096.
|
421
|
+
#
|
422
|
+
# Use the following command to generate an ECDSA 256 bit key with no
|
423
|
+
# passphrase:
|
424
|
+
#
|
425
|
+
# `ssh-keygen -t ecdsa -b 256 -N "" -m PEM -f my-new-server-key`.
|
426
|
+
#
|
427
|
+
# Valid values for the `-b` option for ECDSA are 256, 384, and 521.
|
428
|
+
#
|
429
|
+
# For both of these commands, you can replace *my-new-server-key* with
|
430
|
+
# a string of your choice.
|
414
431
|
#
|
415
432
|
# If you aren't planning to migrate existing users from an existing
|
416
433
|
# SFTP-enabled server to a new server, don't update the host key.
|
@@ -646,7 +663,7 @@ module Aws::Transfer
|
|
646
663
|
#
|
647
664
|
# The following is an `Entry` and `Target` pair example for `chroot`.
|
648
665
|
#
|
649
|
-
# `[ \{ "Entry
|
666
|
+
# `[ \{ "Entry": "/", "Target": "/bucket_name/home/mydirectory" \} ]`
|
650
667
|
# @return [Array<Types::HomeDirectoryMapEntry>]
|
651
668
|
#
|
652
669
|
# @!attribute [rw] policy
|
@@ -864,13 +881,13 @@ module Aws::Transfer
|
|
864
881
|
# The `TYPE` specifies which of the following actions is being taken
|
865
882
|
# for this step.
|
866
883
|
#
|
867
|
-
# * *
|
884
|
+
# * *COPY*\: copy the file to another location
|
868
885
|
#
|
869
|
-
# * *
|
886
|
+
# * *CUSTOM*\: custom step with a lambda target
|
870
887
|
#
|
871
|
-
# * *
|
888
|
+
# * *DELETE*\: delete the file
|
872
889
|
#
|
873
|
-
# * *
|
890
|
+
# * *TAG*\: add a tag to the file
|
874
891
|
#
|
875
892
|
# <note markdown="1"> Currently, copying and tagging are supported only on S3.
|
876
893
|
#
|
@@ -2133,13 +2150,13 @@ module Aws::Transfer
|
|
2133
2150
|
# @!attribute [rw] step_type
|
2134
2151
|
# One of the available step types.
|
2135
2152
|
#
|
2136
|
-
# * *
|
2153
|
+
# * *COPY*\: copy the file to another location
|
2137
2154
|
#
|
2138
|
-
# * *
|
2155
|
+
# * *CUSTOM*\: custom step with a lambda target
|
2139
2156
|
#
|
2140
|
-
# * *
|
2157
|
+
# * *DELETE*\: delete the file
|
2141
2158
|
#
|
2142
|
-
# * *
|
2159
|
+
# * *TAG*\: add a tag to the file
|
2143
2160
|
# @return [String]
|
2144
2161
|
#
|
2145
2162
|
# @!attribute [rw] outputs
|
@@ -2187,7 +2204,7 @@ module Aws::Transfer
|
|
2187
2204
|
#
|
2188
2205
|
# The following is an `Entry` and `Target` pair example for `chroot`.
|
2189
2206
|
#
|
2190
|
-
# `[ \{ "Entry
|
2207
|
+
# `[ \{ "Entry": "/", "Target": "/bucket_name/home/mydirectory" \} ]`
|
2191
2208
|
#
|
2192
2209
|
# @note When making an API call, you may pass HomeDirectoryMapEntry
|
2193
2210
|
# data as a hash:
|
@@ -3818,7 +3835,7 @@ module Aws::Transfer
|
|
3818
3835
|
#
|
3819
3836
|
# The following is an `Entry` and `Target` pair example for `chroot`.
|
3820
3837
|
#
|
3821
|
-
# `[ \{ "Entry
|
3838
|
+
# `[ \{ "Entry": "/", "Target": "/bucket_name/home/mydirectory" \} ]`
|
3822
3839
|
# @return [Array<Types::HomeDirectoryMapEntry>]
|
3823
3840
|
#
|
3824
3841
|
# @!attribute [rw] policy
|
@@ -4060,15 +4077,32 @@ module Aws::Transfer
|
|
4060
4077
|
# @return [String]
|
4061
4078
|
#
|
4062
4079
|
# @!attribute [rw] host_key
|
4063
|
-
# The RSA private key
|
4064
|
-
#
|
4080
|
+
# The RSA or ECDSA private key to use for your server.
|
4081
|
+
#
|
4082
|
+
# Use the following command to generate an RSA 2048 bit key with no
|
4083
|
+
# passphrase:
|
4084
|
+
#
|
4085
|
+
# `ssh-keygen -t rsa -b 2048 -N "" -m PEM -f my-new-server-key`.
|
4086
|
+
#
|
4087
|
+
# Use a minimum value of 2048 for the `-b` option: you can create a
|
4088
|
+
# stronger key using 3072 or 4096.
|
4089
|
+
#
|
4090
|
+
# Use the following command to generate an ECDSA 256 bit key with no
|
4091
|
+
# passphrase:
|
4092
|
+
#
|
4093
|
+
# `ssh-keygen -t ecdsa -b 256 -N "" -m PEM -f my-new-server-key`.
|
4094
|
+
#
|
4095
|
+
# Valid values for the `-b` option for ECDSA are 256, 384, and 521.
|
4096
|
+
#
|
4097
|
+
# For both of these commands, you can replace *my-new-server-key* with
|
4098
|
+
# a string of your choice.
|
4065
4099
|
#
|
4066
4100
|
# If you aren't planning to migrate existing users from an existing
|
4067
|
-
# server to a new server, don't update the host key.
|
4068
|
-
# changing a server's host key can be disruptive.
|
4101
|
+
# SFTP-enabled server to a new server, don't update the host key.
|
4102
|
+
# Accidentally changing a server's host key can be disruptive.
|
4069
4103
|
#
|
4070
4104
|
# For more information, see [Change the host key for your SFTP-enabled
|
4071
|
-
# server][1] in the *Amazon Web
|
4105
|
+
# server][1] in the *Amazon Web Services Transfer Family User Guide*.
|
4072
4106
|
#
|
4073
4107
|
#
|
4074
4108
|
#
|
@@ -4153,6 +4187,12 @@ module Aws::Transfer
|
|
4153
4187
|
# @!attribute [rw] workflow_details
|
4154
4188
|
# Specifies the workflow ID for the workflow to assign and the
|
4155
4189
|
# execution role used for executing the workflow.
|
4190
|
+
#
|
4191
|
+
# To remove an associated workflow from a server, you can provide an
|
4192
|
+
# empty `OnUpload` object, as in the following example.
|
4193
|
+
#
|
4194
|
+
# `aws transfer update-server --server-id s-01234567890abcdef
|
4195
|
+
# --workflow-details '\{"OnUpload":[]\}'`
|
4156
4196
|
# @return [Types::WorkflowDetails]
|
4157
4197
|
#
|
4158
4198
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/UpdateServerRequest AWS API Documentation
|
@@ -4251,7 +4291,7 @@ module Aws::Transfer
|
|
4251
4291
|
#
|
4252
4292
|
# The following is an `Entry` and `Target` pair example for `chroot`.
|
4253
4293
|
#
|
4254
|
-
# `[ \{ "Entry
|
4294
|
+
# `[ \{ "Entry": "/", "Target": "/bucket_name/home/mydirectory" \} ]`
|
4255
4295
|
# @return [Array<Types::HomeDirectoryMapEntry>]
|
4256
4296
|
#
|
4257
4297
|
# @!attribute [rw] policy
|
@@ -4430,6 +4470,12 @@ module Aws::Transfer
|
|
4430
4470
|
# @!attribute [rw] on_upload
|
4431
4471
|
# A trigger that starts a workflow: the workflow begins to execute
|
4432
4472
|
# after a file is uploaded.
|
4473
|
+
#
|
4474
|
+
# To remove an associated workflow from a server, you can provide an
|
4475
|
+
# empty `OnUpload` object, as in the following example.
|
4476
|
+
#
|
4477
|
+
# `aws transfer update-server --server-id s-01234567890abcdef
|
4478
|
+
# --workflow-details '\{"OnUpload":[]\}'`
|
4433
4479
|
# @return [Array<Types::WorkflowDetail>]
|
4434
4480
|
#
|
4435
4481
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/WorkflowDetails AWS API Documentation
|
@@ -4487,13 +4533,13 @@ module Aws::Transfer
|
|
4487
4533
|
# @!attribute [rw] type
|
4488
4534
|
# Currently, the following step types are supported.
|
4489
4535
|
#
|
4490
|
-
# * *
|
4536
|
+
# * *COPY*\: copy the file to another location
|
4491
4537
|
#
|
4492
|
-
# * *
|
4538
|
+
# * *CUSTOM*\: custom step with a lambda target
|
4493
4539
|
#
|
4494
|
-
# * *
|
4540
|
+
# * *DELETE*\: delete the file
|
4495
4541
|
#
|
4496
|
-
# * *
|
4542
|
+
# * *TAG*\: add a tag to the file
|
4497
4543
|
# @return [String]
|
4498
4544
|
#
|
4499
4545
|
# @!attribute [rw] copy_step_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.54.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-05-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|