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.
@@ -22,6 +22,7 @@ module Aws::StorageGateway
22
22
  AddUploadBufferOutput = Shapes::StructureShape.new(name: 'AddUploadBufferOutput')
23
23
  AddWorkingStorageInput = Shapes::StructureShape.new(name: 'AddWorkingStorageInput')
24
24
  AddWorkingStorageOutput = Shapes::StructureShape.new(name: 'AddWorkingStorageOutput')
25
+ Authentication = Shapes::StringShape.new(name: 'Authentication')
25
26
  BandwidthDownloadRateLimit = Shapes::IntegerShape.new(name: 'BandwidthDownloadRateLimit')
26
27
  BandwidthType = Shapes::StringShape.new(name: 'BandwidthType')
27
28
  BandwidthUploadRateLimit = Shapes::IntegerShape.new(name: 'BandwidthUploadRateLimit')
@@ -40,6 +41,8 @@ module Aws::StorageGateway
40
41
  CreateCachediSCSIVolumeOutput = Shapes::StructureShape.new(name: 'CreateCachediSCSIVolumeOutput')
41
42
  CreateNFSFileShareInput = Shapes::StructureShape.new(name: 'CreateNFSFileShareInput')
42
43
  CreateNFSFileShareOutput = Shapes::StructureShape.new(name: 'CreateNFSFileShareOutput')
44
+ CreateSMBFileShareInput = Shapes::StructureShape.new(name: 'CreateSMBFileShareInput')
45
+ CreateSMBFileShareOutput = Shapes::StructureShape.new(name: 'CreateSMBFileShareOutput')
43
46
  CreateSnapshotFromVolumeRecoveryPointInput = Shapes::StructureShape.new(name: 'CreateSnapshotFromVolumeRecoveryPointInput')
44
47
  CreateSnapshotFromVolumeRecoveryPointOutput = Shapes::StructureShape.new(name: 'CreateSnapshotFromVolumeRecoveryPointOutput')
45
48
  CreateSnapshotInput = Shapes::StructureShape.new(name: 'CreateSnapshotInput')
@@ -82,6 +85,10 @@ module Aws::StorageGateway
82
85
  DescribeMaintenanceStartTimeOutput = Shapes::StructureShape.new(name: 'DescribeMaintenanceStartTimeOutput')
83
86
  DescribeNFSFileSharesInput = Shapes::StructureShape.new(name: 'DescribeNFSFileSharesInput')
84
87
  DescribeNFSFileSharesOutput = Shapes::StructureShape.new(name: 'DescribeNFSFileSharesOutput')
88
+ DescribeSMBFileSharesInput = Shapes::StructureShape.new(name: 'DescribeSMBFileSharesInput')
89
+ DescribeSMBFileSharesOutput = Shapes::StructureShape.new(name: 'DescribeSMBFileSharesOutput')
90
+ DescribeSMBSettingsInput = Shapes::StructureShape.new(name: 'DescribeSMBSettingsInput')
91
+ DescribeSMBSettingsOutput = Shapes::StructureShape.new(name: 'DescribeSMBSettingsOutput')
85
92
  DescribeSnapshotScheduleInput = Shapes::StructureShape.new(name: 'DescribeSnapshotScheduleInput')
86
93
  DescribeSnapshotScheduleOutput = Shapes::StructureShape.new(name: 'DescribeSnapshotScheduleOutput')
87
94
  DescribeStorediSCSIVolumesInput = Shapes::StructureShape.new(name: 'DescribeStorediSCSIVolumesInput')
@@ -108,6 +115,9 @@ module Aws::StorageGateway
108
115
  DiskId = Shapes::StringShape.new(name: 'DiskId')
109
116
  DiskIds = Shapes::ListShape.new(name: 'DiskIds')
110
117
  Disks = Shapes::ListShape.new(name: 'Disks')
118
+ DomainName = Shapes::StringShape.new(name: 'DomainName')
119
+ DomainUserName = Shapes::StringShape.new(name: 'DomainUserName')
120
+ DomainUserPassword = Shapes::StringShape.new(name: 'DomainUserPassword')
111
121
  DoubleObject = Shapes::FloatShape.new(name: 'DoubleObject')
112
122
  ErrorCode = Shapes::StringShape.new(name: 'ErrorCode')
113
123
  FileShareARN = Shapes::StringShape.new(name: 'FileShareARN')
@@ -117,6 +127,9 @@ module Aws::StorageGateway
117
127
  FileShareInfo = Shapes::StructureShape.new(name: 'FileShareInfo')
118
128
  FileShareInfoList = Shapes::ListShape.new(name: 'FileShareInfoList')
119
129
  FileShareStatus = Shapes::StringShape.new(name: 'FileShareStatus')
130
+ FileShareType = Shapes::StringShape.new(name: 'FileShareType')
131
+ FileShareUser = Shapes::StringShape.new(name: 'FileShareUser')
132
+ FileShareUserList = Shapes::ListShape.new(name: 'FileShareUserList')
120
133
  GatewayARN = Shapes::StringShape.new(name: 'GatewayARN')
121
134
  GatewayId = Shapes::StringShape.new(name: 'GatewayId')
122
135
  GatewayInfo = Shapes::StructureShape.new(name: 'GatewayInfo')
@@ -134,6 +147,8 @@ module Aws::StorageGateway
134
147
  InternalServerError = Shapes::StructureShape.new(name: 'InternalServerError')
135
148
  InvalidGatewayRequestException = Shapes::StructureShape.new(name: 'InvalidGatewayRequestException')
136
149
  IqnName = Shapes::StringShape.new(name: 'IqnName')
150
+ JoinDomainInput = Shapes::StructureShape.new(name: 'JoinDomainInput')
151
+ JoinDomainOutput = Shapes::StructureShape.new(name: 'JoinDomainOutput')
137
152
  KMSKey = Shapes::StringShape.new(name: 'KMSKey')
138
153
  LastSoftwareUpdate = Shapes::StringShape.new(name: 'LastSoftwareUpdate')
139
154
  ListFileSharesInput = Shapes::StructureShape.new(name: 'ListFileSharesInput')
@@ -186,9 +201,14 @@ module Aws::StorageGateway
186
201
  RetrieveTapeRecoveryPointInput = Shapes::StructureShape.new(name: 'RetrieveTapeRecoveryPointInput')
187
202
  RetrieveTapeRecoveryPointOutput = Shapes::StructureShape.new(name: 'RetrieveTapeRecoveryPointOutput')
188
203
  Role = Shapes::StringShape.new(name: 'Role')
204
+ SMBFileShareInfo = Shapes::StructureShape.new(name: 'SMBFileShareInfo')
205
+ SMBFileShareInfoList = Shapes::ListShape.new(name: 'SMBFileShareInfoList')
206
+ SMBGuestPassword = Shapes::StringShape.new(name: 'SMBGuestPassword')
189
207
  ServiceUnavailableError = Shapes::StructureShape.new(name: 'ServiceUnavailableError')
190
208
  SetLocalConsolePasswordInput = Shapes::StructureShape.new(name: 'SetLocalConsolePasswordInput')
191
209
  SetLocalConsolePasswordOutput = Shapes::StructureShape.new(name: 'SetLocalConsolePasswordOutput')
210
+ SetSMBGuestPasswordInput = Shapes::StructureShape.new(name: 'SetSMBGuestPasswordInput')
211
+ SetSMBGuestPasswordOutput = Shapes::StructureShape.new(name: 'SetSMBGuestPasswordOutput')
192
212
  ShutdownGatewayInput = Shapes::StructureShape.new(name: 'ShutdownGatewayInput')
