aws-sdk-storagegateway 1.45.0 → 1.50.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a09a0f53b6c568dda3f0b6fa19ba505f18ac7eea2db3f0f954df33cf91265e6c
4
- data.tar.gz: 1e6f616b6b5d77c7b038de8e7ad9b251fdd88f1aee1fb43d10e1cdba4fbb700e
3
+ metadata.gz: 497c463968e98be0f341fba8ec8ae2e422e9c845af434f3bdbde1f6b69488480
4
+ data.tar.gz: 0a42b325a63d1724b857f85c98d947c1df384fd2553518f2f799b1a51d9ce981
5
5
  SHA512:
6
- metadata.gz: fe347436c349c66f15dcabc8b79e9bf6c70cc4ca24ec8a7fb1d0c08ce734038a627f1c356a8f07b0940f98185a4ad8a91502f1f6f0c69c5b338ac52402573f5b
7
- data.tar.gz: 678df12d15ecd03022173fce4b65548bf89c0fb514358c52c57964c1ce7e3281ad8c44ddd0319afa479c8dfc5242a0bacf2ad89378b5e7a223451bcbc8e8a800
6
+ metadata.gz: fa9f48afaa0b2b8b9e470ddb542a0cabe92685552e59953f9b32eb86f04805b532810ae75e31196d660ee4082be4888755bc61d32a2e8da584bcbaf69a8c681b
7
+ data.tar.gz: b4793f1d0c9df3cbe47101d2649e731c58a58ab719bb6b0cc7dc735898601b30939baae5082005f31d79b5dc0abb1d1b47651dfe79e28675ccbebc9a6793090d
@@ -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.45.0'
51
+ GEM_VERSION = '1.50.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
@@ -1291,7 +1317,7 @@ module Aws::StorageGateway
1291
1317
 
1292
1318
  # Creates a Server Message Block (SMB) file share on an existing file
1293
1319
  # gateway. In Storage Gateway, a file share is a file system mount point
1294
- # backed by Amazon S3 cloud storage. Storage Gateway expose file shares
1320
+ # backed by Amazon S3 cloud storage. Storage Gateway exposes file shares
1295
1321
  # using an SMB interface. This operation is only supported for file
1296
1322
  # gateways.
1297
1323
  #
@@ -1511,14 +1537,14 @@ module Aws::StorageGateway
1511
1537
  # durable off-site recovery, as well as import the data to an Amazon
1512
1538
  # Elastic Block Store (EBS) volume in Amazon Elastic Compute Cloud
1513
1539
  # (EC2). You can take snapshots of your gateway volume on a scheduled or
1514
- # ad hoc basis. This API enables you to take ad-hoc snapshot. For more
1515
- # 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].
1516
1542
  #
1517
- # In the CreateSnapshot request you identify the volume by providing its
1518
- # Amazon Resource Name (ARN). You must also provide description for the
1519
- # 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
1520
1546
  # volume, the snapshot and description appears in the AWS Storage
1521
- # Gateway Console. In response, AWS Storage Gateway returns you a
1547
+ # Gateway console. In response, AWS Storage Gateway returns you a
1522
1548
  # snapshot ID. You can use this snapshot ID to check the snapshot
1523
1549
  # progress or later use it when you want to create a volume from a
1524
1550
  # snapshot. This operation is only supported in stored and cached volume
@@ -1719,7 +1745,7 @@ module Aws::StorageGateway
1719
1745
  # create an empty gateway volume, then any existing data on the disk is
1720
1746
  # erased.
1721
1747
  #
1722
- # 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
1723
1749
  # on which you are creating the volume. In response, the gateway creates
1724
1750
  # the volume and returns volume information such as the volume Amazon
1725
1751
  # Resource Name (ARN), its size, and the iSCSI target ARN that
@@ -1858,9 +1884,75 @@ module Aws::StorageGateway
1858
1884
  req.send_request(options)
1859
1885
  end
1860
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
+
1861
1953
  # Creates a virtual tape by using your own barcode. You write data to
1862
1954
  # the virtual tape and then archive the tape. A barcode is unique and
1863
- # 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
1864
1956
  # to barcodes used on deleted tapes. This operation is only supported in
1865
1957
  # the tape gateway type.
1866
1958
  #
@@ -1911,6 +2003,10 @@ module Aws::StorageGateway
1911
2003
  #
1912
2004
  # Valid Values: `GLACIER` \| `DEEP_ARCHIVE`
1913
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
+ #
1914
2010
  # @option params [Array<Types::Tag>] :tags
1915
2011
  # A list of up to 50 tags that can be assigned to a virtual tape that
1916
2012
  # has a barcode. Each tag is a key-value pair.
@@ -1951,6 +2047,7 @@ module Aws::StorageGateway
1951
2047
  # kms_encrypted: false,
1952
2048
  # kms_key: "KMSKey",
