aws-sdk-storagegateway 1.50.0 → 1.51.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: 497c463968e98be0f341fba8ec8ae2e422e9c845af434f3bdbde1f6b69488480
4
- data.tar.gz: 0a42b325a63d1724b857f85c98d947c1df384fd2553518f2f799b1a51d9ce981
3
+ metadata.gz: fa0ca8f99dca968fb092a22ac2061016b0f63efbaf65ac5d2edbf8d03835fe16
4
+ data.tar.gz: a69afa95f5ab8f8096e4e1d8011ce5fe28ab26065f8943424afa1bf90bf430c3
5
5
  SHA512:
6
- metadata.gz: fa9f48afaa0b2b8b9e470ddb542a0cabe92685552e59953f9b32eb86f04805b532810ae75e31196d660ee4082be4888755bc61d32a2e8da584bcbaf69a8c681b
7
- data.tar.gz: b4793f1d0c9df3cbe47101d2649e731c58a58ab719bb6b0cc7dc735898601b30939baae5082005f31d79b5dc0abb1d1b47651dfe79e28675ccbebc9a6793090d
6
+ metadata.gz: 8faadd9af2ba7764f4db65ecfbfe8716e9cafc084c546bc597c94981ad3578c46a26e0a78277ac9c94dee05db4ab3e723e4742d68cdf9046473e099b1a5d3e11
7
+ data.tar.gz: 4e55a9a39911640c191ac4662a55ea9cb226eea49abb8a91170922dfc86d05b8c3e00cf8483e009a899d228fa8e6cf69b7660013332616ebecd5c8c380609bb9
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-storagegateway/customizations'
48
48
  # @!group service
49
49
  module Aws::StorageGateway
50
50
 
51
- GEM_VERSION = '1.50.0'
51
+ GEM_VERSION = '1.51.0'
52
52
 
53
53
  end
@@ -1264,6 +1264,9 @@ module Aws::StorageGateway
1264
1264
  # @option params [Types::CacheAttributes] :cache_attributes
1265
1265
  # Refresh cache information.
1266
1266
  #
1267
+ # @option params [String] :notification_policy
1268
+ # The notification policy of the file share.
1269
+ #
1267
1270
  # @return [Types::CreateNFSFileShareOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1268
1271
  #
1269
1272
  # * {Types::CreateNFSFileShareOutput#file_share_arn #file_share_arn} => String
@@ -1300,6 +1303,7 @@ module Aws::StorageGateway
1300
1303
  # cache_attributes: {
1301
1304
  # cache_stale_timeout_in_seconds: 1,
1302
1305
  # },
1306
+ # notification_policy: "NotificationPolicy",
1303
1307
  # })
1304
1308
  #
1305
1309
  # @example Response structure
@@ -1420,6 +1424,10 @@ module Aws::StorageGateway
1420
1424
  #
1421
1425
  # [1]: https://docs.aws.amazon.com/storagegateway/latest/userguide/smb-acl.html
1422
1426
  #
1427
+ # @option params [Boolean] :access_based_enumeration
1428
+ # The files and folders on this share will only be visible to users with
1429
+ # read access.
1430
+ #
1423
1431
  # @option params [Array<String>] :admin_user_list
1424
1432
  # A list of users or groups in the Active Directory that will be granted
1425
1433
  # administrator privileges on the file share. These users can do all
@@ -1480,6 +1488,9 @@ module Aws::StorageGateway
1480
1488
  # @option params [Types::CacheAttributes] :cache_attributes
1481
1489
  # Refresh cache information.
1482
1490
  #
1491
+ # @option params [String] :notification_policy
1492
+ # The notification policy of the file share.
1493
+ #
1483
1494
  # @return [Types::CreateSMBFileShareOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1484
1495
  #
1485
1496
  # * {Types::CreateSMBFileShareOutput#file_share_arn #file_share_arn} => String
@@ -1499,6 +1510,7 @@ module Aws::StorageGateway
1499
1510
  # guess_mime_type_enabled: false,
1500
1511
  # requester_pays: false,
1501
1512
  # smbacl_enabled: false,
1513
+ # access_based_enumeration: false,
1502
1514
  # admin_user_list: ["FileShareUser"],
1503
1515
  # valid_user_list: ["FileShareUser"],
1504
1516
  # invalid_user_list: ["FileShareUser"],
@@ -1515,6 +1527,7 @@ module Aws::StorageGateway
1515
1527
  # cache_attributes: {
1516
1528
  # cache_stale_timeout_in_seconds: 1,
1517
1529
  # },
1530
+ # notification_policy: "NotificationPolicy",
1518
1531
  # })
1519
1532
  #
1520
1533
  # @example Response structure
@@ -3234,6 +3247,7 @@ module Aws::StorageGateway
3234
3247
  # resp.nfs_file_share_info_list[0].tags[0].value #=> String
3235
3248
  # resp.nfs_file_share_info_list[0].file_share_name #=> String
3236
3249
  # resp.nfs_file_share_info_list[0].cache_attributes.cache_stale_timeout_in_seconds #=> Integer
3250
+ # resp.nfs_file_share_info_list[0].notification_policy #=> String
3237
3251
  #
3238
3252
  # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeNFSFileShares AWS API Documentation
3239
3253
  #
@@ -3280,6 +3294,7 @@ module Aws::StorageGateway
3280
3294
  # resp.smb_file_share_info_list[0].guess_mime_type_enabled #=> Boolean
