aws-sdk-transfer 1.88.0 → 1.90.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: dd44a4b53e27bf567a03377b6a58f62f29ded41ff6d6bdf1f3a1a4805a2cf16c
4
- data.tar.gz: 97729ca4b80de16e8f7a8e4654f6ad71f14d965d11d7767e0283ac1cf919ce46
3
+ metadata.gz: c1d4523b4e4aa78444b5fa34bd608bf355e4f6b2b1412a040b2a7b3b0981b4a9
4
+ data.tar.gz: 76d1290741d4f01a1e5e86350b135e6e50dbea64dd036761dec8de38c17bda6e
5
5
  SHA512:
6
- metadata.gz: c9462b63e6130a34bf92b6f7471b279a2ae9b0086c02ebef0ed39c4a3582f4baab0785394a44f92a04c71ec851ab0c84fe8e7ba648132d1dc0d7fb0a2988abde
7
- data.tar.gz: 926bfa3897a7c39f19bc01bc12994eb067b95919b505fd04b148c4e5a31ff36a79732d1baf9b973c765b9a9e53b81f5ae7f630a3cf6c4eab6e91d77067763e3d
6
+ metadata.gz: 2cf907178bcbd44b87a17f3d22155e7db85a493e3d357dcd2dea2c3ca8204538df64b045500db812becceeeadd11cac16b4ca6d8b871e53634ecd353bdf62eee
7
+ data.tar.gz: 0275a3d8696151a2df1f43489705d5ea718b9ce4c9db7b0aecc35c7674c0977186544c71971346a681ec27f6e5a87559a69bc6224bcfc383c853988c90a22f32
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.90.0 (2024-04-03)
5
+ ------------------
6
+
7
+ * Feature - Add ability to specify Security Policies for SFTP Connectors
8
+
9
+ 1.89.0 (2024-03-08)
10
+ ------------------
11
+
12
+ * Feature - Added DES_EDE3_CBC to the list of supported encryption algorithms for messages sent with an AS2 connector.
13
+
4
14
  1.88.0 (2024-01-26)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.88.0
1
+ 1.90.0
@@ -678,7 +678,7 @@ module Aws::Transfer
678
678
  # sending files to an externally hosted AS2 server. For SFTP, the
679
679
  # connector is required when sending files to an SFTP server or
680
680
  # receiving files from an SFTP server. For more details about
681
- # connectors, see [Create AS2 connectors][1] and [Create SFTP
681
+ # connectors, see [Configure AS2 connectors][1] and [Create SFTP
682
682
  # connectors][2].
683
683
  #
684
684
  # <note markdown="1"> You must specify exactly one configuration object: either for AS2
@@ -688,7 +688,7 @@ module Aws::Transfer
688
688
  #
689
689
  #
690
690
  #
691
- # [1]: https://docs.aws.amazon.com/transfer/latest/userguide/create-b2b-server.html#configure-as2-connector
691
+ # [1]: https://docs.aws.amazon.com/transfer/latest/userguide/configure-as2-connector.html
692
692
  # [2]: https://docs.aws.amazon.com/transfer/latest/userguide/configure-sftp-connector.html
693
693
  #
694
694
  # @option params [required, String] :url
@@ -744,6 +744,9 @@ module Aws::Transfer
744
744
  # @option params [Types::SftpConnectorConfig] :sftp_config
745
745
  # A structure that contains the parameters for an SFTP connector object.
746
746
  #
747
+ # @option params [String] :security_policy_name
748
+ # Specifies the name of the security policy for the connector.
749
+ #
747
750
  # @return [Types::CreateConnectorResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
748
751
  #
749
752
  # * {Types::CreateConnectorResponse#connector_id #connector_id} => String
@@ -757,7 +760,7 @@ module Aws::Transfer
757
760
  # partner_profile_id: "ProfileId",
758
761
  # message_subject: "MessageSubject",
759
762
  # compression: "ZLIB", # accepts ZLIB, DISABLED
760
- # encryption_algorithm: "AES128_CBC", # accepts AES128_CBC, AES192_CBC, AES256_CBC, NONE
763
+ # encryption_algorithm: "AES128_CBC", # accepts AES128_CBC, AES192_CBC, AES256_CBC, DES_EDE3_CBC, NONE
761
764
  # signing_algorithm: "SHA256", # accepts SHA256, SHA384, SHA512, SHA1, NONE
762
765
  # mdn_signing_algorithm: "SHA256", # accepts SHA256, SHA384, SHA512, SHA1, NONE, DEFAULT
763
766
  # mdn_response: "SYNC", # accepts SYNC, NONE
@@ -775,6 +778,7 @@ module Aws::Transfer
775
778
  # user_secret_id: "SecretId",
776
779
  # trusted_host_keys: ["SftpConnectorTrustedHostKey"],
777
780
  # },
781
+ # security_policy_name: "ConnectorSecurityPolicyName",
778
782
  # })
779
783
  #
780
784
  # @example Response structure
@@ -1096,8 +1100,7 @@ module Aws::Transfer
1096
1100
  # Currently, only HTTP is supported.
