aws-sdk-transfer 1.66.0 → 1.68.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 58d5e4c2d91330af71ae3926307b4261e081d18cfe625310af5124fda56e79fb
4
- data.tar.gz: 19948910922f1034587d5c5b50876c2a00f695d622a681ad99483e96dd438ab4
3
+ metadata.gz: fea65db9c058c1b92c949a5a7efc40bd5f967865eb4ca92880be5b020cfc8c33
4
+ data.tar.gz: afc7f782c3e8482741bfa49baf23f5e36c19bd0291d614612d1d8cf6bfd8029a
5
5
  SHA512:
6
- metadata.gz: c02666f8f44edf2c33a19ae47bfefc0f2d67b1c36908f701d5a996893818818bb38768b041879655619649f3ba5f411033881529272e9d1d53ad5163bbb24f54
7
- data.tar.gz: 92393ea32b6a36e087b68757e52bcf2c532ee833714c82aa470f86dd185e7b818cbc1a111e5dfe97a93e575e268d03b310d274e826cf295e98ffd4ad7fd6cc78
6
+ metadata.gz: 39261dd8b5aff9b5a3e263867fa959dc7ecb25921b45289038a8d1837bbdc13fed11a1ac000932e213e47f5ebc8f4cd11f9206c59ed2f1835f1fca2cc255c905
7
+ data.tar.gz: 1d6f4b7e2af636625201d6a360b81d28473f3548030e47a0c23b915ab7dc06d52d17b66e9f208edb10740936b8353fe072fcf3c9fec97399780068505c05db8b
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.68.0 (2023-05-15)
5
+ ------------------
6
+
7
+ * Feature - This release introduces the ability to require both password and SSH key when users authenticate to your Transfer Family servers that use the SFTP protocol.
8
+
9
+ 1.67.0 (2023-02-07)
10
+ ------------------
11
+
12
+ * Feature - Updated the documentation for the ImportCertificate API call, and added examples.
13
+
4
14
  1.66.0 (2023-01-18)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.66.0
1
+ 1.68.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
  #
@@ -890,8 +889,9 @@ module Aws::Transfer
890
889
  # [1]: https://docs.aws.amazon.com/transfer/latest/userguide/edit-server-config.html#configuring-servers-change-host-key
891
890
  #
892
891
  # @option params [Types::IdentityProviderDetails] :identity_provider_details
893
- # Required when `IdentityProviderType` is set to `AWS_DIRECTORY_SERVICE`
894
- # or `API_GATEWAY`. Accepts an array containing all of the information
892
+ # Required when `IdentityProviderType` is set to
893
+ # `AWS_DIRECTORY_SERVICE`, `Amazon Web Services_LAMBDA` or
894
+ # `API_GATEWAY`. Accepts an array containing all of the information
895
895
  # required to use a directory in `AWS_DIRECTORY_SERVICE` or invoke a
896
896
  # customer-supplied authentication API, including the API Gateway URL.
897
897
  # Not required when `IdentityProviderType` is set to `SERVICE_MANAGED`.
@@ -915,7 +915,7 @@ module Aws::Transfer
915
915
  #
916
916
  # Use the `AWS_LAMBDA` value to directly use an Lambda function as your
917
917
  # identity provider. If you choose this value, you must specify the ARN
918
- # for the Lambda function in the `Function` parameter or the
918
+ # for the Lambda function in the `Function` parameter for the
919
919
  # `IdentityProviderDetails` data type.
920
920
  #
921
921
  # @option params [String] :logging_role
@@ -965,14 +965,15 @@ module Aws::Transfer
965
965
  #
966
966
  # * If `Protocol` includes either `FTP` or `FTPS`, then the
967
967
  # `EndpointType` must be `VPC` and the `IdentityProviderType` must be
968
- # `AWS_DIRECTORY_SERVICE` or `API_GATEWAY`.
968
+ # either `AWS_DIRECTORY_SERVICE`, `AWS_LAMBDA`, or `API_GATEWAY`.
969
969
  #
