aws-sdk-storagegateway 1.36.0 → 1.41.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 1966791fe4ffd1150cba1f17924ab1f193df10c4
4
- data.tar.gz: 24d46f2a7bee282796f7ad79ae0e17b390bc6edf
2
+ SHA256:
3
+ metadata.gz: 60abe789913bd971fb88746b02eec498998df589dce44fc7baec4f717e624dc6
4
+ data.tar.gz: af95cb91c9a0c4afe76b063add818e1933eafa983ea670114be651b50893ed52
5
5
  SHA512:
6
- metadata.gz: 8bea1f89bc98d85405f71367058a4db16a4bee3e42855ff68a63f9ed632b71b308ae46117cfaa28d610394f2e5192225b70cc38c7a31f61fd830d1a35c9c4437
7
- data.tar.gz: 601d5d8760aa052e76ee3ce6a22b4444fde090daa1ca1dd390cc244b23f4cfc62ae06f13cc484d8e3fbfdae532fe56694327ad8723e7f972edd9ce02d8ca5850
6
+ metadata.gz: f14a7d904054602812c4c41996977a8212b7ea484ae2e1f9899abd129c15be8c205c7910bbc7e6334fffff72b5280cf0d49eca9d2f05cecb3549465820c5bd67
7
+ data.tar.gz: e4aa1ae05bbe8ebddf357c47ffa9d2f65d6326ec955337e5cc3b77d687ff19bff690337275f8eaa8996cb767b9bbff403c621ffe8381189c737465fe7b148850
@@ -45,6 +45,6 @@ require_relative 'aws-sdk-storagegateway/customizations'
45
45
  # @service
46
46
  module Aws::StorageGateway
47
47
 
48
- GEM_VERSION = '1.36.0'
48
+ GEM_VERSION = '1.41.0'
49
49
 
50
50
  end
@@ -32,11 +32,11 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:storagegateway)
32
32
  module Aws::StorageGateway
33
33
  # An API client for StorageGateway. To construct a client, you need to configure a `:region` and `:credentials`.
34
34
  #
35
- # client = Aws::StorageGateway::Client.new(
36
- # region: region_name,
37
- # credentials: credentials,
38
- # # ...
39
- # )
35
+ # client = Aws::StorageGateway::Client.new(
36
+ # region: region_name,
37
+ # credentials: credentials,
38
+ # # ...
39
+ # )
40
40
  #
41
41
  # For details on configuring region and credentials see
42
42
  # the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
@@ -105,7 +105,7 @@ module Aws::StorageGateway
105
105
  # @option options [required, String] :region
106
106
  # The AWS region to connect to. The configured `:region` is
107
107
  # used to determine the service `:endpoint`. When not passed,
108
- # a default `:region` is search for in the following locations:
108
+ # a default `:region` is searched for in the following locations:
109
109
  #
110
110
  # * `Aws.config[:region]`
111
111
  # * `ENV['AWS_REGION']`
@@ -161,7 +161,7 @@ module Aws::StorageGateway
161
161
  # @option options [String] :endpoint
162
162
  # The client endpoint is normally constructed from the `:region`
163
163
  # option. You should only configure an `:endpoint` when connecting
164
- # to test endpoints. This should be avalid HTTP(S) URI.
164
+ # to test endpoints. This should be a valid HTTP(S) URI.
165
165
  #
166
166
  # @option options [Integer] :endpoint_cache_max_entries (1000)
167
167
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -176,7 +176,7 @@ module Aws::StorageGateway
176
176
  # requests fetching endpoints information. Defaults to 60 sec.
177
177
  #
178
178
  # @option options [Boolean] :endpoint_discovery (false)
179
- # When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
179
+ # When set to `true`, endpoint discovery will be enabled for operations when available.
180
180
  #
181
181
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
182
182
  # The log formatter.
@@ -229,15 +229,19 @@ module Aws::StorageGateway
229
229
  #
230
230
  # @option options [String] :retry_mode ("legacy")
231
231
  # Specifies which retry algorithm to use. Values are:
