aws-sdk-s3files 1.19.0 → 1.21.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: 2a688e05cc845692acb4482b9bc9dc8408abf1daf7730a54af527e6ce8ed166f
4
- data.tar.gz: 553bf7c5ea5de914deefbc2be5651d4fc07ea722a3683f819169a13d22768936
3
+ metadata.gz: dd4cae5e576fa86d2ff9e6522efd9f3f2af436748a0d5f7f38fe74ab6fdbc3a0
4
+ data.tar.gz: b369ab5616520f882519353f4174073c7d4704626af931e54e5bfafe8bf722e2
5
5
  SHA512:
6
- metadata.gz: d38e78bf260f2df8aed9c220ca40ac3b2dc9a1a094cde42fe1f712753d4a6f76773198978f72aeb0d47d248d8d803e56d8a4e396b976704fbab6726deaa893f2
7
- data.tar.gz: a1686de3e042d246a0741a45ac64e8e47346701f9a13526fc81f78076d452497f27dab7e6f63254ebbc6bc834d78e480953b7e578f607293d382cb61ec6618f4
6
+ metadata.gz: 36717cfab543c5c8a8cb30c718c5cd5d7b9c0290fc10900505d8bec3922847c55dbeebd1232d5926bfa51010ab5a9a317366d21278678dbaf40b79e63f7cab11
7
+ data.tar.gz: 7b42bdb4128cbdb67a684c7a6fb6622f41c692f9f920996f6a1d84fd3e108e1ccee444a4b6b64c0a190956ce40e911e9aee8c88104b87944da181328484a587d
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.21.0 (2026-12-04)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.20.0 (2026-11-29)
10
+ ------------------
11
+
12
+ * Feature - Amazon S3 file systems supports mounting from outside your virtual private cloud (VPC).
13
+
4
14
  1.19.0 (2026-11-18)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.19.0
1
+ 1.21.0
@@ -689,6 +689,64 @@ module Aws::S3Files
689
689
  req.send_request(options)
690
690
  end
691
691
 
692
+ # Creates a mount session for an S3 File System and returns a set of
693
+ # endpoints that you can use to mount the file system. Each endpoint
694
+ # includes an IP address, a port, and a mount token that a client
695
+ # presents when it connects to the endpoint.
696
+ #
697
+ # @option params [required, String] :file_system_id
698
+ # The ID of the S3 File System for which to create the mount session.
699
+ #
700
+ # @option params [String] :preferred_availability_zone_id
701
+ # The ID of the Availability Zone (for example, `use1-az1`) in which you
702
+ # prefer the returned endpoints to be located. The Availability Zone
703
+ # must be in the same Amazon Web Services Region as the file system.
704
+ # This preference is best effort: if an endpoint in the preferred
705
+ # Availability Zone isn't available, endpoints in another Availability
706
+ # Zone are returned instead of failing the request. If you don't
707
+ # specify a value, endpoints are returned without an Availability Zone
708
+ # preference.
709
+ #
710
+ # @option params [String] :network_origin
711
+ # Indicates whether the client connects to the file system from within
712
+ # the Amazon Web Services Cloud (`AWS_NETWORK`). External network
713
+ # (`EXTERNAL_NETWORK`) connections are not supported.
714
+ #
715
+ # @return [Types::CreateMountSessionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
716
+ #
717
+ # * {Types::CreateMountSessionResponse#file_system_id #file_system_id} => String
718
+ # * {Types::CreateMountSessionResponse#preferred_availability_zone_id #preferred_availability_zone_id} => String
719
+ # * {Types::CreateMountSessionResponse#endpoints #endpoints} => Array<Types::MountSessionEndpoint>
720
+ #
721
+ # @example Request syntax with placeholder values
722
+ #
723
+ # resp = client.create_mount_session({
724
+ # file_system_id: "FileSystemId", # required
725
+ # preferred_availability_zone_id: "AvailabilityZoneId",
726
+ # network_origin: "AWS_NETWORK", # accepts AWS_NETWORK, EXTERNAL_NETWORK
727
+ # })
728
+ #
729
+ # @example Response structure
730
+ #
731
+ # resp.file_system_id #=> String
732
+ # resp.preferred_availability_zone_id #=> String
733
+ # resp.endpoints #=> Array
734
+ # resp.endpoints[0].availability_zone_id #=> String
735
+ # resp.endpoints[0].ipv4_address #=> String
736
+ # resp.endpoints[0].ipv6_address #=> String
737
+ # resp.endpoints[0].port #=> Integer
738
+ # resp.endpoints[0].mount_token #=> String
739
+ # resp.endpoints[0].issued_at #=> Time
740
+ #
741
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3files-2025-05-05/CreateMountSession AWS API Documentation
742
+ #
743
+ # @overload create_mount_session(params = {})
744
+ # @param [Hash] params ({})
745
+ def create_mount_session(params = {}, options = {})
746
+ req = build_request(:create_mount_session, params)
747
+ req.send_request(options)
748
+ end
749
+
692
750
  # Creates a mount target resource as an endpoint for mounting the S3