970
970
  # * If `Protocol` includes `FTP`, then `AddressAllocationIds` cannot be
971
971
  # associated.
972
972
  #
973
973
  # * 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`.
974
+ # to `PUBLIC` and the `IdentityProviderType` can be set any of the
975
+ # supported identity types: `SERVICE_MANAGED`,
976
+ # `AWS_DIRECTORY_SERVICE`, `AWS_LAMBDA`, or `API_GATEWAY`.
976
977
  #
977
978
  # * If `Protocol` includes `AS2`, then the `EndpointType` must be `VPC`,
978
979
  # and domain must be Amazon S3.
@@ -1014,10 +1015,11 @@ module Aws::Transfer
1014
1015
  # Specifies the workflow ID for the workflow to assign and the execution
1015
1016
  # role that's used for executing the workflow.
1016
1017
  #
1017
- # In additon to a workflow to execute when a file is uploaded
1018
- # completely, `WorkflowDeatails` can also contain a workflow ID (and
1018
+ # In addition to a workflow to execute when a file is uploaded
1019
+ # completely, `WorkflowDetails` can also contain a workflow ID (and
1019
1020
  # execution role) for a workflow to execute on partial upload. A partial
1020
- # upload occurs when a file is open when the session disconnects.
1021
+ # upload occurs when the server session disconnects while the file is
1022
+ # still being uploaded.
1021
1023
  #
1022
1024
  # @return [Types::CreateServerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1023
1025
  #
@@ -1042,6 +1044,7 @@ module Aws::Transfer
1042
1044
  # invocation_role: "Role",
1043
1045
  # directory_id: "DirectoryId",
1044
1046
  # function: "Function",
1047
+ # sftp_authentication_methods: "PASSWORD", # accepts PASSWORD, PUBLIC_KEY, PUBLIC_KEY_OR_PASSWORD, PUBLIC_KEY_AND_PASSWORD
1045
1048
  # },
1046
1049
  # identity_provider_type: "SERVICE_MANAGED", # accepts SERVICE_MANAGED, API_GATEWAY, AWS_DIRECTORY_SERVICE, AWS_LAMBDA
1047
1050
  # logging_role: "Role",
@@ -1191,8 +1194,20 @@ module Aws::Transfer
1191
1194
  # The public portion of the Secure Shell (SSH) key used to authenticate
1192
1195
  # the user to the server.
1193
1196
  #
1197
+ # The three standard SSH public key format elements are `<key type>`,
1198
+ # `<body base64>`, and an optional `<comment>`, with spaces between each
1199
+ # element.
1200
+ #
1194
1201
  # Transfer Family accepts RSA, ECDSA, and ED25519 keys.
1195
1202
  #
1203
+ # * For RSA keys, the key type is `ssh-rsa`.
1204
+ #
1205
+ # * For ED25519 keys, the key type is `ssh-ed25519`.
1206
+ #
1207
+ # * For ECDSA keys, the key type is either `ecdsa-sha2-nistp256`,
1208
+ # `ecdsa-sha2-nistp384`, or `ecdsa-sha2-nistp521`, depending on the
1209
+ # size of the key you generated.
1210
+ #
1196
1211
  # @option params [Array<Types::Tag>] :tags
1197
1212
  # Key-value pairs that can be used to group and search for users. Tags
1198
1213
  # are metadata attached to users for any purpose.
@@ -1268,28 +1283,32 @@ module Aws::Transfer
1268
1283
  # The `TYPE` specifies which of the following actions is being taken for
1269
1284
  # this step.
1270
1285
  #
1271
- # * *COPY*\: Copy the file to another location.
1286
+ # * <b> <code>COPY</code> </b> - Copy the file to another location.
1287
+ #
1288
+ # * <b> <code>CUSTOM</code> </b> - Perform a custom step with an Lambda
1289
+ # function target.
1272
1290
  #
