aws-sdk-transfer 1.28.0 → 1.29.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 89e89b06f869efa7fad2c3e43d87843735ef3e5d36c3b1cb6b0c4cac683ccb1f
4
- data.tar.gz: da5ff735f853c4435db6215cf5165cb0f306e7a26c55005dd1b7d789b6523e02
3
+ metadata.gz: 3c4eb18d9f4d661075e4ac85dd07f8ed54e85bc747c092c28968862fbe3966eb
4
+ data.tar.gz: a26025ad356c8c232c6b5ee1dcd40c68fd91b9d0f7e5080d9aada7c04a57d8ae
5
5
  SHA512:
6
- metadata.gz: b2f43ad16252874ed6da0efd9ea7f6ea9efd3e7108dbd5fcec306190c177136a2641a2f2b8e6c4d7a3b6bf3dcb08e54f3aa638430e31a8ab39275ee576b1081b
7
- data.tar.gz: 266e9d63ba36997527e94367d35fb6dd35b8c4c372be4e4871e6be801d02e26034709cbdadb65633b42a21bccd1e8bed637b3b5ac881e81f6600dc2540a364ce
6
+ metadata.gz: 962bcf2e4ba25fbd2831ae425f12347efa2d086fa00874e6882d3e00e9c246e274ec0ffbefe62526e41b4ce7744379307f5d90991db67a9a6a26a64593a01ace
7
+ data.tar.gz: 7a2b5d0706ddb45402fe259f0bd8865f76175a761a207a67daea0ff0bc893c92b079110db0da4aec1bcf170eeaf914bc08542a11c323add406de65323732241c
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-transfer/customizations'
48
48
  # @!group service
49
49
  module Aws::Transfer
50
50
 
51
- GEM_VERSION = '1.28.0'
51
+ GEM_VERSION = '1.29.0'
52
52
 
53
53
  end
@@ -382,6 +382,8 @@ module Aws::Transfer
382
382
  # [2]: https://docs.aws.amazon.com/acm/latest/userguide/import-certificate.html
383
383
  # [3]: https://docs.aws.amazon.com/acm/latest/userguide/gs-acm-request-private.html
384
384
  #
385
+ # @option params [String] :domain
386
+ #
385
387
  # @option params [Types::EndpointDetails] :endpoint_details
386
388
  # The virtual private cloud (VPC) endpoint settings that are configured
387
389
  # for your server. When you host your endpoint within your VPC, you can
@@ -483,6 +485,7 @@ module Aws::Transfer
483
485
  #
484
486
  # resp = client.create_server({
485
487
  # certificate: "Certificate",
488
+ # domain: "S3", # accepts S3, EFS
486
489
  # endpoint_details: {
487
490
  # address_allocation_ids: ["AddressAllocationId"],
488
491
  # subnet_ids: ["SubnetId"],
@@ -599,6 +602,8 @@ module Aws::Transfer
599
602
  # [1]: https://docs.aws.amazon.com/transfer/latest/userguide/users.html#users-policies-scope-down
600
603
  # [2]: https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html
601
604
  #
605
+ # @option params [Types::PosixProfile] :posix_profile
606
+ #
602
607
  # @option params [required, String] :role
603
608
  # The IAM role that controls your users' access to your Amazon S3
604
609
  # bucket. The policies attached to this role will determine the level of
@@ -644,6 +649,11 @@ module Aws::Transfer
644
649
  # },
645
650
  # ],
646
651
  # policy: "Policy",
652
+ # posix_profile: {
653
+ # uid: 1, # required
654
+ # gid: 1, # required
655
+ # secondary_gids: [1],
656
+ # },
647
657
  # role: "Role", # required
648
658
  # server_id: "ServerId", # required
649
659
  # ssh_public_key_body: "SshPublicKeyBody",
@@ -832,6 +842,7 @@ module Aws::Transfer
832
842
  #
833
843
  # resp.server.arn #=> String
834
844
  # resp.server.certificate #=> String
