aws-sdk-storagegateway 1.44.0 → 1.49.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
2
  SHA256:
3
- metadata.gz: fbe6f9eb17ade1de4734d43b1ed137e3195e8ae0e6b442a8f856ecd7a7db654f
4
- data.tar.gz: a3d6471335ae9a7a62d5987d497210160aaa553b38d310fb921737aa8e027472
3
+ metadata.gz: 03e548e45e32a6e077d0420891dd607f6551c5770e68b6443d404efc8f8ff7f4
4
+ data.tar.gz: 50b2c5385f682b47866c5f9f0218bdf63dc55e35f71b3f6623ffade4d5365dde
5
5
  SHA512:
6
- metadata.gz: 83c55796d70d1b44c3543c40703cc2bf773d15eb80faf2a18bcd41d9f7434381e996bb5b8defd1a1639f9534efa7fbbd6812231347284f7569e8b034e9ab865d
7
- data.tar.gz: 3a876ef14d17123bdd9d2ae184e64d34380e5580817b42649c0b74b2d4c20520330d3d23eafa85b694245c0082bfa7b4689eb467c666269a3190a345c07f8b95
6
+ metadata.gz: 1fa5154a3043a5b5e891e488323c09a71af09d13fc3cc6bfc4cd357bcac136d1b5cced1206d95f533a52fc83dc86e35a8985777401249c93352097543cab7aa2
7
+ data.tar.gz: 2b64b77c0b65ac9696cf6e9ca19b8787d2465ee1da28e6509eaeed08639d209d60c6d8945dcef5ab30f1d68f0fb7190af521c4b32f537f4610a612508f4ad8e4
@@ -7,6 +7,7 @@
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
10
+
10
11
  require 'aws-sdk-core'
11
12
  require 'aws-sigv4'
12
13
 
@@ -44,9 +45,9 @@ require_relative 'aws-sdk-storagegateway/customizations'
44
45
  #
45
46
  # See {Errors} for more information.
46
47
  #
47
- # @service
48
+ # @!group service
48
49
  module Aws::StorageGateway
49
50
 
50
- GEM_VERSION = '1.44.0'
51
+ GEM_VERSION = '1.49.0'
51
52
 
52
53
  end
@@ -85,13 +85,28 @@ module Aws::StorageGateway
85
85
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
86
86
  # credentials.
87
87
  #
88
+ # * `Aws::SharedCredentials` - Used for loading static credentials from a
89
+ # shared file, such as `~/.aws/config`.
90
+ #
91
+ # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
92
+ #
93
+ # * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
94
+ # assume a role after providing credentials via the web.
95
+ #
96
+ # * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
97
+ # access token generated from `aws login`.
98
+ #
99
+ # * `Aws::ProcessCredentials` - Used for loading credentials from a
100
+ # process that outputs to stdout.
101
+ #
88
102
  # * `Aws::InstanceProfileCredentials` - Used for loading credentials
89
103
  # from an EC2 IMDS on an EC2 instance.
90
104
  #
91
- # * `Aws::SharedCredentials` - Used for loading credentials from a
92
- # shared file, such as `~/.aws/config`.
105
+ # * `Aws::ECSCredentials` - Used for loading credentials from
106
+ # instances running in ECS.
93
107
  #
94
- # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
108
+ # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
109
+ # from the Cognito Identity service.
95
110
  #
96
111
  # When `:credentials` are not configured directly, the following
97
112
  # locations will be searched for credentials:
@@ -101,10 +116,10 @@ module Aws::StorageGateway
101
116
  # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
102
117
  # * `~/.aws/credentials`
103
118
  # * `~/.aws/config`
104
- # * EC2 IMDS instance profile - When used by default, the timeouts are
105
- # very aggressive. Construct and pass an instance of
106
- # `Aws::InstanceProfileCredentails` to enable retries and extended
107
- # timeouts.
119
+ # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
+ # are very aggressive. Construct and pass an instance of
121
+ # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
+ # enable retries and extended timeouts.
108
123
  #
109
124
  # @option options [required, String] :region
110
125
  # The AWS region to connect to. The configured `:region` is
@@ -394,7 +409,7 @@ module Aws::StorageGateway
394
409
  # The value that indicates the type of medium changer to use for tape
395
410
  # gateway. This field is optional.
396
411
  #
397
- # Valid Values: `STK-L700` \| `AWS-Gateway-VTL`
412
+ # Valid Values: `STK-L700` \| `AWS-Gateway-VTL` \| `IBM-03584L32-0402`
398
413
  #
399
414
  # @option params [Array<Types::Tag>] :tags
400
415
  # A list of up to 50 tags that you can assign to the gateway. Each tag
@@ -759,6 +774,16 @@ module Aws::StorageGateway
759
774
  #
760
775
  # Valid Values: `GLACIER` \| `DEEP_ARCHIVE`
761
776
  #
777
+ # @option params [Boolean] :bypass_governance_retention
778
+ # Set permissions to bypass governance retention. If the lock type of
779
+ # the archived tape is `Governance`, the tape's archived age is not
780
+ # older than `RetentionLockInDays`, and the user does not already have
781
+ # `BypassGovernanceRetention`, setting this to TRUE enables the user to
782
+ # bypass the retention lock. This parameter is set to true by default
783
+ # for calls from the console.
784
+ #
785
+ # Valid values: `TRUE` \| `FALSE`
786
+ #
762
787
  # @return [Types::AssignTapePoolOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
763
788
  #
