aws-sdk-storagegateway 1.93.0 → 1.95.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: b9f7cb336c3d3add26372fc3a59f33f7a232ede21ffca8e46eee91e7afdaf96f
4
- data.tar.gz: 1c8d54ce56f62a7d760f5741f3ee282a8024dcaaa8819964a83ef66cb2bdd60c
3
+ metadata.gz: 1505583933fee1695cf586f60032612bc7b2a5f49d8baf5babb963215150a323
4
+ data.tar.gz: d72049d456ad5a6d0efb62888bcbc2ec614ea8f67deacc443ccc179df405d200
5
5
  SHA512:
6
- metadata.gz: ecdc5a4447cf5845fce08a17cf62e71bf6f28b9e997203200fb58c6137006e0094f1559266204bccecbbbb9211b6bb11d87243738867def52480fe8563c06f00
7
- data.tar.gz: 5ad2e8f0c0febaf65f0c934ea552751a8dfddc1e73a125e410fe60430b55f8cc08874812b886bb5a42ed60410e5bfca47d142caddc7080f1e4d7cf3ddec52758
6
+ metadata.gz: a62893f952ebfc0eed4c797c74b3dd4fbce5c9afdaef9a0e8a6e3d7bc5daf392760b9b182d939a40916fcf4a7a793f383b5adbe1375ca746e2954be6e54b2f15
7
+ data.tar.gz: 1544f47cec2e18c0d20eceaebbebff105f66a98efef5ace092202bad117c75be9adfc1a966e13b9c0387ebc4cb63909c953da6db5b1a74fc5cdf5d60cf187158
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.95.0 (2024-09-12)
5
+ ------------------
6
+
7
+ * 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.
8
+
9
+ 1.94.0 (2024-09-11)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.93.0 (2024-09-10)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.93.0
1
+ 1.95.0
@@ -1367,17 +1367,48 @@ module Aws::StorageGateway
1367
1367
  # The Amazon Resource Name (ARN) of the S3 File Gateway on which you
1368
1368
  # want to create a file share.
1369
1369
  #
1370
+ # @option params [String] :encryption_type
1371
+ # A value that specifies the type of server-side encryption that the
1372
+ # file share will use for the data that it stores in Amazon S3.
1373
+ #
1374
+ # <note markdown="1"> We recommend using `EncryptionType` instead of `KMSEncrypted` to set
1375
+ # the file share encryption method. You do not need to provide values
1376
+ # for both parameters.
1377
+ #
1378
+ # If values for both parameters exist in the same request, then the
1379
+ # specified encryption methods must not conflict. For example, if
1380
+ # `EncryptionType` is `SseS3`, then `KMSEncrypted` must be `false`. If
1381
+ # `EncryptionType` is `SseKms` or `DsseKms`, then `KMSEncrypted` must be
1382
+ # `true`.
1383
+ #
1384
+ # </note>
1385
+ #
1370
1386
  # @option params [Boolean] :kms_encrypted
1371
- # Set to `true` to use Amazon S3 server-side encryption with your own
1372
- # KMS key, or `false` to use a key managed by Amazon S3. Optional.
1387
+ # Optional. Set to `true` to use Amazon S3 server-side encryption with
1388
+ # your own KMS key (SSE-KMS), or `false` to use a key managed by Amazon
1389
+ # S3 (SSE-S3). To use dual-layer encryption (DSSE-KMS), set the
1390
+ # `EncryptionType` parameter instead.
1391
+ #
1392
+ # <note markdown="1"> We recommend using `EncryptionType` instead of `KMSEncrypted` to set
1393
+ # the file share encryption method. You do not need to provide values
1394
+ # for both parameters.
1395
+ #
1396
+ # If values for both parameters exist in the same request, then the
1397
+ # specified encryption methods must not conflict. For example, if
1398
+ # `EncryptionType` is `SseS3`, then `KMSEncrypted` must be `false`. If
1399
+ # `EncryptionType` is `SseKms` or `DsseKms`, then `KMSEncrypted` must be
1400
+ # `true`.
1401
+ #
1402
+ # </note>
1373
1403
  #