3281
3295
  # resp.smb_file_share_info_list[0].requester_pays #=> Boolean
3282
3296
  # resp.smb_file_share_info_list[0].smbacl_enabled #=> Boolean
3297
+ # resp.smb_file_share_info_list[0].access_based_enumeration #=> Boolean
3283
3298
  # resp.smb_file_share_info_list[0].admin_user_list #=> Array
3284
3299
  # resp.smb_file_share_info_list[0].admin_user_list[0] #=> String
3285
3300
  # resp.smb_file_share_info_list[0].valid_user_list #=> Array
@@ -3294,6 +3309,7 @@ module Aws::StorageGateway
3294
3309
  # resp.smb_file_share_info_list[0].tags[0].value #=> String
3295
3310
  # resp.smb_file_share_info_list[0].file_share_name #=> String
3296
3311
  # resp.smb_file_share_info_list[0].cache_attributes.cache_stale_timeout_in_seconds #=> Integer
3312
+ # resp.smb_file_share_info_list[0].notification_policy #=> String
3297
3313
  #
3298
3314
  # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeSMBFileShares AWS API Documentation
3299
3315
  #
@@ -3320,6 +3336,7 @@ module Aws::StorageGateway
3320
3336
  # * {Types::DescribeSMBSettingsOutput#active_directory_status #active_directory_status} => String
3321
3337
  # * {Types::DescribeSMBSettingsOutput#smb_guest_password_set #smb_guest_password_set} => Boolean
3322
3338
  # * {Types::DescribeSMBSettingsOutput#smb_security_strategy #smb_security_strategy} => String
3339
+ # * {Types::DescribeSMBSettingsOutput#file_shares_visible #file_shares_visible} => Boolean
3323
3340
  #
3324
3341
  # @example Request syntax with placeholder values
3325
3342
  #
@@ -3334,6 +3351,7 @@ module Aws::StorageGateway
3334
3351
  # resp.active_directory_status #=> String, one of "ACCESS_DENIED", "DETACHED", "JOINED", "JOINING", "NETWORK_ERROR", "TIMEOUT", "UNKNOWN_ERROR"
3335
3352
  # resp.smb_guest_password_set #=> Boolean
3336
3353
  # resp.smb_security_strategy #=> String, one of "ClientSpecified", "MandatorySigning", "MandatoryEncryption"
3354
+ # resp.file_shares_visible #=> Boolean
3337
3355
  #
3338
3356
  # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeSMBSettings AWS API Documentation
3339
3357
  #
@@ -5923,7 +5941,7 @@ module Aws::StorageGateway
5923
5941
  #
5924
5942
  # </note>
5925
5943
  #
5926
- # Updates the following file share setting:
5944
+ # Updates the following file share settings:
5927
5945
  #
5928
5946
  # * Default storage class for your S3 bucket
5929
5947
  #
@@ -5935,11 +5953,6 @@ module Aws::StorageGateway
5935
5953
  #
5936
5954
  # * Write status of your file share
5937
5955
  #
5938
- # <note markdown="1"> To leave a file share field unchanged, set the corresponding input
5939
- # field to null. This operation is only supported in file gateways.
5940
- #
5941
- # </note>
5942
- #
5943
5956
  # @option params [required, String] :file_share_arn
5944
5957
  # The Amazon Resource Name (ARN) of the file share to be updated.
5945
5958
  #
@@ -6025,6 +6038,9 @@ module Aws::StorageGateway
6025
6038
  # @option params [Types::CacheAttributes] :cache_attributes
6026
6039
  # Refresh cache information.
6027
6040
  #
6041
+ # @option params [String] :notification_policy
6042
+ # The notification policy of the file share.
6043
+ #
6028
6044
  # @return [Types::UpdateNFSFileShareOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6029
6045
  #
6030
6046
  # * {Types::UpdateNFSFileShareOutput#file_share_arn #file_share_arn} => String
@@ -6052,6 +6068,7 @@ module Aws::StorageGateway
6052
6068
  # cache_attributes: {
6053
6069
  # cache_stale_timeout_in_seconds: 1,
6054
6070
  # },
6071
+ # notification_policy: "NotificationPolicy",
6055
6072
  # })
6056
6073
  #
6057
6074
  # @example Response structure
@@ -6067,10 +6084,11 @@ module Aws::StorageGateway
6067
6084
  req.send_request(options)
6068
6085
  end
6069
6086
 
6070
- # Updates a Server Message Block (SMB) file share.
6087
+ # Updates a Server Message Block (SMB) file share. This operation is
6088
+ # only supported for file gateways.
6071
6089
  #
6072
6090
  # <note markdown="1"> To leave a file share field unchanged, set the corresponding input
6073
- # field to null. This operation is only supported for file gateways.
6091
+ # field to null.
6074
6092
  #
6075
6093
  # </note>
6076
6094
  #
@@ -6162,6 +6180,10 @@ module Aws::StorageGateway
6162
6180
  #
6163
6181
  # [1]: https://docs.aws.amazon.com/storagegateway/latest/userguide/smb-acl.html
6164
6182
  #
6183
+ # @option params [Boolean] :access_based_enumeration
6184
+ # The files and folders on this share will only be visible to users with
6185
+ # read access.
6186
+ #
6165
6187
  # @option params [Array<String>] :admin_user_list
6166
6188
  # A list of users or groups in the Active Directory that have
