aws-sdk-transfer 1.50.0 → 1.53.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4e4409d8646c52571f98d0f73d469176b53d7a405abb734576d1246d449c4852
4
- data.tar.gz: 79ab9afb3e5e42cd699384918c77c6e93f04d65e509c9482cf3364d9b7a26919
3
+ metadata.gz: a742e40b5f989c9031a96e4f5ff6dcd658b2c66d2a980c46e900563062c5b151
4
+ data.tar.gz: 32eb6766312c2fe5fdc87a957476eaff17631cca76e5210ba9a0abec50050533
5
5
  SHA512:
6
- metadata.gz: 407fc4c5de4a8347616dde8a71db841ccd4193a6e7b38cc42e2b8df41df3350d7fe1eb03d6d996a3d9589f1e2cd215165c9e8078160fc8ae610ed19e9ace6bd1
7
- data.tar.gz: ffc9a729b8a42a08d0e4d74b5e3b47c96a1c008bfcb5188b31df56ce5a3bd7608409432f116bd6c59e0a7ce8438d2035ee28a26fa2114c6158c15cdeadfb9282
6
+ metadata.gz: e80e403afecc2e0ec51577efd15bd0c6725775b5595e831c9051a57f55f882edd95fc2b03a9592c827362cf0d54793a4d7b11bfb05c8f5141f6c83dc828cdb1b
7
+ data.tar.gz: f1f2dc3daf9f057cde6588295144da746d7724ee59e314e3fe1345a662f72944d310763c4a1e484f10ad0d52e627955afd87edb06a98a609b5be160bc1eab80e
data/CHANGELOG.md CHANGED
@@ -1,6 +1,21 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.53.0 (2022-04-19)
5
+ ------------------
6
+
7
+ * Feature - This release contains corrected HomeDirectoryMappings examples for several API functions: CreateAccess, UpdateAccess, CreateUser, and UpdateUser,.
8
+
9
+ 1.52.0 (2022-03-23)
10
+ ------------------
11
+
12
+ * Feature - Documentation updates for AWS Transfer Family to describe how to remove an associated workflow from a server.
13
+
14
+ 1.51.0 (2022-03-10)
15
+ ------------------
16
+
17
+ * Feature - Adding more descriptive error types for managed workflows
18
+
4
19
  1.50.0 (2022-03-04)
5
20
  ------------------
6
21
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.50.0
1
+ 1.53.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:": "/", "Target": "/bucket_name/home/mydirectory" \} ]`
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
@@ -657,8 +657,23 @@ module Aws::Transfer
657
657
  # set, user activity can be viewed in your CloudWatch logs.
658
658
  #
659
659
  # @option params [String] :post_authentication_login_banner
660
+ # Specify a string to display when users connect to a server. This
661
+ # string is displayed after the user authenticates.
662
+ #
663
+ # <note markdown="1"> The SFTP protocol does not support post-authentication display
664
+ # banners.
665
+ #
666
+ # </note>
660
667
  #
661
668
  # @option params [String] :pre_authentication_login_banner
669
+ # Specify a string to display when users connect to a server. This
670
+ # string is displayed before the user authenticates. For example, the
671
+ # following banner displays details about using the system.
672
+ #
673
+ # `This system is for the use of authorized users only. Individuals
674
+ # using this computer system without authority, or in excess of their
675
+ # authority, are subject to having all of their activities on this
676
+ # system monitored and recorded by system personnel.`
662
677
  #
663
678
  # @option params [Array<String>] :protocols
664
679
  # Specifies the file transfer protocol or protocols over which your file
@@ -821,7 +836,7 @@ module Aws::Transfer
821
836
  #
822
837
  # The following is an `Entry` and `Target` pair example for `chroot`.
823
838
  #
824
- # `[ \{ "Entry:": "/", "Target": "/bucket_name/home/mydirectory" \} ]`
839
+ # `[ \{ "Entry": "/", "Target": "/bucket_name/home/mydirectory" \} ]`
825
840
  #
826
841
  # @option params [String] :policy
827
842
  # A session policy for your user so that you can use the same IAM role
@@ -955,13 +970,13 @@ module Aws::Transfer
955
970
  # The `TYPE` specifies which of the following actions is being taken for
956
971
  # this step.
957
972
  #
958
- # * *Copy*\: copy the file to another location
973
+ # * *COPY*\: copy the file to another location
959
974
  #
960
- # * *Custom*\: custom step with a lambda target
975
+ # * *CUSTOM*\: custom step with a lambda target
961
976
  #