764
789
  # * {Types::AssignTapePoolOutput#tape_arn #tape_arn} => String
@@ -768,6 +793,7 @@ module Aws::StorageGateway
768
793
  # resp = client.assign_tape_pool({
769
794
  # tape_arn: "TapeARN", # required
770
795
  # pool_id: "PoolId", # required
796
+ # bypass_governance_retention: false,
771
797
  # })
772
798
  #
773
799
  # @example Response structure
@@ -1157,7 +1183,8 @@ module Aws::StorageGateway
1157
1183
  # file gateway assumes when it accesses the underlying storage.
1158
1184
  #
1159
1185
  # @option params [required, String] :location_arn
1160
- # The ARN of the backed storage used for storing file data.
1186
+ # The ARN of the backend storage used for storing file data. A prefix
1187
+ # name can be added to the S3 bucket name. It must end with a "/".
1161
1188
  #
1162
1189
  # @option params [String] :default_storage_class
1163
1190
  # The default storage class for objects put into an Amazon S3 bucket by
@@ -1226,6 +1253,17 @@ module Aws::StorageGateway
1226
1253
  #
1227
1254
  # </note>
1228
1255
  #
1256
+ # @option params [String] :file_share_name
1257
+ # The name of the file share. Optional.
1258
+ #
1259
+ # <note markdown="1"> `FileShareName` must be set if an S3 prefix name is set in
1260
+ # `LocationARN`.
1261
+ #
1262
+ # </note>
1263
+ #
1264
+ # @option params [Types::CacheAttributes] :cache_attributes
1265
+ # Refresh cache information.
1266
+ #
1229
1267
  # @return [Types::CreateNFSFileShareOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1230
1268
  #
1231
1269
  # * {Types::CreateNFSFileShareOutput#file_share_arn #file_share_arn} => String
@@ -1258,6 +1296,10 @@ module Aws::StorageGateway
1258
1296
  # value: "TagValue", # required
1259
1297
  # },
1260
1298
  # ],
1299
+ # file_share_name: "FileShareName",
1300
+ # cache_attributes: {
1301
+ # cache_stale_timeout_in_seconds: 1,
1302
+ # },
1261
1303
  # })
1262
1304
  #
1263
1305
  # @example Response structure
@@ -1275,7 +1317,7 @@ module Aws::StorageGateway
1275
1317
 
1276
1318
  # Creates a Server Message Block (SMB) file share on an existing file
1277
1319
  # gateway. In Storage Gateway, a file share is a file system mount point
1278
- # backed by Amazon S3 cloud storage. Storage Gateway expose file shares
1320
+ # backed by Amazon S3 cloud storage. Storage Gateway exposes file shares
1279
1321
  # using an SMB interface. This operation is only supported for file
1280
1322
  # gateways.
1281
1323
  #
@@ -1319,7 +1361,8 @@ module Aws::StorageGateway
1319
1361
  # file gateway assumes when it accesses the underlying storage.
1320
1362
  #
1321
1363
  # @option params [required, String] :location_arn
1322
- # The ARN of the backed storage used for storing file data.
1364
+ # The ARN of the backend storage used for storing file data. A prefix
1365
+ # name can be added to the S3 bucket name. It must end with a "/".
1323
1366
  #
1324
1367
  # @option params [String] :default_storage_class
1325
1368
  # The default storage class for objects put into an Amazon S3 bucket by
@@ -1378,24 +1421,27 @@ module Aws::StorageGateway
1378
1421
  # [1]: https://docs.aws.amazon.com/storagegateway/latest/userguide/smb-acl.html
1379
1422
  #
1380
1423
  # @option params [Array<String>] :admin_user_list
1381
- # A list of users in the Active Directory that will be granted
1424
+ # A list of users or groups in the Active Directory that will be granted
1382
1425
  # administrator privileges on the file share. These users can do all
1383
- # file operations as the super-user.
1426
+ # file operations as the super-user. Acceptable formats include:
1427
+ # `DOMAIN\User1`, `user1`, `@group1`, and `@DOMAIN\group1`.
1384
1428
  #
1385
1429
  # Use this option very carefully, because any user in this list can do
1386
1430
  # anything they like on the file share, regardless of file permissions.
1387
1431
  #
1388
1432
  # @option params [Array<String>] :valid_user_list
1389
1433
  # A list of users or groups in the Active Directory that are allowed to
1390
- # access the file share. A group must be prefixed with the @ character.
1391
- # For example, `@group1`. Can only be set if Authentication is set to
1392
- # `ActiveDirectory`.
1434
+ # access the file []() share. A group must be prefixed with the @
1435
+ # character. Acceptable formats include: `DOMAIN\User1`, `user1`,
1436
+ # `@group1`, and `@DOMAIN\group1`. Can only be set if Authentication is
1437
+ # set to `ActiveDirectory`.
1393
1438
  #
1394
1439
  # @option params [Array<String>] :invalid_user_list
1395
1440
  # A list of users or groups in the Active Directory that are not allowed
1396
1441
  # to access the file share. A group must be prefixed with the @
1397
- # character. For example, `@group1`. Can only be set if Authentication
1398
- # is set to `ActiveDirectory`.
1442
+ # character. Acceptable formats include: `DOMAIN\User1`, `user1`,
1443
+ # `@group1`, and `@DOMAIN\group1`. Can only be set if Authentication is
1444
+ # set to `ActiveDirectory`.
1399
1445
  #
1400
1446
  # @option params [String] :audit_destination_arn