193
213
  ShutdownGatewayOutput = Shapes::StructureShape.new(name: 'ShutdownGatewayOutput')
194
214
  SnapshotDescription = Shapes::StringShape.new(name: 'SnapshotDescription')
@@ -238,6 +258,8 @@ module Aws::StorageGateway
238
258
  UpdateMaintenanceStartTimeOutput = Shapes::StructureShape.new(name: 'UpdateMaintenanceStartTimeOutput')
239
259
  UpdateNFSFileShareInput = Shapes::StructureShape.new(name: 'UpdateNFSFileShareInput')
240
260
  UpdateNFSFileShareOutput = Shapes::StructureShape.new(name: 'UpdateNFSFileShareOutput')
261
+ UpdateSMBFileShareInput = Shapes::StructureShape.new(name: 'UpdateSMBFileShareInput')
262
+ UpdateSMBFileShareOutput = Shapes::StructureShape.new(name: 'UpdateSMBFileShareOutput')
241
263
  UpdateSnapshotScheduleInput = Shapes::StructureShape.new(name: 'UpdateSnapshotScheduleInput')
242
264
  UpdateSnapshotScheduleOutput = Shapes::StructureShape.new(name: 'UpdateSnapshotScheduleOutput')
243
265
  UpdateVTLDeviceTypeInput = Shapes::StructureShape.new(name: 'UpdateVTLDeviceTypeInput')
@@ -378,6 +400,25 @@ module Aws::StorageGateway
378
400
  CreateNFSFileShareOutput.add_member(:file_share_arn, Shapes::ShapeRef.new(shape: FileShareARN, location_name: "FileShareARN"))
379
401
  CreateNFSFileShareOutput.struct_class = Types::CreateNFSFileShareOutput
380
402
 
403
+ CreateSMBFileShareInput.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "ClientToken"))
404
+ CreateSMBFileShareInput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayARN, required: true, location_name: "GatewayARN"))
405
+ CreateSMBFileShareInput.add_member(:kms_encrypted, Shapes::ShapeRef.new(shape: Boolean, location_name: "KMSEncrypted"))
406
+ CreateSMBFileShareInput.add_member(:kms_key, Shapes::ShapeRef.new(shape: KMSKey, location_name: "KMSKey"))
407
+ CreateSMBFileShareInput.add_member(:role, Shapes::ShapeRef.new(shape: Role, required: true, location_name: "Role"))
408
+ CreateSMBFileShareInput.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationARN, required: true, location_name: "LocationARN"))
409
+ CreateSMBFileShareInput.add_member(:default_storage_class, Shapes::ShapeRef.new(shape: StorageClass, location_name: "DefaultStorageClass"))
410
+ CreateSMBFileShareInput.add_member(:object_acl, Shapes::ShapeRef.new(shape: ObjectACL, location_name: "ObjectACL"))
411
+ CreateSMBFileShareInput.add_member(:read_only, Shapes::ShapeRef.new(shape: Boolean, location_name: "ReadOnly"))
412
+ CreateSMBFileShareInput.add_member(:guess_mime_type_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "GuessMIMETypeEnabled"))
413
+ CreateSMBFileShareInput.add_member(:requester_pays, Shapes::ShapeRef.new(shape: Boolean, location_name: "RequesterPays"))
414
+ CreateSMBFileShareInput.add_member(:valid_user_list, Shapes::ShapeRef.new(shape: FileShareUserList, location_name: "ValidUserList"))
415
+ CreateSMBFileShareInput.add_member(:invalid_user_list, Shapes::ShapeRef.new(shape: FileShareUserList, location_name: "InvalidUserList"))
416
+ CreateSMBFileShareInput.add_member(:authentication, Shapes::ShapeRef.new(shape: Authentication, location_name: "Authentication"))
417
+ CreateSMBFileShareInput.struct_class = Types::CreateSMBFileShareInput
418
+
419
+ CreateSMBFileShareOutput.add_member(:file_share_arn, Shapes::ShapeRef.new(shape: FileShareARN, location_name: "FileShareARN"))
420
+ CreateSMBFileShareOutput.struct_class = Types::CreateSMBFileShareOutput
421
+
381
422
  CreateSnapshotFromVolumeRecoveryPointInput.add_member(:volume_arn, Shapes::ShapeRef.new(shape: VolumeARN, required: true, location_name: "VolumeARN"))
382
423
  CreateSnapshotFromVolumeRecoveryPointInput.add_member(:snapshot_description, Shapes::ShapeRef.new(shape: SnapshotDescription, required: true, location_name: "SnapshotDescription"))
383
424
  CreateSnapshotFromVolumeRecoveryPointInput.struct_class = Types::CreateSnapshotFromVolumeRecoveryPointInput
@@ -545,6 +586,20 @@ module Aws::StorageGateway
545
586
  DescribeNFSFileSharesOutput.add_member(:nfs_file_share_info_list, Shapes::ShapeRef.new(shape: NFSFileShareInfoList, location_name: "NFSFileShareInfoList"))
546
587
  DescribeNFSFileSharesOutput.struct_class = Types::DescribeNFSFileSharesOutput
547
588
 
589
+ DescribeSMBFileSharesInput.add_member(:file_share_arn_list, Shapes::ShapeRef.new(shape: FileShareARNList, required: true, location_name: "FileShareARNList"))
590
+ DescribeSMBFileSharesInput.struct_class = Types::DescribeSMBFileSharesInput
591
+
592
+ DescribeSMBFileSharesOutput.add_member(:smb_file_share_info_list, Shapes::ShapeRef.new(shape: SMBFileShareInfoList, location_name: "SMBFileShareInfoList"))
593
+ DescribeSMBFileSharesOutput.struct_class = Types::DescribeSMBFileSharesOutput
594
+
595
+ DescribeSMBSettingsInput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayARN, required: true, location_name: "GatewayARN"))
596
+ DescribeSMBSettingsInput.struct_class = Types::DescribeSMBSettingsInput
597
+
598
+ DescribeSMBSettingsOutput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayARN, location_name: "GatewayARN"))
599
+ DescribeSMBSettingsOutput.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, location_name: "DomainName"))
600
+ DescribeSMBSettingsOutput.add_member(:smb_guest_password_set, Shapes::ShapeRef.new(shape: Boolean, location_name: "SMBGuestPasswordSet"))
601
+ DescribeSMBSettingsOutput.struct_class = Types::DescribeSMBSettingsOutput
602
+
548
603
  DescribeSnapshotScheduleInput.add_member(:volume_arn, Shapes::ShapeRef.new(shape: VolumeARN, required: true, location_name: "VolumeARN"))
549
604
  DescribeSnapshotScheduleInput.struct_class = Types::DescribeSnapshotScheduleInput
550
605
 
@@ -648,6 +703,7 @@ module Aws::StorageGateway
648
703
 
649
704
  FileShareClientList.member = Shapes::ShapeRef.new(shape: IPV4AddressCIDR)
650
705
 
706
+ FileShareInfo.add_member(:file_share_type, Shapes::ShapeRef.new(shape: FileShareType, location_name: "FileShareType"))
651
707
  FileShareInfo.add_member(:file_share_arn, Shapes::ShapeRef.new(shape: FileShareARN, location_name: "FileShareARN"))
652
708
  FileShareInfo.add_member(:file_share_id, Shapes::ShapeRef.new(shape: FileShareId, location_name: "FileShareId"))
653
709
  FileShareInfo.add_member(:file_share_status, Shapes::ShapeRef.new(shape: FileShareStatus, location_name: "FileShareStatus"))