962
- # * *Delete*\: delete the file
977
+ # * *DELETE*\: delete the file
963
978
  #
964
- # * *Tag*\: add a tag to the file
979
+ # * *TAG*\: add a tag to the file
965
980
  #
966
981
  # <note markdown="1"> Currently, copying and tagging are supported only on S3.
967
982
  #
@@ -1363,12 +1378,12 @@ module Aws::Transfer
1363
1378
  # resp.execution.results.steps #=> Array
1364
1379
  # resp.execution.results.steps[0].step_type #=> String, one of "COPY", "CUSTOM", "TAG", "DELETE"
1365
1380
  # resp.execution.results.steps[0].outputs #=> String
1366
- # resp.execution.results.steps[0].error.type #=> String, one of "PERMISSION_DENIED"
1381
+ # resp.execution.results.steps[0].error.type #=> String, one of "PERMISSION_DENIED", "CUSTOM_STEP_FAILED", "THROTTLED", "ALREADY_EXISTS", "NOT_FOUND", "BAD_REQUEST", "TIMEOUT", "INTERNAL_SERVER_ERROR"
1367
1382
  # resp.execution.results.steps[0].error.message #=> String
1368
1383
  # resp.execution.results.on_exception_steps #=> Array
1369
1384
  # resp.execution.results.on_exception_steps[0].step_type #=> String, one of "COPY", "CUSTOM", "TAG", "DELETE"
1370
1385
  # resp.execution.results.on_exception_steps[0].outputs #=> String
1371
- # resp.execution.results.on_exception_steps[0].error.type #=> String, one of "PERMISSION_DENIED"
1386
+ # resp.execution.results.on_exception_steps[0].error.type #=> String, one of "PERMISSION_DENIED", "CUSTOM_STEP_FAILED", "THROTTLED", "ALREADY_EXISTS", "NOT_FOUND", "BAD_REQUEST", "TIMEOUT", "INTERNAL_SERVER_ERROR"
1372
1387
  # resp.execution.results.on_exception_steps[0].error.message #=> String
1373
1388
  #
1374
1389
  # @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DescribeExecution AWS API Documentation
@@ -2344,7 +2359,7 @@ module Aws::Transfer
2344
2359
  #
2345
2360
  # The following is an `Entry` and `Target` pair example for `chroot`.
2346
2361
  #
2347
- # `[ \{ "Entry:": "/", "Target": "/bucket_name/home/mydirectory" \} ]`
2362
+ # `[ \{ "Entry": "/", "Target": "/bucket_name/home/mydirectory" \} ]`
2348
2363
  #
2349
2364
  # @option params [String] :policy
2350
2365
  # A session policy for your user so that you can use the same IAM role
@@ -2572,8 +2587,23 @@ module Aws::Transfer
2572
2587
  # set, user activity can be viewed in your CloudWatch logs.
2573
2588
  #
2574
2589
  # @option params [String] :post_authentication_login_banner
2590
+ # Specify a string to display when users connect to a server. This
2591
+ # string is displayed after the user authenticates.
2592
+ #
2593
+ # <note markdown="1"> The SFTP protocol does not support post-authentication display
2594
+ # banners.
2595
+ #
2596
+ # </note>
2575
2597
  #
2576
2598
  # @option params [String] :pre_authentication_login_banner
2599
+ # Specify a string to display when users connect to a server. This
2600
+ # string is displayed before the user authenticates. For example, the
2601
+ # following banner displays details about using the system.
2602
+ #
2603
+ # `This system is for the use of authorized users only. Individuals
2604
+ # using this computer system without authority, or in excess of their
2605
+ # authority, are subject to having all of their activities on this
2606
+ # system monitored and recorded by system personnel.`
2577
2607
  #
2578
2608
  # @option params [Array<String>] :protocols
2579
2609
  # Specifies the file transfer protocol or protocols over which your file
@@ -2617,6 +2647,12 @@ module Aws::Transfer
2617
2647
  # Specifies the workflow ID for the workflow to assign and the execution
2618
2648
  # role used for executing the workflow.
2619
2649
  #
2650
+ # To remove an associated workflow from a server, you can provide an
2651
+ # empty `OnUpload` object, as in the following example.
2652
+ #
2653
+ # `aws transfer update-server --server-id s-01234567890abcdef
2654
+ # --workflow-details '\{"OnUpload":[]\}'`
2655
+ #
2620
2656
  # @return [Types::UpdateServerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2621