693
751
  # File System from compute resources in a specific Availability Zone and
694
752
  # VPC. Mount targets provide network access to the file system.
@@ -1545,7 +1603,7 @@ module Aws::S3Files
1545
1603
  tracer: tracer
1546
1604
  )
1547
1605
  context[:gem_name] = 'aws-sdk-s3files'
1548
- context[:gem_version] = '1.19.0'
1606
+ context[:gem_version] = '1.21.0'
1549
1607
  Seahorse::Client::Request.new(handlers, context)
1550
1608
  end
1551
1609
 
@@ -28,6 +28,8 @@ module Aws::S3Files
28
28
  CreateFileSystemRequest = Shapes::StructureShape.new(name: 'CreateFileSystemRequest')
29
29
  CreateFileSystemRequestPrefixString = Shapes::StringShape.new(name: 'CreateFileSystemRequestPrefixString')
30
30
  CreateFileSystemResponse = Shapes::StructureShape.new(name: 'CreateFileSystemResponse')
31
+ CreateMountSessionRequest = Shapes::StructureShape.new(name: 'CreateMountSessionRequest')
32
+ CreateMountSessionResponse = Shapes::StructureShape.new(name: 'CreateMountSessionResponse')
31
33
  CreateMountTargetRequest = Shapes::StructureShape.new(name: 'CreateMountTargetRequest')
32
34
  CreateMountTargetResponse = Shapes::StructureShape.new(name: 'CreateMountTargetResponse')
33
35
  CreationPermissions = Shapes::StructureShape.new(name: 'CreationPermissions')
@@ -81,9 +83,13 @@ module Aws::S3Files
81
83
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
82
84
  ListTagsForResourceRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListTagsForResourceRequestMaxResultsInteger')
83
85
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
86
+ MountSessionEndpoint = Shapes::StructureShape.new(name: 'MountSessionEndpoint')
87
+ MountSessionEndpoints = Shapes::ListShape.new(name: 'MountSessionEndpoints')
84
88
  MountTargetId = Shapes::StringShape.new(name: 'MountTargetId')
85
89
  MountTargets = Shapes::ListShape.new(name: 'MountTargets')
90
+ MountToken = Shapes::StringShape.new(name: 'MountToken')
86
91
  NetworkInterfaceId = Shapes::StringShape.new(name: 'NetworkInterfaceId')
92
+ NetworkOrigin = Shapes::StringShape.new(name: 'NetworkOrigin')
87
93
  OwnerGid = Shapes::IntegerShape.new(name: 'OwnerGid')
88
94
  OwnerUid = Shapes::IntegerShape.new(name: 'OwnerUid')
89
95
  Path = Shapes::StringShape.new(name: 'Path')
@@ -172,6 +178,16 @@ module Aws::S3Files
172
178
  CreateFileSystemResponse.add_member(:name, Shapes::ShapeRef.new(shape: TagValue, location_name: "name"))
173
179
  CreateFileSystemResponse.struct_class = Types::CreateFileSystemResponse
174
180
 