1401
1447
  # The Amazon Resource Name (ARN) of the storage used for the audit logs.
@@ -1406,6 +1452,12 @@ module Aws::StorageGateway
1406
1452
  #
1407
1453
  # Valid Values: `ActiveDirectory` \| `GuestAccess`
1408
1454
  #
1455
+ # @option params [String] :case_sensitivity
1456
+ # The case of an object name in an Amazon S3 bucket. For
1457
+ # `ClientSpecified`, the client determines the case sensitivity. For
1458
+ # `CaseSensitive`, the gateway determines the case sensitivity. The
1459
+ # default value is `ClientSpecified`.
1460
+ #
1409
1461
  # @option params [Array<Types::Tag>] :tags
1410
1462
  # A list of up to 50 tags that can be assigned to the NFS file share.
1411
1463
  # Each tag is a key-value pair.
@@ -1417,6 +1469,17 @@ module Aws::StorageGateway
1417
1469
  #
1418
1470
  # </note>
1419
1471
  #
1472
+ # @option params [String] :file_share_name
1473
+ # The name of the file share. Optional.
1474
+ #
1475
+ # <note markdown="1"> `FileShareName` must be set if an S3 prefix name is set in
1476
+ # `LocationARN`.
1477
+ #
1478
+ # </note>
1479
+ #
1480
+ # @option params [Types::CacheAttributes] :cache_attributes
1481
+ # Refresh cache information.
1482
+ #
1420
1483
  # @return [Types::CreateSMBFileShareOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1421
1484
  #
1422
1485
  # * {Types::CreateSMBFileShareOutput#file_share_arn #file_share_arn} => String
@@ -1441,12 +1504,17 @@ module Aws::StorageGateway
1441
1504
  # invalid_user_list: ["FileShareUser"],
1442
1505
  # audit_destination_arn: "AuditDestinationARN",
1443
1506
  # authentication: "Authentication",
1507
+ # case_sensitivity: "ClientSpecified", # accepts ClientSpecified, CaseSensitive
1444
1508
  # tags: [
1445
1509
  # {
1446
1510
  # key: "TagKey", # required
1447
1511
  # value: "TagValue", # required
1448
1512
  # },
1449
1513
  # ],
1514
+ # file_share_name: "FileShareName",
1515
+ # cache_attributes: {
1516
+ # cache_stale_timeout_in_seconds: 1,
1517
+ # },
1450
1518
  # })
1451
1519
  #
1452
1520
  # @example Response structure
@@ -1469,14 +1537,14 @@ module Aws::StorageGateway
1469
1537
  # durable off-site recovery, as well as import the data to an Amazon
1470
1538
  # Elastic Block Store (EBS) volume in Amazon Elastic Compute Cloud
1471
1539
  # (EC2). You can take snapshots of your gateway volume on a scheduled or
1472
- # ad hoc basis. This API enables you to take ad-hoc snapshot. For more
1473
- # information, see [Editing a snapshot schedule][1].
1540
+ # ad hoc basis. This API enables you to take an ad hoc snapshot. For
1541
+ # more information, see [Editing a snapshot schedule][1].
1474
1542
  #
1475
- # In the CreateSnapshot request you identify the volume by providing its
1476
- # Amazon Resource Name (ARN). You must also provide description for the
1477
- # snapshot. When AWS Storage Gateway takes the snapshot of specified
1543
+ # In the `CreateSnapshot` request, you identify the volume by providing
1544
+ # its Amazon Resource Name (ARN). You must also provide description for
1545
+ # the snapshot. When AWS Storage Gateway takes the snapshot of specified
1478
1546
  # volume, the snapshot and description appears in the AWS Storage
1479
- # Gateway Console. In response, AWS Storage Gateway returns you a
1547
+ # Gateway console. In response, AWS Storage Gateway returns you a
1480
1548
  # snapshot ID. You can use this snapshot ID to check the snapshot
1481
1549
  # progress or later use it when you want to create a volume from a
1482
1550
  # snapshot. This operation is only supported in stored and cached volume
@@ -1677,7 +1745,7 @@ module Aws::StorageGateway
1677
1745
  # create an empty gateway volume, then any existing data on the disk is
1678
1746
  # erased.
1679
1747
  #
1680
- # In the request you must specify the gateway and the disk information
1748
+ # In the request, you must specify the gateway and the disk information
1681
1749
  # on which you are creating the volume. In response, the gateway creates
1682
1750
  # the volume and returns volume information such as the volume Amazon
1683
1751
  # Resource Name (ARN), its size, and the iSCSI target ARN that
@@ -1816,9 +1884,75 @@ module Aws::StorageGateway
1816
1884
  req.send_request(options)
1817
1885
  end
1818
1886
 