6167
6189
  # administrator rights to the file share. A group must be prefixed with
@@ -6203,6 +6225,9 @@ module Aws::StorageGateway
6203
6225
  # @option params [Types::CacheAttributes] :cache_attributes
6204
6226
  # Refresh cache information.
6205
6227
  #
6228
+ # @option params [String] :notification_policy
6229
+ # The notification policy of the file share.
6230
+ #
6206
6231
  # @return [Types::UpdateSMBFileShareOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6207
6232
  #
6208
6233
  # * {Types::UpdateSMBFileShareOutput#file_share_arn #file_share_arn} => String
@@ -6219,6 +6244,7 @@ module Aws::StorageGateway
6219
6244
  # guess_mime_type_enabled: false,
6220
6245
  # requester_pays: false,
6221
6246
  # smbacl_enabled: false,
6247
+ # access_based_enumeration: false,
6222
6248
  # admin_user_list: ["FileShareUser"],
6223
6249
  # valid_user_list: ["FileShareUser"],
6224
6250
  # invalid_user_list: ["FileShareUser"],
@@ -6228,6 +6254,7 @@ module Aws::StorageGateway
6228
6254
  # cache_attributes: {
6229
6255
  # cache_stale_timeout_in_seconds: 1,
6230
6256
  # },
6257
+ # notification_policy: "NotificationPolicy",
6231
6258
  # })
6232
6259
  #
6233
6260
  # @example Response structure
@@ -6243,6 +6270,41 @@ module Aws::StorageGateway
6243
6270
  req.send_request(options)
6244
6271
  end
6245
6272
 
6273
+ # Controls whether the shares on a gateway are visible in a net view or
6274
+ # browse list.
6275
+ #
6276
+ # @option params [required, String] :gateway_arn
6277
+ # The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
6278
+ # operation to return a list of gateways for your account and AWS
6279
+ # Region.
6280
+ #
6281
+ # @option params [required, Boolean] :file_shares_visible
6282
+ # The shares on this gateway appear when listing shares.
6283
+ #
6284
+ # @return [Types::UpdateSMBFileShareVisibilityOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6285
+ #
6286
+ # * {Types::UpdateSMBFileShareVisibilityOutput#gateway_arn #gateway_arn} => String
6287
+ #
6288
+ # @example Request syntax with placeholder values
6289
+ #
6290
+ # resp = client.update_smb_file_share_visibility({
6291
+ # gateway_arn: "GatewayARN", # required
6292
+ # file_shares_visible: false, # required
6293
+ # })
6294
+ #
6295
+ # @example Response structure
6296
+ #
6297
+ # resp.gateway_arn #=> String
6298
+ #
6299
+ # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateSMBFileShareVisibility AWS API Documentation
6300
+ #
6301
+ # @overload update_smb_file_share_visibility(params = {})
6302
+ # @param [Hash] params ({})
6303
+ def update_smb_file_share_visibility(params = {}, options = {})
6304
+ req = build_request(:update_smb_file_share_visibility, params)
6305
+ req.send_request(options)
6306
+ end
6307
+
6246
6308
  # Updates the SMB security strategy on a file gateway. This action is
6247
6309
  # only supported in file gateways.
6248
6310
  #
@@ -6456,7 +6518,7 @@ module Aws::StorageGateway
6456
6518
  params: params,
6457
6519
  config: config)
6458
6520
  context[:gem_name] = 'aws-sdk-storagegateway'
6459
- context[:gem_version] = '1.50.0'
6521
+ context[:gem_version] = '1.51.0'
6460
6522
  Seahorse::Client::Request.new(handlers, context)
6461
6523
  end
6462
6524
 
@@ -224,6 +224,7 @@ module Aws::StorageGateway
224
224
  NetworkInterfaceId = Shapes::StringShape.new(name: 'NetworkInterfaceId')
225
225
  NextUpdateAvailabilityDate = Shapes::StringShape.new(name: 'NextUpdateAvailabilityDate')
226
226
  NotificationId = Shapes::StringShape.new(name: 'NotificationId')
227
+ NotificationPolicy = Shapes::StringShape.new(name: 'NotificationPolicy')
227
228
  NotifyWhenUploadedInput = Shapes::StructureShape.new(name: 'NotifyWhenUploadedInput')
228
229
  NotifyWhenUploadedOutput = Shapes::StructureShape.new(name: 'NotifyWhenUploadedOutput')
229
230
  NumTapesToCreate = Shapes::IntegerShape.new(name: 'NumTapesToCreate')
@@ -323,6 +324,8 @@ module Aws::StorageGateway
323
324
  UpdateNFSFileShareOutput = Shapes::StructureShape.new(name: 'UpdateNFSFileShareOutput')
324
325
  UpdateSMBFileShareInput = Shapes::StructureShape.new(name: 'UpdateSMBFileShareInput')
325
326
  UpdateSMBFileShareOutput = Shapes::StructureShape.new(name: 'UpdateSMBFileShareOutput')
327
+ UpdateSMBFileShareVisibilityInput = Shapes::StructureShape.new(name: 'UpdateSMBFileShareVisibilityInput')
328
+ UpdateSMBFileShareVisibilityOutput = Shapes::StructureShape.new(name: 'UpdateSMBFileShareVisibilityOutput')
326
329
  UpdateSMBSecurityStrategyInput = Shapes::StructureShape.new(name: 'UpdateSMBSecurityStrategyInput')