1374
1404
  # Valid Values: `true` \| `false`
1375
1405
  #
1376
1406
  # @option params [String] :kms_key
1377
- # The Amazon Resource Name (ARN) of a symmetric customer master key
1378
- # (CMK) used for Amazon S3 server-side encryption. Storage Gateway does
1379
- # not support asymmetric CMKs. This value can only be set when
1380
- # `KMSEncrypted` is `true`. Optional.
1407
+ # Optional. The Amazon Resource Name (ARN) of a symmetric customer
1408
+ # master key (CMK) used for Amazon S3 server-side encryption. Storage
1409
+ # Gateway does not support asymmetric CMKs. This value must be set if
1410
+ # `KMSEncrypted` is `true`, or if `EncryptionType` is `SseKms` or
1411
+ # `DsseKms`.
1381
1412
  #
1382
1413
  # @option params [required, String] :role
1383
1414
  # The ARN of the Identity and Access Management (IAM) role that an S3
@@ -1503,6 +1534,10 @@ module Aws::StorageGateway
1503
1534
  # <note markdown="1"> `SettlingTimeInSeconds` has no effect on the timing of the object
1504
1535
  # uploading to Amazon S3, only the timing of the notification.
1505
1536
  #
1537
+ # This setting is not meant to specify an exact time at which the
1538
+ # notification will be sent. In some cases, the gateway might require
1539
+ # more than the specified delay time to generate and send notifications.
1540
+ #
1506
1541
  # </note>
1507
1542
  #
1508
1543
  # The following example sets `NotificationPolicy` on with
@@ -1552,6 +1587,7 @@ module Aws::StorageGateway
1552
1587
  # owner_id: 1,
1553
1588
  # },
1554
1589
  # gateway_arn: "GatewayARN", # required
1590
+ # encryption_type: "SseS3", # accepts SseS3, SseKms, DsseKms
1555
1591
  # kms_encrypted: false,
1556
1592
  # kms_key: "KMSKey",
1557
1593
  # role: "Role", # required
@@ -1624,17 +1660,48 @@ module Aws::StorageGateway
1624
1660
  # The ARN of the S3 File Gateway on which you want to create a file
1625
1661
  # share.
1626
1662
  #
1663
+ # @option params [String] :encryption_type
1664
+ # A value that specifies the type of server-side encryption that the
1665
+ # file share will use for the data that it stores in Amazon S3.
1666
+ #
1667
+ # <note markdown="1"> We recommend using `EncryptionType` instead of `KMSEncrypted` to set
1668
+ # the file share encryption method. You do not need to provide values
1669
+ # for both parameters.
1670
+ #
1671
+ # If values for both parameters exist in the same request, then the
1672
+ # specified encryption methods must not conflict. For example, if
1673
+ # `EncryptionType` is `SseS3`, then `KMSEncrypted` must be `false`. If
1674
+ # `EncryptionType` is `SseKms` or `DsseKms`, then `KMSEncrypted` must be
1675
+ # `true`.
1676
+ #
1677
+ # </note>
1678
+ #
1627
1679
  # @option params [Boolean] :kms_encrypted
1628
- # Set to `true` to use Amazon S3 server-side encryption with your own
1629
- # KMS key, or `false` to use a key managed by Amazon S3. Optional.
1680
+ # Optional. Set to `true` to use Amazon S3 server-side encryption with
1681
+ # your own KMS key (SSE-KMS), or `false` to use a key managed by Amazon
1682
+ # S3 (SSE-S3). To use dual-layer encryption (DSSE-KMS), set the
1683
+ # `EncryptionType` parameter instead.
1684
+ #
1685
+ # <note markdown="1"> We recommend using `EncryptionType` instead of `KMSEncrypted` to set
1686
+ # the file share encryption method. You do not need to provide values
1687
+ # for both parameters.
1688
+ #
1689
+ # If values for both parameters exist in the same request, then the
1690
+ # specified encryption methods must not conflict. For example, if
1691
+ # `EncryptionType` is `SseS3`, then `KMSEncrypted` must be `false`. If
1692
+ # `EncryptionType` is `SseKms` or `DsseKms`, then `KMSEncrypted` must be
1693
+ # `true`.
1694
+ #
1695
+ # </note>
1630
1696
  #