2657
  #
2622
2658
  # * {Types::UpdateServerResponse#server_id #server_id} => String
@@ -2717,7 +2753,7 @@ module Aws::Transfer
2717
2753
  #
2718
2754
  # The following is an `Entry` and `Target` pair example for `chroot`.
2719
2755
  #
2720
- # `[ \{ "Entry:": "/", "Target": "/bucket_name/home/mydirectory" \} ]`
2756
+ # `[ \{ "Entry": "/", "Target": "/bucket_name/home/mydirectory" \} ]`
2721
2757
  #
2722
2758
  # @option params [String] :policy
2723
2759
  # A session policy for your user so that you can use the same IAM role
@@ -2830,7 +2866,7 @@ module Aws::Transfer
2830
2866
  params: params,
2831
2867
  config: config)
2832
2868
  context[:gem_name] = 'aws-sdk-transfer'
2833
- context[:gem_version] = '1.50.0'
2869
+ context[:gem_version] = '1.53.0'
2834
2870
  Seahorse::Client::Request.new(handlers, context)
2835
2871
  end
2836
2872
 
@@ -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:": "/", "Target": "/bucket_name/home/mydirectory" \} ]`
164
+ # `[ \{ "Entry": "/", "Target": "/bucket_name/home/mydirectory" \} ]`
165
165
  # @return [Array<Types::HomeDirectoryMapEntry>]
166
166
  #
167
167
  # @!attribute [rw] policy
@@ -465,9 +465,24 @@ module Aws::Transfer
465
465
  # @return [String]
466
466
  #
467
467
  # @!attribute [rw] post_authentication_login_banner
468
+ # Specify a string to display when users connect to a server. This
469
+ # string is displayed after the user authenticates.
470
+ #
471
+ # <note markdown="1"> The SFTP protocol does not support post-authentication display
472
+ # banners.
473
+ #
474
+ # </note>
468
475
  # @return [String]
469
476
  #
470
477
  # @!attribute [rw] pre_authentication_login_banner
478
+ # Specify a string to display when users connect to a server. This
479
+ # string is displayed before the user authenticates. For example, the
480
+ # following banner displays details about using the system.
481
+ #
482
+ # `This system is for the use of authorized users only. Individuals
483
+ # using this computer system without authority, or in excess of their
484
+ # authority, are subject to having all of their activities on this
485
+ # system monitored and recorded by system personnel.`
471
486
  # @return [String]
472
487
  #
473
488
  # @!attribute [rw] protocols
@@ -631,7 +646,7 @@ module Aws::Transfer
631
646
  #
632
647
  # The following is an `Entry` and `Target` pair example for `chroot`.
633
648
  #
634
- # `[ \{ "Entry:": "/", "Target": "/bucket_name/home/mydirectory" \} ]`
649
+ # `[ \{ "Entry": "/", "Target": "/bucket_name/home/mydirectory" \} ]`
635
650
  # @return [Array<Types::HomeDirectoryMapEntry>]
636
651
  #
637
652
  # @!attribute [rw] policy
@@ -849,13 +864,13 @@ module Aws::Transfer
849
864
  # The `TYPE` specifies which of the following actions is being taken
850
865
  # for this step.
851
866
  #
852
- # * *Copy*\: copy the file to another location
867
+ # * *COPY*\: copy the file to another location
853
868
  #
854
- # * *Custom*\: custom step with a lambda target
869
+ # * *CUSTOM*\: custom step with a lambda target
855
870
  #
856
- # * *Delete*\: delete the file
871
+ # * *DELETE*\: delete the file
857
872
  #
858
- # * *Tag*\: add a tag to the file
873
+ # * *TAG*\: add a tag to the file
859
874
  #
860
875
  # <note markdown="1"> Currently, copying and tagging are supported only on S3.
861
876
  #
@@ -1669,9 +1684,24 @@ module Aws::Transfer
1669
1684
  # @return [String]
1670
1685
  #
1671
1686
  # @!attribute [rw] post_authentication_login_banner
1687
+ # Specify a string to display when users connect to a server. This
1688
+ # string is displayed after the user authenticates.
1689
+ #
1690
+ # <note markdown="1"> The SFTP protocol does not support post-authentication display
1691
+ # banners.
1692
+ #
1693
+ # </note>
1672
1694
  # @return [String]
1673
1695
  #
1674
1696
  # @!attribute [rw] pre_authentication_login_banner