327
330
  UpdateSMBSecurityStrategyOutput = Shapes::StructureShape.new(name: 'UpdateSMBSecurityStrategyOutput')
328
331
  UpdateSnapshotScheduleInput = Shapes::StructureShape.new(name: 'UpdateSnapshotScheduleInput')
@@ -505,6 +508,7 @@ module Aws::StorageGateway
505
508
  CreateNFSFileShareInput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
506
509
  CreateNFSFileShareInput.add_member(:file_share_name, Shapes::ShapeRef.new(shape: FileShareName, location_name: "FileShareName"))
507
510
  CreateNFSFileShareInput.add_member(:cache_attributes, Shapes::ShapeRef.new(shape: CacheAttributes, location_name: "CacheAttributes"))
511
+ CreateNFSFileShareInput.add_member(:notification_policy, Shapes::ShapeRef.new(shape: NotificationPolicy, location_name: "NotificationPolicy"))
508
512
  CreateNFSFileShareInput.struct_class = Types::CreateNFSFileShareInput
509
513
 
510
514
  CreateNFSFileShareOutput.add_member(:file_share_arn, Shapes::ShapeRef.new(shape: FileShareARN, location_name: "FileShareARN"))
@@ -522,6 +526,7 @@ module Aws::StorageGateway
522
526
  CreateSMBFileShareInput.add_member(:guess_mime_type_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "GuessMIMETypeEnabled"))
523
527
  CreateSMBFileShareInput.add_member(:requester_pays, Shapes::ShapeRef.new(shape: Boolean, location_name: "RequesterPays"))
524
528
  CreateSMBFileShareInput.add_member(:smbacl_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "SMBACLEnabled"))
529
+ CreateSMBFileShareInput.add_member(:access_based_enumeration, Shapes::ShapeRef.new(shape: Boolean, location_name: "AccessBasedEnumeration"))
525
530
  CreateSMBFileShareInput.add_member(:admin_user_list, Shapes::ShapeRef.new(shape: FileShareUserList, location_name: "AdminUserList"))
526
531
  CreateSMBFileShareInput.add_member(:valid_user_list, Shapes::ShapeRef.new(shape: FileShareUserList, location_name: "ValidUserList"))
527
532
  CreateSMBFileShareInput.add_member(:invalid_user_list, Shapes::ShapeRef.new(shape: FileShareUserList, location_name: "InvalidUserList"))
@@ -531,6 +536,7 @@ module Aws::StorageGateway
531
536
  CreateSMBFileShareInput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
532
537
  CreateSMBFileShareInput.add_member(:file_share_name, Shapes::ShapeRef.new(shape: FileShareName, location_name: "FileShareName"))
533
538
  CreateSMBFileShareInput.add_member(:cache_attributes, Shapes::ShapeRef.new(shape: CacheAttributes, location_name: "CacheAttributes"))
539
+ CreateSMBFileShareInput.add_member(:notification_policy, Shapes::ShapeRef.new(shape: NotificationPolicy, location_name: "NotificationPolicy"))
534
540
  CreateSMBFileShareInput.struct_class = Types::CreateSMBFileShareInput
535
541
 
536
542
  CreateSMBFileShareOutput.add_member(:file_share_arn, Shapes::ShapeRef.new(shape: FileShareARN, location_name: "FileShareARN"))
@@ -770,6 +776,7 @@ module Aws::StorageGateway
770
776
  DescribeSMBSettingsOutput.add_member(:active_directory_status, Shapes::ShapeRef.new(shape: ActiveDirectoryStatus, location_name: "ActiveDirectoryStatus"))
771
777
  DescribeSMBSettingsOutput.add_member(:smb_guest_password_set, Shapes::ShapeRef.new(shape: Boolean, location_name: "SMBGuestPasswordSet"))
772
778
  DescribeSMBSettingsOutput.add_member(:smb_security_strategy, Shapes::ShapeRef.new(shape: SMBSecurityStrategy, location_name: "SMBSecurityStrategy"))
779
+ DescribeSMBSettingsOutput.add_member(:file_shares_visible, Shapes::ShapeRef.new(shape: Boolean, location_name: "FileSharesVisible"))
773
780
  DescribeSMBSettingsOutput.struct_class = Types::DescribeSMBSettingsOutput
774
781
 
775
782
  DescribeSnapshotScheduleInput.add_member(:volume_arn, Shapes::ShapeRef.new(shape: VolumeARN, required: true, location_name: "VolumeARN"))
@@ -1045,6 +1052,7 @@ module Aws::StorageGateway
1045
1052
  NFSFileShareInfo.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
1046
1053
  NFSFileShareInfo.add_member(:file_share_name, Shapes::ShapeRef.new(shape: FileShareName, location_name: "FileShareName"))
1047
1054
  NFSFileShareInfo.add_member(:cache_attributes, Shapes::ShapeRef.new(shape: CacheAttributes, location_name: "CacheAttributes"))
1055
+ NFSFileShareInfo.add_member(:notification_policy, Shapes::ShapeRef.new(shape: NotificationPolicy, location_name: "NotificationPolicy"))
1048
1056
  NFSFileShareInfo.struct_class = Types::NFSFileShareInfo
1049
1057
 
1050
1058
  NFSFileShareInfoList.member = Shapes::ShapeRef.new(shape: NFSFileShareInfo)