1953
2049
  # pool_id: "PoolId",
2050
+ # worm: false,
1954
2051
  # tags: [
1955
2052
  # {
1956
2053
  # key: "TagKey", # required
@@ -2037,6 +2134,10 @@ module Aws::StorageGateway
2037
2134
  #
2038
2135
  # Valid Values: `GLACIER` \| `DEEP_ARCHIVE`
2039
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
+ #
2040
2141
  # @option params [Array<Types::Tag>] :tags
2041
2142
  # A list of up to 50 tags that can be assigned to a virtual tape. Each
2042
2143
  # tag is a key-value pair.
@@ -2085,6 +2186,7 @@ module Aws::StorageGateway
2085
2186
  # kms_encrypted: false,
2086
2187
  # kms_key: "KMSKey",
2087
2188
  # pool_id: "PoolId",
2189
+ # worm: false,
2088
2190
  # tags: [
2089
2191
  # {
2090
2192
  # key: "TagKey", # required
@@ -2156,7 +2258,7 @@ module Aws::StorageGateway
2156
2258
  # One of the BandwidthType values that indicates the gateway bandwidth
2157
2259
  # rate limit to delete.
2158
2260
  #
2159
- # Valid Values: `Upload` \| `Download` \| `All`
2261
+ # Valid Values: `UPLOAD` \| `DOWNLOAD` \| `ALL`
2160
2262
  #
2161
2263
  # @return [Types::DeleteBandwidthRateLimitOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2162
2264
  #
@@ -2373,7 +2475,7 @@ module Aws::StorageGateway
2373
2475
  #
2374
2476
  #
2375
2477
  #
2376
- # [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
2377
2479
  # [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeSnapshots.html
2378
2480
  #
2379
2481
  # @option params [required, String] :volume_arn
@@ -2427,6 +2529,12 @@ module Aws::StorageGateway
2427
2529
  # @option params [required, String] :tape_arn
2428
2530
  # The Amazon Resource Name (ARN) of the virtual tape to delete.
2429
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
+ #
2430
2538
  # @return [Types::DeleteTapeOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2431
2539
  #
2432
2540
  # * {Types::DeleteTapeOutput#tape_arn #tape_arn} => String
@@ -2451,6 +2559,7 @@ module Aws::StorageGateway
2451
2559
  # resp = client.delete_tape({
2452
2560
  # gateway_arn: "GatewayARN", # required
2453
2561
  # tape_arn: "TapeARN", # required
2562
+ # bypass_governance_retention: false,
2454
2563
  # })
2455
2564
  #
2456
2565
  # @example Response structure
@@ -2473,6 +2582,12 @@ module Aws::StorageGateway
2473
2582
  # The Amazon Resource Name (ARN) of the virtual tape to delete from the
2474
2583
  # virtual tape shelf (VTS).
2475
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
+ #
2476
2591
  # @return [Types::DeleteTapeArchiveOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2477
2592
  #
2478
2593
  # * {Types::DeleteTapeArchiveOutput#tape_arn #tape_arn} => String
@@ -2495,6 +2610,7 @@ module Aws::StorageGateway
2495
2610
  #
2496
2611
  # resp = client.delete_tape_archive({
2497
2612
  # tape_arn: "TapeARN", # required
2613
+ # bypass_governance_retention: false,
2498
2614
  # })
2499
2615
  #
2500
2616
  # @example Response structure
@@ -2510,6 +2626,36 @@ module Aws::StorageGateway
2510
2626
  req.send_request(options)
2511
2627
  end
2512
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
+
2513
2659
  # Deletes the specified storage volume that you previously created using
2514
2660
  # the CreateCachediSCSIVolume or CreateStorediSCSIVolume API. This
2515
2661
  # operation is only supported in the cached volume and stored volume
@@ -2613,7 +2759,7 @@ module Aws::StorageGateway
2613
2759
  # Returns the bandwidth rate limits of a gateway. By default, these
2614
2760
  # limits are not set, which means no bandwidth rate limiting is in
2615
2761
  # effect. This operation is supported for the stored volume, cached
2616
- # volume and tape gateway types.
2762
+ # volume, and tape gateway types.
2617
2763
  #
2618
2764
  # This operation only returns a value for a bandwidth rate limit only if
2619
2765
  # the limit is set. If no limits are set for the gateway, then this
@@ -2910,6 +3056,8 @@ module Aws::StorageGateway
2910
3056
  # * {Types::DescribeGatewayInformationOutput#cloud_watch_log_group_arn #cloud_watch_log_group_arn} => String
2911
3057
  # * {Types::DescribeGatewayInformationOutput#host_environment #host_environment} => String
2912
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
2913
3061
  #
2914
3062
  #
2915
3063
  # @example Example: To describe metadata about the gateway
