Class: Aws::S3Files::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::S3Files::Client
- Includes:
- ClientStubs
- Defined in:
- gems/aws-sdk-s3files/lib/aws-sdk-s3files/client.rb
Overview
An API client for S3Files. To construct a client, you need to configure a :region and :credentials.
client = Aws::S3Files::Client.new(
region: region_name,
credentials: credentials,
# ...
)
For details on configuring region and credentials see the developer guide.
See #initialize for a full list of supported configuration options.
Instance Attribute Summary
Attributes inherited from Seahorse::Client::Base
API Operations collapse
-
#create_access_point(params = {}) ⇒ Types::CreateAccessPointResponse
Creates an S3 File System Access Point for application-specific access with POSIX user identity and root directory enforcement.
-
#create_file_system(params = {}) ⇒ Types::CreateFileSystemResponse
Creates an S3 File System resource scoped to a bucket or prefix within a bucket, enabling file system access to S3 data.
-
#create_mount_target(params = {}) ⇒ Types::CreateMountTargetResponse
Creates a mount target resource as an endpoint for mounting the S3 File System from compute resources in a specific Availability Zone and VPC.
-
#delete_access_point(params = {}) ⇒ Struct
Deletes an S3 File System Access Point.
-
#delete_file_system(params = {}) ⇒ Struct
Deletes an S3 File System.
-
#delete_file_system_policy(params = {}) ⇒ Struct
Deletes the IAM resource policy of an S3 File System.
-
#delete_mount_target(params = {}) ⇒ Struct
Deletes the specified mount target.
-
#get_access_point(params = {}) ⇒ Types::GetAccessPointResponse
Returns resource information for an S3 File System Access Point.
-
#get_file_system(params = {}) ⇒ Types::GetFileSystemResponse
Returns resource information for the specified S3 File System including status, configuration, and metadata.
-
#get_file_system_policy(params = {}) ⇒ Types::GetFileSystemPolicyResponse
Returns the IAM resource policy of an S3 File System.
-
#get_mount_target(params = {}) ⇒ Types::GetMountTargetResponse
Returns detailed resource information for the specified mount target including network configuration.
-
#get_synchronization_configuration(params = {}) ⇒ Types::GetSynchronizationConfigurationResponse
Returns the synchronization configuration for the specified S3 File System, including import data rules and expiration data rules.
-
#list_access_points(params = {}) ⇒ Types::ListAccessPointsResponse
Returns resource information for all S3 File System Access Points associated with the specified S3 File System.
-
#list_file_systems(params = {}) ⇒ Types::ListFileSystemsResponse
Returns a list of all S3 File Systems owned by the account with optional filtering by bucket.
-
#list_mount_targets(params = {}) ⇒ Types::ListMountTargetsResponse
Returns resource information for all mount targets with optional filtering by file system, access point, and VPC.
-
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Lists all tags for S3 Files resources.
-
#put_file_system_policy(params = {}) ⇒ Struct
Creates or replaces the IAM resource policy for an S3 File System to control access permissions.
-
#put_synchronization_configuration(params = {}) ⇒ Struct
Creates or updates the synchronization configuration for the specified S3 File System, including import data rules and expiration data rules.
-
#tag_resource(params = {}) ⇒ Struct
Creates tags for S3 Files resources using standard Amazon Web Services tagging APIs.
-
#untag_resource(params = {}) ⇒ Struct
Removes tags from S3 Files resources.
-
#update_mount_target(params = {}) ⇒ Types::UpdateMountTargetResponse
Updates the mount target resource, specifically security group configurations.
Instance Method Summary collapse
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
Methods included from ClientStubs
#api_requests, #stub_data, #stub_responses
Methods inherited from Seahorse::Client::Base
add_plugin, api, clear_plugins, define, new, #operation_names, plugins, remove_plugin, set_api, set_plugins
Methods included from Seahorse::Client::HandlerBuilder
#handle, #handle_request, #handle_response
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
478 479 480 |
# File 'gems/aws-sdk-s3files/lib/aws-sdk-s3files/client.rb', line 478 def initialize(*args) super end |
Instance Method Details
#create_access_point(params = {}) ⇒ Types::CreateAccessPointResponse
Creates an S3 File System Access Point for application-specific access with POSIX user identity and root directory enforcement. Access points provide a way to manage access to shared datasets in multi-tenant scenarios.
577 578 579 580 |
# File 'gems/aws-sdk-s3files/lib/aws-sdk-s3files/client.rb', line 577 def create_access_point(params = {}, = {}) req = build_request(:create_access_point, params) req.send_request() end |
#create_file_system(params = {}) ⇒ Types::CreateFileSystemResponse
Creates an S3 File System resource scoped to a bucket or prefix within a bucket, enabling file system access to S3 data. To create a file system, you need an S3 bucket and an IAM role that grants the service permission to access the bucket.
686 687 688 689 |
# File 'gems/aws-sdk-s3files/lib/aws-sdk-s3files/client.rb', line 686 def create_file_system(params = {}, = {}) req = build_request(:create_file_system, params) req.send_request() end |
#create_mount_target(params = {}) ⇒ Types::CreateMountTargetResponse
Creates a mount target resource as an endpoint for mounting the S3 File System from compute resources in a specific Availability Zone and VPC. Mount targets provide network access to the file system.
778 779 780 781 |
# File 'gems/aws-sdk-s3files/lib/aws-sdk-s3files/client.rb', line 778 def create_mount_target(params = {}, = {}) req = build_request(:create_mount_target, params) req.send_request() end |
#delete_access_point(params = {}) ⇒ Struct
Deletes an S3 File System Access Point. This operation is irreversible.
801 802 803 804 |
# File 'gems/aws-sdk-s3files/lib/aws-sdk-s3files/client.rb', line 801 def delete_access_point(params = {}, = {}) req = build_request(:delete_access_point, params) req.send_request() end |
#delete_file_system(params = {}) ⇒ Struct
Deletes an S3 File System. You can optionally force deletion of a file system that has pending export data.
831 832 833 834 |
# File 'gems/aws-sdk-s3files/lib/aws-sdk-s3files/client.rb', line 831 def delete_file_system(params = {}, = {}) req = build_request(:delete_file_system, params) req.send_request() end |
#delete_file_system_policy(params = {}) ⇒ Struct
Deletes the IAM resource policy of an S3 File System.
854 855 856 857 |
# File 'gems/aws-sdk-s3files/lib/aws-sdk-s3files/client.rb', line 854 def delete_file_system_policy(params = {}, = {}) req = build_request(:delete_file_system_policy, params) req.send_request() end |
#delete_mount_target(params = {}) ⇒ Struct
Deletes the specified mount target. This operation is irreversible.
876 877 878 879 |
# File 'gems/aws-sdk-s3files/lib/aws-sdk-s3files/client.rb', line 876 def delete_mount_target(params = {}, = {}) req = build_request(:delete_mount_target, params) req.send_request() end |
#get_access_point(params = {}) ⇒ Types::GetAccessPointResponse
Returns resource information for an S3 File System Access Point.
931 932 933 934 |
# File 'gems/aws-sdk-s3files/lib/aws-sdk-s3files/client.rb', line 931 def get_access_point(params = {}, = {}) req = build_request(:get_access_point, params) req.send_request() end |
#get_file_system(params = {}) ⇒ Types::GetFileSystemResponse
Returns resource information for the specified S3 File System including status, configuration, and metadata.
987 988 989 990 |
# File 'gems/aws-sdk-s3files/lib/aws-sdk-s3files/client.rb', line 987 def get_file_system(params = {}, = {}) req = build_request(:get_file_system, params) req.send_request() end |
#get_file_system_policy(params = {}) ⇒ Types::GetFileSystemPolicyResponse
Returns the IAM resource policy of an S3 File System.
1018 1019 1020 1021 |
# File 'gems/aws-sdk-s3files/lib/aws-sdk-s3files/client.rb', line 1018 def get_file_system_policy(params = {}, = {}) req = build_request(:get_file_system_policy, params) req.send_request() end |
#get_mount_target(params = {}) ⇒ Types::GetMountTargetResponse
Returns detailed resource information for the specified mount target including network configuration.
1070 1071 1072 1073 |
# File 'gems/aws-sdk-s3files/lib/aws-sdk-s3files/client.rb', line 1070 def get_mount_target(params = {}, = {}) req = build_request(:get_mount_target, params) req.send_request() end |
#get_synchronization_configuration(params = {}) ⇒ Types::GetSynchronizationConfigurationResponse
Returns the synchronization configuration for the specified S3 File System, including import data rules and expiration data rules.
1108 1109 1110 1111 |
# File 'gems/aws-sdk-s3files/lib/aws-sdk-s3files/client.rb', line 1108 def get_synchronization_configuration(params = {}, = {}) req = build_request(:get_synchronization_configuration, params) req.send_request() end |
#list_access_points(params = {}) ⇒ Types::ListAccessPointsResponse
Returns resource information for all S3 File System Access Points associated with the specified S3 File System.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1165 1166 1167 1168 |
# File 'gems/aws-sdk-s3files/lib/aws-sdk-s3files/client.rb', line 1165 def list_access_points(params = {}, = {}) req = build_request(:list_access_points, params) req.send_request() end |
#list_file_systems(params = {}) ⇒ Types::ListFileSystemsResponse
Returns a list of all S3 File Systems owned by the account with optional filtering by bucket.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1220 1221 1222 1223 |
# File 'gems/aws-sdk-s3files/lib/aws-sdk-s3files/client.rb', line 1220 def list_file_systems(params = {}, = {}) req = build_request(:list_file_systems, params) req.send_request() end |
#list_mount_targets(params = {}) ⇒ Types::ListMountTargetsResponse
Returns resource information for all mount targets with optional filtering by file system, access point, and VPC.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1281 1282 1283 1284 |
# File 'gems/aws-sdk-s3files/lib/aws-sdk-s3files/client.rb', line 1281 def list_mount_targets(params = {}, = {}) req = build_request(:list_mount_targets, params) req.send_request() end |
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Lists all tags for S3 Files resources.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1324 1325 1326 1327 |
# File 'gems/aws-sdk-s3files/lib/aws-sdk-s3files/client.rb', line 1324 def (params = {}, = {}) req = build_request(:list_tags_for_resource, params) req.send_request() end |
#put_file_system_policy(params = {}) ⇒ Struct
Creates or replaces the IAM resource policy for an S3 File System to control access permissions.
1354 1355 1356 1357 |
# File 'gems/aws-sdk-s3files/lib/aws-sdk-s3files/client.rb', line 1354 def put_file_system_policy(params = {}, = {}) req = build_request(:put_file_system_policy, params) req.send_request() end |
#put_synchronization_configuration(params = {}) ⇒ Struct
Creates or updates the synchronization configuration for the specified S3 File System, including import data rules and expiration data rules.
1406 1407 1408 1409 |
# File 'gems/aws-sdk-s3files/lib/aws-sdk-s3files/client.rb', line 1406 def put_synchronization_configuration(params = {}, = {}) req = build_request(:put_synchronization_configuration, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Struct
Creates tags for S3 Files resources using standard Amazon Web Services tagging APIs.
1438 1439 1440 1441 |
# File 'gems/aws-sdk-s3files/lib/aws-sdk-s3files/client.rb', line 1438 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Removes tags from S3 Files resources.
1465 1466 1467 1468 |
# File 'gems/aws-sdk-s3files/lib/aws-sdk-s3files/client.rb', line 1465 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_mount_target(params = {}) ⇒ Types::UpdateMountTargetResponse
Updates the mount target resource, specifically security group configurations.
1524 1525 1526 1527 |
# File 'gems/aws-sdk-s3files/lib/aws-sdk-s3files/client.rb', line 1524 def update_mount_target(params = {}, = {}) req = build_request(:update_mount_target, params) req.send_request() end |