1273
- # * *CUSTOM*\: Perform a custom step with an Lambda function target.
1291
+ # * <b> <code>DECRYPT</code> </b> - Decrypt a file that was encrypted
1292
+ # before it was uploaded.
1274
1293
  #
1275
- # * *DELETE*\: Delete the file.
1294
+ # * <b> <code>DELETE</code> </b> - Delete the file.
1276
1295
  #
1277
- # * *TAG*\: Add a tag to the file.
1296
+ # * <b> <code>TAG</code> </b> - Add a tag to the file.
1278
1297
  #
1279
1298
  # <note markdown="1"> Currently, copying and tagging are supported only on S3.
1280
1299
  #
1281
1300
  # </note>
1282
1301
  #
1283
- # For file location, you specify either the S3 bucket and key, or the
1284
- # EFS file system ID and path.
1302
+ # For file location, you specify either the Amazon S3 bucket and key, or
1303
+ # the Amazon EFS file system ID and path.
1285
1304
  #
1286
1305
  # @option params [Array<Types::WorkflowStep>] :on_exception_steps
1287
1306
  # Specifies the steps (actions) to take if errors are encountered during
1288
1307
  # execution of the workflow.
1289
1308
  #
1290
- # <note markdown="1"> For custom steps, the lambda function needs to send `FAILURE` to the
1309
+ # <note markdown="1"> For custom steps, the Lambda function needs to send `FAILURE` to the
1291
1310
  # call back API to kick off the exception steps. Additionally, if the
1292
- # lambda does not send `SUCCESS` before it times out, the exception
1311
+ # Lambda does not send `SUCCESS` before it times out, the exception
1293
1312
  # steps are executed.
1294
1313
  #
1295
1314
  # </note>
@@ -1556,7 +1575,7 @@ module Aws::Transfer
1556
1575
  req.send_request(options)
1557
1576
  end
1558
1577
 
1559
- # Deletes the host key that's specified in the `HoskKeyId` parameter.
1578
+ # Deletes the host key that's specified in the `HostKeyId` parameter.
1560
1579
  #
1561
1580
  # @option params [required, String] :server_id
1562
1581
  # The identifier of the server that contains the host key that you are
@@ -1919,6 +1938,14 @@ module Aws::Transfer
1919
1938
  # You can use `DescribeExecution` to check the details of the execution
1920
1939
  # of the specified workflow.
1921
1940
  #
1941
+ # <note markdown="1"> This API call only returns details for in-progress workflows.
1942
+ #
1943
+ # If you provide an ID for an execution that is not in progress, or if
1944
+ # the execution doesn't match the specified workflow ID, you receive a
1945
+ # `ResourceNotFound` exception.
1946
+ #
1947
+ # </note>
1948
+ #
1922
1949
  # @option params [required, String] :execution_id
1923
1950
  # A unique identifier for the execution of a workflow.
1924
1951
  #
@@ -2146,6 +2173,7 @@ module Aws::Transfer
2146
2173
  # resp.server.identity_provider_details.invocation_role #=> String
2147
2174
  # resp.server.identity_provider_details.directory_id #=> String
2148
2175
  # resp.server.identity_provider_details.function #=> String
2176
+ # resp.server.identity_provider_details.sftp_authentication_methods #=> String, one of "PASSWORD", "PUBLIC_KEY", "PUBLIC_KEY_OR_PASSWORD", "PUBLIC_KEY_AND_PASSWORD"
2149
2177
  # resp.server.identity_provider_type #=> String, one of "SERVICE_MANAGED", "API_GATEWAY", "AWS_DIRECTORY_SERVICE", "AWS_LAMBDA"
2150
2178
  # resp.server.logging_role #=> String
2151
2179
  # resp.server.post_authentication_login_banner #=> String
