aws-sdk-storagegateway 1.13.0 → 1.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-storagegateway.rb +1 -1
- data/lib/aws-sdk-storagegateway/client.rb +131 -4
- data/lib/aws-sdk-storagegateway/client_api.rb +60 -0
- data/lib/aws-sdk-storagegateway/types.rb +209 -11
- 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: 67b33d976ee65cdbde5de0b5d2dc5edab520f5dd
|
4
|
+
data.tar.gz: 2847d1dcab5ddf6e6430c0857294ebc996473f75
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fe4824898e28e14448073d6b98e88130114fd15bf42c8c09cd914831042591a7e1e649e2b3ab508b1c29ed3469148333812a436a20a7a75ff7f40d9f003f093b
|
7
|
+
data.tar.gz: c7152d44df8d98eddd1e8092dfbb2e447d62ff5bdd97636f1f5d6875be0739f60eed8ad0ce4f3d0711e7542008b4e72f8dead800b26ddd6111fa4bb18439433b
|
@@ -607,6 +607,72 @@ module Aws::StorageGateway
|
|
607
607
|
req.send_request(options)
|
608
608
|
end
|
609
609
|
|
610
|
+
# Connects a volume to an iSCSI connection and then attaches the volume
|
611
|
+
# to the specified gateway. Detaching and attaching a volume enables you
|
612
|
+
# to recover your data from one gateway to a different gateway without
|
613
|
+
# creating a snapshot. It also makes it easier to move your volumes from
|
614
|
+
# an on-premises gateway to a gateway hosted on an Amazon EC2 instance.
|
615
|
+
#
|
616
|
+
# @option params [required, String] :gateway_arn
|
617
|
+
# The Amazon Resource Name (ARN) of the gateway that you want to attach
|
618
|
+
# the volume to.
|
619
|
+
#
|
620
|
+
# @option params [String] :target_name
|
621
|
+
# The name of the iSCSI target used by an initiator to connect to a
|
622
|
+
# volume and used as a suffix for the target ARN. For example,
|
623
|
+
# specifying `TargetName` as *myvolume* results in the target ARN of
|
624
|
+
# `arn:aws:storagegateway:us-east-2:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume`.
|
625
|
+
# The target name must be unique across all volumes on a gateway.
|
626
|
+
#
|
627
|
+
# If you don't specify a value, Storage Gateway uses the value that was
|
628
|
+
# previously used for this volume as the new target name.
|
629
|
+
#
|
630
|
+
# @option params [required, String] :volume_arn
|
631
|
+
# The Amazon Resource Name (ARN) of the volume to attach to the
|
632
|
+
# specified gateway.
|
633
|
+
#
|
634
|
+
# @option params [required, String] :network_interface_id
|
635
|
+
# The network interface of the gateway on which to expose the iSCSI
|
636
|
+
# target. Only IPv4 addresses are accepted. Use
|
637
|
+
# DescribeGatewayInformation to get a list of the network interfaces
|
638
|
+
# available on a gateway.
|
639
|
+
#
|
640
|
+
# Valid Values: A valid IP address.
|
641
|
+
#
|
642
|
+
# @option params [String] :disk_id
|
643
|
+
# The unique device ID or other distinguishing data that identifies the
|
644
|
+
# local disk used to create the volume. This value is only required when
|
645
|
+
# you are attaching a stored volume.
|
646
|
+
#
|
647
|
+
# @return [Types::AttachVolumeOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
648
|
+
#
|
649
|
+
# * {Types::AttachVolumeOutput#volume_arn #volume_arn} => String
|
650
|
+
# * {Types::AttachVolumeOutput#target_arn #target_arn} => String
|
651
|
+
#
|
652
|
+
# @example Request syntax with placeholder values
|
653
|
+
#
|
654
|
+
# resp = client.attach_volume({
|
655
|
+
# gateway_arn: "GatewayARN", # required
|
656
|
+
# target_name: "TargetName",
|
657
|
+
# volume_arn: "VolumeARN", # required
|
658
|
+
# network_interface_id: "NetworkInterfaceId", # required
|
659
|
+
# disk_id: "DiskId",
|
660
|
+
# })
|
661
|
+
#
|
662
|
+
# @example Response structure
|
663
|
+
#
|
664
|
+
# resp.volume_arn #=> String
|
665
|
+
# resp.target_arn #=> String
|
666
|
+
#
|
667
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/AttachVolume AWS API Documentation
|
668
|
+
#
|
669
|
+
# @overload attach_volume(params = {})
|
670
|
+
# @param [Hash] params ({})
|
671
|
+
def attach_volume(params = {}, options = {})
|
672
|
+
req = build_request(:attach_volume, params)
|
673
|
+
req.send_request(options)
|
674
|
+
end
|
675
|
+
|
610
676
|
# Cancels archiving of a virtual tape to the virtual tape shelf (VTS)
|
611
677
|
# after the archiving process is initiated. This operation is only
|
612
678
|
# supported in the tape gateway type.
|
@@ -2166,6 +2232,7 @@ module Aws::StorageGateway
|
|
2166
2232
|
# resp.cached_iscsi_volumes[0].volume_id #=> String
|
2167
2233
|
# resp.cached_iscsi_volumes[0].volume_type #=> String
|
2168
2234
|
# resp.cached_iscsi_volumes[0].volume_status #=> String
|
2235
|
+
# resp.cached_iscsi_volumes[0].volume_attachment_status #=> String
|
2169
2236
|
# resp.cached_iscsi_volumes[0].volume_size_in_bytes #=> Integer
|
2170
2237
|
# resp.cached_iscsi_volumes[0].volume_progress #=> Float
|
2171
2238
|
# resp.cached_iscsi_volumes[0].source_snapshot_id #=> String
|
@@ -2177,6 +2244,7 @@ module Aws::StorageGateway
|
|
2177
2244
|
# resp.cached_iscsi_volumes[0].created_date #=> Time
|
2178
2245
|
# resp.cached_iscsi_volumes[0].volume_used_in_bytes #=> Integer
|
2179
2246
|
# resp.cached_iscsi_volumes[0].kms_key #=> String
|
2247
|
+
# resp.cached_iscsi_volumes[0].target_name #=> String
|
2180
2248
|
#
|
2181
2249
|
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeCachediSCSIVolumes AWS API Documentation
|
2182
2250
|
#
|
@@ -2637,6 +2705,7 @@ module Aws::StorageGateway
|
|
2637
2705
|
# resp.stored_iscsi_volumes[0].volume_id #=> String
|
2638
2706
|
# resp.stored_iscsi_volumes[0].volume_type #=> String
|
2639
2707
|
# resp.stored_iscsi_volumes[0].volume_status #=> String
|
2708
|
+
# resp.stored_iscsi_volumes[0].volume_attachment_status #=> String
|
2640
2709
|
# resp.stored_iscsi_volumes[0].volume_size_in_bytes #=> Integer
|
2641
2710
|
# resp.stored_iscsi_volumes[0].volume_progress #=> Float
|
2642
2711
|
# resp.stored_iscsi_volumes[0].volume_disk_id #=> String
|
@@ -2650,6 +2719,7 @@ module Aws::StorageGateway
|
|
2650
2719
|
# resp.stored_iscsi_volumes[0].created_date #=> Time
|
2651
2720
|
# resp.stored_iscsi_volumes[0].volume_used_in_bytes #=> Integer
|
2652
2721
|
# resp.stored_iscsi_volumes[0].kms_key #=> String
|
2722
|
+
# resp.stored_iscsi_volumes[0].target_name #=> String
|
2653
2723
|
#
|
2654
2724
|
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeStorediSCSIVolumes AWS API Documentation
|
2655
2725
|
#
|
@@ -3207,6 +3277,47 @@ module Aws::StorageGateway
|
|
3207
3277
|
req.send_request(options)
|
3208
3278
|
end
|
3209
3279
|
|
3280
|
+
# Disconnects a volume from an iSCSI connection and then detaches the
|
3281
|
+
# volume from the specified gateway. Detaching and attaching a volume
|
3282
|
+
# enables you to recover your data from one gateway to a different
|
3283
|
+
# gateway without creating a snapshot. It also makes it easier to move
|
3284
|
+
# your volumes from an on-premises gateway to a gateway hosted on an
|
3285
|
+
# Amazon EC2 instance.
|
3286
|
+
#
|
3287
|
+
# @option params [required, String] :volume_arn
|
3288
|
+
# The Amazon Resource Name (ARN) of the volume to detach from the
|
3289
|
+
# gateway.
|
3290
|
+
#
|
3291
|
+
# @option params [Boolean] :force_detach
|
3292
|
+
# Set to `true` to forcibly remove the iSCSI connection of the target
|
3293
|
+
# volume and detach the volume. The default is `false`. If this value is
|
3294
|
+
# set to `false`, you must manually disconnect the iSCSI connection from
|
3295
|
+
# the target volume.
|
3296
|
+
#
|
3297
|
+
# @return [Types::DetachVolumeOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3298
|
+
#
|
3299
|
+
# * {Types::DetachVolumeOutput#volume_arn #volume_arn} => String
|
3300
|
+
#
|
3301
|
+
# @example Request syntax with placeholder values
|
3302
|
+
#
|
3303
|
+
# resp = client.detach_volume({
|
3304
|
+
# volume_arn: "VolumeARN", # required
|
3305
|
+
# force_detach: false,
|
3306
|
+
# })
|
3307
|
+
#
|
3308
|
+
# @example Response structure
|
3309
|
+
#
|
3310
|
+
# resp.volume_arn #=> String
|
3311
|
+
#
|
3312
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DetachVolume AWS API Documentation
|
3313
|
+
#
|
3314
|
+
# @overload detach_volume(params = {})
|
3315
|
+
# @param [Hash] params ({})
|
3316
|
+
def detach_volume(params = {}, options = {})
|
3317
|
+
req = build_request(:detach_volume, params)
|
3318
|
+
req.send_request(options)
|
3319
|
+
end
|
3320
|
+
|
3210
3321
|
# Disables a tape gateway when the gateway is no longer functioning. For
|
3211
3322
|
# example, if your gateway VM is damaged, you can disable the gateway so
|
3212
3323
|
# you can recover virtual tapes.
|
@@ -3263,12 +3374,23 @@ module Aws::StorageGateway
|
|
3263
3374
|
# only supported for file gateways that support the SMB file protocol.
|
3264
3375
|
#
|
3265
3376
|
# @option params [required, String] :gateway_arn
|
3266
|
-
# The
|
3267
|
-
#
|
3377
|
+
# The Amazon Resource Name (ARN) of the gateway. Use the `ListGateways`
|
3378
|
+
# operation to return a list of gateways for your account and region.
|
3268
3379
|
#
|
3269
3380
|
# @option params [required, String] :domain_name
|
3270
3381
|
# The name of the domain that you want the gateway to join.
|
3271
3382
|
#
|
3383
|
+
# @option params [String] :organizational_unit
|
3384
|
+
# The organizational unit (OU) is a container with an Active Directory
|
3385
|
+
# that can hold users, groups, computers, and other OUs and this
|
3386
|
+
# parameter specifies the OU that the gateway will join within the AD
|
3387
|
+
# domain.
|
3388
|
+
#
|
3389
|
+
# @option params [Array<String>] :domain_controllers
|
3390
|
+
# List of IPv4 addresses, NetBIOS names, or host names of your domain
|
3391
|
+
# server. If you need to specify the port number include it after the
|
3392
|
+
# colon (“:”). For example, `mydc.mydomain.com:389`.
|
3393
|
+
#
|
3272
3394
|
# @option params [required, String] :user_name
|
3273
3395
|
# Sets the user name of user who has permission to add the gateway to
|
3274
3396
|
# the Active Directory domain.
|
@@ -3286,6 +3408,8 @@ module Aws::StorageGateway
|
|
3286
3408
|
# resp = client.join_domain({
|
3287
3409
|
# gateway_arn: "GatewayARN", # required
|
3288
3410
|
# domain_name: "DomainName", # required
|
3411
|
+
# organizational_unit: "OrganizationalUnit",
|
3412
|
+
# domain_controllers: ["Host"],
|
3289
3413
|
# user_name: "DomainUserName", # required
|
3290
3414
|
# password: "DomainUserPassword", # required
|
3291
3415
|
# })
|
@@ -3503,6 +3627,8 @@ module Aws::StorageGateway
|
|
3503
3627
|
# resp.disks[0].disk_size_in_bytes #=> Integer
|
3504
3628
|
# resp.disks[0].disk_allocation_type #=> String
|
3505
3629
|
# resp.disks[0].disk_allocation_resource #=> String
|
3630
|
+
# resp.disks[0].disk_attribute_list #=> Array
|
3631
|
+
# resp.disks[0].disk_attribute_list[0] #=> String
|
3506
3632
|
#
|
3507
3633
|
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListLocalDisks AWS API Documentation
|
3508
3634
|
#
|
@@ -3826,6 +3952,7 @@ module Aws::StorageGateway
|
|
3826
3952
|
# resp.volume_infos[0].gateway_id #=> String
|
3827
3953
|
# resp.volume_infos[0].volume_type #=> String
|
3828
3954
|
# resp.volume_infos[0].volume_size_in_bytes #=> Integer
|
3955
|
+
# resp.volume_infos[0].volume_attachment_status #=> String
|
3829
3956
|
#
|
3830
3957
|
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListVolumes AWS API Documentation
|
3831
3958
|
#
|
@@ -3894,7 +4021,7 @@ module Aws::StorageGateway
|
|
3894
4021
|
# [1]: https://docs.aws.amazon.com/storagegateway/latest/userguide/monitoring-file-gateway.html#get-notification
|
3895
4022
|
#
|
3896
4023
|
# @option params [required, String] :file_share_arn
|
3897
|
-
# The Amazon Resource Name (ARN) of the file share.
|
4024
|
+
# The Amazon Resource Name (ARN) of the file share you want to refresh.
|
3898
4025
|
#
|
3899
4026
|
# @option params [Array<String>] :folder_list
|
3900
4027
|
# A comma-separated list of the paths of folders to refresh in the
|
@@ -5086,7 +5213,7 @@ module Aws::StorageGateway
|
|
5086
5213
|
params: params,
|
5087
5214
|
config: config)
|
5088
5215
|
context[:gem_name] = 'aws-sdk-storagegateway'
|
5089
|
-
context[:gem_version] = '1.
|
5216
|
+
context[:gem_version] = '1.14.0'
|
5090
5217
|
Seahorse::Client::Request.new(handlers, context)
|
5091
5218
|
end
|
5092
5219
|
|
@@ -22,6 +22,8 @@ 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
|
+
AttachVolumeInput = Shapes::StructureShape.new(name: 'AttachVolumeInput')
|
26
|
+
AttachVolumeOutput = Shapes::StructureShape.new(name: 'AttachVolumeOutput')
|
25
27
|
Authentication = Shapes::StringShape.new(name: 'Authentication')
|
26
28
|
BandwidthDownloadRateLimit = Shapes::IntegerShape.new(name: 'BandwidthDownloadRateLimit')
|
27
29
|
BandwidthType = Shapes::StringShape.new(name: 'BandwidthType')
|
@@ -106,12 +108,16 @@ module Aws::StorageGateway
|
|
106
108
|
DescribeWorkingStorageInput = Shapes::StructureShape.new(name: 'DescribeWorkingStorageInput')
|
107
109
|
DescribeWorkingStorageOutput = Shapes::StructureShape.new(name: 'DescribeWorkingStorageOutput')
|
108
110
|
Description = Shapes::StringShape.new(name: 'Description')
|
111
|
+
DetachVolumeInput = Shapes::StructureShape.new(name: 'DetachVolumeInput')
|
112
|
+
DetachVolumeOutput = Shapes::StructureShape.new(name: 'DetachVolumeOutput')
|
109
113
|
DeviceType = Shapes::StringShape.new(name: 'DeviceType')
|
110
114
|
DeviceiSCSIAttributes = Shapes::StructureShape.new(name: 'DeviceiSCSIAttributes')
|
111
115
|
DisableGatewayInput = Shapes::StructureShape.new(name: 'DisableGatewayInput')
|
112
116
|
DisableGatewayOutput = Shapes::StructureShape.new(name: 'DisableGatewayOutput')
|
113
117
|
Disk = Shapes::StructureShape.new(name: 'Disk')
|
114
118
|
DiskAllocationType = Shapes::StringShape.new(name: 'DiskAllocationType')
|
119
|
+
DiskAttribute = Shapes::StringShape.new(name: 'DiskAttribute')
|
120
|
+
DiskAttributeList = Shapes::ListShape.new(name: 'DiskAttributeList')
|
115
121
|
DiskId = Shapes::StringShape.new(name: 'DiskId')
|
116
122
|
DiskIds = Shapes::ListShape.new(name: 'DiskIds')
|
117
123
|
Disks = Shapes::ListShape.new(name: 'Disks')
|
@@ -142,6 +148,8 @@ module Aws::StorageGateway
|
|
142
148
|
GatewayTimezone = Shapes::StringShape.new(name: 'GatewayTimezone')
|
143
149
|
GatewayType = Shapes::StringShape.new(name: 'GatewayType')
|
144
150
|
Gateways = Shapes::ListShape.new(name: 'Gateways')
|
151
|
+
Host = Shapes::StringShape.new(name: 'Host')
|
152
|
+
Hosts = Shapes::ListShape.new(name: 'Hosts')
|
145
153
|
HourOfDay = Shapes::IntegerShape.new(name: 'HourOfDay')
|
146
154
|
IPV4AddressCIDR = Shapes::StringShape.new(name: 'IPV4AddressCIDR')
|
147
155
|
Initiator = Shapes::StringShape.new(name: 'Initiator')
|
@@ -185,6 +193,7 @@ module Aws::StorageGateway
|
|
185
193
|
NotifyWhenUploadedOutput = Shapes::StructureShape.new(name: 'NotifyWhenUploadedOutput')
|
186
194
|
NumTapesToCreate = Shapes::IntegerShape.new(name: 'NumTapesToCreate')
|
187
195
|
ObjectACL = Shapes::StringShape.new(name: 'ObjectACL')
|
196
|
+
OrganizationalUnit = Shapes::StringShape.new(name: 'OrganizationalUnit')
|
188
197
|
Path = Shapes::StringShape.new(name: 'Path')
|
189
198
|
PermissionId = Shapes::IntegerShape.new(name: 'PermissionId')
|
190
199
|
PermissionMode = Shapes::StringShape.new(name: 'PermissionMode')
|
@@ -275,6 +284,7 @@ module Aws::StorageGateway
|
|
275
284
|
VTLDevices = Shapes::ListShape.new(name: 'VTLDevices')
|
276
285
|
VolumeARN = Shapes::StringShape.new(name: 'VolumeARN')
|
277
286
|
VolumeARNs = Shapes::ListShape.new(name: 'VolumeARNs')
|
287
|
+
VolumeAttachmentStatus = Shapes::StringShape.new(name: 'VolumeAttachmentStatus')
|
278
288
|
VolumeId = Shapes::StringShape.new(name: 'VolumeId')
|
279
289
|
VolumeInfo = Shapes::StructureShape.new(name: 'VolumeInfo')
|
280
290
|
VolumeInfos = Shapes::ListShape.new(name: 'VolumeInfos')
|
@@ -331,10 +341,22 @@ module Aws::StorageGateway
|
|
331
341
|
AddWorkingStorageOutput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayARN, location_name: "GatewayARN"))
|
332
342
|
AddWorkingStorageOutput.struct_class = Types::AddWorkingStorageOutput
|
333
343
|
|
344
|
+
AttachVolumeInput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayARN, required: true, location_name: "GatewayARN"))
|
345
|
+
AttachVolumeInput.add_member(:target_name, Shapes::ShapeRef.new(shape: TargetName, location_name: "TargetName"))
|
346
|
+
AttachVolumeInput.add_member(:volume_arn, Shapes::ShapeRef.new(shape: VolumeARN, required: true, location_name: "VolumeARN"))
|
347
|
+
AttachVolumeInput.add_member(:network_interface_id, Shapes::ShapeRef.new(shape: NetworkInterfaceId, required: true, location_name: "NetworkInterfaceId"))
|
348
|
+
AttachVolumeInput.add_member(:disk_id, Shapes::ShapeRef.new(shape: DiskId, location_name: "DiskId"))
|
349
|
+
AttachVolumeInput.struct_class = Types::AttachVolumeInput
|
350
|
+
|
351
|
+
AttachVolumeOutput.add_member(:volume_arn, Shapes::ShapeRef.new(shape: VolumeARN, location_name: "VolumeARN"))
|
352
|
+
AttachVolumeOutput.add_member(:target_arn, Shapes::ShapeRef.new(shape: TargetARN, location_name: "TargetARN"))
|
353
|
+
AttachVolumeOutput.struct_class = Types::AttachVolumeOutput
|
354
|
+
|
334
355
|
CachediSCSIVolume.add_member(:volume_arn, Shapes::ShapeRef.new(shape: VolumeARN, location_name: "VolumeARN"))
|
335
356
|
CachediSCSIVolume.add_member(:volume_id, Shapes::ShapeRef.new(shape: VolumeId, location_name: "VolumeId"))
|
336
357
|
CachediSCSIVolume.add_member(:volume_type, Shapes::ShapeRef.new(shape: VolumeType, location_name: "VolumeType"))
|
337
358
|
CachediSCSIVolume.add_member(:volume_status, Shapes::ShapeRef.new(shape: VolumeStatus, location_name: "VolumeStatus"))
|
359
|
+
CachediSCSIVolume.add_member(:volume_attachment_status, Shapes::ShapeRef.new(shape: VolumeAttachmentStatus, location_name: "VolumeAttachmentStatus"))
|
338
360
|
CachediSCSIVolume.add_member(:volume_size_in_bytes, Shapes::ShapeRef.new(shape: long, location_name: "VolumeSizeInBytes"))
|
339
361
|
CachediSCSIVolume.add_member(:volume_progress, Shapes::ShapeRef.new(shape: DoubleObject, location_name: "VolumeProgress"))
|
340
362
|
CachediSCSIVolume.add_member(:source_snapshot_id, Shapes::ShapeRef.new(shape: SnapshotId, location_name: "SourceSnapshotId"))
|
@@ -342,6 +364,7 @@ module Aws::StorageGateway
|
|
342
364
|
CachediSCSIVolume.add_member(:created_date, Shapes::ShapeRef.new(shape: CreatedDate, location_name: "CreatedDate"))
|
343
365
|
CachediSCSIVolume.add_member(:volume_used_in_bytes, Shapes::ShapeRef.new(shape: VolumeUsedInBytes, location_name: "VolumeUsedInBytes"))
|
344
366
|
CachediSCSIVolume.add_member(:kms_key, Shapes::ShapeRef.new(shape: KMSKey, location_name: "KMSKey"))
|
367
|
+
CachediSCSIVolume.add_member(:target_name, Shapes::ShapeRef.new(shape: TargetName, location_name: "TargetName"))
|
345
368
|
CachediSCSIVolume.struct_class = Types::CachediSCSIVolume
|
346
369
|
|
347
370
|
CachediSCSIVolumes.member = Shapes::ShapeRef.new(shape: CachediSCSIVolume)
|
@@ -678,6 +701,13 @@ module Aws::StorageGateway
|
|
678
701
|
DescribeWorkingStorageOutput.add_member(:working_storage_allocated_in_bytes, Shapes::ShapeRef.new(shape: long, location_name: "WorkingStorageAllocatedInBytes"))
|
679
702
|
DescribeWorkingStorageOutput.struct_class = Types::DescribeWorkingStorageOutput
|
680
703
|
|
704
|
+
DetachVolumeInput.add_member(:volume_arn, Shapes::ShapeRef.new(shape: VolumeARN, required: true, location_name: "VolumeARN"))
|
705
|
+
DetachVolumeInput.add_member(:force_detach, Shapes::ShapeRef.new(shape: Boolean, location_name: "ForceDetach"))
|
706
|
+
DetachVolumeInput.struct_class = Types::DetachVolumeInput
|
707
|
+
|
708
|
+
DetachVolumeOutput.add_member(:volume_arn, Shapes::ShapeRef.new(shape: VolumeARN, location_name: "VolumeARN"))
|
709
|
+
DetachVolumeOutput.struct_class = Types::DetachVolumeOutput
|
710
|
+
|
681
711
|
DeviceiSCSIAttributes.add_member(:target_arn, Shapes::ShapeRef.new(shape: TargetARN, location_name: "TargetARN"))
|
682
712
|
DeviceiSCSIAttributes.add_member(:network_interface_id, Shapes::ShapeRef.new(shape: NetworkInterfaceId, location_name: "NetworkInterfaceId"))
|
683
713
|
DeviceiSCSIAttributes.add_member(:network_interface_port, Shapes::ShapeRef.new(shape: integer, location_name: "NetworkInterfacePort"))
|
@@ -697,8 +727,11 @@ module Aws::StorageGateway
|
|
697
727
|
Disk.add_member(:disk_size_in_bytes, Shapes::ShapeRef.new(shape: long, location_name: "DiskSizeInBytes"))
|
698
728
|
Disk.add_member(:disk_allocation_type, Shapes::ShapeRef.new(shape: DiskAllocationType, location_name: "DiskAllocationType"))
|
699
729
|
Disk.add_member(:disk_allocation_resource, Shapes::ShapeRef.new(shape: string, location_name: "DiskAllocationResource"))
|
730
|
+
Disk.add_member(:disk_attribute_list, Shapes::ShapeRef.new(shape: DiskAttributeList, location_name: "DiskAttributeList"))
|
700
731
|
Disk.struct_class = Types::Disk
|
701
732
|
|
733
|
+
DiskAttributeList.member = Shapes::ShapeRef.new(shape: DiskAttribute)
|
734
|
+
|
702
735
|
DiskIds.member = Shapes::ShapeRef.new(shape: DiskId)
|
703
736
|
|
704
737
|
Disks.member = Shapes::ShapeRef.new(shape: Disk)
|
@@ -731,10 +764,14 @@ module Aws::StorageGateway
|
|
731
764
|
|
732
765
|
Gateways.member = Shapes::ShapeRef.new(shape: GatewayInfo)
|
733
766
|
|
767
|
+
Hosts.member = Shapes::ShapeRef.new(shape: Host)
|
768
|
+
|
734
769
|
Initiators.member = Shapes::ShapeRef.new(shape: Initiator)
|
735
770
|
|
736
771
|
JoinDomainInput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayARN, required: true, location_name: "GatewayARN"))
|
737
772
|
JoinDomainInput.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "DomainName"))
|
773
|
+
JoinDomainInput.add_member(:organizational_unit, Shapes::ShapeRef.new(shape: OrganizationalUnit, location_name: "OrganizationalUnit"))
|
774
|
+
JoinDomainInput.add_member(:domain_controllers, Shapes::ShapeRef.new(shape: Hosts, location_name: "DomainControllers"))
|
738
775
|
JoinDomainInput.add_member(:user_name, Shapes::ShapeRef.new(shape: DomainUserName, required: true, location_name: "UserName"))
|
739
776
|
JoinDomainInput.add_member(:password, Shapes::ShapeRef.new(shape: DomainUserPassword, required: true, location_name: "Password"))
|
740
777
|
JoinDomainInput.struct_class = Types::JoinDomainInput
|
@@ -939,6 +976,7 @@ module Aws::StorageGateway
|
|
939
976
|
StorediSCSIVolume.add_member(:volume_id, Shapes::ShapeRef.new(shape: VolumeId, location_name: "VolumeId"))
|
940
977
|
StorediSCSIVolume.add_member(:volume_type, Shapes::ShapeRef.new(shape: VolumeType, location_name: "VolumeType"))
|
941
978
|
StorediSCSIVolume.add_member(:volume_status, Shapes::ShapeRef.new(shape: VolumeStatus, location_name: "VolumeStatus"))
|
979
|
+
StorediSCSIVolume.add_member(:volume_attachment_status, Shapes::ShapeRef.new(shape: VolumeAttachmentStatus, location_name: "VolumeAttachmentStatus"))
|
942
980
|
StorediSCSIVolume.add_member(:volume_size_in_bytes, Shapes::ShapeRef.new(shape: long, location_name: "VolumeSizeInBytes"))
|
943
981
|
StorediSCSIVolume.add_member(:volume_progress, Shapes::ShapeRef.new(shape: DoubleObject, location_name: "VolumeProgress"))
|
944
982
|
StorediSCSIVolume.add_member(:volume_disk_id, Shapes::ShapeRef.new(shape: DiskId, location_name: "VolumeDiskId"))
|
@@ -948,6 +986,7 @@ module Aws::StorageGateway
|
|
948
986
|
StorediSCSIVolume.add_member(:created_date, Shapes::ShapeRef.new(shape: CreatedDate, location_name: "CreatedDate"))
|
949
987
|
StorediSCSIVolume.add_member(:volume_used_in_bytes, Shapes::ShapeRef.new(shape: VolumeUsedInBytes, location_name: "VolumeUsedInBytes"))
|
950
988
|
StorediSCSIVolume.add_member(:kms_key, Shapes::ShapeRef.new(shape: KMSKey, location_name: "KMSKey"))
|
989
|
+
StorediSCSIVolume.add_member(:target_name, Shapes::ShapeRef.new(shape: TargetName, location_name: "TargetName"))
|
951
990
|
StorediSCSIVolume.struct_class = Types::StorediSCSIVolume
|
952
991
|
|
953
992
|
StorediSCSIVolumes.member = Shapes::ShapeRef.new(shape: StorediSCSIVolume)
|
@@ -1113,6 +1152,7 @@ module Aws::StorageGateway
|
|
1113
1152
|
VolumeInfo.add_member(:gateway_id, Shapes::ShapeRef.new(shape: GatewayId, location_name: "GatewayId"))
|
1114
1153
|
VolumeInfo.add_member(:volume_type, Shapes::ShapeRef.new(shape: VolumeType, location_name: "VolumeType"))
|
1115
1154
|
VolumeInfo.add_member(:volume_size_in_bytes, Shapes::ShapeRef.new(shape: long, location_name: "VolumeSizeInBytes"))
|
1155
|
+
VolumeInfo.add_member(:volume_attachment_status, Shapes::ShapeRef.new(shape: VolumeAttachmentStatus, location_name: "VolumeAttachmentStatus"))
|
1116
1156
|
VolumeInfo.struct_class = Types::VolumeInfo
|
1117
1157
|
|
1118
1158
|
VolumeInfos.member = Shapes::ShapeRef.new(shape: VolumeInfo)
|
@@ -1203,6 +1243,16 @@ module Aws::StorageGateway
|
|
1203
1243
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
1204
1244
|
end)
|
1205
1245
|
|
1246
|
+
api.add_operation(:attach_volume, Seahorse::Model::Operation.new.tap do |o|
|
1247
|
+
o.name = "AttachVolume"
|
1248
|
+
o.http_method = "POST"
|
1249
|
+
o.http_request_uri = "/"
|
1250
|
+
o.input = Shapes::ShapeRef.new(shape: AttachVolumeInput)
|
1251
|
+
o.output = Shapes::ShapeRef.new(shape: AttachVolumeOutput)
|
1252
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidGatewayRequestException)
|
1253
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
1254
|
+
end)
|
1255
|
+
|
1206
1256
|
api.add_operation(:cancel_archival, Seahorse::Model::Operation.new.tap do |o|
|
1207
1257
|
o.name = "CancelArchival"
|
1208
1258
|
o.http_method = "POST"
|
@@ -1579,6 +1629,16 @@ module Aws::StorageGateway
|
|
1579
1629
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
1580
1630
|
end)
|
1581
1631
|
|
1632
|
+
api.add_operation(:detach_volume, Seahorse::Model::Operation.new.tap do |o|
|
1633
|
+
o.name = "DetachVolume"
|
1634
|
+
o.http_method = "POST"
|
1635
|
+
o.http_request_uri = "/"
|
1636
|
+
o.input = Shapes::ShapeRef.new(shape: DetachVolumeInput)
|
1637
|
+
o.output = Shapes::ShapeRef.new(shape: DetachVolumeOutput)
|
1638
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidGatewayRequestException)
|
1639
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
1640
|
+
end)
|
1641
|
+
|
1582
1642
|
api.add_operation(:disable_gateway, Seahorse::Model::Operation.new.tap do |o|
|
1583
1643
|
o.name = "DisableGateway"
|
1584
1644
|
o.http_method = "POST"
|
@@ -315,6 +315,87 @@ module Aws::StorageGateway
|
|
315
315
|
include Aws::Structure
|
316
316
|
end
|
317
317
|
|
318
|
+
# AttachVolumeInput
|
319
|
+
#
|
320
|
+
# @note When making an API call, you may pass AttachVolumeInput
|
321
|
+
# data as a hash:
|
322
|
+
#
|
323
|
+
# {
|
324
|
+
# gateway_arn: "GatewayARN", # required
|
325
|
+
# target_name: "TargetName",
|
326
|
+
# volume_arn: "VolumeARN", # required
|
327
|
+
# network_interface_id: "NetworkInterfaceId", # required
|
328
|
+
# disk_id: "DiskId",
|
329
|
+
# }
|
330
|
+
#
|
331
|
+
# @!attribute [rw] gateway_arn
|
332
|
+
# The Amazon Resource Name (ARN) of the gateway that you want to
|
333
|
+
# attach the volume to.
|
334
|
+
# @return [String]
|
335
|
+
#
|
336
|
+
# @!attribute [rw] target_name
|
337
|
+
# The name of the iSCSI target used by an initiator to connect to a
|
338
|
+
# volume and used as a suffix for the target ARN. For example,
|
339
|
+
# specifying `TargetName` as *myvolume* results in the target ARN of
|
340
|
+
# `arn:aws:storagegateway:us-east-2:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume`.
|
341
|
+
# The target name must be unique across all volumes on a gateway.
|
342
|
+
#
|
343
|
+
# If you don't specify a value, Storage Gateway uses the value that
|
344
|
+
# was previously used for this volume as the new target name.
|
345
|
+
# @return [String]
|
346
|
+
#
|
347
|
+
# @!attribute [rw] volume_arn
|
348
|
+
# The Amazon Resource Name (ARN) of the volume to attach to the
|
349
|
+
# specified gateway.
|
350
|
+
# @return [String]
|
351
|
+
#
|
352
|
+
# @!attribute [rw] network_interface_id
|
353
|
+
# The network interface of the gateway on which to expose the iSCSI
|
354
|
+
# target. Only IPv4 addresses are accepted. Use
|
355
|
+
# DescribeGatewayInformation to get a list of the network interfaces
|
356
|
+
# available on a gateway.
|
357
|
+
#
|
358
|
+
# Valid Values: A valid IP address.
|
359
|
+
# @return [String]
|
360
|
+
#
|
361
|
+
# @!attribute [rw] disk_id
|
362
|
+
# The unique device ID or other distinguishing data that identifies
|
363
|
+
# the local disk used to create the volume. This value is only
|
364
|
+
# required when you are attaching a stored volume.
|
365
|
+
# @return [String]
|
366
|
+
#
|
367
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/AttachVolumeInput AWS API Documentation
|
368
|
+
#
|
369
|
+
class AttachVolumeInput < Struct.new(
|
370
|
+
:gateway_arn,
|
371
|
+
:target_name,
|
372
|
+
:volume_arn,
|
373
|
+
:network_interface_id,
|
374
|
+
:disk_id)
|
375
|
+
include Aws::Structure
|
376
|
+
end
|
377
|
+
|
378
|
+
# AttachVolumeOutput
|
379
|
+
#
|
380
|
+
# @!attribute [rw] volume_arn
|
381
|
+
# The Amazon Resource Name (ARN) of the volume that was attached to
|
382
|
+
# the gateway.
|
383
|
+
# @return [String]
|
384
|
+
#
|
385
|
+
# @!attribute [rw] target_arn
|
386
|
+
# The Amazon Resource Name (ARN) of the volume target, which includes
|
387
|
+
# the iSCSI name for the initiator that was used to connect to the
|
388
|
+
# target.
|
389
|
+
# @return [String]
|
390
|
+
#
|
391
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/AttachVolumeOutput AWS API Documentation
|
392
|
+
#
|
393
|
+
class AttachVolumeOutput < Struct.new(
|
394
|
+
:volume_arn,
|
395
|
+
:target_arn)
|
396
|
+
include Aws::Structure
|
397
|
+
end
|
398
|
+
|
318
399
|
# Describes an iSCSI cached volume.
|
319
400
|
#
|
320
401
|
# @!attribute [rw] volume_arn
|
@@ -335,6 +416,11 @@ module Aws::StorageGateway
|
|
335
416
|
# storage volume.
|
336
417
|
# @return [String]
|
337
418
|
#
|
419
|
+
# @!attribute [rw] volume_attachment_status
|
420
|
+
# A value that indicates whether a storage volume is attached to or
|
421
|
+
# detached from a gateway.
|
422
|
+
# @return [String]
|
423
|
+
#
|
338
424
|
# @!attribute [rw] volume_size_in_bytes
|
339
425
|
# The size, in bytes, of the volume capacity.
|
340
426
|
# @return [Integer]
|
@@ -377,6 +463,13 @@ module Aws::StorageGateway
|
|
377
463
|
# is true. Optional.
|
378
464
|
# @return [String]
|
379
465
|
#
|
466
|
+
# @!attribute [rw] target_name
|
467
|
+
# The name of the iSCSI target that is used by an initiator to connect
|
468
|
+
# to a volume and used as a suffix for the target ARN. For example,
|
469
|
+
# specifying `TargetName` as *myvolume* results in the target ARN of
|
470
|
+
# `arn:aws:storagegateway:us-east-2:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume`.
|
471
|
+
# @return [String]
|
472
|
+
#
|
380
473
|
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CachediSCSIVolume AWS API Documentation
|
381
474
|
#
|
382
475
|
class CachediSCSIVolume < Struct.new(
|
@@ -384,13 +477,15 @@ module Aws::StorageGateway
|
|
384
477
|
:volume_id,
|
385
478
|
:volume_type,
|
386
479
|
:volume_status,
|
480
|
+
:volume_attachment_status,
|
387
481
|
:volume_size_in_bytes,
|
388
482
|
:volume_progress,
|
389
483
|
:source_snapshot_id,
|
390
484
|
:volume_iscsi_attributes,
|
391
485
|
:created_date,
|
392
486
|
:volume_used_in_bytes,
|
393
|
-
:kms_key
|
487
|
+
:kms_key,
|
488
|
+
:target_name)
|
394
489
|
include Aws::Structure
|
395
490
|
end
|
396
491
|
|
@@ -612,8 +707,8 @@ module Aws::StorageGateway
|
|
612
707
|
# @return [String]
|
613
708
|
#
|
614
709
|
# @!attribute [rw] target_arn
|
615
|
-
#
|
616
|
-
# iSCSI name that initiators can use to connect to the target.
|
710
|
+
# The Amazon Resource Name (ARN) of the volume target, which includes
|
711
|
+
# the iSCSI name that initiators can use to connect to the target.
|
617
712
|
# @return [String]
|
618
713
|
#
|
619
714
|
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateCachediSCSIVolumeOutput AWS API Documentation
|
@@ -1110,8 +1205,8 @@ module Aws::StorageGateway
|
|
1110
1205
|
# @return [Integer]
|
1111
1206
|
#
|
1112
1207
|
# @!attribute [rw] target_arn
|
1113
|
-
#
|
1114
|
-
# iSCSI name that initiators can use to connect to the target.
|
1208
|
+
# The Amazon Resource Name (ARN) of the volume target, which includes
|
1209
|
+
# the iSCSI name that initiators can use to connect to the target.
|
1115
1210
|
# @return [String]
|
1116
1211
|
#
|
1117
1212
|
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateStorediSCSIVolumeOutput AWS API Documentation
|
@@ -2507,6 +2602,49 @@ module Aws::StorageGateway
|
|
2507
2602
|
include Aws::Structure
|
2508
2603
|
end
|
2509
2604
|
|
2605
|
+
# AttachVolumeInput
|
2606
|
+
#
|
2607
|
+
# @note When making an API call, you may pass DetachVolumeInput
|
2608
|
+
# data as a hash:
|
2609
|
+
#
|
2610
|
+
# {
|
2611
|
+
# volume_arn: "VolumeARN", # required
|
2612
|
+
# force_detach: false,
|
2613
|
+
# }
|
2614
|
+
#
|
2615
|
+
# @!attribute [rw] volume_arn
|
2616
|
+
# The Amazon Resource Name (ARN) of the volume to detach from the
|
2617
|
+
# gateway.
|
2618
|
+
# @return [String]
|
2619
|
+
#
|
2620
|
+
# @!attribute [rw] force_detach
|
2621
|
+
# Set to `true` to forcibly remove the iSCSI connection of the target
|
2622
|
+
# volume and detach the volume. The default is `false`. If this value
|
2623
|
+
# is set to `false`, you must manually disconnect the iSCSI connection
|
2624
|
+
# from the target volume.
|
2625
|
+
# @return [Boolean]
|
2626
|
+
#
|
2627
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DetachVolumeInput AWS API Documentation
|
2628
|
+
#
|
2629
|
+
class DetachVolumeInput < Struct.new(
|
2630
|
+
:volume_arn,
|
2631
|
+
:force_detach)
|
2632
|
+
include Aws::Structure
|
2633
|
+
end
|
2634
|
+
|
2635
|
+
# AttachVolumeOutput
|
2636
|
+
#
|
2637
|
+
# @!attribute [rw] volume_arn
|
2638
|
+
# The Amazon Resource Name (ARN) of the volume that was detached.
|
2639
|
+
# @return [String]
|
2640
|
+
#
|
2641
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DetachVolumeOutput AWS API Documentation
|
2642
|
+
#
|
2643
|
+
class DetachVolumeOutput < Struct.new(
|
2644
|
+
:volume_arn)
|
2645
|
+
include Aws::Structure
|
2646
|
+
end
|
2647
|
+
|
2510
2648
|
# Lists iSCSI information about a VTL device.
|
2511
2649
|
#
|
2512
2650
|
# @!attribute [rw] target_arn
|
@@ -2570,27 +2708,47 @@ module Aws::StorageGateway
|
|
2570
2708
|
include Aws::Structure
|
2571
2709
|
end
|
2572
2710
|
|
2711
|
+
# Represents a gateway's local disk.
|
2712
|
+
#
|
2573
2713
|
# @!attribute [rw] disk_id
|
2714
|
+
# The unique device ID or other distinguishing data that identifies a
|
2715
|
+
# local disk.
|
2574
2716
|
# @return [String]
|
2575
2717
|
#
|
2576
2718
|
# @!attribute [rw] disk_path
|
2719
|
+
# The path of a local disk in the gateway virtual machine (VM).
|
2577
2720
|
# @return [String]
|
2578
2721
|
#
|
2579
2722
|
# @!attribute [rw] disk_node
|
2723
|
+
# The device node of a local disk as assigned by the virtualization
|
2724
|
+
# environment.
|
2580
2725
|
# @return [String]
|
2581
2726
|
#
|
2582
2727
|
# @!attribute [rw] disk_status
|
2728
|
+
# A value that represents the status of a local disk.
|
2583
2729
|
# @return [String]
|
2584
2730
|
#
|
2585
2731
|
# @!attribute [rw] disk_size_in_bytes
|
2732
|
+
# The local disk size in bytes.
|
2586
2733
|
# @return [Integer]
|
2587
2734
|
#
|
2588
2735
|
# @!attribute [rw] disk_allocation_type
|
2736
|
+
# One of the `DiskAllocationType` enumeration values that identifies
|
2737
|
+
# how a local disk is used. Valid values: `UPLOAD_BUFFER`,
|
2738
|
+
# `CACHE_STORAGE`
|
2589
2739
|
# @return [String]
|
2590
2740
|
#
|
2591
2741
|
# @!attribute [rw] disk_allocation_resource
|
2742
|
+
# The iSCSI qualified name (IQN) that is defined for a disk. This
|
2743
|
+
# field is not included in the response if the local disk is not
|
2744
|
+
# defined as an iSCSI target. The format of this field is
|
2745
|
+
# *targetIqn::LUNNumber::region-volumeId*.
|
2592
2746
|
# @return [String]
|
2593
2747
|
#
|
2748
|
+
# @!attribute [rw] disk_attribute_list
|
2749
|
+
# A list of values that represents attributes of a local disk.
|
2750
|
+
# @return [Array<String>]
|
2751
|
+
#
|
2594
2752
|
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/Disk AWS API Documentation
|
2595
2753
|
#
|
2596
2754
|
class Disk < Struct.new(
|
@@ -2600,7 +2758,8 @@ module Aws::StorageGateway
|
|
2600
2758
|
:disk_status,
|
2601
2759
|
:disk_size_in_bytes,
|
2602
2760
|
:disk_allocation_type,
|
2603
|
-
:disk_allocation_resource
|
2761
|
+
:disk_allocation_resource,
|
2762
|
+
:disk_attribute_list)
|
2604
2763
|
include Aws::Structure
|
2605
2764
|
end
|
2606
2765
|
|
@@ -2685,19 +2844,35 @@ module Aws::StorageGateway
|
|
2685
2844
|
# {
|
2686
2845
|
# gateway_arn: "GatewayARN", # required
|
2687
2846
|
# domain_name: "DomainName", # required
|
2847
|
+
# organizational_unit: "OrganizationalUnit",
|
2848
|
+
# domain_controllers: ["Host"],
|
2688
2849
|
# user_name: "DomainUserName", # required
|
2689
2850
|
# password: "DomainUserPassword", # required
|
2690
2851
|
# }
|
2691
2852
|
#
|
2692
2853
|
# @!attribute [rw] gateway_arn
|
2693
|
-
# The
|
2694
|
-
#
|
2854
|
+
# The Amazon Resource Name (ARN) of the gateway. Use the
|
2855
|
+
# `ListGateways` operation to return a list of gateways for your
|
2856
|
+
# account and region.
|
2695
2857
|
# @return [String]
|
2696
2858
|
#
|
2697
2859
|
# @!attribute [rw] domain_name
|
2698
2860
|
# The name of the domain that you want the gateway to join.
|
2699
2861
|
# @return [String]
|
2700
2862
|
#
|
2863
|
+
# @!attribute [rw] organizational_unit
|
2864
|
+
# The organizational unit (OU) is a container with an Active Directory
|
2865
|
+
# that can hold users, groups, computers, and other OUs and this
|
2866
|
+
# parameter specifies the OU that the gateway will join within the AD
|
2867
|
+
# domain.
|
2868
|
+
# @return [String]
|
2869
|
+
#
|
2870
|
+
# @!attribute [rw] domain_controllers
|
2871
|
+
# List of IPv4 addresses, NetBIOS names, or host names of your domain
|
2872
|
+
# server. If you need to specify the port number include it after the
|
2873
|
+
# colon (“:”). For example, `mydc.mydomain.com:389`.
|
2874
|
+
# @return [Array<String>]
|
2875
|
+
#
|
2701
2876
|
# @!attribute [rw] user_name
|
2702
2877
|
# Sets the user name of user who has permission to add the gateway to
|
2703
2878
|
# the Active Directory domain.
|
@@ -2713,6 +2888,8 @@ module Aws::StorageGateway
|
|
2713
2888
|
class JoinDomainInput < Struct.new(
|
2714
2889
|
:gateway_arn,
|
2715
2890
|
:domain_name,
|
2891
|
+
:organizational_unit,
|
2892
|
+
:domain_controllers,
|
2716
2893
|
:user_name,
|
2717
2894
|
:password)
|
2718
2895
|
include Aws::Structure
|
@@ -3373,6 +3550,8 @@ module Aws::StorageGateway
|
|
3373
3550
|
include Aws::Structure
|
3374
3551
|
end
|
3375
3552
|
|
3553
|
+
# RefreshCacheInput
|
3554
|
+
#
|
3376
3555
|
# @note When making an API call, you may pass RefreshCacheInput
|
3377
3556
|
# data as a hash:
|
3378
3557
|
#
|
@@ -3383,7 +3562,8 @@ module Aws::StorageGateway
|
|
3383
3562
|
# }
|
3384
3563
|
#
|
3385
3564
|
# @!attribute [rw] file_share_arn
|
3386
|
-
# The Amazon Resource Name (ARN) of the file share
|
3565
|
+
# The Amazon Resource Name (ARN) of the file share you want to
|
3566
|
+
# refresh.
|
3387
3567
|
# @return [String]
|
3388
3568
|
#
|
3389
3569
|
# @!attribute [rw] folder_list
|
@@ -3903,6 +4083,11 @@ module Aws::StorageGateway
|
|
3903
4083
|
# storage volume.
|
3904
4084
|
# @return [String]
|
3905
4085
|
#
|
4086
|
+
# @!attribute [rw] volume_attachment_status
|
4087
|
+
# A value that indicates whether a storage volume is attached to,
|
4088
|
+
# detached from, or is in the process of detaching from a gateway.
|
4089
|
+
# @return [String]
|
4090
|
+
#
|
3906
4091
|
# @!attribute [rw] volume_size_in_bytes
|
3907
4092
|
# The size of the volume in bytes.
|
3908
4093
|
# @return [Integer]
|
@@ -3957,6 +4142,13 @@ module Aws::StorageGateway
|
|
3957
4142
|
# is true. Optional.
|
3958
4143
|
# @return [String]
|
3959
4144
|
#
|
4145
|
+
# @!attribute [rw] target_name
|
4146
|
+
# The name of the iSCSI target that is used by an initiator to connect
|
4147
|
+
# to a volume and used as a suffix for the target ARN. For example,
|
4148
|
+
# specifying `TargetName` as *myvolume* results in the target ARN of
|
4149
|
+
# `arn:aws:storagegateway:us-east-2:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume`.
|
4150
|
+
# @return [String]
|
4151
|
+
#
|
3960
4152
|
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/StorediSCSIVolume AWS API Documentation
|
3961
4153
|
#
|
3962
4154
|
class StorediSCSIVolume < Struct.new(
|
@@ -3964,6 +4156,7 @@ module Aws::StorageGateway
|
|
3964
4156
|
:volume_id,
|
3965
4157
|
:volume_type,
|
3966
4158
|
:volume_status,
|
4159
|
+
:volume_attachment_status,
|
3967
4160
|
:volume_size_in_bytes,
|
3968
4161
|
:volume_progress,
|
3969
4162
|
:volume_disk_id,
|
@@ -3972,7 +4165,8 @@ module Aws::StorageGateway
|
|
3972
4165
|
:volume_iscsi_attributes,
|
3973
4166
|
:created_date,
|
3974
4167
|
:volume_used_in_bytes,
|
3975
|
-
:kms_key
|
4168
|
+
:kms_key,
|
4169
|
+
:target_name)
|
3976
4170
|
include Aws::Structure
|
3977
4171
|
end
|
3978
4172
|
|
@@ -4879,6 +5073,9 @@ module Aws::StorageGateway
|
|
4879
5073
|
# hyphens (-).
|
4880
5074
|
# @return [Integer]
|
4881
5075
|
#
|
5076
|
+
# @!attribute [rw] volume_attachment_status
|
5077
|
+
# @return [String]
|
5078
|
+
#
|
4882
5079
|
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/VolumeInfo AWS API Documentation
|
4883
5080
|
#
|
4884
5081
|
class VolumeInfo < Struct.new(
|
@@ -4887,7 +5084,8 @@ module Aws::StorageGateway
|
|
4887
5084
|
:gateway_arn,
|
4888
5085
|
:gateway_id,
|
4889
5086
|
:volume_type,
|
4890
|
-
:volume_size_in_bytes
|
5087
|
+
:volume_size_in_bytes,
|
5088
|
+
:volume_attachment_status)
|
4891
5089
|
include Aws::Structure
|
4892
5090
|
end
|
4893
5091
|
|
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.14.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:
|
11
|
+
date: 2019-01-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|