232
- # * `legacy` - The pre-existing retry behavior. This is default value if
233
- # no retry mode is provided.
234
- # * `standard` - A standardized set of retry rules across the AWS SDKs.
235
- # This includes support for retry quotas, which limit the number of
236
- # unsuccessful retries a client can make.
237
- # * `adaptive` - An experimental retry mode that includes all the
238
- # functionality of `standard` mode along with automatic client side
239
- # throttling. This is a provisional mode that may change behavior
240
- # in the future.
232
+ #
233
+ # * `legacy` - The pre-existing retry behavior. This is default value if
234
+ # no retry mode is provided.
235
+ #
236
+ # * `standard` - A standardized set of retry rules across the AWS SDKs.
237
+ # This includes support for retry quotas, which limit the number of
238
+ # unsuccessful retries a client can make.
239
+ #
240
+ # * `adaptive` - An experimental retry mode that includes all the
241
+ # functionality of `standard` mode along with automatic client side
242
+ # throttling. This is a provisional mode that may change behavior
243
+ # in the future.
244
+ #
241
245
  #
242
246
  # @option options [String] :secret_access_key
243
247
  #
@@ -275,8 +279,7 @@ module Aws::StorageGateway
275
279
  #
276
280
  # @option options [Integer] :http_read_timeout (60) The default
277
281
  # number of seconds to wait for response data. This value can
278
- # safely be set
279
- # per-request on the session yielded by {#session_for}.
282
+ # safely be set per-request on the session.
280
283
  #
281
284
  # @option options [Float] :http_idle_timeout (5) The number of
282
285
  # seconds a connection is allowed to sit idle before it is
@@ -288,7 +291,7 @@ module Aws::StorageGateway
288
291
  # request body. This option has no effect unless the request has
289
292
  # "Expect" header set to "100-continue". Defaults to `nil` which
290
293
  # disables this behaviour. This value can safely be set per
291
- # request on the session yielded by {#session_for}.
294
+ # request on the session.
292
295
  #
293
296
  # @option options [Boolean] :http_wire_trace (false) When `true`,
294
297
  # HTTP debug output will be sent to the `:logger`.
@@ -472,7 +475,7 @@ module Aws::StorageGateway
472
475
  #
473
476
  # @option params [required, Array<String>] :disk_ids
474
477
  # An array of strings that identify disks that are to be configured as
475
- # working storage. Each string have a minimum length of 1 and maximum
478
+ # working storage. Each string has a minimum length of 1 and maximum
476
479
  # length of 300. You can get the disk IDs from the ListLocalDisks API.
477
480
  #
478
481
  # @return [Types::AddCacheOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -615,7 +618,7 @@ module Aws::StorageGateway
615
618
  #
616
619
  # @option params [required, Array<String>] :disk_ids
617
620
  # An array of strings that identify disks that are to be configured as
618
- # working storage. Each string have a minimum length of 1 and maximum
621
+ # working storage. Each string has a minimum length of 1 and maximum
619
622
  # length of 300. You can get the disk IDs from the ListLocalDisks API.
620
623
  #
621
624
  # @return [Types::AddUploadBufferOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -682,7 +685,7 @@ module Aws::StorageGateway
682
685
  #
683
686
  # @option params [required, Array<String>] :disk_ids
684
687
  # An array of strings that identify disks that are to be configured as
685
- # working storage. Each string have a minimum length of 1 and maximum
688
+ # working storage. Each string has a minimum length of 1 and maximum
686
689
  # length of 300. You can get the disk IDs from the ListLocalDisks API.
687
690
  #
688
691
  # @return [Types::AddWorkingStorageOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -731,8 +734,8 @@ module Aws::StorageGateway
731
734
  # Assigns a tape to a tape pool for archiving. The tape assigned to a
732
735
  # pool is archived in the S3 storage class that is associated with the
733
736
  # pool. When you use your backup application to eject the tape, the tape
734
- # is archived directly into the S3 storage class (Glacier or Deep
735
- # 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.
736
739
  #
737
740
  # Valid values: "GLACIER", "DEEP\_ARCHIVE"
738
741
  #
@@ -745,7 +748,7 @@ module Aws::StorageGateway
745
748
  # The tape in this pool is archived in the S3 storage class that is
746
749
  # associated with the pool. When you use your backup application to
747
750
  # eject the tape, the tape is archived directly into the storage class
748
- # (Glacier or Deep Archive) that corresponds to the pool.
751
+ # (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the pool.
749
752
  #
750
753
  # Valid values: "GLACIER", "DEEP\_ARCHIVE"
751
754
  #
@@ -1016,12 +1019,12 @@ module Aws::StorageGateway
1016
1019
  # request.
1017
1020
  #
1018
1021
  # @option params [Boolean] :kms_encrypted
1019
- # True to use Amazon S3 server side encryption with your own AWS KMS
1022
+ # True to use Amazon S3 server-side encryption with your own AWS KMS
1020
1023
  # key, or false to use a key managed by Amazon S3. Optional.