@@ -656,6 +712,8 @@ module Aws::StorageGateway
656
712
 
657
713
  FileShareInfoList.member = Shapes::ShapeRef.new(shape: FileShareInfo)
658
714
 
715
+ FileShareUserList.member = Shapes::ShapeRef.new(shape: FileShareUser)
716
+
659
717
  GatewayInfo.add_member(:gateway_id, Shapes::ShapeRef.new(shape: GatewayId, location_name: "GatewayId"))
660
718
  GatewayInfo.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayARN, location_name: "GatewayARN"))
661
719
  GatewayInfo.add_member(:gateway_type, Shapes::ShapeRef.new(shape: GatewayType, location_name: "GatewayType"))
@@ -669,6 +727,15 @@ module Aws::StorageGateway
669
727
 
670
728
  Initiators.member = Shapes::ShapeRef.new(shape: Initiator)
671
729
 
730
+ JoinDomainInput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayARN, required: true, location_name: "GatewayARN"))
731
+ JoinDomainInput.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "DomainName"))
732
+ JoinDomainInput.add_member(:user_name, Shapes::ShapeRef.new(shape: DomainUserName, required: true, location_name: "UserName"))
733
+ JoinDomainInput.add_member(:password, Shapes::ShapeRef.new(shape: DomainUserPassword, required: true, location_name: "Password"))
734
+ JoinDomainInput.struct_class = Types::JoinDomainInput
735
+
736
+ JoinDomainOutput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayARN, location_name: "GatewayARN"))
737
+ JoinDomainOutput.struct_class = Types::JoinDomainOutput
738
+
672
739
  ListFileSharesInput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayARN, location_name: "GatewayARN"))
673
740
  ListFileSharesInput.add_member(:limit, Shapes::ShapeRef.new(shape: PositiveIntObject, location_name: "Limit"))
674
741
  ListFileSharesInput.add_member(:marker, Shapes::ShapeRef.new(shape: Marker, location_name: "Marker"))
@@ -808,6 +875,27 @@ module Aws::StorageGateway
808
875
  RetrieveTapeRecoveryPointOutput.add_member(:tape_arn, Shapes::ShapeRef.new(shape: TapeARN, location_name: "TapeARN"))
809
876
  RetrieveTapeRecoveryPointOutput.struct_class = Types::RetrieveTapeRecoveryPointOutput
810
877
 
878
+ SMBFileShareInfo.add_member(:file_share_arn, Shapes::ShapeRef.new(shape: FileShareARN, location_name: "FileShareARN"))
879
+ SMBFileShareInfo.add_member(:file_share_id, Shapes::ShapeRef.new(shape: FileShareId, location_name: "FileShareId"))
880
+ SMBFileShareInfo.add_member(:file_share_status, Shapes::ShapeRef.new(shape: FileShareStatus, location_name: "FileShareStatus"))
881
+ SMBFileShareInfo.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayARN, location_name: "GatewayARN"))
882
+ SMBFileShareInfo.add_member(:kms_encrypted, Shapes::ShapeRef.new(shape: boolean, location_name: "KMSEncrypted"))
883
+ SMBFileShareInfo.add_member(:kms_key, Shapes::ShapeRef.new(shape: KMSKey, location_name: "KMSKey"))
884
+ SMBFileShareInfo.add_member(:path, Shapes::ShapeRef.new(shape: Path, location_name: "Path"))
885
+ SMBFileShareInfo.add_member(:role, Shapes::ShapeRef.new(shape: Role, location_name: "Role"))
886
+ SMBFileShareInfo.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationARN, location_name: "LocationARN"))
887
+ SMBFileShareInfo.add_member(:default_storage_class, Shapes::ShapeRef.new(shape: StorageClass, location_name: "DefaultStorageClass"))
888
+ SMBFileShareInfo.add_member(:object_acl, Shapes::ShapeRef.new(shape: ObjectACL, location_name: "ObjectACL"))
889
+ SMBFileShareInfo.add_member(:read_only, Shapes::ShapeRef.new(shape: Boolean, location_name: "ReadOnly"))
890
+ SMBFileShareInfo.add_member(:guess_mime_type_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "GuessMIMETypeEnabled"))
891
+ SMBFileShareInfo.add_member(:requester_pays, Shapes::ShapeRef.new(shape: Boolean, location_name: "RequesterPays"))
892
+ SMBFileShareInfo.add_member(:valid_user_list, Shapes::ShapeRef.new(shape: FileShareUserList, location_name: "ValidUserList"))
893
+ SMBFileShareInfo.add_member(:invalid_user_list, Shapes::ShapeRef.new(shape: FileShareUserList, location_name: "InvalidUserList"))
894
+ SMBFileShareInfo.add_member(:authentication, Shapes::ShapeRef.new(shape: Authentication, location_name: "Authentication"))
895
+ SMBFileShareInfo.struct_class = Types::SMBFileShareInfo
896
+
897
+ SMBFileShareInfoList.member = Shapes::ShapeRef.new(shape: SMBFileShareInfo)
898
+
811
899
  SetLocalConsolePasswordInput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayARN, required: true, location_name: "GatewayARN"))
812
900
  SetLocalConsolePasswordInput.add_member(:local_console_password, Shapes::ShapeRef.new(shape: LocalConsolePassword, required: true, location_name: "LocalConsolePassword"))
813
901
  SetLocalConsolePasswordInput.struct_class = Types::SetLocalConsolePasswordInput
@@ -815,6 +903,13 @@ module Aws::StorageGateway
815
903
  SetLocalConsolePasswordOutput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayARN, location_name: "GatewayARN"))
816
904
  SetLocalConsolePasswordOutput.struct_class = Types::SetLocalConsolePasswordOutput
817
905
 
906
+ SetSMBGuestPasswordInput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayARN, required: true, location_name: "GatewayARN"))
907
+ SetSMBGuestPasswordInput.add_member(:password, Shapes::ShapeRef.new(shape: SMBGuestPassword, required: true, location_name: "Password"))
908
+ SetSMBGuestPasswordInput.struct_class = Types::SetSMBGuestPasswordInput
909
+
910
+ SetSMBGuestPasswordOutput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayARN, location_name: "GatewayARN"))
911
+ SetSMBGuestPasswordOutput.struct_class = Types::SetSMBGuestPasswordOutput
912
+
818
913
  ShutdownGatewayInput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayARN, required: true, location_name: "GatewayARN"))
819
914
  ShutdownGatewayInput.struct_class = Types::ShutdownGatewayInput
820
915
 
@@ -958,6 +1053,21 @@ module Aws::StorageGateway
958
1053
  UpdateNFSFileShareOutput.add_member(:file_share_arn, Shapes::ShapeRef.new(shape: FileShareARN, location_name: "FileShareARN"))
959
1054
  UpdateNFSFileShareOutput.struct_class = Types::UpdateNFSFileShareOutput
960
1055
 
