aws-sdk-transfer 1.89.0 → 1.91.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-transfer/client.rb +45 -17
- data/lib/aws-sdk-transfer/client_api.rb +12 -0
- data/lib/aws-sdk-transfer/types.rb +94 -33
- data/lib/aws-sdk-transfer.rb +1 -1
- data/sig/client.rbs +5 -3
- data/sig/types.rbs +9 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 91b565bd99a0c32392621b15463c51a0ae8818f2fcf40f6db5dfb591b05880f0
|
4
|
+
data.tar.gz: 236c12045314f4c89b848a1a1ae4d62f1ca0941a527ed5035ef1c1dec5afb098
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b8a0d7790a4ba71e81a3b68ae69860f6027a63a4c4d902b929347eea0979a364f7a5b7c8e52102c1175b7c60d12c351c0f184b25655c70ae7d03d027c23825bd
|
7
|
+
data.tar.gz: 34e0bc153374fa54b689cd08969ad5e479926bfdc4d9d91e2c0533ed93d016fdae8fd6666ad3e2afb09077bfd491d817bc9dbc717a0b3b5ab655f93bacbfe0c5
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.91.0 (2024-04-12)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This change releases support for importing self signed certificates to the Transfer Family for sending outbound file transfers over TLS/HTTPS.
|
8
|
+
|
9
|
+
1.90.0 (2024-04-03)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Add ability to specify Security Policies for SFTP Connectors
|
13
|
+
|
4
14
|
1.89.0 (2024-03-08)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.91.0
|
@@ -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
|
@@ -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
|
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.
|
@@ -2006,7 +2009,7 @@ module Aws::Transfer
|
|
2006
2009
|
#
|
2007
2010
|
# resp.certificate.arn #=> String
|
2008
2011
|
# resp.certificate.certificate_id #=> String
|
2009
|
-
# resp.certificate.usage #=> String, one of "SIGNING", "ENCRYPTION"
|
2012
|
+
# resp.certificate.usage #=> String, one of "SIGNING", "ENCRYPTION", "TLS"
|
2010
2013
|
# resp.certificate.status #=> String, one of "ACTIVE", "PENDING_ROTATION", "INACTIVE"
|
2011
2014
|
# resp.certificate.certificate #=> String
|
2012
2015
|
# resp.certificate.certificate_chain #=> String
|
@@ -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
|
2232
|
-
#
|
2233
|
-
#
|
2234
|
-
#
|
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
|
-
#
|
2242
|
-
#
|
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
|
#
|
@@ -2512,7 +2523,14 @@ module Aws::Transfer
|
|
2512
2523
|
# create local (AS2) profiles and partner profiles.
|
2513
2524
|
#
|
2514
2525
|
# @option params [required, String] :usage
|
2515
|
-
# Specifies
|
2526
|
+
# Specifies how this certificate is used. It can be used in the
|
2527
|
+
# following ways:
|
2528
|
+
#
|
2529
|
+
# * `SIGNING`: For signing AS2 messages
|
2530
|
+
#
|
2531
|
+
# * `ENCRYPTION`: For encrypting AS2 messages
|
2532
|
+
#
|
2533
|
+
# * `TLS`: For securing AS2 communications sent over HTTPS
|
2516
2534
|
#
|
2517
2535
|
# @option params [required, String] :certificate
|
2518
2536
|
# * For the CLI, provide a file path for a certificate in URI format.
|
@@ -2553,7 +2571,7 @@ module Aws::Transfer
|
|
2553
2571
|
# @example Request syntax with placeholder values
|
2554
2572
|
#
|
2555
2573
|
# resp = client.import_certificate({
|
2556
|
-
# usage: "SIGNING", # required, accepts SIGNING, ENCRYPTION
|
2574
|
+
# usage: "SIGNING", # required, accepts SIGNING, ENCRYPTION, TLS
|
2557
2575
|
# certificate: "CertificateBodyType", # required
|
2558
2576
|
# certificate_chain: "CertificateChainType",
|
2559
2577
|
# private_key: "PrivateKeyType",
|
@@ -2821,7 +2839,7 @@ module Aws::Transfer
|
|
2821
2839
|
# resp.certificates #=> Array
|
2822
2840
|
# resp.certificates[0].arn #=> String
|
2823
2841
|
# resp.certificates[0].certificate_id #=> String
|
2824
|
-
# resp.certificates[0].usage #=> String, one of "SIGNING", "ENCRYPTION"
|
2842
|
+
# resp.certificates[0].usage #=> String, one of "SIGNING", "ENCRYPTION", "TLS"
|
2825
2843
|
# resp.certificates[0].status #=> String, one of "ACTIVE", "PENDING_ROTATION", "INACTIVE"
|
2826
2844
|
# resp.certificates[0].active_date #=> Time
|
2827
2845
|
# resp.certificates[0].inactive_date #=> Time
|
@@ -3058,8 +3076,15 @@ module Aws::Transfer
|
|
3058
3076
|
req.send_request(options)
|
3059
3077
|
end
|
3060
3078
|
|
3061
|
-
# Lists the security policies that are attached to your
|
3062
|
-
#
|
3079
|
+
# Lists the security policies that are attached to your servers and SFTP
|
3080
|
+
# connectors. For more information about security policies, see [Working
|
3081
|
+
# with security policies for servers][1] or [Working with security
|
3082
|
+
# policies for SFTP connectors][2].
|
3083
|
+
#
|
3084
|
+
#
|
3085
|
+
#
|
3086
|
+
# [1]: https://docs.aws.amazon.com/transfer/latest/userguide/security-policies.html
|
3087
|
+
# [2]: https://docs.aws.amazon.com/transfer/latest/userguide/security-policies-connectors.html
|
3063
3088
|
#
|
3064
3089
|
# @option params [Integer] :max_results
|
3065
3090
|
# Specifies the number of security policies to return as a response to
|
@@ -4046,6 +4071,9 @@ module Aws::Transfer
|
|
4046
4071
|
# @option params [Types::SftpConnectorConfig] :sftp_config
|
4047
4072
|
# A structure that contains the parameters for an SFTP connector object.
|
4048
4073
|
#
|
4074
|
+
# @option params [String] :security_policy_name
|
4075
|
+
# Specifies the name of the security policy for the connector.
|
4076
|
+
#
|
4049
4077
|
# @return [Types::UpdateConnectorResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4050
4078
|
#
|
4051
4079
|
# * {Types::UpdateConnectorResponse#connector_id #connector_id} => String
|
@@ -4072,6 +4100,7 @@ module Aws::Transfer
|
|
4072
4100
|
# user_secret_id: "SecretId",
|
4073
4101
|
# trusted_host_keys: ["SftpConnectorTrustedHostKey"],
|
4074
4102
|
# },
|
4103
|
+
# security_policy_name: "ConnectorSecurityPolicyName",
|
4075
4104
|
# })
|
4076
4105
|
#
|
4077
4106
|
# @example Response structure
|
@@ -4373,8 +4402,7 @@ module Aws::Transfer
|
|
4373
4402
|
# </note>
|
4374
4403
|
#
|
4375
4404
|
# @option params [String] :security_policy_name
|
4376
|
-
# Specifies the name of the security policy
|
4377
|
-
# server.
|
4405
|
+
# Specifies the name of the security policy for the server.
|
4378
4406
|
#
|
4379
4407
|
# @option params [required, String] :server_id
|
4380
4408
|
# A system-assigned unique identifier for a server instance that the
|
@@ -4680,7 +4708,7 @@ module Aws::Transfer
|
|
4680
4708
|
params: params,
|
4681
4709
|
config: config)
|
4682
4710
|
context[:gem_name] = 'aws-sdk-transfer'
|
4683
|
-
context[:gem_version] = '1.
|
4711
|
+
context[:gem_version] = '1.91.0'
|
4684
4712
|
Seahorse::Client::Request.new(handlers, context)
|
4685
4713
|
end
|
4686
4714
|
|
@@ -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"))
|
@@ -537,6 +537,10 @@ module Aws::Transfer
|
|
537
537
|
# object.
|
538
538
|
# @return [Types::SftpConnectorConfig]
|
539
539
|
#
|
540
|
+
# @!attribute [rw] security_policy_name
|
541
|
+
# Specifies the name of the security policy for the connector.
|
542
|
+
# @return [String]
|
543
|
+
#
|
540
544
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/CreateConnectorRequest AWS API Documentation
|
541
545
|
#
|
542
546
|
class CreateConnectorRequest < Struct.new(
|
@@ -545,7 +549,8 @@ module Aws::Transfer
|
|
545
549
|
:access_role,
|
546
550
|
:logging_role,
|
547
551
|
:tags,
|
548
|
-
:sftp_config
|
552
|
+
:sftp_config,
|
553
|
+
:security_policy_name)
|
549
554
|
SENSITIVE = []
|
550
555
|
include Aws::Structure
|
551
556
|
end
|
@@ -873,8 +878,7 @@ module Aws::Transfer
|
|
873
878
|
# @return [Types::ProtocolDetails]
|
874
879
|
#
|
875
880
|
# @!attribute [rw] security_policy_name
|
876
|
-
# Specifies the name of the security policy
|
877
|
-
# server.
|
881
|
+
# Specifies the name of the security policy for the server.
|
878
882
|
# @return [String]
|
879
883
|
#
|
880
884
|
# @!attribute [rw] tags
|
@@ -1736,8 +1740,8 @@ module Aws::Transfer
|
|
1736
1740
|
end
|
1737
1741
|
|
1738
1742
|
# @!attribute [rw] security_policy_name
|
1739
|
-
#
|
1740
|
-
#
|
1743
|
+
# Specify the text name of the security policy for which you want the
|
1744
|
+
# details.
|
1741
1745
|
# @return [String]
|
1742
1746
|
#
|
1743
1747
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DescribeSecurityPolicyRequest AWS API Documentation
|
@@ -2067,8 +2071,14 @@ module Aws::Transfer
|
|
2067
2071
|
# @return [String]
|
2068
2072
|
#
|
2069
2073
|
# @!attribute [rw] usage
|
2070
|
-
# Specifies
|
2071
|
-
#
|
2074
|
+
# Specifies how this certificate is used. It can be used in the
|
2075
|
+
# following ways:
|
2076
|
+
#
|
2077
|
+
# * `SIGNING`: For signing AS2 messages
|
2078
|
+
#
|
2079
|
+
# * `ENCRYPTION`: For encrypting AS2 messages
|
2080
|
+
#
|
2081
|
+
# * `TLS`: For securing AS2 communications sent over HTTPS
|
2072
2082
|
# @return [String]
|
2073
2083
|
#
|
2074
2084
|
# @!attribute [rw] status
|
@@ -2219,6 +2229,10 @@ module Aws::Transfer
|
|
2219
2229
|
# addresses are assigned automatically when you create the connector.
|
2220
2230
|
# @return [Array<String>]
|
2221
2231
|
#
|
2232
|
+
# @!attribute [rw] security_policy_name
|
2233
|
+
# The text name of the security policy for the specified connector.
|
2234
|
+
# @return [String]
|
2235
|
+
#
|
2222
2236
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DescribedConnector AWS API Documentation
|
2223
2237
|
#
|
2224
2238
|
class DescribedConnector < Struct.new(
|
@@ -2230,7 +2244,8 @@ module Aws::Transfer
|
|
2230
2244
|
:logging_role,
|
2231
2245
|
:tags,
|
2232
2246
|
:sftp_config,
|
2233
|
-
:service_managed_egress_ip_addresses
|
2247
|
+
:service_managed_egress_ip_addresses,
|
2248
|
+
:security_policy_name)
|
2234
2249
|
SENSITIVE = []
|
2235
2250
|
include Aws::Structure
|
2236
2251
|
end
|
@@ -2402,44 +2417,72 @@ module Aws::Transfer
|
|
2402
2417
|
include Aws::Structure
|
2403
2418
|
end
|
2404
2419
|
|
2405
|
-
# Describes the properties of a security policy that
|
2420
|
+
# Describes the properties of a security policy that you specify. For
|
2406
2421
|
# more information about security policies, see [Working with security
|
2407
|
-
# policies][1]
|
2422
|
+
# policies for servers][1] or [Working with security policies for SFTP
|
2423
|
+
# connectors][2].
|
2408
2424
|
#
|
2409
2425
|
#
|
2410
2426
|
#
|
2411
2427
|
# [1]: https://docs.aws.amazon.com/transfer/latest/userguide/security-policies.html
|
2428
|
+
# [2]: https://docs.aws.amazon.com/transfer/latest/userguide/security-policies-connectors.html
|
2412
2429
|
#
|
2413
2430
|
# @!attribute [rw] fips
|
2414
2431
|
# Specifies whether this policy enables Federal Information Processing
|
2415
|
-
# Standards (FIPS).
|
2432
|
+
# Standards (FIPS). This parameter applies to both server and
|
2433
|
+
# connector security policies.
|
2416
2434
|
# @return [Boolean]
|
2417
2435
|
#
|
2418
2436
|
# @!attribute [rw] security_policy_name
|
2419
|
-
#
|
2420
|
-
# server.
|
2437
|
+
# The text name of the specified security policy.
|
2421
2438
|
# @return [String]
|
2422
2439
|
#
|
2423
2440
|
# @!attribute [rw] ssh_ciphers
|
2424
|
-
#
|
2425
|
-
#
|
2441
|
+
# Lists the enabled Secure Shell (SSH) cipher encryption algorithms in
|
2442
|
+
# the security policy that is attached to the server or connector.
|
2443
|
+
# This parameter applies to both server and connector security
|
2444
|
+
# policies.
|
2426
2445
|
# @return [Array<String>]
|
2427
2446
|
#
|
2428
2447
|
# @!attribute [rw] ssh_kexs
|
2429
|
-
#
|
2430
|
-
#
|
2448
|
+
# Lists the enabled SSH key exchange (KEX) encryption algorithms in
|
2449
|
+
# the security policy that is attached to the server or connector.
|
2450
|
+
# This parameter applies to both server and connector security
|
2451
|
+
# policies.
|
2431
2452
|
# @return [Array<String>]
|
2432
2453
|
#
|
2433
2454
|
# @!attribute [rw] ssh_macs
|
2434
|
-
#
|
2435
|
-
#
|
2436
|
-
# server
|
2455
|
+
# Lists the enabled SSH message authentication code (MAC) encryption
|
2456
|
+
# algorithms in the security policy that is attached to the server or
|
2457
|
+
# connector. This parameter applies to both server and connector
|
2458
|
+
# security policies.
|
2437
2459
|
# @return [Array<String>]
|
2438
2460
|
#
|
2439
2461
|
# @!attribute [rw] tls_ciphers
|
2440
|
-
#
|
2441
|
-
#
|
2442
|
-
#
|
2462
|
+
# Lists the enabled Transport Layer Security (TLS) cipher encryption
|
2463
|
+
# algorithms in the security policy that is attached to the server.
|
2464
|
+
#
|
2465
|
+
# <note markdown="1"> This parameter only applies to security policies for servers.
|
2466
|
+
#
|
2467
|
+
# </note>
|
2468
|
+
# @return [Array<String>]
|
2469
|
+
#
|
2470
|
+
# @!attribute [rw] ssh_host_key_algorithms
|
2471
|
+
# Lists the host key algorithms for the security policy.
|
2472
|
+
#
|
2473
|
+
# <note markdown="1"> This parameter only applies to security policies for connectors.
|
2474
|
+
#
|
2475
|
+
# </note>
|
2476
|
+
# @return [Array<String>]
|
2477
|
+
#
|
2478
|
+
# @!attribute [rw] type
|
2479
|
+
# The resource type to which the security policy applies, either
|
2480
|
+
# server or connector.
|
2481
|
+
# @return [String]
|
2482
|
+
#
|
2483
|
+
# @!attribute [rw] protocols
|
2484
|
+
# Lists the file transfer protocols that the security policy applies
|
2485
|
+
# to.
|
2443
2486
|
# @return [Array<String>]
|
2444
2487
|
#
|
2445
2488
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DescribedSecurityPolicy AWS API Documentation
|
@@ -2450,7 +2493,10 @@ module Aws::Transfer
|
|
2450
2493
|
:ssh_ciphers,
|
2451
2494
|
:ssh_kexs,
|
2452
2495
|
:ssh_macs,
|
2453
|
-
:tls_ciphers
|
2496
|
+
:tls_ciphers,
|
2497
|
+
:ssh_host_key_algorithms,
|
2498
|
+
:type,
|
2499
|
+
:protocols)
|
2454
2500
|
SENSITIVE = []
|
2455
2501
|
include Aws::Structure
|
2456
2502
|
end
|
@@ -2615,8 +2661,7 @@ module Aws::Transfer
|
|
2615
2661
|
# @return [Array<String>]
|
2616
2662
|
#
|
2617
2663
|
# @!attribute [rw] security_policy_name
|
2618
|
-
# Specifies the name of the security policy
|
2619
|
-
# server.
|
2664
|
+
# Specifies the name of the security policy for the server.
|
2620
2665
|
# @return [String]
|
2621
2666
|
#
|
2622
2667
|
# @!attribute [rw] server_id
|
@@ -3255,8 +3300,14 @@ module Aws::Transfer
|
|
3255
3300
|
end
|
3256
3301
|
|
3257
3302
|
# @!attribute [rw] usage
|
3258
|
-
# Specifies
|
3259
|
-
#
|
3303
|
+
# Specifies how this certificate is used. It can be used in the
|
3304
|
+
# following ways:
|
3305
|
+
#
|
3306
|
+
# * `SIGNING`: For signing AS2 messages
|
3307
|
+
#
|
3308
|
+
# * `ENCRYPTION`: For encrypting AS2 messages
|
3309
|
+
#
|
3310
|
+
# * `TLS`: For securing AS2 communications sent over HTTPS
|
3260
3311
|
# @return [String]
|
3261
3312
|
#
|
3262
3313
|
# @!attribute [rw] certificate
|
@@ -4186,8 +4237,14 @@ module Aws::Transfer
|
|
4186
4237
|
# @return [String]
|
4187
4238
|
#
|
4188
4239
|
# @!attribute [rw] usage
|
4189
|
-
# Specifies
|
4190
|
-
#
|
4240
|
+
# Specifies how this certificate is used. It can be used in the
|
4241
|
+
# following ways:
|
4242
|
+
#
|
4243
|
+
# * `SIGNING`: For signing AS2 messages
|
4244
|
+
#
|
4245
|
+
# * `ENCRYPTION`: For encrypting AS2 messages
|
4246
|
+
#
|
4247
|
+
# * `TLS`: For securing AS2 communications sent over HTTPS
|
4191
4248
|
# @return [String]
|
4192
4249
|
#
|
4193
4250
|
# @!attribute [rw] status
|
@@ -5746,6 +5803,10 @@ module Aws::Transfer
|
|
5746
5803
|
# object.
|
5747
5804
|
# @return [Types::SftpConnectorConfig]
|
5748
5805
|
#
|
5806
|
+
# @!attribute [rw] security_policy_name
|
5807
|
+
# Specifies the name of the security policy for the connector.
|
5808
|
+
# @return [String]
|
5809
|
+
#
|
5749
5810
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/UpdateConnectorRequest AWS API Documentation
|
5750
5811
|
#
|
5751
5812
|
class UpdateConnectorRequest < Struct.new(
|
@@ -5754,7 +5815,8 @@ module Aws::Transfer
|
|
5754
5815
|
:as_2_config,
|
5755
5816
|
:access_role,
|
5756
5817
|
:logging_role,
|
5757
|
-
:sftp_config
|
5818
|
+
:sftp_config,
|
5819
|
+
:security_policy_name)
|
5758
5820
|
SENSITIVE = []
|
5759
5821
|
include Aws::Structure
|
5760
5822
|
end
|
@@ -6060,8 +6122,7 @@ module Aws::Transfer
|
|
6060
6122
|
# @return [Array<String>]
|
6061
6123
|
#
|
6062
6124
|
# @!attribute [rw] security_policy_name
|
6063
|
-
# Specifies the name of the security policy
|
6064
|
-
# server.
|
6125
|
+
# Specifies the name of the security policy for the server.
|
6065
6126
|
# @return [String]
|
6066
6127
|
#
|
6067
6128
|
# @!attribute [rw] server_id
|
data/lib/aws-sdk-transfer.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -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
|
|
@@ -590,7 +591,7 @@ module Aws
|
|
590
591
|
end
|
591
592
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Transfer/Client.html#import_certificate-instance_method
|
592
593
|
def import_certificate: (
|
593
|
-
usage: ("SIGNING" | "ENCRYPTION"),
|
594
|
+
usage: ("SIGNING" | "ENCRYPTION" | "TLS"),
|
594
595
|
certificate: ::String,
|
595
596
|
?certificate_chain: ::String,
|
596
597
|
?private_key: ::String,
|
@@ -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
@@ -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
|
|
@@ -386,7 +387,7 @@ module Aws::Transfer
|
|
386
387
|
class DescribedCertificate
|
387
388
|
attr_accessor arn: ::String
|
388
389
|
attr_accessor certificate_id: ::String
|
389
|
-
attr_accessor usage: ("SIGNING" | "ENCRYPTION")
|
390
|
+
attr_accessor usage: ("SIGNING" | "ENCRYPTION" | "TLS")
|
390
391
|
attr_accessor status: ("ACTIVE" | "PENDING_ROTATION" | "INACTIVE")
|
391
392
|
attr_accessor certificate: ::String
|
392
393
|
attr_accessor certificate_chain: ::String
|
@@ -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
|
|
@@ -564,7 +569,7 @@ module Aws::Transfer
|
|
564
569
|
end
|
565
570
|
|
566
571
|
class ImportCertificateRequest
|
567
|
-
attr_accessor usage: ("SIGNING" | "ENCRYPTION")
|
572
|
+
attr_accessor usage: ("SIGNING" | "ENCRYPTION" | "TLS")
|
568
573
|
attr_accessor certificate: ::String
|
569
574
|
attr_accessor certificate_chain: ::String
|
570
575
|
attr_accessor private_key: ::String
|
@@ -807,7 +812,7 @@ module Aws::Transfer
|
|
807
812
|
class ListedCertificate
|
808
813
|
attr_accessor arn: ::String
|
809
814
|
attr_accessor certificate_id: ::String
|
810
|
-
attr_accessor usage: ("SIGNING" | "ENCRYPTION")
|
815
|
+
attr_accessor usage: ("SIGNING" | "ENCRYPTION" | "TLS")
|
811
816
|
attr_accessor status: ("ACTIVE" | "PENDING_ROTATION" | "INACTIVE")
|
812
817
|
attr_accessor active_date: ::Time
|
813
818
|
attr_accessor inactive_date: ::Time
|
@@ -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.
|
4
|
+
version: 1.91.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-
|
11
|
+
date: 2024-04-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|