1097
1101
  #
1098
1102
  # @option params [String] :security_policy_name
1099
- # Specifies the name of the security policy that is attached to the
1100
- # server.
1103
+ # Specifies the name of the security policy for the server.
1101
1104
  #
1102
1105
  # @option params [Array<Types::Tag>] :tags
1103
1106
  # Key-value pairs that can be used to group and search for servers.
@@ -2054,7 +2057,7 @@ module Aws::Transfer
2054
2057
  # resp.connector.as_2_config.partner_profile_id #=> String
2055
2058
  # resp.connector.as_2_config.message_subject #=> String
2056
2059
  # resp.connector.as_2_config.compression #=> String, one of "ZLIB", "DISABLED"
2057
- # resp.connector.as_2_config.encryption_algorithm #=> String, one of "AES128_CBC", "AES192_CBC", "AES256_CBC", "NONE"
2060
+ # resp.connector.as_2_config.encryption_algorithm #=> String, one of "AES128_CBC", "AES192_CBC", "AES256_CBC", "DES_EDE3_CBC", "NONE"
2058
2061
  # resp.connector.as_2_config.signing_algorithm #=> String, one of "SHA256", "SHA384", "SHA512", "SHA1", "NONE"
2059
2062
  # resp.connector.as_2_config.mdn_signing_algorithm #=> String, one of "SHA256", "SHA384", "SHA512", "SHA1", "NONE", "DEFAULT"
2060
2063
  # resp.connector.as_2_config.mdn_response #=> String, one of "SYNC", "NONE"
@@ -2069,6 +2072,7 @@ module Aws::Transfer
2069
2072
  # resp.connector.sftp_config.trusted_host_keys[0] #=> String
2070
2073
  # resp.connector.service_managed_egress_ip_addresses #=> Array
2071
2074
  # resp.connector.service_managed_egress_ip_addresses[0] #=> String
2075
+ # resp.connector.security_policy_name #=> String
2072
2076
  #
2073
2077
  # @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DescribeConnector AWS API Documentation
2074
2078
  #
@@ -2228,18 +2232,20 @@ module Aws::Transfer
2228
2232
  req.send_request(options)
2229
2233
  end
2230
2234
 
2231
- # Describes the security policy that is attached to your file transfer
2232
- # protocol-enabled server. The response contains a description of the
2233
- # security policy's properties. For more information about security
2234
- # policies, see [Working with security policies][1].
2235
+ # Describes the security policy that is attached to your server or SFTP
2236
+ # connector. The response contains a description of the security
2237
+ # policy's properties. For more information about security policies,
2238
+ # see [Working with security policies for servers][1] or [Working with
2239
+ # security policies for SFTP connectors][2].
2235
2240
  #
2236
2241
  #
2237
2242
  #
2238
2243
  # [1]: https://docs.aws.amazon.com/transfer/latest/userguide/security-policies.html
2244
+ # [2]: https://docs.aws.amazon.com/transfer/latest/userguide/security-policies-connectors.html
2239
2245
  #
2240
2246
  # @option params [required, String] :security_policy_name
2241
- # Specifies the name of the security policy that is attached to the
2242
- # server.
2247
+ # Specify the text name of the security policy for which you want the
2248
+ # details.
2243
2249
  #
2244
2250
  # @return [Types::DescribeSecurityPolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2245
2251
  #
@@ -2263,6 +2269,11 @@ module Aws::Transfer
2263
2269
  # resp.security_policy.ssh_macs[0] #=> String
2264
2270
  # resp.security_policy.tls_ciphers #=> Array
2265
2271
  # resp.security_policy.tls_ciphers[0] #=> String
2272
+ # resp.security_policy.ssh_host_key_algorithms #=> Array
2273
+ # resp.security_policy.ssh_host_key_algorithms[0] #=> String
2274
+ # resp.security_policy.type #=> String, one of "SERVER", "CONNECTOR"
2275
+ # resp.security_policy.protocols #=> Array
2276
+ # resp.security_policy.protocols[0] #=> String, one of "SFTP", "FTPS"
2266
2277
  #
2267
2278
  # @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DescribeSecurityPolicy AWS API Documentation
2268
2279
  #
@@ -3058,8 +3069,15 @@ module Aws::Transfer
3058
3069
  req.send_request(options)
3059
3070
  end
3060
3071
 
3061
- # Lists the security policies that are attached to your file transfer
3062
- # protocol-enabled servers.
3072
+ # Lists the security policies that are attached to your servers and SFTP
3073
+ # connectors. For more information about security policies, see [Working
3074
+ # with security policies for servers][1] or [Working with security
3075
+ # policies for SFTP connectors][2].
3076
+ #
3077
+ #
3078
+ #
3079
+ # [1]: https://docs.aws.amazon.com/transfer/latest/userguide/security-policies.html
3080
+ # [2]: https://docs.aws.amazon.com/transfer/latest/userguide/security-policies-connectors.html
3063
3081
  #
3064
3082
  # @option params [Integer] :max_results
3065
3083
  # Specifies the number of security policies to return as a response to