1631
1697
  # Valid Values: `true` \| `false`
1632
1698
  #
1633
1699
  # @option params [String] :kms_key
1634
- # The Amazon Resource Name (ARN) of a symmetric customer master key
1635
- # (CMK) used for Amazon S3 server-side encryption. Storage Gateway does
1636
- # not support asymmetric CMKs. This value can only be set when
1637
- # `KMSEncrypted` is `true`. Optional.
1700
+ # Optional. The Amazon Resource Name (ARN) of a symmetric customer
1701
+ # master key (CMK) used for Amazon S3 server-side encryption. Storage
1702
+ # Gateway does not support asymmetric CMKs. This value must be set if
1703
+ # `KMSEncrypted` is `true`, or if `EncryptionType` is `SseKms` or
1704
+ # `DsseKms`.
1638
1705
  #
1639
1706
  # @option params [required, String] :role
1640
1707
  # The ARN of the Identity and Access Management (IAM) role that an S3
@@ -1716,14 +1783,14 @@ module Aws::StorageGateway
1716
1783
  # SMB file share. Set it to `false` to map file and directory
1717
1784
  # permissions to the POSIX permissions.
1718
1785
  #
1719
- # For more information, see [Using Microsoft Windows ACLs to control
1720
- # access to an SMB file share][1] in the *Storage Gateway User Guide*.
1786
+ # For more information, see [Using Windows ACLs to limit SMB file share
1787
+ # access][1] in the *Amazon S3 File Gateway User Guide*.
1721
1788
  #
1722
1789
  # Valid Values: `true` \| `false`
1723
1790
  #
1724
1791
  #
1725
1792
  #
1726
- # [1]: https://docs.aws.amazon.com/storagegateway/latest/userguide/smb-acl.html
1793
+ # [1]: https://docs.aws.amazon.com/filegateway/latest/files3/smb-acl.html
1727
1794
  #
1728
1795
  # @option params [Boolean] :access_based_enumeration
1729
1796
  # The files and folders on this share will only be visible to users with
@@ -1801,6 +1868,10 @@ module Aws::StorageGateway
1801
1868
  # <note markdown="1"> `SettlingTimeInSeconds` has no effect on the timing of the object
1802
1869
  # uploading to Amazon S3, only the timing of the notification.
1803
1870
  #
1871
+ # This setting is not meant to specify an exact time at which the
1872
+ # notification will be sent. In some cases, the gateway might require
1873
+ # more than the specified delay time to generate and send notifications.
1874
+ #
1804
1875
  # </note>
1805
1876
  #
1806
1877
  # The following example sets `NotificationPolicy` on with
@@ -1853,6 +1924,7 @@ module Aws::StorageGateway
1853
1924
  # resp = client.create_smb_file_share({
1854
1925
  # client_token: "ClientToken", # required
1855
1926
  # gateway_arn: "GatewayARN", # required
1927
+ # encryption_type: "SseS3", # accepts SseS3, SseKms, DsseKms
1856
1928
  # kms_encrypted: false,
1857
1929
  # kms_key: "KMSKey",
1858
1930
  # role: "Role", # required
@@ -3701,6 +3773,7 @@ module Aws::StorageGateway
3701
3773
  # resp.nfs_file_share_info_list[0].file_share_id #=> String
3702
3774
  # resp.nfs_file_share_info_list[0].file_share_status #=> String
3703
3775
  # resp.nfs_file_share_info_list[0].gateway_arn #=> String
3776
+ # resp.nfs_file_share_info_list[0].encryption_type #=> String, one of "SseS3", "SseKms", "DsseKms"
3704
3777
  # resp.nfs_file_share_info_list[0].kms_encrypted #=> Boolean
3705
3778
  # resp.nfs_file_share_info_list[0].kms_key #=> String
3706
3779
  # resp.nfs_file_share_info_list[0].path #=> String
