aws-sdk-transfer 1.65.0 → 1.67.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: 63c678f9a660fd0e9bfeabc3804f89fe3806d6c051afb709963bee07b73196d4
4
- data.tar.gz: 7d65eca26d7be0c50c07f8438ab5bbf5134509624097e4442e810507f1e78ae5
3
+ metadata.gz: 6f5625859721f732602752e01edabf8e915b0ad82aae2502857b1fa13b441b97
4
+ data.tar.gz: 64ee432e3a967d4dbbff68aada763bd17a07a4a76e3855f4aaa6862fcac8b973
5
5
  SHA512:
6
- metadata.gz: 5463d371ef40e8b4c8452d26b70f46301007775f8b94ac502d5741079f8cab8c202b2dcfadfd61471a7ed0a5db7da56fe594b6362c484cc4b85c5116feb6c1a0
7
- data.tar.gz: 2e6b9e965314d05328a4c12f92d7f30e59ddc54b7f2f243f18a8a45085960ff655ef3c5b59718f6021001d692b1c4a873a7b33d615d725005b6d09aa15d638bc
6
+ metadata.gz: 0d8cc03d0c99017b385c269549fa4f95ad24a42cc4c9254770dbb66a3f0261031a497d478123362530d29d88094dd9d480354866e54bcc1e641f850dedce72a3
7
+ data.tar.gz: 0cd1fe1ca95518e0aa2a36340cd03798fcb6fb1c8a5f65103c782e16b209f04740455483a04691746acda797e186588eaa74756d8fb8834348a48cceb9be9119
data/CHANGELOG.md CHANGED
@@ -1,6 +1,18 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.67.0 (2023-02-07)
5
+ ------------------
6
+
7
+ * Feature - Updated the documentation for the ImportCertificate API call, and added examples.
8
+
9
+ 1.66.0 (2023-01-18)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ * Issue - Replace runtime endpoint resolution approach with generated ruby code.
15
+
4
16
  1.65.0 (2022-12-27)
5
17
  ------------------
6
18
 
@@ -335,4 +347,4 @@ Unreleased Changes
335
347
  1.0.0 (2018-11-26)
336
348
  ------------------
337
349
 
338
- * Feature - Initial release of `aws-sdk-transfer`.
350
+ * Feature - Initial release of `aws-sdk-transfer`.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.65.0
1
+ 1.67.0
@@ -561,8 +561,7 @@ module Aws::Transfer
561
561
  # The landing directory (folder) for files transferred by using the AS2
562
562
  # protocol.
563
563
  #
564
- # A `BaseDirectory` example is
565
- # *DOC-EXAMPLE-BUCKET*/*home*/*mydirectory*.
564
+ # A `BaseDirectory` example is `/DOC-EXAMPLE-BUCKET/home/mydirectory`.
566
565
  #
567
566
  # @option params [required, String] :access_role
568
567
  # With AS2, you can send files by calling `StartFileTransfer` and
@@ -882,7 +881,7 @@ module Aws::Transfer
882
881
  # SFTP-enabled server to a new server, don't update the host key.
883
882
  # Accidentally changing a server's host key can be disruptive.
884
883
  #
885
- # For more information, see [Update host keys for your SFTP-enabled
884
+ # For more information, see [Manage host keys for your SFTP-enabled
886
885
  # server][1] in the *Transfer Family User Guide*.
887
886
  #
888
887
  #
@@ -965,14 +964,15 @@ module Aws::Transfer
965
964
  #
966
965
  # * If `Protocol` includes either `FTP` or `FTPS`, then the
967
966
  # `EndpointType` must be `VPC` and the `IdentityProviderType` must be
968
- # `AWS_DIRECTORY_SERVICE` or `API_GATEWAY`.
967
+ # either `AWS_DIRECTORY_SERVICE`, `AWS_LAMBDA`, or `API_GATEWAY`.
969
968
  #
970
969
  # * If `Protocol` includes `FTP`, then `AddressAllocationIds` cannot be
971
970
  # associated.
972
971
  #
973
972
  # * If `Protocol` is set only to `SFTP`, the `EndpointType` can be set
974
- # to `PUBLIC` and the `IdentityProviderType` can be set to
975
- # `SERVICE_MANAGED`.
973
+ # to `PUBLIC` and the `IdentityProviderType` can be set any of the
974
+ # supported identity types: `SERVICE_MANAGED`,
975
+ # `AWS_DIRECTORY_SERVICE`, `AWS_LAMBDA`, or `API_GATEWAY`.
976
976
  #
977
977
  # * If `Protocol` includes `AS2`, then the `EndpointType` must be `VPC`,
978
978
  # and domain must be Amazon S3.
@@ -1014,8 +1014,8 @@ module Aws::Transfer
1014
1014
  # Specifies the workflow ID for the workflow to assign and the execution
1015
1015
  # role that's used for executing the workflow.
1016
1016
  #
1017
- # In additon to a workflow to execute when a file is uploaded
1018
- # completely, `WorkflowDeatails` can also contain a workflow ID (and
1017
+ # In addition to a workflow to execute when a file is uploaded
1018
+ # completely, `WorkflowDetails` can also contain a workflow ID (and
1019
1019
  # execution role) for a workflow to execute on partial upload. A partial
1020
1020
  # upload occurs when a file is open when the session disconnects.
1021
1021
  #
@@ -1191,8 +1191,20 @@ module Aws::Transfer
1191
1191
  # The public portion of the Secure Shell (SSH) key used to authenticate