@@ -1124,6 +1132,7 @@ module Aws::StorageGateway
1124
1132
  SMBFileShareInfo.add_member(:guess_mime_type_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "GuessMIMETypeEnabled"))
1125
1133
  SMBFileShareInfo.add_member(:requester_pays, Shapes::ShapeRef.new(shape: Boolean, location_name: "RequesterPays"))
1126
1134
  SMBFileShareInfo.add_member(:smbacl_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "SMBACLEnabled"))
1135
+ SMBFileShareInfo.add_member(:access_based_enumeration, Shapes::ShapeRef.new(shape: Boolean, location_name: "AccessBasedEnumeration"))
1127
1136
  SMBFileShareInfo.add_member(:admin_user_list, Shapes::ShapeRef.new(shape: FileShareUserList, location_name: "AdminUserList"))
1128
1137
  SMBFileShareInfo.add_member(:valid_user_list, Shapes::ShapeRef.new(shape: FileShareUserList, location_name: "ValidUserList"))
1129
1138
  SMBFileShareInfo.add_member(:invalid_user_list, Shapes::ShapeRef.new(shape: FileShareUserList, location_name: "InvalidUserList"))
@@ -1133,6 +1142,7 @@ module Aws::StorageGateway
1133
1142
  SMBFileShareInfo.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
1134
1143
  SMBFileShareInfo.add_member(:file_share_name, Shapes::ShapeRef.new(shape: FileShareName, location_name: "FileShareName"))
1135
1144
  SMBFileShareInfo.add_member(:cache_attributes, Shapes::ShapeRef.new(shape: CacheAttributes, location_name: "CacheAttributes"))
1145
+ SMBFileShareInfo.add_member(:notification_policy, Shapes::ShapeRef.new(shape: NotificationPolicy, location_name: "NotificationPolicy"))
1136
1146
  SMBFileShareInfo.struct_class = Types::SMBFileShareInfo
1137
1147
 
1138
1148
  SMBFileShareInfoList.member = Shapes::ShapeRef.new(shape: SMBFileShareInfo)
@@ -1324,6 +1334,7 @@ module Aws::StorageGateway
1324
1334
  UpdateNFSFileShareInput.add_member(:requester_pays, Shapes::ShapeRef.new(shape: Boolean, location_name: "RequesterPays"))
1325
1335
  UpdateNFSFileShareInput.add_member(:file_share_name, Shapes::ShapeRef.new(shape: FileShareName, location_name: "FileShareName"))
1326
1336
  UpdateNFSFileShareInput.add_member(:cache_attributes, Shapes::ShapeRef.new(shape: CacheAttributes, location_name: "CacheAttributes"))
1337
+ UpdateNFSFileShareInput.add_member(:notification_policy, Shapes::ShapeRef.new(shape: NotificationPolicy, location_name: "NotificationPolicy"))
1327
1338
  UpdateNFSFileShareInput.struct_class = Types::UpdateNFSFileShareInput
1328
1339
 
1329
1340
  UpdateNFSFileShareOutput.add_member(:file_share_arn, Shapes::ShapeRef.new(shape: FileShareARN, location_name: "FileShareARN"))
@@ -1338,6 +1349,7 @@ module Aws::StorageGateway
1338
1349
  UpdateSMBFileShareInput.add_member(:guess_mime_type_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "GuessMIMETypeEnabled"))
1339
1350
  UpdateSMBFileShareInput.add_member(:requester_pays, Shapes::ShapeRef.new(shape: Boolean, location_name: "RequesterPays"))
1340
1351
  UpdateSMBFileShareInput.add_member(:smbacl_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "SMBACLEnabled"))
1352
+ UpdateSMBFileShareInput.add_member(:access_based_enumeration, Shapes::ShapeRef.new(shape: Boolean, location_name: "AccessBasedEnumeration"))
1341
1353
  UpdateSMBFileShareInput.add_member(:admin_user_list, Shapes::ShapeRef.new(shape: FileShareUserList, location_name: "AdminUserList"))
1342
1354
  UpdateSMBFileShareInput.add_member(:valid_user_list, Shapes::ShapeRef.new(shape: FileShareUserList, location_name: "ValidUserList"))
1343
1355
  UpdateSMBFileShareInput.add_member(:invalid_user_list, Shapes::ShapeRef.new(shape: FileShareUserList, location_name: "InvalidUserList"))
@@ -1345,11 +1357,19 @@ module Aws::StorageGateway
1345
1357
  UpdateSMBFileShareInput.add_member(:case_sensitivity, Shapes::ShapeRef.new(shape: CaseSensitivity, location_name: "CaseSensitivity"))
1346
1358
  UpdateSMBFileShareInput.add_member(:file_share_name, Shapes::ShapeRef.new(shape: FileShareName, location_name: "FileShareName"))
1347
1359
  UpdateSMBFileShareInput.add_member(:cache_attributes, Shapes::ShapeRef.new(shape: CacheAttributes, location_name: "CacheAttributes"))
1360
+ UpdateSMBFileShareInput.add_member(:notification_policy, Shapes::ShapeRef.new(shape: NotificationPolicy, location_name: "NotificationPolicy"))
1348
1361
  UpdateSMBFileShareInput.struct_class = Types::UpdateSMBFileShareInput
1349
1362
 
1350
1363
  UpdateSMBFileShareOutput.add_member(:file_share_arn, Shapes::ShapeRef.new(shape: FileShareARN, location_name: "FileShareARN"))
