aws-sdk-transfer 1.72.0 → 1.74.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-transfer/client.rb +39 -1
- data/lib/aws-sdk-transfer/client_api.rb +2 -0
- data/lib/aws-sdk-transfer/types.rb +80 -1
- data/lib/aws-sdk-transfer.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5e379146c733532ac161e8ed5a63dffc3118cd4d7b69294ff56a8f0f664cbc9a
|
4
|
+
data.tar.gz: 2ff49c06ec9b15c8ef9ded0ecd274734b4c28ff73f50821f408c435aec741798
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0aa7f1029f5861457cac7999837fd4e3244e5a90b6d413a0dbf19165e8f924f403661e222195fda2cf5ec220d080795a97f599d757c456c690ab525d9418c2a1
|
7
|
+
data.tar.gz: 71e5f56fa75d4e284f86734802d583765b5593fe72c7d7c3487f35f681e3fc4190a1a9bb893a107283357cca15eb259ca2cf26a5f1f4bc763880187537747db3
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.74.0 (2023-07-06)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.73.0 (2023-06-30)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Add outbound Basic authentication support to AS2 connectors
|
13
|
+
|
4
14
|
1.72.0 (2023-06-28)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.74.0
|
@@ -28,6 +28,7 @@ require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
|
28
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
29
|
require 'aws-sdk-core/plugins/http_checksum.rb'
|
30
30
|
require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
31
|
+
require 'aws-sdk-core/plugins/request_compression.rb'
|
31
32
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
32
33
|
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
33
34
|
require 'aws-sdk-core/plugins/sign.rb'
|
@@ -77,6 +78,7 @@ module Aws::Transfer
|
|
77
78
|
add_plugin(Aws::Plugins::TransferEncoding)
|
78
79
|
add_plugin(Aws::Plugins::HttpChecksum)
|
79
80
|
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
81
|
+
add_plugin(Aws::Plugins::RequestCompression)
|
80
82
|
add_plugin(Aws::Plugins::DefaultsMode)
|
81
83
|
add_plugin(Aws::Plugins::RecursionDetection)
|
82
84
|
add_plugin(Aws::Plugins::Sign)
|
@@ -190,6 +192,10 @@ module Aws::Transfer
|
|
190
192
|
# Set to true to disable SDK automatically adding host prefix
|
191
193
|
# to default service endpoint when available.
|
192
194
|
#
|
195
|
+
# @option options [Boolean] :disable_request_compression (false)
|
196
|
+
# When set to 'true' the request body will not be compressed
|
197
|
+
# for supported operations.
|
198
|
+
#
|
193
199
|
# @option options [String] :endpoint
|
194
200
|
# The client endpoint is normally constructed from the `:region`
|
195
201
|
# option. You should only configure an `:endpoint` when connecting
|
@@ -230,6 +236,11 @@ module Aws::Transfer
|
|
230
236
|
# Used when loading credentials from the shared credentials file
|
231
237
|
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
232
238
|
#
|
239
|
+
# @option options [Integer] :request_min_compression_size_bytes (10240)
|
240
|
+
# The minimum size in bytes that triggers compression for request
|
241
|
+
# bodies. The value must be non-negative integer value between 0
|
242
|
+
# and 10485780 bytes inclusive.
|
243
|
+
#
|
233
244
|
# @option options [Proc] :retry_backoff
|
234
245
|
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
235
246
|
# This option is only used in the `legacy` retry mode.
|
@@ -582,6 +593,12 @@ module Aws::Transfer
|
|
582
593
|
# the parent directory of the files that you intend to send with
|
583
594
|
# `StartFileTransfer`.
|
584
595
|
#
|
596
|
+
# If you are using Basic authentication for your AS2 connector, the
|
597
|
+
# access role requires the `secretsmanager:GetSecretValue` permission
|
598
|
+
# for the secret. If the secret is encrypted using a customer-managed
|
599
|
+
# key instead of the Amazon Web Services managed key in Secrets Manager,
|
600
|
+
# then the role also needs the `kms:Decrypt` permission for that key.
|
601
|
+
#
|
585
602
|
# @option params [String] :status
|
586
603
|
# The status of the agreement. The agreement can be either `ACTIVE` or
|
587
604
|
# `INACTIVE`.
|
@@ -653,6 +670,12 @@ module Aws::Transfer
|
|
653
670
|
# the parent directory of the files that you intend to send with
|
654
671
|
# `StartFileTransfer`.
|
655
672
|
#
|
673
|
+
# If you are using Basic authentication for your AS2 connector, the
|
674
|
+
# access role requires the `secretsmanager:GetSecretValue` permission
|
675
|
+
# for the secret. If the secret is encrypted using a customer-managed
|
676
|
+
# key instead of the Amazon Web Services managed key in Secrets Manager,
|
677
|
+
# then the role also needs the `kms:Decrypt` permission for that key.
|
678
|
+
#
|
656
679
|
# @option params [String] :logging_role
|
657
680
|
# The Amazon Resource Name (ARN) of the Identity and Access Management
|
658
681
|
# (IAM) role that allows a connector to turn on CloudWatch logging for
|
@@ -680,6 +703,7 @@ module Aws::Transfer
|
|
680
703
|
# signing_algorithm: "SHA256", # accepts SHA256, SHA384, SHA512, SHA1, NONE
|
681
704
|
# mdn_signing_algorithm: "SHA256", # accepts SHA256, SHA384, SHA512, SHA1, NONE, DEFAULT
|
682
705
|
# mdn_response: "SYNC", # accepts SYNC, NONE
|
706
|
+
# basic_auth_secret_id: "As2ConnectorSecretId",
|
683
707
|
# },
|
684
708
|
# access_role: "Role", # required
|
685
709
|
# logging_role: "Role",
|
@@ -1945,6 +1969,7 @@ module Aws::Transfer
|
|
1945
1969
|
# resp.connector.as_2_config.signing_algorithm #=> String, one of "SHA256", "SHA384", "SHA512", "SHA1", "NONE"
|
1946
1970
|
# resp.connector.as_2_config.mdn_signing_algorithm #=> String, one of "SHA256", "SHA384", "SHA512", "SHA1", "NONE", "DEFAULT"
|
1947
1971
|
# resp.connector.as_2_config.mdn_response #=> String, one of "SYNC", "NONE"
|
1972
|
+
# resp.connector.as_2_config.basic_auth_secret_id #=> String
|
1948
1973
|
# resp.connector.access_role #=> String
|
1949
1974
|
# resp.connector.logging_role #=> String
|
1950
1975
|
# resp.connector.tags #=> Array
|
@@ -3688,6 +3713,12 @@ module Aws::Transfer
|
|
3688
3713
|
# the parent directory of the files that you intend to send with
|
3689
3714
|
# `StartFileTransfer`.
|
3690
3715
|
#
|
3716
|
+
# If you are using Basic authentication for your AS2 connector, the
|
3717
|
+
# access role requires the `secretsmanager:GetSecretValue` permission
|
3718
|
+
# for the secret. If the secret is encrypted using a customer-managed
|
3719
|
+
# key instead of the Amazon Web Services managed key in Secrets Manager,
|
3720
|
+
# then the role also needs the `kms:Decrypt` permission for that key.
|
3721
|
+
#
|
3691
3722
|
# @return [Types::UpdateAgreementResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3692
3723
|
#
|
3693
3724
|
# * {Types::UpdateAgreementResponse#agreement_id #agreement_id} => String
|
@@ -3785,6 +3816,12 @@ module Aws::Transfer
|
|
3785
3816
|
# the parent directory of the files that you intend to send with
|
3786
3817
|
# `StartFileTransfer`.
|
3787
3818
|
#
|
3819
|
+
# If you are using Basic authentication for your AS2 connector, the
|
3820
|
+
# access role requires the `secretsmanager:GetSecretValue` permission
|
3821
|
+
# for the secret. If the secret is encrypted using a customer-managed
|
3822
|
+
# key instead of the Amazon Web Services managed key in Secrets Manager,
|
3823
|
+
# then the role also needs the `kms:Decrypt` permission for that key.
|
3824
|
+
#
|
3788
3825
|
# @option params [String] :logging_role
|
3789
3826
|
# The Amazon Resource Name (ARN) of the Identity and Access Management
|
3790
3827
|
# (IAM) role that allows a connector to turn on CloudWatch logging for
|
@@ -3809,6 +3846,7 @@ module Aws::Transfer
|
|
3809
3846
|
# signing_algorithm: "SHA256", # accepts SHA256, SHA384, SHA512, SHA1, NONE
|
3810
3847
|
# mdn_signing_algorithm: "SHA256", # accepts SHA256, SHA384, SHA512, SHA1, NONE, DEFAULT
|
3811
3848
|
# mdn_response: "SYNC", # accepts SYNC, NONE
|
3849
|
+
# basic_auth_secret_id: "As2ConnectorSecretId",
|
3812
3850
|
# },
|
3813
3851
|
# access_role: "Role",
|
3814
3852
|
# logging_role: "Role",
|
@@ -4379,7 +4417,7 @@ module Aws::Transfer
|
|
4379
4417
|
params: params,
|
4380
4418
|
config: config)
|
4381
4419
|
context[:gem_name] = 'aws-sdk-transfer'
|
4382
|
-
context[:gem_version] = '1.
|
4420
|
+
context[:gem_version] = '1.74.0'
|
4383
4421
|
Seahorse::Client::Request.new(handlers, context)
|
4384
4422
|
end
|
4385
4423
|
|
@@ -20,6 +20,7 @@ module Aws::Transfer
|
|
20
20
|
AgreementStatusType = Shapes::StringShape.new(name: 'AgreementStatusType')
|
21
21
|
Arn = Shapes::StringShape.new(name: 'Arn')
|
22
22
|
As2ConnectorConfig = Shapes::StructureShape.new(name: 'As2ConnectorConfig')
|
23
|
+
As2ConnectorSecretId = Shapes::StringShape.new(name: 'As2ConnectorSecretId')
|
23
24
|
As2Id = Shapes::StringShape.new(name: 'As2Id')
|
24
25
|
As2Transport = Shapes::StringShape.new(name: 'As2Transport')
|
25
26
|
As2Transports = Shapes::ListShape.new(name: 'As2Transports')
|
@@ -326,6 +327,7 @@ module Aws::Transfer
|
|
326
327
|
As2ConnectorConfig.add_member(:signing_algorithm, Shapes::ShapeRef.new(shape: SigningAlg, location_name: "SigningAlgorithm"))
|
327
328
|
As2ConnectorConfig.add_member(:mdn_signing_algorithm, Shapes::ShapeRef.new(shape: MdnSigningAlg, location_name: "MdnSigningAlgorithm"))
|
328
329
|
As2ConnectorConfig.add_member(:mdn_response, Shapes::ShapeRef.new(shape: MdnResponse, location_name: "MdnResponse"))
|
330
|
+
As2ConnectorConfig.add_member(:basic_auth_secret_id, Shapes::ShapeRef.new(shape: As2ConnectorSecretId, location_name: "BasicAuthSecretId"))
|
329
331
|
As2ConnectorConfig.struct_class = Types::As2ConnectorConfig
|
330
332
|
|
331
333
|
As2Transports.member = Shapes::ShapeRef.new(shape: As2Transport)
|
@@ -79,6 +79,42 @@ module Aws::Transfer
|
|
79
79
|
# * `NONE`: Specifies that no MDN response is required.
|
80
80
|
# @return [String]
|
81
81
|
#
|
82
|
+
# @!attribute [rw] basic_auth_secret_id
|
83
|
+
# Provides Basic authentication support to the AS2 Connectors API. To
|
84
|
+
# use Basic authentication, you must provide the name or Amazon
|
85
|
+
# Resource Name (ARN) of a secret in Secrets Manager.
|
86
|
+
#
|
87
|
+
# The default value for this parameter is `null`, which indicates that
|
88
|
+
# Basic authentication is not enabled for the connector.
|
89
|
+
#
|
90
|
+
# If the connector should use Basic authentication, the secret needs
|
91
|
+
# to be in the following format:
|
92
|
+
#
|
93
|
+
# `\{ "Username": "user-name", "Password": "user-password" \}`
|
94
|
+
#
|
95
|
+
# Replace `user-name` and `user-password` with the credentials for the
|
96
|
+
# actual user that is being authenticated.
|
97
|
+
#
|
98
|
+
# Note the following:
|
99
|
+
#
|
100
|
+
# * You are storing these credentials in Secrets Manager, *not passing
|
101
|
+
# them directly* into this API.
|
102
|
+
#
|
103
|
+
# * If you are using the API, SDKs, or CloudFormation to configure
|
104
|
+
# your connector, then you must create the secret before you can
|
105
|
+
# enable Basic authentication. However, if you are using the Amazon
|
106
|
+
# Web Services management console, you can have the system create
|
107
|
+
# the secret for you.
|
108
|
+
#
|
109
|
+
# If you have previously enabled Basic authentication for a connector,
|
110
|
+
# you can disable it by using the `UpdateConnector` API call. For
|
111
|
+
# example, if you are using the CLI, you can run the following command
|
112
|
+
# to remove Basic authentication:
|
113
|
+
#
|
114
|
+
# `update-connector --connector-id my-connector-id --as2-config
|
115
|
+
# 'BasicAuthSecretId=""'`
|
116
|
+
# @return [String]
|
117
|
+
#
|
82
118
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/As2ConnectorConfig AWS API Documentation
|
83
119
|
#
|
84
120
|
class As2ConnectorConfig < Struct.new(
|
@@ -89,7 +125,8 @@ module Aws::Transfer
|
|
89
125
|
:encryption_algorithm,
|
90
126
|
:signing_algorithm,
|
91
127
|
:mdn_signing_algorithm,
|
92
|
-
:mdn_response
|
128
|
+
:mdn_response,
|
129
|
+
:basic_auth_secret_id)
|
93
130
|
SENSITIVE = []
|
94
131
|
include Aws::Structure
|
95
132
|
end
|
@@ -360,6 +397,13 @@ module Aws::Transfer
|
|
360
397
|
# `StartFileTransfer` request. Additionally, you need to provide read
|
361
398
|
# and write access to the parent directory of the files that you
|
362
399
|
# intend to send with `StartFileTransfer`.
|
400
|
+
#
|
401
|
+
# If you are using Basic authentication for your AS2 connector, the
|
402
|
+
# access role requires the `secretsmanager:GetSecretValue` permission
|
403
|
+
# for the secret. If the secret is encrypted using a customer-managed
|
404
|
+
# key instead of the Amazon Web Services managed key in Secrets
|
405
|
+
# Manager, then the role also needs the `kms:Decrypt` permission for
|
406
|
+
# that key.
|
363
407
|
# @return [String]
|
364
408
|
#
|
365
409
|
# @!attribute [rw] status
|
@@ -421,6 +465,13 @@ module Aws::Transfer
|
|
421
465
|
# `StartFileTransfer` request. Additionally, you need to provide read
|
422
466
|
# and write access to the parent directory of the files that you
|
423
467
|
# intend to send with `StartFileTransfer`.
|
468
|
+
#
|
469
|
+
# If you are using Basic authentication for your AS2 connector, the
|
470
|
+
# access role requires the `secretsmanager:GetSecretValue` permission
|
471
|
+
# for the secret. If the secret is encrypted using a customer-managed
|
472
|
+
# key instead of the Amazon Web Services managed key in Secrets
|
473
|
+
# Manager, then the role also needs the `kms:Decrypt` permission for
|
474
|
+
# that key.
|
424
475
|
# @return [String]
|
425
476
|
#
|
426
477
|
# @!attribute [rw] logging_role
|
@@ -1870,6 +1921,13 @@ module Aws::Transfer
|
|
1870
1921
|
# `StartFileTransfer` request. Additionally, you need to provide read
|
1871
1922
|
# and write access to the parent directory of the files that you
|
1872
1923
|
# intend to send with `StartFileTransfer`.
|
1924
|
+
#
|
1925
|
+
# If you are using Basic authentication for your AS2 connector, the
|
1926
|
+
# access role requires the `secretsmanager:GetSecretValue` permission
|
1927
|
+
# for the secret. If the secret is encrypted using a customer-managed
|
1928
|
+
# key instead of the Amazon Web Services managed key in Secrets
|
1929
|
+
# Manager, then the role also needs the `kms:Decrypt` permission for
|
1930
|
+
# that key.
|
1873
1931
|
# @return [String]
|
1874
1932
|
#
|
1875
1933
|
# @!attribute [rw] tags
|
@@ -2012,6 +2070,13 @@ module Aws::Transfer
|
|
2012
2070
|
# `StartFileTransfer` request. Additionally, you need to provide read
|
2013
2071
|
# and write access to the parent directory of the files that you
|
2014
2072
|
# intend to send with `StartFileTransfer`.
|
2073
|
+
#
|
2074
|
+
# If you are using Basic authentication for your AS2 connector, the
|
2075
|
+
# access role requires the `secretsmanager:GetSecretValue` permission
|
2076
|
+
# for the secret. If the secret is encrypted using a customer-managed
|
2077
|
+
# key instead of the Amazon Web Services managed key in Secrets
|
2078
|
+
# Manager, then the role also needs the `kms:Decrypt` permission for
|
2079
|
+
# that key.
|
2015
2080
|
# @return [String]
|
2016
2081
|
#
|
2017
2082
|
# @!attribute [rw] logging_role
|
@@ -5118,6 +5183,13 @@ module Aws::Transfer
|
|
5118
5183
|
# `StartFileTransfer` request. Additionally, you need to provide read
|
5119
5184
|
# and write access to the parent directory of the files that you
|
5120
5185
|
# intend to send with `StartFileTransfer`.
|
5186
|
+
#
|
5187
|
+
# If you are using Basic authentication for your AS2 connector, the
|
5188
|
+
# access role requires the `secretsmanager:GetSecretValue` permission
|
5189
|
+
# for the secret. If the secret is encrypted using a customer-managed
|
5190
|
+
# key instead of the Amazon Web Services managed key in Secrets
|
5191
|
+
# Manager, then the role also needs the `kms:Decrypt` permission for
|
5192
|
+
# that key.
|
5121
5193
|
# @return [String]
|
5122
5194
|
#
|
5123
5195
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/UpdateAgreementRequest AWS API Documentation
|
@@ -5214,6 +5286,13 @@ module Aws::Transfer
|
|
5214
5286
|
# `StartFileTransfer` request. Additionally, you need to provide read
|
5215
5287
|
# and write access to the parent directory of the files that you
|
5216
5288
|
# intend to send with `StartFileTransfer`.
|
5289
|
+
#
|
5290
|
+
# If you are using Basic authentication for your AS2 connector, the
|
5291
|
+
# access role requires the `secretsmanager:GetSecretValue` permission
|
5292
|
+
# for the secret. If the secret is encrypted using a customer-managed
|
5293
|
+
# key instead of the Amazon Web Services managed key in Secrets
|
5294
|
+
# Manager, then the role also needs the `kms:Decrypt` permission for
|
5295
|
+
# that key.
|
5217
5296
|
# @return [String]
|
5218
5297
|
#
|
5219
5298
|
# @!attribute [rw] logging_role
|
data/lib/aws-sdk-transfer.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-transfer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.74.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: 2023-06
|
11
|
+
date: 2023-07-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.177.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.177.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|