1192
1192
  # the user to the server.
1193
1193
  #
1194
+ # The three standard SSH public key format elements are `<key type>`,
1195
+ # `<body base64>`, and an optional `<comment>`, with spaces between each
1196
+ # element.
1197
+ #
1194
1198
  # Transfer Family accepts RSA, ECDSA, and ED25519 keys.
1195
1199
  #
1200
+ # * For RSA keys, the key type is `ssh-rsa`.
1201
+ #
1202
+ # * For ED25519 keys, the key type is `ssh-ed25519`.
1203
+ #
1204
+ # * For ECDSA keys, the key type is either `ecdsa-sha2-nistp256`,
1205
+ # `ecdsa-sha2-nistp384`, or `ecdsa-sha2-nistp521`, depending on the
1206
+ # size of the key you generated.
1207
+ #
1196
1208
  # @option params [Array<Types::Tag>] :tags
1197
1209
  # Key-value pairs that can be used to group and search for users. Tags
1198
1210
  # are metadata attached to users for any purpose.
@@ -1268,20 +1280,24 @@ module Aws::Transfer
1268
1280
  # The `TYPE` specifies which of the following actions is being taken for
1269
1281
  # this step.
1270
1282
  #
1271
- # * *COPY*\: Copy the file to another location.
1283
+ # * <b> <code>COPY</code> </b> - Copy the file to another location.
1272
1284
  #
1273
- # * *CUSTOM*\: Perform a custom step with an Lambda function target.
1285
+ # * <b> <code>CUSTOM</code> </b> - Perform a custom step with an Lambda
1286
+ # function target.
1274
1287
  #
1275
- # * *DELETE*\: Delete the file.
1288
+ # * <b> <code>DECRYPT</code> </b> - Decrypt a file that was encrypted
1289
+ # before it was uploaded.
1276
1290
  #
1277
- # * *TAG*\: Add a tag to the file.
1291
+ # * <b> <code>DELETE</code> </b> - Delete the file.
1292
+ #
1293
+ # * <b> <code>TAG</code> </b> - Add a tag to the file.
1278
1294
  #
1279
1295
  # <note markdown="1"> Currently, copying and tagging are supported only on S3.
1280
1296
  #
1281
1297
  # </note>
1282
1298
  #
1283
- # For file location, you specify either the S3 bucket and key, or the
1284
- # EFS file system ID and path.
1299
+ # For file location, you specify either the Amazon S3 bucket and key, or
1300
+ # the Amazon EFS file system ID and path.
1285
1301
  #
1286
1302
  # @option params [Array<Types::WorkflowStep>] :on_exception_steps
1287
1303
  # Specifies the steps (actions) to take if errors are encountered during
@@ -2337,15 +2353,24 @@ module Aws::Transfer
2337
2353
  # Specifies whether this certificate is used for signing or encryption.
2338
2354
  #
2339
2355
  # @option params [required, String] :certificate
2340
- # The file that contains the certificate to import.
2356
+ # * For the CLI, provide a file path for a certificate in URI format.
2357
+ # For example, `--certificate file://encryption-cert.pem`.
2358
+ # Alternatively, you can provide the raw content.
2359
+ #
2360
+ # * For the SDK, specify the raw content of a certificate file. For
2361
+ # example, `` --certificate "`cat encryption-cert.pem`" ``.
2341
2362
  #
2342
2363
  # @option params [String] :certificate_chain
2343
2364
  # An optional list of certificates that make up the chain for the
2344
2365
  # certificate that's being imported.
2345
2366
  #
2346
2367
  # @option params [String] :private_key
2347
- # The file that contains the private key for the certificate that's
2348
- # being imported.
2368
+ # * For the CLI, provide a file path for a private key in URI format.For
2369
+ # example, `--private-key file://encryption-key.pem`. Alternatively,
2370
+ # you can provide the raw content of the private key file.
2371
+ #
2372
+ # * For the SDK, specify the raw content of a private key file. For
2373
+ # example, `` --private-key "`cat encryption-key.pem`" ``
2349
2374
  #
2350
2375
  # @option params [Time,DateTime,Date,Integer,String] :active_date
2351
2376
  # An optional date that specifies when the certificate becomes active.
@@ -2402,7 +2427,7 @@ module Aws::Transfer
2402
2427
  # importing.
2403
2428
  #
2404
2429
  # @option params [required, String] :host_key_body
2405
- # The public key portion of an SSH key pair.
2430
+ # The private key portion of an SSH key pair.
2406
2431
  #
2407
2432
  # Transfer Family accepts RSA, ECDSA, and ED25519 keys.
2408
2433
  #
@@ -3956,7 +3981,7 @@ module Aws::Transfer
3956
3981
  # SFTP-enabled server to a new server, don't update the host key.
3957
3982
  # Accidentally changing a server's host key can be disruptive.
3958
3983
  #
3959
- # For more information, see [Update host keys for your SFTP-enabled
3984
+ # For more information, see [Manage host keys for your SFTP-enabled
3960
3985
  # server][1] in the *Transfer Family User Guide*.
3961
3986
  #
3962
3987
  #
@@ -4014,14 +4039,15 @@ module Aws::Transfer
4014
4039
  #
4015
4040
  # * If `Protocol` includes either `FTP` or `FTPS`, then the
4016
4041
  # `EndpointType` must be `VPC` and the `IdentityProviderType` must be