1021
1024
  #
1022
1025
  # @option params [String] :kms_key
1023
1026
  # The Amazon Resource Name (ARN) of the AWS KMS key used for Amazon S3
1024
- # server side encryption. This value can only be set when KMSEncrypted
1027
+ # server-side encryption. This value can only be set when KMSEncrypted
1025
1028
  # is true. Optional.
1026
1029
  #
1027
1030
  # @option params [Array<Types::Tag>] :tags
@@ -1098,11 +1101,11 @@ module Aws::StorageGateway
1098
1101
  # Creates a Network File System (NFS) file share on an existing file
1099
1102
  # gateway. In Storage Gateway, a file share is a file system mount point
1100
1103
  # backed by Amazon S3 cloud storage. Storage Gateway exposes file shares
1101
- # using a NFS interface. This operation is only supported for file
1104
+ # using an NFS interface. This operation is only supported for file
1102
1105
  # gateways.
1103
1106
  #
1104
1107
  # File gateway requires AWS Security Token Service (AWS STS) to be
1105
- # 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
1106
1109
  # activated in the AWS Region you are creating your file gateway in. If
1107
1110
  # AWS STS is not activated in the AWS Region, activate it. For
1108
1111
  # information about how to activate AWS STS, see Activating and
@@ -1124,13 +1127,13 @@ module Aws::StorageGateway
1124
1127
  # to create a file share.
1125
1128
  #
1126
1129
  # @option params [Boolean] :kms_encrypted
1127
- # True to use Amazon S3 server side encryption with your own AWS KMS
1130
+ # True to use Amazon S3 server-side encryption with your own AWS KMS
1128
1131
  # key, or false to use a key managed by Amazon S3. Optional.
1129
1132
  #
1130
1133
  # @option params [String] :kms_key
1131
- # The Amazon Resource Name (ARN) AWS KMS key used for Amazon S3 server
1132
- # side encryption. This value can only be set when KMSEncrypted is true.
1133
- # 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.
1134
1137
  #
1135
1138
  # @option params [required, String] :role
1136
1139
  # The ARN of the AWS Identity and Access Management (IAM) role that a
@@ -1247,7 +1250,7 @@ module Aws::StorageGateway
1247
1250
  # Creates a Server Message Block (SMB) file share on an existing file
1248
1251
  # gateway. In Storage Gateway, a file share is a file system mount point
1249
1252
  # backed by Amazon S3 cloud storage. Storage Gateway expose file shares
1250
- # using a SMB interface. This operation is only supported for file
1253
+ # using an SMB interface. This operation is only supported for file
1251
1254
  # gateways.
1252
1255
  #
1253
1256
  # File gateways require AWS Security Token Service (AWS STS) to be
@@ -1271,16 +1274,15 @@ module Aws::StorageGateway
1271
1274
  # ensure idempotent file share creation.
1272
1275
  #
1273
1276
  # @option params [required, String] :gateway_arn
1274
- # The Amazon Resource Name (ARN) of the file gateway on which you want
1275
- # to create a file share.
1277
+ # The ARN of the file gateway on which you want to create a file share.
1276
1278
  #
1277
1279
  # @option params [Boolean] :kms_encrypted
1278
- # True to use Amazon S3 server side encryption with your own AWS KMS
1280
+ # True to use Amazon S3 server-side encryption with your own AWS KMS
1279
1281
  # key, or false to use a key managed by Amazon S3. Optional.
1280
1282
  #
1281
1283
  # @option params [String] :kms_key
1282
1284
  # The Amazon Resource Name (ARN) of the AWS KMS key used for Amazon S3
1283
- # server side encryption. This value can only be set when KMSEncrypted
1285
+ # server-side encryption. This value can only be set when KMSEncrypted
1284
1286
  # is true. Optional.
1285
1287
  #
1286
1288
  # @option params [required, String] :role
@@ -1349,8 +1351,11 @@ module Aws::StorageGateway
1349
1351
  # @option params [Array<String>] :invalid_user_list
1350
1352
  # A list of users or groups in the Active Directory that are not allowed
1351
1353
  # to access the file share. A group must be prefixed with the @
1352
- # character. For example `@group1`. Can only be set if Authentication is
1353
- # set to `ActiveDirectory`.
1354
+ # character. For example, `@group1`. Can only be set if Authentication
1355
+ # is set to `ActiveDirectory`.
1356
+ #
1357
+ # @option params [String] :audit_destination_arn
1358
+ # The Amazon Resource Name (ARN) of the storage used for the audit logs.
1354
1359
  #