845
+ # resp.server.domain #=> String, one of "S3", "EFS"
835
846
  # resp.server.endpoint_details.address_allocation_ids #=> Array
836
847
  # resp.server.endpoint_details.address_allocation_ids[0] #=> String
837
848
  # resp.server.endpoint_details.subnet_ids #=> Array
@@ -902,6 +913,10 @@ module Aws::Transfer
902
913
  # resp.user.home_directory_mappings[0].target #=> String
903
914
  # resp.user.home_directory_type #=> String, one of "PATH", "LOGICAL"
904
915
  # resp.user.policy #=> String
916
+ # resp.user.posix_profile.uid #=> Integer
917
+ # resp.user.posix_profile.gid #=> Integer
918
+ # resp.user.posix_profile.secondary_gids #=> Array
919
+ # resp.user.posix_profile.secondary_gids[0] #=> Integer
905
920
  # resp.user.role #=> String
906
921
  # resp.user.ssh_public_keys #=> Array
907
922
  # resp.user.ssh_public_keys[0].date_imported #=> Time
@@ -1040,6 +1055,7 @@ module Aws::Transfer
1040
1055
  # resp.next_token #=> String
1041
1056
  # resp.servers #=> Array
1042
1057
  # resp.servers[0].arn #=> String
1058
+ # resp.servers[0].domain #=> String, one of "S3", "EFS"
1043
1059
  # resp.servers[0].identity_provider_type #=> String, one of "SERVICE_MANAGED", "API_GATEWAY"
1044
1060
  # resp.servers[0].endpoint_type #=> String, one of "PUBLIC", "VPC", "VPC_ENDPOINT"
1045
1061
  # resp.servers[0].logging_role #=> String
@@ -1608,6 +1624,8 @@ module Aws::Transfer
1608
1624
  # [1]: https://docs.aws.amazon.com/transfer/latest/userguide/users.html#users-policies-scope-down
1609
1625
  # [2]: https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html
1610
1626
  #
1627
+ # @option params [Types::PosixProfile] :posix_profile
1628
+ #
1611
1629
  # @option params [String] :role
1612
1630
  # The IAM role that controls your users' access to your Amazon S3
1613
1631
  # bucket. The policies attached to this role will determine the level of
@@ -1645,6 +1663,11 @@ module Aws::Transfer
1645
1663
  # },
1646
1664
  # ],
1647
1665
  # policy: "Policy",
1666
+ # posix_profile: {
1667
+ # uid: 1, # required
1668
+ # gid: 1, # required
1669
+ # secondary_gids: [1],
1670
+ # },
1648
1671
  # role: "Role",
1649
1672
  # server_id: "ServerId", # required
1650
1673
  # user_name: "UserName", # required
@@ -1677,7 +1700,7 @@ module Aws::Transfer
1677
1700
  params: params,
1678
1701
  config: config)
1679
1702
  context[:gem_name] = 'aws-sdk-transfer'
1680
- context[:gem_version] = '1.28.0'
1703
+ context[:gem_version] = '1.29.0'
1681
1704
  Seahorse::Client::Request.new(handlers, context)
1682
1705
  end
1683
1706
 
@@ -36,6 +36,7 @@ module Aws::Transfer
36
36
  DescribedSecurityPolicy = Shapes::StructureShape.new(name: 'DescribedSecurityPolicy')
37
37
  DescribedServer = Shapes::StructureShape.new(name: 'DescribedServer')
38
38
  DescribedUser = Shapes::StructureShape.new(name: 'DescribedUser')
39
+ Domain = Shapes::StringShape.new(name: 'Domain')
39
40
  EndpointDetails = Shapes::StructureShape.new(name: 'EndpointDetails')
40
41
  EndpointType = Shapes::StringShape.new(name: 'EndpointType')
41
42
  Fips = Shapes::BooleanShape.new(name: 'Fips')
@@ -71,6 +72,8 @@ module Aws::Transfer
71
72
  NextToken = Shapes::StringShape.new(name: 'NextToken')