@@ -2337,15 +2365,24 @@ module Aws::Transfer
2337
2365
  # Specifies whether this certificate is used for signing or encryption.
2338
2366
  #
2339
2367
  # @option params [required, String] :certificate
2340
- # The file that contains the certificate to import.
2368
+ # * For the CLI, provide a file path for a certificate in URI format.
2369
+ # For example, `--certificate file://encryption-cert.pem`.
2370
+ # Alternatively, you can provide the raw content.
2371
+ #
2372
+ # * For the SDK, specify the raw content of a certificate file. For
2373
+ # example, `` --certificate "`cat encryption-cert.pem`" ``.
2341
2374
  #
2342
2375
  # @option params [String] :certificate_chain
2343
2376
  # An optional list of certificates that make up the chain for the
2344
2377
  # certificate that's being imported.
2345
2378
  #
2346
2379
  # @option params [String] :private_key
2347
- # The file that contains the private key for the certificate that's
2348
- # being imported.
2380
+ # * For the CLI, provide a file path for a private key in URI format.For
2381
+ # example, `--private-key file://encryption-key.pem`. Alternatively,
2382
+ # you can provide the raw content of the private key file.
2383
+ #
2384
+ # * For the SDK, specify the raw content of a private key file. For
2385
+ # example, `` --private-key "`cat encryption-key.pem`" ``
2349
2386
  #
2350
2387
  # @option params [Time,DateTime,Date,Integer,String] :active_date
2351
2388
  # An optional date that specifies when the certificate becomes active.
@@ -2402,7 +2439,7 @@ module Aws::Transfer
2402
2439
  # importing.
2403
2440
  #
2404
2441
  # @option params [required, String] :host_key_body
2405
- # The public key portion of an SSH key pair.
2442
+ # The private key portion of an SSH key pair.
2406
2443
  #
2407
2444
  # Transfer Family accepts RSA, ECDSA, and ED25519 keys.
2408
2445
  #
@@ -2445,9 +2482,9 @@ module Aws::Transfer
2445
2482
  req.send_request(options)
2446
2483
  end
2447
2484
 
2448
- # Adds a Secure Shell (SSH) public key to a user account identified by a
2449
- # `UserName` value assigned to the specific file transfer
2450
- # protocol-enabled server, identified by `ServerId`.
2485
+ # Adds a Secure Shell (SSH) public key to a Transfer Family user
2486
+ # identified by a `UserName` value assigned to the specific file
2487
+ # transfer protocol-enabled server, identified by `ServerId`.
2451
2488
  #
2452
2489
  # The response returns the `UserName` value, the `ServerId` value, and
2453
2490
  # the name of the `SshPublicKeyId`.
@@ -2461,7 +2498,8 @@ module Aws::Transfer
2461
2498
  # Transfer Family accepts RSA, ECDSA, and ED25519 keys.
2462
2499
  #
2463
2500
  # @option params [required, String] :user_name
2464
- # The name of the user account that is assigned to one or more servers.
2501
+ # The name of the Transfer Family user that is assigned to one or more
2502
+ # servers.
2465
2503
  #
2466
2504
  # @return [Types::ImportSshPublicKeyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2467
2505
  #
@@ -2691,7 +2729,12 @@ module Aws::Transfer
2691
2729
  req.send_request(options)
2692
2730
  end
2693
2731
 
2694
- # Lists all executions for the specified workflow.
2732
+ # Lists all in-progress executions for the specified workflow.
2733
+ #
2734
+ # <note markdown="1"> If the specified workflow ID cannot be found, `ListExecutions` returns
2735
+ # a `ResourceNotFound` exception.
2736
+ #
2737
+ # </note>
2695
2738
  #
2696
2739
  # @option params [Integer] :max_results
2697
2740
  # Specifies the maximum number of executions to return.
@@ -2703,7 +2746,7 @@ module Aws::Transfer
2703
2746
  #