1887
+ # Creates a new custom tape pool. You can use custom tape pool to enable
1888
+ # tape retention lock on tapes that are archived in the custom pool.
1889
+ #
1890
+ # @option params [required, String] :pool_name
1891
+ # The name of the new custom tape pool.
1892
+ #
1893
+ # @option params [required, String] :storage_class
1894
+ # The storage class that is associated with the new custom pool. When
1895
+ # you use your backup application to eject the tape, the tape is
1896
+ # archived directly into the storage class (S3 Glacier or S3 Glacier
1897
+ # Deep Archive) that corresponds to the pool.
1898
+ #
1899
+ # @option params [String] :retention_lock_type
1900
+ # Tape retention lock can be configured in two modes. When configured in
1901
+ # governance mode, AWS accounts with specific IAM permissions are
1902
+ # authorized to remove the tape retention lock from archived virtual
1903
+ # tapes. When configured in compliance mode, the tape retention lock
1904
+ # cannot be removed by any user, including the root AWS account.
1905
+ #
1906
+ # @option params [Integer] :retention_lock_time_in_days
1907
+ # Tape retention lock time is set in days. Tape retention lock can be
1908
+ # enabled for up to 100 years (36,500 days).
1909
+ #
1910
+ # @option params [Array<Types::Tag>] :tags
1911
+ # A list of up to 50 tags that can be assigned to tape pool. Each tag is
1912
+ # a key-value pair.
1913
+ #
1914
+ # <note markdown="1"> Valid characters for key and value are letters, spaces, and numbers
1915
+ # representable in UTF-8 format, and the following special characters: +
1916
+ # - = . \_ : / @. The maximum length of a tag's key is 128 characters,
1917
+ # and the maximum length for a tag's value is 256.
1918
+ #
1919
+ # </note>
1920
+ #
1921
+ # @return [Types::CreateTapePoolOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1922
+ #
1923
+ # * {Types::CreateTapePoolOutput#pool_arn #pool_arn} => String
1924
+ #
1925
+ # @example Request syntax with placeholder values
1926
+ #
1927
+ # resp = client.create_tape_pool({
1928
+ # pool_name: "PoolName", # required
1929
+ # storage_class: "DEEP_ARCHIVE", # required, accepts DEEP_ARCHIVE, GLACIER
1930
+ # retention_lock_type: "COMPLIANCE", # accepts COMPLIANCE, GOVERNANCE, NONE
1931
+ # retention_lock_time_in_days: 1,
1932
+ # tags: [
1933
+ # {
1934
+ # key: "TagKey", # required
1935
+ # value: "TagValue", # required
1936
+ # },
1937
+ # ],
1938
+ # })
1939
+ #
1940
+ # @example Response structure
1941
+ #
1942
+ # resp.pool_arn #=> String
1943
+ #
1944
+ # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateTapePool AWS API Documentation
1945
+ #
1946
+ # @overload create_tape_pool(params = {})
1947
+ # @param [Hash] params ({})
1948
+ def create_tape_pool(params = {}, options = {})
1949
+ req = build_request(:create_tape_pool, params)
1950
+ req.send_request(options)
1951
+ end
1952
+
1819
1953
  # Creates a virtual tape by using your own barcode. You write data to
1820
1954
  # the virtual tape and then archive the tape. A barcode is unique and
1821
- # can not be reused if it has already been used on a tape. This applies
1955
+ # cannot be reused if it has already been used on a tape. This applies
1822
1956
  # to barcodes used on deleted tapes. This operation is only supported in
1823
1957
  # the tape gateway type.
1824
1958
  #
@@ -1869,6 +2003,10 @@ module Aws::StorageGateway
1869
2003
  #
1870
2004
  # Valid Values: `GLACIER` \| `DEEP_ARCHIVE`
1871
2005
  #
2006
+ # @option params [Boolean] :worm
2007
+ # Set to `TRUE` if the tape you are creating is to be configured as a
2008
+ # write-once-read-many (WORM) tape.
2009
+ #
1872
2010
  # @option params [Array<Types::Tag>] :tags
1873
2011
  # A list of up to 50 tags that can be assigned to a virtual tape that
1874
2012
  # has a barcode. Each tag is a key-value pair.
@@ -1909,6 +2047,7 @@ module Aws::StorageGateway
1909
2047
  # kms_encrypted: false,
1910
2048
  # kms_key: "KMSKey",
1911
2049
  # pool_id: "PoolId",
2050
+ # worm: false,
1912
2051
  # tags: [
1913
2052
  # {
1914
2053
  # key: "TagKey", # required
@@ -1995,6 +2134,10 @@ module Aws::StorageGateway
1995
2134
  #
1996
2135
  # Valid Values: `GLACIER` \| `DEEP_ARCHIVE`
1997
2136
  #
2137
+ # @option params [Boolean] :worm
2138
+ # Set to `TRUE` if the tape you are creating is to be configured as a
2139
+ # write-once-read-many (WORM) tape.
2140
+ #
1998
2141
  # @option params [Array<Types::Tag>] :tags
1999
2142
  # A list of up to 50 tags that can be assigned to a virtual tape. Each
2000
2143
  # tag is a key-value pair.
@@ -2043,6 +2186,7 @@ module Aws::StorageGateway
2043
2186
  # kms_encrypted: false,
2044
2187
  # kms_key: "KMSKey",
2045
2188
  # pool_id: "PoolId",
2189
+ # worm: false,
2046
2190
  # tags: [
2047
2191
  # {
2048
2192
  # key: "TagKey", # required
@@ -2114,7 +2258,7 @@ module Aws::StorageGateway
2114
2258
  # One of the BandwidthType values that indicates the gateway bandwidth
2115
2259
  # rate limit to delete.
2116
2260
  #
2117
- # Valid Values: `Upload` \| `Download` \| `All`
2261
+ # Valid Values: `UPLOAD` \| `DOWNLOAD` \| `ALL`
2118
2262
  #
2119
2263
  # @return [Types::DeleteBandwidthRateLimitOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2120
2264
  #
@@ -2331,7 +2475,7 @@ module Aws::StorageGateway
2331
2475
  #
2332
2476
  #
2333
2477
  #
