aws-sdk-fsx 1.114.0 → 1.115.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-fsx/client.rb +254 -10
- data/lib/aws-sdk-fsx/client_api.rb +183 -0
- data/lib/aws-sdk-fsx/errors.rb +100 -0
- data/lib/aws-sdk-fsx/types.rb +503 -1
- data/lib/aws-sdk-fsx.rb +1 -1
- data/sig/client.rbs +60 -0
- data/sig/errors.rbs +19 -0
- data/sig/types.rbs +129 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6eb80c2e7543cfd64f659af821ceea17ce1ad3582dce0d63e117374cad619fd3
|
4
|
+
data.tar.gz: c8049da1a68b6266da711867de4a5cd02be133373df7a56246f9ceaec9752457
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 90c0722f7863edd9cf003f2cbd600338a5a4bdd0e6d45235ad28a1178df1ca65397184741acf086d70ca3a25da6263505c9a64735251a7638f5af70086a86493
|
7
|
+
data.tar.gz: 0a5d81d2a561b067ab8a8395334703aa7ac0c1cd0070b4fc1bb60b970ebd1f5af5d268b43591215f8d1a8b18a9a413e38e0fa10c264a4d02be05507f4cad5bc5
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.115.0
|
data/lib/aws-sdk-fsx/client.rb
CHANGED
@@ -1473,6 +1473,117 @@ module Aws::FSx
|
|
1473
1473
|
req.send_request(options)
|
1474
1474
|
end
|
1475
1475
|
|
1476
|
+
# Creates an S3 access point and attaches it to an Amazon FSx volume.
|
1477
|
+
# For FSx for OpenZFS file systems, the volume must be hosted on a
|
1478
|
+
# high-availability file system, either Single-AZ or Multi-AZ. For more
|
1479
|
+
# information, see [Accessing your data using access
|
1480
|
+
# points](fsx/latest/OpenZFSGuide/s3accesspoints-for-FSx.html) in the
|
1481
|
+
# Amazon FSx for OpenZFS User Guide.
|
1482
|
+
#
|
1483
|
+
# The requester requires the following permissions to perform these
|
1484
|
+
# actions:
|
1485
|
+
#
|
1486
|
+
# * `fsx:CreateAndAttachS3AccessPoint`
|
1487
|
+
#
|
1488
|
+
# * `s3:CreateAccessPoint`
|
1489
|
+
#
|
1490
|
+
# * `s3:GetAccessPoint`
|
1491
|
+
#
|
1492
|
+
# * `s3:PutAccessPointPolicy`
|
1493
|
+
#
|
1494
|
+
# * `s3:DeleteAccessPoint`
|
1495
|
+
#
|
1496
|
+
# The following actions are related to `CreateAndAttachS3AccessPoint`:
|
1497
|
+
#
|
1498
|
+
# * DescribeS3AccessPointAttachments
|
1499
|
+
#
|
1500
|
+
# * DetachAndDeleteS3AccessPoint
|
1501
|
+
#
|
1502
|
+
# @option params [String] :client_request_token
|
1503
|
+
# (Optional) An idempotency token for resource creation, in a string of
|
1504
|
+
# up to 63 ASCII characters. This token is automatically filled on your
|
1505
|
+
# behalf when you use the Command Line Interface (CLI) or an Amazon Web
|
1506
|
+
# Services SDK.
|
1507
|
+
#
|
1508
|
+
# **A suitable default value is auto-generated.** You should normally
|
1509
|
+
# not need to pass this option.**
|
1510
|
+
#
|
1511
|
+
# @option params [required, String] :name
|
1512
|
+
# The name you want to assign to this S3 access point.
|
1513
|
+
#
|
1514
|
+
# @option params [required, String] :type
|
1515
|
+
# The type of S3 access point you want to create. Only `OpenZFS` is
|
1516
|
+
# supported.
|
1517
|
+
#
|
1518
|
+
# @option params [Types::CreateAndAttachS3AccessPointOpenZFSConfiguration] :open_zfs_configuration
|
1519
|
+
# Specifies the configuration to use when creating and attaching an S3
|
1520
|
+
# access point to an FSx for OpenZFS volume.
|
1521
|
+
#
|
1522
|
+
# @option params [Types::CreateAndAttachS3AccessPointS3Configuration] :s3_access_point
|
1523
|
+
# Specifies the virtual private cloud (VPC) configuration if you're
|
1524
|
+
# creating an access point that is restricted to a VPC. For more
|
1525
|
+
# information, see [Creating access points restricted to a virtual
|
1526
|
+
# private cloud][1].
|
1527
|
+
#
|
1528
|
+
#
|
1529
|
+
#
|
1530
|
+
# [1]: https://docs.aws.amazon.com/fsx/latest/OpenZFSGuide/access-points-vpc.html
|
1531
|
+
#
|
1532
|
+
# @return [Types::CreateAndAttachS3AccessPointResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1533
|
+
#
|
1534
|
+
# * {Types::CreateAndAttachS3AccessPointResponse#s3_access_point_attachment #s3_access_point_attachment} => Types::S3AccessPointAttachment
|
1535
|
+
#
|
1536
|
+
# @example Request syntax with placeholder values
|
1537
|
+
#
|
1538
|
+
# resp = client.create_and_attach_s3_access_point({
|
1539
|
+
# client_request_token: "ClientRequestToken",
|
1540
|
+
# name: "S3AccessPointAttachmentName", # required
|
1541
|
+
# type: "OPENZFS", # required, accepts OPENZFS
|
1542
|
+
# open_zfs_configuration: {
|
1543
|
+
# volume_id: "VolumeId", # required
|
1544
|
+
# file_system_identity: { # required
|
1545
|
+
# type: "POSIX", # required, accepts POSIX
|
1546
|
+
# posix_user: {
|
1547
|
+
# uid: 1, # required
|
1548
|
+
# gid: 1, # required
|
1549
|
+
# secondary_gids: [1],
|
1550
|
+
# },
|
1551
|
+
# },
|
1552
|
+
# },
|
1553
|
+
# s3_access_point: {
|
1554
|
+
# vpc_configuration: {
|
1555
|
+
# vpc_id: "VpcId",
|
1556
|
+
# },
|
1557
|
+
# policy: "AccessPointPolicy",
|
1558
|
+
# },
|
1559
|
+
# })
|
1560
|
+
#
|
1561
|
+
# @example Response structure
|
1562
|
+
#
|
1563
|
+
# resp.s3_access_point_attachment.lifecycle #=> String, one of "AVAILABLE", "CREATING", "DELETING", "UPDATING", "FAILED"
|
1564
|
+
# resp.s3_access_point_attachment.lifecycle_transition_reason.message #=> String
|
1565
|
+
# resp.s3_access_point_attachment.creation_time #=> Time
|
1566
|
+
# resp.s3_access_point_attachment.name #=> String
|
1567
|
+
# resp.s3_access_point_attachment.type #=> String, one of "OPENZFS"
|
1568
|
+
# resp.s3_access_point_attachment.open_zfs_configuration.volume_id #=> String
|
1569
|
+
# resp.s3_access_point_attachment.open_zfs_configuration.file_system_identity.type #=> String, one of "POSIX"
|
1570
|
+
# resp.s3_access_point_attachment.open_zfs_configuration.file_system_identity.posix_user.uid #=> Integer
|
1571
|
+
# resp.s3_access_point_attachment.open_zfs_configuration.file_system_identity.posix_user.gid #=> Integer
|
1572
|
+
# resp.s3_access_point_attachment.open_zfs_configuration.file_system_identity.posix_user.secondary_gids #=> Array
|
1573
|
+
# resp.s3_access_point_attachment.open_zfs_configuration.file_system_identity.posix_user.secondary_gids[0] #=> Integer
|
1574
|
+
# resp.s3_access_point_attachment.s3_access_point.resource_arn #=> String
|
1575
|
+
# resp.s3_access_point_attachment.s3_access_point.alias #=> String
|
1576
|
+
# resp.s3_access_point_attachment.s3_access_point.vpc_configuration.vpc_id #=> String
|
1577
|
+
#
|
1578
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/CreateAndAttachS3AccessPoint AWS API Documentation
|
1579
|
+
#
|
1580
|
+
# @overload create_and_attach_s3_access_point(params = {})
|
1581
|
+
# @param [Hash] params ({})
|
1582
|
+
def create_and_attach_s3_access_point(params = {}, options = {})
|
1583
|
+
req = build_request(:create_and_attach_s3_access_point, params)
|
1584
|
+
req.send_request(options)
|
1585
|
+
end
|
1586
|
+
|
1476
1587
|
# Creates a backup of an existing Amazon FSx for Windows File Server
|
1477
1588
|
# file system, Amazon FSx for Lustre file system, Amazon FSx for NetApp
|
1478
1589
|
# ONTAP volume, or Amazon FSx for OpenZFS file system. We recommend
|
@@ -2688,7 +2799,7 @@ module Aws::FSx
|
|
2688
2799
|
#
|
2689
2800
|
#
|
2690
2801
|
# [1]: https://docs.aws.amazon.com/fsx/latest/WindowsGuide/optimize-fsx-costs.html#storage-type-options
|
2691
|
-
# [2]: https://docs.aws.amazon.com/fsx/latest/LustreGuide/lustre-storage-classes
|
2802
|
+
# [2]: https://docs.aws.amazon.com/fsx/latest/LustreGuide/using-fsx-lustre.html#lustre-storage-classes
|
2692
2803
|
# [3]: https://docs.aws.amazon.com/fsx/latest/OpenZFSGuide/performance-intelligent-tiering
|
2693
2804
|
#
|
2694
2805
|
# @option params [required, Array<String>] :subnet_ids
|
@@ -4998,12 +5109,19 @@ module Aws::FSx
|
|
4998
5109
|
# Then provide a `FileSystemId` value to the `DeleteFileSystem`
|
4999
5110
|
# operation.
|
5000
5111
|
#
|
5112
|
+
# Before deleting an Amazon FSx for OpenZFS file system, make sure that
|
5113
|
+
# there aren't any Amazon S3 access points attached to any volume. For
|
5114
|
+
# more information on how to list S3 access points that are attached to
|
5115
|
+
# volumes, see [Listing S3 access point attachments][1]. For more
|
5116
|
+
# information on how to delete S3 access points, see [Deleting an S3
|
5117
|
+
# access point attachment][2].
|
5118
|
+
#
|
5001
5119
|
# By default, when you delete an Amazon FSx for Windows File Server file
|
5002
5120
|
# system, a final backup is created upon deletion. This final backup
|
5003
5121
|
# isn't subject to the file system's retention policy, and must be
|
5004
5122
|
# manually deleted.
|
5005
5123
|
#
|
5006
|
-
# To delete an Amazon FSx for Lustre file system, first [unmount][
|
5124
|
+
# To delete an Amazon FSx for Lustre file system, first [unmount][3] it
|
5007
5125
|
# from every connected Amazon EC2 instance, then provide a
|
5008
5126
|
# `FileSystemId` value to the `DeleteFileSystem` operation. By default,
|
5009
5127
|
# Amazon FSx will not take a final backup when the `DeleteFileSystem`
|
@@ -5012,15 +5130,15 @@ module Aws::FSx
|
|
5012
5130
|
# file system you are deleting. Backups cannot be enabled on S3-linked
|
5013
5131
|
# file systems. To ensure all of your data is written back to S3 before
|
5014
5132
|
# deleting your file system, you can either monitor for the
|
5015
|
-
# [AgeOfOldestQueuedMessage][
|
5016
|
-
# export) or you can run an [export data repository task][
|
5133
|
+
# [AgeOfOldestQueuedMessage][4] metric to be zero (if using automatic
|
5134
|
+
# export) or you can run an [export data repository task][5]. If you
|
5017
5135
|
# have automatic export enabled and want to use an export data
|
5018
5136
|
# repository task, you have to disable automatic export before executing
|
5019
5137
|
# the export data repository task.
|
5020
5138
|
#
|
5021
5139
|
# The `DeleteFileSystem` operation returns while the file system has the
|
5022
5140
|
# `DELETING` status. You can check the file system deletion status by
|
5023
|
-
# calling the [DescribeFileSystems][
|
5141
|
+
# calling the [DescribeFileSystems][6] operation, which returns a list
|
5024
5142
|
# of file systems in your account. If you pass the file system ID for a
|
5025
5143
|
# deleted file system, the `DescribeFileSystems` operation returns a
|
5026
5144
|
# `FileSystemNotFound` error.
|
@@ -5036,10 +5154,12 @@ module Aws::FSx
|
|
5036
5154
|
#
|
5037
5155
|
#
|
5038
5156
|
#
|
5039
|
-
# [1]: https://docs.aws.amazon.com/fsx/latest/
|
5040
|
-
# [2]: https://docs.aws.amazon.com/fsx/latest/
|
5041
|
-
# [3]: https://docs.aws.amazon.com/fsx/latest/LustreGuide/
|
5042
|
-
# [4]: https://docs.aws.amazon.com/fsx/latest/
|
5157
|
+
# [1]: https://docs.aws.amazon.com/fsx/latest/OpenZFSGuide/access-points-list
|
5158
|
+
# [2]: https://docs.aws.amazon.com/fsx/latest/OpenZFSGuide/delete-points-list
|
5159
|
+
# [3]: https://docs.aws.amazon.com/fsx/latest/LustreGuide/unmounting-fs.html
|
5160
|
+
# [4]: https://docs.aws.amazon.com/fsx/latest/LustreGuide/monitoring-cloudwatch.html#auto-import-export-metrics
|
5161
|
+
# [5]: https://docs.aws.amazon.com/fsx/latest/LustreGuide/export-data-repo-task-dra.html
|
5162
|
+
# [6]: https://docs.aws.amazon.com/fsx/latest/APIReference/API_DescribeFileSystems.html
|
5043
5163
|
#
|
5044
5164
|
# @option params [required, String] :file_system_id
|
5045
5165
|
# The ID of the file system that you want to delete.
|
@@ -6511,6 +6631,82 @@ module Aws::FSx
|
|
6511
6631
|
req.send_request(options)
|
6512
6632
|
end
|
6513
6633
|
|
6634
|
+
# Describes one or more S3 access points attached to Amazon FSx volumes.
|
6635
|
+
#
|
6636
|
+
# The requester requires the following permission to perform this
|
6637
|
+
# action:
|
6638
|
+
#
|
6639
|
+
# * `fsx:DescribeS3AccessPointAttachments`
|
6640
|
+
#
|
6641
|
+
# ^
|
6642
|
+
#
|
6643
|
+
# @option params [Array<String>] :names
|
6644
|
+
# The names of the S3 access point attachments whose descriptions you
|
6645
|
+
# want to retrieve.
|
6646
|
+
#
|
6647
|
+
# @option params [Array<Types::S3AccessPointAttachmentsFilter>] :filters
|
6648
|
+
# Enter a filter Name and Values pair to view a select set of S3 access
|
6649
|
+
# point attachments.
|
6650
|
+
#
|
6651
|
+
# @option params [Integer] :max_results
|
6652
|
+
# The maximum number of resources to return in the response. This value
|
6653
|
+
# must be an integer greater than zero.
|
6654
|
+
#
|
6655
|
+
# @option params [String] :next_token
|
6656
|
+
# (Optional) Opaque pagination token returned from a previous operation
|
6657
|
+
# (String). If present, this token indicates from what point you can
|
6658
|
+
# continue processing the request, where the previous `NextToken` value
|
6659
|
+
# left off.
|
6660
|
+
#
|
6661
|
+
# @return [Types::DescribeS3AccessPointAttachmentsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6662
|
+
#
|
6663
|
+
# * {Types::DescribeS3AccessPointAttachmentsResponse#s3_access_point_attachments #s3_access_point_attachments} => Array<Types::S3AccessPointAttachment>
|
6664
|
+
# * {Types::DescribeS3AccessPointAttachmentsResponse#next_token #next_token} => String
|
6665
|
+
#
|
6666
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
6667
|
+
#
|
6668
|
+
# @example Request syntax with placeholder values
|
6669
|
+
#
|
6670
|
+
# resp = client.describe_s3_access_point_attachments({
|
6671
|
+
# names: ["S3AccessPointAttachmentName"],
|
6672
|
+
# filters: [
|
6673
|
+
# {
|
6674
|
+
# name: "file-system-id", # accepts file-system-id, volume-id, type
|
6675
|
+
# values: ["S3AccessPointAttachmentsFilterValue"],
|
6676
|
+
# },
|
6677
|
+
# ],
|
6678
|
+
# max_results: 1,
|
6679
|
+
# next_token: "NextToken",
|
6680
|
+
# })
|
6681
|
+
#
|
6682
|
+
# @example Response structure
|
6683
|
+
#
|
6684
|
+
# resp.s3_access_point_attachments #=> Array
|
6685
|
+
# resp.s3_access_point_attachments[0].lifecycle #=> String, one of "AVAILABLE", "CREATING", "DELETING", "UPDATING", "FAILED"
|
6686
|
+
# resp.s3_access_point_attachments[0].lifecycle_transition_reason.message #=> String
|
6687
|
+
# resp.s3_access_point_attachments[0].creation_time #=> Time
|
6688
|
+
# resp.s3_access_point_attachments[0].name #=> String
|
6689
|
+
# resp.s3_access_point_attachments[0].type #=> String, one of "OPENZFS"
|
6690
|
+
# resp.s3_access_point_attachments[0].open_zfs_configuration.volume_id #=> String
|
6691
|
+
# resp.s3_access_point_attachments[0].open_zfs_configuration.file_system_identity.type #=> String, one of "POSIX"
|
6692
|
+
# resp.s3_access_point_attachments[0].open_zfs_configuration.file_system_identity.posix_user.uid #=> Integer
|
6693
|
+
# resp.s3_access_point_attachments[0].open_zfs_configuration.file_system_identity.posix_user.gid #=> Integer
|
6694
|
+
# resp.s3_access_point_attachments[0].open_zfs_configuration.file_system_identity.posix_user.secondary_gids #=> Array
|
6695
|
+
# resp.s3_access_point_attachments[0].open_zfs_configuration.file_system_identity.posix_user.secondary_gids[0] #=> Integer
|
6696
|
+
# resp.s3_access_point_attachments[0].s3_access_point.resource_arn #=> String
|
6697
|
+
# resp.s3_access_point_attachments[0].s3_access_point.alias #=> String
|
6698
|
+
# resp.s3_access_point_attachments[0].s3_access_point.vpc_configuration.vpc_id #=> String
|
6699
|
+
# resp.next_token #=> String
|
6700
|
+
#
|
6701
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DescribeS3AccessPointAttachments AWS API Documentation
|
6702
|
+
#
|
6703
|
+
# @overload describe_s3_access_point_attachments(params = {})
|
6704
|
+
# @param [Hash] params ({})
|
6705
|
+
def describe_s3_access_point_attachments(params = {}, options = {})
|
6706
|
+
req = build_request(:describe_s3_access_point_attachments, params)
|
6707
|
+
req.send_request(options)
|
6708
|
+
end
|
6709
|
+
|
6514
6710
|
# Indicates whether participant accounts in your organization can create
|
6515
6711
|
# Amazon FSx for NetApp ONTAP Multi-AZ file systems in subnets that are
|
6516
6712
|
# shared by a virtual private cloud (VPC) owner. For more information,
|
@@ -7160,6 +7356,54 @@ module Aws::FSx
|
|
7160
7356
|
req.send_request(options)
|
7161
7357
|
end
|
7162
7358
|
|
7359
|
+
# Detaches an S3 access point from an Amazon FSx volume and deletes the
|
7360
|
+
# S3 access point.
|
7361
|
+
#
|
7362
|
+
# The requester requires the following permission to perform this
|
7363
|
+
# action:
|
7364
|
+
#
|
7365
|
+
# * `fsx:DetachAndDeleteS3AccessPoint`
|
7366
|
+
#
|
7367
|
+
# * `s3:DeleteAccessPoint`
|
7368
|
+
#
|
7369
|
+
# @option params [String] :client_request_token
|
7370
|
+
# (Optional) An idempotency token for resource creation, in a string of
|
7371
|
+
# up to 63 ASCII characters. This token is automatically filled on your
|
7372
|
+
# behalf when you use the Command Line Interface (CLI) or an Amazon Web
|
7373
|
+
# Services SDK.
|
7374
|
+
#
|
7375
|
+
# **A suitable default value is auto-generated.** You should normally
|
7376
|
+
# not need to pass this option.**
|
7377
|
+
#
|
7378
|
+
# @option params [required, String] :name
|
7379
|
+
# The name of the S3 access point attachment that you want to delete.
|
7380
|
+
#
|
7381
|
+
# @return [Types::DetachAndDeleteS3AccessPointResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
7382
|
+
#
|
7383
|
+
# * {Types::DetachAndDeleteS3AccessPointResponse#lifecycle #lifecycle} => String
|
7384
|
+
# * {Types::DetachAndDeleteS3AccessPointResponse#name #name} => String
|
7385
|
+
#
|
7386
|
+
# @example Request syntax with placeholder values
|
7387
|
+
#
|
7388
|
+
# resp = client.detach_and_delete_s3_access_point({
|
7389
|
+
# client_request_token: "ClientRequestToken",
|
7390
|
+
# name: "S3AccessPointAttachmentName", # required
|
7391
|
+
# })
|
7392
|
+
#
|
7393
|
+
# @example Response structure
|
7394
|
+
#
|
7395
|
+
# resp.lifecycle #=> String, one of "AVAILABLE", "CREATING", "DELETING", "UPDATING", "FAILED"
|
7396
|
+
# resp.name #=> String
|
7397
|
+
#
|
7398
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DetachAndDeleteS3AccessPoint AWS API Documentation
|
7399
|
+
#
|
7400
|
+
# @overload detach_and_delete_s3_access_point(params = {})
|
7401
|
+
# @param [Hash] params ({})
|
7402
|
+
def detach_and_delete_s3_access_point(params = {}, options = {})
|
7403
|
+
req = build_request(:detach_and_delete_s3_access_point, params)
|
7404
|
+
req.send_request(options)
|
7405
|
+
end
|
7406
|
+
|
7163
7407
|
# Use this action to disassociate, or remove, one or more Domain Name
|
7164
7408
|
# Service (DNS) aliases from an Amazon FSx for Windows File Server file
|
7165
7409
|
# system. If you attempt to disassociate a DNS alias that is not
|
@@ -9538,7 +9782,7 @@ module Aws::FSx
|
|
9538
9782
|
tracer: tracer
|
9539
9783
|
)
|
9540
9784
|
context[:gem_name] = 'aws-sdk-fsx'
|
9541
|
-
context[:gem_version] = '1.
|
9785
|
+
context[:gem_version] = '1.115.0'
|
9542
9786
|
Seahorse::Client::Request.new(handlers, context)
|
9543
9787
|
end
|
9544
9788
|
|