2704
2747
  # This is useful for pagination, for instance. If you have 100
2705
2748
  # executions for a workflow, you might only want to list first 10. If
2706
- # so, call the API by specifying the `max-results`\:
2749
+ # so, call the API by specifying the `max-results`:
2707
2750
  #
2708
2751
  # `aws transfer list-executions --max-results 10`
2709
2752
  #
@@ -3061,7 +3104,8 @@ module Aws::Transfer
3061
3104
  req.send_request(options)
3062
3105
  end
3063
3106
 
3064
- # Lists all of your workflows.
3107
+ # Lists all workflows associated with your Amazon Web Services account
3108
+ # for your current region.
3065
3109
  #
3066
3110
  # @option params [Integer] :max_results
3067
3111
  # Specifies the maximum number of workflows to return.
@@ -3256,8 +3300,8 @@ module Aws::Transfer
3256
3300
  #
3257
3301
  # @option params [required, Array<Types::Tag>] :tags
3258
3302
  # Key-value pairs assigned to ARNs that you can use to group and search
3259
- # for resources by type. You can attach this metadata to user accounts
3260
- # for any purpose.
3303
+ # for resources by type. You can attach this metadata to resources
3304
+ # (servers, users, workflows, and so on) for any purpose.
3261
3305
  #
3262
3306
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3263
3307
  #
@@ -3293,10 +3337,16 @@ module Aws::Transfer
3293
3337
  # The `ServerId` and `UserName` parameters are required. The
3294
3338
  # `ServerProtocol`, `SourceIp`, and `UserPassword` are all optional.
3295
3339
  #
3296
- # <note markdown="1"> You cannot use `TestIdentityProvider` if the `IdentityProviderType` of
3297
- # your server is `SERVICE_MANAGED`.
3340
+ # Note the following:
3298
3341
  #
3299
- # </note>
3342
+ # * You cannot use `TestIdentityProvider` if the `IdentityProviderType`
3343
+ # of your server is `SERVICE_MANAGED`.
3344
+ #
3345
+ # * `TestIdentityProvider` does not work with keys: it only accepts
3346
+ # passwords.
3347
+ #
3348
+ # * `TestIdentityProvider` can test the password operation for a custom
3349
+ # Identity Provider that handles keys and passwords.
3300
3350
  #
3301
3351
  # * If you provide any incorrect values for any parameters, the
3302
3352
  # `Response` field is empty.
@@ -3313,7 +3363,11 @@ module Aws::Transfer
3313
3363
  # error:
3314
3364
  #
3315
3365
  # `An error occurred (ResourceNotFoundException) when calling the
3316
- # TestIdentityProvider operation: Unknown server`
3366
+ # TestIdentityProvider operation: Unknown server`.
3367
+ #
3368
+ # It is possible your sever is in a different region. You can specify
3369
+ # a region by adding the following: `--region region-code`, such as
3370
+ # `--region us-east-2` to specify a server in **US East (Ohio)**.
3317
3371
  #
3318
3372
  # @option params [required, String] :server_id
3319
3373
  # A system-assigned identifier for a specific server. That server's
@@ -3330,14 +3384,16 @@ module Aws::Transfer
3330
3384
  #
3331
3385
  # * File Transfer Protocol (FTP)
3332
3386
  #
3387
+ # * Applicability Statement 2 (AS2)
3388
+ #
3333
3389
  # @option params [String] :source_ip
3334
- # The source IP address of the user account to be tested.
3390
+ # The source IP address of the account to be tested.
3335
3391
  #
3336
3392
  # @option params [required, String] :user_name
3337
- # The name of the user account to be tested.
3393
+ # The name of the account to be tested.
3338
3394
  #
3339
3395
  # @option params [String] :user_password
3340
- # The password of the user account to be tested.
3396
+ # The password of the account to be tested.
3341
3397
  #
3342
3398
  # @return [Types::TestIdentityProviderResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3343