2334
- # [1]: https://docs.aws.amazon.com/storagegatewaylatest/userguide/backing-up-volumes.html
2478
+ # [1]: https://docs.aws.amazon.com/storagegateway/latest/userguide/backing-up-volumes.html
2335
2479
  # [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeSnapshots.html
2336
2480
  #
2337
2481
  # @option params [required, String] :volume_arn
@@ -2385,6 +2529,12 @@ module Aws::StorageGateway
2385
2529
  # @option params [required, String] :tape_arn
2386
2530
  # The Amazon Resource Name (ARN) of the virtual tape to delete.
2387
2531
  #
2532
+ # @option params [Boolean] :bypass_governance_retention
2533
+ # Set to `TRUE` to delete an archived tape that belongs to a custom pool
2534
+ # with tape retention lock. Only archived tapes with tape retention lock
2535
+ # set to `governance` can be deleted. Archived tapes with tape retention
2536
+ # lock set to `compliance` can't be deleted.
2537
+ #
2388
2538
  # @return [Types::DeleteTapeOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2389
2539
  #
2390
2540
  # * {Types::DeleteTapeOutput#tape_arn #tape_arn} => String
@@ -2409,6 +2559,7 @@ module Aws::StorageGateway
2409
2559
  # resp = client.delete_tape({
2410
2560
  # gateway_arn: "GatewayARN", # required
2411
2561
  # tape_arn: "TapeARN", # required
2562
+ # bypass_governance_retention: false,
2412
2563
  # })
2413
2564
  #
2414
2565
  # @example Response structure
@@ -2431,6 +2582,12 @@ module Aws::StorageGateway
2431
2582
  # The Amazon Resource Name (ARN) of the virtual tape to delete from the
2432
2583
  # virtual tape shelf (VTS).
2433
2584
  #
2585
+ # @option params [Boolean] :bypass_governance_retention
2586
+ # Set to `TRUE` to delete an archived tape that belongs to a custom pool
2587
+ # with tape retention lock. Only archived tapes with tape retention lock
2588
+ # set to `governance` can be deleted. Archived tapes with tape retention
2589
+ # lock set to `compliance` can't be deleted.
2590
+ #
2434
2591
  # @return [Types::DeleteTapeArchiveOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2435
2592
  #
2436
2593
  # * {Types::DeleteTapeArchiveOutput#tape_arn #tape_arn} => String
@@ -2453,6 +2610,7 @@ module Aws::StorageGateway
2453
2610
  #
2454
2611
  # resp = client.delete_tape_archive({
2455
2612
  # tape_arn: "TapeARN", # required
2613
+ # bypass_governance_retention: false,
2456
2614
  # })
2457
2615
  #
2458
2616
  # @example Response structure
@@ -2468,6 +2626,36 @@ module Aws::StorageGateway
2468
2626
  req.send_request(options)
2469
2627
  end
2470
2628
 
2629
+ # Delete a custom tape pool. A custom tape pool can only be deleted if
2630
+ # there are no tapes in the pool and if there are no automatic tape
2631
+ # creation policies that reference the custom tape pool.
2632
+ #
2633
+ # @option params [required, String] :pool_arn
2634
+ # The Amazon Resource Name (ARN) of the custom tape pool to delete.
2635
+ #
2636
+ # @return [Types::DeleteTapePoolOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2637
+ #
2638
+ # * {Types::DeleteTapePoolOutput#pool_arn #pool_arn} => String
2639
+ #
2640
+ # @example Request syntax with placeholder values
2641
+ #
2642
+ # resp = client.delete_tape_pool({
2643
+ # pool_arn: "PoolARN", # required
2644
+ # })
2645
+ #
2646
+ # @example Response structure
2647
+ #
2648
+ # resp.pool_arn #=> String
2649
+ #
2650
+ # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteTapePool AWS API Documentation
2651
+ #
2652
+ # @overload delete_tape_pool(params = {})
2653
+ # @param [Hash] params ({})
2654
+ def delete_tape_pool(params = {}, options = {})
2655
+ req = build_request(:delete_tape_pool, params)
2656
+ req.send_request(options)
2657
+ end
2658
+
2471
2659
  # Deletes the specified storage volume that you previously created using
2472
2660
  # the CreateCachediSCSIVolume or CreateStorediSCSIVolume API. This
2473
2661
  # operation is only supported in the cached volume and stored volume
@@ -2571,7 +2759,7 @@ module Aws::StorageGateway
2571
2759
  # Returns the bandwidth rate limits of a gateway. By default, these
2572
2760
  # limits are not set, which means no bandwidth rate limiting is in
2573
2761
  # effect. This operation is supported for the stored volume, cached
2574
- # volume and tape gateway types.
2762
+ # volume, and tape gateway types.
2575
2763
  #
2576
2764
  # This operation only returns a value for a bandwidth rate limit only if
2577
2765
  # the limit is set. If no limits are set for the gateway, then this
@@ -2868,6 +3056,8 @@ module Aws::StorageGateway
2868
3056
  # * {Types::DescribeGatewayInformationOutput#cloud_watch_log_group_arn #cloud_watch_log_group_arn} => String
2869
3057
  # * {Types::DescribeGatewayInformationOutput#host_environment #host_environment} => String
2870
3058
  # * {Types::DescribeGatewayInformationOutput#endpoint_type #endpoint_type} => String
3059
+ # * {Types::DescribeGatewayInformationOutput#software_updates_end_date #software_updates_end_date} => String
3060
+ # * {Types::DescribeGatewayInformationOutput#deprecation_date #deprecation_date} => String
2871
3061
  #
