aws-sdk-storagegateway 1.0.0.rc3 → 1.0.0.rc4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-storagegateway.rb +1 -1
- data/lib/aws-sdk-storagegateway/client.rb +149 -73
- data/lib/aws-sdk-storagegateway/client_api.rb +25 -0
- data/lib/aws-sdk-storagegateway/types.rb +96 -17
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 433a437e32a00515a3984288b883da54d55d6226
|
4
|
+
data.tar.gz: 2aeae98ab1640fd2a9a50f538612a65a60d12d7e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 053b42dabb96096ad2337aabfa6f27b87b24f5f190562c76f5fa41047640237cc764520c796f132312a42e02d819e77d40e37feb4ffff2a5716751875f556750
|
7
|
+
data.tar.gz: 57cd9754894a354ccb0d6a6bbf386206308cbe013fe8d1f4bad76330acc53022c1e7a8451c17e7d644c11405675690b0debf36ebe35b368a4b8c7ab4cb68142c
|
@@ -18,6 +18,7 @@ require 'aws-sdk-core/plugins/regional_endpoint.rb'
|
|
18
18
|
require 'aws-sdk-core/plugins/response_paging.rb'
|
19
19
|
require 'aws-sdk-core/plugins/stub_responses.rb'
|
20
20
|
require 'aws-sdk-core/plugins/idempotency_token.rb'
|
21
|
+
require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
21
22
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
22
23
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
23
24
|
|
@@ -45,6 +46,7 @@ module Aws::StorageGateway
|
|
45
46
|
add_plugin(Aws::Plugins::ResponsePaging)
|
46
47
|
add_plugin(Aws::Plugins::StubResponses)
|
47
48
|
add_plugin(Aws::Plugins::IdempotencyToken)
|
49
|
+
add_plugin(Aws::Plugins::JsonvalueConverter)
|
48
50
|
add_plugin(Aws::Plugins::SignatureV4)
|
49
51
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
50
52
|
|
@@ -155,11 +157,12 @@ module Aws::StorageGateway
|
|
155
157
|
|
156
158
|
# Activates the gateway you previously deployed on your host. For more
|
157
159
|
# information, see [ Activate the AWS Storage Gateway][1]. In the
|
158
|
-
# activation process, you specify information such as the you
|
159
|
-
# use for storing snapshots, the time zone for scheduled
|
160
|
-
# gateway snapshot schedule window, an activation key, and
|
161
|
-
# your gateway. The activation process also associates your
|
162
|
-
# your account; for more information, see
|
160
|
+
# activation process, you specify information such as the region you
|
161
|
+
# want to use for storing snapshots, the time zone for scheduled
|
162
|
+
# snapshots the gateway snapshot schedule window, an activation key, and
|
163
|
+
# a name for your gateway. The activation process also associates your
|
164
|
+
# gateway with your account; for more information, see
|
165
|
+
# UpdateGatewayInformation.
|
163
166
|
#
|
164
167
|
# <note markdown="1"> You must turn on the gateway VM before you can activate your gateway.
|
165
168
|
#
|
@@ -194,10 +197,10 @@ module Aws::StorageGateway
|
|
194
197
|
# about available regions and endpoints for AWS Storage Gateway, see
|
195
198
|
# [Regions and Endpoints][1] in the *Amazon Web Services Glossary*.
|
196
199
|
#
|
197
|
-
# Valid Values: "us-east-1", "us-
|
198
|
-
# "
|
199
|
-
# "
|
200
|
-
# "sa-east-1"
|
200
|
+
# Valid Values: "us-east-1", "us-east-2", "us-west-1",
|
201
|
+
# "us-west-2", "ca-central-1", "eu-west-1", "eu-central-1",
|
202
|
+
# "eu-west-2", "ap-northeast-1", "ap-northeast-2",
|
203
|
+
# "ap-southeast-1", "ap-southeast-2", "sa-east-1"
|
201
204
|
#
|
202
205
|
#
|
203
206
|
#
|
@@ -208,15 +211,17 @@ module Aws::StorageGateway
|
|
208
211
|
# specified is critical to all later functions of the gateway and cannot
|
209
212
|
# be changed after activation. The default value is `STORED`.
|
210
213
|
#
|
214
|
+
# Valid Values: "STORED", "CACHED", "VTL", "FILE\_S3"
|
215
|
+
#
|
211
216
|
# @option params [String] :tape_drive_type
|
212
|
-
# The value that indicates the type of tape drive to use for
|
213
|
-
# gateway
|
217
|
+
# The value that indicates the type of tape drive to use for tape
|
218
|
+
# gateway. This field is optional.
|
214
219
|
#
|
215
220
|
# Valid Values: "IBM-ULT3580-TD5"
|
216
221
|
#
|
217
222
|
# @option params [String] :medium_changer_type
|
218
|
-
# The value that indicates the type of medium changer to use for
|
219
|
-
# gateway
|
223
|
+
# The value that indicates the type of medium changer to use for tape
|
224
|
+
# gateway. This field is optional.
|
220
225
|
#
|
221
226
|
# Valid Values: "STK-L700", "AWS-Gateway-VTL"
|
222
227
|
#
|
@@ -249,10 +254,9 @@ module Aws::StorageGateway
|
|
249
254
|
req.send_request(options)
|
250
255
|
end
|
251
256
|
|
252
|
-
# Configures one or more gateway local disks as cache for a
|
253
|
-
#
|
254
|
-
# gateway
|
255
|
-
# Concepts][1]).
|
257
|
+
# Configures one or more gateway local disks as cache for a cached
|
258
|
+
# volumes gateway. This operation is only supported in the cached
|
259
|
+
# volumes gateway architecture (see [Storage Gateway Concepts][1]).
|
256
260
|
#
|
257
261
|
# In the request, you specify the gateway Amazon Resource Name (ARN) to
|
258
262
|
# which you want to add cache, and one or more disk IDs that you want to
|
@@ -361,8 +365,8 @@ module Aws::StorageGateway
|
|
361
365
|
end
|
362
366
|
|
363
367
|
# Configures one or more gateway local disks as upload buffer for a
|
364
|
-
# specified gateway. This operation is supported for both the
|
365
|
-
#
|
368
|
+
# specified gateway. This operation is supported for both the stored
|
369
|
+
# volumes and cached volumes gateway architectures.
|
366
370
|
#
|
367
371
|
# In the request, you specify the gateway Amazon Resource Name (ARN) to
|
368
372
|
# which you want to add upload buffer, and one or more disk IDs that you
|
@@ -399,9 +403,9 @@ module Aws::StorageGateway
|
|
399
403
|
end
|
400
404
|
|
401
405
|
# Configures one or more gateway local disks as working storage for a
|
402
|
-
# gateway. This operation is supported
|
403
|
-
#
|
404
|
-
#
|
406
|
+
# gateway. This operation is only supported in the stored volume gateway
|
407
|
+
# architecture. This operation is deprecated in cached-volumes API
|
408
|
+
# version 20120630. Use AddUploadBuffer instead.
|
405
409
|
#
|
406
410
|
# <note markdown="1"> Working storage is also referred to as upload buffer. You can also use
|
407
411
|
# the AddUploadBuffer operation to add upload buffer to a stored-volume
|
@@ -447,7 +451,8 @@ module Aws::StorageGateway
|
|
447
451
|
end
|
448
452
|
|
449
453
|
# Cancels archiving of a virtual tape to the virtual tape shelf (VTS)
|
450
|
-
# after the archiving process is initiated.
|
454
|
+
# after the archiving process is initiated. This operation is only
|
455
|
+
# supported in tape gateways.
|
451
456
|
#
|
452
457
|
# @option params [required, String] :gateway_arn
|
453
458
|
# The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
|
@@ -517,8 +522,9 @@ module Aws::StorageGateway
|
|
517
522
|
req.send_request(options)
|
518
523
|
end
|
519
524
|
|
520
|
-
# Creates a cached volume on a specified cached gateway. This
|
521
|
-
# is supported
|
525
|
+
# Creates a cached volume on a specified cached volumes gateway. This
|
526
|
+
# operation is only supported in the cached volumes gateway
|
527
|
+
# architecture.
|
522
528
|
#
|
523
529
|
# <note markdown="1"> Cache storage must be allocated to the gateway before you can create a
|
524
530
|
# cached volume. Use the AddCache operation to add cache storage to a
|
@@ -594,7 +600,8 @@ module Aws::StorageGateway
|
|
594
600
|
# Creates a file share on an existing file gateway. In Storage Gateway,
|
595
601
|
# a file share is a file system mount point backed by Amazon S3 cloud
|
596
602
|
# storage. Storage Gateway exposes file shares using a Network File
|
597
|
-
# System (NFS) interface.
|
603
|
+
# System (NFS) interface. This operation is only supported in file
|
604
|
+
# gateways.
|
598
605
|
#
|
599
606
|
# @option params [required, String] :client_token
|
600
607
|
# A unique string value that you supply that is used by file gateway to
|
@@ -632,6 +639,16 @@ module Aws::StorageGateway
|
|
632
639
|
# The list of clients that are allowed to access the file gateway. The
|
633
640
|
# list must contain either valid IP addresses or valid CIDR blocks.
|
634
641
|
#
|
642
|
+
# @option params [String] :squash
|
643
|
+
# Maps a user to anonymous user. Valid options: "RootSquash" - Only
|
644
|
+
# root is mapped to anonymous user, "NoSquash" - No one is mapped to
|
645
|
+
# anonymous user or "AllSquash" - Everyone is mapped to anonymous
|
646
|
+
# user.
|
647
|
+
#
|
648
|
+
# @option params [Boolean] :read_only
|
649
|
+
# Sets the write status of a file share. "true", if the write status
|
650
|
+
# is read-only; otherwise "false.
|
651
|
+
#
|
635
652
|
# @return [Types::CreateNFSFileShareOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
636
653
|
#
|
637
654
|
# * {Types::CreateNFSFileShareOutput#file_share_arn #file_share_arn} => String
|
@@ -653,6 +670,8 @@ module Aws::StorageGateway
|
|
653
670
|
# location_arn: "LocationARN", # required
|
654
671
|
# default_storage_class: "StorageClass",
|
655
672
|
# client_list: ["IPV4AddressCIDR"],
|
673
|
+
# squash: "Squash",
|
674
|
+
# read_only: false,
|
656
675
|
# })
|
657
676
|
#
|
658
677
|
# @example Response structure
|
@@ -686,7 +705,8 @@ module Aws::StorageGateway
|
|
686
705
|
# Gateway Console. In response, AWS Storage Gateway returns you a
|
687
706
|
# snapshot ID. You can use this snapshot ID to check the snapshot
|
688
707
|
# progress or later use it when you want to create a volume from a
|
689
|
-
# snapshot.
|
708
|
+
# snapshot. This operation is only supported in stored and cached
|
709
|
+
# volumes gateways.
|
690
710
|
#
|
691
711
|
# <note markdown="1"> To list or delete a snapshot, you must use the Amazon EC2 API. For
|
692
712
|
# more information, see DescribeSnapshots or DeleteSnapshot in the [EC2
|
@@ -740,12 +760,12 @@ module Aws::StorageGateway
|
|
740
760
|
end
|
741
761
|
|
742
762
|
# Initiates a snapshot of a gateway from a volume recovery point. This
|
743
|
-
# operation is supported
|
763
|
+
# operation is only supported in the cached volumes gateway
|
744
764
|
# architecture.
|
745
765
|
#
|
746
766
|
# A volume recovery point is a point in time at which all data of the
|
747
767
|
# volume is consistent and from which you can create a snapshot. To get
|
748
|
-
# a list of volume recovery point for
|
768
|
+
# a list of volume recovery point for cached volumes gateway, use
|
749
769
|
# ListVolumeRecoveryPoints.
|
750
770
|
#
|
751
771
|
# In the `CreateSnapshotFromVolumeRecoveryPoint` request, you identify
|
@@ -794,8 +814,8 @@ module Aws::StorageGateway
|
|
794
814
|
req.send_request(options)
|
795
815
|
end
|
796
816
|
|
797
|
-
# Creates a volume on a specified gateway. This operation is
|
798
|
-
#
|
817
|
+
# Creates a volume on a specified gateway. This operation is only
|
818
|
+
# supported in the stored volumes gateway architecture.
|
799
819
|
#
|
800
820
|
# The size of the volume to create is inferred from the disk size. You
|
801
821
|
# can choose to preserve existing data on the disk, create volume from
|
@@ -888,7 +908,8 @@ module Aws::StorageGateway
|
|
888
908
|
end
|
889
909
|
|
890
910
|
# Creates a virtual tape by using your own barcode. You write data to
|
891
|
-
# the virtual tape and then archive the tape.
|
911
|
+
# the virtual tape and then archive the tape. This operation is only
|
912
|
+
# supported in tape gateways.
|
892
913
|
#
|
893
914
|
# <note markdown="1"> Cache storage must be allocated to the gateway before you can create a
|
894
915
|
# virtual tape. Use the AddCache operation to add cache storage to a
|
@@ -937,7 +958,8 @@ module Aws::StorageGateway
|
|
937
958
|
end
|
938
959
|
|
939
960
|
# Creates one or more virtual tapes. You write data to the virtual tapes
|
940
|
-
# and then archive the tapes.
|
961
|
+
# and then archive the tapes. This operation is only supported in tape
|
962
|
+
# gateways.
|
941
963
|
#
|
942
964
|
# <note markdown="1"> Cache storage must be allocated to the gateway before you can create
|
943
965
|
# virtual tapes. Use the AddCache operation to add cache storage to a
|
@@ -1084,7 +1106,8 @@ module Aws::StorageGateway
|
|
1084
1106
|
req.send_request(options)
|
1085
1107
|
end
|
1086
1108
|
|
1087
|
-
# Deletes a file share from a file gateway.
|
1109
|
+
# Deletes a file share from a file gateway. This operation is only
|
1110
|
+
# supported in file gateways.
|
1088
1111
|
#
|
1089
1112
|
# @option params [required, String] :file_share_arn
|
1090
1113
|
# The Amazon Resource Name (ARN) of the file share to be deleted.
|
@@ -1205,7 +1228,8 @@ module Aws::StorageGateway
|
|
1205
1228
|
req.send_request(options)
|
1206
1229
|
end
|
1207
1230
|
|
1208
|
-
# Deletes the specified virtual tape.
|
1231
|
+
# Deletes the specified virtual tape. This operation is only supported
|
1232
|
+
# in tape gateways.
|
1209
1233
|
#
|
1210
1234
|
# @option params [required, String] :gateway_arn
|
1211
1235
|
# The unique Amazon Resource Name (ARN) of the gateway that the virtual
|
@@ -1240,6 +1264,7 @@ module Aws::StorageGateway
|
|
1240
1264
|
end
|
1241
1265
|
|
1242
1266
|
# Deletes the specified virtual tape from the virtual tape shelf (VTS).
|
1267
|
+
# This operation is only supported in tape gateways.
|
1243
1268
|
#
|
1244
1269
|
# @option params [required, String] :tape_arn
|
1245
1270
|
# The Amazon Resource Name (ARN) of the virtual tape to delete from the
|
@@ -1269,10 +1294,10 @@ module Aws::StorageGateway
|
|
1269
1294
|
end
|
1270
1295
|
|
1271
1296
|
# Deletes the specified gateway volume that you previously created using
|
1272
|
-
# the CreateCachediSCSIVolume or CreateStorediSCSIVolume API. For
|
1273
|
-
#
|
1274
|
-
#
|
1275
|
-
#
|
1297
|
+
# the CreateCachediSCSIVolume or CreateStorediSCSIVolume API. For stored
|
1298
|
+
# volumes gateways, the local disk that was configured as the storage
|
1299
|
+
# volume is not deleted. You can reuse the local disk to create another
|
1300
|
+
# storage volume.
|
1276
1301
|
#
|
1277
1302
|
# Before you delete a gateway volume, make sure there are no iSCSI
|
1278
1303
|
# connections to the volume you are deleting. You should also make sure
|
@@ -1358,7 +1383,7 @@ module Aws::StorageGateway
|
|
1358
1383
|
end
|
1359
1384
|
|
1360
1385
|
# Returns information about the cache of a gateway. This operation is
|
1361
|
-
# supported
|
1386
|
+
# only supported in the cached volumes gateway architecture.
|
1362
1387
|
#
|
1363
1388
|
# The response includes disk IDs that are configured as cache, and it
|
1364
1389
|
# includes the amount of cache allocated and used.
|
@@ -1404,7 +1429,7 @@ module Aws::StorageGateway
|
|
1404
1429
|
end
|
1405
1430
|
|
1406
1431
|
# Returns a description of the gateway volumes specified in the request.
|
1407
|
-
# This operation is supported
|
1432
|
+
# This operation is only supported in the cached volumes gateway
|
1408
1433
|
# architecture.
|
1409
1434
|
#
|
1410
1435
|
# The list of gateway volumes in the request must be from one gateway.
|
@@ -1576,6 +1601,7 @@ module Aws::StorageGateway
|
|
1576
1601
|
end
|
1577
1602
|
|
1578
1603
|
# Gets a description for one or more file shares from a file gateway.
|
1604
|
+
# This operation is only supported in file gateways.
|
1579
1605
|
#
|
1580
1606
|
# @option params [required, Array<String>] :file_share_arn_list
|
1581
1607
|
# An array containing the Amazon Resource Name (ARN) of each file share
|
@@ -1610,6 +1636,8 @@ module Aws::StorageGateway
|
|
1610
1636
|
# resp.nfs_file_share_info_list[0].default_storage_class #=> String
|
1611
1637
|
# resp.nfs_file_share_info_list[0].client_list #=> Array
|
1612
1638
|
# resp.nfs_file_share_info_list[0].client_list[0] #=> String
|
1639
|
+
# resp.nfs_file_share_info_list[0].squash #=> String
|
1640
|
+
# resp.nfs_file_share_info_list[0].read_only #=> Boolean
|
1613
1641
|
#
|
1614
1642
|
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeNFSFileShares AWS API Documentation
|
1615
1643
|
#
|
@@ -1662,7 +1690,8 @@ module Aws::StorageGateway
|
|
1662
1690
|
# Returns the description of the gateway volumes specified in the
|
1663
1691
|
# request. The list of gateway volumes in the request must be from one
|
1664
1692
|
# gateway. In the response Amazon Storage Gateway returns volume
|
1665
|
-
# information sorted by volume ARNs.
|
1693
|
+
# information sorted by volume ARNs. This operation is only supported in
|
1694
|
+
# stored volumes gateways.
|
1666
1695
|
#
|
1667
1696
|
# @option params [required, Array<String>] :volume_arns
|
1668
1697
|
# An array of strings where each string represents the Amazon Resource
|
@@ -1713,7 +1742,7 @@ module Aws::StorageGateway
|
|
1713
1742
|
#
|
1714
1743
|
# If a specific `TapeARN` is not specified, AWS Storage Gateway returns
|
1715
1744
|
# a description of all virtual tapes found in the VTS associated with
|
1716
|
-
# your account.
|
1745
|
+
# your account. This operation is only supported in tape gateways.
|
1717
1746
|
#
|
1718
1747
|
# @option params [Array<String>] :tape_arns
|
1719
1748
|
# Specifies one or more unique Amazon Resource Names (ARNs) that
|
@@ -1762,12 +1791,12 @@ module Aws::StorageGateway
|
|
1762
1791
|
end
|
1763
1792
|
|
1764
1793
|
# Returns a list of virtual tape recovery points that are available for
|
1765
|
-
# the specified gateway
|
1794
|
+
# the specified tape gateway.
|
1766
1795
|
#
|
1767
1796
|
# A recovery point is a point-in-time view of a virtual tape at which
|
1768
1797
|
# all the data on the virtual tape is consistent. If your gateway
|
1769
1798
|
# crashes, virtual tapes that have recovery points can be recovered to a
|
1770
|
-
# new gateway.
|
1799
|
+
# new gateway. This operation is only supported in tape gateways.
|
1771
1800
|
#
|
1772
1801
|
# @option params [required, String] :gateway_arn
|
1773
1802
|
# The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
|
@@ -1816,7 +1845,8 @@ module Aws::StorageGateway
|
|
1816
1845
|
|
1817
1846
|
# Returns a description of the specified Amazon Resource Name (ARN) of
|
1818
1847
|
# virtual tapes. If a `TapeARN` is not specified, returns a description
|
1819
|
-
# of all virtual tapes associated with the specified gateway.
|
1848
|
+
# of all virtual tapes associated with the specified gateway. This
|
1849
|
+
# operation is only supported in tape gateways.
|
1820
1850
|
#
|
1821
1851
|
# @option params [required, String] :gateway_arn
|
1822
1852
|
# The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
|
@@ -1879,8 +1909,8 @@ module Aws::StorageGateway
|
|
1879
1909
|
end
|
1880
1910
|
|
1881
1911
|
# Returns information about the upload buffer of a gateway. This
|
1882
|
-
# operation is supported for both the
|
1883
|
-
#
|
1912
|
+
# operation is supported for both the stored volume and cached volumes
|
1913
|
+
# gateway architectures.
|
1884
1914
|
#
|
1885
1915
|
# The response includes disk IDs that are configured as upload buffer
|
1886
1916
|
# space, and it includes the amount of upload buffer space allocated and
|
@@ -1921,10 +1951,10 @@ module Aws::StorageGateway
|
|
1921
1951
|
end
|
1922
1952
|
|
1923
1953
|
# Returns a description of virtual tape library (VTL) devices for the
|
1924
|
-
# specified gateway. In the response, AWS Storage Gateway returns
|
1925
|
-
# device information.
|
1954
|
+
# specified tape gateway. In the response, AWS Storage Gateway returns
|
1955
|
+
# VTL device information.
|
1926
1956
|
#
|
1927
|
-
#
|
1957
|
+
# This operation is only supported in tape gateways.
|
1928
1958
|
#
|
1929
1959
|
# @option params [required, String] :gateway_arn
|
1930
1960
|
# The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
|
@@ -1987,7 +2017,7 @@ module Aws::StorageGateway
|
|
1987
2017
|
end
|
1988
2018
|
|
1989
2019
|
# Returns information about the working storage of a gateway. This
|
1990
|
-
# operation is supported
|
2020
|
+
# operation is only supported in the stored volumes gateway
|
1991
2021
|
# architecture. This operation is deprecated in cached-volumes API
|
1992
2022
|
# version (20120630). Use DescribeUploadBuffer instead.
|
1993
2023
|
#
|
@@ -2038,7 +2068,7 @@ module Aws::StorageGateway
|
|
2038
2068
|
# example, if your gateway VM is damaged, you can disable the gateway so
|
2039
2069
|
# you can recover virtual tapes.
|
2040
2070
|
#
|
2041
|
-
# Use this operation for a gateway
|
2071
|
+
# Use this operation for a tape gateway that is not reachable or not
|
2042
2072
|
# functioning.
|
2043
2073
|
#
|
2044
2074
|
# Once a gateway is disabled it cannot be enabled.
|
@@ -2071,7 +2101,8 @@ module Aws::StorageGateway
|
|
2071
2101
|
end
|
2072
2102
|
|
2073
2103
|
# Gets a list of the file shares for a specific file gateway, or the
|
2074
|
-
# list of file shares that belong to the calling user account.
|
2104
|
+
# list of file shares that belong to the calling user account. This
|
2105
|
+
# operation is only supported in file gateways.
|
2075
2106
|
#
|
2076
2107
|
# @option params [String] :gateway_arn
|
2077
2108
|
# The Amazon resource Name (ARN) of the gateway whose file shares you
|
@@ -2276,7 +2307,8 @@ module Aws::StorageGateway
|
|
2276
2307
|
# parameter in the body to limit the number of tapes in the response. If
|
2277
2308
|
# the number of tapes returned in the response is truncated, the
|
2278
2309
|
# response includes a `Marker` element that you can use in your
|
2279
|
-
# subsequent request to retrieve the next set of tapes.
|
2310
|
+
# subsequent request to retrieve the next set of tapes. This operation
|
2311
|
+
# is only supported in tape gateways.
|
2280
2312
|
#
|
2281
2313
|
# @option params [Array<String>] :tape_arns
|
2282
2314
|
# The Amazon Resource Name (ARN) of each of the tapes you want to list.
|
@@ -2355,13 +2387,13 @@ module Aws::StorageGateway
|
|
2355
2387
|
end
|
2356
2388
|
|
2357
2389
|
# Lists the recovery points for a specified gateway. This operation is
|
2358
|
-
# supported
|
2390
|
+
# only supported in the cached volumes gateway architecture.
|
2359
2391
|
#
|
2360
|
-
# Each
|
2361
|
-
# point
|
2362
|
-
#
|
2363
|
-
# volume recovery point use
|
2364
|
-
# operation.
|
2392
|
+
# Each cache volume has one recovery point. A volume recovery point is a
|
2393
|
+
# point in time at which all data of the volume is consistent and from
|
2394
|
+
# which you can create a snapshot or clone a new cached volume from a
|
2395
|
+
# source volume. To create a snapshot from a volume recovery point use
|
2396
|
+
# the CreateSnapshotFromVolumeRecoveryPoint operation.
|
2365
2397
|
#
|
2366
2398
|
# @option params [required, String] :gateway_arn
|
2367
2399
|
# The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
|
@@ -2456,6 +2488,36 @@ module Aws::StorageGateway
|
|
2456
2488
|
req.send_request(options)
|
2457
2489
|
end
|
2458
2490
|
|
2491
|
+
# Refreshes the cache for the specified file share. This operation finds
|
2492
|
+
# objects in the Amazon S3 bucket that were added or removed since the
|
2493
|
+
# gateway last listed the bucket's contents and cached the results.
|
2494
|
+
#
|
2495
|
+
# @option params [required, String] :file_share_arn
|
2496
|
+
# The Amazon Resource Name (ARN) of the file share.
|
2497
|
+
#
|
2498
|
+
# @return [Types::RefreshCacheOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2499
|
+
#
|
2500
|
+
# * {Types::RefreshCacheOutput#file_share_arn #file_share_arn} => String
|
2501
|
+
#
|
2502
|
+
# @example Request syntax with placeholder values
|
2503
|
+
#
|
2504
|
+
# resp = client.refresh_cache({
|
2505
|
+
# file_share_arn: "FileShareARN", # required
|
2506
|
+
# })
|
2507
|
+
#
|
2508
|
+
# @example Response structure
|
2509
|
+
#
|
2510
|
+
# resp.file_share_arn #=> String
|
2511
|
+
#
|
2512
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/RefreshCache AWS API Documentation
|
2513
|
+
#
|
2514
|
+
# @overload refresh_cache(params = {})
|
2515
|
+
# @param [Hash] params ({})
|
2516
|
+
def refresh_cache(params = {}, options = {})
|
2517
|
+
req = build_request(:refresh_cache, params)
|
2518
|
+
req.send_request(options)
|
2519
|
+
end
|
2520
|
+
|
2459
2521
|
# Removes one or more tags from the specified resource.
|
2460
2522
|
#
|
2461
2523
|
# @option params [required, String] :resource_arn
|
@@ -2532,9 +2594,9 @@ module Aws::StorageGateway
|
|
2532
2594
|
end
|
2533
2595
|
|
2534
2596
|
# Retrieves an archived virtual tape from the virtual tape shelf (VTS)
|
2535
|
-
# to a gateway
|
2536
|
-
# with any gateway. However after a tape is retrieved, it is
|
2537
|
-
# with a gateway, even though it is also listed in the VTS.
|
2597
|
+
# to a tape gateway. Virtual tapes archived in the VTS are not
|
2598
|
+
# associated with any gateway. However after a tape is retrieved, it is
|
2599
|
+
# associated with a gateway, even though it is also listed in the VTS.
|
2538
2600
|
#
|
2539
2601
|
# Once a tape is successfully retrieved to a gateway, it cannot be
|
2540
2602
|
# retrieved again to another gateway. You must archive the tape again
|
@@ -2550,7 +2612,7 @@ module Aws::StorageGateway
|
|
2550
2612
|
# gateways for your account and region.
|
2551
2613
|
#
|
2552
2614
|
# You retrieve archived virtual tapes to only one gateway and the
|
2553
|
-
# gateway must be a gateway
|
2615
|
+
# gateway must be a tape gateway.
|
2554
2616
|
#
|
2555
2617
|
# @return [Types::RetrieveTapeArchiveOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2556
2618
|
#
|
@@ -2584,8 +2646,8 @@ module Aws::StorageGateway
|
|
2584
2646
|
# gateway.
|
2585
2647
|
#
|
2586
2648
|
# <note markdown="1"> The virtual tape can be retrieved to only one gateway. The retrieved
|
2587
|
-
# tape is read-only. The virtual tape can be retrieved to only a
|
2588
|
-
# gateway
|
2649
|
+
# tape is read-only. The virtual tape can be retrieved to only a tape
|
2650
|
+
# gateway. There is no charge for retrieving recovery points.
|
2589
2651
|
#
|
2590
2652
|
# </note>
|
2591
2653
|
#
|
@@ -3009,7 +3071,8 @@ module Aws::StorageGateway
|
|
3009
3071
|
req.send_request(options)
|
3010
3072
|
end
|
3011
3073
|
|
3012
|
-
# Updates a file share.
|
3074
|
+
# Updates a file share. This operation is only supported in file
|
3075
|
+
# gateways.
|
3013
3076
|
#
|
3014
3077
|
# <note markdown="1"> To leave a file share field unchanged, set the corresponding input
|
3015
3078
|
# field to null.
|
@@ -3040,6 +3103,16 @@ module Aws::StorageGateway
|
|
3040
3103
|
# The list of clients that are allowed to access the file gateway. The
|
3041
3104
|
# list must contain either valid IP addresses or valid CIDR blocks.
|
3042
3105
|
#
|
3106
|
+
# @option params [String] :squash
|
3107
|
+
# Indicates the user mapped to anonymous user. Valid options:
|
3108
|
+
# "RootSquash" - Only root is mapped to anonymous user, "NoSquash" -
|
3109
|
+
# No one is mapped to anonymous user or "AllSquash" - Everyone is
|
3110
|
+
# mapped to anonymous user.
|
3111
|
+
#
|
3112
|
+
# @option params [Boolean] :read_only
|
3113
|
+
# Sets the write status of a file share. "true", if the write status
|
3114
|
+
# is read-only; otherwise "false.
|
3115
|
+
#
|
3043
3116
|
# @return [Types::UpdateNFSFileShareOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3044
3117
|
#
|
3045
3118
|
# * {Types::UpdateNFSFileShareOutput#file_share_arn #file_share_arn} => String
|
@@ -3058,6 +3131,8 @@ module Aws::StorageGateway
|
|
3058
3131
|
# },
|
3059
3132
|
# default_storage_class: "StorageClass",
|
3060
3133
|
# client_list: ["IPV4AddressCIDR"],
|
3134
|
+
# squash: "Squash",
|
3135
|
+
# read_only: false,
|
3061
3136
|
# })
|
3062
3137
|
#
|
3063
3138
|
# @example Response structure
|
@@ -3126,10 +3201,11 @@ module Aws::StorageGateway
|
|
3126
3201
|
req.send_request(options)
|
3127
3202
|
end
|
3128
3203
|
|
3129
|
-
# Updates the type of medium changer in a gateway
|
3130
|
-
# a gateway
|
3131
|
-
# This operation enables you to select a different type of
|
3132
|
-
# changer after a gateway
|
3204
|
+
# Updates the type of medium changer in a tape gateway. When you
|
3205
|
+
# activate a tape gateway, you select a medium changer type for the tape
|
3206
|
+
# gateway. This operation enables you to select a different type of
|
3207
|
+
# medium changer after a tape gateway is activated. This operation is
|
3208
|
+
# only supported in tape gateways.
|
3133
3209
|
#
|
3134
3210
|
# @option params [required, String] :vtl_device_arn
|
3135
3211
|
# The Amazon Resource Name (ARN) of the medium changer you want to
|
@@ -3177,7 +3253,7 @@ module Aws::StorageGateway
|
|
3177
3253
|
params: params,
|
3178
3254
|
config: config)
|
3179
3255
|
context[:gem_name] = 'aws-sdk-storagegateway'
|
3180
|
-
context[:gem_version] = '1.0.0.
|
3256
|
+
context[:gem_version] = '1.0.0.rc4'
|
3181
3257
|
Seahorse::Client::Request.new(handlers, context)
|
3182
3258
|
end
|
3183
3259
|
|
@@ -169,6 +169,8 @@ module Aws::StorageGateway
|
|
169
169
|
PermissionMode = Shapes::StringShape.new(name: 'PermissionMode')
|
170
170
|
PositiveIntObject = Shapes::IntegerShape.new(name: 'PositiveIntObject')
|
171
171
|
RecurrenceInHours = Shapes::IntegerShape.new(name: 'RecurrenceInHours')
|
172
|
+
RefreshCacheInput = Shapes::StructureShape.new(name: 'RefreshCacheInput')
|
173
|
+
RefreshCacheOutput = Shapes::StructureShape.new(name: 'RefreshCacheOutput')
|
172
174
|
RegionId = Shapes::StringShape.new(name: 'RegionId')
|
173
175
|
RemoveTagsFromResourceInput = Shapes::StructureShape.new(name: 'RemoveTagsFromResourceInput')
|
174
176
|
RemoveTagsFromResourceOutput = Shapes::StructureShape.new(name: 'RemoveTagsFromResourceOutput')
|
@@ -187,6 +189,7 @@ module Aws::StorageGateway
|
|
187
189
|
ShutdownGatewayOutput = Shapes::StructureShape.new(name: 'ShutdownGatewayOutput')
|
188
190
|
SnapshotDescription = Shapes::StringShape.new(name: 'SnapshotDescription')
|
189
191
|
SnapshotId = Shapes::StringShape.new(name: 'SnapshotId')
|
192
|
+
Squash = Shapes::StringShape.new(name: 'Squash')
|
190
193
|
StartGatewayInput = Shapes::StructureShape.new(name: 'StartGatewayInput')
|
191
194
|
StartGatewayOutput = Shapes::StructureShape.new(name: 'StartGatewayOutput')
|
192
195
|
StorageClass = Shapes::StringShape.new(name: 'StorageClass')
|
@@ -355,6 +358,8 @@ module Aws::StorageGateway
|
|
355
358
|
CreateNFSFileShareInput.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationARN, required: true, location_name: "LocationARN"))
|
356
359
|
CreateNFSFileShareInput.add_member(:default_storage_class, Shapes::ShapeRef.new(shape: StorageClass, location_name: "DefaultStorageClass"))
|
357
360
|
CreateNFSFileShareInput.add_member(:client_list, Shapes::ShapeRef.new(shape: FileShareClientList, location_name: "ClientList"))
|
361
|
+
CreateNFSFileShareInput.add_member(:squash, Shapes::ShapeRef.new(shape: Squash, location_name: "Squash"))
|
362
|
+
CreateNFSFileShareInput.add_member(:read_only, Shapes::ShapeRef.new(shape: Boolean, location_name: "ReadOnly"))
|
358
363
|
CreateNFSFileShareInput.struct_class = Types::CreateNFSFileShareInput
|
359
364
|
|
360
365
|
CreateNFSFileShareOutput.add_member(:file_share_arn, Shapes::ShapeRef.new(shape: FileShareARN, location_name: "FileShareARN"))
|
@@ -731,6 +736,8 @@ module Aws::StorageGateway
|
|
731
736
|
NFSFileShareInfo.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationARN, location_name: "LocationARN"))
|
732
737
|
NFSFileShareInfo.add_member(:default_storage_class, Shapes::ShapeRef.new(shape: StorageClass, location_name: "DefaultStorageClass"))
|
733
738
|
NFSFileShareInfo.add_member(:client_list, Shapes::ShapeRef.new(shape: FileShareClientList, location_name: "ClientList"))
|
739
|
+
NFSFileShareInfo.add_member(:squash, Shapes::ShapeRef.new(shape: Squash, location_name: "Squash"))
|
740
|
+
NFSFileShareInfo.add_member(:read_only, Shapes::ShapeRef.new(shape: Boolean, location_name: "ReadOnly"))
|
734
741
|
NFSFileShareInfo.struct_class = Types::NFSFileShareInfo
|
735
742
|
|
736
743
|
NFSFileShareInfoList.member = Shapes::ShapeRef.new(shape: NFSFileShareInfo)
|
@@ -740,6 +747,12 @@ module Aws::StorageGateway
|
|
740
747
|
NetworkInterface.add_member(:ipv_6_address, Shapes::ShapeRef.new(shape: string, location_name: "Ipv6Address"))
|
741
748
|
NetworkInterface.struct_class = Types::NetworkInterface
|
742
749
|
|
750
|
+
RefreshCacheInput.add_member(:file_share_arn, Shapes::ShapeRef.new(shape: FileShareARN, required: true, location_name: "FileShareARN"))
|
751
|
+
RefreshCacheInput.struct_class = Types::RefreshCacheInput
|
752
|
+
|
753
|
+
RefreshCacheOutput.add_member(:file_share_arn, Shapes::ShapeRef.new(shape: FileShareARN, location_name: "FileShareARN"))
|
754
|
+
RefreshCacheOutput.struct_class = Types::RefreshCacheOutput
|
755
|
+
|
743
756
|
RemoveTagsFromResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceARN, required: true, location_name: "ResourceARN"))
|
744
757
|
RemoveTagsFromResourceInput.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeys, required: true, location_name: "TagKeys"))
|
745
758
|
RemoveTagsFromResourceInput.struct_class = Types::RemoveTagsFromResourceInput
|
@@ -902,6 +915,8 @@ module Aws::StorageGateway
|
|
902
915
|
UpdateNFSFileShareInput.add_member(:nfs_file_share_defaults, Shapes::ShapeRef.new(shape: NFSFileShareDefaults, location_name: "NFSFileShareDefaults"))
|
903
916
|
UpdateNFSFileShareInput.add_member(:default_storage_class, Shapes::ShapeRef.new(shape: StorageClass, location_name: "DefaultStorageClass"))
|
904
917
|
UpdateNFSFileShareInput.add_member(:client_list, Shapes::ShapeRef.new(shape: FileShareClientList, location_name: "ClientList"))
|
918
|
+
UpdateNFSFileShareInput.add_member(:squash, Shapes::ShapeRef.new(shape: Squash, location_name: "Squash"))
|
919
|
+
UpdateNFSFileShareInput.add_member(:read_only, Shapes::ShapeRef.new(shape: Boolean, location_name: "ReadOnly"))
|
905
920
|
UpdateNFSFileShareInput.struct_class = Types::UpdateNFSFileShareInput
|
906
921
|
|
907
922
|
UpdateNFSFileShareOutput.add_member(:file_share_arn, Shapes::ShapeRef.new(shape: FileShareARN, location_name: "FileShareARN"))
|
@@ -1477,6 +1492,16 @@ module Aws::StorageGateway
|
|
1477
1492
|
)
|
1478
1493
|
end)
|
1479
1494
|
|
1495
|
+
api.add_operation(:refresh_cache, Seahorse::Model::Operation.new.tap do |o|
|
1496
|
+
o.name = "RefreshCache"
|
1497
|
+
o.http_method = "POST"
|
1498
|
+
o.http_request_uri = "/"
|
1499
|
+
o.input = Shapes::ShapeRef.new(shape: RefreshCacheInput)
|
1500
|
+
o.output = Shapes::ShapeRef.new(shape: RefreshCacheOutput)
|
1501
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidGatewayRequestException)
|
1502
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
1503
|
+
end)
|
1504
|
+
|
1480
1505
|
api.add_operation(:remove_tags_from_resource, Seahorse::Model::Operation.new.tap do |o|
|
1481
1506
|
o.name = "RemoveTagsFromResource"
|
1482
1507
|
o.http_method = "POST"
|
@@ -66,10 +66,10 @@ module Aws::StorageGateway
|
|
66
66
|
# Gateway, see [Regions and Endpoints][1] in the *Amazon Web Services
|
67
67
|
# Glossary*.
|
68
68
|
#
|
69
|
-
# Valid Values: "us-east-1", "us-
|
70
|
-
# "
|
71
|
-
# "
|
72
|
-
# "sa-east-1"
|
69
|
+
# Valid Values: "us-east-1", "us-east-2", "us-west-1",
|
70
|
+
# "us-west-2", "ca-central-1", "eu-west-1", "eu-central-1",
|
71
|
+
# "eu-west-2", "ap-northeast-1", "ap-northeast-2",
|
72
|
+
# "ap-southeast-1", "ap-southeast-2", "sa-east-1"
|
73
73
|
#
|
74
74
|
#
|
75
75
|
#
|
@@ -80,18 +80,20 @@ module Aws::StorageGateway
|
|
80
80
|
# A value that defines the type of gateway to activate. The type
|
81
81
|
# specified is critical to all later functions of the gateway and
|
82
82
|
# cannot be changed after activation. The default value is `STORED`.
|
83
|
+
#
|
84
|
+
# Valid Values: "STORED", "CACHED", "VTL", "FILE\_S3"
|
83
85
|
# @return [String]
|
84
86
|
#
|
85
87
|
# @!attribute [rw] tape_drive_type
|
86
|
-
# The value that indicates the type of tape drive to use for
|
87
|
-
# gateway
|
88
|
+
# The value that indicates the type of tape drive to use for tape
|
89
|
+
# gateway. This field is optional.
|
88
90
|
#
|
89
91
|
# Valid Values: "IBM-ULT3580-TD5"
|
90
92
|
# @return [String]
|
91
93
|
#
|
92
94
|
# @!attribute [rw] medium_changer_type
|
93
|
-
# The value that indicates the type of medium changer to use for
|
94
|
-
# gateway
|
95
|
+
# The value that indicates the type of medium changer to use for tape
|
96
|
+
# gateway. This field is optional.
|
95
97
|
#
|
96
98
|
# Valid Values: "STK-L700", "AWS-Gateway-VTL"
|
97
99
|
# @return [String]
|
@@ -573,6 +575,8 @@ module Aws::StorageGateway
|
|
573
575
|
# location_arn: "LocationARN", # required
|
574
576
|
# default_storage_class: "StorageClass",
|
575
577
|
# client_list: ["IPV4AddressCIDR"],
|
578
|
+
# squash: "Squash",
|
579
|
+
# read_only: false,
|
576
580
|
# }
|
577
581
|
#
|
578
582
|
# @!attribute [rw] client_token
|
@@ -620,6 +624,18 @@ module Aws::StorageGateway
|
|
620
624
|
# list must contain either valid IP addresses or valid CIDR blocks.
|
621
625
|
# @return [Array<String>]
|
622
626
|
#
|
627
|
+
# @!attribute [rw] squash
|
628
|
+
# Maps a user to anonymous user. Valid options: "RootSquash" - Only
|
629
|
+
# root is mapped to anonymous user, "NoSquash" - No one is mapped to
|
630
|
+
# anonymous user or "AllSquash" - Everyone is mapped to anonymous
|
631
|
+
# user.
|
632
|
+
# @return [String]
|
633
|
+
#
|
634
|
+
# @!attribute [rw] read_only
|
635
|
+
# Sets the write status of a file share. "true", if the write status
|
636
|
+
# is read-only; otherwise "false.
|
637
|
+
# @return [Boolean]
|
638
|
+
#
|
623
639
|
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateNFSFileShareInput AWS API Documentation
|
624
640
|
#
|
625
641
|
class CreateNFSFileShareInput < Struct.new(
|
@@ -631,7 +647,9 @@ module Aws::StorageGateway
|
|
631
647
|
:role,
|
632
648
|
:location_arn,
|
633
649
|
:default_storage_class,
|
634
|
-
:client_list
|
650
|
+
:client_list,
|
651
|
+
:squash,
|
652
|
+
:read_only)
|
635
653
|
include Aws::Structure
|
636
654
|
end
|
637
655
|
|
@@ -2694,7 +2712,8 @@ module Aws::StorageGateway
|
|
2694
2712
|
# Amazon S3 objects in S3 buckets don't, by default, have Unix file
|
2695
2713
|
# permissions assigned to them. Upon discovery in an S3 bucket by
|
2696
2714
|
# Storage Gateway, the S3 objects that represent files and folders are
|
2697
|
-
# assigned these default Unix permissions.
|
2715
|
+
# assigned these default Unix permissions. This operation is only
|
2716
|
+
# supported in file gateways.
|
2698
2717
|
#
|
2699
2718
|
# @note When making an API call, you may pass NFSFileShareDefaults
|
2700
2719
|
# data as a hash:
|
@@ -2740,14 +2759,15 @@ module Aws::StorageGateway
|
|
2740
2759
|
|
2741
2760
|
# The Unix file permissions and ownership information assigned, by
|
2742
2761
|
# default, to native S3 objects when Storage Gateway discovers them in
|
2743
|
-
# S3 buckets.
|
2762
|
+
# S3 buckets. This operation is only supported in file gateways.
|
2744
2763
|
#
|
2745
2764
|
# @!attribute [rw] nfs_file_share_defaults
|
2746
2765
|
# Describes file share default values. Files and folders stored as
|
2747
2766
|
# Amazon S3 objects in S3 buckets don't, by default, have Unix file
|
2748
2767
|
# permissions assigned to them. Upon discovery in an S3 bucket by
|
2749
2768
|
# Storage Gateway, the S3 objects that represent files and folders are
|
2750
|
-
# assigned these default Unix permissions.
|
2769
|
+
# assigned these default Unix permissions. This operation is only
|
2770
|
+
# supported in file gateways.
|
2751
2771
|
# @return [Types::NFSFileShareDefaults]
|
2752
2772
|
#
|
2753
2773
|
# @!attribute [rw] file_share_arn
|
@@ -2803,6 +2823,18 @@ module Aws::StorageGateway
|
|
2803
2823
|
# list must contain either valid IP addresses or valid CIDR blocks.
|
2804
2824
|
# @return [Array<String>]
|
2805
2825
|
#
|
2826
|
+
# @!attribute [rw] squash
|
2827
|
+
# Indicates the user mapped to anonymous user. Valid options:
|
2828
|
+
# "RootSquash" - Only root is mapped to anonymous user, "NoSquash"
|
2829
|
+
# - No one is mapped to anonymous user or "AllSquash" - Everyone is
|
2830
|
+
# mapped to anonymous user.
|
2831
|
+
# @return [String]
|
2832
|
+
#
|
2833
|
+
# @!attribute [rw] read_only
|
2834
|
+
# Indicates whether the write status of a file share is read-only.
|
2835
|
+
# "true", if write status is read-only; otherwise "false".
|
2836
|
+
# @return [Boolean]
|
2837
|
+
#
|
2806
2838
|
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/NFSFileShareInfo AWS API Documentation
|
2807
2839
|
#
|
2808
2840
|
class NFSFileShareInfo < Struct.new(
|
@@ -2817,7 +2849,9 @@ module Aws::StorageGateway
|
|
2817
2849
|
:role,
|
2818
2850
|
:location_arn,
|
2819
2851
|
:default_storage_class,
|
2820
|
-
:client_list
|
2852
|
+
:client_list,
|
2853
|
+
:squash,
|
2854
|
+
:read_only)
|
2821
2855
|
include Aws::Structure
|
2822
2856
|
end
|
2823
2857
|
|
@@ -2849,6 +2883,35 @@ module Aws::StorageGateway
|
|
2849
2883
|
include Aws::Structure
|
2850
2884
|
end
|
2851
2885
|
|
2886
|
+
# @note When making an API call, you may pass RefreshCacheInput
|
2887
|
+
# data as a hash:
|
2888
|
+
#
|
2889
|
+
# {
|
2890
|
+
# file_share_arn: "FileShareARN", # required
|
2891
|
+
# }
|
2892
|
+
#
|
2893
|
+
# @!attribute [rw] file_share_arn
|
2894
|
+
# The Amazon Resource Name (ARN) of the file share.
|
2895
|
+
# @return [String]
|
2896
|
+
#
|
2897
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/RefreshCacheInput AWS API Documentation
|
2898
|
+
#
|
2899
|
+
class RefreshCacheInput < Struct.new(
|
2900
|
+
:file_share_arn)
|
2901
|
+
include Aws::Structure
|
2902
|
+
end
|
2903
|
+
|
2904
|
+
# @!attribute [rw] file_share_arn
|
2905
|
+
# The Amazon Resource Name (ARN) of the file share.
|
2906
|
+
# @return [String]
|
2907
|
+
#
|
2908
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/RefreshCacheOutput AWS API Documentation
|
2909
|
+
#
|
2910
|
+
class RefreshCacheOutput < Struct.new(
|
2911
|
+
:file_share_arn)
|
2912
|
+
include Aws::Structure
|
2913
|
+
end
|
2914
|
+
|
2852
2915
|
# RemoveTagsFromResourceInput
|
2853
2916
|
#
|
2854
2917
|
# @note When making an API call, you may pass RemoveTagsFromResourceInput
|
@@ -2943,7 +3006,7 @@ module Aws::StorageGateway
|
|
2943
3006
|
# of gateways for your account and region.
|
2944
3007
|
#
|
2945
3008
|
# You retrieve archived virtual tapes to only one gateway and the
|
2946
|
-
# gateway must be a gateway
|
3009
|
+
# gateway must be a tape gateway.
|
2947
3010
|
# @return [String]
|
2948
3011
|
#
|
2949
3012
|
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/RetrieveTapeArchiveInput AWS API Documentation
|
@@ -3307,7 +3370,7 @@ module Aws::StorageGateway
|
|
3307
3370
|
# @return [Time]
|
3308
3371
|
#
|
3309
3372
|
# @!attribute [rw] retrieved_to
|
3310
|
-
# The Amazon Resource Name (ARN) of the gateway
|
3373
|
+
# The Amazon Resource Name (ARN) of the tape gateway that the virtual
|
3311
3374
|
# tape is being retrieved to.
|
3312
3375
|
#
|
3313
3376
|
# The virtual tape is retrieved from the virtual tape shelf (VTS).
|
@@ -3694,6 +3757,8 @@ module Aws::StorageGateway
|
|
3694
3757
|
# },
|
3695
3758
|
# default_storage_class: "StorageClass",
|
3696
3759
|
# client_list: ["IPV4AddressCIDR"],
|
3760
|
+
# squash: "Squash",
|
3761
|
+
# read_only: false,
|
3697
3762
|
# }
|
3698
3763
|
#
|
3699
3764
|
# @!attribute [rw] file_share_arn
|
@@ -3726,6 +3791,18 @@ module Aws::StorageGateway
|
|
3726
3791
|
# list must contain either valid IP addresses or valid CIDR blocks.
|
3727
3792
|
# @return [Array<String>]
|
3728
3793
|
#
|
3794
|
+
# @!attribute [rw] squash
|
3795
|
+
# Indicates the user mapped to anonymous user. Valid options:
|
3796
|
+
# "RootSquash" - Only root is mapped to anonymous user, "NoSquash"
|
3797
|
+
# - No one is mapped to anonymous user or "AllSquash" - Everyone is
|
3798
|
+
# mapped to anonymous user.
|
3799
|
+
# @return [String]
|
3800
|
+
#
|
3801
|
+
# @!attribute [rw] read_only
|
3802
|
+
# Sets the write status of a file share. "true", if the write status
|
3803
|
+
# is read-only; otherwise "false.
|
3804
|
+
# @return [Boolean]
|
3805
|
+
#
|
3729
3806
|
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateNFSFileShareInput AWS API Documentation
|
3730
3807
|
#
|
3731
3808
|
class UpdateNFSFileShareInput < Struct.new(
|
@@ -3734,7 +3811,9 @@ module Aws::StorageGateway
|
|
3734
3811
|
:kms_key,
|
3735
3812
|
:nfs_file_share_defaults,
|
3736
3813
|
:default_storage_class,
|
3737
|
-
:client_list
|
3814
|
+
:client_list,
|
3815
|
+
:squash,
|
3816
|
+
:read_only)
|
3738
3817
|
include Aws::Structure
|
3739
3818
|
end
|
3740
3819
|
|
@@ -3855,7 +3934,7 @@ module Aws::StorageGateway
|
|
3855
3934
|
include Aws::Structure
|
3856
3935
|
end
|
3857
3936
|
|
3858
|
-
# Represents a device object associated with a gateway
|
3937
|
+
# Represents a device object associated with a tape gateway.
|
3859
3938
|
#
|
3860
3939
|
# @!attribute [rw] vtl_device_arn
|
3861
3940
|
# Specifies the unique Amazon Resource Name (ARN) of the device (tape
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-storagegateway
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.
|
4
|
+
version: 1.0.0.rc4
|
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: 2017-
|
11
|
+
date: 2017-04-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|