aws-sdk-storagegateway 1.1.0 → 1.2.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/lib/aws-sdk-storagegateway.rb +1 -1
- data/lib/aws-sdk-storagegateway/client.rb +113 -56
- data/lib/aws-sdk-storagegateway/client_api.rb +26 -0
- data/lib/aws-sdk-storagegateway/types.rb +97 -18
- 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: c6688bd15c187459c75440ef506a1a3d2e515a4c
|
4
|
+
data.tar.gz: 02ffbf14a8c625e0430e6d93f0a719deb4b8018f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef82c0e5b3fbb373f0d73b350c93350dde1aa0ac125b4d7d995de9deae206fd068356cdd03fcec5fc219226bc204a4f2a8a23f7189d61b8b091833071f01e46f
|
7
|
+
data.tar.gz: 73af299d9066e5d500596a1b8879cb9d297cfa006532960f08dcc2d2cb7273ce2178b3d88a0b2b1e0bbf213c4cd214ac57c26801cc77656deb23900bfde9c7db
|
@@ -279,7 +279,7 @@ module Aws::StorageGateway
|
|
279
279
|
|
280
280
|
# Configures one or more gateway local disks as cache for a gateway.
|
281
281
|
# This operation is only supported in the cached volume, tape and file
|
282
|
-
# gateway
|
282
|
+
# gateway type (see [Storage Gateway Concepts][1]).
|
283
283
|
#
|
284
284
|
# In the request, you specify the gateway Amazon Resource Name (ARN) to
|
285
285
|
# which you want to add cache, and one or more disk IDs that you want to
|
@@ -427,7 +427,7 @@ module Aws::StorageGateway
|
|
427
427
|
|
428
428
|
# Configures one or more gateway local disks as upload buffer for a
|
429
429
|
# specified gateway. This operation is supported for the stored volume,
|
430
|
-
# cached volume and tape gateway
|
430
|
+
# cached volume and tape gateway types.
|
431
431
|
#
|
432
432
|
# In the request, you specify the gateway Amazon Resource Name (ARN) to
|
433
433
|
# which you want to add upload buffer, and one or more disk IDs that you
|
@@ -483,8 +483,8 @@ module Aws::StorageGateway
|
|
483
483
|
|
484
484
|
# Configures one or more gateway local disks as working storage for a
|
485
485
|
# gateway. This operation is only supported in the stored volume gateway
|
486
|
-
#
|
487
|
-
#
|
486
|
+
# type. This operation is deprecated in cached volume API version
|
487
|
+
# 20120630. Use AddUploadBuffer instead.
|
488
488
|
#
|
489
489
|
# <note markdown="1"> Working storage is also referred to as upload buffer. You can also use
|
490
490
|
# the AddUploadBuffer operation to add upload buffer to a stored volume
|
@@ -550,7 +550,7 @@ module Aws::StorageGateway
|
|
550
550
|
|
551
551
|
# Cancels archiving of a virtual tape to the virtual tape shelf (VTS)
|
552
552
|
# after the archiving process is initiated. This operation is only
|
553
|
-
# supported in the tape gateway
|
553
|
+
# supported in the tape gateway type.
|
554
554
|
#
|
555
555
|
# @option params [required, String] :gateway_arn
|
556
556
|
# The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
|
@@ -601,7 +601,8 @@ module Aws::StorageGateway
|
|
601
601
|
|
602
602
|
# Cancels retrieval of a virtual tape from the virtual tape shelf (VTS)
|
603
603
|
# to a gateway after the retrieval process is initiated. The virtual
|
604
|
-
# tape is returned to the VTS.
|
604
|
+
# tape is returned to the VTS. This operation is only supported in the
|
605
|
+
# tape gateway type.
|
605
606
|
#
|
606
607
|
# @option params [required, String] :gateway_arn
|
607
608
|
# The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
|
@@ -652,7 +653,7 @@ module Aws::StorageGateway
|
|
652
653
|
end
|
653
654
|
|
654
655
|
# Creates a cached volume on a specified cached volume gateway. This
|
655
|
-
# operation is only supported in the cached volume gateway
|
656
|
+
# operation is only supported in the cached volume gateway type.
|
656
657
|
#
|
657
658
|
# <note markdown="1"> Cache storage must be allocated to the gateway before you can create a
|
658
659
|
# cached volume. Use the AddCache operation to add cache storage to a
|
@@ -748,7 +749,7 @@ module Aws::StorageGateway
|
|
748
749
|
# a file share is a file system mount point backed by Amazon S3 cloud
|
749
750
|
# storage. Storage Gateway exposes file shares using a Network File
|
750
751
|
# System (NFS) interface. This operation is only supported in the file
|
751
|
-
# gateway
|
752
|
+
# gateway type.
|
752
753
|
#
|
753
754
|
# File gateway requires AWS Security Token Service (AWS STS) to be
|
754
755
|
# activated to enable you create a file share. Make sure AWS STS is
|
@@ -809,6 +810,11 @@ module Aws::StorageGateway
|
|
809
810
|
# Sets the write status of a file share: "true" if the write status is
|
810
811
|
# read-only, and otherwise "false".
|
811
812
|
#
|
813
|
+
# @option params [Boolean] :guess_mime_type_enabled
|
814
|
+
# Enables guessing of the MIME type for uploaded objects based on file
|
815
|
+
# extensions: "true" to enable MIME type guessing, and otherwise
|
816
|
+
# "false".
|
817
|
+
#
|
812
818
|
# @return [Types::CreateNFSFileShareOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
813
819
|
#
|
814
820
|
# * {Types::CreateNFSFileShareOutput#file_share_arn #file_share_arn} => String
|
@@ -832,6 +838,7 @@ module Aws::StorageGateway
|
|
832
838
|
# client_list: ["IPV4AddressCIDR"],
|
833
839
|
# squash: "Squash",
|
834
840
|
# read_only: false,
|
841
|
+
# guess_mime_type_enabled: false,
|
835
842
|
# })
|
836
843
|
#
|
837
844
|
# @example Response structure
|
@@ -865,7 +872,7 @@ module Aws::StorageGateway
|
|
865
872
|
# snapshot ID. You can use this snapshot ID to check the snapshot
|
866
873
|
# progress or later use it when you want to create a volume from a
|
867
874
|
# snapshot. This operation is only supported in stored and cached volume
|
868
|
-
# gateway
|
875
|
+
# gateway type.
|
869
876
|
#
|
870
877
|
# <note markdown="1"> To list or delete a snapshot, you must use the Amazon EC2 API. For
|
871
878
|
# more information, see DescribeSnapshots or DeleteSnapshot in the [EC2
|
@@ -935,7 +942,7 @@ module Aws::StorageGateway
|
|
935
942
|
end
|
936
943
|
|
937
944
|
# Initiates a snapshot of a gateway from a volume recovery point. This
|
938
|
-
# operation is only supported in the cached volume gateway
|
945
|
+
# operation is only supported in the cached volume gateway type.
|
939
946
|
#
|
940
947
|
# A volume recovery point is a point in time at which all data of the
|
941
948
|
# volume is consistent and from which you can create a snapshot. To get
|
@@ -1006,7 +1013,7 @@ module Aws::StorageGateway
|
|
1006
1013
|
end
|
1007
1014
|
|
1008
1015
|
# Creates a volume on a specified gateway. This operation is only
|
1009
|
-
# supported in the stored volume gateway
|
1016
|
+
# supported in the stored volume gateway type.
|
1010
1017
|
#
|
1011
1018
|
# The size of the volume to create is inferred from the disk size. You
|
1012
1019
|
# can choose to preserve existing data on the disk, create volume from
|
@@ -1123,7 +1130,7 @@ module Aws::StorageGateway
|
|
1123
1130
|
# the virtual tape and then archive the tape. A barcode is unique and
|
1124
1131
|
# can not be reused if it has already been used on a tape . This applies
|
1125
1132
|
# to barcodes used on deleted tapes. This operation is only supported in
|
1126
|
-
# the tape gateway
|
1133
|
+
# the tape gateway type.
|
1127
1134
|
#
|
1128
1135
|
# <note markdown="1"> Cache storage must be allocated to the gateway before you can create a
|
1129
1136
|
# virtual tape. Use the AddCache operation to add cache storage to a
|
@@ -1194,7 +1201,7 @@ module Aws::StorageGateway
|
|
1194
1201
|
|
1195
1202
|
# Creates one or more virtual tapes. You write data to the virtual tapes
|
1196
1203
|
# and then archive the tapes. This operation is only supported in the
|
1197
|
-
# tape gateway
|
1204
|
+
# tape gateway type.
|
1198
1205
|
#
|
1199
1206
|
# <note markdown="1"> Cache storage must be allocated to the gateway before you can create
|
1200
1207
|
# virtual tapes. Use the AddCache operation to add cache storage to a
|
@@ -1395,16 +1402,17 @@ module Aws::StorageGateway
|
|
1395
1402
|
end
|
1396
1403
|
|
1397
1404
|
# Deletes a file share from a file gateway. This operation is only
|
1398
|
-
# supported in the file gateway
|
1405
|
+
# supported in the file gateway type.
|
1399
1406
|
#
|
1400
1407
|
# @option params [required, String] :file_share_arn
|
1401
1408
|
# The Amazon Resource Name (ARN) of the file share to be deleted.
|
1402
1409
|
#
|
1403
1410
|
# @option params [Boolean] :force_delete
|
1404
|
-
# If set to true, deletes a file share
|
1405
|
-
# uploads to AWS. Otherwise the file
|
1406
|
-
# is uploaded to AWS. This process
|
1407
|
-
# the file share enters the
|
1411
|
+
# If this value is set to true, the operation deletes a file share
|
1412
|
+
# immediately and aborts all data uploads to AWS. Otherwise, the file
|
1413
|
+
# share is not deleted until all data is uploaded to AWS. This process
|
1414
|
+
# aborts the data upload process, and the file share enters the
|
1415
|
+
# FORCE\_DELETING status.
|
1408
1416
|
#
|
1409
1417
|
# @return [Types::DeleteFileShareOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1410
1418
|
#
|
@@ -1501,7 +1509,8 @@ module Aws::StorageGateway
|
|
1501
1509
|
# hoc basis. This API action enables you to delete a snapshot schedule
|
1502
1510
|
# for a volume. For more information, see [Working with Snapshots][1].
|
1503
1511
|
# In the `DeleteSnapshotSchedule` request, you identify the volume by
|
1504
|
-
# providing its Amazon Resource Name (ARN).
|
1512
|
+
# providing its Amazon Resource Name (ARN). This operation is only
|
1513
|
+
# supported in stored and cached volume gateway types.
|
1505
1514
|
#
|
1506
1515
|
# <note markdown="1"> To list or delete a snapshot, you must use the Amazon EC2 API. in
|
1507
1516
|
# *Amazon Elastic Compute Cloud API Reference*.
|
@@ -1552,7 +1561,7 @@ module Aws::StorageGateway
|
|
1552
1561
|
end
|
1553
1562
|
|
1554
1563
|
# Deletes the specified virtual tape. This operation is only supported
|
1555
|
-
# in the tape gateway
|
1564
|
+
# in the tape gateway type.
|
1556
1565
|
#
|
1557
1566
|
# @option params [required, String] :gateway_arn
|
1558
1567
|
# The unique Amazon Resource Name (ARN) of the gateway that the virtual
|
@@ -1602,7 +1611,7 @@ module Aws::StorageGateway
|
|
1602
1611
|
end
|
1603
1612
|
|
1604
1613
|
# Deletes the specified virtual tape from the virtual tape shelf (VTS).
|
1605
|
-
# This operation is only supported in the tape gateway
|
1614
|
+
# This operation is only supported in the tape gateway type.
|
1606
1615
|
#
|
1607
1616
|
# @option params [required, String] :tape_arn
|
1608
1617
|
# The Amazon Resource Name (ARN) of the virtual tape to delete from the
|
@@ -1648,9 +1657,9 @@ module Aws::StorageGateway
|
|
1648
1657
|
# Deletes the specified storage volume that you previously created using
|
1649
1658
|
# the CreateCachediSCSIVolume or CreateStorediSCSIVolume API. This
|
1650
1659
|
# operation is only supported in the cached volume and stored volume
|
1651
|
-
#
|
1652
|
-
#
|
1653
|
-
#
|
1660
|
+
# types. For stored volume gateways, the local disk that was configured
|
1661
|
+
# as the storage volume is not deleted. You can reuse the local disk to
|
1662
|
+
# create another storage volume.
|
1654
1663
|
#
|
1655
1664
|
# Before you delete a volume, make sure there are no iSCSI connections
|
1656
1665
|
# to the volume you are deleting. You should also make sure there is no
|
@@ -1767,8 +1776,7 @@ module Aws::StorageGateway
|
|
1767
1776
|
end
|
1768
1777
|
|
1769
1778
|
# Returns information about the cache of a gateway. This operation is
|
1770
|
-
# only supported in the cached volume,tape and file gateway
|
1771
|
-
# architectures.
|
1779
|
+
# only supported in the cached volume, tape and file gateway types.
|
1772
1780
|
#
|
1773
1781
|
# The response includes disk IDs that are configured as cache, and it
|
1774
1782
|
# includes the amount of cache allocated and used.
|
@@ -1837,8 +1845,7 @@ module Aws::StorageGateway
|
|
1837
1845
|
end
|
1838
1846
|
|
1839
1847
|
# Returns a description of the gateway volumes specified in the request.
|
1840
|
-
# This operation is only supported in the cached volume gateway
|
1841
|
-
# architecture.
|
1848
|
+
# This operation is only supported in the cached volume gateway types.
|
1842
1849
|
#
|
1843
1850
|
# The list of gateway volumes in the request must be from one gateway.
|
1844
1851
|
# In the response Amazon Storage Gateway returns volume information
|
@@ -1903,6 +1910,7 @@ module Aws::StorageGateway
|
|
1903
1910
|
# resp.cached_iscsi_volumes[0].volume_iscsi_attributes.lun_number #=> Integer
|
1904
1911
|
# resp.cached_iscsi_volumes[0].volume_iscsi_attributes.chap_enabled #=> Boolean
|
1905
1912
|
# resp.cached_iscsi_volumes[0].created_date #=> Time
|
1913
|
+
# resp.cached_iscsi_volumes[0].volume_used_in_bytes #=> Integer
|
1906
1914
|
#
|
1907
1915
|
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeCachediSCSIVolumes AWS API Documentation
|
1908
1916
|
#
|
@@ -2107,7 +2115,7 @@ module Aws::StorageGateway
|
|
2107
2115
|
end
|
2108
2116
|
|
2109
2117
|
# Gets a description for one or more file shares from a file gateway.
|
2110
|
-
# This operation is only supported in file
|
2118
|
+
# This operation is only supported in the file gateway type.
|
2111
2119
|
#
|
2112
2120
|
# @option params [required, Array<String>] :file_share_arn_list
|
2113
2121
|
# An array containing the Amazon Resource Name (ARN) of each file share
|
@@ -2144,6 +2152,7 @@ module Aws::StorageGateway
|
|
2144
2152
|
# resp.nfs_file_share_info_list[0].client_list[0] #=> String
|
2145
2153
|
# resp.nfs_file_share_info_list[0].squash #=> String
|
2146
2154
|
# resp.nfs_file_share_info_list[0].read_only #=> Boolean
|
2155
|
+
# resp.nfs_file_share_info_list[0].guess_mime_type_enabled #=> Boolean
|
2147
2156
|
#
|
2148
2157
|
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeNFSFileShares AWS API Documentation
|
2149
2158
|
#
|
@@ -2157,7 +2166,7 @@ module Aws::StorageGateway
|
|
2157
2166
|
# Describes the snapshot schedule for the specified gateway volume. The
|
2158
2167
|
# snapshot schedule information includes intervals at which snapshots
|
2159
2168
|
# are automatically initiated on the volume. This operation is only
|
2160
|
-
# supported in the cached volume and stored volume
|
2169
|
+
# supported in the cached volume and stored volume types.
|
2161
2170
|
#
|
2162
2171
|
# @option params [required, String] :volume_arn
|
2163
2172
|
# The Amazon Resource Name (ARN) of the volume. Use the ListVolumes
|
@@ -2217,7 +2226,7 @@ module Aws::StorageGateway
|
|
2217
2226
|
# request. The list of gateway volumes in the request must be from one
|
2218
2227
|
# gateway. In the response Amazon Storage Gateway returns volume
|
2219
2228
|
# information sorted by volume ARNs. This operation is only supported in
|
2220
|
-
# stored volume gateway
|
2229
|
+
# stored volume gateway type.
|
2221
2230
|
#
|
2222
2231
|
# @option params [required, Array<String>] :volume_arns
|
2223
2232
|
# An array of strings where each string represents the Amazon Resource
|
@@ -2285,6 +2294,7 @@ module Aws::StorageGateway
|
|
2285
2294
|
# resp.stored_iscsi_volumes[0].volume_iscsi_attributes.lun_number #=> Integer
|
2286
2295
|
# resp.stored_iscsi_volumes[0].volume_iscsi_attributes.chap_enabled #=> Boolean
|
2287
2296
|
# resp.stored_iscsi_volumes[0].created_date #=> Time
|
2297
|
+
# resp.stored_iscsi_volumes[0].volume_used_in_bytes #=> Integer
|
2288
2298
|
#
|
2289
2299
|
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeStorediSCSIVolumes AWS API Documentation
|
2290
2300
|
#
|
@@ -2297,7 +2307,7 @@ module Aws::StorageGateway
|
|
2297
2307
|
|
2298
2308
|
# Returns a description of specified virtual tapes in the virtual tape
|
2299
2309
|
# shelf (VTS). This operation is only supported in the tape gateway
|
2300
|
-
#
|
2310
|
+
# type.
|
2301
2311
|
#
|
2302
2312
|
# If a specific `TapeARN` is not specified, AWS Storage Gateway returns
|
2303
2313
|
# a description of all virtual tapes found in the VTS associated with
|
@@ -2392,7 +2402,7 @@ module Aws::StorageGateway
|
|
2392
2402
|
# all the data on the virtual tape is consistent. If your gateway
|
2393
2403
|
# crashes, virtual tapes that have recovery points can be recovered to a
|
2394
2404
|
# new gateway. This operation is only supported in the tape gateway
|
2395
|
-
#
|
2405
|
+
# type.
|
2396
2406
|
#
|
2397
2407
|
# @option params [required, String] :gateway_arn
|
2398
2408
|
# The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
|
@@ -2467,7 +2477,7 @@ module Aws::StorageGateway
|
|
2467
2477
|
# Returns a description of the specified Amazon Resource Name (ARN) of
|
2468
2478
|
# virtual tapes. If a `TapeARN` is not specified, returns a description
|
2469
2479
|
# of all virtual tapes associated with the specified gateway. This
|
2470
|
-
# operation is only supported in the tape gateway
|
2480
|
+
# operation is only supported in the tape gateway type.
|
2471
2481
|
#
|
2472
2482
|
# @option params [required, String] :gateway_arn
|
2473
2483
|
# The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
|
@@ -2567,7 +2577,7 @@ module Aws::StorageGateway
|
|
2567
2577
|
|
2568
2578
|
# Returns information about the upload buffer of a gateway. This
|
2569
2579
|
# operation is supported for the stored volume, cached volume and tape
|
2570
|
-
# gateway
|
2580
|
+
# gateway types.
|
2571
2581
|
#
|
2572
2582
|
# The response includes disk IDs that are configured as upload buffer
|
2573
2583
|
# space, and it includes the amount of upload buffer space allocated and
|
@@ -2652,7 +2662,7 @@ module Aws::StorageGateway
|
|
2652
2662
|
# specified tape gateway. In the response, AWS Storage Gateway returns
|
2653
2663
|
# VTL device information.
|
2654
2664
|
#
|
2655
|
-
# This operation is only supported in the tape gateway
|
2665
|
+
# This operation is only supported in the tape gateway type.
|
2656
2666
|
#
|
2657
2667
|
# @option params [required, String] :gateway_arn
|
2658
2668
|
# The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
|
@@ -2772,9 +2782,9 @@ module Aws::StorageGateway
|
|
2772
2782
|
end
|
2773
2783
|
|
2774
2784
|
# Returns information about the working storage of a gateway. This
|
2775
|
-
# operation is only supported in the stored volumes gateway
|
2776
|
-
#
|
2777
|
-
#
|
2785
|
+
# operation is only supported in the stored volumes gateway type. This
|
2786
|
+
# operation is deprecated in cached volumes API version (20120630). Use
|
2787
|
+
# DescribeUploadBuffer instead.
|
2778
2788
|
#
|
2779
2789
|
# <note markdown="1"> Working storage is also referred to as upload buffer. You can also use
|
2780
2790
|
# the DescribeUploadBuffer operation to add upload buffer to a stored
|
@@ -2846,7 +2856,7 @@ module Aws::StorageGateway
|
|
2846
2856
|
#
|
2847
2857
|
# Use this operation for a tape gateway that is not reachable or not
|
2848
2858
|
# functioning. This operation is only supported in the tape gateway
|
2849
|
-
#
|
2859
|
+
# type.
|
2850
2860
|
#
|
2851
2861
|
# Once a gateway is disabled it cannot be enabled.
|
2852
2862
|
#
|
@@ -2894,7 +2904,7 @@ module Aws::StorageGateway
|
|
2894
2904
|
|
2895
2905
|
# Gets a list of the file shares for a specific file gateway, or the
|
2896
2906
|
# list of file shares that belong to the calling user account. This
|
2897
|
-
# operation is only supported in the file gateway
|
2907
|
+
# operation is only supported in the file gateway type.
|
2898
2908
|
#
|
2899
2909
|
# @option params [String] :gateway_arn
|
2900
2910
|
# The Amazon resource Name (ARN) of the gateway whose file shares you
|
@@ -3103,7 +3113,7 @@ module Aws::StorageGateway
|
|
3103
3113
|
|
3104
3114
|
# Lists the tags that have been added to the specified resource. This
|
3105
3115
|
# operation is only supported in the cached volume, stored volume and
|
3106
|
-
# tape gateway
|
3116
|
+
# tape gateway type.
|
3107
3117
|
#
|
3108
3118
|
# @option params [required, String] :resource_arn
|
3109
3119
|
# The Amazon Resource Name (ARN) of the resource for which you want to
|
@@ -3183,7 +3193,7 @@ module Aws::StorageGateway
|
|
3183
3193
|
# the number of tapes returned in the response is truncated, the
|
3184
3194
|
# response includes a `Marker` element that you can use in your
|
3185
3195
|
# subsequent request to retrieve the next set of tapes. This operation
|
3186
|
-
# is only supported in the tape gateway
|
3196
|
+
# is only supported in the tape gateway type.
|
3187
3197
|
#
|
3188
3198
|
# @option params [Array<String>] :tape_arns
|
3189
3199
|
# The Amazon Resource Name (ARN) of each of the tapes you want to list.
|
@@ -3233,7 +3243,7 @@ module Aws::StorageGateway
|
|
3233
3243
|
# Lists iSCSI initiators that are connected to a volume. You can use
|
3234
3244
|
# this operation to determine whether a volume is being used or not.
|
3235
3245
|
# This operation is only supported in the cached volume and stored
|
3236
|
-
# volume gateway
|
3246
|
+
# volume gateway types.
|
3237
3247
|
#
|
3238
3248
|
# @option params [required, String] :volume_arn
|
3239
3249
|
# The Amazon Resource Name (ARN) of the volume. Use the ListVolumes
|
@@ -3264,7 +3274,7 @@ module Aws::StorageGateway
|
|
3264
3274
|
end
|
3265
3275
|
|
3266
3276
|
# Lists the recovery points for a specified gateway. This operation is
|
3267
|
-
# only supported in the cached volume gateway
|
3277
|
+
# only supported in the cached volume gateway type.
|
3268
3278
|
#
|
3269
3279
|
# Each cache volume has one recovery point. A volume recovery point is a
|
3270
3280
|
# point in time at which all data of the volume is consistent and from
|
@@ -3339,7 +3349,7 @@ module Aws::StorageGateway
|
|
3339
3349
|
# response includes a Marker field. You can use this Marker value in
|
3340
3350
|
# your subsequent request to retrieve the next set of volumes. This
|
3341
3351
|
# operation is only supported in the cached volume and stored volume
|
3342
|
-
# gateway
|
3352
|
+
# gateway types.
|
3343
3353
|
#
|
3344
3354
|
# @option params [String] :gateway_arn
|
3345
3355
|
# The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
|
@@ -3424,10 +3434,51 @@ module Aws::StorageGateway
|
|
3424
3434
|
req.send_request(options)
|
3425
3435
|
end
|
3426
3436
|
|
3437
|
+
# Sends you notification when all file data written to the NFS file
|
3438
|
+
# share has been uploaded to Amazon S3.
|
3439
|
+
#
|
3440
|
+
# AWS Storage Gateway can send a notification through Amazon CloudWatch
|
3441
|
+
# Events when all files written to your file share up to that point in
|
3442
|
+
# time have been uploaded to Amazon S3. These files include files
|
3443
|
+
# written to the NFS file share up to the time that you make a request
|
3444
|
+
# for notification. When the upload is done, Storage Gateway sends you
|
3445
|
+
# notification through an Amazon CloudWatch event. You can configure
|
3446
|
+
# CloudWatch Events to sent the notification through event targets such
|
3447
|
+
# as email, SNS or a Lambda function. text or Lambda functions. This
|
3448
|
+
# operation is only supported in the file gateway type.
|
3449
|
+
#
|
3450
|
+
# @option params [required, String] :file_share_arn
|
3451
|
+
# The Amazon Resource Name (ARN) of the file share.
|
3452
|
+
#
|
3453
|
+
# @return [Types::NotifyWhenUploadedOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3454
|
+
#
|
3455
|
+
# * {Types::NotifyWhenUploadedOutput#file_share_arn #file_share_arn} => String
|
3456
|
+
# * {Types::NotifyWhenUploadedOutput#notification_id #notification_id} => String
|
3457
|
+
#
|
3458
|
+
# @example Request syntax with placeholder values
|
3459
|
+
#
|
3460
|
+
# resp = client.notify_when_uploaded({
|
3461
|
+
# file_share_arn: "FileShareARN", # required
|
3462
|
+
# })
|
3463
|
+
#
|
3464
|
+
# @example Response structure
|
3465
|
+
#
|
3466
|
+
# resp.file_share_arn #=> String
|
3467
|
+
# resp.notification_id #=> String
|
3468
|
+
#
|
3469
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/NotifyWhenUploaded AWS API Documentation
|
3470
|
+
#
|
3471
|
+
# @overload notify_when_uploaded(params = {})
|
3472
|
+
# @param [Hash] params ({})
|
3473
|
+
def notify_when_uploaded(params = {}, options = {})
|
3474
|
+
req = build_request(:notify_when_uploaded, params)
|
3475
|
+
req.send_request(options)
|
3476
|
+
end
|
3477
|
+
|
3427
3478
|
# Refreshes the cache for the specified file share. This operation finds
|
3428
3479
|
# objects in the Amazon S3 bucket that were added, removed or replaced
|
3429
3480
|
# since the gateway last listed the bucket's contents and cached the
|
3430
|
-
# results.
|
3481
|
+
# results. This operation is only supported in the file gateway type.
|
3431
3482
|
#
|
3432
3483
|
# @option params [required, String] :file_share_arn
|
3433
3484
|
# The Amazon Resource Name (ARN) of the file share.
|
@@ -3457,7 +3508,7 @@ module Aws::StorageGateway
|
|
3457
3508
|
|
3458
3509
|
# Removes one or more tags from the specified resource. This operation
|
3459
3510
|
# is only supported in the cached volume, stored volume and tape gateway
|
3460
|
-
#
|
3511
|
+
# types.
|
3461
3512
|
#
|
3462
3513
|
# @option params [required, String] :resource_arn
|
3463
3514
|
# The Amazon Resource Name (ARN) of the resource you want to remove the
|
@@ -3516,7 +3567,7 @@ module Aws::StorageGateway
|
|
3516
3567
|
# occur when a disk is corrupted or removed from the gateway. When a
|
3517
3568
|
# cache is reset, the gateway loses its cache storage. At this point you
|
3518
3569
|
# can reconfigure the disks as cache disks. This operation is only
|
3519
|
-
# supported in the cached volume,tape and file gateway
|
3570
|
+
# supported in the cached volume, tape and file gateway types.
|
3520
3571
|
#
|
3521
3572
|
# If the cache disk you are resetting contains data that has not been
|
3522
3573
|
# uploaded to Amazon S3 yet, that data can be lost. After you reset
|
@@ -3570,12 +3621,12 @@ module Aws::StorageGateway
|
|
3570
3621
|
# associated with any gateway. However after a tape is retrieved, it is
|
3571
3622
|
# associated with a gateway, even though it is also listed in the VTS,
|
3572
3623
|
# that is, archive. This operation is only supported in the tape gateway
|
3573
|
-
#
|
3624
|
+
# type.
|
3574
3625
|
#
|
3575
3626
|
# Once a tape is successfully retrieved to a gateway, it cannot be
|
3576
3627
|
# retrieved again to another gateway. You must archive the tape again
|
3577
3628
|
# before you can retrieve it to another gateway. This operation is only
|
3578
|
-
# supported in the tape gateway
|
3629
|
+
# supported in the tape gateway type.
|
3579
3630
|
#
|
3580
3631
|
# @option params [required, String] :tape_arn
|
3581
3632
|
# The Amazon Resource Name (ARN) of the virtual tape you want to
|
@@ -3630,7 +3681,7 @@ module Aws::StorageGateway
|
|
3630
3681
|
end
|
3631
3682
|
|
3632
3683
|
# Retrieves the recovery point for the specified virtual tape. This
|
3633
|
-
# operation is only supported in the tape gateway
|
3684
|
+
# operation is only supported in the tape gateway type.
|
3634
3685
|
#
|
3635
3686
|
# A recovery point is a point in time view of a virtual tape at which
|
3636
3687
|
# all the data on the tape is consistent. If your gateway crashes,
|
@@ -4207,7 +4258,7 @@ module Aws::StorageGateway
|
|
4207
4258
|
end
|
4208
4259
|
|
4209
4260
|
# Updates a file share. This operation is only supported in the file
|
4210
|
-
# gateway
|
4261
|
+
# gateway type.
|
4211
4262
|
#
|
4212
4263
|
# <note markdown="1"> To leave a file share field unchanged, set the corresponding input
|
4213
4264
|
# field to null.
|
@@ -4268,6 +4319,11 @@ module Aws::StorageGateway
|
|
4268
4319
|
# Sets the write status of a file share: "true" if the write status is
|
4269
4320
|
# read-only, otherwise "false".
|
4270
4321
|
#
|
4322
|
+
# @option params [Boolean] :guess_mime_type_enabled
|
4323
|
+
# Enables guessing of the MIME type for uploaded objects based on file
|
4324
|
+
# extensions: "true" to enable MIME type guessing, and otherwise
|
4325
|
+
# "false".
|
4326
|
+
#
|
4271
4327
|
# @return [Types::UpdateNFSFileShareOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4272
4328
|
#
|
4273
4329
|
# * {Types::UpdateNFSFileShareOutput#file_share_arn #file_share_arn} => String
|
@@ -4288,6 +4344,7 @@ module Aws::StorageGateway
|
|
4288
4344
|
# client_list: ["IPV4AddressCIDR"],
|
4289
4345
|
# squash: "Squash",
|
4290
4346
|
# read_only: false,
|
4347
|
+
# guess_mime_type_enabled: false,
|
4291
4348
|
# })
|
4292
4349
|
#
|
4293
4350
|
# @example Response structure
|
@@ -4305,7 +4362,7 @@ module Aws::StorageGateway
|
|
4305
4362
|
|
4306
4363
|
# Updates a snapshot schedule configured for a gateway volume. This
|
4307
4364
|
# operation is only supported in the cached volume and stored volume
|
4308
|
-
# gateway
|
4365
|
+
# gateway types.
|
4309
4366
|
#
|
4310
4367
|
# The default snapshot schedule for volume is once every 24 hours,
|
4311
4368
|
# starting at the creation time of the volume. You can use this API to
|
@@ -4379,7 +4436,7 @@ module Aws::StorageGateway
|
|
4379
4436
|
# activate a tape gateway, you select a medium changer type for the tape
|
4380
4437
|
# gateway. This operation enables you to select a different type of
|
4381
4438
|
# medium changer after a tape gateway is activated. This operation is
|
4382
|
-
# only supported in the tape gateway
|
4439
|
+
# only supported in the tape gateway type.
|
4383
4440
|
#
|
4384
4441
|
# @option params [required, String] :vtl_device_arn
|
4385
4442
|
# The Amazon Resource Name (ARN) of the medium changer you want to
|
@@ -4442,7 +4499,7 @@ module Aws::StorageGateway
|
|
4442
4499
|
params: params,
|
4443
4500
|
config: config)
|
4444
4501
|
context[:gem_name] = 'aws-sdk-storagegateway'
|
4445
|
-
context[:gem_version] = '1.
|
4502
|
+
context[:gem_version] = '1.2.0'
|
4446
4503
|
Seahorse::Client::Request.new(handlers, context)
|
4447
4504
|
end
|
4448
4505
|
|
@@ -163,6 +163,9 @@ module Aws::StorageGateway
|
|
163
163
|
NetworkInterface = Shapes::StructureShape.new(name: 'NetworkInterface')
|
164
164
|
NetworkInterfaceId = Shapes::StringShape.new(name: 'NetworkInterfaceId')
|
165
165
|
NextUpdateAvailabilityDate = Shapes::StringShape.new(name: 'NextUpdateAvailabilityDate')
|
166
|
+
NotificationId = Shapes::StringShape.new(name: 'NotificationId')
|
167
|
+
NotifyWhenUploadedInput = Shapes::StructureShape.new(name: 'NotifyWhenUploadedInput')
|
168
|
+
NotifyWhenUploadedOutput = Shapes::StructureShape.new(name: 'NotifyWhenUploadedOutput')
|
166
169
|
NumTapesToCreate = Shapes::IntegerShape.new(name: 'NumTapesToCreate')
|
167
170
|
Path = Shapes::StringShape.new(name: 'Path')
|
168
171
|
PermissionId = Shapes::IntegerShape.new(name: 'PermissionId')
|
@@ -254,6 +257,7 @@ module Aws::StorageGateway
|
|
254
257
|
VolumeRecoveryPointInfos = Shapes::ListShape.new(name: 'VolumeRecoveryPointInfos')
|
255
258
|
VolumeStatus = Shapes::StringShape.new(name: 'VolumeStatus')
|
256
259
|
VolumeType = Shapes::StringShape.new(name: 'VolumeType')
|
260
|
+
VolumeUsedInBytes = Shapes::IntegerShape.new(name: 'VolumeUsedInBytes')
|
257
261
|
VolumeiSCSIAttributes = Shapes::StructureShape.new(name: 'VolumeiSCSIAttributes')
|
258
262
|
boolean = Shapes::BooleanShape.new(name: 'boolean')
|
259
263
|
double = Shapes::FloatShape.new(name: 'double')
|
@@ -311,6 +315,7 @@ module Aws::StorageGateway
|
|
311
315
|
CachediSCSIVolume.add_member(:source_snapshot_id, Shapes::ShapeRef.new(shape: SnapshotId, location_name: "SourceSnapshotId"))
|
312
316
|
CachediSCSIVolume.add_member(:volume_iscsi_attributes, Shapes::ShapeRef.new(shape: VolumeiSCSIAttributes, location_name: "VolumeiSCSIAttributes"))
|
313
317
|
CachediSCSIVolume.add_member(:created_date, Shapes::ShapeRef.new(shape: CreatedDate, location_name: "CreatedDate"))
|
318
|
+
CachediSCSIVolume.add_member(:volume_used_in_bytes, Shapes::ShapeRef.new(shape: VolumeUsedInBytes, location_name: "VolumeUsedInBytes"))
|
314
319
|
CachediSCSIVolume.struct_class = Types::CachediSCSIVolume
|
315
320
|
|
316
321
|
CachediSCSIVolumes.member = Shapes::ShapeRef.new(shape: CachediSCSIVolume)
|
@@ -361,6 +366,7 @@ module Aws::StorageGateway
|
|
361
366
|
CreateNFSFileShareInput.add_member(:client_list, Shapes::ShapeRef.new(shape: FileShareClientList, location_name: "ClientList"))
|
362
367
|
CreateNFSFileShareInput.add_member(:squash, Shapes::ShapeRef.new(shape: Squash, location_name: "Squash"))
|
363
368
|
CreateNFSFileShareInput.add_member(:read_only, Shapes::ShapeRef.new(shape: Boolean, location_name: "ReadOnly"))
|
369
|
+
CreateNFSFileShareInput.add_member(:guess_mime_type_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "GuessMIMETypeEnabled"))
|
364
370
|
CreateNFSFileShareInput.struct_class = Types::CreateNFSFileShareInput
|
365
371
|
|
366
372
|
CreateNFSFileShareOutput.add_member(:file_share_arn, Shapes::ShapeRef.new(shape: FileShareARN, location_name: "FileShareARN"))
|
@@ -740,6 +746,7 @@ module Aws::StorageGateway
|
|
740
746
|
NFSFileShareInfo.add_member(:client_list, Shapes::ShapeRef.new(shape: FileShareClientList, location_name: "ClientList"))
|
741
747
|
NFSFileShareInfo.add_member(:squash, Shapes::ShapeRef.new(shape: Squash, location_name: "Squash"))
|
742
748
|
NFSFileShareInfo.add_member(:read_only, Shapes::ShapeRef.new(shape: Boolean, location_name: "ReadOnly"))
|
749
|
+
NFSFileShareInfo.add_member(:guess_mime_type_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "GuessMIMETypeEnabled"))
|
743
750
|
NFSFileShareInfo.struct_class = Types::NFSFileShareInfo
|
744
751
|
|
745
752
|
NFSFileShareInfoList.member = Shapes::ShapeRef.new(shape: NFSFileShareInfo)
|
@@ -749,6 +756,13 @@ module Aws::StorageGateway
|
|
749
756
|
NetworkInterface.add_member(:ipv_6_address, Shapes::ShapeRef.new(shape: string, location_name: "Ipv6Address"))
|
750
757
|
NetworkInterface.struct_class = Types::NetworkInterface
|
751
758
|
|
759
|
+
NotifyWhenUploadedInput.add_member(:file_share_arn, Shapes::ShapeRef.new(shape: FileShareARN, required: true, location_name: "FileShareARN"))
|
760
|
+
NotifyWhenUploadedInput.struct_class = Types::NotifyWhenUploadedInput
|
761
|
+
|
762
|
+
NotifyWhenUploadedOutput.add_member(:file_share_arn, Shapes::ShapeRef.new(shape: FileShareARN, location_name: "FileShareARN"))
|
763
|
+
NotifyWhenUploadedOutput.add_member(:notification_id, Shapes::ShapeRef.new(shape: NotificationId, location_name: "NotificationId"))
|
764
|
+
NotifyWhenUploadedOutput.struct_class = Types::NotifyWhenUploadedOutput
|
765
|
+
|
752
766
|
RefreshCacheInput.add_member(:file_share_arn, Shapes::ShapeRef.new(shape: FileShareARN, required: true, location_name: "FileShareARN"))
|
753
767
|
RefreshCacheInput.struct_class = Types::RefreshCacheInput
|
754
768
|
|
@@ -816,6 +830,7 @@ module Aws::StorageGateway
|
|
816
830
|
StorediSCSIVolume.add_member(:preserved_existing_data, Shapes::ShapeRef.new(shape: boolean, location_name: "PreservedExistingData"))
|
817
831
|
StorediSCSIVolume.add_member(:volume_iscsi_attributes, Shapes::ShapeRef.new(shape: VolumeiSCSIAttributes, location_name: "VolumeiSCSIAttributes"))
|
818
832
|
StorediSCSIVolume.add_member(:created_date, Shapes::ShapeRef.new(shape: CreatedDate, location_name: "CreatedDate"))
|
833
|
+
StorediSCSIVolume.add_member(:volume_used_in_bytes, Shapes::ShapeRef.new(shape: VolumeUsedInBytes, location_name: "VolumeUsedInBytes"))
|
819
834
|
StorediSCSIVolume.struct_class = Types::StorediSCSIVolume
|
820
835
|
|
821
836
|
StorediSCSIVolumes.member = Shapes::ShapeRef.new(shape: StorediSCSIVolume)
|
@@ -921,6 +936,7 @@ module Aws::StorageGateway
|
|
921
936
|
UpdateNFSFileShareInput.add_member(:client_list, Shapes::ShapeRef.new(shape: FileShareClientList, location_name: "ClientList"))
|
922
937
|
UpdateNFSFileShareInput.add_member(:squash, Shapes::ShapeRef.new(shape: Squash, location_name: "Squash"))
|
923
938
|
UpdateNFSFileShareInput.add_member(:read_only, Shapes::ShapeRef.new(shape: Boolean, location_name: "ReadOnly"))
|
939
|
+
UpdateNFSFileShareInput.add_member(:guess_mime_type_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "GuessMIMETypeEnabled"))
|
924
940
|
UpdateNFSFileShareInput.struct_class = Types::UpdateNFSFileShareInput
|
925
941
|
|
926
942
|
UpdateNFSFileShareOutput.add_member(:file_share_arn, Shapes::ShapeRef.new(shape: FileShareARN, location_name: "FileShareARN"))
|
@@ -1496,6 +1512,16 @@ module Aws::StorageGateway
|
|
1496
1512
|
)
|
1497
1513
|
end)
|
1498
1514
|
|
1515
|
+
api.add_operation(:notify_when_uploaded, Seahorse::Model::Operation.new.tap do |o|
|
1516
|
+
o.name = "NotifyWhenUploaded"
|
1517
|
+
o.http_method = "POST"
|
1518
|
+
o.http_request_uri = "/"
|
1519
|
+
o.input = Shapes::ShapeRef.new(shape: NotifyWhenUploadedInput)
|
1520
|
+
o.output = Shapes::ShapeRef.new(shape: NotifyWhenUploadedOutput)
|
1521
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidGatewayRequestException)
|
1522
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
1523
|
+
end)
|
1524
|
+
|
1499
1525
|
api.add_operation(:refresh_cache, Seahorse::Model::Operation.new.tap do |o|
|
1500
1526
|
o.name = "RefreshCache"
|
1501
1527
|
o.http_method = "POST"
|
@@ -120,8 +120,8 @@ module Aws::StorageGateway
|
|
120
120
|
# gateway in other API operations as well as resource-based
|
121
121
|
# authorization.
|
122
122
|
#
|
123
|
-
# <note markdown="1"> For gateways activated prior to September 02, 2015 the gateway ARN
|
124
|
-
# contains the gateway name rather than the gateway
|
123
|
+
# <note markdown="1"> For gateways activated prior to September 02, 2015, the gateway ARN
|
124
|
+
# contains the gateway name rather than the gateway ID. Changing the
|
125
125
|
# name of the gateway has no effect on the gateway ARN.
|
126
126
|
#
|
127
127
|
# </note>
|
@@ -358,6 +358,15 @@ module Aws::StorageGateway
|
|
358
358
|
# 2017 don’t have this time stamp.
|
359
359
|
# @return [Time]
|
360
360
|
#
|
361
|
+
# @!attribute [rw] volume_used_in_bytes
|
362
|
+
# The size of the data stored on the volume in bytes.
|
363
|
+
#
|
364
|
+
# <note markdown="1"> This value is not available for volumes created prior to May 13,
|
365
|
+
# 2015, until you store data on the volume.
|
366
|
+
#
|
367
|
+
# </note>
|
368
|
+
# @return [Integer]
|
369
|
+
#
|
361
370
|
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CachediSCSIVolume AWS API Documentation
|
362
371
|
#
|
363
372
|
class CachediSCSIVolume < Struct.new(
|
@@ -369,7 +378,8 @@ module Aws::StorageGateway
|
|
369
378
|
:volume_progress,
|
370
379
|
:source_snapshot_id,
|
371
380
|
:volume_iscsi_attributes,
|
372
|
-
:created_date
|
381
|
+
:created_date,
|
382
|
+
:volume_used_in_bytes)
|
373
383
|
include Aws::Structure
|
374
384
|
end
|
375
385
|
|
@@ -582,6 +592,7 @@ module Aws::StorageGateway
|
|
582
592
|
# client_list: ["IPV4AddressCIDR"],
|
583
593
|
# squash: "Squash",
|
584
594
|
# read_only: false,
|
595
|
+
# guess_mime_type_enabled: false,
|
585
596
|
# }
|
586
597
|
#
|
587
598
|
# @!attribute [rw] client_token
|
@@ -644,6 +655,12 @@ module Aws::StorageGateway
|
|
644
655
|
# is read-only, and otherwise "false".
|
645
656
|
# @return [Boolean]
|
646
657
|
#
|
658
|
+
# @!attribute [rw] guess_mime_type_enabled
|
659
|
+
# Enables guessing of the MIME type for uploaded objects based on file
|
660
|
+
# extensions: "true" to enable MIME type guessing, and otherwise
|
661
|
+
# "false".
|
662
|
+
# @return [Boolean]
|
663
|
+
#
|
647
664
|
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateNFSFileShareInput AWS API Documentation
|
648
665
|
#
|
649
666
|
class CreateNFSFileShareInput < Struct.new(
|
@@ -657,7 +674,8 @@ module Aws::StorageGateway
|
|
657
674
|
:default_storage_class,
|
658
675
|
:client_list,
|
659
676
|
:squash,
|
660
|
-
:read_only
|
677
|
+
:read_only,
|
678
|
+
:guess_mime_type_enabled)
|
661
679
|
include Aws::Structure
|
662
680
|
end
|
663
681
|
|
@@ -1131,10 +1149,11 @@ module Aws::StorageGateway
|
|
1131
1149
|
# @return [String]
|
1132
1150
|
#
|
1133
1151
|
# @!attribute [rw] force_delete
|
1134
|
-
# If set to true, deletes a file share
|
1135
|
-
# uploads to AWS. Otherwise the file
|
1136
|
-
# data is uploaded to AWS. This process
|
1137
|
-
# and the file share enters the
|
1152
|
+
# If this value is set to true, the operation deletes a file share
|
1153
|
+
# immediately and aborts all data uploads to AWS. Otherwise, the file
|
1154
|
+
# share is not deleted until all data is uploaded to AWS. This process
|
1155
|
+
# aborts the data upload process, and the file share enters the
|
1156
|
+
# FORCE\_DELETING status.
|
1138
1157
|
# @return [Boolean]
|
1139
1158
|
#
|
1140
1159
|
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteFileShareInput AWS API Documentation
|
@@ -1158,7 +1177,7 @@ module Aws::StorageGateway
|
|
1158
1177
|
include Aws::Structure
|
1159
1178
|
end
|
1160
1179
|
|
1161
|
-
# A JSON object containing the
|
1180
|
+
# A JSON object containing the ID of the gateway to delete.
|
1162
1181
|
#
|
1163
1182
|
# @note When making an API call, you may pass DeleteGatewayInput
|
1164
1183
|
# data as a hash:
|
@@ -1179,7 +1198,7 @@ module Aws::StorageGateway
|
|
1179
1198
|
include Aws::Structure
|
1180
1199
|
end
|
1181
1200
|
|
1182
|
-
# A JSON object containing the
|
1201
|
+
# A JSON object containing the ID of the deleted gateway.
|
1183
1202
|
#
|
1184
1203
|
# @!attribute [rw] gateway_arn
|
1185
1204
|
# The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
|
@@ -1520,7 +1539,7 @@ module Aws::StorageGateway
|
|
1520
1539
|
include Aws::Structure
|
1521
1540
|
end
|
1522
1541
|
|
1523
|
-
# A JSON object containing the
|
1542
|
+
# A JSON object containing the ID of the gateway.
|
1524
1543
|
#
|
1525
1544
|
# @note When making an API call, you may pass DescribeGatewayInformationInput
|
1526
1545
|
# data as a hash:
|
@@ -2735,7 +2754,7 @@ module Aws::StorageGateway
|
|
2735
2754
|
# permissions assigned to them. Upon discovery in an S3 bucket by
|
2736
2755
|
# Storage Gateway, the S3 objects that represent files and folders are
|
2737
2756
|
# assigned these default Unix permissions. This operation is only
|
2738
|
-
# supported in the file gateway
|
2757
|
+
# supported in the file gateway type.
|
2739
2758
|
#
|
2740
2759
|
# @note When making an API call, you may pass NFSFileShareDefaults
|
2741
2760
|
# data as a hash:
|
@@ -2789,7 +2808,7 @@ module Aws::StorageGateway
|
|
2789
2808
|
# permissions assigned to them. Upon discovery in an S3 bucket by
|
2790
2809
|
# Storage Gateway, the S3 objects that represent files and folders are
|
2791
2810
|
# assigned these default Unix permissions. This operation is only
|
2792
|
-
# supported in the file gateway
|
2811
|
+
# supported in the file gateway type.
|
2793
2812
|
# @return [Types::NFSFileShareDefaults]
|
2794
2813
|
#
|
2795
2814
|
# @!attribute [rw] file_share_arn
|
@@ -2861,6 +2880,12 @@ module Aws::StorageGateway
|
|
2861
2880
|
# "false".
|
2862
2881
|
# @return [Boolean]
|
2863
2882
|
#
|
2883
|
+
# @!attribute [rw] guess_mime_type_enabled
|
2884
|
+
# Enables guessing of the MIME type for uploaded objects based on file
|
2885
|
+
# extensions: "true" to enable MIME type guessing, and otherwise
|
2886
|
+
# "false".
|
2887
|
+
# @return [Boolean]
|
2888
|
+
#
|
2864
2889
|
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/NFSFileShareInfo AWS API Documentation
|
2865
2890
|
#
|
2866
2891
|
class NFSFileShareInfo < Struct.new(
|
@@ -2877,7 +2902,8 @@ module Aws::StorageGateway
|
|
2877
2902
|
:default_storage_class,
|
2878
2903
|
:client_list,
|
2879
2904
|
:squash,
|
2880
|
-
:read_only
|
2905
|
+
:read_only,
|
2906
|
+
:guess_mime_type_enabled)
|
2881
2907
|
include Aws::Structure
|
2882
2908
|
end
|
2883
2909
|
|
@@ -2909,6 +2935,41 @@ module Aws::StorageGateway
|
|
2909
2935
|
include Aws::Structure
|
2910
2936
|
end
|
2911
2937
|
|
2938
|
+
# @note When making an API call, you may pass NotifyWhenUploadedInput
|
2939
|
+
# data as a hash:
|
2940
|
+
#
|
2941
|
+
# {
|
2942
|
+
# file_share_arn: "FileShareARN", # required
|
2943
|
+
# }
|
2944
|
+
#
|
2945
|
+
# @!attribute [rw] file_share_arn
|
2946
|
+
# The Amazon Resource Name (ARN) of the file share.
|
2947
|
+
# @return [String]
|
2948
|
+
#
|
2949
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/NotifyWhenUploadedInput AWS API Documentation
|
2950
|
+
#
|
2951
|
+
class NotifyWhenUploadedInput < Struct.new(
|
2952
|
+
:file_share_arn)
|
2953
|
+
include Aws::Structure
|
2954
|
+
end
|
2955
|
+
|
2956
|
+
# @!attribute [rw] file_share_arn
|
2957
|
+
# The Amazon Resource Name (ARN) of the file share.
|
2958
|
+
# @return [String]
|
2959
|
+
#
|
2960
|
+
# @!attribute [rw] notification_id
|
2961
|
+
# The randomly generated ID of the notification that was sent. This ID
|
2962
|
+
# is in UUID format.
|
2963
|
+
# @return [String]
|
2964
|
+
#
|
2965
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/NotifyWhenUploadedOutput AWS API Documentation
|
2966
|
+
#
|
2967
|
+
class NotifyWhenUploadedOutput < Struct.new(
|
2968
|
+
:file_share_arn,
|
2969
|
+
:notification_id)
|
2970
|
+
include Aws::Structure
|
2971
|
+
end
|
2972
|
+
|
2912
2973
|
# @note When making an API call, you may pass RefreshCacheInput
|
2913
2974
|
# data as a hash:
|
2914
2975
|
#
|
@@ -3287,6 +3348,15 @@ module Aws::StorageGateway
|
|
3287
3348
|
# 2017 don’t have this time stamp.
|
3288
3349
|
# @return [Time]
|
3289
3350
|
#
|
3351
|
+
# @!attribute [rw] volume_used_in_bytes
|
3352
|
+
# The size of the data stored on the volume in bytes.
|
3353
|
+
#
|
3354
|
+
# <note markdown="1"> This value is not available for volumes created prior to May 13,
|
3355
|
+
# 2015, until you store data on the volume.
|
3356
|
+
#
|
3357
|
+
# </note>
|
3358
|
+
# @return [Integer]
|
3359
|
+
#
|
3290
3360
|
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/StorediSCSIVolume AWS API Documentation
|
3291
3361
|
#
|
3292
3362
|
class StorediSCSIVolume < Struct.new(
|
@@ -3300,7 +3370,8 @@ module Aws::StorageGateway
|
|
3300
3370
|
:source_snapshot_id,
|
3301
3371
|
:preserved_existing_data,
|
3302
3372
|
:volume_iscsi_attributes,
|
3303
|
-
:created_date
|
3373
|
+
:created_date,
|
3374
|
+
:volume_used_in_bytes)
|
3304
3375
|
include Aws::Structure
|
3305
3376
|
end
|
3306
3377
|
|
@@ -3361,7 +3432,7 @@ module Aws::StorageGateway
|
|
3361
3432
|
# @return [Float]
|
3362
3433
|
#
|
3363
3434
|
# @!attribute [rw] tape_used_in_bytes
|
3364
|
-
# The size, in bytes, of data
|
3435
|
+
# The size, in bytes, of data stored on the virtual tape.
|
3365
3436
|
#
|
3366
3437
|
# <note markdown="1"> This value is not available for tapes created prior to May 13, 2015.
|
3367
3438
|
#
|
@@ -3419,7 +3490,7 @@ module Aws::StorageGateway
|
|
3419
3490
|
# @return [String]
|
3420
3491
|
#
|
3421
3492
|
# @!attribute [rw] tape_used_in_bytes
|
3422
|
-
# The size, in bytes, of data
|
3493
|
+
# The size, in bytes, of data stored on the virtual tape.
|
3423
3494
|
#
|
3424
3495
|
# <note markdown="1"> This value is not available for tapes created prior to May 13, 2015.
|
3425
3496
|
#
|
@@ -3806,6 +3877,7 @@ module Aws::StorageGateway
|
|
3806
3877
|
# client_list: ["IPV4AddressCIDR"],
|
3807
3878
|
# squash: "Squash",
|
3808
3879
|
# read_only: false,
|
3880
|
+
# guess_mime_type_enabled: false,
|
3809
3881
|
# }
|
3810
3882
|
#
|
3811
3883
|
# @!attribute [rw] file_share_arn
|
@@ -3853,6 +3925,12 @@ module Aws::StorageGateway
|
|
3853
3925
|
# is read-only, otherwise "false".
|
3854
3926
|
# @return [Boolean]
|
3855
3927
|
#
|
3928
|
+
# @!attribute [rw] guess_mime_type_enabled
|
3929
|
+
# Enables guessing of the MIME type for uploaded objects based on file
|
3930
|
+
# extensions: "true" to enable MIME type guessing, and otherwise
|
3931
|
+
# "false".
|
3932
|
+
# @return [Boolean]
|
3933
|
+
#
|
3856
3934
|
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateNFSFileShareInput AWS API Documentation
|
3857
3935
|
#
|
3858
3936
|
class UpdateNFSFileShareInput < Struct.new(
|
@@ -3863,7 +3941,8 @@ module Aws::StorageGateway
|
|
3863
3941
|
:default_storage_class,
|
3864
3942
|
:client_list,
|
3865
3943
|
:squash,
|
3866
|
-
:read_only
|
3944
|
+
:read_only,
|
3945
|
+
:guess_mime_type_enabled)
|
3867
3946
|
include Aws::Structure
|
3868
3947
|
end
|
3869
3948
|
|
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.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-11-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|