72
73
  NullableRole = Shapes::StringShape.new(name: 'NullableRole')
73
74
  Policy = Shapes::StringShape.new(name: 'Policy')
75
+ PosixId = Shapes::IntegerShape.new(name: 'PosixId')
76
+ PosixProfile = Shapes::StructureShape.new(name: 'PosixProfile')
74
77
  Protocol = Shapes::StringShape.new(name: 'Protocol')
75
78
  Protocols = Shapes::ListShape.new(name: 'Protocols')
76
79
  Resource = Shapes::StringShape.new(name: 'Resource')
@@ -80,6 +83,7 @@ module Aws::Transfer
80
83
  Response = Shapes::StringShape.new(name: 'Response')
81
84
  RetryAfterSeconds = Shapes::StringShape.new(name: 'RetryAfterSeconds')
82
85
  Role = Shapes::StringShape.new(name: 'Role')
86
+ SecondaryGids = Shapes::ListShape.new(name: 'SecondaryGids')
83
87
  SecurityGroupId = Shapes::StringShape.new(name: 'SecurityGroupId')
84
88
  SecurityGroupIds = Shapes::ListShape.new(name: 'SecurityGroupIds')
85
89
  SecurityPolicyName = Shapes::StringShape.new(name: 'SecurityPolicyName')
@@ -131,6 +135,7 @@ module Aws::Transfer
131
135
  ConflictException.struct_class = Types::ConflictException
132
136
 
133
137
  CreateServerRequest.add_member(:certificate, Shapes::ShapeRef.new(shape: Certificate, location_name: "Certificate"))
138
+ CreateServerRequest.add_member(:domain, Shapes::ShapeRef.new(shape: Domain, location_name: "Domain"))
134
139
  CreateServerRequest.add_member(:endpoint_details, Shapes::ShapeRef.new(shape: EndpointDetails, location_name: "EndpointDetails"))
135
140
  CreateServerRequest.add_member(:endpoint_type, Shapes::ShapeRef.new(shape: EndpointType, location_name: "EndpointType"))
136
141
  CreateServerRequest.add_member(:host_key, Shapes::ShapeRef.new(shape: HostKey, location_name: "HostKey"))
@@ -149,6 +154,7 @@ module Aws::Transfer
149
154
  CreateUserRequest.add_member(:home_directory_type, Shapes::ShapeRef.new(shape: HomeDirectoryType, location_name: "HomeDirectoryType"))
150
155
  CreateUserRequest.add_member(:home_directory_mappings, Shapes::ShapeRef.new(shape: HomeDirectoryMappings, location_name: "HomeDirectoryMappings"))
151
156
  CreateUserRequest.add_member(:policy, Shapes::ShapeRef.new(shape: Policy, location_name: "Policy"))
157
+ CreateUserRequest.add_member(:posix_profile, Shapes::ShapeRef.new(shape: PosixProfile, location_name: "PosixProfile"))
152
158
  CreateUserRequest.add_member(:role, Shapes::ShapeRef.new(shape: Role, required: true, location_name: "Role"))
153
159
  CreateUserRequest.add_member(:server_id, Shapes::ShapeRef.new(shape: ServerId, required: true, location_name: "ServerId"))
154
160
  CreateUserRequest.add_member(:ssh_public_key_body, Shapes::ShapeRef.new(shape: SshPublicKeyBody, location_name: "SshPublicKeyBody"))
@@ -202,6 +208,7 @@ module Aws::Transfer
202
208
 
203
209
  DescribedServer.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "Arn"))
204
210
  DescribedServer.add_member(:certificate, Shapes::ShapeRef.new(shape: Certificate, location_name: "Certificate"))
211
+ DescribedServer.add_member(:domain, Shapes::ShapeRef.new(shape: Domain, location_name: "Domain"))
205
212
  DescribedServer.add_member(:endpoint_details, Shapes::ShapeRef.new(shape: EndpointDetails, location_name: "EndpointDetails"))