2872
3062
  #
2873
3063
  # @example Example: To describe metadata about the gateway
@@ -2925,6 +3115,8 @@ module Aws::StorageGateway
2925
3115
  # resp.cloud_watch_log_group_arn #=> String
2926
3116
  # resp.host_environment #=> String, one of "VMWARE", "HYPER-V", "EC2", "KVM", "OTHER"
2927
3117
  # resp.endpoint_type #=> String
3118
+ # resp.software_updates_end_date #=> String
3119
+ # resp.deprecation_date #=> String
2928
3120
  #
2929
3121
  # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeGatewayInformation AWS API Documentation
2930
3122
  #
@@ -3040,6 +3232,8 @@ module Aws::StorageGateway
3040
3232
  # resp.nfs_file_share_info_list[0].tags #=> Array
3041
3233
  # resp.nfs_file_share_info_list[0].tags[0].key #=> String
3042
3234
  # resp.nfs_file_share_info_list[0].tags[0].value #=> String
3235
+ # resp.nfs_file_share_info_list[0].file_share_name #=> String
3236
+ # resp.nfs_file_share_info_list[0].cache_attributes.cache_stale_timeout_in_seconds #=> Integer
3043
3237
  #
3044
3238
  # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeNFSFileShares AWS API Documentation
3045
3239
  #
@@ -3094,9 +3288,12 @@ module Aws::StorageGateway
3094
3288
  # resp.smb_file_share_info_list[0].invalid_user_list[0] #=> String
3095
3289
  # resp.smb_file_share_info_list[0].audit_destination_arn #=> String
3096
3290
  # resp.smb_file_share_info_list[0].authentication #=> String
3291
+ # resp.smb_file_share_info_list[0].case_sensitivity #=> String, one of "ClientSpecified", "CaseSensitive"
3097
3292
  # resp.smb_file_share_info_list[0].tags #=> Array
3098
3293
  # resp.smb_file_share_info_list[0].tags[0].key #=> String
3099
3294
  # resp.smb_file_share_info_list[0].tags[0].value #=> String
3295
+ # resp.smb_file_share_info_list[0].file_share_name #=> String
3296
+ # resp.smb_file_share_info_list[0].cache_attributes.cache_stale_timeout_in_seconds #=> Integer
3100
3297
  #
3101
3298
  # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeSMBFileShares AWS API Documentation
3102
3299
  #
@@ -3379,6 +3576,9 @@ module Aws::StorageGateway
3379
3576
  # resp.tape_archives[0].tape_used_in_bytes #=> Integer
3380
3577
  # resp.tape_archives[0].kms_key #=> String
3381
3578
  # resp.tape_archives[0].pool_id #=> String
3579
+ # resp.tape_archives[0].worm #=> Boolean
3580
+ # resp.tape_archives[0].retention_start_date #=> Time
3581
+ # resp.tape_archives[0].pool_entry_date #=> Time
3382
3582
  # resp.marker #=> String
3383
3583
  #
3384
3584
  # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeTapeArchives AWS API Documentation
@@ -3567,6 +3767,9 @@ module Aws::StorageGateway
3567
3767
  # resp.tapes[0].tape_used_in_bytes #=> Integer
3568
3768
  # resp.tapes[0].kms_key #=> String
3569
3769
  # resp.tapes[0].pool_id #=> String
3770
+ # resp.tapes[0].worm #=> Boolean
3771
+ # resp.tapes[0].retention_start_date #=> Time
3772
+ # resp.tapes[0].pool_entry_date #=> Time
3570
3773
  # resp.marker #=> String
3571
3774
  #
3572
3775
  # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeTapes AWS API Documentation
@@ -4052,6 +4255,7 @@ module Aws::StorageGateway
4052
4255
  # resp.automatic_tape_creation_policy_infos[0].automatic_tape_creation_rules[0].pool_id #=> String
4053
4256
  # resp.automatic_tape_creation_policy_infos[0].automatic_tape_creation_rules[0].tape_size_in_bytes #=> Integer
4054
4257
  # resp.automatic_tape_creation_policy_infos[0].automatic_tape_creation_rules[0].minimum_num_tapes #=> Integer
4258
+ # resp.automatic_tape_creation_policy_infos[0].automatic_tape_creation_rules[0].worm #=> Boolean
4055
4259
  # resp.automatic_tape_creation_policy_infos[0].gateway_arn #=> String
4056
4260
  #
4057
4261
  # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListAutomaticTapeCreationPolicies AWS API Documentation
@@ -4353,6 +4557,63 @@ module Aws::StorageGateway
4353
4557
  req.send_request(options)
4354
4558
  end
4355
4559
 