1056
+ UpdateSMBFileShareInput.add_member(:file_share_arn, Shapes::ShapeRef.new(shape: FileShareARN, required: true, location_name: "FileShareARN"))
1057
+ UpdateSMBFileShareInput.add_member(:kms_encrypted, Shapes::ShapeRef.new(shape: Boolean, location_name: "KMSEncrypted"))
1058
+ UpdateSMBFileShareInput.add_member(:kms_key, Shapes::ShapeRef.new(shape: KMSKey, location_name: "KMSKey"))
1059
+ UpdateSMBFileShareInput.add_member(:default_storage_class, Shapes::ShapeRef.new(shape: StorageClass, location_name: "DefaultStorageClass"))
1060
+ UpdateSMBFileShareInput.add_member(:object_acl, Shapes::ShapeRef.new(shape: ObjectACL, location_name: "ObjectACL"))
1061
+ UpdateSMBFileShareInput.add_member(:read_only, Shapes::ShapeRef.new(shape: Boolean, location_name: "ReadOnly"))
1062
+ UpdateSMBFileShareInput.add_member(:guess_mime_type_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "GuessMIMETypeEnabled"))
1063
+ UpdateSMBFileShareInput.add_member(:requester_pays, Shapes::ShapeRef.new(shape: Boolean, location_name: "RequesterPays"))
1064
+ UpdateSMBFileShareInput.add_member(:valid_user_list, Shapes::ShapeRef.new(shape: FileShareUserList, location_name: "ValidUserList"))
1065
+ UpdateSMBFileShareInput.add_member(:invalid_user_list, Shapes::ShapeRef.new(shape: FileShareUserList, location_name: "InvalidUserList"))
1066
+ UpdateSMBFileShareInput.struct_class = Types::UpdateSMBFileShareInput
1067
+
1068
+ UpdateSMBFileShareOutput.add_member(:file_share_arn, Shapes::ShapeRef.new(shape: FileShareARN, location_name: "FileShareARN"))
1069
+ UpdateSMBFileShareOutput.struct_class = Types::UpdateSMBFileShareOutput
1070
+
961
1071
  UpdateSnapshotScheduleInput.add_member(:volume_arn, Shapes::ShapeRef.new(shape: VolumeARN, required: true, location_name: "VolumeARN"))
962
1072
  UpdateSnapshotScheduleInput.add_member(:start_at, Shapes::ShapeRef.new(shape: HourOfDay, required: true, location_name: "StartAt"))
963
1073
  UpdateSnapshotScheduleInput.add_member(:recurrence_in_hours, Shapes::ShapeRef.new(shape: RecurrenceInHours, required: true, location_name: "RecurrenceInHours"))
@@ -1120,6 +1230,16 @@ module Aws::StorageGateway
1120
1230
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
1121
1231
  end)
1122
1232
 
1233
+ api.add_operation(:create_smb_file_share, Seahorse::Model::Operation.new.tap do |o|
1234
+ o.name = "CreateSMBFileShare"
1235
+ o.http_method = "POST"
1236
+ o.http_request_uri = "/"
1237
+ o.input = Shapes::ShapeRef.new(shape: CreateSMBFileShareInput)
1238
+ o.output = Shapes::ShapeRef.new(shape: CreateSMBFileShareOutput)
1239
+ o.errors << Shapes::ShapeRef.new(shape: InvalidGatewayRequestException)
1240
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
1241
+ end)
1242
+
1123
1243
  api.add_operation(:create_snapshot, Seahorse::Model::Operation.new.tap do |o|
1124
1244
  o.name = "CreateSnapshot"
1125
1245
  o.http_method = "POST"
@@ -1322,6 +1442,26 @@ module Aws::StorageGateway
1322
1442
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
1323
1443
  end)
1324
1444
 
1445
+ api.add_operation(:describe_smb_file_shares, Seahorse::Model::Operation.new.tap do |o|
1446
+ o.name = "DescribeSMBFileShares"
1447
+ o.http_method = "POST"
1448
+ o.http_request_uri = "/"
1449
+ o.input = Shapes::ShapeRef.new(shape: DescribeSMBFileSharesInput)
1450
+ o.output = Shapes::ShapeRef.new(shape: DescribeSMBFileSharesOutput)
1451
+ o.errors << Shapes::ShapeRef.new(shape: InvalidGatewayRequestException)
1452
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
1453
+ end)
1454
+
1455
+ api.add_operation(:describe_smb_settings, Seahorse::Model::Operation.new.tap do |o|
1456
+ o.name = "DescribeSMBSettings"
1457
+ o.http_method = "POST"
1458
+ o.http_request_uri = "/"
1459
+ o.input = Shapes::ShapeRef.new(shape: DescribeSMBSettingsInput)
1460
+ o.output = Shapes::ShapeRef.new(shape: DescribeSMBSettingsOutput)
1461
+ o.errors << Shapes::ShapeRef.new(shape: InvalidGatewayRequestException)
1462
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
1463
+ end)
1464
+
1325
1465
  api.add_operation(:describe_snapshot_schedule, Seahorse::Model::Operation.new.tap do |o|
1326
1466
  o.name = "DescribeSnapshotSchedule"
1327
1467
  o.http_method = "POST"
@@ -1436,6 +1576,16 @@ module Aws::StorageGateway
1436
1576
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
1437
1577
  end)
1438
1578
 
1579
+ api.add_operation(:join_domain, Seahorse::Model::Operation.new.tap do |o|
1580
+ o.name = "JoinDomain"
1581
+ o.http_method = "POST"
1582
+ o.http_request_uri = "/"
1583
+ o.input = Shapes::ShapeRef.new(shape: JoinDomainInput)
1584
+ o.output = Shapes::ShapeRef.new(shape: JoinDomainOutput)
1585
+ o.errors << Shapes::ShapeRef.new(shape: InvalidGatewayRequestException)
1586
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
1587
+ end)
1588
+
1439
1589
  api.add_operation(:list_file_shares, Seahorse::Model::Operation.new.tap do |o|
1440
1590
  o.name = "ListFileShares"
1441
1591
  o.http_method = "POST"
@@ -1598,6 +1748,16 @@ module Aws::StorageGateway
1598
1748
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
1599
1749
  end)
1600
1750
 
1751
+ api.add_operation(:set_smb_guest_password, Seahorse::Model::Operation.new.tap do |o|
1752
+ o.name = "SetSMBGuestPassword"
1753
+ o.http_method = "POST"
1754
+ o.http_request_uri = "/"
1755
+ o.input = Shapes::ShapeRef.new(shape: SetSMBGuestPasswordInput)
1756
+ o.output = Shapes::ShapeRef.new(shape: SetSMBGuestPasswordOutput)
1757
+ o.errors << Shapes::ShapeRef.new(shape: InvalidGatewayRequestException)
1758
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
1759
+ end)
1760
+
1601
1761
  api.add_operation(:shutdown_gateway, Seahorse::Model::Operation.new.tap do |o|
1602
1762
  o.name = "ShutdownGateway"
1603
1763
  o.http_method = "POST"
@@ -1678,6 +1838,16 @@ module Aws::StorageGateway
1678
1838
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
1679
1839
  end)
1680
1840
 