@@ -3758,6 +3831,7 @@ module Aws::StorageGateway
3758
3831
  # resp.smb_file_share_info_list[0].file_share_id #=> String
3759
3832
  # resp.smb_file_share_info_list[0].file_share_status #=> String
3760
3833
  # resp.smb_file_share_info_list[0].gateway_arn #=> String
3834
+ # resp.smb_file_share_info_list[0].encryption_type #=> String, one of "SseS3", "SseKms", "DsseKms"
3761
3835
  # resp.smb_file_share_info_list[0].kms_encrypted #=> Boolean
3762
3836
  # resp.smb_file_share_info_list[0].kms_key #=> String
3763
3837
  # resp.smb_file_share_info_list[0].path #=> String
@@ -6654,7 +6728,11 @@ module Aws::StorageGateway
6654
6728
  # `ALL_VERSIONS` - Enables regular gateway maintenance updates.
6655
6729
  #
6656
6730
  # `EMERGENCY_VERSIONS_ONLY` - Disables regular gateway maintenance
6657
- # updates.
6731
+ # updates. The gateway will still receive emergency version updates on
6732
+ # rare occasions if necessary to remedy highly critical security or
6733
+ # durability issues. You will be notified before an emergency version
6734
+ # update is applied. These updates are applied during your gateway's
6735
+ # scheduled maintenance window.
6658
6736
  #
6659
6737
  # @return [Types::UpdateMaintenanceStartTimeOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6660
6738
  #
@@ -6727,17 +6805,48 @@ module Aws::StorageGateway
6727
6805
  # @option params [required, String] :file_share_arn
6728
6806
  # The Amazon Resource Name (ARN) of the file share to be updated.
6729
6807
  #
6808
+ # @option params [String] :encryption_type
6809
+ # A value that specifies the type of server-side encryption that the
6810
+ # file share will use for the data that it stores in Amazon S3.
6811
+ #
6812
+ # <note markdown="1"> We recommend using `EncryptionType` instead of `KMSEncrypted` to set
6813
+ # the file share encryption method. You do not need to provide values
6814
+ # for both parameters.
6815
+ #
6816
+ # If values for both parameters exist in the same request, then the
6817
+ # specified encryption methods must not conflict. For example, if
6818
+ # `EncryptionType` is `SseS3`, then `KMSEncrypted` must be `false`. If
6819
+ # `EncryptionType` is `SseKms` or `DsseKms`, then `KMSEncrypted` must be
6820
+ # `true`.
6821
+ #
6822
+ # </note>
6823
+ #
6730
6824
  # @option params [Boolean] :kms_encrypted
6731
- # Set to `true` to use Amazon S3 server-side encryption with your own
6732
- # KMS key, or `false` to use a key managed by Amazon S3. Optional.
6825
+ # Optional. Set to `true` to use Amazon S3 server-side encryption with
6826
+ # your own KMS key (SSE-KMS), or `false` to use a key managed by Amazon
6827
+ # S3 (SSE-S3). To use dual-layer encryption (DSSE-KMS), set the
6828
+ # `EncryptionType` parameter instead.
6829
+ #
6830
+ # <note markdown="1"> We recommend using `EncryptionType` instead of `KMSEncrypted` to set
6831
+ # the file share encryption method. You do not need to provide values
6832
+ # for both parameters.
6833
+ #
6834
+ # If values for both parameters exist in the same request, then the
6835
+ # specified encryption methods must not conflict. For example, if
6836
+ # `EncryptionType` is `SseS3`, then `KMSEncrypted` must be `false`. If
6837
+ # `EncryptionType` is `SseKms` or `DsseKms`, then `KMSEncrypted` must be
6838
+ # `true`.
6839
+ #
6840
+ # </note>
6733
6841
  #
6734
6842
  # Valid Values: `true` \| `false`
6735
6843
  #
6736
6844
  # @option params [String] :kms_key