@@ -4046,6 +4064,9 @@ module Aws::Transfer
4046
4064
  # @option params [Types::SftpConnectorConfig] :sftp_config
4047
4065
  # A structure that contains the parameters for an SFTP connector object.
4048
4066
  #
4067
+ # @option params [String] :security_policy_name
4068
+ # Specifies the name of the security policy for the connector.
4069
+ #
4049
4070
  # @return [Types::UpdateConnectorResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4050
4071
  #
4051
4072
  # * {Types::UpdateConnectorResponse#connector_id #connector_id} => String
@@ -4060,7 +4081,7 @@ module Aws::Transfer
4060
4081
  # partner_profile_id: "ProfileId",
4061
4082
  # message_subject: "MessageSubject",
4062
4083
  # compression: "ZLIB", # accepts ZLIB, DISABLED
4063
- # encryption_algorithm: "AES128_CBC", # accepts AES128_CBC, AES192_CBC, AES256_CBC, NONE
4084
+ # encryption_algorithm: "AES128_CBC", # accepts AES128_CBC, AES192_CBC, AES256_CBC, DES_EDE3_CBC, NONE
4064
4085
  # signing_algorithm: "SHA256", # accepts SHA256, SHA384, SHA512, SHA1, NONE
4065
4086
  # mdn_signing_algorithm: "SHA256", # accepts SHA256, SHA384, SHA512, SHA1, NONE, DEFAULT
4066
4087
  # mdn_response: "SYNC", # accepts SYNC, NONE
@@ -4072,6 +4093,7 @@ module Aws::Transfer
4072
4093
  # user_secret_id: "SecretId",
4073
4094
  # trusted_host_keys: ["SftpConnectorTrustedHostKey"],
4074
4095
  # },
4096
+ # security_policy_name: "ConnectorSecurityPolicyName",
4075
4097
  # })
4076
4098
  #
4077
4099
  # @example Response structure
@@ -4373,8 +4395,7 @@ module Aws::Transfer
4373
4395
  # </note>
4374
4396
  #
4375
4397
  # @option params [String] :security_policy_name
4376
- # Specifies the name of the security policy that is attached to the
4377
- # server.
4398
+ # Specifies the name of the security policy for the server.
4378
4399
  #
4379
4400
  # @option params [required, String] :server_id
4380
4401
  # A system-assigned unique identifier for a server instance that the
@@ -4500,6 +4521,21 @@ module Aws::Transfer
4500
4521
  # The response returns the `ServerId` and the `UserName` for the updated
4501
4522
  # user.
4502
4523
  #
4524
+ # In the console, you can select *Restricted* when you create or update
4525
+ # a user. This ensures that the user can't access anything outside of
4526
+ # their home directory. The programmatic way to configure this behavior
4527
+ # is to update the user. Set their `HomeDirectoryType` to `LOGICAL`, and
4528
+ # specify `HomeDirectoryMappings` with `Entry` as root (`/`) and
4529
+ # `Target` as their home directory.
4530
+ #
4531
+ # For example, if the user's home directory is `/test/admin-user`, the
4532
+ # following command updates the user so that their configuration in the
4533
+ # console shows the *Restricted* flag as selected.
4534
+ #
4535
+ # ` aws transfer update-user --server-id <server-id> --user-name
4536
+ # admin-user --home-directory-type LOGICAL --home-directory-mappings
4537
+ # "[\{"Entry":"/", "Target":"/test/admin-user"\}]"`
4538
+ #
4503
4539
  # @option params [String] :home_directory
4504
4540
  # The landing directory (folder) for a user when they log in to the
4505
4541
  # server using the client.
@@ -4665,7 +4701,7 @@ module Aws::Transfer
4665
4701
  params: params,
4666
4702
  config: config)
4667
4703
  context[:gem_name] = 'aws-sdk-transfer'
4668
- context[:gem_version] = '1.88.0'
4704
+ context[:gem_version] = '1.90.0'
4669
4705
  Seahorse::Client::Request.new(handlers, context)
4670
4706
  end
4671
4707
 
@@ -38,6 +38,7 @@ module Aws::Transfer
38
38
  CompressionEnum = Shapes::StringShape.new(name: 'CompressionEnum')
39
39
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
40
40
  ConnectorId = Shapes::StringShape.new(name: 'ConnectorId')
41
+ ConnectorSecurityPolicyName = Shapes::StringShape.new(name: 'ConnectorSecurityPolicyName')
41
42
  CopyStepDetails = Shapes::StructureShape.new(name: 'CopyStepDetails')
42
43
  CreateAccessRequest = Shapes::StructureShape.new(name: 'CreateAccessRequest')
43
44
  CreateAccessResponse = Shapes::StructureShape.new(name: 'CreateAccessResponse')
@@ -246,6 +247,9 @@ module Aws::Transfer
246
247
  SecurityPolicyNames = Shapes::ListShape.new(name: 'SecurityPolicyNames')
247
248
  SecurityPolicyOption = Shapes::StringShape.new(name: 'SecurityPolicyOption')
