aws-sdk-transfer 1.39.0 → 1.43.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 +42 -14
- data/lib/aws-sdk-transfer/client_api.rb +2 -0
- data/lib/aws-sdk-transfer/types.rb +70 -49
- 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: 24bc91950ddc4c3f800194aa45fef433ed6c4a86e4a1b3710ad8c19a6c0d449f
|
4
|
+
data.tar.gz: 789d5a5a296c65e84678445df9f277f4b5658a04ca42f9d99b672a25dbb4f5af
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d2bd0f9449cbe31ca1bab476113d8a434acd9bedb961b23b02faf69325386869a64339d5ae4fefad5a10208aecb8f8378407f846cded7c205260e805c40e939a
|
7
|
+
data.tar.gz: 3a7bec93d5e183c16d4773bad20e19169c2c8bf7c0159303235b1cab92bff9e70123a8efadca7b8da0c84d61a981940598622c7df72ebc5ecacf418b05d3846b
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.43.0 (2021-11-15)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - AWS Transfer Family now supports integrating a custom identity provider using AWS Lambda
|
8
|
+
|
9
|
+
1.42.0 (2021-11-04)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.41.0 (2021-10-18)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.40.0 (2021-09-28)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Added changes for managed workflows feature APIs.
|
23
|
+
|
4
24
|
1.39.0 (2021-09-02)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.43.0
|
@@ -285,6 +285,15 @@ module Aws::Transfer
|
|
285
285
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
286
286
|
# requests are made, and retries are disabled.
|
287
287
|
#
|
288
|
+
# @option options [Boolean] :use_dualstack_endpoint
|
289
|
+
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
290
|
+
# will be used if available.
|
291
|
+
#
|
292
|
+
# @option options [Boolean] :use_fips_endpoint
|
293
|
+
# When set to `true`, fips compatible endpoints will be used if available.
|
294
|
+
# When a `fips` region is used, the region is normalized and this config
|
295
|
+
# is set to `true`.
|
296
|
+
#
|
288
297
|
# @option options [Boolean] :validate_params (true)
|
289
298
|
# When `true`, request parameters are validated before
|
290
299
|
# sending the request.
|
@@ -372,8 +381,8 @@ module Aws::Transfer
|
|
372
381
|
#
|
373
382
|
# The following is an `Entry` and `Target` pair example.
|
374
383
|
#
|
375
|
-
# `[ \{ "Entry": "
|
376
|
-
# "/
|
384
|
+
# `[ \{ "Entry": "/directory1", "Target":
|
385
|
+
# "/bucket_name/home/mydirectory" \} ]`
|
377
386
|
#
|
378
387
|
# In most cases, you can use this value instead of the session policy to
|
379
388
|
# lock down your user to the designated home directory ("`chroot`").
|
@@ -632,6 +641,11 @@ module Aws::Transfer
|
|
632
641
|
# API Gateway endpoint URL to call for authentication using the
|
633
642
|
# `IdentityProviderDetails` parameter.
|
634
643
|
#
|
644
|
+
# Use the `LAMBDA` value to directly use a Lambda function as your
|
645
|
+
# identity provider. If you choose this value, you must specify the ARN
|
646
|
+
# for the lambda function in the `Function` parameter for the
|
647
|
+
# `IdentityProviderDetails` data type.
|
648
|
+
#
|
635
649
|
# @option params [String] :logging_role
|
636
650
|
# Specifies the Amazon Resource Name (ARN) of the Amazon Web Services
|
637
651
|
# Identity and Access Management (IAM) role that allows a server to turn
|
@@ -701,8 +715,9 @@ module Aws::Transfer
|
|
701
715
|
# url: "Url",
|
702
716
|
# invocation_role: "Role",
|
703
717
|
# directory_id: "DirectoryId",
|
718
|
+
# function: "Function",
|
704
719
|
# },
|
705
|
-
# identity_provider_type: "SERVICE_MANAGED", # accepts SERVICE_MANAGED, API_GATEWAY, AWS_DIRECTORY_SERVICE
|
720
|
+
# identity_provider_type: "SERVICE_MANAGED", # accepts SERVICE_MANAGED, API_GATEWAY, AWS_DIRECTORY_SERVICE, AWS_LAMBDA
|
706
721
|
# logging_role: "Role",
|
707
722
|
# protocols: ["SFTP"], # accepts SFTP, FTP, FTPS
|
708
723
|
# security_policy_name: "SecurityPolicyName",
|
@@ -771,8 +786,8 @@ module Aws::Transfer
|
|
771
786
|
#
|
772
787
|
# The following is an `Entry` and `Target` pair example.
|
773
788
|
#
|
774
|
-
# `[ \{ "Entry": "
|
775
|
-
# "/
|
789
|
+
# `[ \{ "Entry": "/directory1", "Target":
|
790
|
+
# "/bucket_name/home/mydirectory" \} ]`
|
776
791
|
#
|
777
792
|
# In most cases, you can use this value instead of the session policy to
|
778
793
|
# lock your user down to the designated home directory ("`chroot`").
|
@@ -929,12 +944,23 @@ module Aws::Transfer
|
|
929
944
|
#
|
930
945
|
# * *Tag*\: add a tag to the file
|
931
946
|
#
|
947
|
+
# <note markdown="1"> Currently, copying and tagging are supported only on S3.
|
948
|
+
#
|
949
|
+
# </note>
|
950
|
+
#
|
932
951
|
# For file location, you specify either the S3 bucket and key, or the
|
933
952
|
# EFS filesystem ID and path.
|
934
953
|
#
|
935
954
|
# @option params [Array<Types::WorkflowStep>] :on_exception_steps
|
936
|
-
# Specifies the steps (actions) to take if
|
937
|
-
#
|
955
|
+
# Specifies the steps (actions) to take if errors are encountered during
|
956
|
+
# execution of the workflow.
|
957
|
+
#
|
958
|
+
# <note markdown="1"> For custom steps, the lambda function needs to send `FAILURE` to the
|
959
|
+
# call back API to kick off the exception steps. Additionally, if the
|
960
|
+
# lambda does not send `SUCCESS` before it times out, the exception
|
961
|
+
# steps are executed.
|
962
|
+
#
|
963
|
+
# </note>
|
938
964
|
#
|
939
965
|
# @option params [Array<Types::Tag>] :tags
|
940
966
|
# Key-value pairs that can be used to group and search for workflows.
|
@@ -1411,7 +1437,8 @@ module Aws::Transfer
|
|
1411
1437
|
# resp.server.identity_provider_details.url #=> String
|
1412
1438
|
# resp.server.identity_provider_details.invocation_role #=> String
|
1413
1439
|
# resp.server.identity_provider_details.directory_id #=> String
|
1414
|
-
# resp.server.
|
1440
|
+
# resp.server.identity_provider_details.function #=> String
|
1441
|
+
# resp.server.identity_provider_type #=> String, one of "SERVICE_MANAGED", "API_GATEWAY", "AWS_DIRECTORY_SERVICE", "AWS_LAMBDA"
|
1415
1442
|
# resp.server.logging_role #=> String
|
1416
1443
|
# resp.server.protocols #=> Array
|
1417
1444
|
# resp.server.protocols[0] #=> String, one of "SFTP", "FTP", "FTPS"
|
@@ -1802,7 +1829,7 @@ module Aws::Transfer
|
|
1802
1829
|
# resp.servers #=> Array
|
1803
1830
|
# resp.servers[0].arn #=> String
|
1804
1831
|
# resp.servers[0].domain #=> String, one of "S3", "EFS"
|
1805
|
-
# resp.servers[0].identity_provider_type #=> String, one of "SERVICE_MANAGED", "API_GATEWAY", "AWS_DIRECTORY_SERVICE"
|
1832
|
+
# resp.servers[0].identity_provider_type #=> String, one of "SERVICE_MANAGED", "API_GATEWAY", "AWS_DIRECTORY_SERVICE", "AWS_LAMBDA"
|
1806
1833
|
# resp.servers[0].endpoint_type #=> String, one of "PUBLIC", "VPC", "VPC_ENDPOINT"
|
1807
1834
|
# resp.servers[0].logging_role #=> String
|
1808
1835
|
# resp.servers[0].server_id #=> String
|
@@ -2263,8 +2290,8 @@ module Aws::Transfer
|
|
2263
2290
|
#
|
2264
2291
|
# The following is an `Entry` and `Target` pair example.
|
2265
2292
|
#
|
2266
|
-
# `[ \{ "Entry": "
|
2267
|
-
# "/
|
2293
|
+
# `[ \{ "Entry": "/directory1", "Target":
|
2294
|
+
# "/bucket_name/home/mydirectory" \} ]`
|
2268
2295
|
#
|
2269
2296
|
# In most cases, you can use this value instead of the session policy to
|
2270
2297
|
# lock down your user to the designated home directory ("`chroot`").
|
@@ -2573,6 +2600,7 @@ module Aws::Transfer
|
|
2573
2600
|
# url: "Url",
|
2574
2601
|
# invocation_role: "Role",
|
2575
2602
|
# directory_id: "DirectoryId",
|
2603
|
+
# function: "Function",
|
2576
2604
|
# },
|
2577
2605
|
# logging_role: "NullableRole",
|
2578
2606
|
# protocols: ["SFTP"], # accepts SFTP, FTP, FTPS
|
@@ -2635,8 +2663,8 @@ module Aws::Transfer
|
|
2635
2663
|
#
|
2636
2664
|
# The following is an `Entry` and `Target` pair example.
|
2637
2665
|
#
|
2638
|
-
# `[ \{ "Entry": "
|
2639
|
-
# "/
|
2666
|
+
# `[ \{ "Entry": "/directory1", "Target":
|
2667
|
+
# "/bucket_name/home/mydirectory" \} ]`
|
2640
2668
|
#
|
2641
2669
|
# In most cases, you can use this value instead of the session policy to
|
2642
2670
|
# lock down your user to the designated home directory ("`chroot`").
|
@@ -2769,7 +2797,7 @@ module Aws::Transfer
|
|
2769
2797
|
params: params,
|
2770
2798
|
config: config)
|
2771
2799
|
context[:gem_name] = 'aws-sdk-transfer'
|
2772
|
-
context[:gem_version] = '1.
|
2800
|
+
context[:gem_version] = '1.43.0'
|
2773
2801
|
Seahorse::Client::Request.new(handlers, context)
|
2774
2802
|
end
|
2775
2803
|
|
@@ -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')
|
@@ -451,6 +452,7 @@ module Aws::Transfer
|
|
451
452
|
IdentityProviderDetails.add_member(:url, Shapes::ShapeRef.new(shape: Url, location_name: "Url"))
|
452
453
|
IdentityProviderDetails.add_member(:invocation_role, Shapes::ShapeRef.new(shape: Role, location_name: "InvocationRole"))
|
453
454
|
IdentityProviderDetails.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, location_name: "DirectoryId"))
|
455
|
+
IdentityProviderDetails.add_member(:function, Shapes::ShapeRef.new(shape: Function, location_name: "Function"))
|
454
456
|
IdentityProviderDetails.struct_class = Types::IdentityProviderDetails
|
455
457
|
|
456
458
|
ImportSshPublicKeyRequest.add_member(:server_id, Shapes::ShapeRef.new(shape: ServerId, required: true, location_name: "ServerId"))
|
@@ -135,8 +135,8 @@ module Aws::Transfer
|
|
135
135
|
#
|
136
136
|
# The following is an `Entry` and `Target` pair example.
|
137
137
|
#
|
138
|
-
# `[ \{ "Entry": "
|
139
|
-
# "/
|
138
|
+
# `[ \{ "Entry": "/directory1", "Target":
|
139
|
+
# "/bucket_name/home/mydirectory" \} ]`
|
140
140
|
#
|
141
141
|
# In most cases, you can use this value instead of the session policy
|
142
142
|
# to lock down your user to the designated home directory
|
@@ -285,8 +285,9 @@ 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
|
292
293
|
# security_policy_name: "SecurityPolicyName",
|
@@ -437,6 +438,11 @@ module Aws::Transfer
|
|
437
438
|
# of your choosing. The `API_GATEWAY` setting requires you to provide
|
438
439
|
# an API Gateway endpoint URL to call for authentication using the
|
439
440
|
# `IdentityProviderDetails` parameter.
|
441
|
+
#
|
442
|
+
# Use the `LAMBDA` value to directly use a Lambda function as your
|
443
|
+
# identity provider. If you choose this value, you must specify the
|
444
|
+
# ARN for the lambda function in the `Function` parameter for the
|
445
|
+
# `IdentityProviderDetails` data type.
|
440
446
|
# @return [String]
|
441
447
|
#
|
442
448
|
# @!attribute [rw] logging_role
|
@@ -583,8 +589,8 @@ module Aws::Transfer
|
|
583
589
|
#
|
584
590
|
# The following is an `Entry` and `Target` pair example.
|
585
591
|
#
|
586
|
-
# `[ \{ "Entry": "
|
587
|
-
# "/
|
592
|
+
# `[ \{ "Entry": "/directory1", "Target":
|
593
|
+
# "/bucket_name/home/mydirectory" \} ]`
|
588
594
|
#
|
589
595
|
# In most cases, you can use this value instead of the session policy
|
590
596
|
# to lock your user down to the designated home directory
|
@@ -817,13 +823,24 @@ module Aws::Transfer
|
|
817
823
|
#
|
818
824
|
# * *Tag*\: add a tag to the file
|
819
825
|
#
|
826
|
+
# <note markdown="1"> Currently, copying and tagging are supported only on S3.
|
827
|
+
#
|
828
|
+
# </note>
|
829
|
+
#
|
820
830
|
# For file location, you specify either the S3 bucket and key, or the
|
821
831
|
# EFS filesystem ID and path.
|
822
832
|
# @return [Array<Types::WorkflowStep>]
|
823
833
|
#
|
824
834
|
# @!attribute [rw] on_exception_steps
|
825
|
-
# Specifies the steps (actions) to take if
|
835
|
+
# Specifies the steps (actions) to take if errors are encountered
|
826
836
|
# during execution of the workflow.
|
837
|
+
#
|
838
|
+
# <note markdown="1"> For custom steps, the lambda function needs to send `FAILURE` to the
|
839
|
+
# call back API to kick off the exception steps. Additionally, if the
|
840
|
+
# lambda does not send `SUCCESS` before it times out, the exception
|
841
|
+
# steps are executed.
|
842
|
+
#
|
843
|
+
# </note>
|
827
844
|
# @return [Array<Types::WorkflowStep>]
|
828
845
|
#
|
829
846
|
# @!attribute [rw] tags
|
@@ -981,7 +998,7 @@ module Aws::Transfer
|
|
981
998
|
include Aws::Structure
|
982
999
|
end
|
983
1000
|
|
984
|
-
# The name of the step, used to identify the step
|
1001
|
+
# The name of the step, used to identify the delete step.
|
985
1002
|
#
|
986
1003
|
# @note When making an API call, you may pass DeleteStepDetails
|
987
1004
|
# data as a hash:
|
@@ -1572,6 +1589,11 @@ module Aws::Transfer
|
|
1572
1589
|
# of your choosing. The `API_GATEWAY` setting requires you to provide
|
1573
1590
|
# an API Gateway endpoint URL to call for authentication using the
|
1574
1591
|
# `IdentityProviderDetails` parameter.
|
1592
|
+
#
|
1593
|
+
# Use the `LAMBDA` value to directly use a Lambda function as your
|
1594
|
+
# identity provider. If you choose this value, you must specify the
|
1595
|
+
# ARN for the lambda function in the `Function` parameter for the
|
1596
|
+
# `IdentityProviderDetails` data type.
|
1575
1597
|
# @return [String]
|
1576
1598
|
#
|
1577
1599
|
# @!attribute [rw] logging_role
|
@@ -1776,7 +1798,7 @@ module Aws::Transfer
|
|
1776
1798
|
# @return [Array<Types::WorkflowStep>]
|
1777
1799
|
#
|
1778
1800
|
# @!attribute [rw] on_exception_steps
|
1779
|
-
# Specifies the steps (actions) to take if
|
1801
|
+
# Specifies the steps (actions) to take if errors are encountered
|
1780
1802
|
# during execution of the workflow.
|
1781
1803
|
# @return [Array<Types::WorkflowStep>]
|
1782
1804
|
#
|
@@ -1802,22 +1824,7 @@ module Aws::Transfer
|
|
1802
1824
|
include Aws::Structure
|
1803
1825
|
end
|
1804
1826
|
|
1805
|
-
#
|
1806
|
-
# the workflow. Only applicable if you are using Amazon EFS for storage.
|
1807
|
-
#
|
1808
|
-
# You need to provide the file system ID and the pathname. The pathname
|
1809
|
-
# can represent either a path or a file. This is determined by whether
|
1810
|
-
# or not you end the path value with the forward slash (/) character. If
|
1811
|
-
# the final character is "/", then your file is copied to the folder,
|
1812
|
-
# and its name does not change. If, rather, the final character is
|
1813
|
-
# alphanumeric, your uploaded file is renamed to the path value. In this
|
1814
|
-
# case, if a file with that name already exists, it is overwritten.
|
1815
|
-
#
|
1816
|
-
# For example, if your path is `shared-files/bob/`, your uploaded files
|
1817
|
-
# are copied to the `shared-files/bob/`, folder. If your path is
|
1818
|
-
# `shared-files/today`, each uploaded file is copied to the
|
1819
|
-
# `shared-files` folder and named `today`\: each upload overwrites the
|
1820
|
-
# previous version of the `bob` file.
|
1827
|
+
# Reserved for future use.
|
1821
1828
|
#
|
1822
1829
|
# @note When making an API call, you may pass EfsFileLocation
|
1823
1830
|
# data as a hash:
|
@@ -1977,7 +1984,7 @@ module Aws::Transfer
|
|
1977
1984
|
# @return [Array<Types::ExecutionStepResult>]
|
1978
1985
|
#
|
1979
1986
|
# @!attribute [rw] on_exception_steps
|
1980
|
-
# Specifies the steps (actions) to take if
|
1987
|
+
# Specifies the steps (actions) to take if errors are encountered
|
1981
1988
|
# during execution of the workflow.
|
1982
1989
|
# @return [Array<Types::ExecutionStepResult>]
|
1983
1990
|
#
|
@@ -2099,6 +2106,7 @@ module Aws::Transfer
|
|
2099
2106
|
# url: "Url",
|
2100
2107
|
# invocation_role: "Role",
|
2101
2108
|
# directory_id: "DirectoryId",
|
2109
|
+
# function: "Function",
|
2102
2110
|
# }
|
2103
2111
|
#
|
2104
2112
|
# @!attribute [rw] url
|
@@ -2116,12 +2124,17 @@ module Aws::Transfer
|
|
2116
2124
|
# that you want to stop sharing.
|
2117
2125
|
# @return [String]
|
2118
2126
|
#
|
2127
|
+
# @!attribute [rw] function
|
2128
|
+
# The ARN for a lambda function to use for the Identity provider.
|
2129
|
+
# @return [String]
|
2130
|
+
#
|
2119
2131
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/IdentityProviderDetails AWS API Documentation
|
2120
2132
|
#
|
2121
2133
|
class IdentityProviderDetails < Struct.new(
|
2122
2134
|
:url,
|
2123
2135
|
:invocation_role,
|
2124
|
-
:directory_id
|
2136
|
+
:directory_id,
|
2137
|
+
:function)
|
2125
2138
|
SENSITIVE = []
|
2126
2139
|
include Aws::Structure
|
2127
2140
|
end
|
@@ -2206,7 +2219,7 @@ module Aws::Transfer
|
|
2206
2219
|
# @return [Types::S3InputFileLocation]
|
2207
2220
|
#
|
2208
2221
|
# @!attribute [rw] efs_file_location
|
2209
|
-
#
|
2222
|
+
# Reserved for future use.
|
2210
2223
|
# @return [Types::EfsFileLocation]
|
2211
2224
|
#
|
2212
2225
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/InputFileLocation AWS API Documentation
|
@@ -2802,6 +2815,11 @@ module Aws::Transfer
|
|
2802
2815
|
# of your choosing. The `API_GATEWAY` setting requires you to provide
|
2803
2816
|
# an API Gateway endpoint URL to call for authentication using the
|
2804
2817
|
# `IdentityProviderDetails` parameter.
|
2818
|
+
#
|
2819
|
+
# Use the `LAMBDA` value to directly use a Lambda function as your
|
2820
|
+
# identity provider. If you choose this value, you must specify the
|
2821
|
+
# ARN for the lambda function in the `Function` parameter for the
|
2822
|
+
# `IdentityProviderDetails` data type.
|
2805
2823
|
# @return [String]
|
2806
2824
|
#
|
2807
2825
|
# @!attribute [rw] endpoint_type
|
@@ -3101,20 +3119,6 @@ module Aws::Transfer
|
|
3101
3119
|
# Specifies the details for the file location for the file being used in
|
3102
3120
|
# the workflow. Only applicable if you are using S3 storage.
|
3103
3121
|
#
|
3104
|
-
# You need to provide the bucket and key. The key can represent either a
|
3105
|
-
# path or a file. This is determined by whether or not you end the key
|
3106
|
-
# value with the forward slash (/) character. If the final character is
|
3107
|
-
# "/", then your file is copied to the folder, and its name does not
|
3108
|
-
# change. If, rather, the final character is alphanumeric, your uploaded
|
3109
|
-
# file is renamed to the path value. In this case, if a file with that
|
3110
|
-
# name already exists, it is overwritten.
|
3111
|
-
#
|
3112
|
-
# For example, if your path is `shared-files/bob/`, your uploaded files
|
3113
|
-
# are copied to the `shared-files/bob/`, folder. If your path is
|
3114
|
-
# `shared-files/today`, each uploaded file is copied to the
|
3115
|
-
# `shared-files` folder and named `today`\: each upload overwrites the
|
3116
|
-
# previous version of the *bob* file.
|
3117
|
-
#
|
3118
3122
|
# @!attribute [rw] bucket
|
3119
3123
|
# Specifies the S3 bucket that contains the file being used.
|
3120
3124
|
# @return [String]
|
@@ -3144,7 +3148,23 @@ module Aws::Transfer
|
|
3144
3148
|
include Aws::Structure
|
3145
3149
|
end
|
3146
3150
|
|
3147
|
-
# Specifies the
|
3151
|
+
# Specifies the customer input S3 file location. If it is used inside
|
3152
|
+
# `copyStepDetails.DestinationFileLocation`, it should be the S3 copy
|
3153
|
+
# destination.
|
3154
|
+
#
|
3155
|
+
# You need to provide the bucket and key. The key can represent either a
|
3156
|
+
# path or a file. This is determined by whether or not you end the key
|
3157
|
+
# value with the forward slash (/) character. If the final character is
|
3158
|
+
# "/", then your file is copied to the folder, and its name does not
|
3159
|
+
# change. If, rather, the final character is alphanumeric, your uploaded
|
3160
|
+
# file is renamed to the path value. In this case, if a file with that
|
3161
|
+
# name already exists, it is overwritten.
|
3162
|
+
#
|
3163
|
+
# For example, if your path is `shared-files/bob/`, your uploaded files
|
3164
|
+
# are copied to the `shared-files/bob/`, folder. If your path is
|
3165
|
+
# `shared-files/today`, each uploaded file is copied to the
|
3166
|
+
# `shared-files` folder and named `today`\: each upload overwrites the
|
3167
|
+
# previous version of the *bob* file.
|
3148
3168
|
#
|
3149
3169
|
# @note When making an API call, you may pass S3InputFileLocation
|
3150
3170
|
# data as a hash:
|
@@ -3155,7 +3175,7 @@ module Aws::Transfer
|
|
3155
3175
|
# }
|
3156
3176
|
#
|
3157
3177
|
# @!attribute [rw] bucket
|
3158
|
-
# Specifies the S3 bucket
|
3178
|
+
# Specifies the S3 bucket for the customer input file.
|
3159
3179
|
# @return [String]
|
3160
3180
|
#
|
3161
3181
|
# @!attribute [rw] key
|
@@ -3618,8 +3638,8 @@ module Aws::Transfer
|
|
3618
3638
|
#
|
3619
3639
|
# The following is an `Entry` and `Target` pair example.
|
3620
3640
|
#
|
3621
|
-
# `[ \{ "Entry": "
|
3622
|
-
# "/
|
3641
|
+
# `[ \{ "Entry": "/directory1", "Target":
|
3642
|
+
# "/bucket_name/home/mydirectory" \} ]`
|
3623
3643
|
#
|
3624
3644
|
# In most cases, you can use this value instead of the session policy
|
3625
3645
|
# to lock down your user to the designated home directory
|
@@ -3770,6 +3790,7 @@ module Aws::Transfer
|
|
3770
3790
|
# url: "Url",
|
3771
3791
|
# invocation_role: "Role",
|
3772
3792
|
# directory_id: "DirectoryId",
|
3793
|
+
# function: "Function",
|
3773
3794
|
# },
|
3774
3795
|
# logging_role: "NullableRole",
|
3775
3796
|
# protocols: ["SFTP"], # accepts SFTP, FTP, FTPS
|
@@ -4031,8 +4052,8 @@ module Aws::Transfer
|
|
4031
4052
|
#
|
4032
4053
|
# The following is an `Entry` and `Target` pair example.
|
4033
4054
|
#
|
4034
|
-
# `[ \{ "Entry": "
|
4035
|
-
# "/
|
4055
|
+
# `[ \{ "Entry": "/directory1", "Target":
|
4056
|
+
# "/bucket_name/home/mydirectory" \} ]`
|
4036
4057
|
#
|
4037
4058
|
# In most cases, you can use this value instead of the session policy
|
4038
4059
|
# to lock down your user to the designated home directory
|
@@ -4300,7 +4321,7 @@ module Aws::Transfer
|
|
4300
4321
|
#
|
4301
4322
|
# * A description
|
4302
4323
|
#
|
4303
|
-
# * An S3
|
4324
|
+
# * An S3 location for the destination of the file copy.
|
4304
4325
|
#
|
4305
4326
|
# * A flag that indicates whether or not to overwrite an existing file
|
4306
4327
|
# of the same name. The default is `FALSE`.
|
@@ -4314,7 +4335,7 @@ module Aws::Transfer
|
|
4314
4335
|
# @return [Types::CustomStepDetails]
|
4315
4336
|
#
|
4316
4337
|
# @!attribute [rw] delete_step_details
|
4317
|
-
#
|
4338
|
+
# Details for a step that deletes the file.
|
4318
4339
|
# @return [Types::DeleteStepDetails]
|
4319
4340
|
#
|
4320
4341
|
# @!attribute [rw] tag_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.43.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: 2021-
|
11
|
+
date: 2021-11-15 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.122.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.122.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|