1351
1364
  UpdateSMBFileShareOutput.struct_class = Types::UpdateSMBFileShareOutput
1352
1365
 
1366
+ UpdateSMBFileShareVisibilityInput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayARN, required: true, location_name: "GatewayARN"))
1367
+ UpdateSMBFileShareVisibilityInput.add_member(:file_shares_visible, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "FileSharesVisible"))
1368
+ UpdateSMBFileShareVisibilityInput.struct_class = Types::UpdateSMBFileShareVisibilityInput
1369
+
1370
+ UpdateSMBFileShareVisibilityOutput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayARN, location_name: "GatewayARN"))
1371
+ UpdateSMBFileShareVisibilityOutput.struct_class = Types::UpdateSMBFileShareVisibilityOutput
1372
+
1353
1373
  UpdateSMBSecurityStrategyInput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayARN, required: true, location_name: "GatewayARN"))
1354
1374
  UpdateSMBSecurityStrategyInput.add_member(:smb_security_strategy, Shapes::ShapeRef.new(shape: SMBSecurityStrategy, required: true, location_name: "SMBSecurityStrategy"))
1355
1375
  UpdateSMBSecurityStrategyInput.struct_class = Types::UpdateSMBSecurityStrategyInput
@@ -2270,6 +2290,16 @@ module Aws::StorageGateway
2270
2290
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
2271
2291
  end)
2272
2292
 
2293
+ api.add_operation(:update_smb_file_share_visibility, Seahorse::Model::Operation.new.tap do |o|
2294
+ o.name = "UpdateSMBFileShareVisibility"
2295
+ o.http_method = "POST"
2296
+ o.http_request_uri = "/"
2297
+ o.input = Shapes::ShapeRef.new(shape: UpdateSMBFileShareVisibilityInput)
2298
+ o.output = Shapes::ShapeRef.new(shape: UpdateSMBFileShareVisibilityOutput)
2299
+ o.errors << Shapes::ShapeRef.new(shape: InvalidGatewayRequestException)
2300
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
2301
+ end)
2302
+
2273
2303
  api.add_operation(:update_smb_security_strategy, Seahorse::Model::Operation.new.tap do |o|
2274
2304
  o.name = "UpdateSMBSecurityStrategy"
2275
2305
  o.http_method = "POST"
@@ -1043,6 +1043,7 @@ module Aws::StorageGateway
1043
1043
  # cache_attributes: {
1044
1044
  # cache_stale_timeout_in_seconds: 1,
1045
1045
  # },
1046
+ # notification_policy: "NotificationPolicy",
1046
1047
  # }
1047
1048
  #
1048
1049
  # @!attribute [rw] client_token
@@ -1173,6 +1174,10 @@ module Aws::StorageGateway
1173
1174
  # Refresh cache information.
1174
1175
  # @return [Types::CacheAttributes]
1175
1176
  #
1177
+ # @!attribute [rw] notification_policy
1178
+ # The notification policy of the file share.
1179
+ # @return [String]
1180
+ #
1176
1181
  # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateNFSFileShareInput AWS API Documentation
1177
1182
  #
1178
1183
  class CreateNFSFileShareInput < Struct.new(
@@ -1192,7 +1197,8 @@ module Aws::StorageGateway
1192
1197
  :requester_pays,
1193
1198
  :tags,
1194
1199
  :file_share_name,
1195
- :cache_attributes)
1200
+ :cache_attributes,
1201
+ :notification_policy)
1196
1202
  SENSITIVE = []
1197
1203
  include Aws::Structure
1198
1204
  end
@@ -1229,6 +1235,7 @@ module Aws::StorageGateway
1229
1235
  # guess_mime_type_enabled: false,
1230
1236
  # requester_pays: false,
1231
1237
  # smbacl_enabled: false,
1238
+ # access_based_enumeration: false,
1232
1239
  # admin_user_list: ["FileShareUser"],
1233
1240
  # valid_user_list: ["FileShareUser"],
1234
1241
  # invalid_user_list: ["FileShareUser"],
@@ -1245,6 +1252,7 @@ module Aws::StorageGateway
1245
1252
  # cache_attributes: {
1246
1253
  # cache_stale_timeout_in_seconds: 1,
1247
1254
  # },
1255
+ # notification_policy: "NotificationPolicy",
1248
1256
  # }
1249
1257
  #
1250
1258
  # @!attribute [rw] client_token
@@ -1345,6 +1353,11 @@ module Aws::StorageGateway
1345
1353
  # [1]: https://docs.aws.amazon.com/storagegateway/latest/userguide/smb-acl.html
1346
1354
  # @return [Boolean]
1347
1355
  #
1356
+ # @!attribute [rw] access_based_enumeration
1357
+ # The files and folders on this share will only be visible to users
1358
+ # with read access.
1359
+ # @return [Boolean]
1360
+ #
1348
1361
  # @!attribute [rw] admin_user_list
1349
1362
  # A list of users or groups in the Active Directory that will be
1350
1363
  # granted administrator privileges on the file share. These users can
@@ -1416,6 +1429,10 @@ module Aws::StorageGateway
1416
1429
  # Refresh cache information.
1417
1430
  # @return [Types::CacheAttributes]
1418
1431
  #