248
249
  SecurityPolicyOptions = Shapes::ListShape.new(name: 'SecurityPolicyOptions')
250
+ SecurityPolicyProtocol = Shapes::StringShape.new(name: 'SecurityPolicyProtocol')
251
+ SecurityPolicyProtocols = Shapes::ListShape.new(name: 'SecurityPolicyProtocols')
252
+ SecurityPolicyResourceType = Shapes::StringShape.new(name: 'SecurityPolicyResourceType')
249
253
  SendWorkflowStepStateRequest = Shapes::StructureShape.new(name: 'SendWorkflowStepStateRequest')
250
254
  SendWorkflowStepStateResponse = Shapes::StructureShape.new(name: 'SendWorkflowStepStateResponse')
251
255
  ServerId = Shapes::StringShape.new(name: 'ServerId')
@@ -388,6 +392,7 @@ module Aws::Transfer
388
392
  CreateConnectorRequest.add_member(:logging_role, Shapes::ShapeRef.new(shape: Role, location_name: "LoggingRole"))
389
393
  CreateConnectorRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
390
394
  CreateConnectorRequest.add_member(:sftp_config, Shapes::ShapeRef.new(shape: SftpConnectorConfig, location_name: "SftpConfig"))
395
+ CreateConnectorRequest.add_member(:security_policy_name, Shapes::ShapeRef.new(shape: ConnectorSecurityPolicyName, location_name: "SecurityPolicyName"))
391
396
  CreateConnectorRequest.struct_class = Types::CreateConnectorRequest
392
397
 
393
398
  CreateConnectorResponse.add_member(:connector_id, Shapes::ShapeRef.new(shape: ConnectorId, required: true, location_name: "ConnectorId"))
@@ -622,6 +627,7 @@ module Aws::Transfer
622
627
  DescribedConnector.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
623
628
  DescribedConnector.add_member(:sftp_config, Shapes::ShapeRef.new(shape: SftpConnectorConfig, location_name: "SftpConfig"))
624
629
  DescribedConnector.add_member(:service_managed_egress_ip_addresses, Shapes::ShapeRef.new(shape: ServiceManagedEgressIpAddresses, location_name: "ServiceManagedEgressIpAddresses"))
630
+ DescribedConnector.add_member(:security_policy_name, Shapes::ShapeRef.new(shape: ConnectorSecurityPolicyName, location_name: "SecurityPolicyName"))
625
631
  DescribedConnector.struct_class = Types::DescribedConnector
626
632
 
627
633
  DescribedExecution.add_member(:execution_id, Shapes::ShapeRef.new(shape: ExecutionId, location_name: "ExecutionId"))
@@ -657,6 +663,9 @@ module Aws::Transfer
657
663
  DescribedSecurityPolicy.add_member(:ssh_kexs, Shapes::ShapeRef.new(shape: SecurityPolicyOptions, location_name: "SshKexs"))
658
664
  DescribedSecurityPolicy.add_member(:ssh_macs, Shapes::ShapeRef.new(shape: SecurityPolicyOptions, location_name: "SshMacs"))
659
665
  DescribedSecurityPolicy.add_member(:tls_ciphers, Shapes::ShapeRef.new(shape: SecurityPolicyOptions, location_name: "TlsCiphers"))
666
+ DescribedSecurityPolicy.add_member(:ssh_host_key_algorithms, Shapes::ShapeRef.new(shape: SecurityPolicyOptions, location_name: "SshHostKeyAlgorithms"))
667
+ DescribedSecurityPolicy.add_member(:type, Shapes::ShapeRef.new(shape: SecurityPolicyResourceType, location_name: "Type"))
668
+ DescribedSecurityPolicy.add_member(:protocols, Shapes::ShapeRef.new(shape: SecurityPolicyProtocols, location_name: "Protocols"))
660
669
  DescribedSecurityPolicy.struct_class = Types::DescribedSecurityPolicy
661
670
 
662
671
  DescribedServer.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "Arn"))
@@ -1054,6 +1063,8 @@ module Aws::Transfer
1054
1063
 
1055
1064
  SecurityPolicyOptions.member = Shapes::ShapeRef.new(shape: SecurityPolicyOption)
1056
1065
 
1066
+ SecurityPolicyProtocols.member = Shapes::ShapeRef.new(shape: SecurityPolicyProtocol)
1067
+
1057
1068
  SendWorkflowStepStateRequest.add_member(:workflow_id, Shapes::ShapeRef.new(shape: WorkflowId, required: true, location_name: "WorkflowId"))
1058
1069
  SendWorkflowStepStateRequest.add_member(:execution_id, Shapes::ShapeRef.new(shape: ExecutionId, required: true, location_name: "ExecutionId"))
1059
1070
  SendWorkflowStepStateRequest.add_member(:token, Shapes::ShapeRef.new(shape: CallbackToken, required: true, location_name: "Token"))
@@ -1190,6 +1201,7 @@ module Aws::Transfer
1190
1201
  UpdateConnectorRequest.add_member(:access_role, Shapes::ShapeRef.new(shape: Role, location_name: "AccessRole"))