1355
1360
  # @option params [String] :authentication
1356
1361
  # The authentication method that users use to access the file share.
@@ -1391,6 +1396,7 @@ module Aws::StorageGateway
1391
1396
  # admin_user_list: ["FileShareUser"],
1392
1397
  # valid_user_list: ["FileShareUser"],
1393
1398
  # invalid_user_list: ["FileShareUser"],
1399
+ # audit_destination_arn: "AuditDestinationARN",
1394
1400
  # authentication: "Authentication",
1395
1401
  # tags: [
1396
1402
  # {
@@ -1416,12 +1422,12 @@ module Aws::StorageGateway
1416
1422
  # Initiates a snapshot of a volume.
1417
1423
  #
1418
1424
  # AWS Storage Gateway provides the ability to back up point-in-time
1419
- # snapshots of your data to Amazon Simple Storage (S3) for durable
1420
- # off-site recovery, as well as import the data to an Amazon Elastic
1421
- # Block Store (EBS) volume in Amazon Elastic Compute Cloud (EC2). You
1422
- # can take snapshots of your gateway volume on a scheduled or ad hoc
1423
- # basis. This API enables you to take ad-hoc snapshot. For more
1424
- # 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].
1425
1431
  #
1426
1432
  # In the CreateSnapshot request you identify the volume by providing its
1427
1433
  # Amazon Resource Name (ARN). You must also provide description for the
@@ -1678,12 +1684,12 @@ module Aws::StorageGateway
1678
1684
  # Valid Values: A valid IP address.
1679
1685
  #
1680
1686
  # @option params [Boolean] :kms_encrypted
1681
- # True to use Amazon S3 server side encryption with your own AWS KMS
1687
+ # True to use Amazon S3 server-side encryption with your own AWS KMS
1682
1688
  # key, or false to use a key managed by Amazon S3. Optional.
1683
1689
  #
1684
1690
  # @option params [String] :kms_key
1685
1691
  # The Amazon Resource Name (ARN) of the KMS key used for Amazon S3
1686
- # server side encryption. This value can only be set when KMSEncrypted
1692
+ # server-side encryption. This value can only be set when KMSEncrypted
1687
1693
  # is true. Optional.
1688
1694
  #
1689
1695
  # @option params [Array<Types::Tag>] :tags
@@ -1760,7 +1766,7 @@ module Aws::StorageGateway
1760
1766
 
1761
1767
  # Creates a virtual tape by using your own barcode. You write data to
1762
1768
  # the virtual tape and then archive the tape. A barcode is unique and
1763
- # can not be reused if it has already been used on a tape . This applies
1769
+ # cannot be reused if it has already been used on a tape. This applies
1764
1770
  # to barcodes used on deleted tapes. This operation is only supported in
1765
1771
  # the tape gateway type.
1766
1772
  #
@@ -1778,7 +1784,7 @@ module Aws::StorageGateway
1778
1784
  # @option params [required, Integer] :tape_size_in_bytes
1779
1785
  # The size, in bytes, of the virtual tape that you want to create.
1780
1786
  #
1781
- # <note markdown="1"> The size must be aligned by gigabyte (1024*1024*1024 byte).
1787
+ # <note markdown="1"> The size must be aligned by gigabyte (1024*1024*1024 bytes).
1782
1788
  #
1783
1789
  # </note>
1784
1790
  #
@@ -1791,12 +1797,12 @@ module Aws::StorageGateway
1791
1797
  # </note>
1792
1798
  #
1793
1799
  # @option params [Boolean] :kms_encrypted
1794
- # True to use Amazon S3 server side encryption with your own AWS KMS
1800
+ # True to use Amazon S3 server-side encryption with your own AWS KMS
1795
1801
  # key, or false to use a key managed by Amazon S3. Optional.
1796
1802
  #
1797
1803
  # @option params [String] :kms_key
1798
- # The Amazon Resource Name (ARN) of the AWS KMS Key used for Amazon S3
1799
- # server side encryption. This value can only be set when KMSEncrypted
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
1800
1806
  # is true. Optional.
1801
1807
  #
1802
1808
  # @option params [String] :pool_id
@@ -1804,7 +1810,7 @@ module Aws::StorageGateway
1804
1810
  # The tape in this pool is archived in the S3 storage class that is
1805
1811
  # associated with the pool. When you use your backup application to
1806
1812
  # eject the tape, the tape is archived directly into the storage class
1807
- # (Glacier or Deep Archive) that corresponds to the pool.
1813
+ # (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the pool.
1808
1814
  #
