aws-sdk-storagegateway 1.25.0 → 1.26.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6cfe69614173b1532948b647022c67bb57bb3154
|
4
|
+
data.tar.gz: 47672c616d5b43c6e6c2edca85d43ea3eedb5441
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d0d1d36d939f4d906b169eb2f07bce2eda71924cc7db411c72e97fc91ec4ce300c7d95da6e9d4726e5176f90a9ce68a00604320a3d520d0cab40615335866e43
|
7
|
+
data.tar.gz: 8d472097e6e8608fa4ea0d6dc549a13f8f1171934769fba2c0a2e490d47e37fbe72c4ce8fe0a09be4deaed197f119438761ee33087124393e4a0473918ec2f66
|
@@ -668,6 +668,51 @@ module Aws::StorageGateway
|
|
668
668
|
req.send_request(options)
|
669
669
|
end
|
670
670
|
|
671
|
+
# Assigns a tape to a tape pool for archiving. The tape assigned to a
|
672
|
+
# pool is archived in the S3 storage class that is associated with the
|
673
|
+
# pool. When you use your backup application to eject the tape, the tape
|
674
|
+
# is archived directly into the S3 storage class (Glacier or Deep
|
675
|
+
# Archive) that corresponds to the pool.
|
676
|
+
#
|
677
|
+
# Valid values: "GLACIER", "DEEP\_ARCHIVE"
|
678
|
+
#
|
679
|
+
# @option params [required, String] :tape_arn
|
680
|
+
# The unique Amazon Resource Name (ARN) of the virtual tape that you
|
681
|
+
# want to add to the tape pool.
|
682
|
+
#
|
683
|
+
# @option params [required, String] :pool_id
|
684
|
+
# The ID of the pool that you want to add your tape to for archiving.
|
685
|
+
# The tape in this pool is archived in the S3 storage class that is
|
686
|
+
# associated with the pool. When you use your backup application to
|
687
|
+
# eject the tape, the tape is archived directly into the storage class
|
688
|
+
# (Glacier or Deep Archive) that corresponds to the pool.
|
689
|
+
#
|
690
|
+
# Valid values: "GLACIER", "DEEP\_ARCHIVE"
|
691
|
+
#
|
692
|
+
# @return [Types::AssignTapePoolOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
693
|
+
#
|
694
|
+
# * {Types::AssignTapePoolOutput#tape_arn #tape_arn} => String
|
695
|
+
#
|
696
|
+
# @example Request syntax with placeholder values
|
697
|
+
#
|
698
|
+
# resp = client.assign_tape_pool({
|
699
|
+
# tape_arn: "TapeARN", # required
|
700
|
+
# pool_id: "PoolId", # required
|
701
|
+
# })
|
702
|
+
#
|
703
|
+
# @example Response structure
|
704
|
+
#
|
705
|
+
# resp.tape_arn #=> String
|
706
|
+
#
|
707
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/AssignTapePool AWS API Documentation
|
708
|
+
#
|
709
|
+
# @overload assign_tape_pool(params = {})
|
710
|
+
# @param [Hash] params ({})
|
711
|
+
def assign_tape_pool(params = {}, options = {})
|
712
|
+
req = build_request(:assign_tape_pool, params)
|
713
|
+
req.send_request(options)
|
714
|
+
end
|
715
|
+
|
671
716
|
# Connects a volume to an iSCSI connection and then attaches the volume
|
672
717
|
# to the specified gateway. Detaching and attaching a volume enables you
|
673
718
|
# to recover your data from one gateway to a different gateway without
|
@@ -5559,7 +5604,7 @@ module Aws::StorageGateway
|
|
5559
5604
|
params: params,
|
5560
5605
|
config: config)
|
5561
5606
|
context[:gem_name] = 'aws-sdk-storagegateway'
|
5562
|
-
context[:gem_version] = '1.
|
5607
|
+
context[:gem_version] = '1.26.0'
|
5563
5608
|
Seahorse::Client::Request.new(handlers, context)
|
5564
5609
|
end
|
5565
5610
|
|
@@ -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
|
+
AssignTapePoolInput = Shapes::StructureShape.new(name: 'AssignTapePoolInput')
|
26
|
+
AssignTapePoolOutput = Shapes::StructureShape.new(name: 'AssignTapePoolOutput')
|
25
27
|
AttachVolumeInput = Shapes::StructureShape.new(name: 'AttachVolumeInput')
|
26
28
|
AttachVolumeOutput = Shapes::StructureShape.new(name: 'AttachVolumeOutput')
|
27
29
|
Authentication = Shapes::StringShape.new(name: 'Authentication')
|
@@ -346,6 +348,13 @@ module Aws::StorageGateway
|
|
346
348
|
AddWorkingStorageOutput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayARN, location_name: "GatewayARN"))
|
347
349
|
AddWorkingStorageOutput.struct_class = Types::AddWorkingStorageOutput
|
348
350
|
|
351
|
+
AssignTapePoolInput.add_member(:tape_arn, Shapes::ShapeRef.new(shape: TapeARN, required: true, location_name: "TapeARN"))
|
352
|
+
AssignTapePoolInput.add_member(:pool_id, Shapes::ShapeRef.new(shape: PoolId, required: true, location_name: "PoolId"))
|
353
|
+
AssignTapePoolInput.struct_class = Types::AssignTapePoolInput
|
354
|
+
|
355
|
+
AssignTapePoolOutput.add_member(:tape_arn, Shapes::ShapeRef.new(shape: TapeARN, location_name: "TapeARN"))
|
356
|
+
AssignTapePoolOutput.struct_class = Types::AssignTapePoolOutput
|
357
|
+
|
349
358
|
AttachVolumeInput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayARN, required: true, location_name: "GatewayARN"))
|
350
359
|
AttachVolumeInput.add_member(:target_name, Shapes::ShapeRef.new(shape: TargetName, location_name: "TargetName"))
|
351
360
|
AttachVolumeInput.add_member(:volume_arn, Shapes::ShapeRef.new(shape: VolumeARN, required: true, location_name: "VolumeARN"))
|
@@ -1288,6 +1297,16 @@ module Aws::StorageGateway
|
|
1288
1297
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
1289
1298
|
end)
|
1290
1299
|
|
1300
|
+
api.add_operation(:assign_tape_pool, Seahorse::Model::Operation.new.tap do |o|
|
1301
|
+
o.name = "AssignTapePool"
|
1302
|
+
o.http_method = "POST"
|
1303
|
+
o.http_request_uri = "/"
|
1304
|
+
o.input = Shapes::ShapeRef.new(shape: AssignTapePoolInput)
|
1305
|
+
o.output = Shapes::ShapeRef.new(shape: AssignTapePoolOutput)
|
1306
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidGatewayRequestException)
|
1307
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
1308
|
+
end)
|
1309
|
+
|
1291
1310
|
api.add_operation(:attach_volume, Seahorse::Model::Operation.new.tap do |o|
|
1292
1311
|
o.name = "AttachVolume"
|
1293
1312
|
o.http_method = "POST"
|
@@ -338,6 +338,49 @@ module Aws::StorageGateway
|
|
338
338
|
include Aws::Structure
|
339
339
|
end
|
340
340
|
|
341
|
+
# @note When making an API call, you may pass AssignTapePoolInput
|
342
|
+
# data as a hash:
|
343
|
+
#
|
344
|
+
# {
|
345
|
+
# tape_arn: "TapeARN", # required
|
346
|
+
# pool_id: "PoolId", # required
|
347
|
+
# }
|
348
|
+
#
|
349
|
+
# @!attribute [rw] tape_arn
|
350
|
+
# The unique Amazon Resource Name (ARN) of the virtual tape that you
|
351
|
+
# want to add to the tape pool.
|
352
|
+
# @return [String]
|
353
|
+
#
|
354
|
+
# @!attribute [rw] pool_id
|
355
|
+
# The ID of the pool that you want to add your tape to for archiving.
|
356
|
+
# The tape in this pool is archived in the S3 storage class that is
|
357
|
+
# associated with the pool. When you use your backup application to
|
358
|
+
# eject the tape, the tape is archived directly into the storage class
|
359
|
+
# (Glacier or Deep Archive) that corresponds to the pool.
|
360
|
+
#
|
361
|
+
# Valid values: "GLACIER", "DEEP\_ARCHIVE"
|
362
|
+
# @return [String]
|
363
|
+
#
|
364
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/AssignTapePoolInput AWS API Documentation
|
365
|
+
#
|
366
|
+
class AssignTapePoolInput < Struct.new(
|
367
|
+
:tape_arn,
|
368
|
+
:pool_id)
|
369
|
+
include Aws::Structure
|
370
|
+
end
|
371
|
+
|
372
|
+
# @!attribute [rw] tape_arn
|
373
|
+
# The unique Amazon Resource Names (ARN) of the virtual tape that was
|
374
|
+
# added to the tape pool.
|
375
|
+
# @return [String]
|
376
|
+
#
|
377
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/AssignTapePoolOutput AWS API Documentation
|
378
|
+
#
|
379
|
+
class AssignTapePoolOutput < Struct.new(
|
380
|
+
:tape_arn)
|
381
|
+
include Aws::Structure
|
382
|
+
end
|
383
|
+
|
341
384
|
# AttachVolumeInput
|
342
385
|
#
|
343
386
|
# @note When making an API call, you may pass AttachVolumeInput
|
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.26.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: 2019-05-
|
11
|
+
date: 2019-05-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|