@@ -2967,6 +3115,8 @@ module Aws::StorageGateway
2967
3115
  # resp.cloud_watch_log_group_arn #=> String
2968
3116
  # resp.host_environment #=> String, one of "VMWARE", "HYPER-V", "EC2", "KVM", "OTHER"
2969
3117
  # resp.endpoint_type #=> String
3118
+ # resp.software_updates_end_date #=> String
3119
+ # resp.deprecation_date #=> String
2970
3120
  #
2971
3121
  # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeGatewayInformation AWS API Documentation
2972
3122
  #
@@ -3426,6 +3576,9 @@ module Aws::StorageGateway
3426
3576
  # resp.tape_archives[0].tape_used_in_bytes #=> Integer
3427
3577
  # resp.tape_archives[0].kms_key #=> String
3428
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
3429
3582
  # resp.marker #=> String
3430
3583
  #
3431
3584
  # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeTapeArchives AWS API Documentation
@@ -3614,6 +3767,9 @@ module Aws::StorageGateway
3614
3767
  # resp.tapes[0].tape_used_in_bytes #=> Integer
3615
3768
  # resp.tapes[0].kms_key #=> String
3616
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
3617
3773
  # resp.marker #=> String
3618
3774
  #
3619
3775
  # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeTapes AWS API Documentation
@@ -4099,6 +4255,7 @@ module Aws::StorageGateway
4099
4255
  # resp.automatic_tape_creation_policy_infos[0].automatic_tape_creation_rules[0].pool_id #=> String
4100
4256
  # resp.automatic_tape_creation_policy_infos[0].automatic_tape_creation_rules[0].tape_size_in_bytes #=> Integer
4101
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
4102
4259
  # resp.automatic_tape_creation_policy_infos[0].gateway_arn #=> String
4103
4260
  #
4104
4261
  # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListAutomaticTapeCreationPolicies AWS API Documentation
@@ -4400,6 +4557,63 @@ module Aws::StorageGateway
4400
4557
  req.send_request(options)
4401
4558
  end
4402
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
+
4403
4617
  # Lists virtual tapes in your virtual tape library (VTL) and your
4404
4618
  # virtual tape shelf (VTS). You specify the tapes to list by specifying
4405
4619
  # one or more tape Amazon Resource Names (ARNs). If you don't specify a
@@ -4451,6 +4665,8 @@ module Aws::StorageGateway
4451
4665
  # resp.tape_infos[0].tape_status #=> String
4452
4666
  # resp.tape_infos[0].gateway_arn #=> String
4453
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
4454
4670
  # resp.marker #=> String
4455
4671
  #
4456
4672
  # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListTapes AWS API Documentation
@@ -5318,6 +5534,7 @@ module Aws::StorageGateway
5318
5534
  # pool_id: "PoolId", # required
5319
5535
  # tape_size_in_bytes: 1, # required
5320
5536
  # minimum_num_tapes: 1, # required
5537
+ # worm: false,
5321
5538
  # },
5322
5539
  # ],
5323
5540
  # gateway_arn: "GatewayARN", # required
@@ -5488,7 +5705,7 @@ module Aws::StorageGateway
5488
5705
  # time zone. To specify which gateway to update, use the Amazon Resource
5489
5706
  # Name (ARN) of the gateway in your request.
5490
5707
  #
5491
- # <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
5492
5709
  # contains the gateway ID rather than the gateway name. However,
5493
5710
  # changing the name of the gateway has no effect on the gateway's ARN.
5494
5711
  #
@@ -5509,7 +5726,7 @@ module Aws::StorageGateway
5509
5726
  # The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that
5510
5727
  # you want to use to monitor and log events in the gateway.
5511
5728
  #
5512
- # For more information, see [What is Amazon CloudWatch logs?][1].
5729
+ # For more information, see [What is Amazon CloudWatch Logs?][1]
5513
5730
  #
5514
5731
  #
5515
5732
  #
@@ -6185,7 +6402,7 @@ module Aws::StorageGateway
6185
6402
  # @option params [required, String] :device_type
6186
6403
  # The type of medium changer you want to select.
6187
6404
  #
6188
- # Valid Values: `STK-L700` \| `AWS-Gateway-VTL`
6405
+ # Valid Values: `STK-L700` \| `AWS-Gateway-VTL` \| `IBM-03584L32-0402`
6189
6406
  #
6190
6407
  # @return [Types::UpdateVTLDeviceTypeOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6191
6408
  #
@@ -6239,7 +6456,7 @@ module Aws::StorageGateway
6239
6456
  params: params,
6240
6457
  config: config)
6241
6458
  context[:gem_name] = 'aws-sdk-storagegateway'
6242
- context[:gem_version] = '1.45.0'
6459
+ context[:gem_version] = '1.50.0'
6243
6460
  Seahorse::Client::Request.new(handlers, context)
6244
6461
  end
6245
6462