aws-sdk-transfer 1.76.0 → 1.77.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-transfer/client.rb +71 -7
- data/lib/aws-sdk-transfer/types.rb +88 -0
- data/lib/aws-sdk-transfer.rb +1 -1
- 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: e39f03b80d097b542f1c6a2b6f9e9cbb550daa88f0d94969bbe01c1f8b3359b5
|
4
|
+
data.tar.gz: 8552dba4bfc488adf4529ffba349e028d3b9bac9ef7def0dfff0254bca396cc2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 89b5c9f925280f5ba79c4fbd3b51555b7daa285f8a7257cc8c6e62abddddb904bc4c2ba624ce800fa372ea308a6dc5f2f8dbf8726aaf358dfc2a65b55a5af5d4
|
7
|
+
data.tar.gz: 0b290b7857671578d61780cc996a818ee204e92c621575bb3fa3bb080e2b0053e8248b69578785d75e8c45bc471f5460610d896576ca987a92cc2fe799d56f9f
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.77.0
|
@@ -584,6 +584,12 @@ module Aws::Transfer
|
|
584
584
|
# A `BaseDirectory` example is `/DOC-EXAMPLE-BUCKET/home/mydirectory`.
|
585
585
|
#
|
586
586
|
# @option params [required, String] :access_role
|
587
|
+
# Connectors are used to send files using either the AS2 or SFTP
|
588
|
+
# protocol. For the access role, provide the Amazon Resource Name (ARN)
|
589
|
+
# of the Identity and Access Management role to use.
|
590
|
+
#
|
591
|
+
# **For AS2 connectors**
|
592
|
+
#
|
587
593
|
# With AS2, you can send files by calling `StartFileTransfer` and
|
588
594
|
# specifying the file paths in the request parameter, `SendFilePaths`.
|
589
595
|
# We use the file’s parent directory (for example, for
|
@@ -603,6 +609,14 @@ module Aws::Transfer
|
|
603
609
|
# key instead of the Amazon Web Services managed key in Secrets Manager,
|
604
610
|
# then the role also needs the `kms:Decrypt` permission for that key.
|
605
611
|
#
|
612
|
+
# **For SFTP connectors**
|
613
|
+
#
|
614
|
+
# Make sure that the access role provides read and write access to the
|
615
|
+
# parent directory of the file location that's used in the
|
616
|
+
# `StartFileTransfer` request. Additionally, make sure that the role
|
617
|
+
# provides `secretsmanager:GetSecretValue` permission to Secrets
|
618
|
+
# Manager.
|
619
|
+
#
|
606
620
|
# @option params [String] :status
|
607
621
|
# The status of the agreement. The agreement can be either `ACTIVE` or
|
608
622
|
# `INACTIVE`.
|
@@ -645,10 +659,13 @@ module Aws::Transfer
|
|
645
659
|
req.send_request(options)
|
646
660
|
end
|
647
661
|
|
648
|
-
# Creates the connector, which captures the parameters for
|
649
|
-
#
|
650
|
-
# sending files to an externally hosted AS2
|
651
|
-
#
|
662
|
+
# Creates the connector, which captures the parameters for a connection
|
663
|
+
# for the AS2 or SFTP protocol. For AS2, the connector is required for
|
664
|
+
# sending files to an externally hosted AS2 server. For SFTP, the
|
665
|
+
# connector is required when sending files to an SFTP server or
|
666
|
+
# receiving files from an SFTP server. For more details about
|
667
|
+
# connectors, see [Create AS2 connectors][1] and [Create SFTP
|
668
|
+
# connectors][2].
|
652
669
|
#
|
653
670
|
# <note markdown="1"> You must specify exactly one configuration object: either for AS2
|
654
671
|
# (`As2Config`) or SFTP (`SftpConfig`).
|
@@ -658,6 +675,7 @@ module Aws::Transfer
|
|
658
675
|
#
|
659
676
|
#
|
660
677
|
# [1]: https://docs.aws.amazon.com/transfer/latest/userguide/create-b2b-server.html#configure-as2-connector
|
678
|
+
# [2]: https://docs.aws.amazon.com/transfer/latest/userguide/configure-sftp-connector.html
|
661
679
|
#
|
662
680
|
# @option params [required, String] :url
|
663
681
|
# The URL of the partner's AS2 or SFTP endpoint.
|
@@ -666,6 +684,12 @@ module Aws::Transfer
|
|
666
684
|
# A structure that contains the parameters for an AS2 connector object.
|
667
685
|
#
|
668
686
|
# @option params [required, String] :access_role
|
687
|
+
# Connectors are used to send files using either the AS2 or SFTP
|
688
|
+
# protocol. For the access role, provide the Amazon Resource Name (ARN)
|
689
|
+
# of the Identity and Access Management role to use.
|
690
|
+
#
|
691
|
+
# **For AS2 connectors**
|
692
|
+
#
|
669
693
|
# With AS2, you can send files by calling `StartFileTransfer` and
|
670
694
|
# specifying the file paths in the request parameter, `SendFilePaths`.
|
671
695
|
# We use the file’s parent directory (for example, for
|
@@ -685,6 +709,14 @@ module Aws::Transfer
|
|
685
709
|
# key instead of the Amazon Web Services managed key in Secrets Manager,
|
686
710
|
# then the role also needs the `kms:Decrypt` permission for that key.
|
687
711
|
#
|
712
|
+
# **For SFTP connectors**
|
713
|
+
#
|
714
|
+
# Make sure that the access role provides read and write access to the
|
715
|
+
# parent directory of the file location that's used in the
|
716
|
+
# `StartFileTransfer` request. Additionally, make sure that the role
|
717
|
+
# provides `secretsmanager:GetSecretValue` permission to Secrets
|
718
|
+
# Manager.
|
719
|
+
#
|
688
720
|
# @option params [String] :logging_role
|
689
721
|
# The Amazon Resource Name (ARN) of the Identity and Access Management
|
690
722
|
# (IAM) role that allows a connector to turn on CloudWatch logging for
|
@@ -3266,8 +3298,8 @@ module Aws::Transfer
|
|
3266
3298
|
# inbound. In both cases, you specify the `ConnectorId`. Depending on
|
3267
3299
|
# the direction of the transfer, you also specify the following items:
|
3268
3300
|
#
|
3269
|
-
# * If you are transferring file from a partner's SFTP server to
|
3270
|
-
#
|
3301
|
+
# * If you are transferring file from a partner's SFTP server to
|
3302
|
+
# Amazon Web Services storage, you specify one or more
|
3271
3303
|
# `RetreiveFilePaths` to identify the files you want to transfer,
|
3272
3304
|
# and a `LocalDirectoryPath` to specify the destination folder.
|
3273
3305
|
#
|
@@ -3284,6 +3316,10 @@ module Aws::Transfer
|
|
3284
3316
|
# represents a source file path for one outbound file transfer. For
|
3285
3317
|
# example, ` DOC-EXAMPLE-BUCKET/myfile.txt `.
|
3286
3318
|
#
|
3319
|
+
# <note markdown="1"> Replace ` DOC-EXAMPLE-BUCKET `with one of your actual buckets.
|
3320
|
+
#
|
3321
|
+
# </note>
|
3322
|
+
#
|
3287
3323
|
# @option params [Array<String>] :retrieve_file_paths
|
3288
3324
|
# One or more source paths for the partner's SFTP server. Each string
|
3289
3325
|
# represents a source file path for one inbound file transfer.
|
@@ -3790,6 +3826,12 @@ module Aws::Transfer
|
|
3790
3826
|
# example, `/DOC-EXAMPLE-BUCKET/home/mydirectory `.
|
3791
3827
|
#
|
3792
3828
|
# @option params [String] :access_role
|
3829
|
+
# Connectors are used to send files using either the AS2 or SFTP
|
3830
|
+
# protocol. For the access role, provide the Amazon Resource Name (ARN)
|
3831
|
+
# of the Identity and Access Management role to use.
|
3832
|
+
#
|
3833
|
+
# **For AS2 connectors**
|
3834
|
+
#
|
3793
3835
|
# With AS2, you can send files by calling `StartFileTransfer` and
|
3794
3836
|
# specifying the file paths in the request parameter, `SendFilePaths`.
|
3795
3837
|
# We use the file’s parent directory (for example, for
|
@@ -3809,6 +3851,14 @@ module Aws::Transfer
|
|
3809
3851
|
# key instead of the Amazon Web Services managed key in Secrets Manager,
|
3810
3852
|
# then the role also needs the `kms:Decrypt` permission for that key.
|
3811
3853
|
#
|
3854
|
+
# **For SFTP connectors**
|
3855
|
+
#
|
3856
|
+
# Make sure that the access role provides read and write access to the
|
3857
|
+
# parent directory of the file location that's used in the
|
3858
|
+
# `StartFileTransfer` request. Additionally, make sure that the role
|
3859
|
+
# provides `secretsmanager:GetSecretValue` permission to Secrets
|
3860
|
+
# Manager.
|
3861
|
+
#
|
3812
3862
|
# @return [Types::UpdateAgreementResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3813
3863
|
#
|
3814
3864
|
# * {Types::UpdateAgreementResponse#agreement_id #agreement_id} => String
|
@@ -3893,6 +3943,12 @@ module Aws::Transfer
|
|
3893
3943
|
# A structure that contains the parameters for an AS2 connector object.
|
3894
3944
|
#
|
3895
3945
|
# @option params [String] :access_role
|
3946
|
+
# Connectors are used to send files using either the AS2 or SFTP
|
3947
|
+
# protocol. For the access role, provide the Amazon Resource Name (ARN)
|
3948
|
+
# of the Identity and Access Management role to use.
|
3949
|
+
#
|
3950
|
+
# **For AS2 connectors**
|
3951
|
+
#
|
3896
3952
|
# With AS2, you can send files by calling `StartFileTransfer` and
|
3897
3953
|
# specifying the file paths in the request parameter, `SendFilePaths`.
|
3898
3954
|
# We use the file’s parent directory (for example, for
|
@@ -3912,6 +3968,14 @@ module Aws::Transfer
|
|
3912
3968
|
# key instead of the Amazon Web Services managed key in Secrets Manager,
|
3913
3969
|
# then the role also needs the `kms:Decrypt` permission for that key.
|
3914
3970
|
#
|
3971
|
+
# **For SFTP connectors**
|
3972
|
+
#
|
3973
|
+
# Make sure that the access role provides read and write access to the
|
3974
|
+
# parent directory of the file location that's used in the
|
3975
|
+
# `StartFileTransfer` request. Additionally, make sure that the role
|
3976
|
+
# provides `secretsmanager:GetSecretValue` permission to Secrets
|
3977
|
+
# Manager.
|
3978
|
+
#
|
3915
3979
|
# @option params [String] :logging_role
|
3916
3980
|
# The Amazon Resource Name (ARN) of the Identity and Access Management
|
3917
3981
|
# (IAM) role that allows a connector to turn on CloudWatch logging for
|
@@ -4514,7 +4578,7 @@ module Aws::Transfer
|
|
4514
4578
|
params: params,
|
4515
4579
|
config: config)
|
4516
4580
|
context[:gem_name] = 'aws-sdk-transfer'
|
4517
|
-
context[:gem_version] = '1.
|
4581
|
+
context[:gem_version] = '1.77.0'
|
4518
4582
|
Seahorse::Client::Request.new(handlers, context)
|
4519
4583
|
end
|
4520
4584
|
|
@@ -385,6 +385,12 @@ module Aws::Transfer
|
|
385
385
|
# @return [String]
|
386
386
|
#
|
387
387
|
# @!attribute [rw] access_role
|
388
|
+
# Connectors are used to send files using either the AS2 or SFTP
|
389
|
+
# protocol. For the access role, provide the Amazon Resource Name
|
390
|
+
# (ARN) of the Identity and Access Management role to use.
|
391
|
+
#
|
392
|
+
# **For AS2 connectors**
|
393
|
+
#
|
388
394
|
# With AS2, you can send files by calling `StartFileTransfer` and
|
389
395
|
# specifying the file paths in the request parameter, `SendFilePaths`.
|
390
396
|
# We use the file’s parent directory (for example, for
|
@@ -404,6 +410,14 @@ module Aws::Transfer
|
|
404
410
|
# key instead of the Amazon Web Services managed key in Secrets
|
405
411
|
# Manager, then the role also needs the `kms:Decrypt` permission for
|
406
412
|
# that key.
|
413
|
+
#
|
414
|
+
# **For SFTP connectors**
|
415
|
+
#
|
416
|
+
# Make sure that the access role provides read and write access to the
|
417
|
+
# parent directory of the file location that's used in the
|
418
|
+
# `StartFileTransfer` request. Additionally, make sure that the role
|
419
|
+
# provides `secretsmanager:GetSecretValue` permission to Secrets
|
420
|
+
# Manager.
|
407
421
|
# @return [String]
|
408
422
|
#
|
409
423
|
# @!attribute [rw] status
|
@@ -454,6 +468,12 @@ module Aws::Transfer
|
|
454
468
|
# @return [Types::As2ConnectorConfig]
|
455
469
|
#
|
456
470
|
# @!attribute [rw] access_role
|
471
|
+
# Connectors are used to send files using either the AS2 or SFTP
|
472
|
+
# protocol. For the access role, provide the Amazon Resource Name
|
473
|
+
# (ARN) of the Identity and Access Management role to use.
|
474
|
+
#
|
475
|
+
# **For AS2 connectors**
|
476
|
+
#
|
457
477
|
# With AS2, you can send files by calling `StartFileTransfer` and
|
458
478
|
# specifying the file paths in the request parameter, `SendFilePaths`.
|
459
479
|
# We use the file’s parent directory (for example, for
|
@@ -473,6 +493,14 @@ module Aws::Transfer
|
|
473
493
|
# key instead of the Amazon Web Services managed key in Secrets
|
474
494
|
# Manager, then the role also needs the `kms:Decrypt` permission for
|
475
495
|
# that key.
|
496
|
+
#
|
497
|
+
# **For SFTP connectors**
|
498
|
+
#
|
499
|
+
# Make sure that the access role provides read and write access to the
|
500
|
+
# parent directory of the file location that's used in the
|
501
|
+
# `StartFileTransfer` request. Additionally, make sure that the role
|
502
|
+
# provides `secretsmanager:GetSecretValue` permission to Secrets
|
503
|
+
# Manager.
|
476
504
|
# @return [String]
|
477
505
|
#
|
478
506
|
# @!attribute [rw] logging_role
|
@@ -1917,6 +1945,12 @@ module Aws::Transfer
|
|
1917
1945
|
# @return [String]
|
1918
1946
|
#
|
1919
1947
|
# @!attribute [rw] access_role
|
1948
|
+
# Connectors are used to send files using either the AS2 or SFTP
|
1949
|
+
# protocol. For the access role, provide the Amazon Resource Name
|
1950
|
+
# (ARN) of the Identity and Access Management role to use.
|
1951
|
+
#
|
1952
|
+
# **For AS2 connectors**
|
1953
|
+
#
|
1920
1954
|
# With AS2, you can send files by calling `StartFileTransfer` and
|
1921
1955
|
# specifying the file paths in the request parameter, `SendFilePaths`.
|
1922
1956
|
# We use the file’s parent directory (for example, for
|
@@ -1936,6 +1970,14 @@ module Aws::Transfer
|
|
1936
1970
|
# key instead of the Amazon Web Services managed key in Secrets
|
1937
1971
|
# Manager, then the role also needs the `kms:Decrypt` permission for
|
1938
1972
|
# that key.
|
1973
|
+
#
|
1974
|
+
# **For SFTP connectors**
|
1975
|
+
#
|
1976
|
+
# Make sure that the access role provides read and write access to the
|
1977
|
+
# parent directory of the file location that's used in the
|
1978
|
+
# `StartFileTransfer` request. Additionally, make sure that the role
|
1979
|
+
# provides `secretsmanager:GetSecretValue` permission to Secrets
|
1980
|
+
# Manager.
|
1939
1981
|
# @return [String]
|
1940
1982
|
#
|
1941
1983
|
# @!attribute [rw] tags
|
@@ -2067,6 +2109,12 @@ module Aws::Transfer
|
|
2067
2109
|
# @return [Types::As2ConnectorConfig]
|
2068
2110
|
#
|
2069
2111
|
# @!attribute [rw] access_role
|
2112
|
+
# Connectors are used to send files using either the AS2 or SFTP
|
2113
|
+
# protocol. For the access role, provide the Amazon Resource Name
|
2114
|
+
# (ARN) of the Identity and Access Management role to use.
|
2115
|
+
#
|
2116
|
+
# **For AS2 connectors**
|
2117
|
+
#
|
2070
2118
|
# With AS2, you can send files by calling `StartFileTransfer` and
|
2071
2119
|
# specifying the file paths in the request parameter, `SendFilePaths`.
|
2072
2120
|
# We use the file’s parent directory (for example, for
|
@@ -2086,6 +2134,14 @@ module Aws::Transfer
|
|
2086
2134
|
# key instead of the Amazon Web Services managed key in Secrets
|
2087
2135
|
# Manager, then the role also needs the `kms:Decrypt` permission for
|
2088
2136
|
# that key.
|
2137
|
+
#
|
2138
|
+
# **For SFTP connectors**
|
2139
|
+
#
|
2140
|
+
# Make sure that the access role provides read and write access to the
|
2141
|
+
# parent directory of the file location that's used in the
|
2142
|
+
# `StartFileTransfer` request. Additionally, make sure that the role
|
2143
|
+
# provides `secretsmanager:GetSecretValue` permission to Secrets
|
2144
|
+
# Manager.
|
2089
2145
|
# @return [String]
|
2090
2146
|
#
|
2091
2147
|
# @!attribute [rw] logging_role
|
@@ -4797,6 +4853,10 @@ module Aws::Transfer
|
|
4797
4853
|
# One or more source paths for the Transfer Family server. Each string
|
4798
4854
|
# represents a source file path for one outbound file transfer. For
|
4799
4855
|
# example, ` DOC-EXAMPLE-BUCKET/myfile.txt `.
|
4856
|
+
#
|
4857
|
+
# <note markdown="1"> Replace ` DOC-EXAMPLE-BUCKET `with one of your actual buckets.
|
4858
|
+
#
|
4859
|
+
# </note>
|
4800
4860
|
# @return [Array<String>]
|
4801
4861
|
#
|
4802
4862
|
# @!attribute [rw] retrieve_file_paths
|
@@ -5296,6 +5356,12 @@ module Aws::Transfer
|
|
5296
5356
|
# @return [String]
|
5297
5357
|
#
|
5298
5358
|
# @!attribute [rw] access_role
|
5359
|
+
# Connectors are used to send files using either the AS2 or SFTP
|
5360
|
+
# protocol. For the access role, provide the Amazon Resource Name
|
5361
|
+
# (ARN) of the Identity and Access Management role to use.
|
5362
|
+
#
|
5363
|
+
# **For AS2 connectors**
|
5364
|
+
#
|
5299
5365
|
# With AS2, you can send files by calling `StartFileTransfer` and
|
5300
5366
|
# specifying the file paths in the request parameter, `SendFilePaths`.
|
5301
5367
|
# We use the file’s parent directory (for example, for
|
@@ -5315,6 +5381,14 @@ module Aws::Transfer
|
|
5315
5381
|
# key instead of the Amazon Web Services managed key in Secrets
|
5316
5382
|
# Manager, then the role also needs the `kms:Decrypt` permission for
|
5317
5383
|
# that key.
|
5384
|
+
#
|
5385
|
+
# **For SFTP connectors**
|
5386
|
+
#
|
5387
|
+
# Make sure that the access role provides read and write access to the
|
5388
|
+
# parent directory of the file location that's used in the
|
5389
|
+
# `StartFileTransfer` request. Additionally, make sure that the role
|
5390
|
+
# provides `secretsmanager:GetSecretValue` permission to Secrets
|
5391
|
+
# Manager.
|
5318
5392
|
# @return [String]
|
5319
5393
|
#
|
5320
5394
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/UpdateAgreementRequest AWS API Documentation
|
@@ -5400,6 +5474,12 @@ module Aws::Transfer
|
|
5400
5474
|
# @return [Types::As2ConnectorConfig]
|
5401
5475
|
#
|
5402
5476
|
# @!attribute [rw] access_role
|
5477
|
+
# Connectors are used to send files using either the AS2 or SFTP
|
5478
|
+
# protocol. For the access role, provide the Amazon Resource Name
|
5479
|
+
# (ARN) of the Identity and Access Management role to use.
|
5480
|
+
#
|
5481
|
+
# **For AS2 connectors**
|
5482
|
+
#
|
5403
5483
|
# With AS2, you can send files by calling `StartFileTransfer` and
|
5404
5484
|
# specifying the file paths in the request parameter, `SendFilePaths`.
|
5405
5485
|
# We use the file’s parent directory (for example, for
|
@@ -5419,6 +5499,14 @@ module Aws::Transfer
|
|
5419
5499
|
# key instead of the Amazon Web Services managed key in Secrets
|
5420
5500
|
# Manager, then the role also needs the `kms:Decrypt` permission for
|
5421
5501
|
# that key.
|
5502
|
+
#
|
5503
|
+
# **For SFTP connectors**
|
5504
|
+
#
|
5505
|
+
# Make sure that the access role provides read and write access to the
|
5506
|
+
# parent directory of the file location that's used in the
|
5507
|
+
# `StartFileTransfer` request. Additionally, make sure that the role
|
5508
|
+
# provides `secretsmanager:GetSecretValue` permission to Secrets
|
5509
|
+
# Manager.
|
5422
5510
|
# @return [String]
|
5423
5511
|
#
|
5424
5512
|
# @!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.77.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-
|
11
|
+
date: 2023-08-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|