1191
1202
  UpdateConnectorRequest.add_member(:logging_role, Shapes::ShapeRef.new(shape: Role, location_name: "LoggingRole"))
1192
1203
  UpdateConnectorRequest.add_member(:sftp_config, Shapes::ShapeRef.new(shape: SftpConnectorConfig, location_name: "SftpConfig"))
1204
+ UpdateConnectorRequest.add_member(:security_policy_name, Shapes::ShapeRef.new(shape: ConnectorSecurityPolicyName, location_name: "SecurityPolicyName"))
1193
1205
  UpdateConnectorRequest.struct_class = Types::UpdateConnectorRequest
1194
1206
 
1195
1207
  UpdateConnectorResponse.add_member(:connector_id, Shapes::ShapeRef.new(shape: ConnectorId, required: true, location_name: "ConnectorId"))
@@ -47,10 +47,14 @@ module Aws::Transfer
47
47
  # @!attribute [rw] encryption_algorithm
48
48
  # The algorithm that is used to encrypt the file.
49
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.
50
+ # Note the following:
52
51
  #
53
- # </note>
52
+ # * Do not use the `DES_EDE3_CBC` algorithm unless you must support a
53
+ # legacy client that requires it, as it is a weak encryption
54
+ # algorithm.
55
+ #
56
+ # * You can only specify `NONE` if the URL for your connector uses
57
+ # HTTPS. Using HTTPS ensures that no traffic is sent in clear text.
54
58
  # @return [String]
55
59
  #
56
60
  # @!attribute [rw] signing_algorithm
@@ -533,6 +537,10 @@ module Aws::Transfer
533
537
  # object.
534
538
  # @return [Types::SftpConnectorConfig]
535
539
  #
540
+ # @!attribute [rw] security_policy_name
541
+ # Specifies the name of the security policy for the connector.
542
+ # @return [String]
543
+ #
536
544
  # @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/CreateConnectorRequest AWS API Documentation
537
545
  #
538
546
  class CreateConnectorRequest < Struct.new(
@@ -541,7 +549,8 @@ module Aws::Transfer
541
549
  :access_role,
542
550
  :logging_role,
543
551
  :tags,
544
- :sftp_config)
552
+ :sftp_config,
553
+ :security_policy_name)
545
554
  SENSITIVE = []
546
555
  include Aws::Structure
547
556
  end
@@ -869,8 +878,7 @@ module Aws::Transfer
869
878
  # @return [Types::ProtocolDetails]
870
879
  #
871
880
  # @!attribute [rw] security_policy_name
872
- # Specifies the name of the security policy that is attached to the
873
- # server.
881
+ # Specifies the name of the security policy for the server.
874
882
  # @return [String]
875
883
  #
876
884
  # @!attribute [rw] tags
@@ -1732,8 +1740,8 @@ module Aws::Transfer
1732
1740
  end
1733
1741
 
1734
1742
  # @!attribute [rw] security_policy_name
1735
- # Specifies the name of the security policy that is attached to the
1736
- # server.
1743
+ # Specify the text name of the security policy for which you want the
1744
+ # details.
1737
1745
  # @return [String]
1738
1746
  #
1739
1747
  # @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DescribeSecurityPolicyRequest AWS API Documentation
@@ -2215,6 +2223,10 @@ module Aws::Transfer
2215
2223
  # addresses are assigned automatically when you create the connector.
2216
2224
  # @return [Array<String>]
2217
2225
  #
2226
+ # @!attribute [rw] security_policy_name
2227
+ # The text name of the security policy for the specified connector.
2228
+ # @return [String]
2229
+ #
2218
2230
  # @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DescribedConnector AWS API Documentation
2219
2231
  #
2220
2232
  class DescribedConnector < Struct.new(
@@ -2226,7 +2238,8 @@ module Aws::Transfer
2226
2238
  :logging_role,
2227
2239
  :tags,
2228
2240
  :sftp_config,
2229
- :service_managed_egress_ip_addresses)
2241
+ :service_managed_egress_ip_addresses,
2242
+ :security_policy_name)
2230
2243
  SENSITIVE = []
2231
2244
  include Aws::Structure
2232
2245
  end
@@ -2398,44 +2411,72 @@ module Aws::Transfer
2398
2411
  include Aws::Structure
2399
2412
  end
2400
2413
 
2401
- # Describes the properties of a security policy that was specified. For
2414
+ # Describes the properties of a security policy that you specify. For
2402
2415
  # more information about security policies, see [Working with security
2403
- # policies][1].
2416
+ # policies for servers][1] or [Working with security policies for SFTP
2417
+ # connectors][2].
2404
2418
  #
2405
2419
  #
2406
2420
  #
2407
2421
  # [1]: https://docs.aws.amazon.com/transfer/latest/userguide/security-policies.html
2422
+ # [2]: https://docs.aws.amazon.com/transfer/latest/userguide/security-policies-connectors.html
2408
2423
  #
2409
2424
  # @!attribute [rw] fips
2410
2425
  # Specifies whether this policy enables Federal Information Processing
