aws-sdk-storagegateway 1.37.0 → 1.38.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/aws-sdk-storagegateway.rb +1 -1
- data/lib/aws-sdk-storagegateway/client.rb +187 -61
- data/lib/aws-sdk-storagegateway/client_api.rb +74 -0
- data/lib/aws-sdk-storagegateway/types.rb +282 -72
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 20d4615bf7dddf5a45e5d7b726fc68cf997731adcfdc012b3ac348d86d95d5d6
|
4
|
+
data.tar.gz: b730b75a04f45d2fa000f5be8bf6e5cc34631aa76d75e209e4c582ea318bb2bd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9869eeb311dbf9155e12783d07cc3485633158af9677647e4c7c396cffb18ee597c6b22079121c30659f9fb3e15735f7318956aaab5608e8928c87db7f1e2959
|
7
|
+
data.tar.gz: 1bf328920e160cdee4decd3175f7a631a21f5c01a3277d450baa2ff4a6ea8bad7ab9c0b418e82126a85f8f9ed0a49dd7694711dfc32b2a40b867e6436fc68c43
|
@@ -475,7 +475,7 @@ module Aws::StorageGateway
|
|
475
475
|
#
|
476
476
|
# @option params [required, Array<String>] :disk_ids
|
477
477
|
# An array of strings that identify disks that are to be configured as
|
478
|
-
# working storage. Each string
|
478
|
+
# working storage. Each string has a minimum length of 1 and maximum
|
479
479
|
# length of 300. You can get the disk IDs from the ListLocalDisks API.
|
480
480
|
#
|
481
481
|
# @return [Types::AddCacheOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -618,7 +618,7 @@ module Aws::StorageGateway
|
|
618
618
|
#
|
619
619
|
# @option params [required, Array<String>] :disk_ids
|
620
620
|
# An array of strings that identify disks that are to be configured as
|
621
|
-
# working storage. Each string
|
621
|
+
# working storage. Each string has a minimum length of 1 and maximum
|
622
622
|
# length of 300. You can get the disk IDs from the ListLocalDisks API.
|
623
623
|
#
|
624
624
|
# @return [Types::AddUploadBufferOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -685,7 +685,7 @@ module Aws::StorageGateway
|
|
685
685
|
#
|
686
686
|
# @option params [required, Array<String>] :disk_ids
|
687
687
|
# An array of strings that identify disks that are to be configured as
|
688
|
-
# working storage. Each string
|
688
|
+
# working storage. Each string has a minimum length of 1 and maximum
|
689
689
|
# length of 300. You can get the disk IDs from the ListLocalDisks API.
|
690
690
|
#
|
691
691
|
# @return [Types::AddWorkingStorageOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -734,8 +734,8 @@ module Aws::StorageGateway
|
|
734
734
|
# Assigns a tape to a tape pool for archiving. The tape assigned to a
|
735
735
|
# pool is archived in the S3 storage class that is associated with the
|
736
736
|
# pool. When you use your backup application to eject the tape, the tape
|
737
|
-
# is archived directly into the S3 storage class (Glacier or
|
738
|
-
# Archive) that corresponds to the pool.
|
737
|
+
# is archived directly into the S3 storage class (S3 Glacier or S3
|
738
|
+
# Glacier Deep Archive) that corresponds to the pool.
|
739
739
|
#
|
740
740
|
# Valid values: "GLACIER", "DEEP\_ARCHIVE"
|
741
741
|
#
|
@@ -748,7 +748,7 @@ module Aws::StorageGateway
|
|
748
748
|
# The tape in this pool is archived in the S3 storage class that is
|
749
749
|
# associated with the pool. When you use your backup application to
|
750
750
|
# eject the tape, the tape is archived directly into the storage class
|
751
|
-
# (Glacier or Deep Archive) that corresponds to the pool.
|
751
|
+
# (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the pool.
|
752
752
|
#
|
753
753
|
# Valid values: "GLACIER", "DEEP\_ARCHIVE"
|
754
754
|
#
|
@@ -1019,12 +1019,12 @@ module Aws::StorageGateway
|
|
1019
1019
|
# request.
|
1020
1020
|
#
|
1021
1021
|
# @option params [Boolean] :kms_encrypted
|
1022
|
-
# True to use Amazon S3 server
|
1022
|
+
# True to use Amazon S3 server-side encryption with your own AWS KMS
|
1023
1023
|
# key, or false to use a key managed by Amazon S3. Optional.
|
1024
1024
|
#
|
1025
1025
|
# @option params [String] :kms_key
|
1026
1026
|
# The Amazon Resource Name (ARN) of the AWS KMS key used for Amazon S3
|
1027
|
-
# server
|
1027
|
+
# server-side encryption. This value can only be set when KMSEncrypted
|
1028
1028
|
# is true. Optional.
|
1029
1029
|
#
|
1030
1030
|
# @option params [Array<Types::Tag>] :tags
|
@@ -1101,11 +1101,11 @@ module Aws::StorageGateway
|
|
1101
1101
|
# Creates a Network File System (NFS) file share on an existing file
|
1102
1102
|
# gateway. In Storage Gateway, a file share is a file system mount point
|
1103
1103
|
# backed by Amazon S3 cloud storage. Storage Gateway exposes file shares
|
1104
|
-
# using
|
1104
|
+
# using an NFS interface. This operation is only supported for file
|
1105
1105
|
# gateways.
|
1106
1106
|
#
|
1107
1107
|
# File gateway requires AWS Security Token Service (AWS STS) to be
|
1108
|
-
# activated to enable you create a file share. Make sure AWS STS is
|
1108
|
+
# activated to enable you to create a file share. Make sure AWS STS is
|
1109
1109
|
# activated in the AWS Region you are creating your file gateway in. If
|
1110
1110
|
# AWS STS is not activated in the AWS Region, activate it. For
|
1111
1111
|
# information about how to activate AWS STS, see Activating and
|
@@ -1127,13 +1127,13 @@ module Aws::StorageGateway
|
|
1127
1127
|
# to create a file share.
|
1128
1128
|
#
|
1129
1129
|
# @option params [Boolean] :kms_encrypted
|
1130
|
-
# True to use Amazon S3 server
|
1130
|
+
# True to use Amazon S3 server-side encryption with your own AWS KMS
|
1131
1131
|
# key, or false to use a key managed by Amazon S3. Optional.
|
1132
1132
|
#
|
1133
1133
|
# @option params [String] :kms_key
|
1134
|
-
# The Amazon Resource Name (ARN) AWS KMS key used for Amazon S3
|
1135
|
-
# side encryption. This value can only be set when KMSEncrypted
|
1136
|
-
# Optional.
|
1134
|
+
# The Amazon Resource Name (ARN) AWS KMS key used for Amazon S3
|
1135
|
+
# server-side encryption. This value can only be set when KMSEncrypted
|
1136
|
+
# is true. Optional.
|
1137
1137
|
#
|
1138
1138
|
# @option params [required, String] :role
|
1139
1139
|
# The ARN of the AWS Identity and Access Management (IAM) role that a
|
@@ -1250,7 +1250,7 @@ module Aws::StorageGateway
|
|
1250
1250
|
# Creates a Server Message Block (SMB) file share on an existing file
|
1251
1251
|
# gateway. In Storage Gateway, a file share is a file system mount point
|
1252
1252
|
# backed by Amazon S3 cloud storage. Storage Gateway expose file shares
|
1253
|
-
# using
|
1253
|
+
# using an SMB interface. This operation is only supported for file
|
1254
1254
|
# gateways.
|
1255
1255
|
#
|
1256
1256
|
# File gateways require AWS Security Token Service (AWS STS) to be
|
@@ -1277,12 +1277,12 @@ module Aws::StorageGateway
|
|
1277
1277
|
# The ARN of the file gateway on which you want to create a file share.
|
1278
1278
|
#
|
1279
1279
|
# @option params [Boolean] :kms_encrypted
|
1280
|
-
# True to use Amazon S3 server
|
1280
|
+
# True to use Amazon S3 server-side encryption with your own AWS KMS
|
1281
1281
|
# key, or false to use a key managed by Amazon S3. Optional.
|
1282
1282
|
#
|
1283
1283
|
# @option params [String] :kms_key
|
1284
1284
|
# The Amazon Resource Name (ARN) of the AWS KMS key used for Amazon S3
|
1285
|
-
# server
|
1285
|
+
# server-side encryption. This value can only be set when KMSEncrypted
|
1286
1286
|
# is true. Optional.
|
1287
1287
|
#
|
1288
1288
|
# @option params [required, String] :role
|
@@ -1351,8 +1351,8 @@ module Aws::StorageGateway
|
|
1351
1351
|
# @option params [Array<String>] :invalid_user_list
|
1352
1352
|
# A list of users or groups in the Active Directory that are not allowed
|
1353
1353
|
# to access the file share. A group must be prefixed with the @
|
1354
|
-
# character. For example `@group1`. Can only be set if Authentication
|
1355
|
-
# set to `ActiveDirectory`.
|
1354
|
+
# character. For example, `@group1`. Can only be set if Authentication
|
1355
|
+
# is set to `ActiveDirectory`.
|
1356
1356
|
#
|
1357
1357
|
# @option params [String] :audit_destination_arn
|
1358
1358
|
# The Amazon Resource Name (ARN) of the storage used for the audit logs.
|
@@ -1422,12 +1422,12 @@ module Aws::StorageGateway
|
|
1422
1422
|
# Initiates a snapshot of a volume.
|
1423
1423
|
#
|
1424
1424
|
# AWS Storage Gateway provides the ability to back up point-in-time
|
1425
|
-
# snapshots of your data to Amazon Simple Storage (S3)
|
1426
|
-
# off-site recovery, as well as import the data to an Amazon
|
1427
|
-
# Block Store (EBS) volume in Amazon Elastic Compute Cloud
|
1428
|
-
# can take snapshots of your gateway volume on a scheduled or
|
1429
|
-
# basis. This API enables you to take ad
|
1430
|
-
# information, see [Editing a Snapshot Schedule][1].
|
1425
|
+
# snapshots of your data to Amazon Simple Storage Service (Amazon S3)
|
1426
|
+
# for durable off-site recovery, as well as import the data to an Amazon
|
1427
|
+
# Elastic Block Store (EBS) volume in Amazon Elastic Compute Cloud
|
1428
|
+
# (EC2). You can take snapshots of your gateway volume on a scheduled or
|
1429
|
+
# ad hoc basis. This API enables you to take an ad hoc snapshot. For
|
1430
|
+
# more information, see [Editing a Snapshot Schedule][1].
|
1431
1431
|
#
|
1432
1432
|
# In the CreateSnapshot request you identify the volume by providing its
|
1433
1433
|
# Amazon Resource Name (ARN). You must also provide description for the
|
@@ -1684,12 +1684,12 @@ module Aws::StorageGateway
|
|
1684
1684
|
# Valid Values: A valid IP address.
|
1685
1685
|
#
|
1686
1686
|
# @option params [Boolean] :kms_encrypted
|
1687
|
-
# True to use Amazon S3 server
|
1687
|
+
# True to use Amazon S3 server-side encryption with your own AWS KMS
|
1688
1688
|
# key, or false to use a key managed by Amazon S3. Optional.
|
1689
1689
|
#
|
1690
1690
|
# @option params [String] :kms_key
|
1691
1691
|
# The Amazon Resource Name (ARN) of the KMS key used for Amazon S3
|
1692
|
-
# server
|
1692
|
+
# server-side encryption. This value can only be set when KMSEncrypted
|
1693
1693
|
# is true. Optional.
|
1694
1694
|
#
|
1695
1695
|
# @option params [Array<Types::Tag>] :tags
|
@@ -1766,7 +1766,7 @@ module Aws::StorageGateway
|
|
1766
1766
|
|
1767
1767
|
# Creates a virtual tape by using your own barcode. You write data to
|
1768
1768
|
# the virtual tape and then archive the tape. A barcode is unique and
|
1769
|
-
#
|
1769
|
+
# cannot be reused if it has already been used on a tape. This applies
|
1770
1770
|
# to barcodes used on deleted tapes. This operation is only supported in
|
1771
1771
|
# the tape gateway type.
|
1772
1772
|
#
|
@@ -1784,7 +1784,7 @@ module Aws::StorageGateway
|
|
1784
1784
|
# @option params [required, Integer] :tape_size_in_bytes
|
1785
1785
|
# The size, in bytes, of the virtual tape that you want to create.
|
1786
1786
|
#
|
1787
|
-
# <note markdown="1"> The size must be aligned by gigabyte (1024*1024*1024
|
1787
|
+
# <note markdown="1"> The size must be aligned by gigabyte (1024*1024*1024 bytes).
|
1788
1788
|
#
|
1789
1789
|
# </note>
|
1790
1790
|
#
|
@@ -1797,12 +1797,12 @@ module Aws::StorageGateway
|
|
1797
1797
|
# </note>
|
1798
1798
|
#
|
1799
1799
|
# @option params [Boolean] :kms_encrypted
|
1800
|
-
# True to use Amazon S3 server
|
1800
|
+
# True to use Amazon S3 server-side encryption with your own AWS KMS
|
1801
1801
|
# key, or false to use a key managed by Amazon S3. Optional.
|
1802
1802
|
#
|
1803
1803
|
# @option params [String] :kms_key
|
1804
|
-
# The Amazon Resource Name (ARN) of the AWS KMS
|
1805
|
-
# server
|
1804
|
+
# The Amazon Resource Name (ARN) of the AWS KMS key used for Amazon S3
|
1805
|
+
# server-side encryption. This value can only be set when KMSEncrypted
|
1806
1806
|
# is true. Optional.
|
1807
1807
|
#
|
1808
1808
|
# @option params [String] :pool_id
|
@@ -1810,7 +1810,7 @@ module Aws::StorageGateway
|
|
1810
1810
|
# The tape in this pool is archived in the S3 storage class that is
|
1811
1811
|
# associated with the pool. When you use your backup application to
|
1812
1812
|
# eject the tape, the tape is archived directly into the storage class
|
1813
|
-
# (Glacier or Deep Archive) that corresponds to the pool.
|
1813
|
+
# (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the pool.
|
1814
1814
|
#
|
1815
1815
|
# Valid values: "GLACIER", "DEEP\_ARCHIVE"
|
1816
1816
|
#
|
@@ -1893,7 +1893,7 @@ module Aws::StorageGateway
|
|
1893
1893
|
# @option params [required, Integer] :tape_size_in_bytes
|
1894
1894
|
# The size, in bytes, of the virtual tapes that you want to create.
|
1895
1895
|
#
|
1896
|
-
# <note markdown="1"> The size must be aligned by gigabyte (1024*1024*1024
|
1896
|
+
# <note markdown="1"> The size must be aligned by gigabyte (1024*1024*1024 bytes).
|
1897
1897
|
#
|
1898
1898
|
# </note>
|
1899
1899
|
#
|
@@ -1920,12 +1920,12 @@ module Aws::StorageGateway
|
|
1920
1920
|
# </note>
|
1921
1921
|
#
|
1922
1922
|
# @option params [Boolean] :kms_encrypted
|
1923
|
-
# True to use Amazon S3 server
|
1923
|
+
# True to use Amazon S3 server-side encryption with your own AWS KMS
|
1924
1924
|
# key, or false to use a key managed by Amazon S3. Optional.
|
1925
1925
|
#
|
1926
1926
|
# @option params [String] :kms_key
|
1927
1927
|
# The Amazon Resource Name (ARN) of the AWS KMS key used for Amazon S3
|
1928
|
-
# server
|
1928
|
+
# server-side encryption. This value can only be set when KMSEncrypted
|
1929
1929
|
# is true. Optional.
|
1930
1930
|
#
|
1931
1931
|
# @option params [String] :pool_id
|
@@ -1933,7 +1933,7 @@ module Aws::StorageGateway
|
|
1933
1933
|
# The tape in this pool is archived in the S3 storage class that is
|
1934
1934
|
# associated with the pool. When you use your backup application to
|
1935
1935
|
# eject the tape, the tape is archived directly into the storage class
|
1936
|
-
# (Glacier or Deep Archive) that corresponds to the pool.
|
1936
|
+
# (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the pool.
|
1937
1937
|
#
|
1938
1938
|
# Valid values: "GLACIER", "DEEP\_ARCHIVE"
|
1939
1939
|
#
|
@@ -2007,6 +2007,39 @@ module Aws::StorageGateway
|
|
2007
2007
|
req.send_request(options)
|
2008
2008
|
end
|
2009
2009
|
|
2010
|
+
# Deletes the automatic tape creation policy of a gateway. If you delete
|
2011
|
+
# this policy, new virtual tapes must be created manually. Use the
|
2012
|
+
# Amazon Resource Name (ARN) of the gateway in your request to remove
|
2013
|
+
# the policy.
|
2014
|
+
#
|
2015
|
+
# @option params [required, String] :gateway_arn
|
2016
|
+
# The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
|
2017
|
+
# operation to return a list of gateways for your account and AWS
|
2018
|
+
# Region.
|
2019
|
+
#
|
2020
|
+
# @return [Types::DeleteAutomaticTapeCreationPolicyOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2021
|
+
#
|
2022
|
+
# * {Types::DeleteAutomaticTapeCreationPolicyOutput#gateway_arn #gateway_arn} => String
|
2023
|
+
#
|
2024
|
+
# @example Request syntax with placeholder values
|
2025
|
+
#
|
2026
|
+
# resp = client.delete_automatic_tape_creation_policy({
|
2027
|
+
# gateway_arn: "GatewayARN", # required
|
2028
|
+
# })
|
2029
|
+
#
|
2030
|
+
# @example Response structure
|
2031
|
+
#
|
2032
|
+
# resp.gateway_arn #=> String
|
2033
|
+
#
|
2034
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteAutomaticTapeCreationPolicy AWS API Documentation
|
2035
|
+
#
|
2036
|
+
# @overload delete_automatic_tape_creation_policy(params = {})
|
2037
|
+
# @param [Hash] params ({})
|
2038
|
+
def delete_automatic_tape_creation_policy(params = {}, options = {})
|
2039
|
+
req = build_request(:delete_automatic_tape_creation_policy, params)
|
2040
|
+
req.send_request(options)
|
2041
|
+
end
|
2042
|
+
|
2010
2043
|
# Deletes the bandwidth rate limits of a gateway. You can delete either
|
2011
2044
|
# the upload and download bandwidth rate limit, or you can delete both.
|
2012
2045
|
# If you delete only one of the limits, the other limit remains
|
@@ -2230,14 +2263,16 @@ module Aws::StorageGateway
|
|
2230
2263
|
# providing its Amazon Resource Name (ARN). This operation is only
|
2231
2264
|
# supported in stored and cached volume gateway types.
|
2232
2265
|
#
|
2233
|
-
# <note markdown="1"> To list or delete a snapshot, you must use the Amazon EC2 API.
|
2234
|
-
#
|
2266
|
+
# <note markdown="1"> To list or delete a snapshot, you must use the Amazon EC2 API. For
|
2267
|
+
# more information, go to [DescribeSnapshots][2] in the *Amazon Elastic
|
2268
|
+
# Compute Cloud API Reference*.
|
2235
2269
|
#
|
2236
2270
|
# </note>
|
2237
2271
|
#
|
2238
2272
|
#
|
2239
2273
|
#
|
2240
2274
|
# [1]: https://docs.aws.amazon.com/storagegateway/latest/userguide/WorkingWithSnapshots.html
|
2275
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeSnapshots.html
|
2241
2276
|
#
|
2242
2277
|
# @option params [required, String] :volume_arn
|
2243
2278
|
# The volume which snapshot schedule to delete.
|
@@ -2533,7 +2568,7 @@ module Aws::StorageGateway
|
|
2533
2568
|
end
|
2534
2569
|
|
2535
2570
|
# Returns information about the cache of a gateway. This operation is
|
2536
|
-
# only supported in the cached volume, tape and file gateway types.
|
2571
|
+
# only supported in the cached volume, tape, and file gateway types.
|
2537
2572
|
#
|
2538
2573
|
# The response includes disk IDs that are configured as cache, and it
|
2539
2574
|
# includes the amount of cache allocated and used.
|
@@ -2606,14 +2641,14 @@ module Aws::StorageGateway
|
|
2606
2641
|
# This operation is only supported in the cached volume gateway types.
|
2607
2642
|
#
|
2608
2643
|
# The list of gateway volumes in the request must be from one gateway.
|
2609
|
-
# In the response
|
2610
|
-
#
|
2644
|
+
# In the response, AWS Storage Gateway returns volume information sorted
|
2645
|
+
# by volume Amazon Resource Name (ARN).
|
2611
2646
|
#
|
2612
2647
|
# @option params [required, Array<String>] :volume_arns
|
2613
2648
|
# An array of strings where each string represents the Amazon Resource
|
2614
2649
|
# Name (ARN) of a cached volume. All of the specified cached volumes
|
2615
|
-
# must from the same gateway. Use ListVolumes to get volume ARNs for
|
2616
|
-
# gateway.
|
2650
|
+
# must be from the same gateway. Use ListVolumes to get volume ARNs for
|
2651
|
+
# a gateway.
|
2617
2652
|
#
|
2618
2653
|
# @return [Types::DescribeCachediSCSIVolumesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2619
2654
|
#
|
@@ -3115,15 +3150,15 @@ module Aws::StorageGateway
|
|
3115
3150
|
|
3116
3151
|
# Returns the description of the gateway volumes specified in the
|
3117
3152
|
# request. The list of gateway volumes in the request must be from one
|
3118
|
-
# gateway. In the response
|
3153
|
+
# gateway. In the response AWS Storage Gateway returns volume
|
3119
3154
|
# information sorted by volume ARNs. This operation is only supported in
|
3120
3155
|
# stored volume gateway type.
|
3121
3156
|
#
|
3122
3157
|
# @option params [required, Array<String>] :volume_arns
|
3123
3158
|
# An array of strings where each string represents the Amazon Resource
|
3124
3159
|
# Name (ARN) of a stored volume. All of the specified stored volumes
|
3125
|
-
# must from the same gateway. Use ListVolumes to get volume ARNs for
|
3126
|
-
# gateway.
|
3160
|
+
# must be from the same gateway. Use ListVolumes to get volume ARNs for
|
3161
|
+
# a gateway.
|
3127
3162
|
#
|
3128
3163
|
# @return [Types::DescribeStorediSCSIVolumesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3129
3164
|
#
|
@@ -3216,7 +3251,7 @@ module Aws::StorageGateway
|
|
3216
3251
|
# describing virtual tapes.
|
3217
3252
|
#
|
3218
3253
|
# @option params [Integer] :limit
|
3219
|
-
# Specifies that the number of virtual tapes
|
3254
|
+
# Specifies that the number of virtual tapes described be limited to the
|
3220
3255
|
# specified number.
|
3221
3256
|
#
|
3222
3257
|
# @return [Types::DescribeTapeArchivesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -3811,7 +3846,7 @@ module Aws::StorageGateway
|
|
3811
3846
|
# functioning. This operation is only supported in the tape gateway
|
3812
3847
|
# type.
|
3813
3848
|
#
|
3814
|
-
#
|
3849
|
+
# After a gateway is disabled, it cannot be enabled.
|
3815
3850
|
#
|
3816
3851
|
# @option params [required, String] :gateway_arn
|
3817
3852
|
# The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
|
@@ -3924,12 +3959,52 @@ module Aws::StorageGateway
|
|
3924
3959
|
req.send_request(options)
|
3925
3960
|
end
|
3926
3961
|
|
3962
|
+
# Lists the automatic tape creation policies for a gateway. If there are
|
3963
|
+
# no automatic tape creation policies for the gateway, it returns an
|
3964
|
+
# empty list.
|
3965
|
+
#
|
3966
|
+
# This operation is only supported for tape gateways.
|
3967
|
+
#
|
3968
|
+
# @option params [String] :gateway_arn
|
3969
|
+
# The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
|
3970
|
+
# operation to return a list of gateways for your account and AWS
|
3971
|
+
# Region.
|
3972
|
+
#
|
3973
|
+
# @return [Types::ListAutomaticTapeCreationPoliciesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3974
|
+
#
|
3975
|
+
# * {Types::ListAutomaticTapeCreationPoliciesOutput#automatic_tape_creation_policy_infos #automatic_tape_creation_policy_infos} => Array<Types::AutomaticTapeCreationPolicyInfo>
|
3976
|
+
#
|
3977
|
+
# @example Request syntax with placeholder values
|
3978
|
+
#
|
3979
|
+
# resp = client.list_automatic_tape_creation_policies({
|
3980
|
+
# gateway_arn: "GatewayARN",
|
3981
|
+
# })
|
3982
|
+
#
|
3983
|
+
# @example Response structure
|
3984
|
+
#
|
3985
|
+
# resp.automatic_tape_creation_policy_infos #=> Array
|
3986
|
+
# resp.automatic_tape_creation_policy_infos[0].automatic_tape_creation_rules #=> Array
|
3987
|
+
# resp.automatic_tape_creation_policy_infos[0].automatic_tape_creation_rules[0].tape_barcode_prefix #=> String
|
3988
|
+
# resp.automatic_tape_creation_policy_infos[0].automatic_tape_creation_rules[0].pool_id #=> String
|
3989
|
+
# resp.automatic_tape_creation_policy_infos[0].automatic_tape_creation_rules[0].tape_size_in_bytes #=> Integer
|
3990
|
+
# resp.automatic_tape_creation_policy_infos[0].automatic_tape_creation_rules[0].minimum_num_tapes #=> Integer
|
3991
|
+
# resp.automatic_tape_creation_policy_infos[0].gateway_arn #=> String
|
3992
|
+
#
|
3993
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListAutomaticTapeCreationPolicies AWS API Documentation
|
3994
|
+
#
|
3995
|
+
# @overload list_automatic_tape_creation_policies(params = {})
|
3996
|
+
# @param [Hash] params ({})
|
3997
|
+
def list_automatic_tape_creation_policies(params = {}, options = {})
|
3998
|
+
req = build_request(:list_automatic_tape_creation_policies, params)
|
3999
|
+
req.send_request(options)
|
4000
|
+
end
|
4001
|
+
|
3927
4002
|
# Gets a list of the file shares for a specific file gateway, or the
|
3928
4003
|
# list of file shares that belong to the calling user account. This
|
3929
4004
|
# operation is only supported for file gateways.
|
3930
4005
|
#
|
3931
4006
|
# @option params [String] :gateway_arn
|
3932
|
-
# The Amazon
|
4007
|
+
# The Amazon Resource Name (ARN) of the gateway whose file shares you
|
3933
4008
|
# want to list. If this field is not present, all file shares under your
|
3934
4009
|
# account are listed.
|
3935
4010
|
#
|
@@ -4610,7 +4685,7 @@ module Aws::StorageGateway
|
|
4610
4685
|
#
|
4611
4686
|
# @option params [required, Array<String>] :tag_keys
|
4612
4687
|
# The keys of the tags you want to remove from the specified resource. A
|
4613
|
-
# tag is composed of a key
|
4688
|
+
# tag is composed of a key-value pair.
|
4614
4689
|
#
|
4615
4690
|
# @return [Types::RemoveTagsFromResourceOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4616
4691
|
#
|
@@ -4654,13 +4729,13 @@ module Aws::StorageGateway
|
|
4654
4729
|
req.send_request(options)
|
4655
4730
|
end
|
4656
4731
|
|
4657
|
-
# Resets all cache disks that have encountered
|
4732
|
+
# Resets all cache disks that have encountered an error and makes the
|
4658
4733
|
# disks available for reconfiguration as cache storage. If your cache
|
4659
|
-
# disk encounters
|
4734
|
+
# disk encounters an error, the gateway prevents read and write
|
4660
4735
|
# operations on virtual tapes in the gateway. For example, an error can
|
4661
4736
|
# occur when a disk is corrupted or removed from the gateway. When a
|
4662
|
-
# cache is reset, the gateway loses its cache storage. At this point
|
4663
|
-
# can reconfigure the disks as cache disks. This operation is only
|
4737
|
+
# cache is reset, the gateway loses its cache storage. At this point,
|
4738
|
+
# you can reconfigure the disks as cache disks. This operation is only
|
4664
4739
|
# supported in the cached volume and tape types.
|
4665
4740
|
#
|
4666
4741
|
# If the cache disk you are resetting contains data that has not been
|
@@ -4937,7 +5012,7 @@ module Aws::StorageGateway
|
|
4937
5012
|
# </note>
|
4938
5013
|
#
|
4939
5014
|
# After the gateway is shutdown, you cannot call any other API except
|
4940
|
-
# StartGateway, DescribeGatewayInformation
|
5015
|
+
# StartGateway, DescribeGatewayInformation and ListGateways. For more
|
4941
5016
|
# information, see ActivateGateway. Your applications cannot read from
|
4942
5017
|
# or write to the gateway's storage volumes, and there are no snapshots
|
4943
5018
|
# taken.
|
@@ -5094,6 +5169,57 @@ module Aws::StorageGateway
|
|
5094
5169
|
req.send_request(options)
|
5095
5170
|
end
|
5096
5171
|
|
5172
|
+
# Updates the automatic tape creation policy of a gateway. Use this to
|
5173
|
+
# update the policy with a new set of automatic tape creation rules.
|
5174
|
+
# This is only supported for tape gateways.
|
5175
|
+
#
|
5176
|
+
# By default, there is no automatic tape creation policy.
|
5177
|
+
#
|
5178
|
+
# <note markdown="1"> A gateway can have only one automatic tape creation policy.
|
5179
|
+
#
|
5180
|
+
# </note>
|
5181
|
+
#
|
5182
|
+
# @option params [required, Array<Types::AutomaticTapeCreationRule>] :automatic_tape_creation_rules
|
5183
|
+
# An automatic tape creation policy consists of a list of automatic tape
|
5184
|
+
# creation rules. The rules determine when and how to automatically
|
5185
|
+
# create new tapes.
|
5186
|
+
#
|
5187
|
+
# @option params [required, String] :gateway_arn
|
5188
|
+
# The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
|
5189
|
+
# operation to return a list of gateways for your account and AWS
|
5190
|
+
# Region.
|
5191
|
+
#
|
5192
|
+
# @return [Types::UpdateAutomaticTapeCreationPolicyOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5193
|
+
#
|
5194
|
+
# * {Types::UpdateAutomaticTapeCreationPolicyOutput#gateway_arn #gateway_arn} => String
|
5195
|
+
#
|
5196
|
+
# @example Request syntax with placeholder values
|
5197
|
+
#
|
5198
|
+
# resp = client.update_automatic_tape_creation_policy({
|
5199
|
+
# automatic_tape_creation_rules: [ # required
|
5200
|
+
# {
|
5201
|
+
# tape_barcode_prefix: "TapeBarcodePrefix", # required
|
5202
|
+
# pool_id: "PoolId", # required
|
5203
|
+
# tape_size_in_bytes: 1, # required
|
5204
|
+
# minimum_num_tapes: 1, # required
|
5205
|
+
# },
|
5206
|
+
# ],
|
5207
|
+
# gateway_arn: "GatewayARN", # required
|
5208
|
+
# })
|
5209
|
+
#
|
5210
|
+
# @example Response structure
|
5211
|
+
#
|
5212
|
+
# resp.gateway_arn #=> String
|
5213
|
+
#
|
5214
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateAutomaticTapeCreationPolicy AWS API Documentation
|
5215
|
+
#
|
5216
|
+
# @overload update_automatic_tape_creation_policy(params = {})
|
5217
|
+
# @param [Hash] params ({})
|
5218
|
+
def update_automatic_tape_creation_policy(params = {}, options = {})
|
5219
|
+
req = build_request(:update_automatic_tape_creation_policy, params)
|
5220
|
+
req.send_request(options)
|
5221
|
+
end
|
5222
|
+
|
5097
5223
|
# Updates the bandwidth rate limits of a gateway. You can update both
|
5098
5224
|
# the upload and download bandwidth rate limit or specify only one of
|
5099
5225
|
# the two. If you don't set a bandwidth rate limit, the existing rate
|
@@ -5489,12 +5615,12 @@ module Aws::StorageGateway
|
|
5489
5615
|
# The Amazon Resource Name (ARN) of the file share to be updated.
|
5490
5616
|
#
|
5491
5617
|
# @option params [Boolean] :kms_encrypted
|
5492
|
-
# True to use Amazon S3 server
|
5618
|
+
# True to use Amazon S3 server-side encryption with your own AWS KMS
|
5493
5619
|
# key, or false to use a key managed by Amazon S3. Optional.
|
5494
5620
|
#
|
5495
5621
|
# @option params [String] :kms_key
|
5496
5622
|
# The Amazon Resource Name (ARN) of the AWS KMS key used for Amazon S3
|
5497
|
-
# server
|
5623
|
+
# server-side encryption. This value can only be set when KMSEncrypted
|
5498
5624
|
# is true. Optional.
|
5499
5625
|
#
|
5500
5626
|
# @option params [Types::NFSFileShareDefaults] :nfs_file_share_defaults
|
@@ -5612,12 +5738,12 @@ module Aws::StorageGateway
|
|
5612
5738
|
# update.
|
5613
5739
|
#
|
5614
5740
|
# @option params [Boolean] :kms_encrypted
|
5615
|
-
# True to use Amazon S3 server
|
5741
|
+
# True to use Amazon S3 server-side encryption with your own AWS KMS
|
5616
5742
|
# key, or false to use a key managed by Amazon S3. Optional.
|
5617
5743
|
#
|
5618
5744
|
# @option params [String] :kms_key
|
5619
5745
|
# The Amazon Resource Name (ARN) of the AWS KMS key used for Amazon S3
|
5620
|
-
# server
|
5746
|
+
# server-side encryption. This value can only be set when KMSEncrypted
|
5621
5747
|
# is true. Optional.
|
5622
5748
|
#
|
5623
5749
|
# @option params [String] :default_storage_class
|
@@ -5931,7 +6057,7 @@ module Aws::StorageGateway
|
|
5931
6057
|
params: params,
|
5932
6058
|
config: config)
|
5933
6059
|
context[:gem_name] = 'aws-sdk-storagegateway'
|
5934
|
-
context[:gem_version] = '1.
|
6060
|
+
context[:gem_version] = '1.38.0'
|
5935
6061
|
Seahorse::Client::Request.new(handlers, context)
|
5936
6062
|
end
|
5937
6063
|
|