3399
  #
@@ -3956,7 +4012,7 @@ module Aws::Transfer
3956
4012
  # SFTP-enabled server to a new server, don't update the host key.
3957
4013
  # Accidentally changing a server's host key can be disruptive.
3958
4014
  #
3959
- # For more information, see [Update host keys for your SFTP-enabled
4015
+ # For more information, see [Manage host keys for your SFTP-enabled
3960
4016
  # server][1] in the *Transfer Family User Guide*.
3961
4017
  #
3962
4018
  #
@@ -4014,14 +4070,15 @@ module Aws::Transfer
4014
4070
  #
4015
4071
  # * If `Protocol` includes either `FTP` or `FTPS`, then the
4016
4072
  # `EndpointType` must be `VPC` and the `IdentityProviderType` must be
4017
- # `AWS_DIRECTORY_SERVICE` or `API_GATEWAY`.
4073
+ # either `AWS_DIRECTORY_SERVICE`, `AWS_LAMBDA`, or `API_GATEWAY`.
4018
4074
  #
4019
4075
  # * If `Protocol` includes `FTP`, then `AddressAllocationIds` cannot be
4020
4076
  # associated.
4021
4077
  #
4022
4078
  # * 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`.
4079
+ # to `PUBLIC` and the `IdentityProviderType` can be set any of the
4080
+ # supported identity types: `SERVICE_MANAGED`,
4081
+ # `AWS_DIRECTORY_SERVICE`, `AWS_LAMBDA`, or `API_GATEWAY`.
4025
4082
  #
4026
4083
  # * If `Protocol` includes `AS2`, then the `EndpointType` must be `VPC`,
4027
4084
  # and domain must be Amazon S3.
@@ -4034,16 +4091,17 @@ module Aws::Transfer
4034
4091
  #
4035
4092
  # @option params [required, String] :server_id
4036
4093
  # A system-assigned unique identifier for a server instance that the
4037
- # user account is assigned to.
4094
+ # Transfer Family user is assigned to.
4038
4095
  #
4039
4096
  # @option params [Types::WorkflowDetails] :workflow_details
4040
4097
  # Specifies the workflow ID for the workflow to assign and the execution
4041
4098
  # role that's used for executing the workflow.
4042
4099
  #
4043
- # In additon to a workflow to execute when a file is uploaded
4044
- # completely, `WorkflowDeatails` can also contain a workflow ID (and
4100
+ # In addition to a workflow to execute when a file is uploaded
4101
+ # completely, `WorkflowDetails` can also contain a workflow ID (and
4045
4102
  # execution role) for a workflow to execute on partial upload. A partial
4046
- # upload occurs when a file is open when the session disconnects.
4103
+ # upload occurs when the server session disconnects while the file is
4104
+ # still being uploaded.
4047
4105
  #
4048
4106
  # To remove an associated workflow from a server, you can provide an
4049
4107
  # empty `OnUpload` object, as in the following example.
@@ -4079,6 +4137,7 @@ module Aws::Transfer
4079
4137
  # invocation_role: "Role",
4080
4138
  # directory_id: "DirectoryId",
4081
4139
  # function: "Function",
4140
+ # sftp_authentication_methods: "PASSWORD", # accepts PASSWORD, PUBLIC_KEY, PUBLIC_KEY_OR_PASSWORD, PUBLIC_KEY_AND_PASSWORD
4082
4141
  # },
4083
4142
  # logging_role: "NullableRole",
4084
4143
  # post_authentication_login_banner: "PostAuthenticationLoginBanner",
@@ -4208,8 +4267,8 @@ module Aws::Transfer
4208
4267
  # users' transfer requests.
4209
4268
  #
4210
4269
  # @option params [required, String] :server_id
4211
- # A system-assigned unique identifier for a server instance that the
4212
- # user account is assigned to.
4270
+ # A system-assigned unique identifier for a Transfer Family server
4271
+ # instance that the user is assigned to.
4213
4272
  #