4017
- # `AWS_DIRECTORY_SERVICE` or `API_GATEWAY`.
4042
+ # either `AWS_DIRECTORY_SERVICE`, `AWS_LAMBDA`, or `API_GATEWAY`.
4018
4043
  #
4019
4044
  # * If `Protocol` includes `FTP`, then `AddressAllocationIds` cannot be
4020
4045
  # associated.
4021
4046
  #
4022
4047
  # * If `Protocol` is set only to `SFTP`, the `EndpointType` can be set
4023
- # to `PUBLIC` and the `IdentityProviderType` can be set to
4024
- # `SERVICE_MANAGED`.
4048
+ # to `PUBLIC` and the `IdentityProviderType` can be set any of the
4049
+ # supported identity types: `SERVICE_MANAGED`,
4050
+ # `AWS_DIRECTORY_SERVICE`, `AWS_LAMBDA`, or `API_GATEWAY`.
4025
4051
  #
4026
4052
  # * If `Protocol` includes `AS2`, then the `EndpointType` must be `VPC`,
4027
4053
  # and domain must be Amazon S3.
@@ -4040,8 +4066,8 @@ module Aws::Transfer
4040
4066
  # Specifies the workflow ID for the workflow to assign and the execution
4041
4067
  # role that's used for executing the workflow.
4042
4068
  #
4043
- # In additon to a workflow to execute when a file is uploaded
4044
- # completely, `WorkflowDeatails` can also contain a workflow ID (and
4069
+ # In addition to a workflow to execute when a file is uploaded
4070
+ # completely, `WorkflowDetails` can also contain a workflow ID (and
4045
4071
  # execution role) for a workflow to execute on partial upload. A partial
4046
4072
  # upload occurs when a file is open when the session disconnects.
4047
4073
  #
@@ -4273,7 +4299,7 @@ module Aws::Transfer
4273
4299
  params: params,
4274
4300
  config: config)
4275
4301
  context[:gem_name] = 'aws-sdk-transfer'
4276
- context[:gem_version] = '1.65.0'
4302
+ context[:gem_version] = '1.67.0'
4277
4303
  Seahorse::Client::Request.new(handlers, context)
4278
4304
  end
4279
4305
 
@@ -9,102 +9,43 @@
9
9
 
10
10
  module Aws::Transfer
11
11
  class EndpointProvider