1432
+ # @!attribute [rw] notification_policy
1433
+ # The notification policy of the file share.
1434
+ # @return [String]
1435
+ #
1419
1436
  # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateSMBFileShareInput AWS API Documentation
1420
1437
  #
1421
1438
  class CreateSMBFileShareInput < Struct.new(
@@ -1431,6 +1448,7 @@ module Aws::StorageGateway
1431
1448
  :guess_mime_type_enabled,
1432
1449
  :requester_pays,
1433
1450
  :smbacl_enabled,
1451
+ :access_based_enumeration,
1434
1452
  :admin_user_list,
1435
1453
  :valid_user_list,
1436
1454
  :invalid_user_list,
@@ -1439,7 +1457,8 @@ module Aws::StorageGateway
1439
1457
  :case_sensitivity,
1440
1458
  :tags,
1441
1459
  :file_share_name,
1442
- :cache_attributes)
1460
+ :cache_attributes,
1461
+ :notification_policy)
1443
1462
  SENSITIVE = []
1444
1463
  include Aws::Structure
1445
1464
  end
@@ -3169,6 +3188,10 @@ module Aws::StorageGateway
3169
3188
  # Microsoft Windows 8, Windows Server 2012 or newer.
3170
3189
  # @return [String]
3171
3190
  #
3191
+ # @!attribute [rw] file_shares_visible
3192
+ # The shares on this gateway appear when listing shares.
3193
+ # @return [Boolean]
3194
+ #
3172
3195
  # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeSMBSettingsOutput AWS API Documentation
3173
3196
  #
3174
3197
  class DescribeSMBSettingsOutput < Struct.new(
@@ -3176,7 +3199,8 @@ module Aws::StorageGateway
3176
3199
  :domain_name,
3177
3200
  :active_directory_status,
3178
3201
  :smb_guest_password_set,
3179
- :smb_security_strategy)
3202
+ :smb_security_strategy,
3203
+ :file_shares_visible)
3180
3204
  SENSITIVE = []
3181
3205
  include Aws::Structure
3182
3206
  end
@@ -4887,6 +4911,10 @@ module Aws::StorageGateway
4887
4911
  # Refresh cache information.
4888
4912
  # @return [Types::CacheAttributes]
4889
4913
  #
4914
+ # @!attribute [rw] notification_policy
4915
+ # The notification policy of the file share.
4916
+ # @return [String]
4917
+ #
4890
4918
  # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/NFSFileShareInfo AWS API Documentation
4891
4919
  #
4892
4920
  class NFSFileShareInfo < Struct.new(
@@ -4909,7 +4937,8 @@ module Aws::StorageGateway
4909
4937
  :requester_pays,
4910
4938
  :tags,
4911
4939
  :file_share_name,
4912
- :cache_attributes)
4940
+ :cache_attributes,
4941
+ :notification_policy)
4913
4942
  SENSITIVE = []
4914
4943
  include Aws::Structure
4915
4944
  end
@@ -5385,6 +5414,10 @@ module Aws::StorageGateway
5385
5414
  # [1]: https://docs.aws.amazon.com/storagegateway/latest/userguide/smb-acl.html
5386
5415
  # @return [Boolean]
5387
5416
  #
5417
+ # @!attribute [rw] access_based_enumeration
5418
+ # Indicates whether `AccessBasedEnumeration` is enabled.
5419
+ # @return [Boolean]
5420
+ #
5388
5421
  # @!attribute [rw] admin_user_list
5389
5422
  # A list of users or groups in the Active Directory that have
5390
5423
  # administrator rights to the file share. A group must be prefixed
@@ -5448,6 +5481,10 @@ module Aws::StorageGateway
5448
5481
  # Refresh cache information.
5449
5482
  # @return [Types::CacheAttributes]
5450
5483
  #
5484
+ # @!attribute [rw] notification_policy
5485
+ # The notification policy of the file share.
5486
+ # @return [String]
5487
+ #
5451
5488
  # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/SMBFileShareInfo AWS API Documentation
5452
5489
  #
5453
5490
  class SMBFileShareInfo < Struct.new(
@@ -5466,6 +5503,7 @@ module Aws::StorageGateway
5466
5503
  :guess_mime_type_enabled,
5467
5504
  :requester_pays,
5468
5505
  :smbacl_enabled,
5506
+ :access_based_enumeration,
5469
5507
  :admin_user_list,
5470
5508
  :valid_user_list,
5471
5509
  :invalid_user_list,
@@ -5474,7 +5512,8 @@ module Aws::StorageGateway
5474
5512
  :case_sensitivity,
5475
5513
  :tags,
5476
5514
  :file_share_name,
5477
- :cache_attributes)
5515
+ :cache_attributes,
5516
+ :notification_policy)
5478
5517
  SENSITIVE = []
5479
5518
  include Aws::Structure
5480
5519
  end
@@ -6568,6 +6607,7 @@ module Aws::StorageGateway
6568
6607
  # cache_attributes: {
6569
6608
  # cache_stale_timeout_in_seconds: 1,
6570
6609
  # },
6610
+ # notification_policy: "NotificationPolicy",
6571
6611
  # }
6572
6612
  #
6573
6613
  # @!attribute [rw] file_share_arn
@@ -6670,6 +6710,10 @@ module Aws::StorageGateway
6670
6710
  # Refresh cache information.
6671
6711
  # @return [Types::CacheAttributes]
6672
6712
  #