1697
+ # Specify a string to display when users connect to a server. This
1698
+ # string is displayed before the user authenticates. For example, the
1699
+ # following banner displays details about using the system.
1700
+ #
1701
+ # `This system is for the use of authorized users only. Individuals
1702
+ # using this computer system without authority, or in excess of their
1703
+ # authority, are subject to having all of their activities on this
1704
+ # system monitored and recorded by system personnel.`
1675
1705
  # @return [String]
1676
1706
  #
1677
1707
  # @!attribute [rw] protocols
@@ -2027,10 +2057,38 @@ module Aws::Transfer
2027
2057
  # the execution of the workflow.
2028
2058
  #
2029
2059
  # @!attribute [rw] type
2030
- # Specifies the error type: currently, the only valid value is
2031
- # `PERMISSION_DENIED`, which occurs if your policy does not contain
2032
- # the correct permissions to complete one or more of the steps in the
2033
- # workflow.
2060
+ # Specifies the error type.
2061
+ #
2062
+ # * `ALREADY_EXISTS`\: occurs for a copy step, if the overwrite option
2063
+ # is not selected and a file with the same name already exists in
2064
+ # the target location.
2065
+ #
2066
+ # * `BAD_REQUEST`\: a general bad request: for example, a step that
2067
+ # attempts to tag an EFS file returns `BAD_REQUEST`, as only S3
2068
+ # files can be tagged.
2069
+ #
2070
+ # * `CUSTOM_STEP_FAILED`\: occurs when the custom step provided a
2071
+ # callback that indicates failure.
2072
+ #
2073
+ # * `INTERNAL_SERVER_ERROR`\: a catch-all error that can occur for a
2074
+ # variety of reasons.
2075
+ #
2076
+ # * `NOT_FOUND`\: occurs when a requested entity, for example a source
2077
+ # file for a copy step, does not exist.
2078
+ #
2079
+ # * `PERMISSION_DENIED`\: occurs if your policy does not contain the
2080
+ # correct permissions to complete one or more of the steps in the
2081
+ # workflow.
2082
+ #
2083
+ # * `TIMEOUT`\: occurs when the execution times out.
2084
+ #
2085
+ # <note markdown="1"> You can set the `TimeoutSeconds` for a custom step, anywhere from
2086
+ # 1 second to 1800 seconds (30 minutes).
2087
+ #
2088
+ # </note>
2089
+ #
2090
+ # * `THROTTLED`\: occurs if you exceed the new execution refill rate
2091
+ # of one workflow per second.
2034
2092
  # @return [String]
2035
2093
  #
2036
2094
  # @!attribute [rw] message
@@ -2075,13 +2133,13 @@ module Aws::Transfer
2075
2133
  # @!attribute [rw] step_type
2076
2134
  # One of the available step types.
2077
2135
  #
2078
- # * *Copy*\: copy the file to another location
2136
+ # * *COPY*\: copy the file to another location
2079
2137
  #
2080
- # * *Custom*\: custom step with a lambda target
2138
+ # * *CUSTOM*\: custom step with a lambda target
2081
2139
  #
2082
- # * *Delete*\: delete the file
2140
+ # * *DELETE*\: delete the file
2083
2141
  #
2084
- # * *Tag*\: add a tag to the file
2142
+ # * *TAG*\: add a tag to the file
2085
2143
  # @return [String]
2086
2144
  #
2087
2145
  # @!attribute [rw] outputs
@@ -2129,7 +2187,7 @@ module Aws::Transfer
2129
2187
  #
2130
2188
  # The following is an `Entry` and `Target` pair example for `chroot`.
2131
2189
  #
2132
- # `[ \{ "Entry:": "/", "Target": "/bucket_name/home/mydirectory" \} ]`
2190
+ # `[ \{ "Entry": "/", "Target": "/bucket_name/home/mydirectory" \} ]`
2133
2191
  #
2134
2192
  # @note When making an API call, you may pass HomeDirectoryMapEntry
2135
2193
  # data as a hash:
@@ -3760,7 +3818,7 @@ module Aws::Transfer
3760
3818
  #
3761
3819
  # The following is an `Entry` and `Target` pair example for `chroot`.
3762
3820
  #
3763
- # `[ \{ "Entry:": "/", "Target": "/bucket_name/home/mydirectory" \} ]`
3821
+ # `[ \{ "Entry": "/", "Target": "/bucket_name/home/mydirectory" \} ]`
3764
3822
  # @return [Array<Types::HomeDirectoryMapEntry>]