206
213
  DescribedServer.add_member(:endpoint_type, Shapes::ShapeRef.new(shape: EndpointType, location_name: "EndpointType"))
207
214
  DescribedServer.add_member(:host_key_fingerprint, Shapes::ShapeRef.new(shape: HostKeyFingerprint, location_name: "HostKeyFingerprint"))
@@ -221,6 +228,7 @@ module Aws::Transfer
221
228
  DescribedUser.add_member(:home_directory_mappings, Shapes::ShapeRef.new(shape: HomeDirectoryMappings, location_name: "HomeDirectoryMappings"))
222
229
  DescribedUser.add_member(:home_directory_type, Shapes::ShapeRef.new(shape: HomeDirectoryType, location_name: "HomeDirectoryType"))
223
230
  DescribedUser.add_member(:policy, Shapes::ShapeRef.new(shape: Policy, location_name: "Policy"))
231
+ DescribedUser.add_member(:posix_profile, Shapes::ShapeRef.new(shape: PosixProfile, location_name: "PosixProfile"))
224
232
  DescribedUser.add_member(:role, Shapes::ShapeRef.new(shape: Role, location_name: "Role"))
225
233
  DescribedUser.add_member(:ssh_public_keys, Shapes::ShapeRef.new(shape: SshPublicKeys, location_name: "SshPublicKeys"))
226
234
  DescribedUser.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
@@ -300,6 +308,7 @@ module Aws::Transfer
300
308
  ListUsersResponse.struct_class = Types::ListUsersResponse
301
309
 
302
310
  ListedServer.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "Arn"))
311
+ ListedServer.add_member(:domain, Shapes::ShapeRef.new(shape: Domain, location_name: "Domain"))
303
312
  ListedServer.add_member(:identity_provider_type, Shapes::ShapeRef.new(shape: IdentityProviderType, location_name: "IdentityProviderType"))
304
313
  ListedServer.add_member(:endpoint_type, Shapes::ShapeRef.new(shape: EndpointType, location_name: "EndpointType"))
305
314
  ListedServer.add_member(:logging_role, Shapes::ShapeRef.new(shape: Role, location_name: "LoggingRole"))
@@ -320,6 +329,11 @@ module Aws::Transfer
320
329
 
321
330
  ListedUsers.member = Shapes::ShapeRef.new(shape: ListedUser)
322
331
 
332
+ PosixProfile.add_member(:uid, Shapes::ShapeRef.new(shape: PosixId, required: true, location_name: "Uid"))
333
+ PosixProfile.add_member(:gid, Shapes::ShapeRef.new(shape: PosixId, required: true, location_name: "Gid"))
334
+ PosixProfile.add_member(:secondary_gids, Shapes::ShapeRef.new(shape: SecondaryGids, location_name: "SecondaryGids"))
335
+ PosixProfile.struct_class = Types::PosixProfile
336
+
323
337
  Protocols.member = Shapes::ShapeRef.new(shape: Protocol)
324
338
 
325
339
  ResourceExistsException.add_member(:message, Shapes::ShapeRef.new(shape: Message, required: true, location_name: "Message"))
@@ -332,6 +346,8 @@ module Aws::Transfer
332
346
  ResourceNotFoundException.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, required: true, location_name: "ResourceType"))
333
347
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
334
348
 
349
+ SecondaryGids.member = Shapes::ShapeRef.new(shape: PosixId)
350
+
335
351
  SecurityGroupIds.member = Shapes::ShapeRef.new(shape: SecurityGroupId)
336
352
 
337
353
  SecurityPolicyNames.member = Shapes::ShapeRef.new(shape: SecurityPolicyName)
@@ -406,6 +422,7 @@ module Aws::Transfer
406
422
  UpdateUserRequest.add_member(:home_directory_type, Shapes::ShapeRef.new(shape: HomeDirectoryType, location_name: "HomeDirectoryType"))
407
423
  UpdateUserRequest.add_member(:home_directory_mappings, Shapes::ShapeRef.new(shape: HomeDirectoryMappings, location_name: "HomeDirectoryMappings"))
