aws-sdk-storagegateway 1.5.0 → 1.6.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 +1 -1
- data/lib/aws-sdk-storagegateway/client.rb +416 -9
- data/lib/aws-sdk-storagegateway/client_api.rb +170 -0
- data/lib/aws-sdk-storagegateway/types.rb +576 -16
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 66dbb2bbfc322b79addf246c098f96926e4b2fdd
|
4
|
+
data.tar.gz: 7b34670d0560b5c37c80576f35a0cb4658ba916c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3595e20b3dd4f9627c83bc010e729ebd90acc7d637a09c72fc4c2e1bf22d8d52bd27fd70e241384562080826ee36257f9bb03a7ce1cf84b2a44f03dd9c95d2ec
|
7
|
+
data.tar.gz: 3b7ceacc7a346fbf4a19a39da66f06c4cecba5cdfe1d7cd349611335e0cca0486609c70bf71216bd24107ee2109904a5bc606e835204bfeea4bf889fd9ee6787
|
@@ -689,10 +689,25 @@ module Aws::StorageGateway
|
|
689
689
|
# operation to return a list of gateways for your account and region.
|
690
690
|
#
|
691
691
|
# @option params [required, Integer] :volume_size_in_bytes
|
692
|
+
# The size of the volume in bytes.
|
692
693
|
#
|
693
694
|
# @option params [String] :snapshot_id
|
695
|
+
# The snapshot ID (e.g. "snap-1122aabb") of the snapshot to restore as
|
696
|
+
# the new cached volume. Specify this field if you want to create the
|
697
|
+
# iSCSI storage volume from a snapshot otherwise do not include this
|
698
|
+
# field. To list snapshots for your account use [DescribeSnapshots][1]
|
699
|
+
# in the *Amazon Elastic Compute Cloud API Reference*.
|
700
|
+
#
|
701
|
+
#
|
702
|
+
#
|
703
|
+
# [1]: http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-DescribeSnapshots.html
|
694
704
|
#
|
695
705
|
# @option params [required, String] :target_name
|
706
|
+
# The name of the iSCSI target used by initiators to connect to the
|
707
|
+
# target and as a suffix for the target ARN. For example, specifying
|
708
|
+
# `TargetName` as *myvolume* results in the target ARN of
|
709
|
+
# arn:aws:storagegateway:us-east-2:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume.
|
710
|
+
# The target name must be unique across all volumes of a gateway.
|
696
711
|
#
|
697
712
|
# @option params [String] :source_volume_arn
|
698
713
|
# The ARN for an existing volume. Specifying this ARN makes the new
|
@@ -701,8 +716,17 @@ module Aws::StorageGateway
|
|
701
716
|
# be equal to or larger than the size of the existing volume, in bytes.
|
702
717
|
#
|
703
718
|
# @option params [required, String] :network_interface_id
|
719
|
+
# The network interface of the gateway on which to expose the iSCSI
|
720
|
+
# target. Only IPv4 addresses are accepted. Use
|
721
|
+
# DescribeGatewayInformation to get a list of the network interfaces
|
722
|
+
# available on a gateway.
|
723
|
+
#
|
724
|
+
# Valid Values: A valid IP address.
|
704
725
|
#
|
705
726
|
# @option params [required, String] :client_token
|
727
|
+
# A unique identifier that you use to retry a request. If you retry a
|
728
|
+
# request, use the same `ClientToken` you specified in the initial
|
729
|
+
# request.
|
706
730
|
#
|
707
731
|
# @option params [Boolean] :kms_encrypted
|
708
732
|
# True to use Amazon S3 server side encryption with your own AWS KMS
|
@@ -766,10 +790,10 @@ module Aws::StorageGateway
|
|
766
790
|
req.send_request(options)
|
767
791
|
end
|
768
792
|
|
769
|
-
# Creates a file share on an existing file
|
770
|
-
# a file share is a file system mount point
|
771
|
-
# storage. Storage Gateway exposes file shares
|
772
|
-
#
|
793
|
+
# Creates a Network File System (NFS) file share on an existing file
|
794
|
+
# gateway. In Storage Gateway, a file share is a file system mount point
|
795
|
+
# backed by Amazon S3 cloud storage. Storage Gateway exposes file shares
|
796
|
+
# using a NFS interface. This operation is only supported in the file
|
773
797
|
# gateway type.
|
774
798
|
#
|
775
799
|
# File gateway requires AWS Security Token Service (AWS STS) to be
|
@@ -888,6 +912,123 @@ module Aws::StorageGateway
|
|
888
912
|
req.send_request(options)
|
889
913
|
end
|
890
914
|
|
915
|
+
# Creates a Server Message Block (SMB) file share on an existing file
|
916
|
+
# gateway. In Storage Gateway, a file share is a file system mount point
|
917
|
+
# backed by Amazon S3 cloud storage. Storage Gateway expose file shares
|
918
|
+
# using a SMB interface. This operation is only supported in the file
|
919
|
+
# gateway type.
|
920
|
+
#
|
921
|
+
# File gateway requires AWS Security Token Service (AWS STS) to be
|
922
|
+
# activated to enable you create a file share. Make sure AWS STS is
|
923
|
+
# activated in the region you are creating your file gateway in. If AWS
|
924
|
+
# STS is not activated in the region, activate it. For information about
|
925
|
+
# how to activate AWS STS, see Activating and Deactivating AWS STS in an
|
926
|
+
# AWS Region in the AWS Identity and Access Management User Guide.
|
927
|
+
#
|
928
|
+
# File gateway does not support creating hard or symbolic links on a
|
929
|
+
# file share.
|
930
|
+
#
|
931
|
+
# @option params [required, String] :client_token
|
932
|
+
# A unique string value that you supply that is used by file gateway to
|
933
|
+
# ensure idempotent file share creation.
|
934
|
+
#
|
935
|
+
# @option params [required, String] :gateway_arn
|
936
|
+
# The Amazon Resource Name (ARN) of the file gateway on which you want
|
937
|
+
# to create a file share.
|
938
|
+
#
|
939
|
+
# @option params [Boolean] :kms_encrypted
|
940
|
+
# True to use Amazon S3 server side encryption with your own AWS KMS
|
941
|
+
# key, or false to use a key managed by Amazon S3. Optional.
|
942
|
+
#
|
943
|
+
# @option params [String] :kms_key
|
944
|
+
# The Amazon Resource Name (ARN) KMS key used for Amazon S3 server side
|
945
|
+
# encryption. This value can only be set when KMSEncrypted is true.
|
946
|
+
# Optional.
|
947
|
+
#
|
948
|
+
# @option params [required, String] :role
|
949
|
+
# The ARN of the AWS Identity and Access Management (IAM) role that a
|
950
|
+
# file gateway assumes when it accesses the underlying storage.
|
951
|
+
#
|
952
|
+
# @option params [required, String] :location_arn
|
953
|
+
# The ARN of the backed storage used for storing file data.
|
954
|
+
#
|
955
|
+
# @option params [String] :default_storage_class
|
956
|
+
# The default storage class for objects put into an Amazon S3 bucket by
|
957
|
+
# file gateway. Possible values are S3\_STANDARD, S3\_STANDARD\_IA or
|
958
|
+
# S3\_ONEZONE\_IA. If this field is not populated, the default value
|
959
|
+
# S3\_STANDARD is used. Optional.
|
960
|
+
#
|
961
|
+
# @option params [String] :object_acl
|
962
|
+
# Sets the access control list permission for objects in the Amazon S3
|
963
|
+
# bucket that a file gateway puts objects into. The default value is
|
964
|
+
# "private".
|
965
|
+
#
|
966
|
+
# @option params [Boolean] :read_only
|
967
|
+
# Sets the write status of a file share. This value is true if the write
|
968
|
+
# status is read-only, and otherwise false.
|
969
|
+
#
|
970
|
+
# @option params [Boolean] :guess_mime_type_enabled
|
971
|
+
# Enables guessing of the MIME type for uploaded objects based on file
|
972
|
+
# extensions. Set this value to true to enable MIME type guessing, and
|
973
|
+
# otherwise to false. The default value is true.
|
974
|
+
#
|
975
|
+
# @option params [Boolean] :requester_pays
|
976
|
+
# Sets who pays the cost of the request and the data download from the
|
977
|
+
# Amazon S3 bucket. Set this value to true if you want the requester to
|
978
|
+
# pay instead of the bucket owner, and otherwise to false.
|
979
|
+
#
|
980
|
+
# @option params [Array<String>] :valid_user_list
|
981
|
+
# A list of users in the Active Directory that are allowed to access the
|
982
|
+
# file share. Can only be set if Authentication is set to
|
983
|
+
# "ActiveDirectory".
|
984
|
+
#
|
985
|
+
# @option params [Array<String>] :invalid_user_list
|
986
|
+
# A list of users in the Active Directory that are not allowed to access
|
987
|
+
# the file share. Can only be set if Authentication is set to
|
988
|
+
# "ActiveDirectory".
|
989
|
+
#
|
990
|
+
# @option params [String] :authentication
|
991
|
+
# The authentication method that users use to access the file share.
|
992
|
+
#
|
993
|
+
# Valid values: "ActiveDirectory" or "GuestAccess". The default is
|
994
|
+
# "ActiveDirectory".
|
995
|
+
#
|
996
|
+
# @return [Types::CreateSMBFileShareOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
997
|
+
#
|
998
|
+
# * {Types::CreateSMBFileShareOutput#file_share_arn #file_share_arn} => String
|
999
|
+
#
|
1000
|
+
# @example Request syntax with placeholder values
|
1001
|
+
#
|
1002
|
+
# resp = client.create_smb_file_share({
|
1003
|
+
# client_token: "ClientToken", # required
|
1004
|
+
# gateway_arn: "GatewayARN", # required
|
1005
|
+
# kms_encrypted: false,
|
1006
|
+
# kms_key: "KMSKey",
|
1007
|
+
# role: "Role", # required
|
1008
|
+
# location_arn: "LocationARN", # required
|
1009
|
+
# default_storage_class: "StorageClass",
|
1010
|
+
# object_acl: "private", # accepts private, public-read, public-read-write, authenticated-read, bucket-owner-read, bucket-owner-full-control, aws-exec-read
|
1011
|
+
# read_only: false,
|
1012
|
+
# guess_mime_type_enabled: false,
|
1013
|
+
# requester_pays: false,
|
1014
|
+
# valid_user_list: ["FileShareUser"],
|
1015
|
+
# invalid_user_list: ["FileShareUser"],
|
1016
|
+
# authentication: "Authentication",
|
1017
|
+
# })
|
1018
|
+
#
|
1019
|
+
# @example Response structure
|
1020
|
+
#
|
1021
|
+
# resp.file_share_arn #=> String
|
1022
|
+
#
|
1023
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateSMBFileShare AWS API Documentation
|
1024
|
+
#
|
1025
|
+
# @overload create_smb_file_share(params = {})
|
1026
|
+
# @param [Hash] params ({})
|
1027
|
+
def create_smb_file_share(params = {}, options = {})
|
1028
|
+
req = build_request(:create_smb_file_share, params)
|
1029
|
+
req.send_request(options)
|
1030
|
+
end
|
1031
|
+
|
891
1032
|
# Initiates a snapshot of a volume.
|
892
1033
|
#
|
893
1034
|
# AWS Storage Gateway provides the ability to back up point-in-time
|
@@ -2171,8 +2312,9 @@ module Aws::StorageGateway
|
|
2171
2312
|
req.send_request(options)
|
2172
2313
|
end
|
2173
2314
|
|
2174
|
-
# Gets a description for one or more
|
2175
|
-
# This operation is only supported in the
|
2315
|
+
# Gets a description for one or more Network File System (NFS) file
|
2316
|
+
# shares from a file gateway. This operation is only supported in the
|
2317
|
+
# file gateway type.
|
2176
2318
|
#
|
2177
2319
|
# @option params [required, Array<String>] :file_share_arn_list
|
2178
2320
|
# An array containing the Amazon Resource Name (ARN) of each file share
|
@@ -2222,6 +2364,91 @@ module Aws::StorageGateway
|
|
2222
2364
|
req.send_request(options)
|
2223
2365
|
end
|
2224
2366
|
|
2367
|
+
# Gets a description for one or more Server Message Block (SMB) file
|
2368
|
+
# shares from a file gateway. This operation is only supported in the
|
2369
|
+
# file gateway type.
|
2370
|
+
#
|
2371
|
+
# @option params [required, Array<String>] :file_share_arn_list
|
2372
|
+
# An array containing the Amazon Resource Name (ARN) of each file share
|
2373
|
+
# to be described.
|
2374
|
+
#
|
2375
|
+
# @return [Types::DescribeSMBFileSharesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2376
|
+
#
|
2377
|
+
# * {Types::DescribeSMBFileSharesOutput#smb_file_share_info_list #smb_file_share_info_list} => Array<Types::SMBFileShareInfo>
|
2378
|
+
#
|
2379
|
+
# @example Request syntax with placeholder values
|
2380
|
+
#
|
2381
|
+
# resp = client.describe_smb_file_shares({
|
2382
|
+
# file_share_arn_list: ["FileShareARN"], # required
|
2383
|
+
# })
|
2384
|
+
#
|
2385
|
+
# @example Response structure
|
2386
|
+
#
|
2387
|
+
# resp.smb_file_share_info_list #=> Array
|
2388
|
+
# resp.smb_file_share_info_list[0].file_share_arn #=> String
|
2389
|
+
# resp.smb_file_share_info_list[0].file_share_id #=> String
|
2390
|
+
# resp.smb_file_share_info_list[0].file_share_status #=> String
|
2391
|
+
# resp.smb_file_share_info_list[0].gateway_arn #=> String
|
2392
|
+
# resp.smb_file_share_info_list[0].kms_encrypted #=> Boolean
|
2393
|
+
# resp.smb_file_share_info_list[0].kms_key #=> String
|
2394
|
+
# resp.smb_file_share_info_list[0].path #=> String
|
2395
|
+
# resp.smb_file_share_info_list[0].role #=> String
|
2396
|
+
# resp.smb_file_share_info_list[0].location_arn #=> String
|
2397
|
+
# resp.smb_file_share_info_list[0].default_storage_class #=> String
|
2398
|
+
# resp.smb_file_share_info_list[0].object_acl #=> String, one of "private", "public-read", "public-read-write", "authenticated-read", "bucket-owner-read", "bucket-owner-full-control", "aws-exec-read"
|
2399
|
+
# resp.smb_file_share_info_list[0].read_only #=> Boolean
|
2400
|
+
# resp.smb_file_share_info_list[0].guess_mime_type_enabled #=> Boolean
|
2401
|
+
# resp.smb_file_share_info_list[0].requester_pays #=> Boolean
|
2402
|
+
# resp.smb_file_share_info_list[0].valid_user_list #=> Array
|
2403
|
+
# resp.smb_file_share_info_list[0].valid_user_list[0] #=> String
|
2404
|
+
# resp.smb_file_share_info_list[0].invalid_user_list #=> Array
|
2405
|
+
# resp.smb_file_share_info_list[0].invalid_user_list[0] #=> String
|
2406
|
+
# resp.smb_file_share_info_list[0].authentication #=> String
|
2407
|
+
#
|
2408
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeSMBFileShares AWS API Documentation
|
2409
|
+
#
|
2410
|
+
# @overload describe_smb_file_shares(params = {})
|
2411
|
+
# @param [Hash] params ({})
|
2412
|
+
def describe_smb_file_shares(params = {}, options = {})
|
2413
|
+
req = build_request(:describe_smb_file_shares, params)
|
2414
|
+
req.send_request(options)
|
2415
|
+
end
|
2416
|
+
|
2417
|
+
# Gets a description of a Server Message Block (SMB) file share settings
|
2418
|
+
# from a file gateway. This operation is only supported in the file
|
2419
|
+
# gateway type.
|
2420
|
+
#
|
2421
|
+
# @option params [required, String] :gateway_arn
|
2422
|
+
# The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
|
2423
|
+
# operation to return a list of gateways for your account and region.
|
2424
|
+
#
|
2425
|
+
# @return [Types::DescribeSMBSettingsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2426
|
+
#
|
2427
|
+
# * {Types::DescribeSMBSettingsOutput#gateway_arn #gateway_arn} => String
|
2428
|
+
# * {Types::DescribeSMBSettingsOutput#domain_name #domain_name} => String
|
2429
|
+
# * {Types::DescribeSMBSettingsOutput#smb_guest_password_set #smb_guest_password_set} => Boolean
|
2430
|
+
#
|
2431
|
+
# @example Request syntax with placeholder values
|
2432
|
+
#
|
2433
|
+
# resp = client.describe_smb_settings({
|
2434
|
+
# gateway_arn: "GatewayARN", # required
|
2435
|
+
# })
|
2436
|
+
#
|
2437
|
+
# @example Response structure
|
2438
|
+
#
|
2439
|
+
# resp.gateway_arn #=> String
|
2440
|
+
# resp.domain_name #=> String
|
2441
|
+
# resp.smb_guest_password_set #=> Boolean
|
2442
|
+
#
|
2443
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeSMBSettings AWS API Documentation
|
2444
|
+
#
|
2445
|
+
# @overload describe_smb_settings(params = {})
|
2446
|
+
# @param [Hash] params ({})
|
2447
|
+
def describe_smb_settings(params = {}, options = {})
|
2448
|
+
req = build_request(:describe_smb_settings, params)
|
2449
|
+
req.send_request(options)
|
2450
|
+
end
|
2451
|
+
|
2225
2452
|
# Describes the snapshot schedule for the specified gateway volume. The
|
2226
2453
|
# snapshot schedule information includes intervals at which snapshots
|
2227
2454
|
# are automatically initiated on the volume. This operation is only
|
@@ -2963,6 +3190,51 @@ module Aws::StorageGateway
|
|
2963
3190
|
req.send_request(options)
|
2964
3191
|
end
|
2965
3192
|
|
3193
|
+
# Adds a file gateway to an Active Directory domain. This operation is
|
3194
|
+
# only supported in the file gateway type that supports the SMB file
|
3195
|
+
# protocol.
|
3196
|
+
#
|
3197
|
+
# @option params [required, String] :gateway_arn
|
3198
|
+
# The unique Amazon Resource Name of the file gateway you want to add to
|
3199
|
+
# the Active Directory domain.
|
3200
|
+
#
|
3201
|
+
# @option params [required, String] :domain_name
|
3202
|
+
# The name of the domain that you want the gateway to join.
|
3203
|
+
#
|
3204
|
+
# @option params [required, String] :user_name
|
3205
|
+
# Sets the user name of user who has permission to add the gateway to
|
3206
|
+
# the Active Directory domain.
|
3207
|
+
#
|
3208
|
+
# @option params [required, String] :password
|
3209
|
+
# Sets the password of the user who has permission to add the gateway to
|
3210
|
+
# the Active Directory domain.
|
3211
|
+
#
|
3212
|
+
# @return [Types::JoinDomainOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3213
|
+
#
|
3214
|
+
# * {Types::JoinDomainOutput#gateway_arn #gateway_arn} => String
|
3215
|
+
#
|
3216
|
+
# @example Request syntax with placeholder values
|
3217
|
+
#
|
3218
|
+
# resp = client.join_domain({
|
3219
|
+
# gateway_arn: "GatewayARN", # required
|
3220
|
+
# domain_name: "DomainName", # required
|
3221
|
+
# user_name: "DomainUserName", # required
|
3222
|
+
# password: "DomainUserPassword", # required
|
3223
|
+
# })
|
3224
|
+
#
|
3225
|
+
# @example Response structure
|
3226
|
+
#
|
3227
|
+
# resp.gateway_arn #=> String
|
3228
|
+
#
|
3229
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/JoinDomain AWS API Documentation
|
3230
|
+
#
|
3231
|
+
# @overload join_domain(params = {})
|
3232
|
+
# @param [Hash] params ({})
|
3233
|
+
def join_domain(params = {}, options = {})
|
3234
|
+
req = build_request(:join_domain, params)
|
3235
|
+
req.send_request(options)
|
3236
|
+
end
|
3237
|
+
|
2966
3238
|
# Gets a list of the file shares for a specific file gateway, or the
|
2967
3239
|
# list of file shares that belong to the calling user account. This
|
2968
3240
|
# operation is only supported in the file gateway type.
|
@@ -3000,6 +3272,7 @@ module Aws::StorageGateway
|
|
3000
3272
|
# resp.marker #=> String
|
3001
3273
|
# resp.next_marker #=> String
|
3002
3274
|
# resp.file_share_info_list #=> Array
|
3275
|
+
# resp.file_share_info_list[0].file_share_type #=> String, one of "NFS", "SMB"
|
3003
3276
|
# resp.file_share_info_list[0].file_share_arn #=> String
|
3004
3277
|
# resp.file_share_info_list[0].file_share_id #=> String
|
3005
3278
|
# resp.file_share_info_list[0].file_share_status #=> String
|
@@ -3857,6 +4130,41 @@ module Aws::StorageGateway
|
|
3857
4130
|
req.send_request(options)
|
3858
4131
|
end
|
3859
4132
|
|
4133
|
+
# Sets the password for the guest user “smbguest”. "smbguest" is the
|
4134
|
+
# user when the Authentication method for the file share is
|
4135
|
+
# “GuestAccess”.
|
4136
|
+
#
|
4137
|
+
# @option params [required, String] :gateway_arn
|
4138
|
+
# The Amazon Resource Name (ARN) of the file gateway the SMB file share
|
4139
|
+
# is associated with.
|
4140
|
+
#
|
4141
|
+
# @option params [required, String] :password
|
4142
|
+
# The password you want to set for your SMB Server.
|
4143
|
+
#
|
4144
|
+
# @return [Types::SetSMBGuestPasswordOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4145
|
+
#
|
4146
|
+
# * {Types::SetSMBGuestPasswordOutput#gateway_arn #gateway_arn} => String
|
4147
|
+
#
|
4148
|
+
# @example Request syntax with placeholder values
|
4149
|
+
#
|
4150
|
+
# resp = client.set_smb_guest_password({
|
4151
|
+
# gateway_arn: "GatewayARN", # required
|
4152
|
+
# password: "SMBGuestPassword", # required
|
4153
|
+
# })
|
4154
|
+
#
|
4155
|
+
# @example Response structure
|
4156
|
+
#
|
4157
|
+
# resp.gateway_arn #=> String
|
4158
|
+
#
|
4159
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/SetSMBGuestPassword AWS API Documentation
|
4160
|
+
#
|
4161
|
+
# @overload set_smb_guest_password(params = {})
|
4162
|
+
# @param [Hash] params ({})
|
4163
|
+
def set_smb_guest_password(params = {}, options = {})
|
4164
|
+
req = build_request(:set_smb_guest_password, params)
|
4165
|
+
req.send_request(options)
|
4166
|
+
end
|
4167
|
+
|
3860
4168
|
# Shuts down a gateway. To specify which gateway to shut down, use the
|
3861
4169
|
# Amazon Resource Name (ARN) of the gateway in the body of your request.
|
3862
4170
|
#
|
@@ -4322,8 +4630,8 @@ module Aws::StorageGateway
|
|
4322
4630
|
req.send_request(options)
|
4323
4631
|
end
|
4324
4632
|
|
4325
|
-
# Updates a file share. This operation is only
|
4326
|
-
# gateway type.
|
4633
|
+
# Updates a Network File System (NFS) file share. This operation is only
|
4634
|
+
# supported in the file gateway type.
|
4327
4635
|
#
|
4328
4636
|
# <note markdown="1"> To leave a file share field unchanged, set the corresponding input
|
4329
4637
|
# field to null.
|
@@ -4438,6 +4746,105 @@ module Aws::StorageGateway
|
|
4438
4746
|
req.send_request(options)
|
4439
4747
|
end
|
4440
4748
|
|
4749
|
+
# Updates a Server Message Block (SMB) file share. This operation is
|
4750
|
+
# only supported in the file gateway type.
|
4751
|
+
#
|
4752
|
+
# <note markdown="1"> To leave a file share field unchanged, set the corresponding input
|
4753
|
+
# field to null. This operation is only supported in the file gateway
|
4754
|
+
# type.
|
4755
|
+
#
|
4756
|
+
# </note>
|
4757
|
+
#
|
4758
|
+
# File gateway requires AWS Security Token Service (AWS STS) to be
|
4759
|
+
# activated to enable you create a file share. Make sure AWS STS is
|
4760
|
+
# activated in the region you are creating your file gateway in. If AWS
|
4761
|
+
# STS is not activated in the region, activate it. For information about
|
4762
|
+
# how to activate AWS STS, see Activating and Deactivating AWS STS in an
|
4763
|
+
# AWS Region in the AWS Identity and Access Management User Guide.
|
4764
|
+
#
|
4765
|
+
# File gateway does not support creating hard or symbolic links on a
|
4766
|
+
# file share.
|
4767
|
+
#
|
4768
|
+
# @option params [required, String] :file_share_arn
|
4769
|
+
# The Amazon Resource Name (ARN) of the SMB file share you want to
|
4770
|
+
# update.
|
4771
|
+
#
|
4772
|
+
# @option params [Boolean] :kms_encrypted
|
4773
|
+
# True to use Amazon S3 server side encryption with your own AWS KMS
|
4774
|
+
# key, or false to use a key managed by Amazon S3. Optional.
|
4775
|
+
#
|
4776
|
+
# @option params [String] :kms_key
|
4777
|
+
# The Amazon Resource Name (ARN) KMS key used for Amazon S3 server side
|
4778
|
+
# encryption. This value can only be set when KMSEncrypted is true.
|
4779
|
+
# Optional.
|
4780
|
+
#
|
4781
|
+
# @option params [String] :default_storage_class
|
4782
|
+
# The default storage class for objects put into an Amazon S3 bucket by
|
4783
|
+
# file gateway. Possible values are S3\_STANDARD, S3\_STANDARD\_IA or
|
4784
|
+
# S3\_ONEZONE\_IA. If this field is not populated, the default value
|
4785
|
+
# S3\_STANDARD is used. Optional.
|
4786
|
+
#
|
4787
|
+
# @option params [String] :object_acl
|
4788
|
+
# Sets the access control list permission for objects in the Amazon S3
|
4789
|
+
# bucket that a file gateway puts objects into. The default value is
|
4790
|
+
# "private".
|
4791
|
+
#
|
4792
|
+
# @option params [Boolean] :read_only
|
4793
|
+
# Sets the write status of a file share. This value is true if the write
|
4794
|
+
# status is read-only, and otherwise false.
|
4795
|
+
#
|
4796
|
+
# @option params [Boolean] :guess_mime_type_enabled
|
4797
|
+
# Enables guessing of the MIME type for uploaded objects based on file
|
4798
|
+
# extensions. Set this value to true to enable MIME type guessing, and
|
4799
|
+
# otherwise to false. The default value is true.
|
4800
|
+
#
|
4801
|
+
# @option params [Boolean] :requester_pays
|
4802
|
+
# Sets who pays the cost of the request and the data download from the
|
4803
|
+
# Amazon S3 bucket. Set this value to true if you want the requester to
|
4804
|
+
# pay instead of the bucket owner, and otherwise to false.
|
4805
|
+
#
|
4806
|
+
# @option params [Array<String>] :valid_user_list
|
4807
|
+
# A list of users in the Active Directory that are allowed to access the
|
4808
|
+
# file share. Can only be set if Authentication is set to
|
4809
|
+
# "ActiveDirectory".
|
4810
|
+
#
|
4811
|
+
# @option params [Array<String>] :invalid_user_list
|
4812
|
+
# A list of users in the Active Directory that are not allowed to access
|
4813
|
+
# the file share. Can only be set if Authentication is set to
|
4814
|
+
# "ActiveDirectory".
|
4815
|
+
#
|
4816
|
+
# @return [Types::UpdateSMBFileShareOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4817
|
+
#
|
4818
|
+
# * {Types::UpdateSMBFileShareOutput#file_share_arn #file_share_arn} => String
|
4819
|
+
#
|
4820
|
+
# @example Request syntax with placeholder values
|
4821
|
+
#
|
4822
|
+
# resp = client.update_smb_file_share({
|
4823
|
+
# file_share_arn: "FileShareARN", # required
|
4824
|
+
# kms_encrypted: false,
|
4825
|
+
# kms_key: "KMSKey",
|
4826
|
+
# default_storage_class: "StorageClass",
|
4827
|
+
# object_acl: "private", # accepts private, public-read, public-read-write, authenticated-read, bucket-owner-read, bucket-owner-full-control, aws-exec-read
|
4828
|
+
# read_only: false,
|
4829
|
+
# guess_mime_type_enabled: false,
|
4830
|
+
# requester_pays: false,
|
4831
|
+
# valid_user_list: ["FileShareUser"],
|
4832
|
+
# invalid_user_list: ["FileShareUser"],
|
4833
|
+
# })
|
4834
|
+
#
|
4835
|
+
# @example Response structure
|
4836
|
+
#
|
4837
|
+
# resp.file_share_arn #=> String
|
4838
|
+
#
|
4839
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateSMBFileShare AWS API Documentation
|
4840
|
+
#
|
4841
|
+
# @overload update_smb_file_share(params = {})
|
4842
|
+
# @param [Hash] params ({})
|
4843
|
+
def update_smb_file_share(params = {}, options = {})
|
4844
|
+
req = build_request(:update_smb_file_share, params)
|
4845
|
+
req.send_request(options)
|
4846
|
+
end
|
4847
|
+
|
4441
4848
|
# Updates a snapshot schedule configured for a gateway volume. This
|
4442
4849
|
# operation is only supported in the cached volume and stored volume
|
4443
4850
|
# gateway types.
|
@@ -4577,7 +4984,7 @@ module Aws::StorageGateway
|
|
4577
4984
|
params: params,
|
4578
4985
|
config: config)
|
4579
4986
|
context[:gem_name] = 'aws-sdk-storagegateway'
|
4580
|
-
context[:gem_version] = '1.
|
4987
|
+
context[:gem_version] = '1.6.0'
|
4581
4988
|
Seahorse::Client::Request.new(handlers, context)
|
4582
4989
|
end
|
4583
4990
|
|