3765
3823
  #
3766
3824
  # @!attribute [rw] policy
@@ -4031,9 +4089,24 @@ module Aws::Transfer
4031
4089
  # @return [String]
4032
4090
  #
4033
4091
  # @!attribute [rw] post_authentication_login_banner
4092
+ # Specify a string to display when users connect to a server. This
4093
+ # string is displayed after the user authenticates.
4094
+ #
4095
+ # <note markdown="1"> The SFTP protocol does not support post-authentication display
4096
+ # banners.
4097
+ #
4098
+ # </note>
4034
4099
  # @return [String]
4035
4100
  #
4036
4101
  # @!attribute [rw] pre_authentication_login_banner
4102
+ # Specify a string to display when users connect to a server. This
4103
+ # string is displayed before the user authenticates. For example, the
4104
+ # following banner displays details about using the system.
4105
+ #
4106
+ # `This system is for the use of authorized users only. Individuals
4107
+ # using this computer system without authority, or in excess of their
4108
+ # authority, are subject to having all of their activities on this
4109
+ # system monitored and recorded by system personnel.`
4037
4110
  # @return [String]
4038
4111
  #
4039
4112
  # @!attribute [rw] protocols
@@ -4080,6 +4153,12 @@ module Aws::Transfer
4080
4153
  # @!attribute [rw] workflow_details
4081
4154
  # Specifies the workflow ID for the workflow to assign and the
4082
4155
  # execution role used for executing the workflow.
4156
+ #
4157
+ # To remove an associated workflow from a server, you can provide an
4158
+ # empty `OnUpload` object, as in the following example.
4159
+ #
4160
+ # `aws transfer update-server --server-id s-01234567890abcdef
4161
+ # --workflow-details '\{"OnUpload":[]\}'`
4083
4162
  # @return [Types::WorkflowDetails]
4084
4163
  #
4085
4164
  # @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/UpdateServerRequest AWS API Documentation
@@ -4178,7 +4257,7 @@ module Aws::Transfer
4178
4257
  #
4179
4258
  # The following is an `Entry` and `Target` pair example for `chroot`.
4180
4259
  #
4181
- # `[ \{ "Entry:": "/", "Target": "/bucket_name/home/mydirectory" \} ]`
4260
+ # `[ \{ "Entry": "/", "Target": "/bucket_name/home/mydirectory" \} ]`
4182
4261
  # @return [Array<Types::HomeDirectoryMapEntry>]
4183
4262
  #
4184
4263
  # @!attribute [rw] policy
@@ -4357,6 +4436,12 @@ module Aws::Transfer
4357
4436
  # @!attribute [rw] on_upload
4358
4437
  # A trigger that starts a workflow: the workflow begins to execute
4359
4438
  # after a file is uploaded.
4439
+ #
4440
+ # To remove an associated workflow from a server, you can provide an
4441
+ # empty `OnUpload` object, as in the following example.
4442
+ #
4443
+ # `aws transfer update-server --server-id s-01234567890abcdef
4444
+ # --workflow-details '\{"OnUpload":[]\}'`
4360
4445
  # @return [Array<Types::WorkflowDetail>]
4361
4446
  #
4362
4447
  # @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/WorkflowDetails AWS API Documentation
@@ -4414,13 +4499,13 @@ module Aws::Transfer
4414
4499
  # @!attribute [rw] type
4415
4500
  # Currently, the following step types are supported.
4416
4501
  #
4417
- # * *Copy*\: copy the file to another location
4502
+ # * *COPY*\: copy the file to another location
4418
4503
  #
4419
- # * *Custom*\: custom step with a lambda target
4504
+ # * *CUSTOM*\: custom step with a lambda target
4420
4505
  #
4421
- # * *Delete*\: delete the file
4506
+ # * *DELETE*\: delete the file
4422
4507
  #
4423
- # * *Tag*\: add a tag to the file
4508
+ # * *TAG*\: add a tag to the file
4424
4509
  # @return [String]
4425
4510
  #
4426
4511
  # @!attribute [rw] copy_step_details
@@ -49,6 +49,6 @@ require_relative 'aws-sdk-transfer/customizations'
49
49
  # @!group service
50
50
  module Aws::Transfer
51
51
 
52
- GEM_VERSION = '1.50.0'
52
+ GEM_VERSION = '1.53.0'
53
53
 
54
54
  end
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.50.0
4
+ version: 1.53.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-03-04 00:00:00.000000000 Z
11
+ date: 2022-04-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core