aws-sdk-storagegateway 1.37.0 → 1.42.1

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