4214
4273
  # @option params [required, String] :user_name
4215
4274
  # A unique string that identifies a user and is associated with a server
@@ -4273,7 +4332,7 @@ module Aws::Transfer
4273
4332
  params: params,
4274
4333
  config: config)
4275
4334
  context[:gem_name] = 'aws-sdk-transfer'
4276
- context[:gem_version] = '1.66.0'
4335
+ context[:gem_version] = '1.68.0'
4277
4336
  Seahorse::Client::Request.new(handlers, context)
4278
4337
  end
4279
4338
 
@@ -249,6 +249,7 @@ module Aws::Transfer
249
249
  ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
250
250
  SessionId = Shapes::StringShape.new(name: 'SessionId')
251
251
  SetStatOption = Shapes::StringShape.new(name: 'SetStatOption')
252
+ SftpAuthenticationMethods = Shapes::StringShape.new(name: 'SftpAuthenticationMethods')
252
253
  SigningAlg = Shapes::StringShape.new(name: 'SigningAlg')
253
254
  SourceFileLocation = Shapes::StringShape.new(name: 'SourceFileLocation')
254
255
  SourceIp = Shapes::StringShape.new(name: 'SourceIp')
@@ -721,6 +722,7 @@ module Aws::Transfer
721
722
  IdentityProviderDetails.add_member(:invocation_role, Shapes::ShapeRef.new(shape: Role, location_name: "InvocationRole"))
722
723
  IdentityProviderDetails.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, location_name: "DirectoryId"))
723
724
  IdentityProviderDetails.add_member(:function, Shapes::ShapeRef.new(shape: Function, location_name: "Function"))
725
+ IdentityProviderDetails.add_member(:sftp_authentication_methods, Shapes::ShapeRef.new(shape: SftpAuthenticationMethods, location_name: "SftpAuthenticationMethods"))
724
726
  IdentityProviderDetails.struct_class = Types::IdentityProviderDetails
725
727
 
726
728
  ImportCertificateRequest.add_member(:usage, Shapes::ShapeRef.new(shape: CertificateUsageType, required: true, location_name: "Usage"))
@@ -50,9 +50,6 @@ module Aws::Transfer
50
50
 
51
51
  def initialize(options = {})
52
52
  self[:region] = options[:region]
53
- if self[:region].nil?
54
- raise ArgumentError, "Missing required EndpointParameter: :region"
55
- end
56
53
  self[:use_dual_stack] = options[:use_dual_stack]
57
54
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
58
55
  if self[:use_dual_stack].nil?
@@ -14,36 +14,39 @@ module Aws::Transfer
14
14
  use_dual_stack = parameters.use_dual_stack
15
15
  use_fips = parameters.use_fips
16
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
17
+ if Aws::Endpoints::Matchers.set?(endpoint)
33
18
  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"
19
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
38
20
  end
39
21
  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: {})
22
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
23
+ end
24
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
25
+ end
26
+ if Aws::Endpoints::Matchers.set?(region)
27
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
28
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
29
+ 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"))
30
+ return Aws::Endpoints::Endpoint.new(url: "https://transfer-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
31
+ end
32
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
+ end
34
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
36
+ return Aws::Endpoints::Endpoint.new(url: "https://transfer-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
+ end
38
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
39
+ end
40
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
41
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
42
+ return Aws::Endpoints::Endpoint.new(url: "https://transfer.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
43
+ end
44
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
42
45
  end
43
- raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
46
+ return Aws::Endpoints::Endpoint.new(url: "https://transfer.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
44
47
  end
45
- return Aws::Endpoints::Endpoint.new(url: "https://transfer.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
46
48
  end
49
+ raise ArgumentError, "Invalid Configuration: Missing Region"
47
50
  raise ArgumentError, 'No endpoint could be resolved'
48
51
 
49
52
  end