4560
+ # Lists custom tape pools. You specify custom tape pools to list by
4561
+ # specifying one or more custom tape pool Amazon Resource Names (ARNs).
4562
+ # If you don't specify a custom tape pool ARN, the operation lists all
4563
+ # custom tape pools.
4564
+ #
4565
+ # This operation supports pagination. You can optionally specify the
4566
+ # `Limit` parameter in the body to limit the number of tape pools in the
4567
+ # response. If the number of tape pools returned in the response is
4568
+ # truncated, the response includes a `Marker` element that you can use
4569
+ # in your subsequent request to retrieve the next set of tape pools.
4570
+ #
4571
+ # @option params [Array<String>] :pool_arns
4572
+ # The Amazon Resource Name (ARN) of each of the custom tape pools you
4573
+ # want to list. If you don't specify a custom tape pool ARN, the
4574
+ # response lists all custom tape pools.
4575
+ #
4576
+ # @option params [String] :marker
4577
+ # A string that indicates the position at which to begin the returned
4578
+ # list of tape pools.
4579
+ #
4580
+ # @option params [Integer] :limit
4581
+ # An optional number limit for the tape pools in the list returned by
4582
+ # this call.
4583
+ #
4584
+ # @return [Types::ListTapePoolsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4585
+ #
4586
+ # * {Types::ListTapePoolsOutput#pool_infos #pool_infos} => Array&lt;Types::PoolInfo&gt;
4587
+ # * {Types::ListTapePoolsOutput#marker #marker} => String
4588
+ #
4589
+ # @example Request syntax with placeholder values
4590
+ #
4591
+ # resp = client.list_tape_pools({
4592
+ # pool_arns: ["PoolARN"],
4593
+ # marker: "Marker",
4594
+ # limit: 1,
4595
+ # })
4596
+ #
4597
+ # @example Response structure
4598
+ #
4599
+ # resp.pool_infos #=> Array
4600
+ # resp.pool_infos[0].pool_arn #=> String
4601
+ # resp.pool_infos[0].pool_name #=> String
4602
+ # resp.pool_infos[0].storage_class #=> String, one of "DEEP_ARCHIVE", "GLACIER"
4603
+ # resp.pool_infos[0].retention_lock_type #=> String, one of "COMPLIANCE", "GOVERNANCE", "NONE"
4604
+ # resp.pool_infos[0].retention_lock_time_in_days #=> Integer
4605
+ # resp.pool_infos[0].pool_status #=> String, one of "ACTIVE", "DELETED"
4606
+ # resp.marker #=> String
4607
+ #
4608
+ # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListTapePools AWS API Documentation
4609
+ #
4610
+ # @overload list_tape_pools(params = {})
4611
+ # @param [Hash] params ({})
4612
+ def list_tape_pools(params = {}, options = {})
4613
+ req = build_request(:list_tape_pools, params)
4614
+ req.send_request(options)
4615
+ end
4616
+
4356
4617
  # Lists virtual tapes in your virtual tape library (VTL) and your
4357
4618
  # virtual tape shelf (VTS). You specify the tapes to list by specifying
4358
4619
  # one or more tape Amazon Resource Names (ARNs). If you don't specify a
@@ -4404,6 +4665,8 @@ module Aws::StorageGateway
4404
4665
  # resp.tape_infos[0].tape_status #=> String
4405
4666
  # resp.tape_infos[0].gateway_arn #=> String
4406
4667
  # resp.tape_infos[0].pool_id #=> String
4668
+ # resp.tape_infos[0].retention_start_date #=> Time
4669
+ # resp.tape_infos[0].pool_entry_date #=> Time
4407
4670
  # resp.marker #=> String
4408
4671
  #
4409
4672
  # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListTapes AWS API Documentation
@@ -4663,7 +4926,7 @@ module Aws::StorageGateway
4663
4926
  end
4664
4927
 
4665
4928
  # Refreshes the cache for the specified file share. This operation finds
4666
- # objects in the Amazon S3 bucket that were added, removed or replaced
4929
+ # objects in the Amazon S3 bucket that were added, removed, or replaced
4667
4930
  # since the gateway last listed the bucket's contents and cached the
4668
4931
  # results. This operation is only supported in the file gateway type.
4669
4932
  # You can subscribe to be notified through an Amazon CloudWatch event
@@ -5271,6 +5534,7 @@ module Aws::StorageGateway
5271
5534
  # pool_id: "PoolId", # required
5272
5535
  # tape_size_in_bytes: 1, # required
5273
5536
  # minimum_num_tapes: 1, # required
5537
+ # worm: false,
5274
5538
  # },
5275
5539
  # ],
5276
5540
  # gateway_arn: "GatewayARN", # required
@@ -5441,7 +5705,7 @@ module Aws::StorageGateway
5441
5705
  # time zone. To specify which gateway to update, use the Amazon Resource
5442
5706
  # Name (ARN) of the gateway in your request.
5443
5707
  #
5444
- # <note markdown="1"> For Gateways activated after September 2, 2015, the gateway's ARN
5708
+ # <note markdown="1"> For gateways activated after September 2, 2015, the gateway's ARN
5445
5709
  # contains the gateway ID rather than the gateway name. However,
5446
5710
  # changing the name of the gateway has no effect on the gateway's ARN.
5447
5711
  #
@@ -5462,7 +5726,7 @@ module Aws::StorageGateway
5462
5726
  # The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that
5463
5727
  # you want to use to monitor and log events in the gateway.
5464
5728
  #
5465
- # For more information, see [What is Amazon CloudWatch logs?][1].
5729
+ # For more information, see [What is Amazon CloudWatch Logs?][1]
5466
5730
  #
5467
5731
  #
5468
5732
  #
@@ -5750,6 +6014,17 @@ module Aws::StorageGateway
5750
6014
  #
5751
6015
  # Valid Values: `true` \| `false`
5752
6016
  #
6017
+ # @option params [String] :file_share_name
6018
+ # The name of the file share. Optional.
6019
+ #
6020
+ # <note markdown="1"> `FileShareName` must be set if an S3 prefix name is set in
6021
+ # `LocationARN`.
6022
+ #
6023
+ # </note>
6024
+ #
6025
+ # @option params [Types::CacheAttributes] :cache_attributes
6026
+ # Refresh cache information.
6027
+ #
5753
6028
  # @return [Types::UpdateNFSFileShareOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5754