12
- def initialize(rule_set = nil)
13
- @@rule_set ||= begin
14
- endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
15
- Aws::Endpoints::RuleSet.new(
16
- version: endpoint_rules['version'],
17
- service_id: endpoint_rules['serviceId'],
18
- parameters: endpoint_rules['parameters'],
19
- rules: endpoint_rules['rules']
20
- )
12
+ def resolve_endpoint(parameters)
13
+ region = parameters.region
14
+ use_dual_stack = parameters.use_dual_stack
15
+ use_fips = parameters.use_fips
16
+ endpoint = parameters.endpoint
17
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
+ if Aws::Endpoints::Matchers.set?(endpoint)
19
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
+ end
22
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
+ end
25
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
26
+ end
27
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
29
+ return Aws::Endpoints::Endpoint.new(url: "https://transfer-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
+ end
31
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
32
+ end
33
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ return Aws::Endpoints::Endpoint.new(url: "https://transfer-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
+ end
37
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
38
+ end
39
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
40
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
41
+ return Aws::Endpoints::Endpoint.new(url: "https://transfer.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
42
+ end
43
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
44
+ end
45
+ return Aws::Endpoints::Endpoint.new(url: "https://transfer.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
21
46
  end
22
- @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
- end
47
+ raise ArgumentError, 'No endpoint could be resolved'
24
48
 
25
- def resolve_endpoint(parameters)
26
- @provider.resolve_endpoint(parameters)
27
49
  end
28
-
29
- # @api private
30
- RULES = <<-JSON
31
- eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
32
- bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOnRydWUsImRvY3VtZW50
33
-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9uUmVzdWx0I2R1YWxTdGFja0Ruc1N1ZmZpeH0iLCJwcm9wZXJ0aWVz
100
- Ijp7fSwiaGVhZGVycyI6e319LCJ0eXBlIjoiZW5kcG9pbnQifV19LHsiY29u
101
- ZGl0aW9ucyI6W10sImVycm9yIjoiRHVhbFN0YWNrIGlzIGVuYWJsZWQgYnV0
102
- IHRoaXMgcGFydGl0aW9uIGRvZXMgbm90IHN1cHBvcnQgRHVhbFN0YWNrIiwi
103
- dHlwZSI6ImVycm9yIn1dfSx7ImNvbmRpdGlvbnMiOltdLCJlbmRwb2ludCI6
104
- eyJ1cmwiOiJodHRwczovL3RyYW5zZmVyLntSZWdpb259LntQYXJ0aXRpb25S
105
- ZXN1bHQjZG5zU3VmZml4fSIsInByb3BlcnRpZXMiOnt9LCJoZWFkZXJzIjp7
106
- fX0sInR5cGUiOiJlbmRwb2ludCJ9XX1dfQ==
107
-
108
- JSON
109
50
  end
110
51
  end
@@ -46,6 +46,11 @@ module Aws::Transfer
46
46
  #
47
47
  # @!attribute [rw] encryption_algorithm
48
48
  # The algorithm that is used to encrypt the file.
49
+ #
50
+ # <note markdown="1"> You can only specify `NONE` if the URL for your connector uses
51
+ # HTTPS. This ensures that no traffic is sent in clear text.
52
+ #
53
+ # </note>
49
54
  # @return [String]
50
55
  #
51
56
  # @!attribute [rw] signing_algorithm
@@ -57,7 +62,7 @@ module Aws::Transfer
57
62
  # The signing algorithm for the MDN response.
58
63
  #
59
64
  # <note markdown="1"> If set to DEFAULT (or not set at all), the value for
60
- # `SigningAlogorithm` is used.
65
+ # `SigningAlgorithm` is used.
61
66
  #
62
67
  # </note>
63
68
  # @return [String]
@@ -111,14 +116,28 @@ module Aws::Transfer
111
116
  # @return [String]
112
117
  #
113
118
  # @!attribute [rw] destination_file_location
114
- # Specifies the location for the file being copied. Only applicable
115
- # for Copy type workflow steps. Use `$\{Transfer:username\}` in this
116
- # field to parametrize the destination prefix by username.
119
+ # Specifies the location for the file being copied. Use
120
+ # `$\{Transfer:username\}` or `$\{Transfer:UploadDate\}` in this field
121
+ # to parametrize the destination prefix by username or uploaded date.
122
+ #
123
+ # * Set the value of `DestinationFileLocation` to
124
+ # `$\{Transfer:username\}` to copy uploaded files to an Amazon S3
125
+ # bucket that is prefixed with the name of the Transfer Family user
126
+ # that uploaded the file.
127
+ #
128
+ # * Set the value of `DestinationFileLocation` to
129
+ # `$\{Transfer:UploadDate\}` to copy uploaded files to an Amazon S3
130
+ # bucket that is prefixed with the date of the upload.
131
+ #
132
+ # <note markdown="1"> The system resolves `UploadDate` to a date format of *YYYY-MM-DD*,
133
+ # based on the date the file is uploaded.
134
+ #
135
+ # </note>
117
136
  # @return [Types::InputFileLocation]
118
137
  #
119
138
  # @!attribute [rw] overwrite_existing
120
- # A flag that indicates whether or not to overwrite an existing file
121
- # of the same name. The default is `FALSE`.
139
+ # A flag that indicates whether to overwrite an existing file of the
140
+ # same name. The default is `FALSE`.
122
141
  # @return [String]
123
142
  #
124
143
  # @!attribute [rw] source_file_location
@@ -126,12 +145,12 @@ module Aws::Transfer
126
145
  # the output from the previous step, or the originally uploaded file
127
146
  # for the workflow.
128
147
  #
129
- # * Enter `$\{previous.file\}` to use the previous file as the input.
148
+ # * To use the previous file as the input, enter `$\{previous.file\}`.
130
149
  # In this case, this workflow step uses the output file from the
131
150
  # previous workflow step as input. This is the default value.
132
151
  #
133
- # * Enter `$\{original.file\}` to use the originally-uploaded file
134
- # location as input for this step.
152
+ # * To use the originally uploaded file location as input for this
153
+ # step, enter `$\{original.file\}`.
135
154
  # @return [String]
136
155
  #
137
156
  # @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/CopyStepDetails AWS API Documentation
@@ -316,8 +335,7 @@ module Aws::Transfer
316
335
  # The landing directory (folder) for files transferred by using the
317
336
  # AS2 protocol.
318
337
  #
319
- # A `BaseDirectory` example is
320
- # *DOC-EXAMPLE-BUCKET*/*home*/*mydirectory*.
338
+ # A `BaseDirectory` example is `/DOC-EXAMPLE-BUCKET/home/mydirectory`.
321
339
  # @return [String]
322
340
  #
323
341
  # @!attribute [rw] access_role
@@ -609,7 +627,7 @@ module Aws::Transfer
609
627
  # SFTP-enabled server to a new server, don't update the host key.
610
628
  # Accidentally changing a server's host key can be disruptive.
611
629
  #
612
- # For more information, see [Update host keys for your SFTP-enabled
630
+ # For more information, see [Manage host keys for your SFTP-enabled
613
631
  # server][1] in the *Transfer Family User Guide*.
614
632
  #
615
633
  #
@@ -699,14 +717,15 @@ module Aws::Transfer
699
717
  #
700
718
  # * If `Protocol` includes either `FTP` or `FTPS`, then the
701
719
  # `EndpointType` must be `VPC` and the `IdentityProviderType` must
702
- # be `AWS_DIRECTORY_SERVICE` or `API_GATEWAY`.
720
+ # be either `AWS_DIRECTORY_SERVICE`, `AWS_LAMBDA`, or `API_GATEWAY`.
703
721
  #
704
722
  # * If `Protocol` includes `FTP`, then `AddressAllocationIds` cannot
705
723
  # be associated.
706
724
  #
707
725
  # * If `Protocol` is set only to `SFTP`, the `EndpointType` can be set
708
- # to `PUBLIC` and the `IdentityProviderType` can be set to
709
- # `SERVICE_MANAGED`.
726
+ # to `PUBLIC` and the `IdentityProviderType` can be set any of the
727
+ # supported identity types: `SERVICE_MANAGED`,
728
+ # `AWS_DIRECTORY_SERVICE`, `AWS_LAMBDA`, or `API_GATEWAY`.
710
729
  #
711
730
  # * If `Protocol` includes `AS2`, then the `EndpointType` must be
712
731
  # `VPC`, and domain must be Amazon S3.
@@ -753,8 +772,8 @@ module Aws::Transfer
753
772
  # Specifies the workflow ID for the workflow to assign and the
754
773
  # execution role that's used for executing the workflow.
755
774
  #
756
- # In additon to a workflow to execute when a file is uploaded
757
- # completely, `WorkflowDeatails` can also contain a workflow ID (and
775
+ # In addition to a workflow to execute when a file is uploaded
776
+ # completely, `WorkflowDetails` can also contain a workflow ID (and
758
777
  # execution role) for a workflow to execute on partial upload. A
759
778
  # partial upload occurs when a file is open when the session
760
779
  # disconnects.
@@ -894,7 +913,19 @@ module Aws::Transfer
894
913
  # The public portion of the Secure Shell (SSH) key used to
895
914
  # authenticate the user to the server.
896
915
  #
916
+ # The three standard SSH public key format elements are `<key type>`,
917
+ # `<body base64>`, and an optional `<comment>`, with spaces between
918
+ # each element.
919
+ #
897
920
  # Transfer Family accepts RSA, ECDSA, and ED25519 keys.
921
+ #
922
+ # * For RSA keys, the key type is `ssh-rsa`.
923
+ #
924
+ # * For ED25519 keys, the key type is `ssh-ed25519`.
925
+ #
926
+ # * For ECDSA keys, the key type is either `ecdsa-sha2-nistp256`,
927
+ # `ecdsa-sha2-nistp384`, or `ecdsa-sha2-nistp521`, depending on the
928
+ # size of the key you generated.
898
929
  # @return [String]
899
930
  #
900
931
  # @!attribute [rw] tags
@@ -956,20 +987,24 @@ module Aws::Transfer
956
987
  # The `TYPE` specifies which of the following actions is being taken
957
988
  # for this step.
958
989
  #
959
- # * *COPY*\: Copy the file to another location.
990
+ # * <b> <code>COPY</code> </b> - Copy the file to another location.
960
991
  #
961
- # * *CUSTOM*\: Perform a custom step with an Lambda function target.
992
+ # * <b> <code>CUSTOM</code> </b> - Perform a custom step with an
993
+ # Lambda function target.
962
994
  #
963
- # * *DELETE*\: Delete the file.
995
+ # * <b> <code>DECRYPT</code> </b> - Decrypt a file that was encrypted
996
+ # before it was uploaded.
964
997
  #
965
- # * *TAG*\: Add a tag to the file.
998
+ # * <b> <code>DELETE</code> </b> - Delete the file.
999
+ #
1000
+ # * <b> <code>TAG</code> </b> - Add a tag to the file.
966
1001
  #
967
1002
  # <note markdown="1"> Currently, copying and tagging are supported only on S3.
968
1003
  #
969
1004
  # </note>
970
1005
  #
971
- # For file location, you specify either the S3 bucket and key, or the
972
- # EFS file system ID and path.
1006
+ # For file location, you specify either the Amazon S3 bucket and key,
1007
+ # or the Amazon EFS file system ID and path.
973
1008
  # @return [Array<Types::WorkflowStep>]
974
1009
  #
975
1010
  # @!attribute [rw] on_exception_steps
@@ -1031,12 +1066,12 @@ module Aws::Transfer
1031
1066
  # the output from the previous step, or the originally uploaded file
1032
1067
  # for the workflow.
1033
1068
  #
1034
- # * Enter `$\{previous.file\}` to use the previous file as the input.
1069
+ # * To use the previous file as the input, enter `$\{previous.file\}`.
1035
1070
  # In this case, this workflow step uses the output file from the
1036
1071
  # previous workflow step as input. This is the default value.
1037
1072
  #
1038
- # * Enter `$\{original.file\}` to use the originally-uploaded file
1039
- # location as input for this step.
1073
+ # * To use the originally uploaded file location as input for this
1074
+ # step, enter `$\{original.file\}`.
1040
1075
  # @return [String]
1041
1076
  #
1042
1077
  # @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/CustomStepDetails AWS API Documentation
@@ -1050,21 +1085,36 @@ module Aws::Transfer
1050
1085
  include Aws::Structure
1051
1086
  end
1052
1087
 
1088
+ # Each step type has its own `StepDetails` structure.
1089
+ #
1053
1090
  # @!attribute [rw] name
1091
+ # The name of the step, used as an identifier.
1054
1092
  # @return [String]
1055
1093
  #
1056
1094
  # @!attribute [rw] type
1095
+ # The type of encryption used. Currently, this value must be `PGP`.
1057
1096
  # @return [String]
1058
1097
  #
1059
1098
  # @!attribute [rw] source_file_location
1099
+ # Specifies which file to use as input to the workflow step: either
1100
+ # the output from the previous step, or the originally uploaded file
1101
+ # for the workflow.
1102
+ #
1103
+ # * To use the previous file as the input, enter `$\{previous.file\}`.
1104
+ # In this case, this workflow step uses the output file from the
1105
+ # previous workflow step as input. This is the default value.
1106
+ #
1107
+ # * To use the originally uploaded file location as input for this
1108
+ # step, enter `$\{original.file\}`.
1060
1109
  # @return [String]
1061
1110
  #
1062
1111
  # @!attribute [rw] overwrite_existing
1112
+ # A flag that indicates whether to overwrite an existing file of the
1113
+ # same name. The default is `FALSE`.
1063
1114
  # @return [String]
1064
1115
  #
1065
1116
  # @!attribute [rw] destination_file_location
1066
- # Specifies the location for the file being copied. Only applicable
1067
- # for the Copy type of workflow steps.
1117
+ # Specifies the location for the file that's being processed.
1068
1118
  # @return [Types::InputFileLocation]
1069
1119
  #
1070
1120
  # @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DecryptStepDetails AWS API Documentation
@@ -1233,12 +1283,12 @@ module Aws::Transfer
1233
1283
  # the output from the previous step, or the originally uploaded file
1234
1284
  # for the workflow.
1235
1285
  #
1236
- # * Enter `$\{previous.file\}` to use the previous file as the input.
1286
+ # * To use the previous file as the input, enter `$\{previous.file\}`.
1237
1287
  # In this case, this workflow step uses the output file from the
1238
1288
  # previous workflow step as input. This is the default value.
1239
1289
  #
1240
- # * Enter `$\{original.file\}` to use the originally-uploaded file
1241
- # location as input for this step.
1290
+ # * To use the originally uploaded file location as input for this
1291
+ # step, enter `$\{original.file\}`.
1242
1292
  # @return [String]
1243
1293
  #
1244
1294
  # @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DeleteStepDetails AWS API Documentation
@@ -2297,14 +2347,15 @@ module Aws::Transfer
2297
2347
  #
2298
2348
  # * If `Protocol` includes either `FTP` or `FTPS`, then the
2299
2349
  # `EndpointType` must be `VPC` and the `IdentityProviderType` must
2300
- # be `AWS_DIRECTORY_SERVICE` or `API_GATEWAY`.
2350
+ # be either `AWS_DIRECTORY_SERVICE`, `AWS_LAMBDA`, or `API_GATEWAY`.
2301
2351
  #
2302
2352
  # * If `Protocol` includes `FTP`, then `AddressAllocationIds` cannot
2303
2353
  # be associated.
2304
2354
  #
2305
2355
  # * If `Protocol` is set only to `SFTP`, the `EndpointType` can be set
2306
- # to `PUBLIC` and the `IdentityProviderType` can be set to
2307
- # `SERVICE_MANAGED`.
2356
+ # to `PUBLIC` and the `IdentityProviderType` can be set any of the
2357
+ # supported identity types: `SERVICE_MANAGED`,
2358
+ # `AWS_DIRECTORY_SERVICE`, `AWS_LAMBDA`, or `API_GATEWAY`.
2308
2359
  #
2309
2360
  # * If `Protocol` includes `AS2`, then the `EndpointType` must be
2310
2361
  # `VPC`, and domain must be Amazon S3.
@@ -2348,8 +2399,8 @@ module Aws::Transfer
2348
2399
  # Specifies the workflow ID for the workflow to assign and the
2349
2400
  # execution role that's used for executing the workflow.
2350
2401
  #
2351
- # In additon to a workflow to execute when a file is uploaded
2352
- # completely, `WorkflowDeatails` can also contain a workflow ID (and
2402
+ # In addition to a workflow to execute when a file is uploaded
2403
+ # completely, `WorkflowDetails` can also contain a workflow ID (and
2353
2404
  # execution role) for a workflow to execute on partial upload. A
2354
2405
  # partial upload occurs when a file is open when the session
2355
2406
  # disconnects.
@@ -2527,7 +2578,9 @@ module Aws::Transfer
2527
2578
  include Aws::Structure
2528
2579
  end
2529
2580
 
2530
- # Reserved for future use.
2581
+ # Specifies the details for the file location for the file that's being
2582
+ # used in the workflow. Only applicable if you are using Amazon Elastic
2583
+ # File Systems (Amazon EFS) for storage.
2531
2584
  #
2532
2585
  # @!attribute [rw] file_system_id
2533
2586
  # The identifier of the file system, assigned by Amazon EFS.
@@ -2716,13 +2769,17 @@ module Aws::Transfer
2716
2769
  # @!attribute [rw] step_type
2717
2770
  # One of the available step types.
2718
2771
  #
2719
- # * *COPY*\: Copy the file to another location.
2772
+ # * <b> <code>COPY</code> </b> - Copy the file to another location.
2773
+ #
2774
+ # * <b> <code>CUSTOM</code> </b> - Perform a custom step with an
2775
+ # Lambda function target.
2720
2776
  #
2721
- # * *CUSTOM*\: Perform a custom step with an Lambda function target.
2777
+ # * <b> <code>DECRYPT</code> </b> - Decrypt a file that was encrypted
2778
+ # before it was uploaded.
2722
2779
  #
2723
- # * *DELETE*\: Delete the file.
2780
+ # * <b> <code>DELETE</code> </b> - Delete the file.
2724
2781
  #
2725
- # * *TAG*\: Add a tag to the file.
2782
+ # * <b> <code>TAG</code> </b> - Add a tag to the file.
2726
2783
  # @return [String]
2727
2784
  #
2728
2785
  # @!attribute [rw] outputs
@@ -2830,7 +2887,12 @@ module Aws::Transfer
2830
2887
  # @return [String]
2831
2888
  #
2832
2889
  # @!attribute [rw] certificate
2833
- # The file that contains the certificate to import.
2890
+ # * For the CLI, provide a file path for a certificate in URI format.
2891
+ # For example, `--certificate file://encryption-cert.pem`.
2892
+ # Alternatively, you can provide the raw content.
2893
+ #
2894
+ # * For the SDK, specify the raw content of a certificate file. For
2895
+ # example, `` --certificate "`cat encryption-cert.pem`" ``.
2834
2896
  # @return [String]
2835
2897
  #
2836
2898
  # @!attribute [rw] certificate_chain
@@ -2839,8 +2901,13 @@ module Aws::Transfer
2839
2901
  # @return [String]
2840
2902
  #
2841
2903
  # @!attribute [rw] private_key
2842
- # The file that contains the private key for the certificate that's
2843
- # being imported.
2904
+ # * For the CLI, provide a file path for a private key in URI
2905
+ # format.For example, `--private-key file://encryption-key.pem`.
2906
+ # Alternatively, you can provide the raw content of the private key
2907
+ # file.
2908
+ #
2909
+ # * For the SDK, specify the raw content of a private key file. For
2910
+ # example, `` --private-key "`cat encryption-key.pem`" ``
2844
2911
  # @return [String]
2845
2912
  #
2846
2913
  # @!attribute [rw] active_date
@@ -2895,7 +2962,7 @@ module Aws::Transfer
2895
2962
  # @return [String]
2896
2963
  #
2897
2964
  # @!attribute [rw] host_key_body
2898
- # The public key portion of an SSH key pair.
2965
+ # The private key portion of an SSH key pair.
2899
2966
  #
2900
2967
  # Transfer Family accepts RSA, ECDSA, and ED25519 keys.
2901
2968
  # @return [String]
@@ -2987,15 +3054,16 @@ module Aws::Transfer
2987
3054
  include Aws::Structure
2988
3055
  end
2989
3056
 
2990
- # Specifies the location for the file being copied. Only applicable for
2991
- # the Copy type of workflow steps.
3057
+ # Specifies the location for the file that's being processed.
2992
3058
  #
2993
3059
  # @!attribute [rw] s3_file_location
2994
- # Specifies the details for the S3 file being copied.
3060
+ # Specifies the details for the Amazon S3 file that's being copied or
3061
+ # decrypted.
2995
3062
  # @return [Types::S3InputFileLocation]
2996
3063
  #
2997
3064
  # @!attribute [rw] efs_file_location
2998
- # Reserved for future use.
3065
+ # Specifies the details for the Amazon Elastic File System (Amazon
3066
+ # EFS) file that's being decrypted.
2999
3067
  # @return [Types::EfsFileLocation]
3000
3068
  #
3001
3069
  # @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/InputFileLocation AWS API Documentation
@@ -4365,9 +4433,9 @@ module Aws::Transfer
4365
4433
  include Aws::Structure
4366
4434
  end
4367
4435
 
4368
- # Specifies the customer input S3 file location. If it is used inside
4369
- # `copyStepDetails.DestinationFileLocation`, it should be the S3 copy
4370
- # destination.
4436
+ # Specifies the customer input Amazon S3 file location. If it is used
4437
+ # inside `copyStepDetails.DestinationFileLocation`, it should be the S3
4438
+ # copy destination.
4371
4439
  #
4372
4440
  # You need to provide the bucket and key. The key can represent either a
4373
4441
  # path or a file. This is determined by whether or not you end the key
@@ -4635,12 +4703,12 @@ module Aws::Transfer
4635
4703
  # the output from the previous step, or the originally uploaded file
4636
4704
  # for the workflow.
4637
4705
  #
4638
- # * Enter `$\{previous.file\}` to use the previous file as the input.
4706
+ # * To use the previous file as the input, enter `$\{previous.file\}`.
4639
4707
  # In this case, this workflow step uses the output file from the
4640
4708
  # previous workflow step as input. This is the default value.
4641
4709
  #
4642
- # * Enter `$\{original.file\}` to use the originally-uploaded file
4643
- # location as input for this step.
4710
+ # * To use the originally uploaded file location as input for this
4711
+ # step, enter `$\{original.file\}`.
4644
4712
  # @return [String]
4645
4713
  #
4646
4714
  # @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/TagStepDetails AWS API Documentation
@@ -5298,7 +5366,7 @@ module Aws::Transfer
5298
5366
  # SFTP-enabled server to a new server, don't update the host key.
5299
5367
  # Accidentally changing a server's host key can be disruptive.
5300
5368
  #
5301
- # For more information, see [Update host keys for your SFTP-enabled
5369
+ # For more information, see [Manage host keys for your SFTP-enabled
5302
5370
  # server][1] in the *Transfer Family User Guide*.
5303
5371
  #
5304
5372
  #
@@ -5361,14 +5429,15 @@ module Aws::Transfer
5361
5429
  #
5362
5430
  # * If `Protocol` includes either `FTP` or `FTPS`, then the
5363
5431
  # `EndpointType` must be `VPC` and the `IdentityProviderType` must
5364
- # be `AWS_DIRECTORY_SERVICE` or `API_GATEWAY`.
5432
+ # be either `AWS_DIRECTORY_SERVICE`, `AWS_LAMBDA`, or `API_GATEWAY`.
5365
5433
  #
5366
5434
  # * If `Protocol` includes `FTP`, then `AddressAllocationIds` cannot
5367
5435
  # be associated.
5368
5436
  #
5369
5437
  # * If `Protocol` is set only to `SFTP`, the `EndpointType` can be set
5370
- # to `PUBLIC` and the `IdentityProviderType` can be set to
5371
- # `SERVICE_MANAGED`.
5438
+ # to `PUBLIC` and the `IdentityProviderType` can be set any of the
5439
+ # supported identity types: `SERVICE_MANAGED`,
5440
+ # `AWS_DIRECTORY_SERVICE`, `AWS_LAMBDA`, or `API_GATEWAY`.
5372
5441
  #
5373
5442
  # * If `Protocol` includes `AS2`, then the `EndpointType` must be
5374
5443
  # `VPC`, and domain must be Amazon S3.
@@ -5390,8 +5459,8 @@ module Aws::Transfer
5390
5459
  # Specifies the workflow ID for the workflow to assign and the
5391
5460
  # execution role that's used for executing the workflow.
5392
5461
  #
5393
- # In additon to a workflow to execute when a file is uploaded
5394
- # completely, `WorkflowDeatails` can also contain a workflow ID (and
5462
+ # In addition to a workflow to execute when a file is uploaded
5463
+ # completely, `WorkflowDetails` can also contain a workflow ID (and
5395
5464
  # execution role) for a workflow to execute on partial upload. A
5396
5465
  # partial upload occurs when a file is open when the session
5397
5466
  # disconnects.
@@ -5610,8 +5679,8 @@ module Aws::Transfer
5610
5679
  # Specifies the workflow ID for the workflow to assign and the execution
5611
5680
  # role that's used for executing the workflow.
5612
5681
  #
5613
- # In additon to a workflow to execute when a file is uploaded
5614
- # completely, `WorkflowDeatails` can also contain a workflow ID (and
5682
+ # In addition to a workflow to execute when a file is uploaded
5683
+ # completely, `WorkflowDetails` can also contain a workflow ID (and
5615
5684
  # execution role) for a workflow to execute on partial upload. A partial
5616
5685
  # upload occurs when a file is open when the session disconnects.
5617
5686
  #
@@ -5671,13 +5740,17 @@ module Aws::Transfer
5671
5740
  # @!attribute [rw] type
5672
5741
  # Currently, the following step types are supported.
5673
5742
  #
5674
- # * *COPY*\: Copy the file to another location.
5743
+ # * <b> <code>COPY</code> </b> - Copy the file to another location.
5744
+ #
5745
+ # * <b> <code>CUSTOM</code> </b> - Perform a custom step with an
5746
+ # Lambda function target.
5675
5747
  #
5676
- # * *CUSTOM*\: Perform a custom step with an Lambda function target.
5748
+ # * <b> <code>DECRYPT</code> </b> - Decrypt a file that was encrypted
5749
+ # before it was uploaded.
5677
5750
  #
5678
- # * *DELETE*\: Delete the file.
5751
+ # * <b> <code>DELETE</code> </b> - Delete the file.
5679
5752
  #
5680
- # * *TAG*\: Add a tag to the file.
5753
+ # * <b> <code>TAG</code> </b> - Add a tag to the file.
5681
5754
  # @return [String]
5682
5755
  #
5683
5756
  # @!attribute [rw] copy_step_details
@@ -5687,16 +5760,16 @@ module Aws::Transfer
5687
5760
  #
5688
5761
  # * A description
5689
5762
  #
5690
- # * An S3 location for the destination of the file copy.
5763
+ # * An Amazon S3 location for the destination of the file copy.
5691
5764
  #
5692
- # * A flag that indicates whether or not to overwrite an existing file
5693
- # of the same name. The default is `FALSE`.
5765
+ # * A flag that indicates whether to overwrite an existing file of the
5766
+ # same name. The default is `FALSE`.
5694
5767
  # @return [Types::CopyStepDetails]
5695
5768
  #
5696
5769
  # @!attribute [rw] custom_step_details
5697
- # Details for a step that invokes a lambda function.
5770
+ # Details for a step that invokes an Lambda function.
5698
5771
  #
5699
- # Consists of the lambda function name, target, and timeout (in
5772
+ # Consists of the Lambda function's name, target, and timeout (in
5700
5773
  # seconds).
5701
5774
  # @return [Types::CustomStepDetails]
5702
5775
  #
@@ -5707,10 +5780,27 @@ module Aws::Transfer
5707
5780
  # @!attribute [rw] tag_step_details
5708
5781
  # Details for a step that creates one or more tags.
5709
5782
  #
5710
- # You specify one or more tags: each tag contains a key/value pair.
5783
+ # You specify one or more tags. Each tag contains a key-value pair.
5711
5784
  # @return [Types::TagStepDetails]
5712
5785
  #
5713
5786
  # @!attribute [rw] decrypt_step_details
5787
+ # Details for a step that decrypts an encrypted file.
5788
+ #
5789
+ # Consists of the following values:
5790
+ #
5791
+ # * A descriptive name
5792
+ #
5793
+ # * An Amazon S3 or Amazon Elastic File System (Amazon EFS) location
5794
+ # for the source file to decrypt.
5795
+ #
5796
+ # * An S3 or Amazon EFS location for the destination of the file
5797
+ # decryption.
5798
+ #
5799
+ # * A flag that indicates whether to overwrite an existing file of the
5800
+ # same name. The default is `FALSE`.
5801
+ #
5802
+ # * The type of encryption that's used. Currently, only PGP
5803
+ # encryption is supported.
5714
5804
  # @return [Types::DecryptStepDetails]
5715
5805
  #
5716
5806
  # @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/WorkflowStep AWS API Documentation
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-transfer/customizations'
53
53
  # @!group service
54
54
  module Aws::Transfer
55
55
 
56
- GEM_VERSION = '1.65.0'
56
+ GEM_VERSION = '1.67.0'
57
57
 
58
58
  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.65.0
4
+ version: 1.67.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-12-27 00:00:00.000000000 Z
11
+ date: 2023-02-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core