408
424
  UpdateUserRequest.add_member(:policy, Shapes::ShapeRef.new(shape: Policy, location_name: "Policy"))
425
+ UpdateUserRequest.add_member(:posix_profile, Shapes::ShapeRef.new(shape: PosixProfile, location_name: "PosixProfile"))
409
426
  UpdateUserRequest.add_member(:role, Shapes::ShapeRef.new(shape: Role, location_name: "Role"))
410
427
  UpdateUserRequest.add_member(:server_id, Shapes::ShapeRef.new(shape: ServerId, required: true, location_name: "ServerId"))
411
428
  UpdateUserRequest.add_member(:user_name, Shapes::ShapeRef.new(shape: UserName, required: true, location_name: "UserName"))
@@ -43,6 +43,7 @@ module Aws::Transfer
43
43
  #
44
44
  # {
45
45
  # certificate: "Certificate",
46
+ # domain: "S3", # accepts S3, EFS
46
47
  # endpoint_details: {
47
48
  # address_allocation_ids: ["AddressAllocationId"],
48
49
  # subnet_ids: ["SubnetId"],
@@ -108,6 +109,9 @@ module Aws::Transfer
108
109
  # [3]: https://docs.aws.amazon.com/acm/latest/userguide/gs-acm-request-private.html
109
110
  # @return [String]
110
111
  #
112
+ # @!attribute [rw] domain
113
+ # @return [String]
114
+ #
111
115
  # @!attribute [rw] endpoint_details
112
116
  # The virtual private cloud (VPC) endpoint settings that are
113
117
  # configured for your server. When you host your endpoint within your
@@ -216,6 +220,7 @@ module Aws::Transfer
216
220
  #