181
+ CreateMountSessionRequest.add_member(:file_system_id, Shapes::ShapeRef.new(shape: FileSystemId, required: true, location: "uri", location_name: "fileSystemId"))
182
+ CreateMountSessionRequest.add_member(:preferred_availability_zone_id, Shapes::ShapeRef.new(shape: AvailabilityZoneId, location_name: "preferredAvailabilityZoneId"))
183
+ CreateMountSessionRequest.add_member(:network_origin, Shapes::ShapeRef.new(shape: NetworkOrigin, location_name: "networkOrigin"))
184
+ CreateMountSessionRequest.struct_class = Types::CreateMountSessionRequest
185
+
186
+ CreateMountSessionResponse.add_member(:file_system_id, Shapes::ShapeRef.new(shape: FileSystemId, location_name: "fileSystemId"))
187
+ CreateMountSessionResponse.add_member(:preferred_availability_zone_id, Shapes::ShapeRef.new(shape: AvailabilityZoneId, location_name: "preferredAvailabilityZoneId"))
188
+ CreateMountSessionResponse.add_member(:endpoints, Shapes::ShapeRef.new(shape: MountSessionEndpoints, location_name: "endpoints"))
189
+ CreateMountSessionResponse.struct_class = Types::CreateMountSessionResponse
190
+
175
191
  CreateMountTargetRequest.add_member(:file_system_id, Shapes::ShapeRef.new(shape: FileSystemId, required: true, location_name: "fileSystemId"))
176
192
  CreateMountTargetRequest.add_member(:subnet_id, Shapes::ShapeRef.new(shape: SubnetId, required: true, location_name: "subnetId"))
177
193
  CreateMountTargetRequest.add_member(:ipv4_address, Shapes::ShapeRef.new(shape: Ipv4Address, location_name: "ipv4Address"))
@@ -366,6 +382,16 @@ module Aws::S3Files
366
382
  ListTagsForResourceResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
367
383
  ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
368
384
 
385
+ MountSessionEndpoint.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: AvailabilityZoneId, location_name: "availabilityZoneId"))
386
+ MountSessionEndpoint.add_member(:ipv4_address, Shapes::ShapeRef.new(shape: Ipv4Address, location_name: "ipv4Address"))
387
+ MountSessionEndpoint.add_member(:ipv6_address, Shapes::ShapeRef.new(shape: Ipv6Address, location_name: "ipv6Address"))
388
+ MountSessionEndpoint.add_member(:port, Shapes::ShapeRef.new(shape: Integer, location_name: "port"))
389
+ MountSessionEndpoint.add_member(:mount_token, Shapes::ShapeRef.new(shape: MountToken, location_name: "mountToken"))
390
+ MountSessionEndpoint.add_member(:issued_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "issuedAt"))
391
+ MountSessionEndpoint.struct_class = Types::MountSessionEndpoint
392
+
393
+ MountSessionEndpoints.member = Shapes::ShapeRef.new(shape: MountSessionEndpoint)
394
+
369
395
  MountTargets.member = Shapes::ShapeRef.new(shape: ListMountTargetsDescription)
370
396
 
371
397
  PosixUser.add_member(:uid, Shapes::ShapeRef.new(shape: Uid, required: true, location_name: "uid"))
@@ -496,6 +522,19 @@ module Aws::S3Files
496
522
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
497
523
  end)
498
524
 