2411
- # Standards (FIPS).
2426
+ # Standards (FIPS). This parameter applies to both server and
2427
+ # connector security policies.
2412
2428
  # @return [Boolean]
2413
2429
  #
2414
2430
  # @!attribute [rw] security_policy_name
2415
- # Specifies the name of the security policy that is attached to the
2416
- # server.
2431
+ # The text name of the specified security policy.
2417
2432
  # @return [String]
2418
2433
  #
2419
2434
  # @!attribute [rw] ssh_ciphers
2420
- # Specifies the enabled Secure Shell (SSH) cipher encryption
2421
- # algorithms in the security policy that is attached to the server.
2435
+ # Lists the enabled Secure Shell (SSH) cipher encryption algorithms in
2436
+ # the security policy that is attached to the server or connector.
2437
+ # This parameter applies to both server and connector security
2438
+ # policies.
2422
2439
  # @return [Array<String>]
2423
2440
  #
2424
2441
  # @!attribute [rw] ssh_kexs
2425
- # Specifies the enabled SSH key exchange (KEX) encryption algorithms
2426
- # in the security policy that is attached to the server.
2442
+ # Lists the enabled SSH key exchange (KEX) encryption algorithms in
2443
+ # the security policy that is attached to the server or connector.
2444
+ # This parameter applies to both server and connector security
2445
+ # policies.
2427
2446
  # @return [Array<String>]
2428
2447
  #
2429
2448
  # @!attribute [rw] ssh_macs
2430
- # Specifies the enabled SSH message authentication code (MAC)
2431
- # encryption algorithms in the security policy that is attached to the
2432
- # server.
2449
+ # Lists the enabled SSH message authentication code (MAC) encryption
2450
+ # algorithms in the security policy that is attached to the server or
2451
+ # connector. This parameter applies to both server and connector
2452
+ # security policies.
2433
2453
  # @return [Array<String>]
2434
2454
  #
2435
2455
  # @!attribute [rw] tls_ciphers
2436
- # Specifies the enabled Transport Layer Security (TLS) cipher
2437
- # encryption algorithms in the security policy that is attached to the
2438
- # server.
2456
+ # Lists the enabled Transport Layer Security (TLS) cipher encryption
2457
+ # algorithms in the security policy that is attached to the server.
2458
+ #
2459
+ # <note markdown="1"> This parameter only applies to security policies for servers.
2460
+ #
2461
+ # </note>
2462
+ # @return [Array<String>]
2463
+ #
2464
+ # @!attribute [rw] ssh_host_key_algorithms
2465
+ # Lists the host key algorithms for the security policy.
2466
+ #
2467
+ # <note markdown="1"> This parameter only applies to security policies for connectors.
2468
+ #
2469
+ # </note>
2470
+ # @return [Array<String>]
2471
+ #
2472
+ # @!attribute [rw] type
2473
+ # The resource type to which the security policy applies, either
2474
+ # server or connector.
2475
+ # @return [String]
2476
+ #
2477
+ # @!attribute [rw] protocols
2478
+ # Lists the file transfer protocols that the security policy applies
2479
+ # to.
2439
2480
  # @return [Array<String>]
2440
2481
  #
2441
2482
  # @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DescribedSecurityPolicy AWS API Documentation
@@ -2446,7 +2487,10 @@ module Aws::Transfer
2446
2487
  :ssh_ciphers,
2447
2488
  :ssh_kexs,
2448
2489
  :ssh_macs,
2449
- :tls_ciphers)
2490
+ :tls_ciphers,
2491
+ :ssh_host_key_algorithms,
2492
+ :type,
2493
+ :protocols)
2450
2494
  SENSITIVE = []
2451
2495
  include Aws::Structure
2452
2496
  end
@@ -2611,8 +2655,7 @@ module Aws::Transfer
2611
2655
  # @return [Array<String>]
2612
2656
  #
2613
2657
  # @!attribute [rw] security_policy_name
2614
- # Specifies the name of the security policy that is attached to the
2615
- # server.
2658
+ # Specifies the name of the security policy for the server.
2616
2659
  # @return [String]
2617
2660
  #
2618
2661
  # @!attribute [rw] server_id
@@ -2924,10 +2967,41 @@ module Aws::Transfer
2924
2967
  # A list of address allocation IDs that are required to attach an
2925
2968
  # Elastic IP address to your server's endpoint.
2926
2969
  #