1809
1815
  # Valid values: "GLACIER", "DEEP\_ARCHIVE"
1810
1816
  #
@@ -1887,7 +1893,7 @@ module Aws::StorageGateway
1887
1893
  # @option params [required, Integer] :tape_size_in_bytes
1888
1894
  # The size, in bytes, of the virtual tapes that you want to create.
1889
1895
  #
1890
- # <note markdown="1"> The size must be aligned by gigabyte (1024*1024*1024 byte).
1896
+ # <note markdown="1"> The size must be aligned by gigabyte (1024*1024*1024 bytes).
1891
1897
  #
1892
1898
  # </note>
1893
1899
  #
@@ -1914,12 +1920,12 @@ module Aws::StorageGateway
1914
1920
  # </note>
1915
1921
  #
1916
1922
  # @option params [Boolean] :kms_encrypted
1917
- # True to use Amazon S3 server side encryption with your own AWS KMS
1923
+ # True to use Amazon S3 server-side encryption with your own AWS KMS
1918
1924
  # key, or false to use a key managed by Amazon S3. Optional.
1919
1925
  #
1920
1926
  # @option params [String] :kms_key
1921
1927
  # The Amazon Resource Name (ARN) of the AWS KMS key used for Amazon S3
1922
- # server side encryption. This value can only be set when KMSEncrypted
1928
+ # server-side encryption. This value can only be set when KMSEncrypted
1923
1929
  # is true. Optional.
1924
1930
  #
1925
1931
  # @option params [String] :pool_id
@@ -1927,7 +1933,7 @@ module Aws::StorageGateway
1927
1933
  # The tape in this pool is archived in the S3 storage class that is
1928
1934
  # associated with the pool. When you use your backup application to
1929
1935
  # eject the tape, the tape is archived directly into the storage class
1930
- # (Glacier or Deep Archive) that corresponds to the pool.
1936
+ # (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the pool.
1931
1937
  #
1932
1938
  # Valid values: "GLACIER", "DEEP\_ARCHIVE"
1933
1939
  #
@@ -2001,6 +2007,39 @@ module Aws::StorageGateway
2001
2007
  req.send_request(options)
2002
2008
  end
2003
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
+
2004
2043
  # Deletes the bandwidth rate limits of a gateway. You can delete either
2005
2044
  # the upload and download bandwidth rate limit, or you can delete both.
2006
2045
  # If you delete only one of the limits, the other limit remains
@@ -2224,14 +2263,16 @@ module Aws::StorageGateway
2224
2263
  # providing its Amazon Resource Name (ARN). This operation is only
2225
2264
  # supported in stored and cached volume gateway types.
2226
2265
  #
2227
- # <note markdown="1"> To list or delete a snapshot, you must use the Amazon EC2 API. in
2228
- # *Amazon Elastic Compute Cloud API Reference*.
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*.
2229
2269
  #
2230
2270
  # </note>
2231
2271
  #
2232
2272
  #
2233
2273
  #
2234
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
2235
2276
  #
2236
2277
  # @option params [required, String] :volume_arn
2237
2278
  # The volume which snapshot schedule to delete.
@@ -2527,7 +2568,7 @@ module Aws::StorageGateway
2527
2568
  end
2528
2569
 
2529
2570
  # Returns information about the cache of a gateway. This operation is
2530
- # only supported in the cached volume, tape and file gateway types.
2571
+ # only supported in the cached volume, tape, and file gateway types.
2531
2572
  #
2532
2573
  # The response includes disk IDs that are configured as cache, and it
2533
2574
  # includes the amount of cache allocated and used.
@@ -2600,14 +2641,14 @@ module Aws::StorageGateway
2600
2641
  # This operation is only supported in the cached volume gateway types.
2601
2642
  #
2602
2643
  # The list of gateway volumes in the request must be from one gateway.
2603
- # In the response Amazon Storage Gateway returns volume information
2604
- # sorted by volume Amazon Resource Name (ARN).
2644
+ # In the response, AWS Storage Gateway returns volume information sorted
2645
+ # by volume Amazon Resource Name (ARN).
2605
2646
  #
2606
2647
  # @option params [required, Array<String>] :volume_arns
2607
2648
  # An array of strings where each string represents the Amazon Resource
2608
2649
  # Name (ARN) of a cached volume. All of the specified cached volumes
2609
- # must from the same gateway. Use ListVolumes to get volume ARNs for a
2610
- # gateway.
2650
+ # must be from the same gateway. Use ListVolumes to get volume ARNs for
2651
+ # a gateway.
2611
2652
  #