525
+ api.add_operation(:create_mount_session, Seahorse::Model::Operation.new.tap do |o|
526
+ o.name = "CreateMountSession"
527
+ o.http_method = "POST"
528
+ o.http_request_uri = "/file-systems/{fileSystemId}/mount-sessions"
529
+ o.input = Shapes::ShapeRef.new(shape: CreateMountSessionRequest)
530
+ o.output = Shapes::ShapeRef.new(shape: CreateMountSessionResponse)
531
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
532
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
533
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
534
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
535
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
536
+ end)
537
+
499
538
  api.add_operation(:create_mount_target, Seahorse::Model::Operation.new.tap do |o|
500
539
  o.name = "CreateMountTarget"
501
540
  o.http_method = "PUT"
@@ -288,6 +288,62 @@ module Aws::S3Files
288
288
  include Aws::Structure
289
289
  end
290
290
 
291
+ # @!attribute [rw] file_system_id
292
+ # The ID of the S3 File System for which to create the mount session.
293
+ # @return [String]
294
+ #
295
+ # @!attribute [rw] preferred_availability_zone_id
296
+ # The ID of the Availability Zone (for example, `use1-az1`) in which
297
+ # you prefer the returned endpoints to be located. The Availability
298
+ # Zone must be in the same Amazon Web Services Region as the file
299
+ # system. This preference is best effort: if an endpoint in the
300
+ # preferred Availability Zone isn't available, endpoints in another
301
+ # Availability Zone are returned instead of failing the request. If
302
+ # you don't specify a value, endpoints are returned without an
303
+ # Availability Zone preference.
304
+ # @return [String]
305
+ #
306
+ # @!attribute [rw] network_origin
307
+ # Indicates whether the client connects to the file system from within
308
+ # the Amazon Web Services Cloud (`AWS_NETWORK`). External network
309
+ # (`EXTERNAL_NETWORK`) connections are not supported.
310
+ # @return [String]
311
+ #
312
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3files-2025-05-05/CreateMountSessionRequest AWS API Documentation
313
+ #
314
+ class CreateMountSessionRequest < Struct.new(
315
+ :file_system_id,
316
+ :preferred_availability_zone_id,
317
+ :network_origin)
318
+ SENSITIVE = []
319
+ include Aws::Structure
320
+ end
321
+
322
+ # @!attribute [rw] file_system_id
323
+ # The ID of the S3 File System that the mount session applies to.
324
+ # @return [String]
325
+ #
326
+ # @!attribute [rw] preferred_availability_zone_id
327
+ # The ID of the preferred Availability Zone that was specified in the
328
+ # request, if any. The Availability Zone of an individual endpoint can
329
+ # differ from this value.
330
+ # @return [String]
331
+ #
332
+ # @!attribute [rw] endpoints
333
+ # The endpoints that you can use to mount the file system. Each
334
+ # endpoint includes an IP address, a port, and a mount token.
335
+ # @return [Array<Types::MountSessionEndpoint>]
336
+ #
337
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3files-2025-05-05/CreateMountSessionResponse AWS API Documentation
338
+ #
339
+ class CreateMountSessionResponse < Struct.new(
340
+ :file_system_id,
341
+ :preferred_availability_zone_id,
342
+ :endpoints)
343
+ SENSITIVE = []
344
+ include Aws::Structure
345
+ end
346
+
291
347
  # @!attribute [rw] file_system_id
292
348
  # The ID or Amazon Resource Name (ARN) of the S3 File System to create
293
349
  # the mount target for.
@@ -1226,6 +1282,49 @@ module Aws::S3Files
1226
1282
  include Aws::Structure
1227
1283
  end
1228
1284
 
1285
+ # Describes a single endpoint that a client can use to mount an S3 File
1286
+ # System. An endpoint includes the network address, port, and mount
1287
+ # token for the connection.
1288
+ #
1289
+ # @!attribute [rw] availability_zone_id
1290
+ # The ID of the Availability Zone in which the endpoint is located.
1291
+ # @return [String]
1292
+ #
1293
+ # @!attribute [rw] ipv4_address
1294
+ # The IPv4 address to connect to for this endpoint.
1295
+ # @return [String]
1296
+ #
1297
+ # @!attribute [rw] ipv6_address
1298
+ # The IPv6 address to connect to for this endpoint.
1299
+ # @return [String]
1300
+ #
1301
+ # @!attribute [rw] port
1302
+ # The port to connect to for this endpoint.
1303
+ # @return [Integer]
1304
+ #
1305
+ # @!attribute [rw] mount_token
1306
+ # An opaque token that the client presents when it connects to this
1307
+ # endpoint to mount the file system. Treat the mount token as a
1308
+ # credential and keep it secret.
1309
+ # @return [String]
1310
+ #
1311
+ # @!attribute [rw] issued_at
1312
+ # The time at which this endpoint was issued.
1313
+ # @return [Time]
1314
+ #
1315
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3files-2025-05-05/MountSessionEndpoint AWS API Documentation
1316
+ #
1317
+ class MountSessionEndpoint < Struct.new(
1318
+ :availability_zone_id,
1319
+ :ipv4_address,
1320
+ :ipv6_address,
1321
+ :port,
1322
+ :mount_token,
1323
+ :issued_at)
1324
+ SENSITIVE = [:mount_token]
1325
+ include Aws::Structure
1326
+ end
1327
+
1229
1328
  # Specifies the POSIX identity with uid, gid, and secondary group IDs
1230
1329
  # for user enforcement.
1231
1330
  #
@@ -55,7 +55,7 @@ module Aws::S3Files
55
55
  autoload :EndpointProvider, 'aws-sdk-s3files/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-s3files/endpoints'
57
57
 
58
- GEM_VERSION = '1.19.0'
58
+ GEM_VERSION = '1.21.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -151,6 +151,20 @@ module Aws
151
151
  ) -> _CreateFileSystemResponseSuccess
