aws-sdk-storagegateway 1.47.0 → 1.52.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-storagegateway.rb +3 -2
- data/lib/aws-sdk-storagegateway/client.rb +204 -16
- data/lib/aws-sdk-storagegateway/client_api.rb +90 -0
- data/lib/aws-sdk-storagegateway/types.rb +272 -7
- 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: 30b8c2e5eb51fe07223e84fbe814ed47b5afdcc8cfc52d2000d5068618265a07
|
4
|
+
data.tar.gz: a129e51b4367992983d2d810f676e6fcb69019acb484ffda7d9c63f07a5121e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 03e192276701a01d7dc63e84008357c1f727bcf35d18e5e89d73ad3d9de6a244c2baaae8b1027ddb11bc29cc1c4d84e0dc2e1f5b3a267a4119790f8ad6e1a74c
|
7
|
+
data.tar.gz: 822466de77c5f423ed09081fb759d26209f3fb13e94a5b6641c49d0ff47e66d6fd9aba2d0ee7d1b93f063f60707c27a24d3649faff60f5c45417590483cf68d0
|
@@ -7,6 +7,7 @@
|
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
10
|
+
|
10
11
|
require 'aws-sdk-core'
|
11
12
|
require 'aws-sigv4'
|
12
13
|
|
@@ -44,9 +45,9 @@ require_relative 'aws-sdk-storagegateway/customizations'
|
|
44
45
|
#
|
45
46
|
# See {Errors} for more information.
|
46
47
|
#
|
47
|
-
#
|
48
|
+
# @!group service
|
48
49
|
module Aws::StorageGateway
|
49
50
|
|
50
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.52.0'
|
51
52
|
|
52
53
|
end
|
@@ -85,13 +85,28 @@ module Aws::StorageGateway
|
|
85
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
86
86
|
# credentials.
|
87
87
|
#
|
88
|
+
# * `Aws::SharedCredentials` - Used for loading static credentials from a
|
89
|
+
# shared file, such as `~/.aws/config`.
|
90
|
+
#
|
91
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
92
|
+
#
|
93
|
+
# * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
|
94
|
+
# assume a role after providing credentials via the web.
|
95
|
+
#
|
96
|
+
# * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
|
97
|
+
# access token generated from `aws login`.
|
98
|
+
#
|
99
|
+
# * `Aws::ProcessCredentials` - Used for loading credentials from a
|
100
|
+
# process that outputs to stdout.
|
101
|
+
#
|
88
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
89
103
|
# from an EC2 IMDS on an EC2 instance.
|
90
104
|
#
|
91
|
-
# * `Aws::
|
92
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
93
107
|
#
|
94
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
95
110
|
#
|
96
111
|
# When `:credentials` are not configured directly, the following
|
97
112
|
# locations will be searched for credentials:
|
@@ -101,10 +116,10 @@ module Aws::StorageGateway
|
|
101
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
102
117
|
# * `~/.aws/credentials`
|
103
118
|
# * `~/.aws/config`
|
104
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
105
|
-
# very aggressive. Construct and pass an instance of
|
106
|
-
# `Aws::InstanceProfileCredentails`
|
107
|
-
# timeouts.
|
119
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
|
+
# are very aggressive. Construct and pass an instance of
|
121
|
+
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
+
# enable retries and extended timeouts.
|
108
123
|
#
|
109
124
|
# @option options [required, String] :region
|
110
125
|
# The AWS region to connect to. The configured `:region` is
|
@@ -1249,6 +1264,9 @@ module Aws::StorageGateway
|
|
1249
1264
|
# @option params [Types::CacheAttributes] :cache_attributes
|
1250
1265
|
# Refresh cache information.
|
1251
1266
|
#
|
1267
|
+
# @option params [String] :notification_policy
|
1268
|
+
# The notification policy of the file share.
|
1269
|
+
#
|
1252
1270
|
# @return [Types::CreateNFSFileShareOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1253
1271
|
#
|
1254
1272
|
# * {Types::CreateNFSFileShareOutput#file_share_arn #file_share_arn} => String
|
@@ -1285,6 +1303,7 @@ module Aws::StorageGateway
|
|
1285
1303
|
# cache_attributes: {
|
1286
1304
|
# cache_stale_timeout_in_seconds: 1,
|
1287
1305
|
# },
|
1306
|
+
# notification_policy: "NotificationPolicy",
|
1288
1307
|
# })
|
1289
1308
|
#
|
1290
1309
|
# @example Response structure
|
@@ -1405,6 +1424,10 @@ module Aws::StorageGateway
|
|
1405
1424
|
#
|
1406
1425
|
# [1]: https://docs.aws.amazon.com/storagegateway/latest/userguide/smb-acl.html
|
1407
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
|
+
#
|
1408
1431
|
# @option params [Array<String>] :admin_user_list
|
1409
1432
|
# A list of users or groups in the Active Directory that will be granted
|
1410
1433
|
# administrator privileges on the file share. These users can do all
|
@@ -1465,6 +1488,9 @@ module Aws::StorageGateway
|
|
1465
1488
|
# @option params [Types::CacheAttributes] :cache_attributes
|
1466
1489
|
# Refresh cache information.
|
1467
1490
|
#
|
1491
|
+
# @option params [String] :notification_policy
|
1492
|
+
# The notification policy of the file share.
|
1493
|
+
#
|
1468
1494
|
# @return [Types::CreateSMBFileShareOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1469
1495
|
#
|
1470
1496
|
# * {Types::CreateSMBFileShareOutput#file_share_arn #file_share_arn} => String
|
@@ -1484,6 +1510,7 @@ module Aws::StorageGateway
|
|
1484
1510
|
# guess_mime_type_enabled: false,
|
1485
1511
|
# requester_pays: false,
|
1486
1512
|
# smbacl_enabled: false,
|
1513
|
+
# access_based_enumeration: false,
|
1487
1514
|
# admin_user_list: ["FileShareUser"],
|
1488
1515
|
# valid_user_list: ["FileShareUser"],
|
1489
1516
|
# invalid_user_list: ["FileShareUser"],
|
@@ -1500,6 +1527,7 @@ module Aws::StorageGateway
|
|
1500
1527
|
# cache_attributes: {
|
1501
1528
|
# cache_stale_timeout_in_seconds: 1,
|
1502
1529
|
# },
|
1530
|
+
# notification_policy: "NotificationPolicy",
|
1503
1531
|
# })
|
1504
1532
|
#
|
1505
1533
|
# @example Response structure
|
@@ -2800,6 +2828,65 @@ module Aws::StorageGateway
|
|
2800
2828
|
req.send_request(options)
|
2801
2829
|
end
|
2802
2830
|
|
2831
|
+
# Returns information about the bandwidth rate limit schedule of a
|
2832
|
+
# gateway. By default, gateways do not have bandwidth rate limit
|
2833
|
+
# schedules, which means no bandwidth rate limiting is in effect. This
|
2834
|
+
# operation is supported only in the volume and tape gateway types.
|
2835
|
+
#
|
2836
|
+
# This operation returns information about a gateway's bandwidth rate
|
2837
|
+
# limit schedule. A bandwidth rate limit schedule consists of one or
|
2838
|
+
# more bandwidth rate limit intervals. A bandwidth rate limit interval
|
2839
|
+
# defines a period of time on one or more days of the week, during which
|
2840
|
+
# bandwidth rate limits are specified for uploading, downloading, or
|
2841
|
+
# both.
|
2842
|
+
#
|
2843
|
+
# A bandwidth rate limit interval consists of one or more days of the
|
2844
|
+
# week, a start hour and minute, an ending hour and minute, and
|
2845
|
+
# bandwidth rate limits for uploading and downloading
|
2846
|
+
#
|
2847
|
+
# If no bandwidth rate limit schedule intervals are set for the gateway,
|
2848
|
+
# this operation returns an empty response. To specify which gateway to
|
2849
|
+
# describe, use the Amazon Resource Name (ARN) of the gateway in your
|
2850
|
+
# request.
|
2851
|
+
#
|
2852
|
+
# @option params [required, String] :gateway_arn
|
2853
|
+
# The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
|
2854
|
+
# operation to return a list of gateways for your account and AWS
|
2855
|
+
# Region.
|
2856
|
+
#
|
2857
|
+
# @return [Types::DescribeBandwidthRateLimitScheduleOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2858
|
+
#
|
2859
|
+
# * {Types::DescribeBandwidthRateLimitScheduleOutput#gateway_arn #gateway_arn} => String
|
2860
|
+
# * {Types::DescribeBandwidthRateLimitScheduleOutput#bandwidth_rate_limit_intervals #bandwidth_rate_limit_intervals} => Array<Types::BandwidthRateLimitInterval>
|
2861
|
+
#
|
2862
|
+
# @example Request syntax with placeholder values
|
2863
|
+
#
|
2864
|
+
# resp = client.describe_bandwidth_rate_limit_schedule({
|
2865
|
+
# gateway_arn: "GatewayARN", # required
|
2866
|
+
# })
|
2867
|
+
#
|
2868
|
+
# @example Response structure
|
2869
|
+
#
|
2870
|
+
# resp.gateway_arn #=> String
|
2871
|
+
# resp.bandwidth_rate_limit_intervals #=> Array
|
2872
|
+
# resp.bandwidth_rate_limit_intervals[0].start_hour_of_day #=> Integer
|
2873
|
+
# resp.bandwidth_rate_limit_intervals[0].start_minute_of_hour #=> Integer
|
2874
|
+
# resp.bandwidth_rate_limit_intervals[0].end_hour_of_day #=> Integer
|
2875
|
+
# resp.bandwidth_rate_limit_intervals[0].end_minute_of_hour #=> Integer
|
2876
|
+
# resp.bandwidth_rate_limit_intervals[0].days_of_week #=> Array
|
2877
|
+
# resp.bandwidth_rate_limit_intervals[0].days_of_week[0] #=> Integer
|
2878
|
+
# resp.bandwidth_rate_limit_intervals[0].average_upload_rate_limit_in_bits_per_sec #=> Integer
|
2879
|
+
# resp.bandwidth_rate_limit_intervals[0].average_download_rate_limit_in_bits_per_sec #=> Integer
|
2880
|
+
#
|
2881
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeBandwidthRateLimitSchedule AWS API Documentation
|
2882
|
+
#
|
2883
|
+
# @overload describe_bandwidth_rate_limit_schedule(params = {})
|
2884
|
+
# @param [Hash] params ({})
|
2885
|
+
def describe_bandwidth_rate_limit_schedule(params = {}, options = {})
|
2886
|
+
req = build_request(:describe_bandwidth_rate_limit_schedule, params)
|
2887
|
+
req.send_request(options)
|
2888
|
+
end
|
2889
|
+
|
2803
2890
|
# Returns information about the cache of a gateway. This operation is
|
2804
2891
|
# only supported in the cached volume, tape, and file gateway types.
|
2805
2892
|
#
|
@@ -3219,6 +3306,7 @@ module Aws::StorageGateway
|
|
3219
3306
|
# resp.nfs_file_share_info_list[0].tags[0].value #=> String
|
3220
3307
|
# resp.nfs_file_share_info_list[0].file_share_name #=> String
|
3221
3308
|
# resp.nfs_file_share_info_list[0].cache_attributes.cache_stale_timeout_in_seconds #=> Integer
|
3309
|
+
# resp.nfs_file_share_info_list[0].notification_policy #=> String
|
3222
3310
|
#
|
3223
3311
|
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeNFSFileShares AWS API Documentation
|
3224
3312
|
#
|
@@ -3265,6 +3353,7 @@ module Aws::StorageGateway
|
|
3265
3353
|
# resp.smb_file_share_info_list[0].guess_mime_type_enabled #=> Boolean
|
3266
3354
|
# resp.smb_file_share_info_list[0].requester_pays #=> Boolean
|
3267
3355
|
# resp.smb_file_share_info_list[0].smbacl_enabled #=> Boolean
|
3356
|
+
# resp.smb_file_share_info_list[0].access_based_enumeration #=> Boolean
|
3268
3357
|
# resp.smb_file_share_info_list[0].admin_user_list #=> Array
|
3269
3358
|
# resp.smb_file_share_info_list[0].admin_user_list[0] #=> String
|
3270
3359
|
# resp.smb_file_share_info_list[0].valid_user_list #=> Array
|
@@ -3279,6 +3368,7 @@ module Aws::StorageGateway
|
|
3279
3368
|
# resp.smb_file_share_info_list[0].tags[0].value #=> String
|
3280
3369
|
# resp.smb_file_share_info_list[0].file_share_name #=> String
|
3281
3370
|
# resp.smb_file_share_info_list[0].cache_attributes.cache_stale_timeout_in_seconds #=> Integer
|
3371
|
+
# resp.smb_file_share_info_list[0].notification_policy #=> String
|
3282
3372
|
#
|
3283
3373
|
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeSMBFileShares AWS API Documentation
|
3284
3374
|
#
|
@@ -3305,6 +3395,7 @@ module Aws::StorageGateway
|
|
3305
3395
|
# * {Types::DescribeSMBSettingsOutput#active_directory_status #active_directory_status} => String
|
3306
3396
|
# * {Types::DescribeSMBSettingsOutput#smb_guest_password_set #smb_guest_password_set} => Boolean
|
3307
3397
|
# * {Types::DescribeSMBSettingsOutput#smb_security_strategy #smb_security_strategy} => String
|
3398
|
+
# * {Types::DescribeSMBSettingsOutput#file_shares_visible #file_shares_visible} => Boolean
|
3308
3399
|
#
|
3309
3400
|
# @example Request syntax with placeholder values
|
3310
3401
|
#
|
@@ -3319,6 +3410,7 @@ module Aws::StorageGateway
|
|
3319
3410
|
# resp.active_directory_status #=> String, one of "ACCESS_DENIED", "DETACHED", "JOINED", "JOINING", "NETWORK_ERROR", "TIMEOUT", "UNKNOWN_ERROR"
|
3320
3411
|
# resp.smb_guest_password_set #=> Boolean
|
3321
3412
|
# resp.smb_security_strategy #=> String, one of "ClientSpecified", "MandatorySigning", "MandatoryEncryption"
|
3413
|
+
# resp.file_shares_visible #=> Boolean
|
3322
3414
|
#
|
3323
3415
|
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeSMBSettings AWS API Documentation
|
3324
3416
|
#
|
@@ -4571,6 +4663,8 @@ module Aws::StorageGateway
|
|
4571
4663
|
# * {Types::ListTapePoolsOutput#pool_infos #pool_infos} => Array<Types::PoolInfo>
|
4572
4664
|
# * {Types::ListTapePoolsOutput#marker #marker} => String
|
4573
4665
|
#
|
4666
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
4667
|
+
#
|
4574
4668
|
# @example Request syntax with placeholder values
|
4575
4669
|
#
|
4576
4670
|
# resp = client.list_tape_pools({
|
@@ -5605,6 +5699,56 @@ module Aws::StorageGateway
|
|
5605
5699
|
req.send_request(options)
|
5606
5700
|
end
|
5607
5701
|
|
5702
|
+
# Updates the bandwidth rate limit schedule for a specified gateway. By
|
5703
|
+
# default, gateways do not have bandwidth rate limit schedules, which
|
5704
|
+
# means no bandwidth rate limiting is in effect. Use this to initiate or
|
5705
|
+
# update a gateway's bandwidth rate limit schedule. This operation is
|
5706
|
+
# supported in the volume and tape gateway types.
|
5707
|
+
#
|
5708
|
+
# @option params [required, String] :gateway_arn
|
5709
|
+
# The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
|
5710
|
+
# operation to return a list of gateways for your account and AWS
|
5711
|
+
# Region.
|
5712
|
+
#
|
5713
|
+
# @option params [required, Array<Types::BandwidthRateLimitInterval>] :bandwidth_rate_limit_intervals
|
5714
|
+
# An array containing bandwidth rate limit schedule intervals for a
|
5715
|
+
# gateway. When no bandwidth rate limit intervals have been scheduled,
|
5716
|
+
# the array is empty.
|
5717
|
+
#
|
5718
|
+
# @return [Types::UpdateBandwidthRateLimitScheduleOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5719
|
+
#
|
5720
|
+
# * {Types::UpdateBandwidthRateLimitScheduleOutput#gateway_arn #gateway_arn} => String
|
5721
|
+
#
|
5722
|
+
# @example Request syntax with placeholder values
|
5723
|
+
#
|
5724
|
+
# resp = client.update_bandwidth_rate_limit_schedule({
|
5725
|
+
# gateway_arn: "GatewayARN", # required
|
5726
|
+
# bandwidth_rate_limit_intervals: [ # required
|
5727
|
+
# {
|
5728
|
+
# start_hour_of_day: 1, # required
|
5729
|
+
# start_minute_of_hour: 1, # required
|
5730
|
+
# end_hour_of_day: 1, # required
|
5731
|
+
# end_minute_of_hour: 1, # required
|
5732
|
+
# days_of_week: [1], # required
|
5733
|
+
# average_upload_rate_limit_in_bits_per_sec: 1,
|
5734
|
+
# average_download_rate_limit_in_bits_per_sec: 1,
|
5735
|
+
# },
|
5736
|
+
# ],
|
5737
|
+
# })
|
5738
|
+
#
|
5739
|
+
# @example Response structure
|
5740
|
+
#
|
5741
|
+
# resp.gateway_arn #=> String
|
5742
|
+
#
|
5743
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateBandwidthRateLimitSchedule AWS API Documentation
|
5744
|
+
#
|
5745
|
+
# @overload update_bandwidth_rate_limit_schedule(params = {})
|
5746
|
+
# @param [Hash] params ({})
|
5747
|
+
def update_bandwidth_rate_limit_schedule(params = {}, options = {})
|
5748
|
+
req = build_request(:update_bandwidth_rate_limit_schedule, params)
|
5749
|
+
req.send_request(options)
|
5750
|
+
end
|
5751
|
+
|
5608
5752
|
# Updates the Challenge-Handshake Authentication Protocol (CHAP)
|
5609
5753
|
# credentials for a specified iSCSI target. By default, a gateway does
|
5610
5754
|
# not have CHAP enabled; however, for added security, you might use it.
|
@@ -5908,7 +6052,7 @@ module Aws::StorageGateway
|
|
5908
6052
|
#
|
5909
6053
|
# </note>
|
5910
6054
|
#
|
5911
|
-
# Updates the following file share
|
6055
|
+
# Updates the following file share settings:
|
5912
6056
|
#
|
5913
6057
|
# * Default storage class for your S3 bucket
|
5914
6058
|
#
|
@@ -5920,11 +6064,6 @@ module Aws::StorageGateway
|
|
5920
6064
|
#
|
5921
6065
|
# * Write status of your file share
|
5922
6066
|
#
|
5923
|
-
# <note markdown="1"> To leave a file share field unchanged, set the corresponding input
|
5924
|
-
# field to null. This operation is only supported in file gateways.
|
5925
|
-
#
|
5926
|
-
# </note>
|
5927
|
-
#
|
5928
6067
|
# @option params [required, String] :file_share_arn
|
5929
6068
|
# The Amazon Resource Name (ARN) of the file share to be updated.
|
5930
6069
|
#
|
@@ -6010,6 +6149,9 @@ module Aws::StorageGateway
|
|
6010
6149
|
# @option params [Types::CacheAttributes] :cache_attributes
|
6011
6150
|
# Refresh cache information.
|
6012
6151
|
#
|
6152
|
+
# @option params [String] :notification_policy
|
6153
|
+
# The notification policy of the file share.
|
6154
|
+
#
|
6013
6155
|
# @return [Types::UpdateNFSFileShareOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6014
6156
|
#
|
6015
6157
|
# * {Types::UpdateNFSFileShareOutput#file_share_arn #file_share_arn} => String
|
@@ -6037,6 +6179,7 @@ module Aws::StorageGateway
|
|
6037
6179
|
# cache_attributes: {
|
6038
6180
|
# cache_stale_timeout_in_seconds: 1,
|
6039
6181
|
# },
|
6182
|
+
# notification_policy: "NotificationPolicy",
|
6040
6183
|
# })
|
6041
6184
|
#
|
6042
6185
|
# @example Response structure
|
@@ -6052,10 +6195,11 @@ module Aws::StorageGateway
|
|
6052
6195
|
req.send_request(options)
|
6053
6196
|
end
|
6054
6197
|
|
6055
|
-
# Updates a Server Message Block (SMB) file share.
|
6198
|
+
# Updates a Server Message Block (SMB) file share. This operation is
|
6199
|
+
# only supported for file gateways.
|
6056
6200
|
#
|
6057
6201
|
# <note markdown="1"> To leave a file share field unchanged, set the corresponding input
|
6058
|
-
# field to null.
|
6202
|
+
# field to null.
|
6059
6203
|
#
|
6060
6204
|
# </note>
|
6061
6205
|
#
|
@@ -6147,6 +6291,10 @@ module Aws::StorageGateway
|
|
6147
6291
|
#
|
6148
6292
|
# [1]: https://docs.aws.amazon.com/storagegateway/latest/userguide/smb-acl.html
|
6149
6293
|
#
|
6294
|
+
# @option params [Boolean] :access_based_enumeration
|
6295
|
+
# The files and folders on this share will only be visible to users with
|
6296
|
+
# read access.
|
6297
|
+
#
|
6150
6298
|
# @option params [Array<String>] :admin_user_list
|
6151
6299
|
# A list of users or groups in the Active Directory that have
|
6152
6300
|
# administrator rights to the file share. A group must be prefixed with
|
@@ -6188,6 +6336,9 @@ module Aws::StorageGateway
|
|
6188
6336
|
# @option params [Types::CacheAttributes] :cache_attributes
|
6189
6337
|
# Refresh cache information.
|
6190
6338
|
#
|
6339
|
+
# @option params [String] :notification_policy
|
6340
|
+
# The notification policy of the file share.
|
6341
|
+
#
|
6191
6342
|
# @return [Types::UpdateSMBFileShareOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6192
6343
|
#
|
6193
6344
|
# * {Types::UpdateSMBFileShareOutput#file_share_arn #file_share_arn} => String
|
@@ -6204,6 +6355,7 @@ module Aws::StorageGateway
|
|
6204
6355
|
# guess_mime_type_enabled: false,
|
6205
6356
|
# requester_pays: false,
|
6206
6357
|
# smbacl_enabled: false,
|
6358
|
+
# access_based_enumeration: false,
|
6207
6359
|
# admin_user_list: ["FileShareUser"],
|
6208
6360
|
# valid_user_list: ["FileShareUser"],
|
6209
6361
|
# invalid_user_list: ["FileShareUser"],
|
@@ -6213,6 +6365,7 @@ module Aws::StorageGateway
|
|
6213
6365
|
# cache_attributes: {
|
6214
6366
|
# cache_stale_timeout_in_seconds: 1,
|
6215
6367
|
# },
|
6368
|
+
# notification_policy: "NotificationPolicy",
|
6216
6369
|
# })
|
6217
6370
|
#
|
6218
6371
|
# @example Response structure
|
@@ -6228,6 +6381,41 @@ module Aws::StorageGateway
|
|
6228
6381
|
req.send_request(options)
|
6229
6382
|
end
|
6230
6383
|
|
6384
|
+
# Controls whether the shares on a gateway are visible in a net view or
|
6385
|
+
# browse list.
|
6386
|
+
#
|
6387
|
+
# @option params [required, String] :gateway_arn
|
6388
|
+
# The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
|
6389
|
+
# operation to return a list of gateways for your account and AWS
|
6390
|
+
# Region.
|
6391
|
+
#
|
6392
|
+
# @option params [required, Boolean] :file_shares_visible
|
6393
|
+
# The shares on this gateway appear when listing shares.
|
6394
|
+
#
|
6395
|
+
# @return [Types::UpdateSMBFileShareVisibilityOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6396
|
+
#
|
6397
|
+
# * {Types::UpdateSMBFileShareVisibilityOutput#gateway_arn #gateway_arn} => String
|
6398
|
+
#
|
6399
|
+
# @example Request syntax with placeholder values
|
6400
|
+
#
|
6401
|
+
# resp = client.update_smb_file_share_visibility({
|
6402
|
+
# gateway_arn: "GatewayARN", # required
|
6403
|
+
# file_shares_visible: false, # required
|
6404
|
+
# })
|
6405
|
+
#
|
6406
|
+
# @example Response structure
|
6407
|
+
#
|
6408
|
+
# resp.gateway_arn #=> String
|
6409
|
+
#
|
6410
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateSMBFileShareVisibility AWS API Documentation
|
6411
|
+
#
|
6412
|
+
# @overload update_smb_file_share_visibility(params = {})
|
6413
|
+
# @param [Hash] params ({})
|
6414
|
+
def update_smb_file_share_visibility(params = {}, options = {})
|
6415
|
+
req = build_request(:update_smb_file_share_visibility, params)
|
6416
|
+
req.send_request(options)
|
6417
|
+
end
|
6418
|
+
|
6231
6419
|
# Updates the SMB security strategy on a file gateway. This action is
|
6232
6420
|
# only supported in file gateways.
|
6233
6421
|
#
|
@@ -6441,7 +6629,7 @@ module Aws::StorageGateway
|
|
6441
6629
|
params: params,
|
6442
6630
|
config: config)
|
6443
6631
|
context[:gem_name] = 'aws-sdk-storagegateway'
|
6444
|
-
context[:gem_version] = '1.
|
6632
|
+
context[:gem_version] = '1.52.0'
|
6445
6633
|
Seahorse::Client::Request.new(handlers, context)
|
6446
6634
|
end
|
6447
6635
|
|
@@ -37,6 +37,8 @@ module Aws::StorageGateway
|
|
37
37
|
AutomaticTapeCreationRules = Shapes::ListShape.new(name: 'AutomaticTapeCreationRules')
|
38
38
|
AvailabilityMonitorTestStatus = Shapes::StringShape.new(name: 'AvailabilityMonitorTestStatus')
|
39
39
|
BandwidthDownloadRateLimit = Shapes::IntegerShape.new(name: 'BandwidthDownloadRateLimit')
|
40
|
+
BandwidthRateLimitInterval = Shapes::StructureShape.new(name: 'BandwidthRateLimitInterval')
|
41
|
+
BandwidthRateLimitIntervals = Shapes::ListShape.new(name: 'BandwidthRateLimitIntervals')
|
40
42
|
BandwidthType = Shapes::StringShape.new(name: 'BandwidthType')
|
41
43
|
BandwidthUploadRateLimit = Shapes::IntegerShape.new(name: 'BandwidthUploadRateLimit')
|
42
44
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
@@ -75,6 +77,7 @@ module Aws::StorageGateway
|
|
75
77
|
CreatedDate = Shapes::TimestampShape.new(name: 'CreatedDate')
|
76
78
|
DayOfMonth = Shapes::IntegerShape.new(name: 'DayOfMonth')
|
77
79
|
DayOfWeek = Shapes::IntegerShape.new(name: 'DayOfWeek')
|
80
|
+
DaysOfWeek = Shapes::ListShape.new(name: 'DaysOfWeek')
|
78
81
|
DeleteAutomaticTapeCreationPolicyInput = Shapes::StructureShape.new(name: 'DeleteAutomaticTapeCreationPolicyInput')
|
79
82
|
DeleteAutomaticTapeCreationPolicyOutput = Shapes::StructureShape.new(name: 'DeleteAutomaticTapeCreationPolicyOutput')
|
80
83
|
DeleteBandwidthRateLimitInput = Shapes::StructureShape.new(name: 'DeleteBandwidthRateLimitInput')
|
@@ -100,6 +103,8 @@ module Aws::StorageGateway
|
|
100
103
|
DescribeAvailabilityMonitorTestOutput = Shapes::StructureShape.new(name: 'DescribeAvailabilityMonitorTestOutput')
|
101
104
|
DescribeBandwidthRateLimitInput = Shapes::StructureShape.new(name: 'DescribeBandwidthRateLimitInput')
|
102
105
|
DescribeBandwidthRateLimitOutput = Shapes::StructureShape.new(name: 'DescribeBandwidthRateLimitOutput')
|
106
|
+
DescribeBandwidthRateLimitScheduleInput = Shapes::StructureShape.new(name: 'DescribeBandwidthRateLimitScheduleInput')
|
107
|
+
DescribeBandwidthRateLimitScheduleOutput = Shapes::StructureShape.new(name: 'DescribeBandwidthRateLimitScheduleOutput')
|
103
108
|
DescribeCacheInput = Shapes::StructureShape.new(name: 'DescribeCacheInput')
|
104
109
|
DescribeCacheOutput = Shapes::StructureShape.new(name: 'DescribeCacheOutput')
|
105
110
|
DescribeCachediSCSIVolumesInput = Shapes::StructureShape.new(name: 'DescribeCachediSCSIVolumesInput')
|
@@ -224,6 +229,7 @@ module Aws::StorageGateway
|
|
224
229
|
NetworkInterfaceId = Shapes::StringShape.new(name: 'NetworkInterfaceId')
|
225
230
|
NextUpdateAvailabilityDate = Shapes::StringShape.new(name: 'NextUpdateAvailabilityDate')
|
226
231
|
NotificationId = Shapes::StringShape.new(name: 'NotificationId')
|
232
|
+
NotificationPolicy = Shapes::StringShape.new(name: 'NotificationPolicy')
|
227
233
|
NotifyWhenUploadedInput = Shapes::StructureShape.new(name: 'NotifyWhenUploadedInput')
|
228
234
|
NotifyWhenUploadedOutput = Shapes::StructureShape.new(name: 'NotifyWhenUploadedOutput')
|
229
235
|
NumTapesToCreate = Shapes::IntegerShape.new(name: 'NumTapesToCreate')
|
@@ -311,6 +317,8 @@ module Aws::StorageGateway
|
|
311
317
|
UpdateAutomaticTapeCreationPolicyOutput = Shapes::StructureShape.new(name: 'UpdateAutomaticTapeCreationPolicyOutput')
|
312
318
|
UpdateBandwidthRateLimitInput = Shapes::StructureShape.new(name: 'UpdateBandwidthRateLimitInput')
|
313
319
|
UpdateBandwidthRateLimitOutput = Shapes::StructureShape.new(name: 'UpdateBandwidthRateLimitOutput')
|
320
|
+
UpdateBandwidthRateLimitScheduleInput = Shapes::StructureShape.new(name: 'UpdateBandwidthRateLimitScheduleInput')
|
321
|
+
UpdateBandwidthRateLimitScheduleOutput = Shapes::StructureShape.new(name: 'UpdateBandwidthRateLimitScheduleOutput')
|
314
322
|
UpdateChapCredentialsInput = Shapes::StructureShape.new(name: 'UpdateChapCredentialsInput')
|
315
323
|
UpdateChapCredentialsOutput = Shapes::StructureShape.new(name: 'UpdateChapCredentialsOutput')
|
316
324
|
UpdateGatewayInformationInput = Shapes::StructureShape.new(name: 'UpdateGatewayInformationInput')
|
@@ -323,6 +331,8 @@ module Aws::StorageGateway
|
|
323
331
|
UpdateNFSFileShareOutput = Shapes::StructureShape.new(name: 'UpdateNFSFileShareOutput')
|
324
332
|
UpdateSMBFileShareInput = Shapes::StructureShape.new(name: 'UpdateSMBFileShareInput')
|
325
333
|
UpdateSMBFileShareOutput = Shapes::StructureShape.new(name: 'UpdateSMBFileShareOutput')
|
334
|
+
UpdateSMBFileShareVisibilityInput = Shapes::StructureShape.new(name: 'UpdateSMBFileShareVisibilityInput')
|
335
|
+
UpdateSMBFileShareVisibilityOutput = Shapes::StructureShape.new(name: 'UpdateSMBFileShareVisibilityOutput')
|
326
336
|
UpdateSMBSecurityStrategyInput = Shapes::StructureShape.new(name: 'UpdateSMBSecurityStrategyInput')
|
327
337
|
UpdateSMBSecurityStrategyOutput = Shapes::StructureShape.new(name: 'UpdateSMBSecurityStrategyOutput')
|
328
338
|
UpdateSnapshotScheduleInput = Shapes::StructureShape.new(name: 'UpdateSnapshotScheduleInput')
|
@@ -430,6 +440,17 @@ module Aws::StorageGateway
|
|
430
440
|
|
431
441
|
AutomaticTapeCreationRules.member = Shapes::ShapeRef.new(shape: AutomaticTapeCreationRule)
|
432
442
|
|
443
|
+
BandwidthRateLimitInterval.add_member(:start_hour_of_day, Shapes::ShapeRef.new(shape: HourOfDay, required: true, location_name: "StartHourOfDay"))
|
444
|
+
BandwidthRateLimitInterval.add_member(:start_minute_of_hour, Shapes::ShapeRef.new(shape: MinuteOfHour, required: true, location_name: "StartMinuteOfHour"))
|
445
|
+
BandwidthRateLimitInterval.add_member(:end_hour_of_day, Shapes::ShapeRef.new(shape: HourOfDay, required: true, location_name: "EndHourOfDay"))
|
446
|
+
BandwidthRateLimitInterval.add_member(:end_minute_of_hour, Shapes::ShapeRef.new(shape: MinuteOfHour, required: true, location_name: "EndMinuteOfHour"))
|
447
|
+
BandwidthRateLimitInterval.add_member(:days_of_week, Shapes::ShapeRef.new(shape: DaysOfWeek, required: true, location_name: "DaysOfWeek"))
|
448
|
+
BandwidthRateLimitInterval.add_member(:average_upload_rate_limit_in_bits_per_sec, Shapes::ShapeRef.new(shape: BandwidthUploadRateLimit, location_name: "AverageUploadRateLimitInBitsPerSec"))
|
449
|
+
BandwidthRateLimitInterval.add_member(:average_download_rate_limit_in_bits_per_sec, Shapes::ShapeRef.new(shape: BandwidthDownloadRateLimit, location_name: "AverageDownloadRateLimitInBitsPerSec"))
|
450
|
+
BandwidthRateLimitInterval.struct_class = Types::BandwidthRateLimitInterval
|
451
|
+
|
452
|
+
BandwidthRateLimitIntervals.member = Shapes::ShapeRef.new(shape: BandwidthRateLimitInterval)
|
453
|
+
|
433
454
|
CacheAttributes.add_member(:cache_stale_timeout_in_seconds, Shapes::ShapeRef.new(shape: CacheStaleTimeoutInSeconds, location_name: "CacheStaleTimeoutInSeconds"))
|
434
455
|
CacheAttributes.struct_class = Types::CacheAttributes
|
435
456
|
|
@@ -505,6 +526,7 @@ module Aws::StorageGateway
|
|
505
526
|
CreateNFSFileShareInput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
|
506
527
|
CreateNFSFileShareInput.add_member(:file_share_name, Shapes::ShapeRef.new(shape: FileShareName, location_name: "FileShareName"))
|
507
528
|
CreateNFSFileShareInput.add_member(:cache_attributes, Shapes::ShapeRef.new(shape: CacheAttributes, location_name: "CacheAttributes"))
|
529
|
+
CreateNFSFileShareInput.add_member(:notification_policy, Shapes::ShapeRef.new(shape: NotificationPolicy, location_name: "NotificationPolicy"))
|
508
530
|
CreateNFSFileShareInput.struct_class = Types::CreateNFSFileShareInput
|
509
531
|
|
510
532
|
CreateNFSFileShareOutput.add_member(:file_share_arn, Shapes::ShapeRef.new(shape: FileShareARN, location_name: "FileShareARN"))
|
@@ -522,6 +544,7 @@ module Aws::StorageGateway
|
|
522
544
|
CreateSMBFileShareInput.add_member(:guess_mime_type_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "GuessMIMETypeEnabled"))
|
523
545
|
CreateSMBFileShareInput.add_member(:requester_pays, Shapes::ShapeRef.new(shape: Boolean, location_name: "RequesterPays"))
|
524
546
|
CreateSMBFileShareInput.add_member(:smbacl_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "SMBACLEnabled"))
|
547
|
+
CreateSMBFileShareInput.add_member(:access_based_enumeration, Shapes::ShapeRef.new(shape: Boolean, location_name: "AccessBasedEnumeration"))
|
525
548
|
CreateSMBFileShareInput.add_member(:admin_user_list, Shapes::ShapeRef.new(shape: FileShareUserList, location_name: "AdminUserList"))
|
526
549
|
CreateSMBFileShareInput.add_member(:valid_user_list, Shapes::ShapeRef.new(shape: FileShareUserList, location_name: "ValidUserList"))
|
527
550
|
CreateSMBFileShareInput.add_member(:invalid_user_list, Shapes::ShapeRef.new(shape: FileShareUserList, location_name: "InvalidUserList"))
|
@@ -531,6 +554,7 @@ module Aws::StorageGateway
|
|
531
554
|
CreateSMBFileShareInput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
|
532
555
|
CreateSMBFileShareInput.add_member(:file_share_name, Shapes::ShapeRef.new(shape: FileShareName, location_name: "FileShareName"))
|
533
556
|
CreateSMBFileShareInput.add_member(:cache_attributes, Shapes::ShapeRef.new(shape: CacheAttributes, location_name: "CacheAttributes"))
|
557
|
+
CreateSMBFileShareInput.add_member(:notification_policy, Shapes::ShapeRef.new(shape: NotificationPolicy, location_name: "NotificationPolicy"))
|
534
558
|
CreateSMBFileShareInput.struct_class = Types::CreateSMBFileShareInput
|
535
559
|
|
536
560
|
CreateSMBFileShareOutput.add_member(:file_share_arn, Shapes::ShapeRef.new(shape: FileShareARN, location_name: "FileShareARN"))
|
@@ -609,6 +633,8 @@ module Aws::StorageGateway
|
|
609
633
|
CreateTapesOutput.add_member(:tape_arns, Shapes::ShapeRef.new(shape: TapeARNs, location_name: "TapeARNs"))
|
610
634
|
CreateTapesOutput.struct_class = Types::CreateTapesOutput
|
611
635
|
|
636
|
+
DaysOfWeek.member = Shapes::ShapeRef.new(shape: DayOfWeek)
|
637
|
+
|
612
638
|
DeleteAutomaticTapeCreationPolicyInput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayARN, required: true, location_name: "GatewayARN"))
|
613
639
|
DeleteAutomaticTapeCreationPolicyInput.struct_class = Types::DeleteAutomaticTapeCreationPolicyInput
|
614
640
|
|
@@ -692,6 +718,13 @@ module Aws::StorageGateway
|
|
692
718
|
DescribeBandwidthRateLimitOutput.add_member(:average_download_rate_limit_in_bits_per_sec, Shapes::ShapeRef.new(shape: BandwidthDownloadRateLimit, location_name: "AverageDownloadRateLimitInBitsPerSec"))
|
693
719
|
DescribeBandwidthRateLimitOutput.struct_class = Types::DescribeBandwidthRateLimitOutput
|
694
720
|
|
721
|
+
DescribeBandwidthRateLimitScheduleInput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayARN, required: true, location_name: "GatewayARN"))
|
722
|
+
DescribeBandwidthRateLimitScheduleInput.struct_class = Types::DescribeBandwidthRateLimitScheduleInput
|
723
|
+
|
724
|
+
DescribeBandwidthRateLimitScheduleOutput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayARN, location_name: "GatewayARN"))
|
725
|
+
DescribeBandwidthRateLimitScheduleOutput.add_member(:bandwidth_rate_limit_intervals, Shapes::ShapeRef.new(shape: BandwidthRateLimitIntervals, location_name: "BandwidthRateLimitIntervals"))
|
726
|
+
DescribeBandwidthRateLimitScheduleOutput.struct_class = Types::DescribeBandwidthRateLimitScheduleOutput
|
727
|
+
|
695
728
|
DescribeCacheInput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayARN, required: true, location_name: "GatewayARN"))
|
696
729
|
DescribeCacheInput.struct_class = Types::DescribeCacheInput
|
697
730
|
|
@@ -770,6 +803,7 @@ module Aws::StorageGateway
|
|
770
803
|
DescribeSMBSettingsOutput.add_member(:active_directory_status, Shapes::ShapeRef.new(shape: ActiveDirectoryStatus, location_name: "ActiveDirectoryStatus"))
|
771
804
|
DescribeSMBSettingsOutput.add_member(:smb_guest_password_set, Shapes::ShapeRef.new(shape: Boolean, location_name: "SMBGuestPasswordSet"))
|
772
805
|
DescribeSMBSettingsOutput.add_member(:smb_security_strategy, Shapes::ShapeRef.new(shape: SMBSecurityStrategy, location_name: "SMBSecurityStrategy"))
|
806
|
+
DescribeSMBSettingsOutput.add_member(:file_shares_visible, Shapes::ShapeRef.new(shape: Boolean, location_name: "FileSharesVisible"))
|
773
807
|
DescribeSMBSettingsOutput.struct_class = Types::DescribeSMBSettingsOutput
|
774
808
|
|
775
809
|
DescribeSnapshotScheduleInput.add_member(:volume_arn, Shapes::ShapeRef.new(shape: VolumeARN, required: true, location_name: "VolumeARN"))
|
@@ -1045,6 +1079,7 @@ module Aws::StorageGateway
|
|
1045
1079
|
NFSFileShareInfo.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
|
1046
1080
|
NFSFileShareInfo.add_member(:file_share_name, Shapes::ShapeRef.new(shape: FileShareName, location_name: "FileShareName"))
|
1047
1081
|
NFSFileShareInfo.add_member(:cache_attributes, Shapes::ShapeRef.new(shape: CacheAttributes, location_name: "CacheAttributes"))
|
1082
|
+
NFSFileShareInfo.add_member(:notification_policy, Shapes::ShapeRef.new(shape: NotificationPolicy, location_name: "NotificationPolicy"))
|
1048
1083
|
NFSFileShareInfo.struct_class = Types::NFSFileShareInfo
|
1049
1084
|
|
1050
1085
|
NFSFileShareInfoList.member = Shapes::ShapeRef.new(shape: NFSFileShareInfo)
|
@@ -1124,6 +1159,7 @@ module Aws::StorageGateway
|
|
1124
1159
|
SMBFileShareInfo.add_member(:guess_mime_type_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "GuessMIMETypeEnabled"))
|
1125
1160
|
SMBFileShareInfo.add_member(:requester_pays, Shapes::ShapeRef.new(shape: Boolean, location_name: "RequesterPays"))
|
1126
1161
|
SMBFileShareInfo.add_member(:smbacl_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "SMBACLEnabled"))
|
1162
|
+
SMBFileShareInfo.add_member(:access_based_enumeration, Shapes::ShapeRef.new(shape: Boolean, location_name: "AccessBasedEnumeration"))
|
1127
1163
|
SMBFileShareInfo.add_member(:admin_user_list, Shapes::ShapeRef.new(shape: FileShareUserList, location_name: "AdminUserList"))
|
1128
1164
|
SMBFileShareInfo.add_member(:valid_user_list, Shapes::ShapeRef.new(shape: FileShareUserList, location_name: "ValidUserList"))
|
1129
1165
|
SMBFileShareInfo.add_member(:invalid_user_list, Shapes::ShapeRef.new(shape: FileShareUserList, location_name: "InvalidUserList"))
|
@@ -1133,6 +1169,7 @@ module Aws::StorageGateway
|
|
1133
1169
|
SMBFileShareInfo.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
|
1134
1170
|
SMBFileShareInfo.add_member(:file_share_name, Shapes::ShapeRef.new(shape: FileShareName, location_name: "FileShareName"))
|
1135
1171
|
SMBFileShareInfo.add_member(:cache_attributes, Shapes::ShapeRef.new(shape: CacheAttributes, location_name: "CacheAttributes"))
|
1172
|
+
SMBFileShareInfo.add_member(:notification_policy, Shapes::ShapeRef.new(shape: NotificationPolicy, location_name: "NotificationPolicy"))
|
1136
1173
|
SMBFileShareInfo.struct_class = Types::SMBFileShareInfo
|
1137
1174
|
|
1138
1175
|
SMBFileShareInfoList.member = Shapes::ShapeRef.new(shape: SMBFileShareInfo)
|
@@ -1275,6 +1312,13 @@ module Aws::StorageGateway
|
|
1275
1312
|
UpdateBandwidthRateLimitOutput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayARN, location_name: "GatewayARN"))
|
1276
1313
|
UpdateBandwidthRateLimitOutput.struct_class = Types::UpdateBandwidthRateLimitOutput
|
1277
1314
|
|
1315
|
+
UpdateBandwidthRateLimitScheduleInput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayARN, required: true, location_name: "GatewayARN"))
|
1316
|
+
UpdateBandwidthRateLimitScheduleInput.add_member(:bandwidth_rate_limit_intervals, Shapes::ShapeRef.new(shape: BandwidthRateLimitIntervals, required: true, location_name: "BandwidthRateLimitIntervals"))
|
1317
|
+
UpdateBandwidthRateLimitScheduleInput.struct_class = Types::UpdateBandwidthRateLimitScheduleInput
|
1318
|
+
|
1319
|
+
UpdateBandwidthRateLimitScheduleOutput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayARN, location_name: "GatewayARN"))
|
1320
|
+
UpdateBandwidthRateLimitScheduleOutput.struct_class = Types::UpdateBandwidthRateLimitScheduleOutput
|
1321
|
+
|
1278
1322
|
UpdateChapCredentialsInput.add_member(:target_arn, Shapes::ShapeRef.new(shape: TargetARN, required: true, location_name: "TargetARN"))
|
1279
1323
|
UpdateChapCredentialsInput.add_member(:secret_to_authenticate_initiator, Shapes::ShapeRef.new(shape: ChapSecret, required: true, location_name: "SecretToAuthenticateInitiator"))
|
1280
1324
|
UpdateChapCredentialsInput.add_member(:initiator_name, Shapes::ShapeRef.new(shape: IqnName, required: true, location_name: "InitiatorName"))
|
@@ -1324,6 +1368,7 @@ module Aws::StorageGateway
|
|
1324
1368
|
UpdateNFSFileShareInput.add_member(:requester_pays, Shapes::ShapeRef.new(shape: Boolean, location_name: "RequesterPays"))
|
1325
1369
|
UpdateNFSFileShareInput.add_member(:file_share_name, Shapes::ShapeRef.new(shape: FileShareName, location_name: "FileShareName"))
|
1326
1370
|
UpdateNFSFileShareInput.add_member(:cache_attributes, Shapes::ShapeRef.new(shape: CacheAttributes, location_name: "CacheAttributes"))
|
1371
|
+
UpdateNFSFileShareInput.add_member(:notification_policy, Shapes::ShapeRef.new(shape: NotificationPolicy, location_name: "NotificationPolicy"))
|
1327
1372
|
UpdateNFSFileShareInput.struct_class = Types::UpdateNFSFileShareInput
|
1328
1373
|
|
1329
1374
|
UpdateNFSFileShareOutput.add_member(:file_share_arn, Shapes::ShapeRef.new(shape: FileShareARN, location_name: "FileShareARN"))
|
@@ -1338,6 +1383,7 @@ module Aws::StorageGateway
|
|
1338
1383
|
UpdateSMBFileShareInput.add_member(:guess_mime_type_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "GuessMIMETypeEnabled"))
|
1339
1384
|
UpdateSMBFileShareInput.add_member(:requester_pays, Shapes::ShapeRef.new(shape: Boolean, location_name: "RequesterPays"))
|
1340
1385
|
UpdateSMBFileShareInput.add_member(:smbacl_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "SMBACLEnabled"))
|
1386
|
+
UpdateSMBFileShareInput.add_member(:access_based_enumeration, Shapes::ShapeRef.new(shape: Boolean, location_name: "AccessBasedEnumeration"))
|
1341
1387
|
UpdateSMBFileShareInput.add_member(:admin_user_list, Shapes::ShapeRef.new(shape: FileShareUserList, location_name: "AdminUserList"))
|
1342
1388
|
UpdateSMBFileShareInput.add_member(:valid_user_list, Shapes::ShapeRef.new(shape: FileShareUserList, location_name: "ValidUserList"))
|
1343
1389
|
UpdateSMBFileShareInput.add_member(:invalid_user_list, Shapes::ShapeRef.new(shape: FileShareUserList, location_name: "InvalidUserList"))
|
@@ -1345,11 +1391,19 @@ module Aws::StorageGateway
|
|
1345
1391
|
UpdateSMBFileShareInput.add_member(:case_sensitivity, Shapes::ShapeRef.new(shape: CaseSensitivity, location_name: "CaseSensitivity"))
|
1346
1392
|
UpdateSMBFileShareInput.add_member(:file_share_name, Shapes::ShapeRef.new(shape: FileShareName, location_name: "FileShareName"))
|
1347
1393
|
UpdateSMBFileShareInput.add_member(:cache_attributes, Shapes::ShapeRef.new(shape: CacheAttributes, location_name: "CacheAttributes"))
|
1394
|
+
UpdateSMBFileShareInput.add_member(:notification_policy, Shapes::ShapeRef.new(shape: NotificationPolicy, location_name: "NotificationPolicy"))
|
1348
1395
|
UpdateSMBFileShareInput.struct_class = Types::UpdateSMBFileShareInput
|
1349
1396
|
|
1350
1397
|
UpdateSMBFileShareOutput.add_member(:file_share_arn, Shapes::ShapeRef.new(shape: FileShareARN, location_name: "FileShareARN"))
|
1351
1398
|
UpdateSMBFileShareOutput.struct_class = Types::UpdateSMBFileShareOutput
|
1352
1399
|
|
1400
|
+
UpdateSMBFileShareVisibilityInput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayARN, required: true, location_name: "GatewayARN"))
|
1401
|
+
UpdateSMBFileShareVisibilityInput.add_member(:file_shares_visible, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "FileSharesVisible"))
|
1402
|
+
UpdateSMBFileShareVisibilityInput.struct_class = Types::UpdateSMBFileShareVisibilityInput
|
1403
|
+
|
1404
|
+
UpdateSMBFileShareVisibilityOutput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayARN, location_name: "GatewayARN"))
|
1405
|
+
UpdateSMBFileShareVisibilityOutput.struct_class = Types::UpdateSMBFileShareVisibilityOutput
|
1406
|
+
|
1353
1407
|
UpdateSMBSecurityStrategyInput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayARN, required: true, location_name: "GatewayARN"))
|
1354
1408
|
UpdateSMBSecurityStrategyInput.add_member(:smb_security_strategy, Shapes::ShapeRef.new(shape: SMBSecurityStrategy, required: true, location_name: "SMBSecurityStrategy"))
|
1355
1409
|
UpdateSMBSecurityStrategyInput.struct_class = Types::UpdateSMBSecurityStrategyInput
|
@@ -1736,6 +1790,16 @@ module Aws::StorageGateway
|
|
1736
1790
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
1737
1791
|
end)
|
1738
1792
|
|
1793
|
+
api.add_operation(:describe_bandwidth_rate_limit_schedule, Seahorse::Model::Operation.new.tap do |o|
|
1794
|
+
o.name = "DescribeBandwidthRateLimitSchedule"
|
1795
|
+
o.http_method = "POST"
|
1796
|
+
o.http_request_uri = "/"
|
1797
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeBandwidthRateLimitScheduleInput)
|
1798
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeBandwidthRateLimitScheduleOutput)
|
1799
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidGatewayRequestException)
|
1800
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
1801
|
+
end)
|
1802
|
+
|
1739
1803
|
api.add_operation(:describe_cache, Seahorse::Model::Operation.new.tap do |o|
|
1740
1804
|
o.name = "DescribeCache"
|
1741
1805
|
o.http_method = "POST"
|
@@ -2026,6 +2090,12 @@ module Aws::StorageGateway
|
|
2026
2090
|
o.output = Shapes::ShapeRef.new(shape: ListTapePoolsOutput)
|
2027
2091
|
o.errors << Shapes::ShapeRef.new(shape: InvalidGatewayRequestException)
|
2028
2092
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
2093
|
+
o[:pager] = Aws::Pager.new(
|
2094
|
+
limit_key: "limit",
|
2095
|
+
tokens: {
|
2096
|
+
"marker" => "marker"
|
2097
|
+
}
|
2098
|
+
)
|
2029
2099
|
end)
|
2030
2100
|
|
2031
2101
|
api.add_operation(:list_tapes, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2210,6 +2280,16 @@ module Aws::StorageGateway
|
|
2210
2280
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
2211
2281
|
end)
|
2212
2282
|
|
2283
|
+
api.add_operation(:update_bandwidth_rate_limit_schedule, Seahorse::Model::Operation.new.tap do |o|
|
2284
|
+
o.name = "UpdateBandwidthRateLimitSchedule"
|
2285
|
+
o.http_method = "POST"
|
2286
|
+
o.http_request_uri = "/"
|
2287
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateBandwidthRateLimitScheduleInput)
|
2288
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateBandwidthRateLimitScheduleOutput)
|
2289
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidGatewayRequestException)
|
2290
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
2291
|
+
end)
|
2292
|
+
|
2213
2293
|
api.add_operation(:update_chap_credentials, Seahorse::Model::Operation.new.tap do |o|
|
2214
2294
|
o.name = "UpdateChapCredentials"
|
2215
2295
|
o.http_method = "POST"
|
@@ -2270,6 +2350,16 @@ module Aws::StorageGateway
|
|
2270
2350
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
2271
2351
|
end)
|
2272
2352
|
|
2353
|
+
api.add_operation(:update_smb_file_share_visibility, Seahorse::Model::Operation.new.tap do |o|
|
2354
|
+
o.name = "UpdateSMBFileShareVisibility"
|
2355
|
+
o.http_method = "POST"
|
2356
|
+
o.http_request_uri = "/"
|
2357
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateSMBFileShareVisibilityInput)
|
2358
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateSMBFileShareVisibilityOutput)
|
2359
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidGatewayRequestException)
|
2360
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
2361
|
+
end)
|
2362
|
+
|
2273
2363
|
api.add_operation(:update_smb_security_strategy, Seahorse::Model::Operation.new.tap do |o|
|
2274
2364
|
o.name = "UpdateSMBSecurityStrategy"
|
2275
2365
|
o.http_method = "POST"
|
@@ -605,6 +605,78 @@ module Aws::StorageGateway
|
|
605
605
|
include Aws::Structure
|
606
606
|
end
|
607
607
|
|
608
|
+
# Describes a bandwidth rate limit interval for a gateway. A bandwidth
|
609
|
+
# rate limit schedule consists of one or more bandwidth rate limit
|
610
|
+
# intervals. A bandwidth rate limit interval defines a period of time on
|
611
|
+
# one or more days of the week, during which bandwidth rate limits are
|
612
|
+
# specified for uploading, downloading, or both.
|
613
|
+
#
|
614
|
+
# @note When making an API call, you may pass BandwidthRateLimitInterval
|
615
|
+
# data as a hash:
|
616
|
+
#
|
617
|
+
# {
|
618
|
+
# start_hour_of_day: 1, # required
|
619
|
+
# start_minute_of_hour: 1, # required
|
620
|
+
# end_hour_of_day: 1, # required
|
621
|
+
# end_minute_of_hour: 1, # required
|
622
|
+
# days_of_week: [1], # required
|
623
|
+
# average_upload_rate_limit_in_bits_per_sec: 1,
|
624
|
+
# average_download_rate_limit_in_bits_per_sec: 1,
|
625
|
+
# }
|
626
|
+
#
|
627
|
+
# @!attribute [rw] start_hour_of_day
|
628
|
+
# The hour of the day to start the bandwidth rate limit interval.
|
629
|
+
# @return [Integer]
|
630
|
+
#
|
631
|
+
# @!attribute [rw] start_minute_of_hour
|
632
|
+
# The minute of the hour to start the bandwidth rate limit interval.
|
633
|
+
# The interval begins at the start of that minute. To begin an
|
634
|
+
# interval exactly at the start of the hour, use the value `0`.
|
635
|
+
# @return [Integer]
|
636
|
+
#
|
637
|
+
# @!attribute [rw] end_hour_of_day
|
638
|
+
# The hour of the day to end the bandwidth rate limit interval.
|
639
|
+
# @return [Integer]
|
640
|
+
#
|
641
|
+
# @!attribute [rw] end_minute_of_hour
|
642
|
+
# The minute of the hour to end the bandwidth rate limit interval.
|
643
|
+
#
|
644
|
+
# The bandwidth rate limit interval ends at the end of the minute. To
|
645
|
+
# end an interval at the end of an hour, use the value `59`.
|
646
|
+
# @return [Integer]
|
647
|
+
#
|
648
|
+
# @!attribute [rw] days_of_week
|
649
|
+
# The days of the week component of the bandwidth rate limit interval,
|
650
|
+
# represented as ordinal numbers from 0 to 6, where 0 represents
|
651
|
+
# Sunday and 6 Saturday.
|
652
|
+
# @return [Array<Integer>]
|
653
|
+
#
|
654
|
+
# @!attribute [rw] average_upload_rate_limit_in_bits_per_sec
|
655
|
+
# The average upload rate limit component of the bandwidth rate limit
|
656
|
+
# interval, in bits per second. This field does not appear in the
|
657
|
+
# response if the upload rate limit is not set.
|
658
|
+
# @return [Integer]
|
659
|
+
#
|
660
|
+
# @!attribute [rw] average_download_rate_limit_in_bits_per_sec
|
661
|
+
# The average download rate limit component of the bandwidth rate
|
662
|
+
# limit interval, in bits per second. This field does not appear in
|
663
|
+
# the response if the download rate limit is not set.
|
664
|
+
# @return [Integer]
|
665
|
+
#
|
666
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/BandwidthRateLimitInterval AWS API Documentation
|
667
|
+
#
|
668
|
+
class BandwidthRateLimitInterval < Struct.new(
|
669
|
+
:start_hour_of_day,
|
670
|
+
:start_minute_of_hour,
|
671
|
+
:end_hour_of_day,
|
672
|
+
:end_minute_of_hour,
|
673
|
+
:days_of_week,
|
674
|
+
:average_upload_rate_limit_in_bits_per_sec,
|
675
|
+
:average_download_rate_limit_in_bits_per_sec)
|
676
|
+
SENSITIVE = []
|
677
|
+
include Aws::Structure
|
678
|
+
end
|
679
|
+
|
608
680
|
# Lists refresh cache information.
|
609
681
|
#
|
610
682
|
# @note When making an API call, you may pass CacheAttributes
|
@@ -1043,6 +1115,7 @@ module Aws::StorageGateway
|
|
1043
1115
|
# cache_attributes: {
|
1044
1116
|
# cache_stale_timeout_in_seconds: 1,
|
1045
1117
|
# },
|
1118
|
+
# notification_policy: "NotificationPolicy",
|
1046
1119
|
# }
|
1047
1120
|
#
|
1048
1121
|
# @!attribute [rw] client_token
|
@@ -1173,6 +1246,10 @@ module Aws::StorageGateway
|
|
1173
1246
|
# Refresh cache information.
|
1174
1247
|
# @return [Types::CacheAttributes]
|
1175
1248
|
#
|
1249
|
+
# @!attribute [rw] notification_policy
|
1250
|
+
# The notification policy of the file share.
|
1251
|
+
# @return [String]
|
1252
|
+
#
|
1176
1253
|
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateNFSFileShareInput AWS API Documentation
|
1177
1254
|
#
|
1178
1255
|
class CreateNFSFileShareInput < Struct.new(
|
@@ -1192,7 +1269,8 @@ module Aws::StorageGateway
|
|
1192
1269
|
:requester_pays,
|
1193
1270
|
:tags,
|
1194
1271
|
:file_share_name,
|
1195
|
-
:cache_attributes
|
1272
|
+
:cache_attributes,
|
1273
|
+
:notification_policy)
|
1196
1274
|
SENSITIVE = []
|
1197
1275
|
include Aws::Structure
|
1198
1276
|
end
|
@@ -1229,6 +1307,7 @@ module Aws::StorageGateway
|
|
1229
1307
|
# guess_mime_type_enabled: false,
|
1230
1308
|
# requester_pays: false,
|
1231
1309
|
# smbacl_enabled: false,
|
1310
|
+
# access_based_enumeration: false,
|
1232
1311
|
# admin_user_list: ["FileShareUser"],
|
1233
1312
|
# valid_user_list: ["FileShareUser"],
|
1234
1313
|
# invalid_user_list: ["FileShareUser"],
|
@@ -1245,6 +1324,7 @@ module Aws::StorageGateway
|
|
1245
1324
|
# cache_attributes: {
|
1246
1325
|
# cache_stale_timeout_in_seconds: 1,
|
1247
1326
|
# },
|
1327
|
+
# notification_policy: "NotificationPolicy",
|
1248
1328
|
# }
|
1249
1329
|
#
|
1250
1330
|
# @!attribute [rw] client_token
|
@@ -1345,6 +1425,11 @@ module Aws::StorageGateway
|
|
1345
1425
|
# [1]: https://docs.aws.amazon.com/storagegateway/latest/userguide/smb-acl.html
|
1346
1426
|
# @return [Boolean]
|
1347
1427
|
#
|
1428
|
+
# @!attribute [rw] access_based_enumeration
|
1429
|
+
# The files and folders on this share will only be visible to users
|
1430
|
+
# with read access.
|
1431
|
+
# @return [Boolean]
|
1432
|
+
#
|
1348
1433
|
# @!attribute [rw] admin_user_list
|
1349
1434
|
# A list of users or groups in the Active Directory that will be
|
1350
1435
|
# granted administrator privileges on the file share. These users can
|
@@ -1416,6 +1501,10 @@ module Aws::StorageGateway
|
|
1416
1501
|
# Refresh cache information.
|
1417
1502
|
# @return [Types::CacheAttributes]
|
1418
1503
|
#
|
1504
|
+
# @!attribute [rw] notification_policy
|
1505
|
+
# The notification policy of the file share.
|
1506
|
+
# @return [String]
|
1507
|
+
#
|
1419
1508
|
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateSMBFileShareInput AWS API Documentation
|
1420
1509
|
#
|
1421
1510
|
class CreateSMBFileShareInput < Struct.new(
|
@@ -1431,6 +1520,7 @@ module Aws::StorageGateway
|
|
1431
1520
|
:guess_mime_type_enabled,
|
1432
1521
|
:requester_pays,
|
1433
1522
|
:smbacl_enabled,
|
1523
|
+
:access_based_enumeration,
|
1434
1524
|
:admin_user_list,
|
1435
1525
|
:valid_user_list,
|
1436
1526
|
:invalid_user_list,
|
@@ -1439,7 +1529,8 @@ module Aws::StorageGateway
|
|
1439
1529
|
:case_sensitivity,
|
1440
1530
|
:tags,
|
1441
1531
|
:file_share_name,
|
1442
|
-
:cache_attributes
|
1532
|
+
:cache_attributes,
|
1533
|
+
:notification_policy)
|
1443
1534
|
SENSITIVE = []
|
1444
1535
|
include Aws::Structure
|
1445
1536
|
end
|
@@ -2619,6 +2710,47 @@ module Aws::StorageGateway
|
|
2619
2710
|
include Aws::Structure
|
2620
2711
|
end
|
2621
2712
|
|
2713
|
+
# @note When making an API call, you may pass DescribeBandwidthRateLimitScheduleInput
|
2714
|
+
# data as a hash:
|
2715
|
+
#
|
2716
|
+
# {
|
2717
|
+
# gateway_arn: "GatewayARN", # required
|
2718
|
+
# }
|
2719
|
+
#
|
2720
|
+
# @!attribute [rw] gateway_arn
|
2721
|
+
# The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
|
2722
|
+
# operation to return a list of gateways for your account and AWS
|
2723
|
+
# Region.
|
2724
|
+
# @return [String]
|
2725
|
+
#
|
2726
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeBandwidthRateLimitScheduleInput AWS API Documentation
|
2727
|
+
#
|
2728
|
+
class DescribeBandwidthRateLimitScheduleInput < Struct.new(
|
2729
|
+
:gateway_arn)
|
2730
|
+
SENSITIVE = []
|
2731
|
+
include Aws::Structure
|
2732
|
+
end
|
2733
|
+
|
2734
|
+
# @!attribute [rw] gateway_arn
|
2735
|
+
# The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
|
2736
|
+
# operation to return a list of gateways for your account and AWS
|
2737
|
+
# Region.
|
2738
|
+
# @return [String]
|
2739
|
+
#
|
2740
|
+
# @!attribute [rw] bandwidth_rate_limit_intervals
|
2741
|
+
# An array that contains the bandwidth rate limit intervals for a tape
|
2742
|
+
# or volume gateway.
|
2743
|
+
# @return [Array<Types::BandwidthRateLimitInterval>]
|
2744
|
+
#
|
2745
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeBandwidthRateLimitScheduleOutput AWS API Documentation
|
2746
|
+
#
|
2747
|
+
class DescribeBandwidthRateLimitScheduleOutput < Struct.new(
|
2748
|
+
:gateway_arn,
|
2749
|
+
:bandwidth_rate_limit_intervals)
|
2750
|
+
SENSITIVE = []
|
2751
|
+
include Aws::Structure
|
2752
|
+
end
|
2753
|
+
|
2622
2754
|
# @note When making an API call, you may pass DescribeCacheInput
|
2623
2755
|
# data as a hash:
|
2624
2756
|
#
|
@@ -3169,6 +3301,10 @@ module Aws::StorageGateway
|
|
3169
3301
|
# Microsoft Windows 8, Windows Server 2012 or newer.
|
3170
3302
|
# @return [String]
|
3171
3303
|
#
|
3304
|
+
# @!attribute [rw] file_shares_visible
|
3305
|
+
# The shares on this gateway appear when listing shares.
|
3306
|
+
# @return [Boolean]
|
3307
|
+
#
|
3172
3308
|
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeSMBSettingsOutput AWS API Documentation
|
3173
3309
|
#
|
3174
3310
|
class DescribeSMBSettingsOutput < Struct.new(
|
@@ -3176,7 +3312,8 @@ module Aws::StorageGateway
|
|
3176
3312
|
:domain_name,
|
3177
3313
|
:active_directory_status,
|
3178
3314
|
:smb_guest_password_set,
|
3179
|
-
:smb_security_strategy
|
3315
|
+
:smb_security_strategy,
|
3316
|
+
:file_shares_visible)
|
3180
3317
|
SENSITIVE = []
|
3181
3318
|
include Aws::Structure
|
3182
3319
|
end
|
@@ -4887,6 +5024,10 @@ module Aws::StorageGateway
|
|
4887
5024
|
# Refresh cache information.
|
4888
5025
|
# @return [Types::CacheAttributes]
|
4889
5026
|
#
|
5027
|
+
# @!attribute [rw] notification_policy
|
5028
|
+
# The notification policy of the file share.
|
5029
|
+
# @return [String]
|
5030
|
+
#
|
4890
5031
|
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/NFSFileShareInfo AWS API Documentation
|
4891
5032
|
#
|
4892
5033
|
class NFSFileShareInfo < Struct.new(
|
@@ -4909,7 +5050,8 @@ module Aws::StorageGateway
|
|
4909
5050
|
:requester_pays,
|
4910
5051
|
:tags,
|
4911
5052
|
:file_share_name,
|
4912
|
-
:cache_attributes
|
5053
|
+
:cache_attributes,
|
5054
|
+
:notification_policy)
|
4913
5055
|
SENSITIVE = []
|
4914
5056
|
include Aws::Structure
|
4915
5057
|
end
|
@@ -5385,6 +5527,10 @@ module Aws::StorageGateway
|
|
5385
5527
|
# [1]: https://docs.aws.amazon.com/storagegateway/latest/userguide/smb-acl.html
|
5386
5528
|
# @return [Boolean]
|
5387
5529
|
#
|
5530
|
+
# @!attribute [rw] access_based_enumeration
|
5531
|
+
# Indicates whether `AccessBasedEnumeration` is enabled.
|
5532
|
+
# @return [Boolean]
|
5533
|
+
#
|
5388
5534
|
# @!attribute [rw] admin_user_list
|
5389
5535
|
# A list of users or groups in the Active Directory that have
|
5390
5536
|
# administrator rights to the file share. A group must be prefixed
|
@@ -5448,6 +5594,10 @@ module Aws::StorageGateway
|
|
5448
5594
|
# Refresh cache information.
|
5449
5595
|
# @return [Types::CacheAttributes]
|
5450
5596
|
#
|
5597
|
+
# @!attribute [rw] notification_policy
|
5598
|
+
# The notification policy of the file share.
|
5599
|
+
# @return [String]
|
5600
|
+
#
|
5451
5601
|
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/SMBFileShareInfo AWS API Documentation
|
5452
5602
|
#
|
5453
5603
|
class SMBFileShareInfo < Struct.new(
|
@@ -5466,6 +5616,7 @@ module Aws::StorageGateway
|
|
5466
5616
|
:guess_mime_type_enabled,
|
5467
5617
|
:requester_pays,
|
5468
5618
|
:smbacl_enabled,
|
5619
|
+
:access_based_enumeration,
|
5469
5620
|
:admin_user_list,
|
5470
5621
|
:valid_user_list,
|
5471
5622
|
:invalid_user_list,
|
@@ -5474,7 +5625,8 @@ module Aws::StorageGateway
|
|
5474
5625
|
:case_sensitivity,
|
5475
5626
|
:tags,
|
5476
5627
|
:file_share_name,
|
5477
|
-
:cache_attributes
|
5628
|
+
:cache_attributes,
|
5629
|
+
:notification_policy)
|
5478
5630
|
SENSITIVE = []
|
5479
5631
|
include Aws::Structure
|
5480
5632
|
end
|
@@ -6268,6 +6420,59 @@ module Aws::StorageGateway
|
|
6268
6420
|
include Aws::Structure
|
6269
6421
|
end
|
6270
6422
|
|
6423
|
+
# @note When making an API call, you may pass UpdateBandwidthRateLimitScheduleInput
|
6424
|
+
# data as a hash:
|
6425
|
+
#
|
6426
|
+
# {
|
6427
|
+
# gateway_arn: "GatewayARN", # required
|
6428
|
+
# bandwidth_rate_limit_intervals: [ # required
|
6429
|
+
# {
|
6430
|
+
# start_hour_of_day: 1, # required
|
6431
|
+
# start_minute_of_hour: 1, # required
|
6432
|
+
# end_hour_of_day: 1, # required
|
6433
|
+
# end_minute_of_hour: 1, # required
|
6434
|
+
# days_of_week: [1], # required
|
6435
|
+
# average_upload_rate_limit_in_bits_per_sec: 1,
|
6436
|
+
# average_download_rate_limit_in_bits_per_sec: 1,
|
6437
|
+
# },
|
6438
|
+
# ],
|
6439
|
+
# }
|
6440
|
+
#
|
6441
|
+
# @!attribute [rw] gateway_arn
|
6442
|
+
# The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
|
6443
|
+
# operation to return a list of gateways for your account and AWS
|
6444
|
+
# Region.
|
6445
|
+
# @return [String]
|
6446
|
+
#
|
6447
|
+
# @!attribute [rw] bandwidth_rate_limit_intervals
|
6448
|
+
# An array containing bandwidth rate limit schedule intervals for a
|
6449
|
+
# gateway. When no bandwidth rate limit intervals have been scheduled,
|
6450
|
+
# the array is empty.
|
6451
|
+
# @return [Array<Types::BandwidthRateLimitInterval>]
|
6452
|
+
#
|
6453
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateBandwidthRateLimitScheduleInput AWS API Documentation
|
6454
|
+
#
|
6455
|
+
class UpdateBandwidthRateLimitScheduleInput < Struct.new(
|
6456
|
+
:gateway_arn,
|
6457
|
+
:bandwidth_rate_limit_intervals)
|
6458
|
+
SENSITIVE = []
|
6459
|
+
include Aws::Structure
|
6460
|
+
end
|
6461
|
+
|
6462
|
+
# @!attribute [rw] gateway_arn
|
6463
|
+
# The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
|
6464
|
+
# operation to return a list of gateways for your account and AWS
|
6465
|
+
# Region.
|
6466
|
+
# @return [String]
|
6467
|
+
#
|
6468
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateBandwidthRateLimitScheduleOutput AWS API Documentation
|
6469
|
+
#
|
6470
|
+
class UpdateBandwidthRateLimitScheduleOutput < Struct.new(
|
6471
|
+
:gateway_arn)
|
6472
|
+
SENSITIVE = []
|
6473
|
+
include Aws::Structure
|
6474
|
+
end
|
6475
|
+
|
6271
6476
|
# A JSON object containing one or more of the following fields:
|
6272
6477
|
#
|
6273
6478
|
# * UpdateChapCredentialsInput$InitiatorName
|
@@ -6568,6 +6773,7 @@ module Aws::StorageGateway
|
|
6568
6773
|
# cache_attributes: {
|
6569
6774
|
# cache_stale_timeout_in_seconds: 1,
|
6570
6775
|
# },
|
6776
|
+
# notification_policy: "NotificationPolicy",
|
6571
6777
|
# }
|
6572
6778
|
#
|
6573
6779
|
# @!attribute [rw] file_share_arn
|
@@ -6670,6 +6876,10 @@ module Aws::StorageGateway
|
|
6670
6876
|
# Refresh cache information.
|
6671
6877
|
# @return [Types::CacheAttributes]
|
6672
6878
|
#
|
6879
|
+
# @!attribute [rw] notification_policy
|
6880
|
+
# The notification policy of the file share.
|
6881
|
+
# @return [String]
|
6882
|
+
#
|
6673
6883
|
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateNFSFileShareInput AWS API Documentation
|
6674
6884
|
#
|
6675
6885
|
class UpdateNFSFileShareInput < Struct.new(
|
@@ -6685,7 +6895,8 @@ module Aws::StorageGateway
|
|
6685
6895
|
:guess_mime_type_enabled,
|
6686
6896
|
:requester_pays,
|
6687
6897
|
:file_share_name,
|
6688
|
-
:cache_attributes
|
6898
|
+
:cache_attributes,
|
6899
|
+
:notification_policy)
|
6689
6900
|
SENSITIVE = []
|
6690
6901
|
include Aws::Structure
|
6691
6902
|
end
|
@@ -6719,6 +6930,7 @@ module Aws::StorageGateway
|
|
6719
6930
|
# guess_mime_type_enabled: false,
|
6720
6931
|
# requester_pays: false,
|
6721
6932
|
# smbacl_enabled: false,
|
6933
|
+
# access_based_enumeration: false,
|
6722
6934
|
# admin_user_list: ["FileShareUser"],
|
6723
6935
|
# valid_user_list: ["FileShareUser"],
|
6724
6936
|
# invalid_user_list: ["FileShareUser"],
|
@@ -6728,6 +6940,7 @@ module Aws::StorageGateway
|
|
6728
6940
|
# cache_attributes: {
|
6729
6941
|
# cache_stale_timeout_in_seconds: 1,
|
6730
6942
|
# },
|
6943
|
+
# notification_policy: "NotificationPolicy",
|
6731
6944
|
# }
|
6732
6945
|
#
|
6733
6946
|
# @!attribute [rw] file_share_arn
|
@@ -6813,6 +7026,11 @@ module Aws::StorageGateway
|
|
6813
7026
|
# [1]: https://docs.aws.amazon.com/storagegateway/latest/userguide/smb-acl.html
|
6814
7027
|
# @return [Boolean]
|
6815
7028
|
#
|
7029
|
+
# @!attribute [rw] access_based_enumeration
|
7030
|
+
# The files and folders on this share will only be visible to users
|
7031
|
+
# with read access.
|
7032
|
+
# @return [Boolean]
|
7033
|
+
#
|
6816
7034
|
# @!attribute [rw] admin_user_list
|
6817
7035
|
# A list of users or groups in the Active Directory that have
|
6818
7036
|
# administrator rights to the file share. A group must be prefixed
|
@@ -6862,6 +7080,10 @@ module Aws::StorageGateway
|
|
6862
7080
|
# Refresh cache information.
|
6863
7081
|
# @return [Types::CacheAttributes]
|
6864
7082
|
#
|
7083
|
+
# @!attribute [rw] notification_policy
|
7084
|
+
# The notification policy of the file share.
|
7085
|
+
# @return [String]
|
7086
|
+
#
|
6865
7087
|
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateSMBFileShareInput AWS API Documentation
|
6866
7088
|
#
|
6867
7089
|
class UpdateSMBFileShareInput < Struct.new(
|
@@ -6874,13 +7096,15 @@ module Aws::StorageGateway
|
|
6874
7096
|
:guess_mime_type_enabled,
|
6875
7097
|
:requester_pays,
|
6876
7098
|
:smbacl_enabled,
|
7099
|
+
:access_based_enumeration,
|
6877
7100
|
:admin_user_list,
|
6878
7101
|
:valid_user_list,
|
6879
7102
|
:invalid_user_list,
|
6880
7103
|
:audit_destination_arn,
|
6881
7104
|
:case_sensitivity,
|
6882
7105
|
:file_share_name,
|
6883
|
-
:cache_attributes
|
7106
|
+
:cache_attributes,
|
7107
|
+
:notification_policy)
|
6884
7108
|
SENSITIVE = []
|
6885
7109
|
include Aws::Structure
|
6886
7110
|
end
|
@@ -6899,6 +7123,47 @@ module Aws::StorageGateway
|
|
6899
7123
|
include Aws::Structure
|
6900
7124
|
end
|
6901
7125
|
|
7126
|
+
# @note When making an API call, you may pass UpdateSMBFileShareVisibilityInput
|
7127
|
+
# data as a hash:
|
7128
|
+
#
|
7129
|
+
# {
|
7130
|
+
# gateway_arn: "GatewayARN", # required
|
7131
|
+
# file_shares_visible: false, # required
|
7132
|
+
# }
|
7133
|
+
#
|
7134
|
+
# @!attribute [rw] gateway_arn
|
7135
|
+
# The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
|
7136
|
+
# operation to return a list of gateways for your account and AWS
|
7137
|
+
# Region.
|
7138
|
+
# @return [String]
|
7139
|
+
#
|
7140
|
+
# @!attribute [rw] file_shares_visible
|
7141
|
+
# The shares on this gateway appear when listing shares.
|
7142
|
+
# @return [Boolean]
|
7143
|
+
#
|
7144
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateSMBFileShareVisibilityInput AWS API Documentation
|
7145
|
+
#
|
7146
|
+
class UpdateSMBFileShareVisibilityInput < Struct.new(
|
7147
|
+
:gateway_arn,
|
7148
|
+
:file_shares_visible)
|
7149
|
+
SENSITIVE = []
|
7150
|
+
include Aws::Structure
|
7151
|
+
end
|
7152
|
+
|
7153
|
+
# @!attribute [rw] gateway_arn
|
7154
|
+
# The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
|
7155
|
+
# operation to return a list of gateways for your account and AWS
|
7156
|
+
# Region.
|
7157
|
+
# @return [String]
|
7158
|
+
#
|
7159
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateSMBFileShareVisibilityOutput AWS API Documentation
|
7160
|
+
#
|
7161
|
+
class UpdateSMBFileShareVisibilityOutput < Struct.new(
|
7162
|
+
:gateway_arn)
|
7163
|
+
SENSITIVE = []
|
7164
|
+
include Aws::Structure
|
7165
|
+
end
|
7166
|
+
|
6902
7167
|
# @note When making an API call, you may pass UpdateSMBSecurityStrategyInput
|
6903
7168
|
# data as a hash:
|
6904
7169
|
#
|
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.52.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-
|
11
|
+
date: 2020-11-09 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.109.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.109.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|