6737
- # The Amazon Resource Name (ARN) of a symmetric customer master key
6738
- # (CMK) used for Amazon S3 server-side encryption. Storage Gateway does
6739
- # not support asymmetric CMKs. This value can only be set when
6740
- # `KMSEncrypted` is `true`. Optional.
6845
+ # Optional. The Amazon Resource Name (ARN) of a symmetric customer
6846
+ # master key (CMK) used for Amazon S3 server-side encryption. Storage
6847
+ # Gateway does not support asymmetric CMKs. This value must be set if
6848
+ # `KMSEncrypted` is `true`, or if `EncryptionType` is `SseKms` or
6849
+ # `DsseKms`.
6741
6850
  #
6742
6851
  # @option params [Types::NFSFileShareDefaults] :nfs_file_share_defaults
6743
6852
  # The default values for the file share. Optional.
@@ -6820,6 +6929,10 @@ module Aws::StorageGateway
6820
6929
  # <note markdown="1"> `SettlingTimeInSeconds` has no effect on the timing of the object
6821
6930
  # uploading to Amazon S3, only the timing of the notification.
6822
6931
  #
6932
+ # This setting is not meant to specify an exact time at which the
6933
+ # notification will be sent. In some cases, the gateway might require
6934
+ # more than the specified delay time to generate and send notifications.
6935
+ #
6823
6936
  # </note>
6824
6937
  #
6825
6938
  # The following example sets `NotificationPolicy` on with
@@ -6842,6 +6955,7 @@ module Aws::StorageGateway
6842
6955
  #
6843
6956
  # resp = client.update_nfs_file_share({
6844
6957
  # file_share_arn: "FileShareARN", # required
6958
+ # encryption_type: "SseS3", # accepts SseS3, SseKms, DsseKms
6845
6959
  # kms_encrypted: false,
6846
6960
  # kms_key: "KMSKey",
6847
6961
  # nfs_file_share_defaults: {
@@ -6908,17 +7022,48 @@ module Aws::StorageGateway
6908
7022
  # The Amazon Resource Name (ARN) of the SMB file share that you want to
6909
7023
  # update.
6910
7024
  #
7025
+ # @option params [String] :encryption_type
7026
+ # A value that specifies the type of server-side encryption that the
7027
+ # file share will use for the data that it stores in Amazon S3.
7028
+ #
7029
+ # <note markdown="1"> We recommend using `EncryptionType` instead of `KMSEncrypted` to set
7030
+ # the file share encryption method. You do not need to provide values
7031
+ # for both parameters.
7032
+ #
7033
+ # If values for both parameters exist in the same request, then the
7034
+ # specified encryption methods must not conflict. For example, if
7035
+ # `EncryptionType` is `SseS3`, then `KMSEncrypted` must be `false`. If
7036
+ # `EncryptionType` is `SseKms` or `DsseKms`, then `KMSEncrypted` must be
7037
+ # `true`.
7038
+ #
7039
+ # </note>
7040
+ #
6911
7041
  # @option params [Boolean] :kms_encrypted
6912
- # Set to `true` to use Amazon S3 server-side encryption with your own
6913
- # KMS key, or `false` to use a key managed by Amazon S3. Optional.
7042
+ # Optional. Set to `true` to use Amazon S3 server-side encryption with
7043
+ # your own KMS key (SSE-KMS), or `false` to use a key managed by Amazon
7044
+ # S3 (SSE-S3). To use dual-layer encryption (DSSE-KMS), set the
7045
+ # `EncryptionType` parameter instead.
7046
+ #
7047
+ # <note markdown="1"> We recommend using `EncryptionType` instead of `KMSEncrypted` to set
7048
+ # the file share encryption method. You do not need to provide values
7049
+ # for both parameters.
7050
+ #
7051
+ # If values for both parameters exist in the same request, then the
7052
+ # specified encryption methods must not conflict. For example, if
7053
+ # `EncryptionType` is `SseS3`, then `KMSEncrypted` must be `false`. If
7054
+ # `EncryptionType` is `SseKms` or `DsseKms`, then `KMSEncrypted` must be
7055
+ # `true`.
7056
+ #
7057
+ # </note>
6914
7058
  #
6915
7059
  # Valid Values: `true` \| `false`
6916
7060
  #
6917
7061
  # @option params [String] :kms_key