217
221
  class CreateServerRequest < Struct.new(
218
222
  :certificate,
223
+ :domain,
219
224
  :endpoint_details,
220
225
  :endpoint_type,
221
226
  :host_key,
@@ -254,6 +259,11 @@ module Aws::Transfer
254
259
  # },
255
260
  # ],
256
261
  # policy: "Policy",
262
+ # posix_profile: {
263
+ # uid: 1, # required
264
+ # gid: 1, # required
265
+ # secondary_gids: [1],
266
+ # },
257
267
  # role: "Role", # required
258
268
  # server_id: "ServerId", # required
259
269
  # ssh_public_key_body: "SshPublicKeyBody",
@@ -340,6 +350,9 @@ module Aws::Transfer
340
350
  # [2]: https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html
341
351
  # @return [String]
342
352
  #
353
+ # @!attribute [rw] posix_profile
354
+ # @return [Types::PosixProfile]
355
+ #
343
356
  # @!attribute [rw] role
344
357
  # The IAM role that controls your users' access to your Amazon S3
345
358
  # bucket. The policies attached to this role will determine the level
@@ -380,6 +393,7 @@ module Aws::Transfer
380
393
  :home_directory_type,
381
394
  :home_directory_mappings,
382
395
  :policy,
396
+ :posix_profile,
383
397
  :role,
384
398
  :server_id,
385
399
  :ssh_public_key_body,
@@ -662,6 +676,9 @@ module Aws::Transfer
662
676
  # Required when `Protocols` is set to `FTPS`.
663
677
  # @return [String]
664
678
  #
679
+ # @!attribute [rw] domain
680
+ # @return [String]
681
+ #
665
682
  # @!attribute [rw] endpoint_details
666
683
  # Specifies the virtual private cloud (VPC) endpoint settings that you
667
684
  # configured for your server.
@@ -752,6 +769,7 @@ module Aws::Transfer
752
769
  class DescribedServer < Struct.new(
753
770
  :arn,
754
771
  :certificate,
772
+ :domain,
755
773
  :endpoint_details,
756
774
  :endpoint_type,
757
775
  :host_key_fingerprint,
@@ -812,6 +830,9 @@ module Aws::Transfer
812
830
  # Specifies the name of the policy in use for the described user.
813
831
  # @return [String]
814
832
  #
833
+ # @!attribute [rw] posix_profile
834
+ # @return [Types::PosixProfile]
835
+ #
815
836
  # @!attribute [rw] role
816
837
  # Specifies the IAM role that controls your users' access to your
817
838
  # Amazon S3 bucket. The policies attached to this role will determine
@@ -845,6 +866,7 @@ module Aws::Transfer
845
866
  :home_directory_mappings,
846
867
  :home_directory_type,
847
868
  :policy,
869
+ :posix_profile,
848
870
  :role,
849
871
  :ssh_public_keys,
850
872
  :tags,
@@ -1321,6 +1343,9 @@ module Aws::Transfer
1321
1343
  # listed.
1322
1344
  # @return [String]
1323
1345
  #
1346
+ # @!attribute [rw] domain
1347
+ # @return [String]
1348
+ #
1324
1349
  # @!attribute [rw] identity_provider_type
1325
1350
  # Specifies the authentication method used to validate a user for a
1326
1351
  # server that was specified. This can include Secure Shell (SSH), user
@@ -1365,6 +1390,7 @@ module Aws::Transfer
1365
1390
  #
1366
1391
  class ListedServer < Struct.new(
1367
1392
  :arn,
1393
+ :domain,
1368
1394
  :identity_provider_type,
1369
1395
  :endpoint_type,
1370
1396
  :logging_role,
@@ -1428,6 +1454,34 @@ module Aws::Transfer
1428
1454
  include Aws::Structure
1429
1455
  end
1430
1456
 
1457
+ # @note When making an API call, you may pass PosixProfile
1458
+ # data as a hash:
1459
+ #
1460
+ # {
1461
+ # uid: 1, # required
1462
+ # gid: 1, # required
1463
+ # secondary_gids: [1],
1464
+ # }
1465
+ #
1466
+ # @!attribute [rw] uid
1467
+ # @return [Integer]
1468
+ #
1469
+ # @!attribute [rw] gid
1470
+ # @return [Integer]
1471
+ #
1472
+ # @!attribute [rw] secondary_gids
1473
+ # @return [Array<Integer>]
1474
+ #
1475
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/PosixProfile AWS API Documentation
1476
+ #
1477
+ class PosixProfile < Struct.new(
1478
+ :uid,
1479
+ :gid,
1480
+ :secondary_gids)
1481
+ SENSITIVE = []
1482
+ include Aws::Structure
1483
+ end
1484
+
1431
1485
  # The requested resource does not exist.
1432
1486
  #
1433
1487
  # @!attribute [rw] message
@@ -1942,6 +1996,11 @@ module Aws::Transfer
1942
1996
  # },
1943
1997
  # ],
1944
1998
  # policy: "Policy",
1999
+ # posix_profile: {
2000
+ # uid: 1, # required
2001
+ # gid: 1, # required
2002
+ # secondary_gids: [1],
2003
+ # },
1945
2004
  # role: "Role",
1946
2005
  # server_id: "ServerId", # required
1947
2006
  # user_name: "UserName", # required
@@ -2020,6 +2079,9 @@ module Aws::Transfer
2020
2079
  # [2]: https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html
2021
2080
  # @return [String]
2022
2081
  #
2082
+ # @!attribute [rw] posix_profile
2083
+ # @return [Types::PosixProfile]
2084
+ #
2023
2085
  # @!attribute [rw] role
2024
2086
  # The IAM role that controls your users' access to your Amazon S3
2025
2087
  # bucket. The policies attached to this role will determine the level
@@ -2050,6 +2112,7 @@ module Aws::Transfer
2050
2112
  :home_directory_type,
2051
2113
  :home_directory_mappings,
2052
2114
  :policy,
2115
+ :posix_profile,
2053
2116
  :role,
2054
2117
  :server_id,
2055
2118
  :user_name)
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.28.0
4
+ version: 1.29.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: 2020-10-15 00:00:00.000000000 Z
11
+ date: 2021-01-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core