2612
2653
  # @return [Types::DescribeCachediSCSIVolumesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2613
2654
  #
@@ -2989,6 +3030,7 @@ module Aws::StorageGateway
2989
3030
  # resp.smb_file_share_info_list[0].valid_user_list[0] #=> String
2990
3031
  # resp.smb_file_share_info_list[0].invalid_user_list #=> Array
2991
3032
  # resp.smb_file_share_info_list[0].invalid_user_list[0] #=> String
3033
+ # resp.smb_file_share_info_list[0].audit_destination_arn #=> String
2992
3034
  # resp.smb_file_share_info_list[0].authentication #=> String
2993
3035
  # resp.smb_file_share_info_list[0].tags #=> Array
2994
3036
  # resp.smb_file_share_info_list[0].tags[0].key #=> String
@@ -3108,15 +3150,15 @@ module Aws::StorageGateway
3108
3150
 
3109
3151
  # Returns the description of the gateway volumes specified in the
3110
3152
  # request. The list of gateway volumes in the request must be from one
3111
- # gateway. In the response Amazon Storage Gateway returns volume
3153
+ # gateway. In the response AWS Storage Gateway returns volume
3112
3154
  # information sorted by volume ARNs. This operation is only supported in
3113
3155
  # stored volume gateway type.
3114
3156
  #
3115
3157
  # @option params [required, Array<String>] :volume_arns
3116
3158
  # An array of strings where each string represents the Amazon Resource
3117
3159
  # Name (ARN) of a stored volume. All of the specified stored volumes
3118
- # must from the same gateway. Use ListVolumes to get volume ARNs for a
3119
- # gateway.
3160
+ # must be from the same gateway. Use ListVolumes to get volume ARNs for
3161
+ # a gateway.
3120
3162
  #
3121
3163
  # @return [Types::DescribeStorediSCSIVolumesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3122
3164
  #
@@ -3209,7 +3251,7 @@ module Aws::StorageGateway
3209
3251
  # describing virtual tapes.
3210
3252
  #
3211
3253
  # @option params [Integer] :limit
3212
- # Specifies that the number of virtual tapes descried be limited to the
3254
+ # Specifies that the number of virtual tapes described be limited to the
3213
3255
  # specified number.
3214
3256
  #
3215
3257
  # @return [Types::DescribeTapeArchivesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -3217,6 +3259,8 @@ module Aws::StorageGateway
3217
3259
  # * {Types::DescribeTapeArchivesOutput#tape_archives #tape_archives} => Array&lt;Types::TapeArchive&gt;
3218
3260
  # * {Types::DescribeTapeArchivesOutput#marker #marker} => String
3219
3261
  #
3262
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3263
+ #
3220
3264
  #
3221
3265
  # @example Example: To describe virtual tapes in the VTS
3222
3266
  #
@@ -3312,6 +3356,8 @@ module Aws::StorageGateway
3312
3356
  # * {Types::DescribeTapeRecoveryPointsOutput#tape_recovery_point_infos #tape_recovery_point_infos} => Array&lt;Types::TapeRecoveryPointInfo&gt;
3313
3357
  # * {Types::DescribeTapeRecoveryPointsOutput#marker #marker} => String
3314
3358
  #
3359
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3360
+ #
3315
3361
  #
3316
3362
  # @example Example: To describe virtual tape recovery points
3317
3363
  #
@@ -3400,6 +3446,8 @@ module Aws::StorageGateway
3400
3446
  # * {Types::DescribeTapesOutput#tapes #tapes} => Array&lt;Types::Tape&gt;
3401
3447
  # * {Types::DescribeTapesOutput#marker #marker} => String
3402
3448
  #
3449
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3450
+ #
3403
3451
  #
3404
3452
  # @example Example: To describe virtual tape(s) associated with gateway
3405
3453
  #
@@ -3587,6 +3635,8 @@ module Aws::StorageGateway
3587
3635
  # * {Types::DescribeVTLDevicesOutput#vtl_devices #vtl_devices} => Array&lt;Types::VTLDevice&gt;
3588
3636
  # * {Types::DescribeVTLDevicesOutput#marker #marker} => String
3589
3637
  #
3638
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3639
+ #
3590
3640
  #
3591
3641
  # @example Example: To describe virtual tape library (VTL) devices of a single gateway
3592
3642
  #
@@ -3796,7 +3846,7 @@ module Aws::StorageGateway
3796
3846
  # functioning. This operation is only supported in the tape gateway