152
152
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateFileSystemResponseSuccess
153
153
 
154
+ interface _CreateMountSessionResponseSuccess
155
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateMountSessionResponse]
156
+ def file_system_id: () -> ::String
157
+ def preferred_availability_zone_id: () -> ::String
158
+ def endpoints: () -> ::Array[Types::MountSessionEndpoint]
159
+ end
160
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Files/Client.html#create_mount_session-instance_method
161
+ def create_mount_session: (
162
+ file_system_id: ::String,
163
+ ?preferred_availability_zone_id: ::String,
164
+ ?network_origin: ("AWS_NETWORK" | "EXTERNAL_NETWORK")
165
+ ) -> _CreateMountSessionResponseSuccess
166
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateMountSessionResponseSuccess
167
+
154
168
  interface _CreateMountTargetResponseSuccess
155
169
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateMountTargetResponse]
156
170
  def availability_zone_id: () -> ::String
data/sig/types.rbs CHANGED
@@ -67,6 +67,20 @@ module Aws::S3Files
67
67
  SENSITIVE: []
68
68
  end
69
69
 
70
+ class CreateMountSessionRequest
71
+ attr_accessor file_system_id: ::String
72
+ attr_accessor preferred_availability_zone_id: ::String
73
+ attr_accessor network_origin: ("AWS_NETWORK" | "EXTERNAL_NETWORK")
74
+ SENSITIVE: []
75
+ end
76
+
77
+ class CreateMountSessionResponse
78
+ attr_accessor file_system_id: ::String
79
+ attr_accessor preferred_availability_zone_id: ::String
80
+ attr_accessor endpoints: ::Array[Types::MountSessionEndpoint]
81
+ SENSITIVE: []
82
+ end
83
+
70
84
  class CreateMountTargetRequest
71
85
  attr_accessor file_system_id: ::String
72
86
  attr_accessor subnet_id: ::String
@@ -317,6 +331,16 @@ module Aws::S3Files
317
331
  SENSITIVE: []
318
332
  end
319
333
 
334
+ class MountSessionEndpoint
335
+ attr_accessor availability_zone_id: ::String
336
+ attr_accessor ipv4_address: ::String
337
+ attr_accessor ipv6_address: ::String
338
+ attr_accessor port: ::Integer
339
+ attr_accessor mount_token: ::String
340
+ attr_accessor issued_at: ::Time
341
+ SENSITIVE: [:mount_token]
342
+ end
343
+
320
344
  class PosixUser
321
345
  attr_accessor uid: ::Integer
322
346
  attr_accessor gid: ::Integer
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-s3files
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.19.0
4
+ version: 1.21.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
@@ -18,7 +18,7 @@ dependencies:
18
18
  version: '3'
19
19
  - - ">="
20
20
  - !ruby/object:Gem::Version
21
- version: 3.270.0
21
+ version: 3.274.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -28,7 +28,7 @@ dependencies:
28
28
  version: '3'
29
29
  - - ">="
30
30
  - !ruby/object:Gem::Version
31
- version: 3.270.0
31
+ version: 3.274.0
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: aws-sigv4
34
34
  requirement: !ruby/object:Gem::Requirement