6713
+ # @!attribute [rw] notification_policy
6714
+ # The notification policy of the file share.
6715
+ # @return [String]
6716
+ #
6673
6717
  # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateNFSFileShareInput AWS API Documentation
6674
6718
  #
6675
6719
  class UpdateNFSFileShareInput < Struct.new(
@@ -6685,7 +6729,8 @@ module Aws::StorageGateway
6685
6729
  :guess_mime_type_enabled,
6686
6730
  :requester_pays,
6687
6731
  :file_share_name,
6688
- :cache_attributes)
6732
+ :cache_attributes,
6733
+ :notification_policy)
6689
6734
  SENSITIVE = []
6690
6735
  include Aws::Structure
6691
6736
  end
@@ -6719,6 +6764,7 @@ module Aws::StorageGateway
6719
6764
  # guess_mime_type_enabled: false,
6720
6765
  # requester_pays: false,
6721
6766
  # smbacl_enabled: false,
6767
+ # access_based_enumeration: false,
6722
6768
  # admin_user_list: ["FileShareUser"],
6723
6769
  # valid_user_list: ["FileShareUser"],
6724
6770
  # invalid_user_list: ["FileShareUser"],
@@ -6728,6 +6774,7 @@ module Aws::StorageGateway
6728
6774
  # cache_attributes: {
6729
6775
  # cache_stale_timeout_in_seconds: 1,
6730
6776
  # },
6777
+ # notification_policy: "NotificationPolicy",
6731
6778
  # }
6732
6779
  #
6733
6780
  # @!attribute [rw] file_share_arn
@@ -6813,6 +6860,11 @@ module Aws::StorageGateway
6813
6860
  # [1]: https://docs.aws.amazon.com/storagegateway/latest/userguide/smb-acl.html
6814
6861
  # @return [Boolean]
6815
6862
  #
6863
+ # @!attribute [rw] access_based_enumeration
6864
+ # The files and folders on this share will only be visible to users
6865
+ # with read access.
6866
+ # @return [Boolean]
6867
+ #
6816
6868
  # @!attribute [rw] admin_user_list
6817
6869
  # A list of users or groups in the Active Directory that have
6818
6870
  # administrator rights to the file share. A group must be prefixed
@@ -6862,6 +6914,10 @@ module Aws::StorageGateway
6862
6914
  # Refresh cache information.
6863
6915
  # @return [Types::CacheAttributes]
6864
6916
  #
6917
+ # @!attribute [rw] notification_policy
6918
+ # The notification policy of the file share.
6919
+ # @return [String]
6920
+ #
6865
6921
  # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateSMBFileShareInput AWS API Documentation
6866
6922
  #
6867
6923
  class UpdateSMBFileShareInput < Struct.new(
@@ -6874,13 +6930,15 @@ module Aws::StorageGateway
6874
6930
  :guess_mime_type_enabled,
6875
6931
  :requester_pays,
6876
6932
  :smbacl_enabled,
6933
+ :access_based_enumeration,
6877
6934
  :admin_user_list,
6878
6935
  :valid_user_list,
6879
6936
  :invalid_user_list,
6880
6937
  :audit_destination_arn,
6881
6938
  :case_sensitivity,
6882
6939
  :file_share_name,
6883
- :cache_attributes)
6940
+ :cache_attributes,
6941
+ :notification_policy)
6884
6942
  SENSITIVE = []
6885
6943
  include Aws::Structure
6886
6944
  end
@@ -6899,6 +6957,47 @@ module Aws::StorageGateway
6899
6957
  include Aws::Structure
6900
6958
  end
6901
6959
 
6960
+ # @note When making an API call, you may pass UpdateSMBFileShareVisibilityInput
6961
+ # data as a hash:
6962
+ #
6963
+ # {
6964
+ # gateway_arn: "GatewayARN", # required
6965
+ # file_shares_visible: false, # required
6966
+ # }
6967
+ #
6968
+ # @!attribute [rw] gateway_arn
6969
+ # The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
6970
+ # operation to return a list of gateways for your account and AWS
6971
+ # Region.
6972
+ # @return [String]
6973
+ #
6974
+ # @!attribute [rw] file_shares_visible
6975
+ # The shares on this gateway appear when listing shares.
6976
+ # @return [Boolean]
6977
+ #
6978
+ # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateSMBFileShareVisibilityInput AWS API Documentation
6979
+ #
6980
+ class UpdateSMBFileShareVisibilityInput < Struct.new(
6981
+ :gateway_arn,
6982
+ :file_shares_visible)
6983
+ SENSITIVE = []
6984
+ include Aws::Structure
6985
+ end
6986
+
6987
+ # @!attribute [rw] gateway_arn
6988
+ # The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
6989
+ # operation to return a list of gateways for your account and AWS
6990
+ # Region.
6991
+ # @return [String]
6992
+ #
6993
+ # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateSMBFileShareVisibilityOutput AWS API Documentation
6994
+ #
6995
+ class UpdateSMBFileShareVisibilityOutput < Struct.new(
6996
+ :gateway_arn)
6997
+ SENSITIVE = []
6998
+ include Aws::Structure
6999
+ end
7000
+
6902
7001
  # @note When making an API call, you may pass UpdateSMBSecurityStrategyInput
6903
7002
  # data as a hash:
6904
7003
  #
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.50.0
4
+ version: 1.51.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: 2020-09-30 00:00:00.000000000 Z
11
+ date: 2020-10-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core