2927
- # <note markdown="1"> This property can only be set when `EndpointType` is set to `VPC`
2928
- # and it is only valid in the `UpdateServer` API.
2970
+ # An address allocation ID corresponds to the allocation ID of an
2971
+ # Elastic IP address. This value can be retrieved from the
2972
+ # `allocationId` field from the Amazon EC2 [Address][1] data type. One
2973
+ # way to retrieve this value is by calling the EC2
2974
+ # [DescribeAddresses][2] API.
2975
+ #
2976
+ # This parameter is optional. Set this parameter if you want to make
2977
+ # your VPC endpoint public-facing. For details, see [Create an
2978
+ # internet-facing endpoint for your server][3].
2979
+ #
2980
+ # <note markdown="1"> This property can only be set as follows:
2981
+ #
2982
+ # * `EndpointType` must be set to `VPC`
2983
+ #
2984
+ # * The Transfer Family server must be offline.
2985
+ #
2986
+ # * You cannot set this parameter for Transfer Family servers that use
2987
+ # the FTP protocol.
2988
+ #
2989
+ # * The server must already have `SubnetIds` populated (`SubnetIds`
2990
+ # and `AddressAllocationIds` cannot be updated simultaneously).
2991
+ #
2992
+ # * `AddressAllocationIds` can't contain duplicates, and must be
2993
+ # equal in length to `SubnetIds`. For example, if you have three
2994
+ # subnet IDs, you must also specify three address allocation IDs.
2995
+ #
2996
+ # * Call the `UpdateServer` API to set or change this parameter.
2929
2997
  #
2930
2998
  # </note>
2999
+ #
3000
+ #
3001
+ #
3002
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_Address.html
3003
+ # [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeAddresses.html
3004
+ # [3]: https://docs.aws.amazon.com/transfer/latest/userguide/create-server-in-vpc.html#create-internet-facing-endpoint
2931
3005
  # @return [Array<String>]
2932
3006
  #
2933
3007
  # @!attribute [rw] subnet_ids
@@ -4929,6 +5003,15 @@ module Aws::Transfer
4929
5003
  # object is used for transferring files to and from a partner's SFTP
4930
5004
  # server.
4931
5005
  #
5006
+ # <note markdown="1"> Because the `SftpConnectorConfig` data type is used for both creating
5007
+ # and updating SFTP connectors, its parameters, `TrustedHostKeys` and
5008
+ # `UserSecretId` are marked as not required. This is a bit misleading,
5009
+ # as they are not required when you are updating an existing SFTP
5010
+ # connector, but *are required* when you are creating a new SFTP
5011
+ # connector.
5012
+ #
5013
+ # </note>
5014
+ #
4932
5015
  # @!attribute [rw] user_secret_id
4933
5016
  # The identifier for the secret (in Amazon Web Services Secrets
4934
5017
  # Manager) that contains the SFTP user's private key, password, or
@@ -4956,6 +5039,19 @@ module Aws::Transfer
4956
5039
  # `ecdsa-sha2-nistp256`, `ecdsa-sha2-nistp384`, or
4957
5040
  # `ecdsa-sha2-nistp521`, depending on the size of the key you
4958
5041
  # generated.
5042
+ #
5043
+ # Run this command to retrieve the SFTP server host key, where your
5044
+ # SFTP server name is `ftp.host.com`.
5045
+ #
5046
+ # `ssh-keyscan ftp.host.com`
5047
+ #
5048
+ # This prints the public host key to standard output.
5049
+ #
5050
+ # `ftp.host.com ssh-rsa AAAAB3Nza...<long-string-for-public-key`
5051
+ #
5052
+ # Copy and paste this string into the `TrustedHostKeys` field for the
5053
+ # `create-connector` command or into the **Trusted host keys** field
5054
+ # in the console.
4959
5055
  # @return [Array<String>]
4960
5056
  #
4961
5057
  # @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/SftpConnectorConfig AWS API Documentation
@@ -5689,6 +5785,10 @@ module Aws::Transfer
5689
5785
  # object.
5690
5786
  # @return [Types::SftpConnectorConfig]
5691
5787
  #
5788
+ # @!attribute [rw] security_policy_name
5789
+ # Specifies the name of the security policy for the connector.
5790
+ # @return [String]
5791
+ #
5692
5792
  # @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/UpdateConnectorRequest AWS API Documentation
5693
5793
  #
5694
5794
  class UpdateConnectorRequest < Struct.new(
@@ -5697,7 +5797,8 @@ module Aws::Transfer
5697
5797
  :as_2_config,
5698
5798
  :access_role,
5699
5799
  :logging_role,
5700
- :sftp_config)
5800
+ :sftp_config,
5801
+ :security_policy_name)
5701
5802
  SENSITIVE = []
5702
5803
  include Aws::Structure
5703
5804
  end
@@ -6003,8 +6104,7 @@ module Aws::Transfer
6003
6104
  # @return [Array<String>]
6004
6105
  #
6005
6106
  # @!attribute [rw] security_policy_name
6006
- # Specifies the name of the security policy that is attached to the
6007
- # server.
6107
+ # Specifies the name of the security policy for the server.
6008
6108
  # @return [String]
6009
6109
  #
6010
6110
  # @!attribute [rw] server_id
@@ -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.88.0'
56
+ GEM_VERSION = '1.90.0'
57
57
 
58
58
  end
data/sig/client.rbs CHANGED
@@ -135,7 +135,7 @@ module Aws
135
135
  partner_profile_id: ::String?,
136
136
  message_subject: ::String?,
137
137
  compression: ("ZLIB" | "DISABLED")?,