6029
  #
5755
6030
  # * {Types::UpdateNFSFileShareOutput#file_share_arn #file_share_arn} => String
@@ -5773,6 +6048,10 @@ module Aws::StorageGateway
5773
6048
  # read_only: false,
5774
6049
  # guess_mime_type_enabled: false,
5775
6050
  # requester_pays: false,
6051
+ # file_share_name: "FileShareName",
6052
+ # cache_attributes: {
6053
+ # cache_stale_timeout_in_seconds: 1,
6054
+ # },
5776
6055
  # })
5777
6056
  #
5778
6057
  # @example Response structure
@@ -5884,26 +6163,46 @@ module Aws::StorageGateway
5884
6163
  # [1]: https://docs.aws.amazon.com/storagegateway/latest/userguide/smb-acl.html
5885
6164
  #
5886
6165
  # @option params [Array<String>] :admin_user_list
5887
- # A list of users in the Active Directory that have administrator rights
5888
- # to the file share. A group must be prefixed with the @ character. For
5889
- # example, `@group1`. Can only be set if Authentication is set to
5890
- # `ActiveDirectory`.
6166
+ # A list of users or groups in the Active Directory that have
6167
+ # administrator rights to the file share. A group must be prefixed with
6168
+ # the @ character. Acceptable formats include: `DOMAIN\User1`, `user1`,
6169
+ # `@group1`, and `@DOMAIN\group1`. Can only be set if Authentication is
6170
+ # set to `ActiveDirectory`.
5891
6171
  #
5892
6172
  # @option params [Array<String>] :valid_user_list
5893
6173
  # A list of users or groups in the Active Directory that are allowed to
5894
6174
  # access the file share. A group must be prefixed with the @ character.
5895
- # For example, `@group1`. Can only be set if Authentication is set to
6175
+ # Acceptable formats include: `DOMAIN\User1`, `user1`, `@group1`, and
6176
+ # `@DOMAIN\group1`. Can only be set if Authentication is set to
5896
6177
  # `ActiveDirectory`.
5897
6178
  #
5898
6179
  # @option params [Array<String>] :invalid_user_list
5899
6180
  # A list of users or groups in the Active Directory that are not allowed
5900
6181
  # to access the file share. A group must be prefixed with the @
5901
- # character. For example `@group1`. Can only be set if Authentication is
6182
+ # character. Acceptable formats include: `DOMAIN\User1`, `user1`,
6183
+ # `@group1`, and `@DOMAIN\group1`. Can only be set if Authentication is
5902
6184
  # set to `ActiveDirectory`.
5903
6185
  #
5904
6186
  # @option params [String] :audit_destination_arn
5905
6187
  # The Amazon Resource Name (ARN) of the storage used for the audit logs.
5906
6188
  #
6189
+ # @option params [String] :case_sensitivity
6190
+ # The case of an object name in an Amazon S3 bucket. For
6191
+ # `ClientSpecified`, the client determines the case sensitivity. For
6192
+ # `CaseSensitive`, the gateway determines the case sensitivity. The
6193
+ # default value is `ClientSpecified`.
6194
+ #
6195
+ # @option params [String] :file_share_name
6196
+ # The name of the file share. Optional.
6197
+ #
6198
+ # <note markdown="1"> `FileShareName` must be set if an S3 prefix name is set in
6199
+ # `LocationARN`.
6200
+ #
6201
+ # </note>
6202
+ #
6203
+ # @option params [Types::CacheAttributes] :cache_attributes
6204
+ # Refresh cache information.
6205
+ #
5907
6206
  # @return [Types::UpdateSMBFileShareOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5908
6207
  #
5909
6208
  # * {Types::UpdateSMBFileShareOutput#file_share_arn #file_share_arn} => String
@@ -5924,6 +6223,11 @@ module Aws::StorageGateway
5924
6223
  # valid_user_list: ["FileShareUser"],
5925
6224
  # invalid_user_list: ["FileShareUser"],
5926
6225
  # audit_destination_arn: "AuditDestinationARN",
6226
+ # case_sensitivity: "ClientSpecified", # accepts ClientSpecified, CaseSensitive
6227
+ # file_share_name: "FileShareName",
6228
+ # cache_attributes: {
6229
+ # cache_stale_timeout_in_seconds: 1,
6230
+ # },
5927
6231
  # })
5928
6232
  #
5929
6233
  # @example Response structure
@@ -6098,7 +6402,7 @@ module Aws::StorageGateway
6098
6402
  # @option params [required, String] :device_type
6099
6403
  # The type of medium changer you want to select.
6100
6404
  #
6101
- # Valid Values: `STK-L700` \| `AWS-Gateway-VTL`
6405
+ # Valid Values: `STK-L700` \| `AWS-Gateway-VTL` \| `IBM-03584L32-0402`
6102
6406
  #
6103
6407
  # @return [Types::UpdateVTLDeviceTypeOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6104
6408
  #
@@ -6152,7 +6456,7 @@ module Aws::StorageGateway
6152
6456
  params: params,
6153
6457
  config: config)
6154
6458
  context[:gem_name] = 'aws-sdk-storagegateway'
6155
- context[:gem_version] = '1.44.0'
6459
+ context[:gem_version] = '1.49.0'
6156
6460
  Seahorse::Client::Request.new(handlers, context)
6157
6461
  end
6158
6462