1841
+ api.add_operation(:update_smb_file_share, Seahorse::Model::Operation.new.tap do |o|
1842
+ o.name = "UpdateSMBFileShare"
1843
+ o.http_method = "POST"
1844
+ o.http_request_uri = "/"
1845
+ o.input = Shapes::ShapeRef.new(shape: UpdateSMBFileShareInput)
1846
+ o.output = Shapes::ShapeRef.new(shape: UpdateSMBFileShareOutput)
1847
+ o.errors << Shapes::ShapeRef.new(shape: InvalidGatewayRequestException)
1848
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
1849
+ end)
1850
+
1681
1851
  api.add_operation(:update_snapshot_schedule, Seahorse::Model::Operation.new.tap do |o|
1682
1852
  o.name = "UpdateSnapshotSchedule"
1683
1853
  o.http_method = "POST"
@@ -534,12 +534,28 @@ module Aws::StorageGateway
534
534
  # @return [String]
535
535
  #
536
536
  # @!attribute [rw] volume_size_in_bytes
537
+ # The size of the volume in bytes.
537
538
  # @return [Integer]
538
539
  #
539
540
  # @!attribute [rw] snapshot_id
541
+ # The snapshot ID (e.g. "snap-1122aabb") of the snapshot to restore
542
+ # as the new cached volume. Specify this field if you want to create
543
+ # the iSCSI storage volume from a snapshot otherwise do not include
544
+ # this field. To list snapshots for your account use
545
+ # [DescribeSnapshots][1] in the *Amazon Elastic Compute Cloud API
546
+ # Reference*.
547
+ #
548
+ #
549
+ #
550
+ # [1]: http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-DescribeSnapshots.html
540
551
  # @return [String]
541
552
  #
542
553
  # @!attribute [rw] target_name
554
+ # The name of the iSCSI target used by initiators to connect to the
555
+ # target and as a suffix for the target ARN. For example, specifying
556
+ # `TargetName` as *myvolume* results in the target ARN of
557
+ # arn:aws:storagegateway:us-east-2:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume.
558
+ # The target name must be unique across all volumes of a gateway.
543
559
  # @return [String]
544
560
  #
545
561
  # @!attribute [rw] source_volume_arn
@@ -551,9 +567,18 @@ module Aws::StorageGateway
551
567
  # @return [String]
552
568
  #
553
569
  # @!attribute [rw] network_interface_id
570
+ # The network interface of the gateway on which to expose the iSCSI
571
+ # target. Only IPv4 addresses are accepted. Use
572
+ # DescribeGatewayInformation to get a list of the network interfaces
573
+ # available on a gateway.
574
+ #
575
+ # Valid Values: A valid IP address.
554
576
  # @return [String]
555
577
  #
556
578
  # @!attribute [rw] client_token
579
+ # A unique identifier that you use to retry a request. If you retry a
580
+ # request, use the same `ClientToken` you specified in the initial
581
+ # request.
557
582
  # @return [String]
558
583
  #
559
584
  # @!attribute [rw] kms_encrypted
@@ -583,9 +608,12 @@ module Aws::StorageGateway
583
608
  end
584
609
 
585
610
  # @!attribute [rw] volume_arn
611
+ # The Amazon Resource Name (ARN) of the configured volume.
586
612
  # @return [String]
587
613
  #
588
614
  # @!attribute [rw] target_arn
615
+ # he Amazon Resource Name (ARN) of the volume target that includes the
616
+ # iSCSI name that initiators can use to connect to the target.
589
617
  # @return [String]
590
618
  #
591
619
  # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateCachediSCSIVolumeOutput AWS API Documentation
@@ -735,6 +763,140 @@ module Aws::StorageGateway
735
763
  include Aws::Structure
736
764
  end
737
765
 
766
+ # CreateSMBFileShareInput
767
+ #
768
+ # @note When making an API call, you may pass CreateSMBFileShareInput
769
+ # data as a hash:
770
+ #
771
+ # {
772
+ # client_token: "ClientToken", # required
773
+ # gateway_arn: "GatewayARN", # required
774
+ # kms_encrypted: false,
775
+ # kms_key: "KMSKey",
776
+ # role: "Role", # required
777
+ # location_arn: "LocationARN", # required
778
+ # default_storage_class: "StorageClass",
779
+ # object_acl: "private", # accepts private, public-read, public-read-write, authenticated-read, bucket-owner-read, bucket-owner-full-control, aws-exec-read
780
+ # read_only: false,
781
+ # guess_mime_type_enabled: false,
782
+ # requester_pays: false,
783
+ # valid_user_list: ["FileShareUser"],
784
+ # invalid_user_list: ["FileShareUser"],
785
+ # authentication: "Authentication",
786
+ # }
787
+ #
788
+ # @!attribute [rw] client_token
789
+ # A unique string value that you supply that is used by file gateway
790
+ # to ensure idempotent file share creation.
791
+ # @return [String]
792
+ #
793
+ # @!attribute [rw] gateway_arn
794
+ # The Amazon Resource Name (ARN) of the file gateway on which you want
795
+ # to create a file share.
796
+ # @return [String]
797
+ #
798
+ # @!attribute [rw] kms_encrypted
799
+ # True to use Amazon S3 server side encryption with your own AWS KMS
800
+ # key, or false to use a key managed by Amazon S3. Optional.
801
+ # @return [Boolean]
802
+ #
803
+ # @!attribute [rw] kms_key
804
+ # The Amazon Resource Name (ARN) KMS key used for Amazon S3 server
805
+ # side encryption. This value can only be set when KMSEncrypted is
806
+ # true. Optional.
807
+ # @return [String]
808
+ #
809
+ # @!attribute [rw] role
810
+ # The ARN of the AWS Identity and Access Management (IAM) role that a
811
+ # file gateway assumes when it accesses the underlying storage.
812
+ # @return [String]
813
+ #
814
+ # @!attribute [rw] location_arn
815
+ # The ARN of the backed storage used for storing file data.
816
+ # @return [String]
817
+ #
818
+ # @!attribute [rw] default_storage_class
819
+ # The default storage class for objects put into an Amazon S3 bucket
820
+ # by file gateway. Possible values are S3\_STANDARD, S3\_STANDARD\_IA
821
+ # or S3\_ONEZONE\_IA. If this field is not populated, the default
822
+ # value S3\_STANDARD is used. Optional.
823
+ # @return [String]
824
+ #
825
+ # @!attribute [rw] object_acl
826
+ # Sets the access control list permission for objects in the Amazon S3
827
+ # bucket that a file gateway puts objects into. The default value is
828
+ # "private".
829
+ # @return [String]
830
+ #
831
+ # @!attribute [rw] read_only
832
+ # Sets the write status of a file share. This value is true if the
833
+ # write status is read-only, and otherwise false.
834
+ # @return [Boolean]
835
+ #
836
+ # @!attribute [rw] guess_mime_type_enabled
837
+ # Enables guessing of the MIME type for uploaded objects based on file
838
+ # extensions. Set this value to true to enable MIME type guessing, and
839
+ # otherwise to false. The default value is true.
840
+ # @return [Boolean]
841
+ #
842
+ # @!attribute [rw] requester_pays
843
+ # Sets who pays the cost of the request and the data download from the
844
+ # Amazon S3 bucket. Set this value to true if you want the requester
845
+ # to pay instead of the bucket owner, and otherwise to false.
846
+ # @return [Boolean]
847
+ #
848
+ # @!attribute [rw] valid_user_list
849
+ # A list of users in the Active Directory that are allowed to access
850
+ # the file share. Can only be set if Authentication is set to
851
+ # "ActiveDirectory".
852
+ # @return [Array<String>]
853
+ #
854
+ # @!attribute [rw] invalid_user_list
855
+ # A list of users in the Active Directory that are not allowed to
856
+ # access the file share. Can only be set if Authentication is set to
857
+ # "ActiveDirectory".
858
+ # @return [Array<String>]
859
+ #
860
+ # @!attribute [rw] authentication
861
+ # The authentication method that users use to access the file share.
862
+ #
863
+ # Valid values: "ActiveDirectory" or "GuestAccess". The default is
864
+ # "ActiveDirectory".
865
+ # @return [String]
866
+ #
867
+ # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateSMBFileShareInput AWS API Documentation
868
+ #
869
+ class CreateSMBFileShareInput < Struct.new(
870
+ :client_token,
871
+ :gateway_arn,
872
+ :kms_encrypted,
873
+ :kms_key,
874
+ :role,
875
+ :location_arn,
876
+ :default_storage_class,
877
+ :object_acl,
878
+ :read_only,
879
+ :guess_mime_type_enabled,
880
+ :requester_pays,
881
+ :valid_user_list,
882
+ :invalid_user_list,
883
+ :authentication)
884
+ include Aws::Structure
885
+ end
886
+
887
+ # CreateSMBFileShareOutput
888
+ #
889
+ # @!attribute [rw] file_share_arn
890
+ # The Amazon Resource Name (ARN) of the newly created file share.
891
+ # @return [String]
892
+ #
893
+ # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateSMBFileShareOutput AWS API Documentation
894
+ #
895
+ class CreateSMBFileShareOutput < Struct.new(
896
+ :file_share_arn)
897
+ include Aws::Structure
898
+ end
899
+
738
900
  # @note When making an API call, you may pass CreateSnapshotFromVolumeRecoveryPointInput
739
901
  # data as a hash:
740
902
  #
@@ -1796,6 +1958,82 @@ module Aws::StorageGateway
1796
1958
  include Aws::Structure
1797
1959
  end
1798
1960
 
1961
+ # DescribeSMBFileSharesInput
1962
+ #
1963
+ # @note When making an API call, you may pass DescribeSMBFileSharesInput
1964
+ # data as a hash:
1965
+ #
1966
+ # {
1967
+ # file_share_arn_list: ["FileShareARN"], # required
1968
+ # }
1969
+ #
1970
+ # @!attribute [rw] file_share_arn_list
1971
+ # An array containing the Amazon Resource Name (ARN) of each file
1972
+ # share to be described.
1973
+ # @return [Array<String>]
1974
+ #
1975
+ # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeSMBFileSharesInput AWS API Documentation
1976
+ #
1977
+ class DescribeSMBFileSharesInput < Struct.new(
1978
+ :file_share_arn_list)
1979
+ include Aws::Structure
1980
+ end
1981
+
1982
+ # DescribeSMBFileSharesOutput
1983
+ #
1984
+ # @!attribute [rw] smb_file_share_info_list
1985
+ # An array containing a description for each requested file share.
1986
+ # @return [Array<Types::SMBFileShareInfo>]
1987
+ #
1988
+ # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeSMBFileSharesOutput AWS API Documentation
1989
+ #
1990
+ class DescribeSMBFileSharesOutput < Struct.new(
1991
+ :smb_file_share_info_list)
1992
+ include Aws::Structure
1993
+ end
1994
+
1995
+ # @note When making an API call, you may pass DescribeSMBSettingsInput
1996
+ # data as a hash:
1997
+ #
1998
+ # {
1999
+ # gateway_arn: "GatewayARN", # required
2000
+ # }
2001
+ #
2002
+ # @!attribute [rw] gateway_arn
2003
+ # The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
2004
+ # operation to return a list of gateways for your account and region.
2005
+ # @return [String]
2006
+ #
2007
+ # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeSMBSettingsInput AWS API Documentation
2008
+ #
2009
+ class DescribeSMBSettingsInput < Struct.new(
2010
+ :gateway_arn)
2011
+ include Aws::Structure
2012
+ end
2013
+
2014
+ # @!attribute [rw] gateway_arn
2015
+ # The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
2016
+ # operation to return a list of gateways for your account and region.
2017
+ # @return [String]
2018
+ #
2019
+ # @!attribute [rw] domain_name
2020
+ # The name of the domain that the gateway is joined to.
2021
+ # @return [String]
2022
+ #
2023
+ # @!attribute [rw] smb_guest_password_set
2024
+ # This value is true if a password for the guest user “smbguest” is
2025
+ # set, and otherwise false.
2026
+ # @return [Boolean]
2027
+ #
2028
+ # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeSMBSettingsOutput AWS API Documentation
2029
+ #
2030
+ class DescribeSMBSettingsOutput < Struct.new(
2031
+ :gateway_arn,
2032
+ :domain_name,
2033
+ :smb_guest_password_set)
2034
+ include Aws::Structure
2035
+ end
2036
+
1799
2037
  # A JSON object containing the DescribeSnapshotScheduleInput$VolumeARN
1800
2038
  # of the volume.
1801
2039
  #
@@ -2351,6 +2589,10 @@ module Aws::StorageGateway
2351
2589
 
2352
2590
  # Describes a file share.
2353
2591
  #
2592
+ # @!attribute [rw] file_share_type
2593
+ # The type of the file share.
2594
+ # @return [String]
2595
+ #
2354
2596
  # @!attribute [rw] file_share_arn
2355
2597
  # The Amazon Resource Name (ARN) of the file share.
2356
2598
  # @return [String]
@@ -2360,8 +2602,8 @@ module Aws::StorageGateway
2360
2602
  # @return [String]
2361
2603
  #
2362
2604
  # @!attribute [rw] file_share_status
2363
- # The status of the file share. Possible values are CREATING,
2364
- # UPDATING, AVAILABLE and DELETING.
2605
+ # The status of the file share. Possible values are `CREATING`,
2606
+ # `UPDATING`, `AVAILABLE` and `DELETING`.
2365
2607
  # @return [String]
2366
2608
  #
2367
2609
  # @!attribute [rw] gateway_arn
@@ -2372,6 +2614,7 @@ module Aws::StorageGateway
2372
2614
  # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/FileShareInfo AWS API Documentation
2373
2615
  #
2374
2616
  class FileShareInfo < Struct.new(
2617
+ :file_share_type,
2375
2618
  :file_share_arn,
2376
2619
  :file_share_id,
2377
2620
  :file_share_status,
@@ -2417,6 +2660,61 @@ module Aws::StorageGateway
2417
2660
  include Aws::Structure
2418
2661
  end
2419
2662
 
2663
+ # JoinDomainInput
2664
+ #
2665
+ # @note When making an API call, you may pass JoinDomainInput
2666
+ # data as a hash:
2667
+ #
2668
+ # {
2669
+ # gateway_arn: "GatewayARN", # required
2670
+ # domain_name: "DomainName", # required
2671
+ # user_name: "DomainUserName", # required
2672
+ # password: "DomainUserPassword", # required
2673
+ # }
2674
+ #
2675
+ # @!attribute [rw] gateway_arn
2676
+ # The unique Amazon Resource Name of the file gateway you want to add
2677
+ # to the Active Directory domain.
2678
+ # @return [String]
2679
+ #
2680
+ # @!attribute [rw] domain_name
2681
+ # The name of the domain that you want the gateway to join.
2682
+ # @return [String]
2683
+ #
2684
+ # @!attribute [rw] user_name
2685
+ # Sets the user name of user who has permission to add the gateway to
2686
+ # the Active Directory domain.
2687
+ # @return [String]
2688
+ #
2689
+ # @!attribute [rw] password
2690
+ # Sets the password of the user who has permission to add the gateway
2691
+ # to the Active Directory domain.
2692
+ # @return [String]
2693
+ #
2694
+ # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/JoinDomainInput AWS API Documentation
2695
+ #
2696
+ class JoinDomainInput < Struct.new(
2697
+ :gateway_arn,
2698
+ :domain_name,
2699
+ :user_name,
2700
+ :password)
2701
+ include Aws::Structure
2702
+ end
2703
+
2704
+ # JoinDomainOutput
2705
+ #
2706
+ # @!attribute [rw] gateway_arn
2707
+ # The unique Amazon Resource Name of the gateway that joined the
2708
+ # domain.
2709
+ # @return [String]
2710
+ #
2711
+ # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/JoinDomainOutput AWS API Documentation
2712
+ #
2713
+ class JoinDomainOutput < Struct.new(
2714
+ :gateway_arn)
2715
+ include Aws::Structure
2716
+ end
2717
+
2420
2718
  # ListFileShareInput
2421
2719
  #
2422
2720
  # @note When making an API call, you may pass ListFileSharesInput
@@ -2822,12 +3120,12 @@ module Aws::StorageGateway
2822
3120
  include Aws::Structure
2823
3121
  end
2824
3122
 
2825
- # Describes file share default values. Files and folders stored as
2826
- # Amazon S3 objects in S3 buckets don't, by default, have Unix file
2827
- # permissions assigned to them. Upon discovery in an S3 bucket by
2828
- # Storage Gateway, the S3 objects that represent files and folders are
2829
- # assigned these default Unix permissions. This operation is only
2830
- # supported in the file gateway type.
3123
+ # Describes Network File System (NFS) file share default values. Files
3124
+ # and folders stored as Amazon S3 objects in S3 buckets don't, by
3125
+ # default, have Unix file permissions assigned to them. Upon discovery
3126
+ # in an S3 bucket by Storage Gateway, the S3 objects that represent
3127
+ # files and folders are assigned these default Unix permissions. This
3128
+ # operation is only supported in the file gateway type.
2831
3129
  #
2832
3130
  # @note When making an API call, you may pass NFSFileShareDefaults
2833
3131
  # data as a hash:
@@ -2876,12 +3174,12 @@ module Aws::StorageGateway
2876
3174
  # buckets. This operation is only supported in file gateways.
2877
3175
  #
2878
3176
  # @!attribute [rw] nfs_file_share_defaults
2879
- # Describes file share default values. Files and folders stored as
2880
- # Amazon S3 objects in S3 buckets don't, by default, have Unix file
2881
- # permissions assigned to them. Upon discovery in an S3 bucket by
2882
- # Storage Gateway, the S3 objects that represent files and folders are
2883
- # assigned these default Unix permissions. This operation is only
2884
- # supported in the file gateway type.
3177
+ # Describes Network File System (NFS) file share default values. Files
3178
+ # and folders stored as Amazon S3 objects in S3 buckets don't, by
3179
+ # default, have Unix file permissions assigned to them. Upon discovery
3180
+ # in an S3 bucket by Storage Gateway, the S3 objects that represent
3181
+ # files and folders are assigned these default Unix permissions. This
3182
+ # operation is only supported in the file gateway type.
2885
3183
  # @return [Types::NFSFileShareDefaults]
2886
3184
  #
2887
3185
  # @!attribute [rw] file_share_arn
@@ -2893,8 +3191,8 @@ module Aws::StorageGateway
2893
3191
  # @return [String]
2894
3192
  #
2895
3193
  # @!attribute [rw] file_share_status
2896
- # The status of the file share. Possible values are CREATING,
2897
- # UPDATING, AVAILABLE and DELETING.
3194
+ # The status of the file share. Possible values are `CREATING`,
3195
+ # `UPDATING`, `AVAILABLE` and `DELETING`.
2898
3196
  # @return [String]
2899
3197
  #
2900
3198
  # @!attribute [rw] gateway_arn
@@ -3247,6 +3545,124 @@ module Aws::StorageGateway
3247
3545
  include Aws::Structure
3248
3546
  end
3249
3547
 
3548
+ # The Windows file permissions and ownership information assigned, by
3549
+ # default, to native S3 objects when file gateway discovers them in S3
3550
+ # buckets. This operation is only supported in file gateways.
3551
+ #
3552
+ # @!attribute [rw] file_share_arn
3553
+ # The Amazon Resource Name (ARN) of the file share.
3554
+ # @return [String]
3555
+ #
3556
+ # @!attribute [rw] file_share_id
3557
+ # The ID of the file share.
3558
+ # @return [String]
3559
+ #
3560
+ # @!attribute [rw] file_share_status
3561
+ # The status of the file share. Possible values are `CREATING`,
3562
+ # `UPDATING`, `AVAILABLE` and `DELETING`.
3563
+ # @return [String]
3564
+ #
3565
+ # @!attribute [rw] gateway_arn
3566
+ # The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
3567
+ # operation to return a list of gateways for your account and region.
3568
+ # @return [String]
3569
+ #
3570
+ # @!attribute [rw] kms_encrypted
3571
+ # True to use Amazon S3 server side encryption with your own KMS key,
3572
+ # or false to use a key managed by Amazon S3. Optional.
3573
+ # @return [Boolean]
3574
+ #
3575
+ # @!attribute [rw] kms_key
3576
+ # The Amazon Resource Name (ARN) of the KMS key used for Amazon S3
3577
+ # server side encryption. This value can only be set when KMSEncrypted
3578
+ # is true. Optional.
3579
+ # @return [String]
3580
+ #
3581
+ # @!attribute [rw] path
3582
+ # The file share path used by the SMB client to identify the mount
3583
+ # point.
3584
+ # @return [String]
3585
+ #
3586
+ # @!attribute [rw] role
3587
+ # The ARN of the IAM role that file gateway assumes when it accesses
3588
+ # the underlying storage.
3589
+ # @return [String]
3590
+ #
3591
+ # @!attribute [rw] location_arn
3592
+ # The ARN of the backend storage used for storing file data.
3593
+ # @return [String]
3594
+ #
3595
+ # @!attribute [rw] default_storage_class
3596
+ # The default storage class for objects put into an Amazon S3 bucket
3597
+ # by file gateway. Possible values are S3\_STANDARD, S3\_STANDARD\_IA
3598
+ # or S3\_ONEZONE\_IA. If this field is not populated, the default
3599
+ # value S3\_STANDARD is used. Optional.
3600
+ # @return [String]
3601
+ #
3602
+ # @!attribute [rw] object_acl
3603
+ # Sets the access control list permission for objects in the S3 bucket
3604
+ # that a file gateway puts objects into. The default value is
3605
+ # "private".
3606
+ # @return [String]
3607
+ #
3608
+ # @!attribute [rw] read_only
3609
+ # Sets the write status of a file share. This value is true if the
3610
+ # write status is read-only, and otherwise false.
3611
+ # @return [Boolean]
3612
+ #
3613
+ # @!attribute [rw] guess_mime_type_enabled
3614
+ # Enables guessing of the MIME type for uploaded objects based on file
3615
+ # extensions. Set this value to true to enable MIME type guessing, and
3616
+ # otherwise to false. The default value is true.
3617
+ # @return [Boolean]
3618
+ #
3619
+ # @!attribute [rw] requester_pays
3620
+ # Sets who pays the cost of the request and the data download from the
3621
+ # Amazon S3 bucket. Set this value to true if you want the requester
3622
+ # to pay instead of the bucket owner, and otherwise to false.
3623
+ # @return [Boolean]
3624
+ #
3625
+ # @!attribute [rw] valid_user_list
3626
+ # A list of users in the Active Directory that are allowed to access
3627
+ # the file share. Can only be set if Authentication is set to
3628
+ # "ActiveDirectory".
3629
+ # @return [Array<String>]
3630
+ #
3631
+ # @!attribute [rw] invalid_user_list
3632
+ # A list of users in the Active Directory that are not allowed to
3633
+ # access the file share. Can only be set if Authentication is set to
3634
+ # "ActiveDirectory".
3635
+ # @return [Array<String>]
3636
+ #
3637
+ # @!attribute [rw] authentication
3638
+ # The authentication method of the file share. Valid values:
3639
+ # "ActiveDirectory" or "GuestAccess". The default is
3640
+ # "ActiveDirectory".
3641
+ # @return [String]
3642
+ #
3643
+ # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/SMBFileShareInfo AWS API Documentation
3644
+ #
3645
+ class SMBFileShareInfo < Struct.new(
3646
+ :file_share_arn,
3647
+ :file_share_id,
3648
+ :file_share_status,
3649
+ :gateway_arn,
3650
+ :kms_encrypted,
3651
+ :kms_key,
3652
+ :path,
3653
+ :role,
3654
+ :location_arn,
3655
+ :default_storage_class,
3656
+ :object_acl,
3657
+ :read_only,
3658
+ :guess_mime_type_enabled,
3659
+ :requester_pays,
3660
+ :valid_user_list,
3661
+ :invalid_user_list,
3662
+ :authentication)
3663
+ include Aws::Structure
3664
+ end
3665
+
3250
3666
  # SetLocalConsolePasswordInput
3251
3667
  #
3252
3668
  # @note When making an API call, you may pass SetLocalConsolePasswordInput
@@ -3286,6 +3702,45 @@ module Aws::StorageGateway
3286
3702
  include Aws::Structure
3287
3703
  end
3288
3704
 
3705
+ # SetSMBGuestPasswordInput
3706
+ #
3707
+ # @note When making an API call, you may pass SetSMBGuestPasswordInput
3708
+ # data as a hash:
3709
+ #
3710
+ # {
3711
+ # gateway_arn: "GatewayARN", # required
3712
+ # password: "SMBGuestPassword", # required
3713
+ # }
3714
+ #
3715
+ # @!attribute [rw] gateway_arn
3716
+ # The Amazon Resource Name (ARN) of the file gateway the SMB file
3717
+ # share is associated with.
3718
+ # @return [String]
3719
+ #
3720
+ # @!attribute [rw] password
3721
+ # The password you want to set for your SMB Server.
3722
+ # @return [String]
3723
+ #
3724
+ # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/SetSMBGuestPasswordInput AWS API Documentation
3725
+ #
3726
+ class SetSMBGuestPasswordInput < Struct.new(
3727
+ :gateway_arn,
3728
+ :password)
3729
+ include Aws::Structure
3730
+ end
3731
+
3732
+ # @!attribute [rw] gateway_arn
3733
+ # The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
3734
+ # operation to return a list of gateways for your account and region.
3735
+ # @return [String]
3736
+ #
3737
+ # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/SetSMBGuestPasswordOutput AWS API Documentation
3738
+ #
3739
+ class SetSMBGuestPasswordOutput < Struct.new(
3740
+ :gateway_arn)
3741
+ include Aws::Structure
3742
+ end
3743
+
3289
3744
  # A JSON object containing the of the gateway to shut down.
3290
3745
  #
3291
3746
  # @note When making an API call, you may pass ShutdownGatewayInput
@@ -4079,6 +4534,111 @@ module Aws::StorageGateway
4079
4534
  include Aws::Structure
4080
4535
  end
4081
4536
 
4537
+ # UpdateSMBFileShareInput
4538
+ #
4539
+ # @note When making an API call, you may pass UpdateSMBFileShareInput
4540
+ # data as a hash:
4541
+ #
4542
+ # {
4543
+ # file_share_arn: "FileShareARN", # required
4544
+ # kms_encrypted: false,
4545
+ # kms_key: "KMSKey",
4546
+ # default_storage_class: "StorageClass",
4547
+ # object_acl: "private", # accepts private, public-read, public-read-write, authenticated-read, bucket-owner-read, bucket-owner-full-control, aws-exec-read
4548
+ # read_only: false,
4549
+ # guess_mime_type_enabled: false,
4550
+ # requester_pays: false,
4551
+ # valid_user_list: ["FileShareUser"],
4552
+ # invalid_user_list: ["FileShareUser"],
4553
+ # }
4554
+ #
4555
+ # @!attribute [rw] file_share_arn
4556
+ # The Amazon Resource Name (ARN) of the SMB file share you want to
4557
+ # update.
4558
+ # @return [String]
4559
+ #
4560
+ # @!attribute [rw] kms_encrypted
4561
+ # True to use Amazon S3 server side encryption with your own AWS KMS
4562
+ # key, or false to use a key managed by Amazon S3. Optional.
4563
+ # @return [Boolean]
4564
+ #
4565
+ # @!attribute [rw] kms_key
4566
+ # The Amazon Resource Name (ARN) KMS key used for Amazon S3 server
4567
+ # side encryption. This value can only be set when KMSEncrypted is
4568
+ # true. Optional.
4569
+ # @return [String]
4570
+ #
4571
+ # @!attribute [rw] default_storage_class
4572
+ # The default storage class for objects put into an Amazon S3 bucket
4573
+ # by file gateway. Possible values are S3\_STANDARD, S3\_STANDARD\_IA
4574
+ # or S3\_ONEZONE\_IA. If this field is not populated, the default
4575
+ # value S3\_STANDARD is used. Optional.
4576
+ # @return [String]
4577
+ #
4578
+ # @!attribute [rw] object_acl
4579
+ # Sets the access control list permission for objects in the Amazon S3
4580
+ # bucket that a file gateway puts objects into. The default value is
4581
+ # "private".
4582
+ # @return [String]
4583
+ #
4584
+ # @!attribute [rw] read_only
4585
+ # Sets the write status of a file share. This value is true if the
4586
+ # write status is read-only, and otherwise false.
4587
+ # @return [Boolean]
4588
+ #
4589
+ # @!attribute [rw] guess_mime_type_enabled
4590
+ # Enables guessing of the MIME type for uploaded objects based on file
4591
+ # extensions. Set this value to true to enable MIME type guessing, and
4592
+ # otherwise to false. The default value is true.
4593
+ # @return [Boolean]
4594
+ #
4595
+ # @!attribute [rw] requester_pays
4596
+ # Sets who pays the cost of the request and the data download from the
4597
+ # Amazon S3 bucket. Set this value to true if you want the requester
4598
+ # to pay instead of the bucket owner, and otherwise to false.
4599
+ # @return [Boolean]
4600
+ #
4601
+ # @!attribute [rw] valid_user_list
4602
+ # A list of users in the Active Directory that are allowed to access
4603
+ # the file share. Can only be set if Authentication is set to
4604
+ # "ActiveDirectory".
4605
+ # @return [Array<String>]
4606
+ #
4607
+ # @!attribute [rw] invalid_user_list
4608
+ # A list of users in the Active Directory that are not allowed to
4609
+ # access the file share. Can only be set if Authentication is set to
4610
+ # "ActiveDirectory".
4611
+ # @return [Array<String>]
4612
+ #
4613
+ # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateSMBFileShareInput AWS API Documentation
4614
+ #
4615
+ class UpdateSMBFileShareInput < Struct.new(
4616
+ :file_share_arn,
4617
+ :kms_encrypted,
4618
+ :kms_key,
4619
+ :default_storage_class,
4620
+ :object_acl,
4621
+ :read_only,
4622
+ :guess_mime_type_enabled,
4623
+ :requester_pays,
4624
+ :valid_user_list,
4625
+ :invalid_user_list)
4626
+ include Aws::Structure
4627
+ end
4628
+
4629
+ # UpdateSMBFileShareOutput
4630
+ #
4631
+ # @!attribute [rw] file_share_arn
4632
+ # The Amazon Resource Name (ARN) of the updated SMB file share.
4633
+ # @return [String]
4634
+ #
4635
+ # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateSMBFileShareOutput AWS API Documentation
4636
+ #
4637
+ class UpdateSMBFileShareOutput < Struct.new(
4638
+ :file_share_arn)
4639
+ include Aws::Structure
4640
+ end
4641
+
4082
4642
  # A JSON object containing one or more of the following fields:
4083
4643
  #
4084
4644
  # * UpdateSnapshotScheduleInput$Description