3797
3847
  # type.
3798
3848
  #
3799
- # Once a gateway is disabled it cannot be enabled.
3849
+ # After a gateway is disabled, it cannot be enabled.
3800
3850
  #
3801
3851
  # @option params [required, String] :gateway_arn
3802
3852
  # The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
@@ -3909,12 +3959,52 @@ module Aws::StorageGateway
3909
3959
  req.send_request(options)
3910
3960
  end
3911
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&lt;Types::AutomaticTapeCreationPolicyInfo&gt;
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
+
3912
4002
  # Gets a list of the file shares for a specific file gateway, or the
3913
4003
  # list of file shares that belong to the calling user account. This
3914
4004
  # operation is only supported for file gateways.
3915
4005
  #
3916
4006
  # @option params [String] :gateway_arn
3917
- # The Amazon resource Name (ARN) of the gateway whose file shares you
4007
+ # The Amazon Resource Name (ARN) of the gateway whose file shares you
3918
4008
  # want to list. If this field is not present, all file shares under your
3919
4009
  # account are listed.
3920
4010
  #
@@ -3933,6 +4023,8 @@ module Aws::StorageGateway
3933
4023
  # * {Types::ListFileSharesOutput#next_marker #next_marker} => String
3934
4024
  # * {Types::ListFileSharesOutput#file_share_info_list #file_share_info_list} => Array&lt;Types::FileShareInfo&gt;
3935
4025
  #
4026
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
4027
+ #
3936
4028
  # @example Request syntax with placeholder values
3937
4029
  #
3938
4030
  # resp = client.list_file_shares({
@@ -3987,6 +4079,8 @@ module Aws::StorageGateway
3987
4079
  # * {Types::ListGatewaysOutput#gateways #gateways} => Array&lt;Types::GatewayInfo&gt;
3988
4080
  # * {Types::ListGatewaysOutput#marker #marker} => String
3989
4081
  #
4082
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
4083
+ #
3990
4084
  #
3991
4085
  # @example Example: To lists region specific gateways per AWS account
3992
4086
  #
@@ -4145,6 +4239,8 @@ module Aws::StorageGateway
4145
4239
  # * {Types::ListTagsForResourceOutput#marker #marker} => String
4146
4240
  # * {Types::ListTagsForResourceOutput#tags #tags} => Array&lt;Types::Tag&gt;
4147
4241
  #
4242
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
4243
+ #
4148
4244
  #
4149
4245
  # @example Example: To list tags that have been added to a resource
4150
4246
  #
@@ -4225,6 +4321,8 @@ module Aws::StorageGateway
4225
4321
  # * {Types::ListTapesOutput#tape_infos #tape_infos} => Array&lt;Types::TapeInfo&gt;
4226
4322
  # * {Types::ListTapesOutput#marker #marker} => String
4227
4323
  #
4324
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
4325
+ #
4228
4326
  # @example Request syntax with placeholder values
4229
4327
  #
4230
4328
  # resp = client.list_tapes({
@@ -4385,6 +4483,8 @@ module Aws::StorageGateway
4385
4483
  # * {Types::ListVolumesOutput#marker #marker} => String
4386
4484
  # * {Types::ListVolumesOutput#volume_infos #volume_infos} => Array&lt;Types::VolumeInfo&gt;
4387
4485
  #
4486
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
4487
+ #
4388
4488
  #
4389
4489
  # @example Example: To list the iSCSI stored volumes of a gateway
4390
4490
  #
@@ -4585,7 +4685,7 @@ module Aws::StorageGateway
4585
4685
  #
4586
4686
  # @option params [required, Array<String>] :tag_keys
4587
4687
  # The keys of the tags you want to remove from the specified resource. A
4588
- # tag is composed of a key/value pair.
4688
+ # tag is composed of a key-value pair.
4589
4689
  #
4590
4690
  # @return [Types::RemoveTagsFromResourceOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4591
4691
  #
@@ -4629,13 +4729,13 @@ module Aws::StorageGateway
4629
4729
  req.send_request(options)
4630
4730
  end
4631
4731
 
4632
- # Resets all cache disks that have encountered a error and makes the
4732
+ # Resets all cache disks that have encountered an error and makes the
4633
4733
  # disks available for reconfiguration as cache storage. If your cache
4634
- # disk encounters a error, the gateway prevents read and write
4734
+ # disk encounters an error, the gateway prevents read and write
4635
4735
  # operations on virtual tapes in the gateway. For example, an error can