6918
- # The Amazon Resource Name (ARN) of a symmetric customer master key
6919
- # (CMK) used for Amazon S3 server-side encryption. Storage Gateway does
6920
- # not support asymmetric CMKs. This value can only be set when
6921
- # `KMSEncrypted` is `true`. Optional.
7062
+ # Optional. The Amazon Resource Name (ARN) of a symmetric customer
7063
+ # master key (CMK) used for Amazon S3 server-side encryption. Storage
7064
+ # Gateway does not support asymmetric CMKs. This value must be set if
7065
+ # `KMSEncrypted` is `true`, or if `EncryptionType` is `SseKms` or
7066
+ # `DsseKms`.
6922
7067
  #
6923
7068
  # @option params [String] :default_storage_class
6924
7069
  # The default storage class for objects put into an Amazon S3 bucket by
@@ -6965,14 +7110,14 @@ module Aws::StorageGateway
6965
7110
  # SMB file share. Set it to `false` to map file and directory
6966
7111
  # permissions to the POSIX permissions.
6967
7112
  #
6968
- # For more information, see [Using Microsoft Windows ACLs to control
6969
- # access to an SMB file share][1] in the *Storage Gateway User Guide*.
7113
+ # For more information, see [Using Windows ACLs to limit SMB file share
7114
+ # access][1] in the *Amazon S3 File Gateway User Guide*.
6970
7115
  #
6971
7116
  # Valid Values: `true` \| `false`
6972
7117
  #
6973
7118
  #
6974
7119
  #
6975
- # [1]: https://docs.aws.amazon.com/storagegateway/latest/userguide/smb-acl.html
7120
+ # [1]: https://docs.aws.amazon.com/filegateway/latest/files3/smb-acl.html
6976
7121
  #
6977
7122
  # @option params [Boolean] :access_based_enumeration
6978
7123
  # The files and folders on this share will only be visible to users with
@@ -7031,6 +7176,10 @@ module Aws::StorageGateway
7031
7176
  # <note markdown="1"> `SettlingTimeInSeconds` has no effect on the timing of the object
7032
7177
  # uploading to Amazon S3, only the timing of the notification.
7033
7178
  #
7179
+ # This setting is not meant to specify an exact time at which the
7180
+ # notification will be sent. In some cases, the gateway might require
7181
+ # more than the specified delay time to generate and send notifications.
7182
+ #
7034
7183
  # </note>
7035
7184
  #
7036
7185
  # The following example sets `NotificationPolicy` on with
@@ -7062,6 +7211,7 @@ module Aws::StorageGateway
7062
7211
  #
7063
7212
  # resp = client.update_smb_file_share({
7064
7213
  # file_share_arn: "FileShareARN", # required
7214
+ # encryption_type: "SseS3", # accepts SseS3, SseKms, DsseKms
7065
7215
  # kms_encrypted: false,
7066
7216
  # kms_key: "KMSKey",
7067
7217
  # default_storage_class: "StorageClass",
@@ -7403,7 +7553,7 @@ module Aws::StorageGateway
7403
7553
  tracer: tracer
7404
7554
  )
7405
7555
  context[:gem_name] = 'aws-sdk-storagegateway'
7406
- context[:gem_version] = '1.93.0'
7556
+ context[:gem_version] = '1.95.0'
7407
7557
  Seahorse::Client::Request.new(handlers, context)
7408
7558
  end
7409
7559
 
@@ -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(:kms_encrypted, Shapes::ShapeRef.new(shape: Boolean, location_name: "KMSEncrypted"))
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(:kms_encrypted, Shapes::ShapeRef.new(shape: Boolean, location_name: "KMSEncrypted"))
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(:kms_encrypted, Shapes::ShapeRef.new(shape: boolean, location_name: "KMSEncrypted"))
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(:kms_encrypted, Shapes::ShapeRef.new(shape: boolean, location_name: "KMSEncrypted"))
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(:kms_encrypted, Shapes::ShapeRef.new(shape: Boolean, location_name: "KMSEncrypted"))
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(:kms_encrypted, Shapes::ShapeRef.new(shape: Boolean, location_name: "KMSEncrypted"))
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"))