aws-sdk-storagegateway 1.94.0 → 1.96.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-storagegateway/client.rb +192 -36
- data/lib/aws-sdk-storagegateway/client_api.rb +13 -6
- data/lib/aws-sdk-storagegateway/plugins/endpoints.rb +8 -5
- data/lib/aws-sdk-storagegateway/types.rb +310 -65
- data/lib/aws-sdk-storagegateway.rb +1 -1
- data/sig/client.rbs +5 -0
- data/sig/resource.rbs +1 -0
- data/sig/types.rbs +6 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: da05658c807c21a5338a03366e8373676572d564ebcffe79c699fb9a7209a832
|
4
|
+
data.tar.gz: 656a653ab28903112ca35a4bd61a381724f31648e71adfb5816cdf2e0fb96ae5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 63492e432efe471ea262cd6929ea0b500b7e954fe860d528c3c2d1e61833d3e0b18c3adecc69c2fb97551485319420df092e6b1bd49f0e5366a5a8dfc894ced6
|
7
|
+
data.tar.gz: 1b8076c8206e5bed92df8660bc9e86f47c9553783a36788cbd0b0fe8bf0d28fa492838480fbbc49e12f93a67af026e0c364f9edd3c95fbe53b714993e6340852
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.96.0 (2024-09-20)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.95.0 (2024-09-12)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - The S3 File Gateway now supports DSSE-KMS encryption. A new parameter EncryptionType is added to these APIs: CreateSmbFileShare, CreateNfsFileShare, UpdateSmbFileShare, UpdateNfsFileShare, DescribeSmbFileShares, DescribeNfsFileShares. Also, in favor of EncryptionType, KmsEncrypted is deprecated.
|
13
|
+
|
4
14
|
1.94.0 (2024-09-11)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.96.0
|
@@ -130,13 +130,15 @@ module Aws::StorageGateway
|
|
130
130
|
# locations will be searched for credentials:
|
131
131
|
#
|
132
132
|
# * `Aws.config[:credentials]`
|
133
|
-
# * The `:access_key_id`, `:secret_access_key`,
|
134
|
-
#
|
133
|
+
# * The `:access_key_id`, `:secret_access_key`, `:session_token`, and
|
134
|
+
# `:account_id` options.
|
135
|
+
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY'],
|
136
|
+
# ENV['AWS_SESSION_TOKEN'], and ENV['AWS_ACCOUNT_ID']
|
135
137
|
# * `~/.aws/credentials`
|
136
138
|
# * `~/.aws/config`
|
137
139
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
138
140
|
# are very aggressive. Construct and pass an instance of
|
139
|
-
# `Aws::
|
141
|
+
# `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
|
140
142
|
# enable retries and extended timeouts. Instance profile credential
|
141
143
|
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
142
144
|
# to true.
|
@@ -155,6 +157,8 @@ module Aws::StorageGateway
|
|
155
157
|
#
|
156
158
|
# @option options [String] :access_key_id
|
157
159
|
#
|
160
|
+
# @option options [String] :account_id
|
161
|
+
#
|
158
162
|
# @option options [Boolean] :active_endpoint_cache (false)
|
159
163
|
# When set to `true`, a thread polling for endpoints will be running in
|
160
164
|
# the background every 60 secs (default). Defaults to `false`.
|
@@ -376,7 +380,9 @@ module Aws::StorageGateway
|
|
376
380
|
# sending the request.
|
377
381
|
#
|
378
382
|
# @option options [Aws::StorageGateway::EndpointProvider] :endpoint_provider
|
379
|
-
# The endpoint provider used to resolve endpoints. Any object that responds to
|
383
|
+
# The endpoint provider used to resolve endpoints. Any object that responds to
|
384
|
+
# `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to
|
385
|
+
# `Aws::StorageGateway::EndpointParameters`.
|
380
386
|
#
|
381
387
|
# @option options [Float] :http_continue_timeout (1)
|
382
388
|
# The number of seconds to wait for a 100-continue response before sending the
|
@@ -1367,17 +1373,48 @@ module Aws::StorageGateway
|
|
1367
1373
|
# The Amazon Resource Name (ARN) of the S3 File Gateway on which you
|
1368
1374
|
# want to create a file share.
|
1369
1375
|
#
|
1376
|
+
# @option params [String] :encryption_type
|
1377
|
+
# A value that specifies the type of server-side encryption that the
|
1378
|
+
# file share will use for the data that it stores in Amazon S3.
|
1379
|
+
#
|
1380
|
+
# <note markdown="1"> We recommend using `EncryptionType` instead of `KMSEncrypted` to set
|
1381
|
+
# the file share encryption method. You do not need to provide values
|
1382
|
+
# for both parameters.
|
1383
|
+
#
|
1384
|
+
# If values for both parameters exist in the same request, then the
|
1385
|
+
# specified encryption methods must not conflict. For example, if
|
1386
|
+
# `EncryptionType` is `SseS3`, then `KMSEncrypted` must be `false`. If
|
1387
|
+
# `EncryptionType` is `SseKms` or `DsseKms`, then `KMSEncrypted` must be
|
1388
|
+
# `true`.
|
1389
|
+
#
|
1390
|
+
# </note>
|
1391
|
+
#
|
1370
1392
|
# @option params [Boolean] :kms_encrypted
|
1371
|
-
# Set to `true` to use Amazon S3 server-side encryption with
|
1372
|
-
# KMS key, or `false` to use a key managed by Amazon
|
1393
|
+
# Optional. Set to `true` to use Amazon S3 server-side encryption with
|
1394
|
+
# your own KMS key (SSE-KMS), or `false` to use a key managed by Amazon
|
1395
|
+
# S3 (SSE-S3). To use dual-layer encryption (DSSE-KMS), set the
|
1396
|
+
# `EncryptionType` parameter instead.
|
1397
|
+
#
|
1398
|
+
# <note markdown="1"> We recommend using `EncryptionType` instead of `KMSEncrypted` to set
|
1399
|
+
# the file share encryption method. You do not need to provide values
|
1400
|
+
# for both parameters.
|
1401
|
+
#
|
1402
|
+
# If values for both parameters exist in the same request, then the
|
1403
|
+
# specified encryption methods must not conflict. For example, if
|
1404
|
+
# `EncryptionType` is `SseS3`, then `KMSEncrypted` must be `false`. If
|
1405
|
+
# `EncryptionType` is `SseKms` or `DsseKms`, then `KMSEncrypted` must be
|
1406
|
+
# `true`.
|
1407
|
+
#
|
1408
|
+
# </note>
|
1373
1409
|
#
|
1374
1410
|
# Valid Values: `true` \| `false`
|
1375
1411
|
#
|
1376
1412
|
# @option params [String] :kms_key
|
1377
|
-
# The Amazon Resource Name (ARN) of a symmetric customer
|
1378
|
-
# (CMK) used for Amazon S3 server-side encryption. Storage
|
1379
|
-
# not support asymmetric CMKs. This value
|
1380
|
-
# `KMSEncrypted` is `true
|
1413
|
+
# Optional. The Amazon Resource Name (ARN) of a symmetric customer
|
1414
|
+
# master key (CMK) used for Amazon S3 server-side encryption. Storage
|
1415
|
+
# Gateway does not support asymmetric CMKs. This value must be set if
|
1416
|
+
# `KMSEncrypted` is `true`, or if `EncryptionType` is `SseKms` or
|
1417
|
+
# `DsseKms`.
|
1381
1418
|
#
|
1382
1419
|
# @option params [required, String] :role
|
1383
1420
|
# The ARN of the Identity and Access Management (IAM) role that an S3
|
@@ -1503,6 +1540,10 @@ module Aws::StorageGateway
|
|
1503
1540
|
# <note markdown="1"> `SettlingTimeInSeconds` has no effect on the timing of the object
|
1504
1541
|
# uploading to Amazon S3, only the timing of the notification.
|
1505
1542
|
#
|
1543
|
+
# This setting is not meant to specify an exact time at which the
|
1544
|
+
# notification will be sent. In some cases, the gateway might require
|
1545
|
+
# more than the specified delay time to generate and send notifications.
|
1546
|
+
#
|
1506
1547
|
# </note>
|
1507
1548
|
#
|
1508
1549
|
# The following example sets `NotificationPolicy` on with
|
@@ -1552,6 +1593,7 @@ module Aws::StorageGateway
|
|
1552
1593
|
# owner_id: 1,
|
1553
1594
|
# },
|
1554
1595
|
# gateway_arn: "GatewayARN", # required
|
1596
|
+
# encryption_type: "SseS3", # accepts SseS3, SseKms, DsseKms
|
1555
1597
|
# kms_encrypted: false,
|
1556
1598
|
# kms_key: "KMSKey",
|
1557
1599
|
# role: "Role", # required
|
@@ -1624,17 +1666,48 @@ module Aws::StorageGateway
|
|
1624
1666
|
# The ARN of the S3 File Gateway on which you want to create a file
|
1625
1667
|
# share.
|
1626
1668
|
#
|
1669
|
+
# @option params [String] :encryption_type
|
1670
|
+
# A value that specifies the type of server-side encryption that the
|
1671
|
+
# file share will use for the data that it stores in Amazon S3.
|
1672
|
+
#
|
1673
|
+
# <note markdown="1"> We recommend using `EncryptionType` instead of `KMSEncrypted` to set
|
1674
|
+
# the file share encryption method. You do not need to provide values
|
1675
|
+
# for both parameters.
|
1676
|
+
#
|
1677
|
+
# If values for both parameters exist in the same request, then the
|
1678
|
+
# specified encryption methods must not conflict. For example, if
|
1679
|
+
# `EncryptionType` is `SseS3`, then `KMSEncrypted` must be `false`. If
|
1680
|
+
# `EncryptionType` is `SseKms` or `DsseKms`, then `KMSEncrypted` must be
|
1681
|
+
# `true`.
|
1682
|
+
#
|
1683
|
+
# </note>
|
1684
|
+
#
|
1627
1685
|
# @option params [Boolean] :kms_encrypted
|
1628
|
-
# Set to `true` to use Amazon S3 server-side encryption with
|
1629
|
-
# KMS key, or `false` to use a key managed by Amazon
|
1686
|
+
# Optional. Set to `true` to use Amazon S3 server-side encryption with
|
1687
|
+
# your own KMS key (SSE-KMS), or `false` to use a key managed by Amazon
|
1688
|
+
# S3 (SSE-S3). To use dual-layer encryption (DSSE-KMS), set the
|
1689
|
+
# `EncryptionType` parameter instead.
|
1690
|
+
#
|
1691
|
+
# <note markdown="1"> We recommend using `EncryptionType` instead of `KMSEncrypted` to set
|
1692
|
+
# the file share encryption method. You do not need to provide values
|
1693
|
+
# for both parameters.
|
1694
|
+
#
|
1695
|
+
# If values for both parameters exist in the same request, then the
|
1696
|
+
# specified encryption methods must not conflict. For example, if
|
1697
|
+
# `EncryptionType` is `SseS3`, then `KMSEncrypted` must be `false`. If
|
1698
|
+
# `EncryptionType` is `SseKms` or `DsseKms`, then `KMSEncrypted` must be
|
1699
|
+
# `true`.
|
1700
|
+
#
|
1701
|
+
# </note>
|
1630
1702
|
#
|
1631
1703
|
# Valid Values: `true` \| `false`
|
1632
1704
|
#
|
1633
1705
|
# @option params [String] :kms_key
|
1634
|
-
# The Amazon Resource Name (ARN) of a symmetric customer
|
1635
|
-
# (CMK) used for Amazon S3 server-side encryption. Storage
|
1636
|
-
# not support asymmetric CMKs. This value
|
1637
|
-
# `KMSEncrypted` is `true
|
1706
|
+
# Optional. The Amazon Resource Name (ARN) of a symmetric customer
|
1707
|
+
# master key (CMK) used for Amazon S3 server-side encryption. Storage
|
1708
|
+
# Gateway does not support asymmetric CMKs. This value must be set if
|
1709
|
+
# `KMSEncrypted` is `true`, or if `EncryptionType` is `SseKms` or
|
1710
|
+
# `DsseKms`.
|
1638
1711
|
#
|
1639
1712
|
# @option params [required, String] :role
|
1640
1713
|
# The ARN of the Identity and Access Management (IAM) role that an S3
|
@@ -1716,14 +1789,14 @@ module Aws::StorageGateway
|
|
1716
1789
|
# SMB file share. Set it to `false` to map file and directory
|
1717
1790
|
# permissions to the POSIX permissions.
|
1718
1791
|
#
|
1719
|
-
# For more information, see [Using
|
1720
|
-
# access
|
1792
|
+
# For more information, see [Using Windows ACLs to limit SMB file share
|
1793
|
+
# access][1] in the *Amazon S3 File Gateway User Guide*.
|
1721
1794
|
#
|
1722
1795
|
# Valid Values: `true` \| `false`
|
1723
1796
|
#
|
1724
1797
|
#
|
1725
1798
|
#
|
1726
|
-
# [1]: https://docs.aws.amazon.com/
|
1799
|
+
# [1]: https://docs.aws.amazon.com/filegateway/latest/files3/smb-acl.html
|
1727
1800
|
#
|
1728
1801
|
# @option params [Boolean] :access_based_enumeration
|
1729
1802
|
# The files and folders on this share will only be visible to users with
|
@@ -1801,6 +1874,10 @@ module Aws::StorageGateway
|
|
1801
1874
|
# <note markdown="1"> `SettlingTimeInSeconds` has no effect on the timing of the object
|
1802
1875
|
# uploading to Amazon S3, only the timing of the notification.
|
1803
1876
|
#
|
1877
|
+
# This setting is not meant to specify an exact time at which the
|
1878
|
+
# notification will be sent. In some cases, the gateway might require
|
1879
|
+
# more than the specified delay time to generate and send notifications.
|
1880
|
+
#
|
1804
1881
|
# </note>
|
1805
1882
|
#
|
1806
1883
|
# The following example sets `NotificationPolicy` on with
|
@@ -1853,6 +1930,7 @@ module Aws::StorageGateway
|
|
1853
1930
|
# resp = client.create_smb_file_share({
|
1854
1931
|
# client_token: "ClientToken", # required
|
1855
1932
|
# gateway_arn: "GatewayARN", # required
|
1933
|
+
# encryption_type: "SseS3", # accepts SseS3, SseKms, DsseKms
|
1856
1934
|
# kms_encrypted: false,
|
1857
1935
|
# kms_key: "KMSKey",
|
1858
1936
|
# role: "Role", # required
|
@@ -3701,6 +3779,7 @@ module Aws::StorageGateway
|
|
3701
3779
|
# resp.nfs_file_share_info_list[0].file_share_id #=> String
|
3702
3780
|
# resp.nfs_file_share_info_list[0].file_share_status #=> String
|
3703
3781
|
# resp.nfs_file_share_info_list[0].gateway_arn #=> String
|
3782
|
+
# resp.nfs_file_share_info_list[0].encryption_type #=> String, one of "SseS3", "SseKms", "DsseKms"
|
3704
3783
|
# resp.nfs_file_share_info_list[0].kms_encrypted #=> Boolean
|
3705
3784
|
# resp.nfs_file_share_info_list[0].kms_key #=> String
|
3706
3785
|
# resp.nfs_file_share_info_list[0].path #=> String
|
@@ -3758,6 +3837,7 @@ module Aws::StorageGateway
|
|
3758
3837
|
# resp.smb_file_share_info_list[0].file_share_id #=> String
|
3759
3838
|
# resp.smb_file_share_info_list[0].file_share_status #=> String
|
3760
3839
|
# resp.smb_file_share_info_list[0].gateway_arn #=> String
|
3840
|
+
# resp.smb_file_share_info_list[0].encryption_type #=> String, one of "SseS3", "SseKms", "DsseKms"
|
3761
3841
|
# resp.smb_file_share_info_list[0].kms_encrypted #=> Boolean
|
3762
3842
|
# resp.smb_file_share_info_list[0].kms_key #=> String
|
3763
3843
|
# resp.smb_file_share_info_list[0].path #=> String
|
@@ -6654,7 +6734,11 @@ module Aws::StorageGateway
|
|
6654
6734
|
# `ALL_VERSIONS` - Enables regular gateway maintenance updates.
|
6655
6735
|
#
|
6656
6736
|
# `EMERGENCY_VERSIONS_ONLY` - Disables regular gateway maintenance
|
6657
|
-
# updates.
|
6737
|
+
# updates. The gateway will still receive emergency version updates on
|
6738
|
+
# rare occasions if necessary to remedy highly critical security or
|
6739
|
+
# durability issues. You will be notified before an emergency version
|
6740
|
+
# update is applied. These updates are applied during your gateway's
|
6741
|
+
# scheduled maintenance window.
|
6658
6742
|
#
|
6659
6743
|
# @return [Types::UpdateMaintenanceStartTimeOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6660
6744
|
#
|
@@ -6727,17 +6811,48 @@ module Aws::StorageGateway
|
|
6727
6811
|
# @option params [required, String] :file_share_arn
|
6728
6812
|
# The Amazon Resource Name (ARN) of the file share to be updated.
|
6729
6813
|
#
|
6814
|
+
# @option params [String] :encryption_type
|
6815
|
+
# A value that specifies the type of server-side encryption that the
|
6816
|
+
# file share will use for the data that it stores in Amazon S3.
|
6817
|
+
#
|
6818
|
+
# <note markdown="1"> We recommend using `EncryptionType` instead of `KMSEncrypted` to set
|
6819
|
+
# the file share encryption method. You do not need to provide values
|
6820
|
+
# for both parameters.
|
6821
|
+
#
|
6822
|
+
# If values for both parameters exist in the same request, then the
|
6823
|
+
# specified encryption methods must not conflict. For example, if
|
6824
|
+
# `EncryptionType` is `SseS3`, then `KMSEncrypted` must be `false`. If
|
6825
|
+
# `EncryptionType` is `SseKms` or `DsseKms`, then `KMSEncrypted` must be
|
6826
|
+
# `true`.
|
6827
|
+
#
|
6828
|
+
# </note>
|
6829
|
+
#
|
6730
6830
|
# @option params [Boolean] :kms_encrypted
|
6731
|
-
# Set to `true` to use Amazon S3 server-side encryption with
|
6732
|
-
# KMS key, or `false` to use a key managed by Amazon
|
6831
|
+
# Optional. Set to `true` to use Amazon S3 server-side encryption with
|
6832
|
+
# your own KMS key (SSE-KMS), or `false` to use a key managed by Amazon
|
6833
|
+
# S3 (SSE-S3). To use dual-layer encryption (DSSE-KMS), set the
|
6834
|
+
# `EncryptionType` parameter instead.
|
6835
|
+
#
|
6836
|
+
# <note markdown="1"> We recommend using `EncryptionType` instead of `KMSEncrypted` to set
|
6837
|
+
# the file share encryption method. You do not need to provide values
|
6838
|
+
# for both parameters.
|
6839
|
+
#
|
6840
|
+
# If values for both parameters exist in the same request, then the
|
6841
|
+
# specified encryption methods must not conflict. For example, if
|
6842
|
+
# `EncryptionType` is `SseS3`, then `KMSEncrypted` must be `false`. If
|
6843
|
+
# `EncryptionType` is `SseKms` or `DsseKms`, then `KMSEncrypted` must be
|
6844
|
+
# `true`.
|
6845
|
+
#
|
6846
|
+
# </note>
|
6733
6847
|
#
|
6734
6848
|
# Valid Values: `true` \| `false`
|
6735
6849
|
#
|
6736
6850
|
# @option params [String] :kms_key
|
6737
|
-
# The Amazon Resource Name (ARN) of a symmetric customer
|
6738
|
-
# (CMK) used for Amazon S3 server-side encryption. Storage
|
6739
|
-
# not support asymmetric CMKs. This value
|
6740
|
-
# `KMSEncrypted` is `true
|
6851
|
+
# Optional. The Amazon Resource Name (ARN) of a symmetric customer
|
6852
|
+
# master key (CMK) used for Amazon S3 server-side encryption. Storage
|
6853
|
+
# Gateway does not support asymmetric CMKs. This value must be set if
|
6854
|
+
# `KMSEncrypted` is `true`, or if `EncryptionType` is `SseKms` or
|
6855
|
+
# `DsseKms`.
|
6741
6856
|
#
|
6742
6857
|
# @option params [Types::NFSFileShareDefaults] :nfs_file_share_defaults
|
6743
6858
|
# The default values for the file share. Optional.
|
@@ -6820,6 +6935,10 @@ module Aws::StorageGateway
|
|
6820
6935
|
# <note markdown="1"> `SettlingTimeInSeconds` has no effect on the timing of the object
|
6821
6936
|
# uploading to Amazon S3, only the timing of the notification.
|
6822
6937
|
#
|
6938
|
+
# This setting is not meant to specify an exact time at which the
|
6939
|
+
# notification will be sent. In some cases, the gateway might require
|
6940
|
+
# more than the specified delay time to generate and send notifications.
|
6941
|
+
#
|
6823
6942
|
# </note>
|
6824
6943
|
#
|
6825
6944
|
# The following example sets `NotificationPolicy` on with
|
@@ -6842,6 +6961,7 @@ module Aws::StorageGateway
|
|
6842
6961
|
#
|
6843
6962
|
# resp = client.update_nfs_file_share({
|
6844
6963
|
# file_share_arn: "FileShareARN", # required
|
6964
|
+
# encryption_type: "SseS3", # accepts SseS3, SseKms, DsseKms
|
6845
6965
|
# kms_encrypted: false,
|
6846
6966
|
# kms_key: "KMSKey",
|
6847
6967
|
# nfs_file_share_defaults: {
|
@@ -6908,17 +7028,48 @@ module Aws::StorageGateway
|
|
6908
7028
|
# The Amazon Resource Name (ARN) of the SMB file share that you want to
|
6909
7029
|
# update.
|
6910
7030
|
#
|
7031
|
+
# @option params [String] :encryption_type
|
7032
|
+
# A value that specifies the type of server-side encryption that the
|
7033
|
+
# file share will use for the data that it stores in Amazon S3.
|
7034
|
+
#
|
7035
|
+
# <note markdown="1"> We recommend using `EncryptionType` instead of `KMSEncrypted` to set
|
7036
|
+
# the file share encryption method. You do not need to provide values
|
7037
|
+
# for both parameters.
|
7038
|
+
#
|
7039
|
+
# If values for both parameters exist in the same request, then the
|
7040
|
+
# specified encryption methods must not conflict. For example, if
|
7041
|
+
# `EncryptionType` is `SseS3`, then `KMSEncrypted` must be `false`. If
|
7042
|
+
# `EncryptionType` is `SseKms` or `DsseKms`, then `KMSEncrypted` must be
|
7043
|
+
# `true`.
|
7044
|
+
#
|
7045
|
+
# </note>
|
7046
|
+
#
|
6911
7047
|
# @option params [Boolean] :kms_encrypted
|
6912
|
-
# Set to `true` to use Amazon S3 server-side encryption with
|
6913
|
-
# KMS key, or `false` to use a key managed by Amazon
|
7048
|
+
# Optional. Set to `true` to use Amazon S3 server-side encryption with
|
7049
|
+
# your own KMS key (SSE-KMS), or `false` to use a key managed by Amazon
|
7050
|
+
# S3 (SSE-S3). To use dual-layer encryption (DSSE-KMS), set the
|
7051
|
+
# `EncryptionType` parameter instead.
|
7052
|
+
#
|
7053
|
+
# <note markdown="1"> We recommend using `EncryptionType` instead of `KMSEncrypted` to set
|
7054
|
+
# the file share encryption method. You do not need to provide values
|
7055
|
+
# for both parameters.
|
7056
|
+
#
|
7057
|
+
# If values for both parameters exist in the same request, then the
|
7058
|
+
# specified encryption methods must not conflict. For example, if
|
7059
|
+
# `EncryptionType` is `SseS3`, then `KMSEncrypted` must be `false`. If
|
7060
|
+
# `EncryptionType` is `SseKms` or `DsseKms`, then `KMSEncrypted` must be
|
7061
|
+
# `true`.
|
7062
|
+
#
|
7063
|
+
# </note>
|
6914
7064
|
#
|
6915
7065
|
# Valid Values: `true` \| `false`
|
6916
7066
|
#
|
6917
7067
|
# @option params [String] :kms_key
|
6918
|
-
# The Amazon Resource Name (ARN) of a symmetric customer
|
6919
|
-
# (CMK) used for Amazon S3 server-side encryption. Storage
|
6920
|
-
# not support asymmetric CMKs. This value
|
6921
|
-
# `KMSEncrypted` is `true
|
7068
|
+
# Optional. The Amazon Resource Name (ARN) of a symmetric customer
|
7069
|
+
# master key (CMK) used for Amazon S3 server-side encryption. Storage
|
7070
|
+
# Gateway does not support asymmetric CMKs. This value must be set if
|
7071
|
+
# `KMSEncrypted` is `true`, or if `EncryptionType` is `SseKms` or
|
7072
|
+
# `DsseKms`.
|
6922
7073
|
#
|
6923
7074
|
# @option params [String] :default_storage_class
|
6924
7075
|
# The default storage class for objects put into an Amazon S3 bucket by
|
@@ -6965,14 +7116,14 @@ module Aws::StorageGateway
|
|
6965
7116
|
# SMB file share. Set it to `false` to map file and directory
|
6966
7117
|
# permissions to the POSIX permissions.
|
6967
7118
|
#
|
6968
|
-
# For more information, see [Using
|
6969
|
-
# access
|
7119
|
+
# For more information, see [Using Windows ACLs to limit SMB file share
|
7120
|
+
# access][1] in the *Amazon S3 File Gateway User Guide*.
|
6970
7121
|
#
|
6971
7122
|
# Valid Values: `true` \| `false`
|
6972
7123
|
#
|
6973
7124
|
#
|
6974
7125
|
#
|
6975
|
-
# [1]: https://docs.aws.amazon.com/
|
7126
|
+
# [1]: https://docs.aws.amazon.com/filegateway/latest/files3/smb-acl.html
|
6976
7127
|
#
|
6977
7128
|
# @option params [Boolean] :access_based_enumeration
|
6978
7129
|
# The files and folders on this share will only be visible to users with
|
@@ -7031,6 +7182,10 @@ module Aws::StorageGateway
|
|
7031
7182
|
# <note markdown="1"> `SettlingTimeInSeconds` has no effect on the timing of the object
|
7032
7183
|
# uploading to Amazon S3, only the timing of the notification.
|
7033
7184
|
#
|
7185
|
+
# This setting is not meant to specify an exact time at which the
|
7186
|
+
# notification will be sent. In some cases, the gateway might require
|
7187
|
+
# more than the specified delay time to generate and send notifications.
|
7188
|
+
#
|
7034
7189
|
# </note>
|
7035
7190
|
#
|
7036
7191
|
# The following example sets `NotificationPolicy` on with
|
@@ -7062,6 +7217,7 @@ module Aws::StorageGateway
|
|
7062
7217
|
#
|
7063
7218
|
# resp = client.update_smb_file_share({
|
7064
7219
|
# file_share_arn: "FileShareARN", # required
|
7220
|
+
# encryption_type: "SseS3", # accepts SseS3, SseKms, DsseKms
|
7065
7221
|
# kms_encrypted: false,
|
7066
7222
|
# kms_key: "KMSKey",
|
7067
7223
|
# default_storage_class: "StorageClass",
|
@@ -7403,7 +7559,7 @@ module Aws::StorageGateway
|
|
7403
7559
|
tracer: tracer
|
7404
7560
|
)
|
7405
7561
|
context[:gem_name] = 'aws-sdk-storagegateway'
|
7406
|
-
context[:gem_version] = '1.
|
7562
|
+
context[:gem_version] = '1.96.0'
|
7407
7563
|
Seahorse::Client::Request.new(handlers, context)
|
7408
7564
|
end
|
7409
7565
|
|
@@ -165,6 +165,7 @@ module Aws::StorageGateway
|
|
165
165
|
DoubleObject = Shapes::FloatShape.new(name: 'DoubleObject')
|
166
166
|
Ec2InstanceId = Shapes::StringShape.new(name: 'Ec2InstanceId')
|
167
167
|
Ec2InstanceRegion = Shapes::StringShape.new(name: 'Ec2InstanceRegion')
|
168
|
+
EncryptionType = Shapes::StringShape.new(name: 'EncryptionType')
|
168
169
|
EndpointNetworkConfiguration = Shapes::StructureShape.new(name: 'EndpointNetworkConfiguration')
|
169
170
|
EndpointType = Shapes::StringShape.new(name: 'EndpointType')
|
170
171
|
ErrorCode = Shapes::StringShape.new(name: 'ErrorCode')
|
@@ -561,7 +562,8 @@ module Aws::StorageGateway
|
|
561
562
|
CreateNFSFileShareInput.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "ClientToken"))
|
562
563
|
CreateNFSFileShareInput.add_member(:nfs_file_share_defaults, Shapes::ShapeRef.new(shape: NFSFileShareDefaults, location_name: "NFSFileShareDefaults"))
|
563
564
|
CreateNFSFileShareInput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayARN, required: true, location_name: "GatewayARN"))
|
564
|
-
CreateNFSFileShareInput.add_member(:
|
565
|
+
CreateNFSFileShareInput.add_member(:encryption_type, Shapes::ShapeRef.new(shape: EncryptionType, location_name: "EncryptionType"))
|
566
|
+
CreateNFSFileShareInput.add_member(:kms_encrypted, Shapes::ShapeRef.new(shape: Boolean, deprecated: true, location_name: "KMSEncrypted", metadata: {"deprecatedMessage"=>"KMSEncrypted is deprecated, use EncryptionType instead."}))
|
565
567
|
CreateNFSFileShareInput.add_member(:kms_key, Shapes::ShapeRef.new(shape: KMSKey, location_name: "KMSKey"))
|
566
568
|
CreateNFSFileShareInput.add_member(:role, Shapes::ShapeRef.new(shape: Role, required: true, location_name: "Role"))
|
567
569
|
CreateNFSFileShareInput.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationARN, required: true, location_name: "LocationARN"))
|
@@ -586,7 +588,8 @@ module Aws::StorageGateway
|
|
586
588
|
|
587
589
|
CreateSMBFileShareInput.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "ClientToken"))
|
588
590
|
CreateSMBFileShareInput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayARN, required: true, location_name: "GatewayARN"))
|
589
|
-
CreateSMBFileShareInput.add_member(:
|
591
|
+
CreateSMBFileShareInput.add_member(:encryption_type, Shapes::ShapeRef.new(shape: EncryptionType, location_name: "EncryptionType"))
|
592
|
+
CreateSMBFileShareInput.add_member(:kms_encrypted, Shapes::ShapeRef.new(shape: Boolean, deprecated: true, location_name: "KMSEncrypted", metadata: {"deprecatedMessage"=>"KMSEncrypted is deprecated, use EncryptionType instead."}))
|
590
593
|
CreateSMBFileShareInput.add_member(:kms_key, Shapes::ShapeRef.new(shape: KMSKey, location_name: "KMSKey"))
|
591
594
|
CreateSMBFileShareInput.add_member(:role, Shapes::ShapeRef.new(shape: Role, required: true, location_name: "Role"))
|
592
595
|
CreateSMBFileShareInput.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationARN, required: true, location_name: "LocationARN"))
|
@@ -1183,7 +1186,8 @@ module Aws::StorageGateway
|
|
1183
1186
|
NFSFileShareInfo.add_member(:file_share_id, Shapes::ShapeRef.new(shape: FileShareId, location_name: "FileShareId"))
|
1184
1187
|
NFSFileShareInfo.add_member(:file_share_status, Shapes::ShapeRef.new(shape: FileShareStatus, location_name: "FileShareStatus"))
|
1185
1188
|
NFSFileShareInfo.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayARN, location_name: "GatewayARN"))
|
1186
|
-
NFSFileShareInfo.add_member(:
|
1189
|
+
NFSFileShareInfo.add_member(:encryption_type, Shapes::ShapeRef.new(shape: EncryptionType, location_name: "EncryptionType"))
|
1190
|
+
NFSFileShareInfo.add_member(:kms_encrypted, Shapes::ShapeRef.new(shape: boolean, deprecated: true, location_name: "KMSEncrypted", metadata: {"deprecatedMessage"=>"KMSEncrypted is deprecated, use EncryptionType instead."}))
|
1187
1191
|
NFSFileShareInfo.add_member(:kms_key, Shapes::ShapeRef.new(shape: KMSKey, location_name: "KMSKey"))
|
1188
1192
|
NFSFileShareInfo.add_member(:path, Shapes::ShapeRef.new(shape: Path, location_name: "Path"))
|
1189
1193
|
NFSFileShareInfo.add_member(:role, Shapes::ShapeRef.new(shape: Role, location_name: "Role"))
|
@@ -1270,7 +1274,8 @@ module Aws::StorageGateway
|
|
1270
1274
|
SMBFileShareInfo.add_member(:file_share_id, Shapes::ShapeRef.new(shape: FileShareId, location_name: "FileShareId"))
|
1271
1275
|
SMBFileShareInfo.add_member(:file_share_status, Shapes::ShapeRef.new(shape: FileShareStatus, location_name: "FileShareStatus"))
|
1272
1276
|
SMBFileShareInfo.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayARN, location_name: "GatewayARN"))
|
1273
|
-
SMBFileShareInfo.add_member(:
|
1277
|
+
SMBFileShareInfo.add_member(:encryption_type, Shapes::ShapeRef.new(shape: EncryptionType, location_name: "EncryptionType"))
|
1278
|
+
SMBFileShareInfo.add_member(:kms_encrypted, Shapes::ShapeRef.new(shape: boolean, deprecated: true, location_name: "KMSEncrypted", metadata: {"deprecatedMessage"=>"KMSEncrypted is deprecated, use EncryptionType instead."}))
|
1274
1279
|
SMBFileShareInfo.add_member(:kms_key, Shapes::ShapeRef.new(shape: KMSKey, location_name: "KMSKey"))
|
1275
1280
|
SMBFileShareInfo.add_member(:path, Shapes::ShapeRef.new(shape: Path, location_name: "Path"))
|
1276
1281
|
SMBFileShareInfo.add_member(:role, Shapes::ShapeRef.new(shape: Role, location_name: "Role"))
|
@@ -1501,7 +1506,8 @@ module Aws::StorageGateway
|
|
1501
1506
|
UpdateMaintenanceStartTimeOutput.struct_class = Types::UpdateMaintenanceStartTimeOutput
|
1502
1507
|
|
1503
1508
|
UpdateNFSFileShareInput.add_member(:file_share_arn, Shapes::ShapeRef.new(shape: FileShareARN, required: true, location_name: "FileShareARN"))
|
1504
|
-
UpdateNFSFileShareInput.add_member(:
|
1509
|
+
UpdateNFSFileShareInput.add_member(:encryption_type, Shapes::ShapeRef.new(shape: EncryptionType, location_name: "EncryptionType"))
|
1510
|
+
UpdateNFSFileShareInput.add_member(:kms_encrypted, Shapes::ShapeRef.new(shape: Boolean, deprecated: true, location_name: "KMSEncrypted", metadata: {"deprecatedMessage"=>"KMSEncrypted is deprecated, use EncryptionType instead."}))
|
1505
1511
|
UpdateNFSFileShareInput.add_member(:kms_key, Shapes::ShapeRef.new(shape: KMSKey, location_name: "KMSKey"))
|
1506
1512
|
UpdateNFSFileShareInput.add_member(:nfs_file_share_defaults, Shapes::ShapeRef.new(shape: NFSFileShareDefaults, location_name: "NFSFileShareDefaults"))
|
1507
1513
|
UpdateNFSFileShareInput.add_member(:default_storage_class, Shapes::ShapeRef.new(shape: StorageClass, location_name: "DefaultStorageClass"))
|
@@ -1521,7 +1527,8 @@ module Aws::StorageGateway
|
|
1521
1527
|
UpdateNFSFileShareOutput.struct_class = Types::UpdateNFSFileShareOutput
|
1522
1528
|
|
1523
1529
|
UpdateSMBFileShareInput.add_member(:file_share_arn, Shapes::ShapeRef.new(shape: FileShareARN, required: true, location_name: "FileShareARN"))
|
1524
|
-
UpdateSMBFileShareInput.add_member(:
|
1530
|
+
UpdateSMBFileShareInput.add_member(:encryption_type, Shapes::ShapeRef.new(shape: EncryptionType, location_name: "EncryptionType"))
|
1531
|
+
UpdateSMBFileShareInput.add_member(:kms_encrypted, Shapes::ShapeRef.new(shape: Boolean, deprecated: true, location_name: "KMSEncrypted", metadata: {"deprecatedMessage"=>"KMSEncrypted is deprecated, use EncryptionType instead."}))
|
1525
1532
|
UpdateSMBFileShareInput.add_member(:kms_key, Shapes::ShapeRef.new(shape: KMSKey, location_name: "KMSKey"))
|
1526
1533
|
UpdateSMBFileShareInput.add_member(:default_storage_class, Shapes::ShapeRef.new(shape: StorageClass, location_name: "DefaultStorageClass"))
|
1527
1534
|
UpdateSMBFileShareInput.add_member(:object_acl, Shapes::ShapeRef.new(shape: ObjectACL, location_name: "ObjectACL"))
|
@@ -15,11 +15,11 @@ module Aws::StorageGateway
|
|
15
15
|
:endpoint_provider,
|
16
16
|
doc_type: 'Aws::StorageGateway::EndpointProvider',
|
17
17
|
rbs_type: 'untyped',
|
18
|
-
docstring:
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
18
|
+
docstring: <<~DOCS) do |_cfg|
|
19
|
+
The endpoint provider used to resolve endpoints. Any object that responds to
|
20
|
+
`#resolve_endpoint(parameters)` where `parameters` is a Struct similar to
|
21
|
+
`Aws::StorageGateway::EndpointParameters`.
|
22
|
+
DOCS
|
23
23
|
Aws::StorageGateway::EndpointProvider.new
|
24
24
|
end
|
25
25
|
|
@@ -51,6 +51,9 @@ module Aws::StorageGateway
|
|
51
51
|
if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
|
52
52
|
metrics << 'SIGV4A_SIGNING'
|
53
53
|
end
|
54
|
+
if context.config.credentials&.credentials&.account_id
|
55
|
+
metrics << 'RESOLVED_ACCOUNT_ID'
|
56
|
+
end
|
54
57
|
Aws::Plugins::UserAgent.metric(*metrics, &block)
|
55
58
|
end
|
56
59
|
|
@@ -762,10 +762,11 @@ module Aws::StorageGateway
|
|
762
762
|
# @return [Integer]
|
763
763
|
#
|
764
764
|
# @!attribute [rw] kms_key
|
765
|
-
# The Amazon Resource Name (ARN) of a symmetric customer
|
766
|
-
# (CMK) used for Amazon S3 server-side encryption. Storage
|
767
|
-
# does not support asymmetric CMKs. This value
|
768
|
-
# `KMSEncrypted` is `true
|
765
|
+
# Optional. The Amazon Resource Name (ARN) of a symmetric customer
|
766
|
+
# master key (CMK) used for Amazon S3 server-side encryption. Storage
|
767
|
+
# Gateway does not support asymmetric CMKs. This value must be set if
|
768
|
+
# `KMSEncrypted` is `true`, or if `EncryptionType` is `SseKms` or
|
769
|
+
# `DsseKms`.
|
769
770
|
# @return [String]
|
770
771
|
#
|
771
772
|
# @!attribute [rw] target_name
|
@@ -1044,18 +1045,50 @@ module Aws::StorageGateway
|
|
1044
1045
|
# want to create a file share.
|
1045
1046
|
# @return [String]
|
1046
1047
|
#
|
1048
|
+
# @!attribute [rw] encryption_type
|
1049
|
+
# A value that specifies the type of server-side encryption that the
|
1050
|
+
# file share will use for the data that it stores in Amazon S3.
|
1051
|
+
#
|
1052
|
+
# <note markdown="1"> We recommend using `EncryptionType` instead of `KMSEncrypted` to set
|
1053
|
+
# the file share encryption method. You do not need to provide values
|
1054
|
+
# for both parameters.
|
1055
|
+
#
|
1056
|
+
# If values for both parameters exist in the same request, then the
|
1057
|
+
# specified encryption methods must not conflict. For example, if
|
1058
|
+
# `EncryptionType` is `SseS3`, then `KMSEncrypted` must be `false`. If
|
1059
|
+
# `EncryptionType` is `SseKms` or `DsseKms`, then `KMSEncrypted` must
|
1060
|
+
# be `true`.
|
1061
|
+
#
|
1062
|
+
# </note>
|
1063
|
+
# @return [String]
|
1064
|
+
#
|
1047
1065
|
# @!attribute [rw] kms_encrypted
|
1048
|
-
# Set to `true` to use Amazon S3 server-side encryption with
|
1049
|
-
# KMS key, or `false` to use a key managed by
|
1066
|
+
# Optional. Set to `true` to use Amazon S3 server-side encryption with
|
1067
|
+
# your own KMS key (SSE-KMS), or `false` to use a key managed by
|
1068
|
+
# Amazon S3 (SSE-S3). To use dual-layer encryption (DSSE-KMS), set the
|
1069
|
+
# `EncryptionType` parameter instead.
|
1070
|
+
#
|
1071
|
+
# <note markdown="1"> We recommend using `EncryptionType` instead of `KMSEncrypted` to set
|
1072
|
+
# the file share encryption method. You do not need to provide values
|
1073
|
+
# for both parameters.
|
1074
|
+
#
|
1075
|
+
# If values for both parameters exist in the same request, then the
|
1076
|
+
# specified encryption methods must not conflict. For example, if
|
1077
|
+
# `EncryptionType` is `SseS3`, then `KMSEncrypted` must be `false`. If
|
1078
|
+
# `EncryptionType` is `SseKms` or `DsseKms`, then `KMSEncrypted` must
|
1079
|
+
# be `true`.
|
1080
|
+
#
|
1081
|
+
# </note>
|
1050
1082
|
#
|
1051
1083
|
# Valid Values: `true` \| `false`
|
1052
1084
|
# @return [Boolean]
|
1053
1085
|
#
|
1054
1086
|
# @!attribute [rw] kms_key
|
1055
|
-
# The Amazon Resource Name (ARN) of a symmetric customer
|
1056
|
-
# (CMK) used for Amazon S3 server-side encryption. Storage
|
1057
|
-
# does not support asymmetric CMKs. This value
|
1058
|
-
# `KMSEncrypted` is `true
|
1087
|
+
# Optional. The Amazon Resource Name (ARN) of a symmetric customer
|
1088
|
+
# master key (CMK) used for Amazon S3 server-side encryption. Storage
|
1089
|
+
# Gateway does not support asymmetric CMKs. This value must be set if
|
1090
|
+
# `KMSEncrypted` is `true`, or if `EncryptionType` is `SseKms` or
|
1091
|
+
# `DsseKms`.
|
1059
1092
|
# @return [String]
|
1060
1093
|
#
|
1061
1094
|
# @!attribute [rw] role
|
@@ -1198,6 +1231,11 @@ module Aws::StorageGateway
|
|
1198
1231
|
# <note markdown="1"> `SettlingTimeInSeconds` has no effect on the timing of the object
|
1199
1232
|
# uploading to Amazon S3, only the timing of the notification.
|
1200
1233
|
#
|
1234
|
+
# This setting is not meant to specify an exact time at which the
|
1235
|
+
# notification will be sent. In some cases, the gateway might require
|
1236
|
+
# more than the specified delay time to generate and send
|
1237
|
+
# notifications.
|
1238
|
+
#
|
1201
1239
|
# </note>
|
1202
1240
|
#
|
1203
1241
|
# The following example sets `NotificationPolicy` on with
|
@@ -1242,6 +1280,7 @@ module Aws::StorageGateway
|
|
1242
1280
|
:client_token,
|
1243
1281
|
:nfs_file_share_defaults,
|
1244
1282
|
:gateway_arn,
|
1283
|
+
:encryption_type,
|
1245
1284
|
:kms_encrypted,
|
1246
1285
|
:kms_key,
|
1247
1286
|
:role,
|
@@ -1290,18 +1329,50 @@ module Aws::StorageGateway
|
|
1290
1329
|
# share.
|
1291
1330
|
# @return [String]
|
1292
1331
|
#
|
1332
|
+
# @!attribute [rw] encryption_type
|
1333
|
+
# A value that specifies the type of server-side encryption that the
|
1334
|
+
# file share will use for the data that it stores in Amazon S3.
|
1335
|
+
#
|
1336
|
+
# <note markdown="1"> We recommend using `EncryptionType` instead of `KMSEncrypted` to set
|
1337
|
+
# the file share encryption method. You do not need to provide values
|
1338
|
+
# for both parameters.
|
1339
|
+
#
|
1340
|
+
# If values for both parameters exist in the same request, then the
|
1341
|
+
# specified encryption methods must not conflict. For example, if
|
1342
|
+
# `EncryptionType` is `SseS3`, then `KMSEncrypted` must be `false`. If
|
1343
|
+
# `EncryptionType` is `SseKms` or `DsseKms`, then `KMSEncrypted` must
|
1344
|
+
# be `true`.
|
1345
|
+
#
|
1346
|
+
# </note>
|
1347
|
+
# @return [String]
|
1348
|
+
#
|
1293
1349
|
# @!attribute [rw] kms_encrypted
|
1294
|
-
# Set to `true` to use Amazon S3 server-side encryption with
|
1295
|
-
# KMS key, or `false` to use a key managed by
|
1350
|
+
# Optional. Set to `true` to use Amazon S3 server-side encryption with
|
1351
|
+
# your own KMS key (SSE-KMS), or `false` to use a key managed by
|
1352
|
+
# Amazon S3 (SSE-S3). To use dual-layer encryption (DSSE-KMS), set the
|
1353
|
+
# `EncryptionType` parameter instead.
|
1354
|
+
#
|
1355
|
+
# <note markdown="1"> We recommend using `EncryptionType` instead of `KMSEncrypted` to set
|
1356
|
+
# the file share encryption method. You do not need to provide values
|
1357
|
+
# for both parameters.
|
1358
|
+
#
|
1359
|
+
# If values for both parameters exist in the same request, then the
|
1360
|
+
# specified encryption methods must not conflict. For example, if
|
1361
|
+
# `EncryptionType` is `SseS3`, then `KMSEncrypted` must be `false`. If
|
1362
|
+
# `EncryptionType` is `SseKms` or `DsseKms`, then `KMSEncrypted` must
|
1363
|
+
# be `true`.
|
1364
|
+
#
|
1365
|
+
# </note>
|
1296
1366
|
#
|
1297
1367
|
# Valid Values: `true` \| `false`
|
1298
1368
|
# @return [Boolean]
|
1299
1369
|
#
|
1300
1370
|
# @!attribute [rw] kms_key
|
1301
|
-
# The Amazon Resource Name (ARN) of a symmetric customer
|
1302
|
-
# (CMK) used for Amazon S3 server-side encryption. Storage
|
1303
|
-
# does not support asymmetric CMKs. This value
|
1304
|
-
# `KMSEncrypted` is `true
|
1371
|
+
# Optional. The Amazon Resource Name (ARN) of a symmetric customer
|
1372
|
+
# master key (CMK) used for Amazon S3 server-side encryption. Storage
|
1373
|
+
# Gateway does not support asymmetric CMKs. This value must be set if
|
1374
|
+
# `KMSEncrypted` is `true`, or if `EncryptionType` is `SseKms` or
|
1375
|
+
# `DsseKms`.
|
1305
1376
|
# @return [String]
|
1306
1377
|
#
|
1307
1378
|
# @!attribute [rw] role
|
@@ -1394,14 +1465,14 @@ module Aws::StorageGateway
|
|
1394
1465
|
# SMB file share. Set it to `false` to map file and directory
|
1395
1466
|
# permissions to the POSIX permissions.
|
1396
1467
|
#
|
1397
|
-
# For more information, see [Using
|
1398
|
-
# access
|
1468
|
+
# For more information, see [Using Windows ACLs to limit SMB file
|
1469
|
+
# share access][1] in the *Amazon S3 File Gateway User Guide*.
|
1399
1470
|
#
|
1400
1471
|
# Valid Values: `true` \| `false`
|
1401
1472
|
#
|
1402
1473
|
#
|
1403
1474
|
#
|
1404
|
-
# [1]: https://docs.aws.amazon.com/
|
1475
|
+
# [1]: https://docs.aws.amazon.com/filegateway/latest/files3/smb-acl.html
|
1405
1476
|
# @return [Boolean]
|
1406
1477
|
#
|
1407
1478
|
# @!attribute [rw] access_based_enumeration
|
@@ -1491,6 +1562,11 @@ module Aws::StorageGateway
|
|
1491
1562
|
# <note markdown="1"> `SettlingTimeInSeconds` has no effect on the timing of the object
|
1492
1563
|
# uploading to Amazon S3, only the timing of the notification.
|
1493
1564
|
#
|
1565
|
+
# This setting is not meant to specify an exact time at which the
|
1566
|
+
# notification will be sent. In some cases, the gateway might require
|
1567
|
+
# more than the specified delay time to generate and send
|
1568
|
+
# notifications.
|
1569
|
+
#
|
1494
1570
|
# </note>
|
1495
1571
|
#
|
1496
1572
|
# The following example sets `NotificationPolicy` on with
|
@@ -1543,6 +1619,7 @@ module Aws::StorageGateway
|
|
1543
1619
|
class CreateSMBFileShareInput < Struct.new(
|
1544
1620
|
:client_token,
|
1545
1621
|
:gateway_arn,
|
1622
|
+
:encryption_type,
|
1546
1623
|
:kms_encrypted,
|
1547
1624
|
:kms_key,
|
1548
1625
|
:role,
|
@@ -2997,12 +3074,17 @@ module Aws::StorageGateway
|
|
2997
3074
|
# A set of variables indicating the software update preferences for
|
2998
3075
|
# the gateway.
|
2999
3076
|
#
|
3000
|
-
# Includes `AutomaticUpdatePolicy`
|
3077
|
+
# Includes `AutomaticUpdatePolicy` parameter with the following
|
3078
|
+
# inputs:
|
3001
3079
|
#
|
3002
3080
|
# `ALL_VERSIONS` - Enables regular gateway maintenance updates.
|
3003
3081
|
#
|
3004
3082
|
# `EMERGENCY_VERSIONS_ONLY` - Disables regular gateway maintenance
|
3005
|
-
# updates.
|
3083
|
+
# updates. The gateway will still receive emergency version updates on
|
3084
|
+
# rare occasions if necessary to remedy highly critical security or
|
3085
|
+
# durability issues. You will be notified before an emergency version
|
3086
|
+
# update is applied. These updates are applied during your gateway's
|
3087
|
+
# scheduled maintenance window.
|
3006
3088
|
# @return [Types::SoftwareUpdatePreferences]
|
3007
3089
|
#
|
3008
3090
|
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeMaintenanceStartTimeOutput AWS API Documentation
|
@@ -4857,18 +4939,50 @@ module Aws::StorageGateway
|
|
4857
4939
|
# Web Services Region.
|
4858
4940
|
# @return [String]
|
4859
4941
|
#
|
4942
|
+
# @!attribute [rw] encryption_type
|
4943
|
+
# A value that specifies the type of server-side encryption that the
|
4944
|
+
# file share will use for the data that it stores in Amazon S3.
|
4945
|
+
#
|
4946
|
+
# <note markdown="1"> We recommend using `EncryptionType` instead of `KMSEncrypted` to set
|
4947
|
+
# the file share encryption method. You do not need to provide values
|
4948
|
+
# for both parameters.
|
4949
|
+
#
|
4950
|
+
# If values for both parameters exist in the same request, then the
|
4951
|
+
# specified encryption methods must not conflict. For example, if
|
4952
|
+
# `EncryptionType` is `SseS3`, then `KMSEncrypted` must be `false`. If
|
4953
|
+
# `EncryptionType` is `SseKms` or `DsseKms`, then `KMSEncrypted` must
|
4954
|
+
# be `true`.
|
4955
|
+
#
|
4956
|
+
# </note>
|
4957
|
+
# @return [String]
|
4958
|
+
#
|
4860
4959
|
# @!attribute [rw] kms_encrypted
|
4861
|
-
# Set to `true` to use Amazon S3 server-side encryption with
|
4862
|
-
# KMS key, or `false` to use a key managed by
|
4960
|
+
# Optional. Set to `true` to use Amazon S3 server-side encryption with
|
4961
|
+
# your own KMS key (SSE-KMS), or `false` to use a key managed by
|
4962
|
+
# Amazon S3 (SSE-S3). To use dual-layer encryption (DSSE-KMS), set the
|
4963
|
+
# `EncryptionType` parameter instead.
|
4964
|
+
#
|
4965
|
+
# <note markdown="1"> We recommend using `EncryptionType` instead of `KMSEncrypted` to set
|
4966
|
+
# the file share encryption method. You do not need to provide values
|
4967
|
+
# for both parameters.
|
4968
|
+
#
|
4969
|
+
# If values for both parameters exist in the same request, then the
|
4970
|
+
# specified encryption methods must not conflict. For example, if
|
4971
|
+
# `EncryptionType` is `SseS3`, then `KMSEncrypted` must be `false`. If
|
4972
|
+
# `EncryptionType` is `SseKms` or `DsseKms`, then `KMSEncrypted` must
|
4973
|
+
# be `true`.
|
4974
|
+
#
|
4975
|
+
# </note>
|
4863
4976
|
#
|
4864
4977
|
# Valid Values: `true` \| `false`
|
4865
4978
|
# @return [Boolean]
|
4866
4979
|
#
|
4867
4980
|
# @!attribute [rw] kms_key
|
4868
|
-
# The Amazon Resource Name (ARN) of a symmetric customer
|
4869
|
-
# (CMK) used for Amazon S3 server-side encryption. Storage
|
4870
|
-
# does not support asymmetric CMKs. This value
|
4871
|
-
# `KMSEncrypted` is `true
|
4981
|
+
# Optional. The Amazon Resource Name (ARN) of a symmetric customer
|
4982
|
+
# master key (CMK) used for Amazon S3 server-side encryption. Storage
|
4983
|
+
# Gateway does not support asymmetric CMKs. This value must be set if
|
4984
|
+
# `KMSEncrypted` is `true`, or if `EncryptionType` is `SseKms` or
|
4985
|
+
# `DsseKms`.
|
4872
4986
|
# @return [String]
|
4873
4987
|
#
|
4874
4988
|
# @!attribute [rw] path
|
@@ -5009,6 +5123,11 @@ module Aws::StorageGateway
|
|
5009
5123
|
# <note markdown="1"> `SettlingTimeInSeconds` has no effect on the timing of the object
|
5010
5124
|
# uploading to Amazon S3, only the timing of the notification.
|
5011
5125
|
#
|
5126
|
+
# This setting is not meant to specify an exact time at which the
|
5127
|
+
# notification will be sent. In some cases, the gateway might require
|
5128
|
+
# more than the specified delay time to generate and send
|
5129
|
+
# notifications.
|
5130
|
+
#
|
5012
5131
|
# </note>
|
5013
5132
|
#
|
5014
5133
|
# The following example sets `NotificationPolicy` on with
|
@@ -5055,6 +5174,7 @@ module Aws::StorageGateway
|
|
5055
5174
|
:file_share_id,
|
5056
5175
|
:file_share_status,
|
5057
5176
|
:gateway_arn,
|
5177
|
+
:encryption_type,
|
5058
5178
|
:kms_encrypted,
|
5059
5179
|
:kms_key,
|
5060
5180
|
:path,
|
@@ -5413,18 +5533,50 @@ module Aws::StorageGateway
|
|
5413
5533
|
# Web Services Region.
|
5414
5534
|
# @return [String]
|
5415
5535
|
#
|
5536
|
+
# @!attribute [rw] encryption_type
|
5537
|
+
# A value that specifies the type of server-side encryption that the
|
5538
|
+
# file share will use for the data that it stores in Amazon S3.
|
5539
|
+
#
|
5540
|
+
# <note markdown="1"> We recommend using `EncryptionType` instead of `KMSEncrypted` to set
|
5541
|
+
# the file share encryption method. You do not need to provide values
|
5542
|
+
# for both parameters.
|
5543
|
+
#
|
5544
|
+
# If values for both parameters exist in the same request, then the
|
5545
|
+
# specified encryption methods must not conflict. For example, if
|
5546
|
+
# `EncryptionType` is `SseS3`, then `KMSEncrypted` must be `false`. If
|
5547
|
+
# `EncryptionType` is `SseKms` or `DsseKms`, then `KMSEncrypted` must
|
5548
|
+
# be `true`.
|
5549
|
+
#
|
5550
|
+
# </note>
|
5551
|
+
# @return [String]
|
5552
|
+
#
|
5416
5553
|
# @!attribute [rw] kms_encrypted
|
5417
|
-
# Set to `true` to use Amazon S3 server-side encryption with
|
5418
|
-
# KMS key, or `false` to use a key managed by
|
5554
|
+
# Optional. Set to `true` to use Amazon S3 server-side encryption with
|
5555
|
+
# your own KMS key (SSE-KMS), or `false` to use a key managed by
|
5556
|
+
# Amazon S3 (SSE-S3). To use dual-layer encryption (DSSE-KMS), set the
|
5557
|
+
# `EncryptionType` parameter instead.
|
5558
|
+
#
|
5559
|
+
# <note markdown="1"> We recommend using `EncryptionType` instead of `KMSEncrypted` to set
|
5560
|
+
# the file share encryption method. You do not need to provide values
|
5561
|
+
# for both parameters.
|
5562
|
+
#
|
5563
|
+
# If values for both parameters exist in the same request, then the
|
5564
|
+
# specified encryption methods must not conflict. For example, if
|
5565
|
+
# `EncryptionType` is `SseS3`, then `KMSEncrypted` must be `false`. If
|
5566
|
+
# `EncryptionType` is `SseKms` or `DsseKms`, then `KMSEncrypted` must
|
5567
|
+
# be `true`.
|
5568
|
+
#
|
5569
|
+
# </note>
|
5419
5570
|
#
|
5420
5571
|
# Valid Values: `true` \| `false`
|
5421
5572
|
# @return [Boolean]
|
5422
5573
|
#
|
5423
5574
|
# @!attribute [rw] kms_key
|
5424
|
-
# The Amazon Resource Name (ARN) of a symmetric customer
|
5425
|
-
# (CMK) used for Amazon S3 server-side encryption. Storage
|
5426
|
-
# does not support asymmetric CMKs. This value
|
5427
|
-
# `KMSEncrypted` is `true
|
5575
|
+
# Optional. The Amazon Resource Name (ARN) of a symmetric customer
|
5576
|
+
# master key (CMK) used for Amazon S3 server-side encryption. Storage
|
5577
|
+
# Gateway does not support asymmetric CMKs. This value must be set if
|
5578
|
+
# `KMSEncrypted` is `true`, or if `EncryptionType` is `SseKms` or
|
5579
|
+
# `DsseKms`.
|
5428
5580
|
# @return [String]
|
5429
5581
|
#
|
5430
5582
|
# @!attribute [rw] path
|
@@ -5523,12 +5675,12 @@ module Aws::StorageGateway
|
|
5523
5675
|
# `false`, it indicates that file and directory permissions are mapped
|
5524
5676
|
# to the POSIX permission.
|
5525
5677
|
#
|
5526
|
-
# For more information, see [Using
|
5527
|
-
# access
|
5678
|
+
# For more information, see [Using Windows ACLs to limit SMB file
|
5679
|
+
# share access][1] in the *Amazon S3 File Gateway User Guide*.
|
5528
5680
|
#
|
5529
5681
|
#
|
5530
5682
|
#
|
5531
|
-
# [1]: https://docs.aws.amazon.com/
|
5683
|
+
# [1]: https://docs.aws.amazon.com/filegateway/latest/files3/smb-acl.html
|
5532
5684
|
# @return [Boolean]
|
5533
5685
|
#
|
5534
5686
|
# @!attribute [rw] access_based_enumeration
|
@@ -5609,6 +5761,11 @@ module Aws::StorageGateway
|
|
5609
5761
|
# <note markdown="1"> `SettlingTimeInSeconds` has no effect on the timing of the object
|
5610
5762
|
# uploading to Amazon S3, only the timing of the notification.
|
5611
5763
|
#
|
5764
|
+
# This setting is not meant to specify an exact time at which the
|
5765
|
+
# notification will be sent. In some cases, the gateway might require
|
5766
|
+
# more than the specified delay time to generate and send
|
5767
|
+
# notifications.
|
5768
|
+
#
|
5612
5769
|
# </note>
|
5613
5770
|
#
|
5614
5771
|
# The following example sets `NotificationPolicy` on with
|
@@ -5663,6 +5820,7 @@ module Aws::StorageGateway
|
|
5663
5820
|
:file_share_id,
|
5664
5821
|
:file_share_status,
|
5665
5822
|
:gateway_arn,
|
5823
|
+
:encryption_type,
|
5666
5824
|
:kms_encrypted,
|
5667
5825
|
:kms_key,
|
5668
5826
|
:path,
|
@@ -5845,7 +6003,11 @@ module Aws::StorageGateway
|
|
5845
6003
|
# `ALL_VERSIONS` - Enables regular gateway maintenance updates.
|
5846
6004
|
#
|
5847
6005
|
# `EMERGENCY_VERSIONS_ONLY` - Disables regular gateway maintenance
|
5848
|
-
# updates.
|
6006
|
+
# updates. The gateway will still receive emergency version updates on
|
6007
|
+
# rare occasions if necessary to remedy highly critical security or
|
6008
|
+
# durability issues. You will be notified before an emergency version
|
6009
|
+
# update is applied. These updates are applied during your gateway's
|
6010
|
+
# scheduled maintenance window.
|
5849
6011
|
# @return [String]
|
5850
6012
|
#
|
5851
6013
|
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/SoftwareUpdatePreferences AWS API Documentation
|
@@ -6026,10 +6188,11 @@ module Aws::StorageGateway
|
|
6026
6188
|
# @return [Integer]
|
6027
6189
|
#
|
6028
6190
|
# @!attribute [rw] kms_key
|
6029
|
-
# The Amazon Resource Name (ARN) of a symmetric customer
|
6030
|
-
# (CMK) used for Amazon S3 server-side encryption. Storage
|
6031
|
-
# does not support asymmetric CMKs. This value
|
6032
|
-
# `KMSEncrypted` is `true
|
6191
|
+
# Optional. The Amazon Resource Name (ARN) of a symmetric customer
|
6192
|
+
# master key (CMK) used for Amazon S3 server-side encryption. Storage
|
6193
|
+
# Gateway does not support asymmetric CMKs. This value must be set if
|
6194
|
+
# `KMSEncrypted` is `true`, or if `EncryptionType` is `SseKms` or
|
6195
|
+
# `DsseKms`.
|
6033
6196
|
# @return [String]
|
6034
6197
|
#
|
6035
6198
|
# @!attribute [rw] target_name
|
@@ -6129,10 +6292,11 @@ module Aws::StorageGateway
|
|
6129
6292
|
# @return [Integer]
|
6130
6293
|
#
|
6131
6294
|
# @!attribute [rw] kms_key
|
6132
|
-
# The Amazon Resource Name (ARN) of a symmetric customer
|
6133
|
-
# (CMK) used for Amazon S3 server-side encryption. Storage
|
6134
|
-
# does not support asymmetric CMKs. This value
|
6135
|
-
# `KMSEncrypted` is `true
|
6295
|
+
# Optional. The Amazon Resource Name (ARN) of a symmetric customer
|
6296
|
+
# master key (CMK) used for Amazon S3 server-side encryption. Storage
|
6297
|
+
# Gateway does not support asymmetric CMKs. This value must be set if
|
6298
|
+
# `KMSEncrypted` is `true`, or if `EncryptionType` is `SseKms` or
|
6299
|
+
# `DsseKms`.
|
6136
6300
|
# @return [String]
|
6137
6301
|
#
|
6138
6302
|
# @!attribute [rw] pool_id
|
@@ -6224,10 +6388,11 @@ module Aws::StorageGateway
|
|
6224
6388
|
# @return [Integer]
|
6225
6389
|
#
|
6226
6390
|
# @!attribute [rw] kms_key
|
6227
|
-
# The Amazon Resource Name (ARN) of a symmetric customer
|
6228
|
-
# (CMK) used for Amazon S3 server-side encryption. Storage
|
6229
|
-
# does not support asymmetric CMKs. This value
|
6230
|
-
# `KMSEncrypted` is `true
|
6391
|
+
# Optional. The Amazon Resource Name (ARN) of a symmetric customer
|
6392
|
+
# master key (CMK) used for Amazon S3 server-side encryption. Storage
|
6393
|
+
# Gateway does not support asymmetric CMKs. This value must be set if
|
6394
|
+
# `KMSEncrypted` is `true`, or if `EncryptionType` is `SseKms` or
|
6395
|
+
# `DsseKms`.
|
6231
6396
|
# @return [String]
|
6232
6397
|
#
|
6233
6398
|
# @!attribute [rw] pool_id
|
@@ -6759,7 +6924,11 @@ module Aws::StorageGateway
|
|
6759
6924
|
# `ALL_VERSIONS` - Enables regular gateway maintenance updates.
|
6760
6925
|
#
|
6761
6926
|
# `EMERGENCY_VERSIONS_ONLY` - Disables regular gateway maintenance
|
6762
|
-
# updates.
|
6927
|
+
# updates. The gateway will still receive emergency version updates on
|
6928
|
+
# rare occasions if necessary to remedy highly critical security or
|
6929
|
+
# durability issues. You will be notified before an emergency version
|
6930
|
+
# update is applied. These updates are applied during your gateway's
|
6931
|
+
# scheduled maintenance window.
|
6763
6932
|
# @return [Types::SoftwareUpdatePreferences]
|
6764
6933
|
#
|
6765
6934
|
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateMaintenanceStartTimeInput AWS API Documentation
|
@@ -6798,18 +6967,50 @@ module Aws::StorageGateway
|
|
6798
6967
|
# The Amazon Resource Name (ARN) of the file share to be updated.
|
6799
6968
|
# @return [String]
|
6800
6969
|
#
|
6970
|
+
# @!attribute [rw] encryption_type
|
6971
|
+
# A value that specifies the type of server-side encryption that the
|
6972
|
+
# file share will use for the data that it stores in Amazon S3.
|
6973
|
+
#
|
6974
|
+
# <note markdown="1"> We recommend using `EncryptionType` instead of `KMSEncrypted` to set
|
6975
|
+
# the file share encryption method. You do not need to provide values
|
6976
|
+
# for both parameters.
|
6977
|
+
#
|
6978
|
+
# If values for both parameters exist in the same request, then the
|
6979
|
+
# specified encryption methods must not conflict. For example, if
|
6980
|
+
# `EncryptionType` is `SseS3`, then `KMSEncrypted` must be `false`. If
|
6981
|
+
# `EncryptionType` is `SseKms` or `DsseKms`, then `KMSEncrypted` must
|
6982
|
+
# be `true`.
|
6983
|
+
#
|
6984
|
+
# </note>
|
6985
|
+
# @return [String]
|
6986
|
+
#
|
6801
6987
|
# @!attribute [rw] kms_encrypted
|
6802
|
-
# Set to `true` to use Amazon S3 server-side encryption with
|
6803
|
-
# KMS key, or `false` to use a key managed by
|
6988
|
+
# Optional. Set to `true` to use Amazon S3 server-side encryption with
|
6989
|
+
# your own KMS key (SSE-KMS), or `false` to use a key managed by
|
6990
|
+
# Amazon S3 (SSE-S3). To use dual-layer encryption (DSSE-KMS), set the
|
6991
|
+
# `EncryptionType` parameter instead.
|
6992
|
+
#
|
6993
|
+
# <note markdown="1"> We recommend using `EncryptionType` instead of `KMSEncrypted` to set
|
6994
|
+
# the file share encryption method. You do not need to provide values
|
6995
|
+
# for both parameters.
|
6996
|
+
#
|
6997
|
+
# If values for both parameters exist in the same request, then the
|
6998
|
+
# specified encryption methods must not conflict. For example, if
|
6999
|
+
# `EncryptionType` is `SseS3`, then `KMSEncrypted` must be `false`. If
|
7000
|
+
# `EncryptionType` is `SseKms` or `DsseKms`, then `KMSEncrypted` must
|
7001
|
+
# be `true`.
|
7002
|
+
#
|
7003
|
+
# </note>
|
6804
7004
|
#
|
6805
7005
|
# Valid Values: `true` \| `false`
|
6806
7006
|
# @return [Boolean]
|
6807
7007
|
#
|
6808
7008
|
# @!attribute [rw] kms_key
|
6809
|
-
# The Amazon Resource Name (ARN) of a symmetric customer
|
6810
|
-
# (CMK) used for Amazon S3 server-side encryption. Storage
|
6811
|
-
# does not support asymmetric CMKs. This value
|
6812
|
-
# `KMSEncrypted` is `true
|
7009
|
+
# Optional. The Amazon Resource Name (ARN) of a symmetric customer
|
7010
|
+
# master key (CMK) used for Amazon S3 server-side encryption. Storage
|
7011
|
+
# Gateway does not support asymmetric CMKs. This value must be set if
|
7012
|
+
# `KMSEncrypted` is `true`, or if `EncryptionType` is `SseKms` or
|
7013
|
+
# `DsseKms`.
|
6813
7014
|
# @return [String]
|
6814
7015
|
#
|
6815
7016
|
# @!attribute [rw] nfs_file_share_defaults
|
@@ -6907,6 +7108,11 @@ module Aws::StorageGateway
|
|
6907
7108
|
# <note markdown="1"> `SettlingTimeInSeconds` has no effect on the timing of the object
|
6908
7109
|
# uploading to Amazon S3, only the timing of the notification.
|
6909
7110
|
#
|
7111
|
+
# This setting is not meant to specify an exact time at which the
|
7112
|
+
# notification will be sent. In some cases, the gateway might require
|
7113
|
+
# more than the specified delay time to generate and send
|
7114
|
+
# notifications.
|
7115
|
+
#
|
6910
7116
|
# </note>
|
6911
7117
|
#
|
6912
7118
|
# The following example sets `NotificationPolicy` on with
|
@@ -6927,6 +7133,7 @@ module Aws::StorageGateway
|
|
6927
7133
|
#
|
6928
7134
|
class UpdateNFSFileShareInput < Struct.new(
|
6929
7135
|
:file_share_arn,
|
7136
|
+
:encryption_type,
|
6930
7137
|
:kms_encrypted,
|
6931
7138
|
:kms_key,
|
6932
7139
|
:nfs_file_share_defaults,
|
@@ -6966,18 +7173,50 @@ module Aws::StorageGateway
|
|
6966
7173
|
# to update.
|
6967
7174
|
# @return [String]
|
6968
7175
|
#
|
7176
|
+
# @!attribute [rw] encryption_type
|
7177
|
+
# A value that specifies the type of server-side encryption that the
|
7178
|
+
# file share will use for the data that it stores in Amazon S3.
|
7179
|
+
#
|
7180
|
+
# <note markdown="1"> We recommend using `EncryptionType` instead of `KMSEncrypted` to set
|
7181
|
+
# the file share encryption method. You do not need to provide values
|
7182
|
+
# for both parameters.
|
7183
|
+
#
|
7184
|
+
# If values for both parameters exist in the same request, then the
|
7185
|
+
# specified encryption methods must not conflict. For example, if
|
7186
|
+
# `EncryptionType` is `SseS3`, then `KMSEncrypted` must be `false`. If
|
7187
|
+
# `EncryptionType` is `SseKms` or `DsseKms`, then `KMSEncrypted` must
|
7188
|
+
# be `true`.
|
7189
|
+
#
|
7190
|
+
# </note>
|
7191
|
+
# @return [String]
|
7192
|
+
#
|
6969
7193
|
# @!attribute [rw] kms_encrypted
|
6970
|
-
# Set to `true` to use Amazon S3 server-side encryption with
|
6971
|
-
# KMS key, or `false` to use a key managed by
|
7194
|
+
# Optional. Set to `true` to use Amazon S3 server-side encryption with
|
7195
|
+
# your own KMS key (SSE-KMS), or `false` to use a key managed by
|
7196
|
+
# Amazon S3 (SSE-S3). To use dual-layer encryption (DSSE-KMS), set the
|
7197
|
+
# `EncryptionType` parameter instead.
|
7198
|
+
#
|
7199
|
+
# <note markdown="1"> We recommend using `EncryptionType` instead of `KMSEncrypted` to set
|
7200
|
+
# the file share encryption method. You do not need to provide values
|
7201
|
+
# for both parameters.
|
7202
|
+
#
|
7203
|
+
# If values for both parameters exist in the same request, then the
|
7204
|
+
# specified encryption methods must not conflict. For example, if
|
7205
|
+
# `EncryptionType` is `SseS3`, then `KMSEncrypted` must be `false`. If
|
7206
|
+
# `EncryptionType` is `SseKms` or `DsseKms`, then `KMSEncrypted` must
|
7207
|
+
# be `true`.
|
7208
|
+
#
|
7209
|
+
# </note>
|
6972
7210
|
#
|
6973
7211
|
# Valid Values: `true` \| `false`
|
6974
7212
|
# @return [Boolean]
|
6975
7213
|
#
|
6976
7214
|
# @!attribute [rw] kms_key
|
6977
|
-
# The Amazon Resource Name (ARN) of a symmetric customer
|
6978
|
-
# (CMK) used for Amazon S3 server-side encryption. Storage
|
6979
|
-
# does not support asymmetric CMKs. This value
|
6980
|
-
# `KMSEncrypted` is `true
|
7215
|
+
# Optional. The Amazon Resource Name (ARN) of a symmetric customer
|
7216
|
+
# master key (CMK) used for Amazon S3 server-side encryption. Storage
|
7217
|
+
# Gateway does not support asymmetric CMKs. This value must be set if
|
7218
|
+
# `KMSEncrypted` is `true`, or if `EncryptionType` is `SseKms` or
|
7219
|
+
# `DsseKms`.
|
6981
7220
|
# @return [String]
|
6982
7221
|
#
|
6983
7222
|
# @!attribute [rw] default_storage_class
|
@@ -7033,14 +7272,14 @@ module Aws::StorageGateway
|
|
7033
7272
|
# SMB file share. Set it to `false` to map file and directory
|
7034
7273
|
# permissions to the POSIX permissions.
|
7035
7274
|
#
|
7036
|
-
# For more information, see [Using
|
7037
|
-
# access
|
7275
|
+
# For more information, see [Using Windows ACLs to limit SMB file
|
7276
|
+
# share access][1] in the *Amazon S3 File Gateway User Guide*.
|
7038
7277
|
#
|
7039
7278
|
# Valid Values: `true` \| `false`
|
7040
7279
|
#
|
7041
7280
|
#
|
7042
7281
|
#
|
7043
|
-
# [1]: https://docs.aws.amazon.com/
|
7282
|
+
# [1]: https://docs.aws.amazon.com/filegateway/latest/files3/smb-acl.html
|
7044
7283
|
# @return [Boolean]
|
7045
7284
|
#
|
7046
7285
|
# @!attribute [rw] access_based_enumeration
|
@@ -7108,6 +7347,11 @@ module Aws::StorageGateway
|
|
7108
7347
|
# <note markdown="1"> `SettlingTimeInSeconds` has no effect on the timing of the object
|
7109
7348
|
# uploading to Amazon S3, only the timing of the notification.
|
7110
7349
|
#
|
7350
|
+
# This setting is not meant to specify an exact time at which the
|
7351
|
+
# notification will be sent. In some cases, the gateway might require
|
7352
|
+
# more than the specified delay time to generate and send
|
7353
|
+
# notifications.
|
7354
|
+
#
|
7111
7355
|
# </note>
|
7112
7356
|
#
|
7113
7357
|
# The following example sets `NotificationPolicy` on with
|
@@ -7137,6 +7381,7 @@ module Aws::StorageGateway
|
|
7137
7381
|
#
|
7138
7382
|
class UpdateSMBFileShareInput < Struct.new(
|
7139
7383
|
:file_share_arn,
|
7384
|
+
:encryption_type,
|
7140
7385
|
:kms_encrypted,
|
7141
7386
|
:kms_key,
|
7142
7387
|
:default_storage_class,
|
data/sig/client.rbs
CHANGED
@@ -15,6 +15,7 @@ module Aws
|
|
15
15
|
?credentials: untyped,
|
16
16
|
?region: String,
|
17
17
|
?access_key_id: String,
|
18
|
+
?account_id: String,
|
18
19
|
?active_endpoint_cache: bool,
|
19
20
|
?adaptive_retry_wait_to_fill: bool,
|
20
21
|
?client_side_monitoring: bool,
|
@@ -261,6 +262,7 @@ module Aws
|
|
261
262
|
owner_id: ::Integer?
|
262
263
|
},
|
263
264
|
gateway_arn: ::String,
|
265
|
+
?encryption_type: ("SseS3" | "SseKms" | "DsseKms"),
|
264
266
|
?kms_encrypted: bool,
|
265
267
|
?kms_key: ::String,
|
266
268
|
role: ::String,
|
@@ -297,6 +299,7 @@ module Aws
|
|
297
299
|
def create_smb_file_share: (
|
298
300
|
client_token: ::String,
|
299
301
|
gateway_arn: ::String,
|
302
|
+
?encryption_type: ("SseS3" | "SseKms" | "DsseKms"),
|
300
303
|
?kms_encrypted: bool,
|
301
304
|
?kms_key: ::String,
|
302
305
|
role: ::String,
|
@@ -1271,6 +1274,7 @@ module Aws
|
|
1271
1274
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/StorageGateway/Client.html#update_nfs_file_share-instance_method
|
1272
1275
|
def update_nfs_file_share: (
|
1273
1276
|
file_share_arn: ::String,
|
1277
|
+
?encryption_type: ("SseS3" | "SseKms" | "DsseKms"),
|
1274
1278
|
?kms_encrypted: bool,
|
1275
1279
|
?kms_key: ::String,
|
1276
1280
|
?nfs_file_share_defaults: {
|
@@ -1302,6 +1306,7 @@ module Aws
|
|
1302
1306
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/StorageGateway/Client.html#update_smb_file_share-instance_method
|
1303
1307
|
def update_smb_file_share: (
|
1304
1308
|
file_share_arn: ::String,
|
1309
|
+
?encryption_type: ("SseS3" | "SseKms" | "DsseKms"),
|
1305
1310
|
?kms_encrypted: bool,
|
1306
1311
|
?kms_key: ::String,
|
1307
1312
|
?default_storage_class: ::String,
|
data/sig/resource.rbs
CHANGED
data/sig/types.rbs
CHANGED
@@ -216,6 +216,7 @@ module Aws::StorageGateway
|
|
216
216
|
attr_accessor client_token: ::String
|
217
217
|
attr_accessor nfs_file_share_defaults: Types::NFSFileShareDefaults
|
218
218
|
attr_accessor gateway_arn: ::String
|
219
|
+
attr_accessor encryption_type: ("SseS3" | "SseKms" | "DsseKms")
|
219
220
|
attr_accessor kms_encrypted: bool
|
220
221
|
attr_accessor kms_key: ::String
|
221
222
|
attr_accessor role: ::String
|
@@ -245,6 +246,7 @@ module Aws::StorageGateway
|
|
245
246
|
class CreateSMBFileShareInput
|
246
247
|
attr_accessor client_token: ::String
|
247
248
|
attr_accessor gateway_arn: ::String
|
249
|
+
attr_accessor encryption_type: ("SseS3" | "SseKms" | "DsseKms")
|
248
250
|
attr_accessor kms_encrypted: bool
|
249
251
|
attr_accessor kms_key: ::String
|
250
252
|
attr_accessor role: ::String
|
@@ -1038,6 +1040,7 @@ module Aws::StorageGateway
|
|
1038
1040
|
attr_accessor file_share_id: ::String
|
1039
1041
|
attr_accessor file_share_status: ::String
|
1040
1042
|
attr_accessor gateway_arn: ::String
|
1043
|
+
attr_accessor encryption_type: ("SseS3" | "SseKms" | "DsseKms")
|
1041
1044
|
attr_accessor kms_encrypted: bool
|
1042
1045
|
attr_accessor kms_key: ::String
|
1043
1046
|
attr_accessor path: ::String
|
@@ -1149,6 +1152,7 @@ module Aws::StorageGateway
|
|
1149
1152
|
attr_accessor file_share_id: ::String
|
1150
1153
|
attr_accessor file_share_status: ::String
|
1151
1154
|
attr_accessor gateway_arn: ::String
|
1155
|
+
attr_accessor encryption_type: ("SseS3" | "SseKms" | "DsseKms")
|
1152
1156
|
attr_accessor kms_encrypted: bool
|
1153
1157
|
attr_accessor kms_key: ::String
|
1154
1158
|
attr_accessor path: ::String
|
@@ -1434,6 +1438,7 @@ module Aws::StorageGateway
|
|
1434
1438
|
|
1435
1439
|
class UpdateNFSFileShareInput
|
1436
1440
|
attr_accessor file_share_arn: ::String
|
1441
|
+
attr_accessor encryption_type: ("SseS3" | "SseKms" | "DsseKms")
|
1437
1442
|
attr_accessor kms_encrypted: bool
|
1438
1443
|
attr_accessor kms_key: ::String
|
1439
1444
|
attr_accessor nfs_file_share_defaults: Types::NFSFileShareDefaults
|
@@ -1458,6 +1463,7 @@ module Aws::StorageGateway
|
|
1458
1463
|
|
1459
1464
|
class UpdateSMBFileShareInput
|
1460
1465
|
attr_accessor file_share_arn: ::String
|
1466
|
+
attr_accessor encryption_type: ("SseS3" | "SseKms" | "DsseKms")
|
1461
1467
|
attr_accessor kms_encrypted: bool
|
1462
1468
|
attr_accessor kms_key: ::String
|
1463
1469
|
attr_accessor default_storage_class: ::String
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-storagegateway
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.96.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-09-
|
11
|
+
date: 2024-09-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.207.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.207.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|