138
- encryption_algorithm: ("AES128_CBC" | "AES192_CBC" | "AES256_CBC" | "NONE")?,
138
+ encryption_algorithm: ("AES128_CBC" | "AES192_CBC" | "AES256_CBC" | "DES_EDE3_CBC" | "NONE")?,
139
139
  signing_algorithm: ("SHA256" | "SHA384" | "SHA512" | "SHA1" | "NONE")?,
140
140
  mdn_signing_algorithm: ("SHA256" | "SHA384" | "SHA512" | "SHA1" | "NONE" | "DEFAULT")?,
141
141
  mdn_response: ("SYNC" | "NONE")?,
@@ -152,7 +152,8 @@ module Aws
152
152
  ?sftp_config: {
153
153
  user_secret_id: ::String?,
154
154
  trusted_host_keys: Array[::String]?
155
- }
155
+ },
156
+ ?security_policy_name: ::String
156
157
  ) -> _CreateConnectorResponseSuccess
157
158
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateConnectorResponseSuccess
158
159
 
@@ -952,7 +953,7 @@ module Aws
952
953
  partner_profile_id: ::String?,
953
954
  message_subject: ::String?,
954
955
  compression: ("ZLIB" | "DISABLED")?,
955
- encryption_algorithm: ("AES128_CBC" | "AES192_CBC" | "AES256_CBC" | "NONE")?,
956
+ encryption_algorithm: ("AES128_CBC" | "AES192_CBC" | "AES256_CBC" | "DES_EDE3_CBC" | "NONE")?,
956
957
  signing_algorithm: ("SHA256" | "SHA384" | "SHA512" | "SHA1" | "NONE")?,
957
958
  mdn_signing_algorithm: ("SHA256" | "SHA384" | "SHA512" | "SHA1" | "NONE" | "DEFAULT")?,
958
959
  mdn_response: ("SYNC" | "NONE")?,
@@ -963,7 +964,8 @@ module Aws
963
964
  ?sftp_config: {
964
965
  user_secret_id: ::String?,
965
966
  trusted_host_keys: Array[::String]?
966
- }
967
+ },
968
+ ?security_policy_name: ::String
967
969
  ) -> _UpdateConnectorResponseSuccess
968
970
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateConnectorResponseSuccess
969
971
 
data/sig/types.rbs CHANGED
@@ -18,7 +18,7 @@ module Aws::Transfer
18
18
  attr_accessor partner_profile_id: ::String
19
19
  attr_accessor message_subject: ::String
20
20
  attr_accessor compression: ("ZLIB" | "DISABLED")
21
- attr_accessor encryption_algorithm: ("AES128_CBC" | "AES192_CBC" | "AES256_CBC" | "NONE")
21
+ attr_accessor encryption_algorithm: ("AES128_CBC" | "AES192_CBC" | "AES256_CBC" | "DES_EDE3_CBC" | "NONE")
22
22
  attr_accessor signing_algorithm: ("SHA256" | "SHA384" | "SHA512" | "SHA1" | "NONE")
23
23
  attr_accessor mdn_signing_algorithm: ("SHA256" | "SHA384" | "SHA512" | "SHA1" | "NONE" | "DEFAULT")
24
24
  attr_accessor mdn_response: ("SYNC" | "NONE")
@@ -81,6 +81,7 @@ module Aws::Transfer
81
81
  attr_accessor logging_role: ::String
82
82
  attr_accessor tags: ::Array[Types::Tag]
83
83
  attr_accessor sftp_config: Types::SftpConnectorConfig
84
+ attr_accessor security_policy_name: ::String
84
85
  SENSITIVE: []
85
86
  end
86
87
 
@@ -411,6 +412,7 @@ module Aws::Transfer
411
412
  attr_accessor tags: ::Array[Types::Tag]
412
413
  attr_accessor sftp_config: Types::SftpConnectorConfig
413
414
  attr_accessor service_managed_egress_ip_addresses: ::Array[::String]
415
+ attr_accessor security_policy_name: ::String
414
416
  SENSITIVE: []
415
417
  end
416
418
 
@@ -454,6 +456,9 @@ module Aws::Transfer
454
456
  attr_accessor ssh_kexs: ::Array[::String]
455
457
  attr_accessor ssh_macs: ::Array[::String]
456
458
  attr_accessor tls_ciphers: ::Array[::String]
459
+ attr_accessor ssh_host_key_algorithms: ::Array[::String]
460
+ attr_accessor type: ("SERVER" | "CONNECTOR")
461
+ attr_accessor protocols: ::Array[("SFTP" | "FTPS")]
457
462
  SENSITIVE: []
458
463
  end
459
464
 
@@ -1110,6 +1115,7 @@ module Aws::Transfer
1110
1115
  attr_accessor access_role: ::String
1111
1116
  attr_accessor logging_role: ::String
1112
1117
  attr_accessor sftp_config: Types::SftpConnectorConfig
1118
+ attr_accessor security_policy_name: ::String
1113
1119
  SENSITIVE: []
1114
1120
  end
1115
1121
 
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.88.0
4
+ version: 1.90.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: 2024-01-26 00:00:00.000000000 Z
11
+ date: 2024-04-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core