4636
4736
  # occur when a disk is corrupted or removed from the gateway. When a
4637
- # cache is reset, the gateway loses its cache storage. At this point you
4638
- # 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
4639
4739
  # supported in the cached volume and tape types.
4640
4740
  #
4641
4741
  # If the cache disk you are resetting contains data that has not been
@@ -4912,7 +5012,7 @@ module Aws::StorageGateway
4912
5012
  # </note>
4913
5013
  #
4914
5014
  # After the gateway is shutdown, you cannot call any other API except
4915
- # StartGateway, DescribeGatewayInformation, and ListGateways. For more
5015
+ # StartGateway, DescribeGatewayInformation and ListGateways. For more
4916
5016
  # information, see ActivateGateway. Your applications cannot read from
4917
5017
  # or write to the gateway's storage volumes, and there are no snapshots
4918
5018
  # taken.
@@ -5069,6 +5169,57 @@ module Aws::StorageGateway
5069
5169
  req.send_request(options)
5070
5170
  end
5071
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
+
5072
5223
  # Updates the bandwidth rate limits of a gateway. You can update both
5073
5224
  # the upload and download bandwidth rate limit or specify only one of
5074
5225
  # the two. If you don't set a bandwidth rate limit, the existing rate
@@ -5464,12 +5615,12 @@ module Aws::StorageGateway
5464
5615
  # The Amazon Resource Name (ARN) of the file share to be updated.
5465
5616
  #
5466
5617
  # @option params [Boolean] :kms_encrypted
5467
- # True to use Amazon S3 server side encryption with your own AWS KMS
5618
+ # True to use Amazon S3 server-side encryption with your own AWS KMS
5468
5619
  # key, or false to use a key managed by Amazon S3. Optional.
5469
5620
  #
5470
5621
  # @option params [String] :kms_key
5471
5622
  # The Amazon Resource Name (ARN) of the AWS KMS key used for Amazon S3
5472
- # server side encryption. This value can only be set when KMSEncrypted
5623
+ # server-side encryption. This value can only be set when KMSEncrypted
5473
5624
  # is true. Optional.
5474
5625
  #
5475
5626
  # @option params [Types::NFSFileShareDefaults] :nfs_file_share_defaults
@@ -5587,12 +5738,12 @@ module Aws::StorageGateway
5587
5738
  # update.
5588
5739
  #
5589
5740
  # @option params [Boolean] :kms_encrypted
5590
- # True to use Amazon S3 server side encryption with your own AWS KMS
5741
+ # True to use Amazon S3 server-side encryption with your own AWS KMS
5591
5742
  # key, or false to use a key managed by Amazon S3. Optional.
5592
5743
  #
5593
5744
  # @option params [String] :kms_key
5594
5745
  # The Amazon Resource Name (ARN) of the AWS KMS key used for Amazon S3
5595
- # server side encryption. This value can only be set when KMSEncrypted
5746
+ # server-side encryption. This value can only be set when KMSEncrypted
5596
5747
  # is true. Optional.
5597
5748
  #
5598
5749
  # @option params [String] :default_storage_class
@@ -5655,6 +5806,9 @@ module Aws::StorageGateway
5655
5806
  # character. For example `@group1`. Can only be set if Authentication is
5656
5807
  # set to `ActiveDirectory`.
5657
5808
  #
5809
+ # @option params [String] :audit_destination_arn
5810
+ # The Amazon Resource Name (ARN) of the storage used for the audit logs.
5811
+ #
5658
5812
  # @return [Types::UpdateSMBFileShareOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5659
5813
  #
5660
5814
  # * {Types::UpdateSMBFileShareOutput#file_share_arn #file_share_arn} => String
@@ -5674,6 +5828,7 @@ module Aws::StorageGateway
5674
5828
  # admin_user_list: ["FileShareUser"],
5675
5829
  # valid_user_list: ["FileShareUser"],
5676
5830
  # invalid_user_list: ["FileShareUser"],
5831
+ # audit_destination_arn: "AuditDestinationARN",
5677
5832
  # })
5678
5833
  #
5679
5834
  # @example Response structure
@@ -5902,7 +6057,7 @@ module Aws::StorageGateway
5902
6057
  params: params,
5903
6058
  config: config)
5904
6059
  context[:gem_name] = 'aws-sdk-storagegateway'
5905
- context[:gem_version] = '1.36.0'
6060
+ context[:gem_version] = '1.41.0'
5906
6061
  Seahorse::Client::Request.new(handlers, context)
5907
6062
  end
5908
6063