aws-sdk-storagegateway 1.33.0 → 1.34.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-storagegateway.rb +1 -1
- data/lib/aws-sdk-storagegateway/client.rb +121 -12
- data/lib/aws-sdk-storagegateway/client_api.rb +46 -0
- data/lib/aws-sdk-storagegateway/types.rb +148 -5
- 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: e4e415a6887f04958eb72626aae8cef8d0a21cbe
|
4
|
+
data.tar.gz: 58e7356953bee71a6ca6d9e7a29dc6f26f0dea38
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 607a8d9460b8f5d211a1d46ed08e7247410ab41f1d81edfe1cdd996d4df2e735e9fece858c748e0301a35be2b67beff81118dcd9c3341d2bbb9d022d3bc0936b
|
7
|
+
data.tar.gz: c492c7f8b88ca408799aec2c25c8314e620700a283cfe50e37aa8eae3b1bfea814b982b5a70b2bd8b496957e393d1eae5632c49983a7214aa7d655e60c6235b8
|
@@ -1954,7 +1954,8 @@ module Aws::StorageGateway
|
|
1954
1954
|
# the upload and download bandwidth rate limit, or you can delete both.
|
1955
1955
|
# If you delete only one of the limits, the other limit remains
|
1956
1956
|
# unchanged. To specify which gateway to work with, use the Amazon
|
1957
|
-
# Resource Name (ARN) of the gateway in your request.
|
1957
|
+
# Resource Name (ARN) of the gateway in your request. This operation is
|
1958
|
+
# supported for the stored volume, cached volume and tape gateway types.
|
1958
1959
|
#
|
1959
1960
|
# @option params [required, String] :gateway_arn
|
1960
1961
|
# The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
|
@@ -2007,7 +2008,8 @@ module Aws::StorageGateway
|
|
2007
2008
|
end
|
2008
2009
|
|
2009
2010
|
# Deletes Challenge-Handshake Authentication Protocol (CHAP) credentials
|
2010
|
-
# for a specified iSCSI target and initiator pair.
|
2011
|
+
# for a specified iSCSI target and initiator pair. This operation is
|
2012
|
+
# supported in volume and tape gateway types.
|
2011
2013
|
#
|
2012
2014
|
# @option params [required, String] :target_arn
|
2013
2015
|
# The Amazon Resource Name (ARN) of the iSCSI volume target. Use the
|
@@ -2378,9 +2380,46 @@ module Aws::StorageGateway
|
|
2378
2380
|
req.send_request(options)
|
2379
2381
|
end
|
2380
2382
|
|
2383
|
+
# Returns information about the most recent High Availability monitoring
|
2384
|
+
# test that was performed on the host in a cluster. If a test isn't
|
2385
|
+
# performed, the status and start time in the response would be null.
|
2386
|
+
#
|
2387
|
+
# @option params [required, String] :gateway_arn
|
2388
|
+
# The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
|
2389
|
+
# operation to return a list of gateways for your account and AWS
|
2390
|
+
# Region.
|
2391
|
+
#
|
2392
|
+
# @return [Types::DescribeAvailabilityMonitorTestOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2393
|
+
#
|
2394
|
+
# * {Types::DescribeAvailabilityMonitorTestOutput#gateway_arn #gateway_arn} => String
|
2395
|
+
# * {Types::DescribeAvailabilityMonitorTestOutput#status #status} => String
|
2396
|
+
# * {Types::DescribeAvailabilityMonitorTestOutput#start_time #start_time} => Time
|
2397
|
+
#
|
2398
|
+
# @example Request syntax with placeholder values
|
2399
|
+
#
|
2400
|
+
# resp = client.describe_availability_monitor_test({
|
2401
|
+
# gateway_arn: "GatewayARN", # required
|
2402
|
+
# })
|
2403
|
+
#
|
2404
|
+
# @example Response structure
|
2405
|
+
#
|
2406
|
+
# resp.gateway_arn #=> String
|
2407
|
+
# resp.status #=> String, one of "COMPLETE", "FAILED", "PENDING"
|
2408
|
+
# resp.start_time #=> Time
|
2409
|
+
#
|
2410
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeAvailabilityMonitorTest AWS API Documentation
|
2411
|
+
#
|
2412
|
+
# @overload describe_availability_monitor_test(params = {})
|
2413
|
+
# @param [Hash] params ({})
|
2414
|
+
def describe_availability_monitor_test(params = {}, options = {})
|
2415
|
+
req = build_request(:describe_availability_monitor_test, params)
|
2416
|
+
req.send_request(options)
|
2417
|
+
end
|
2418
|
+
|
2381
2419
|
# Returns the bandwidth rate limits of a gateway. By default, these
|
2382
2420
|
# limits are not set, which means no bandwidth rate limiting is in
|
2383
|
-
# effect.
|
2421
|
+
# effect. This operation is supported for the stored volume, cached
|
2422
|
+
# volume and tape gateway types.'
|
2384
2423
|
#
|
2385
2424
|
# This operation only returns a value for a bandwidth rate limit only if
|
2386
2425
|
# the limit is set. If no limits are set for the gateway, then this
|
@@ -2592,7 +2631,8 @@ module Aws::StorageGateway
|
|
2592
2631
|
|
2593
2632
|
# Returns an array of Challenge-Handshake Authentication Protocol (CHAP)
|
2594
2633
|
# credentials information for a specified iSCSI target, one for each
|
2595
|
-
# target-initiator pair.
|
2634
|
+
# target-initiator pair. This operation is supported in the volume and
|
2635
|
+
# tape gateway types.
|
2596
2636
|
#
|
2597
2637
|
# @option params [required, String] :target_arn
|
2598
2638
|
# The Amazon Resource Name (ARN) of the iSCSI volume target. Use the
|
@@ -2674,6 +2714,7 @@ module Aws::StorageGateway
|
|
2674
2714
|
# * {Types::DescribeGatewayInformationOutput#tags #tags} => Array<Types::Tag>
|
2675
2715
|
# * {Types::DescribeGatewayInformationOutput#vpc_endpoint #vpc_endpoint} => String
|
2676
2716
|
# * {Types::DescribeGatewayInformationOutput#cloud_watch_log_group_arn #cloud_watch_log_group_arn} => String
|
2717
|
+
# * {Types::DescribeGatewayInformationOutput#host_environment #host_environment} => String
|
2677
2718
|
#
|
2678
2719
|
#
|
2679
2720
|
# @example Example: To describe metadata about the gateway
|
@@ -2729,6 +2770,7 @@ module Aws::StorageGateway
|
|
2729
2770
|
# resp.tags[0].value #=> String
|
2730
2771
|
# resp.vpc_endpoint #=> String
|
2731
2772
|
# resp.cloud_watch_log_group_arn #=> String
|
2773
|
+
# resp.host_environment #=> String, one of "VMWARE", "HYPER-V", "EC2", "OTHER"
|
2732
2774
|
#
|
2733
2775
|
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeGatewayInformation AWS API Documentation
|
2734
2776
|
#
|
@@ -2923,6 +2965,7 @@ module Aws::StorageGateway
|
|
2923
2965
|
#
|
2924
2966
|
# * {Types::DescribeSMBSettingsOutput#gateway_arn #gateway_arn} => String
|
2925
2967
|
# * {Types::DescribeSMBSettingsOutput#domain_name #domain_name} => String
|
2968
|
+
# * {Types::DescribeSMBSettingsOutput#active_directory_status #active_directory_status} => String
|
2926
2969
|
# * {Types::DescribeSMBSettingsOutput#smb_guest_password_set #smb_guest_password_set} => Boolean
|
2927
2970
|
# * {Types::DescribeSMBSettingsOutput#smb_security_strategy #smb_security_strategy} => String
|
2928
2971
|
#
|
@@ -2936,6 +2979,7 @@ module Aws::StorageGateway
|
|
2936
2979
|
#
|
2937
2980
|
# resp.gateway_arn #=> String
|
2938
2981
|
# resp.domain_name #=> String
|
2982
|
+
# resp.active_directory_status #=> String, one of "ACCESS_DENIED", "DETACHED", "JOINED", "JOINING", "NETWORK_ERROR", "TIMEOUT", "UNKNOWN_ERROR"
|
2939
2983
|
# resp.smb_guest_password_set #=> Boolean
|
2940
2984
|
# resp.smb_security_strategy #=> String, one of "ClientSpecified", "MandatorySigning", "MandatoryEncryption"
|
2941
2985
|
#
|
@@ -3656,7 +3700,8 @@ module Aws::StorageGateway
|
|
3656
3700
|
# enables you to recover your data from one gateway to a different
|
3657
3701
|
# gateway without creating a snapshot. It also makes it easier to move
|
3658
3702
|
# your volumes from an on-premises gateway to a gateway hosted on an
|
3659
|
-
# Amazon EC2 instance.
|
3703
|
+
# Amazon EC2 instance. This operation is only supported in the volume
|
3704
|
+
# gateway type.
|
3660
3705
|
#
|
3661
3706
|
# @option params [required, String] :volume_arn
|
3662
3707
|
# The Amazon Resource Name (ARN) of the volume to detach from the
|
@@ -3767,9 +3812,16 @@ module Aws::StorageGateway
|
|
3767
3812
|
# server. If you need to specify the port number include it after the
|
3768
3813
|
# colon (“:”). For example, `mydc.mydomain.com:389`.
|
3769
3814
|
#
|
3815
|
+
# @option params [Integer] :timeout_in_seconds
|
3816
|
+
# Specifies the time in seconds, in which the `JoinDomain` operation
|
3817
|
+
# must complete. The default is 20 seconds.
|
3818
|
+
#
|
3770
3819
|
# @option params [required, String] :user_name
|
3771
3820
|
# Sets the user name of user who has permission to add the gateway to
|
3772
|
-
# the Active Directory domain.
|
3821
|
+
# the Active Directory domain. The domain user account should be enabled
|
3822
|
+
# to join computers to the domain. For example, you can use the domain
|
3823
|
+
# administrator account or an account with delegated permissions to join
|
3824
|
+
# computers to the domain.
|
3773
3825
|
#
|
3774
3826
|
# @option params [required, String] :password
|
3775
3827
|
# Sets the password of the user who has permission to add the gateway to
|
@@ -3778,6 +3830,7 @@ module Aws::StorageGateway
|
|
3778
3830
|
# @return [Types::JoinDomainOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3779
3831
|
#
|
3780
3832
|
# * {Types::JoinDomainOutput#gateway_arn #gateway_arn} => String
|
3833
|
+
# * {Types::JoinDomainOutput#active_directory_status #active_directory_status} => String
|
3781
3834
|
#
|
3782
3835
|
# @example Request syntax with placeholder values
|
3783
3836
|
#
|
@@ -3786,6 +3839,7 @@ module Aws::StorageGateway
|
|
3786
3839
|
# domain_name: "DomainName", # required
|
3787
3840
|
# organizational_unit: "OrganizationalUnit",
|
3788
3841
|
# domain_controllers: ["Host"],
|
3842
|
+
# timeout_in_seconds: 1,
|
3789
3843
|
# user_name: "DomainUserName", # required
|
3790
3844
|
# password: "DomainUserPassword", # required
|
3791
3845
|
# })
|
@@ -3793,6 +3847,7 @@ module Aws::StorageGateway
|
|
3793
3847
|
# @example Response structure
|
3794
3848
|
#
|
3795
3849
|
# resp.gateway_arn #=> String
|
3850
|
+
# resp.active_directory_status #=> String, one of "ACCESS_DENIED", "DETACHED", "JOINED", "JOINING", "NETWORK_ERROR", "TIMEOUT", "UNKNOWN_ERROR"
|
3796
3851
|
#
|
3797
3852
|
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/JoinDomain AWS API Documentation
|
3798
3853
|
#
|
@@ -4019,8 +4074,7 @@ module Aws::StorageGateway
|
|
4019
4074
|
end
|
4020
4075
|
|
4021
4076
|
# Lists the tags that have been added to the specified resource. This
|
4022
|
-
# operation is
|
4023
|
-
# tape gateway type.
|
4077
|
+
# operation is supported in storage gateways of all types.
|
4024
4078
|
#
|
4025
4079
|
# @option params [required, String] :resource_arn
|
4026
4080
|
# The Amazon Resource Name (ARN) of the resource for which you want to
|
@@ -4406,6 +4460,20 @@ module Aws::StorageGateway
|
|
4406
4460
|
# You can subscribe to be notified through an CloudWatch event when your
|
4407
4461
|
# `RefreshCache` operation completes.
|
4408
4462
|
#
|
4463
|
+
# Throttle limit: This API is asynchronous so the gateway will accept no
|
4464
|
+
# more than two refreshes at any time. We recommend using the
|
4465
|
+
# refresh-complete CloudWatch event notification before issuing
|
4466
|
+
# additional requests. For more information, see [Getting Notified About
|
4467
|
+
# File Operations][1].
|
4468
|
+
#
|
4469
|
+
# If you invoke the RefreshCache API when two requests are already being
|
4470
|
+
# processed, any new request will cause an
|
4471
|
+
# `InvalidGatewayRequestException` error because too many requests were
|
4472
|
+
# sent to the server.
|
4473
|
+
#
|
4474
|
+
# For more information, see
|
4475
|
+
# "https://docs.aws.amazon.com/storagegateway/latest/userguide/monitoring-file-gateway.html#get-notification".
|
4476
|
+
#
|
4409
4477
|
#
|
4410
4478
|
#
|
4411
4479
|
# [1]: https://docs.aws.amazon.com/storagegateway/latest/userguide/monitoring-file-gateway.html#get-notification
|
@@ -4458,8 +4526,7 @@ module Aws::StorageGateway
|
|
4458
4526
|
end
|
4459
4527
|
|
4460
4528
|
# Removes one or more tags from the specified resource. This operation
|
4461
|
-
# is
|
4462
|
-
# types.
|
4529
|
+
# is supported in storage gateways of all types.
|
4463
4530
|
#
|
4464
4531
|
# @option params [required, String] :resource_arn
|
4465
4532
|
# The Amazon Resource Name (ARN) of the resource you want to remove the
|
@@ -4853,6 +4920,46 @@ module Aws::StorageGateway
|
|
4853
4920
|
req.send_request(options)
|
4854
4921
|
end
|
4855
4922
|
|
4923
|
+
# Start a test that verifies that the specified gateway is configured
|
4924
|
+
# for High Availability monitoring in your host environment. This
|
4925
|
+
# request only initiates the test and that a successful response only
|
4926
|
+
# indicates that the test was started. It doesn't indicate that the
|
4927
|
+
# test passed. For the status of the test, invoke the
|
4928
|
+
# `DescribeAvailabilityMonitorTest` API.
|
4929
|
+
#
|
4930
|
+
# <note markdown="1"> Starting this test will cause your gateway to go offline for a brief
|
4931
|
+
# period.
|
4932
|
+
#
|
4933
|
+
# </note>
|
4934
|
+
#
|
4935
|
+
# @option params [required, String] :gateway_arn
|
4936
|
+
# The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
|
4937
|
+
# operation to return a list of gateways for your account and AWS
|
4938
|
+
# Region.
|
4939
|
+
#
|
4940
|
+
# @return [Types::StartAvailabilityMonitorTestOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4941
|
+
#
|
4942
|
+
# * {Types::StartAvailabilityMonitorTestOutput#gateway_arn #gateway_arn} => String
|
4943
|
+
#
|
4944
|
+
# @example Request syntax with placeholder values
|
4945
|
+
#
|
4946
|
+
# resp = client.start_availability_monitor_test({
|
4947
|
+
# gateway_arn: "GatewayARN", # required
|
4948
|
+
# })
|
4949
|
+
#
|
4950
|
+
# @example Response structure
|
4951
|
+
#
|
4952
|
+
# resp.gateway_arn #=> String
|
4953
|
+
#
|
4954
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/StartAvailabilityMonitorTest AWS API Documentation
|
4955
|
+
#
|
4956
|
+
# @overload start_availability_monitor_test(params = {})
|
4957
|
+
# @param [Hash] params ({})
|
4958
|
+
def start_availability_monitor_test(params = {}, options = {})
|
4959
|
+
req = build_request(:start_availability_monitor_test, params)
|
4960
|
+
req.send_request(options)
|
4961
|
+
end
|
4962
|
+
|
4856
4963
|
# Starts a gateway that you previously shut down (see ShutdownGateway).
|
4857
4964
|
# After the gateway starts, you can then make other API calls, your
|
4858
4965
|
# applications can read from or write to the gateway's storage volumes
|
@@ -4914,7 +5021,8 @@ module Aws::StorageGateway
|
|
4914
5021
|
# Updates the bandwidth rate limits of a gateway. You can update both
|
4915
5022
|
# the upload and download bandwidth rate limit or specify only one of
|
4916
5023
|
# the two. If you don't set a bandwidth rate limit, the existing rate
|
4917
|
-
# limit remains.
|
5024
|
+
# limit remains. This operation is supported for the stored volume,
|
5025
|
+
# cached volume and tape gateway types.'
|
4918
5026
|
#
|
4919
5027
|
# By default, a gateway's bandwidth rate limits are not set. If you
|
4920
5028
|
# don't set any limit, the gateway does not have any limitations on its
|
@@ -4980,6 +5088,7 @@ module Aws::StorageGateway
|
|
4980
5088
|
# Updates the Challenge-Handshake Authentication Protocol (CHAP)
|
4981
5089
|
# credentials for a specified iSCSI target. By default, a gateway does
|
4982
5090
|
# not have CHAP enabled; however, for added security, you might use it.
|
5091
|
+
# This operation is supported in the volume and tape gateway types.
|
4983
5092
|
#
|
4984
5093
|
# When you update CHAP credentials, all existing connections on the
|
4985
5094
|
# target are closed and initiators must reconnect with the new
|
@@ -5742,7 +5851,7 @@ module Aws::StorageGateway
|
|
5742
5851
|
params: params,
|
5743
5852
|
config: config)
|
5744
5853
|
context[:gem_name] = 'aws-sdk-storagegateway'
|
5745
|
-
context[:gem_version] = '1.
|
5854
|
+
context[:gem_version] = '1.34.0'
|
5746
5855
|
Seahorse::Client::Request.new(handlers, context)
|
5747
5856
|
end
|
5748
5857
|
|
@@ -14,6 +14,7 @@ module Aws::StorageGateway
|
|
14
14
|
ActivateGatewayInput = Shapes::StructureShape.new(name: 'ActivateGatewayInput')
|
15
15
|
ActivateGatewayOutput = Shapes::StructureShape.new(name: 'ActivateGatewayOutput')
|
16
16
|
ActivationKey = Shapes::StringShape.new(name: 'ActivationKey')
|
17
|
+
ActiveDirectoryStatus = Shapes::StringShape.new(name: 'ActiveDirectoryStatus')
|
17
18
|
AddCacheInput = Shapes::StructureShape.new(name: 'AddCacheInput')
|
18
19
|
AddCacheOutput = Shapes::StructureShape.new(name: 'AddCacheOutput')
|
19
20
|
AddTagsToResourceInput = Shapes::StructureShape.new(name: 'AddTagsToResourceInput')
|
@@ -27,6 +28,7 @@ module Aws::StorageGateway
|
|
27
28
|
AttachVolumeInput = Shapes::StructureShape.new(name: 'AttachVolumeInput')
|
28
29
|
AttachVolumeOutput = Shapes::StructureShape.new(name: 'AttachVolumeOutput')
|
29
30
|
Authentication = Shapes::StringShape.new(name: 'Authentication')
|
31
|
+
AvailabilityMonitorTestStatus = Shapes::StringShape.new(name: 'AvailabilityMonitorTestStatus')
|
30
32
|
BandwidthDownloadRateLimit = Shapes::IntegerShape.new(name: 'BandwidthDownloadRateLimit')
|
31
33
|
BandwidthType = Shapes::StringShape.new(name: 'BandwidthType')
|
32
34
|
BandwidthUploadRateLimit = Shapes::IntegerShape.new(name: 'BandwidthUploadRateLimit')
|
@@ -77,6 +79,8 @@ module Aws::StorageGateway
|
|
77
79
|
DeleteTapeOutput = Shapes::StructureShape.new(name: 'DeleteTapeOutput')
|
78
80
|
DeleteVolumeInput = Shapes::StructureShape.new(name: 'DeleteVolumeInput')
|
79
81
|
DeleteVolumeOutput = Shapes::StructureShape.new(name: 'DeleteVolumeOutput')
|
82
|
+
DescribeAvailabilityMonitorTestInput = Shapes::StructureShape.new(name: 'DescribeAvailabilityMonitorTestInput')
|
83
|
+
DescribeAvailabilityMonitorTestOutput = Shapes::StructureShape.new(name: 'DescribeAvailabilityMonitorTestOutput')
|
80
84
|
DescribeBandwidthRateLimitInput = Shapes::StructureShape.new(name: 'DescribeBandwidthRateLimitInput')
|
81
85
|
DescribeBandwidthRateLimitOutput = Shapes::StructureShape.new(name: 'DescribeBandwidthRateLimitOutput')
|
82
86
|
DescribeCacheInput = Shapes::StructureShape.new(name: 'DescribeCacheInput')
|
@@ -155,6 +159,7 @@ module Aws::StorageGateway
|
|
155
159
|
GatewayType = Shapes::StringShape.new(name: 'GatewayType')
|
156
160
|
Gateways = Shapes::ListShape.new(name: 'Gateways')
|
157
161
|
Host = Shapes::StringShape.new(name: 'Host')
|
162
|
+
HostEnvironment = Shapes::StringShape.new(name: 'HostEnvironment')
|
158
163
|
Hosts = Shapes::ListShape.new(name: 'Hosts')
|
159
164
|
HourOfDay = Shapes::IntegerShape.new(name: 'HourOfDay')
|
160
165
|
IPV4AddressCIDR = Shapes::StringShape.new(name: 'IPV4AddressCIDR')
|
@@ -233,6 +238,8 @@ module Aws::StorageGateway
|
|
233
238
|
SnapshotDescription = Shapes::StringShape.new(name: 'SnapshotDescription')
|
234
239
|
SnapshotId = Shapes::StringShape.new(name: 'SnapshotId')
|
235
240
|
Squash = Shapes::StringShape.new(name: 'Squash')
|
241
|
+
StartAvailabilityMonitorTestInput = Shapes::StructureShape.new(name: 'StartAvailabilityMonitorTestInput')
|
242
|
+
StartAvailabilityMonitorTestOutput = Shapes::StructureShape.new(name: 'StartAvailabilityMonitorTestOutput')
|
236
243
|
StartGatewayInput = Shapes::StructureShape.new(name: 'StartGatewayInput')
|
237
244
|
StartGatewayOutput = Shapes::StructureShape.new(name: 'StartGatewayOutput')
|
238
245
|
StorageClass = Shapes::StringShape.new(name: 'StorageClass')
|
@@ -265,6 +272,7 @@ module Aws::StorageGateway
|
|
265
272
|
TargetARN = Shapes::StringShape.new(name: 'TargetARN')
|
266
273
|
TargetName = Shapes::StringShape.new(name: 'TargetName')
|
267
274
|
Time = Shapes::TimestampShape.new(name: 'Time')
|
275
|
+
TimeoutInSeconds = Shapes::IntegerShape.new(name: 'TimeoutInSeconds')
|
268
276
|
UpdateBandwidthRateLimitInput = Shapes::StructureShape.new(name: 'UpdateBandwidthRateLimitInput')
|
269
277
|
UpdateBandwidthRateLimitOutput = Shapes::StructureShape.new(name: 'UpdateBandwidthRateLimitOutput')
|
270
278
|
UpdateChapCredentialsInput = Shapes::StructureShape.new(name: 'UpdateChapCredentialsInput')
|
@@ -581,6 +589,14 @@ module Aws::StorageGateway
|
|
581
589
|
DeleteVolumeOutput.add_member(:volume_arn, Shapes::ShapeRef.new(shape: VolumeARN, location_name: "VolumeARN"))
|
582
590
|
DeleteVolumeOutput.struct_class = Types::DeleteVolumeOutput
|
583
591
|
|
592
|
+
DescribeAvailabilityMonitorTestInput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayARN, required: true, location_name: "GatewayARN"))
|
593
|
+
DescribeAvailabilityMonitorTestInput.struct_class = Types::DescribeAvailabilityMonitorTestInput
|
594
|
+
|
595
|
+
DescribeAvailabilityMonitorTestOutput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayARN, location_name: "GatewayARN"))
|
596
|
+
DescribeAvailabilityMonitorTestOutput.add_member(:status, Shapes::ShapeRef.new(shape: AvailabilityMonitorTestStatus, location_name: "Status"))
|
597
|
+
DescribeAvailabilityMonitorTestOutput.add_member(:start_time, Shapes::ShapeRef.new(shape: Time, location_name: "StartTime"))
|
598
|
+
DescribeAvailabilityMonitorTestOutput.struct_class = Types::DescribeAvailabilityMonitorTestOutput
|
599
|
+
|
584
600
|
DescribeBandwidthRateLimitInput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayARN, required: true, location_name: "GatewayARN"))
|
585
601
|
DescribeBandwidthRateLimitInput.struct_class = Types::DescribeBandwidthRateLimitInput
|
586
602
|
|
@@ -630,6 +646,7 @@ module Aws::StorageGateway
|
|
630
646
|
DescribeGatewayInformationOutput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
|
631
647
|
DescribeGatewayInformationOutput.add_member(:vpc_endpoint, Shapes::ShapeRef.new(shape: string, location_name: "VPCEndpoint"))
|
632
648
|
DescribeGatewayInformationOutput.add_member(:cloud_watch_log_group_arn, Shapes::ShapeRef.new(shape: CloudWatchLogGroupARN, location_name: "CloudWatchLogGroupARN"))
|
649
|
+
DescribeGatewayInformationOutput.add_member(:host_environment, Shapes::ShapeRef.new(shape: HostEnvironment, location_name: "HostEnvironment"))
|
633
650
|
DescribeGatewayInformationOutput.struct_class = Types::DescribeGatewayInformationOutput
|
634
651
|
|
635
652
|
DescribeMaintenanceStartTimeInput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayARN, required: true, location_name: "GatewayARN"))
|
@@ -660,6 +677,7 @@ module Aws::StorageGateway
|
|
660
677
|
|
661
678
|
DescribeSMBSettingsOutput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayARN, location_name: "GatewayARN"))
|
662
679
|
DescribeSMBSettingsOutput.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, location_name: "DomainName"))
|
680
|
+
DescribeSMBSettingsOutput.add_member(:active_directory_status, Shapes::ShapeRef.new(shape: ActiveDirectoryStatus, location_name: "ActiveDirectoryStatus"))
|
663
681
|
DescribeSMBSettingsOutput.add_member(:smb_guest_password_set, Shapes::ShapeRef.new(shape: Boolean, location_name: "SMBGuestPasswordSet"))
|
664
682
|
DescribeSMBSettingsOutput.add_member(:smb_security_strategy, Shapes::ShapeRef.new(shape: SMBSecurityStrategy, location_name: "SMBSecurityStrategy"))
|
665
683
|
DescribeSMBSettingsOutput.struct_class = Types::DescribeSMBSettingsOutput
|
@@ -820,11 +838,13 @@ module Aws::StorageGateway
|
|
820
838
|
JoinDomainInput.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "DomainName"))
|
821
839
|
JoinDomainInput.add_member(:organizational_unit, Shapes::ShapeRef.new(shape: OrganizationalUnit, location_name: "OrganizationalUnit"))
|
822
840
|
JoinDomainInput.add_member(:domain_controllers, Shapes::ShapeRef.new(shape: Hosts, location_name: "DomainControllers"))
|
841
|
+
JoinDomainInput.add_member(:timeout_in_seconds, Shapes::ShapeRef.new(shape: TimeoutInSeconds, location_name: "TimeoutInSeconds"))
|
823
842
|
JoinDomainInput.add_member(:user_name, Shapes::ShapeRef.new(shape: DomainUserName, required: true, location_name: "UserName"))
|
824
843
|
JoinDomainInput.add_member(:password, Shapes::ShapeRef.new(shape: DomainUserPassword, required: true, location_name: "Password"))
|
825
844
|
JoinDomainInput.struct_class = Types::JoinDomainInput
|
826
845
|
|
827
846
|
JoinDomainOutput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayARN, location_name: "GatewayARN"))
|
847
|
+
JoinDomainOutput.add_member(:active_directory_status, Shapes::ShapeRef.new(shape: ActiveDirectoryStatus, location_name: "ActiveDirectoryStatus"))
|
828
848
|
JoinDomainOutput.struct_class = Types::JoinDomainOutput
|
829
849
|
|
830
850
|
ListFileSharesInput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayARN, location_name: "GatewayARN"))
|
@@ -1018,6 +1038,12 @@ module Aws::StorageGateway
|
|
1018
1038
|
ShutdownGatewayOutput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayARN, location_name: "GatewayARN"))
|
1019
1039
|
ShutdownGatewayOutput.struct_class = Types::ShutdownGatewayOutput
|
1020
1040
|
|
1041
|
+
StartAvailabilityMonitorTestInput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayARN, required: true, location_name: "GatewayARN"))
|
1042
|
+
StartAvailabilityMonitorTestInput.struct_class = Types::StartAvailabilityMonitorTestInput
|
1043
|
+
|
1044
|
+
StartAvailabilityMonitorTestOutput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayARN, location_name: "GatewayARN"))
|
1045
|
+
StartAvailabilityMonitorTestOutput.struct_class = Types::StartAvailabilityMonitorTestOutput
|
1046
|
+
|
1021
1047
|
StartGatewayInput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayARN, required: true, location_name: "GatewayARN"))
|
1022
1048
|
StartGatewayInput.struct_class = Types::StartGatewayInput
|
1023
1049
|
|
@@ -1516,6 +1542,16 @@ module Aws::StorageGateway
|
|
1516
1542
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
1517
1543
|
end)
|
1518
1544
|
|
1545
|
+
api.add_operation(:describe_availability_monitor_test, Seahorse::Model::Operation.new.tap do |o|
|
1546
|
+
o.name = "DescribeAvailabilityMonitorTest"
|
1547
|
+
o.http_method = "POST"
|
1548
|
+
o.http_request_uri = "/"
|
1549
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeAvailabilityMonitorTestInput)
|
1550
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeAvailabilityMonitorTestOutput)
|
1551
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidGatewayRequestException)
|
1552
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
1553
|
+
end)
|
1554
|
+
|
1519
1555
|
api.add_operation(:describe_bandwidth_rate_limit, Seahorse::Model::Operation.new.tap do |o|
|
1520
1556
|
o.name = "DescribeBandwidthRateLimit"
|
1521
1557
|
o.http_method = "POST"
|
@@ -1940,6 +1976,16 @@ module Aws::StorageGateway
|
|
1940
1976
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
1941
1977
|
end)
|
1942
1978
|
|
1979
|
+
api.add_operation(:start_availability_monitor_test, Seahorse::Model::Operation.new.tap do |o|
|
1980
|
+
o.name = "StartAvailabilityMonitorTest"
|
1981
|
+
o.http_method = "POST"
|
1982
|
+
o.http_request_uri = "/"
|
1983
|
+
o.input = Shapes::ShapeRef.new(shape: StartAvailabilityMonitorTestInput)
|
1984
|
+
o.output = Shapes::ShapeRef.new(shape: StartAvailabilityMonitorTestOutput)
|
1985
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidGatewayRequestException)
|
1986
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
1987
|
+
end)
|
1988
|
+
|
1943
1989
|
api.add_operation(:start_gateway, Seahorse::Model::Operation.new.tap do |o|
|
1944
1990
|
o.name = "StartGateway"
|
1945
1991
|
o.http_method = "POST"
|
@@ -2034,6 +2034,51 @@ module Aws::StorageGateway
|
|
2034
2034
|
include Aws::Structure
|
2035
2035
|
end
|
2036
2036
|
|
2037
|
+
# @note When making an API call, you may pass DescribeAvailabilityMonitorTestInput
|
2038
|
+
# data as a hash:
|
2039
|
+
#
|
2040
|
+
# {
|
2041
|
+
# gateway_arn: "GatewayARN", # required
|
2042
|
+
# }
|
2043
|
+
#
|
2044
|
+
# @!attribute [rw] gateway_arn
|
2045
|
+
# The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
|
2046
|
+
# operation to return a list of gateways for your account and AWS
|
2047
|
+
# Region.
|
2048
|
+
# @return [String]
|
2049
|
+
#
|
2050
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeAvailabilityMonitorTestInput AWS API Documentation
|
2051
|
+
#
|
2052
|
+
class DescribeAvailabilityMonitorTestInput < Struct.new(
|
2053
|
+
:gateway_arn)
|
2054
|
+
include Aws::Structure
|
2055
|
+
end
|
2056
|
+
|
2057
|
+
# @!attribute [rw] gateway_arn
|
2058
|
+
# The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
|
2059
|
+
# operation to return a list of gateways for your account and AWS
|
2060
|
+
# Region.
|
2061
|
+
# @return [String]
|
2062
|
+
#
|
2063
|
+
# @!attribute [rw] status
|
2064
|
+
# The status of the High Availability monitoring test. If a test
|
2065
|
+
# hasn't been performed, the value of this field is null.
|
2066
|
+
# @return [String]
|
2067
|
+
#
|
2068
|
+
# @!attribute [rw] start_time
|
2069
|
+
# The time the High Availability monitoring test was started. If a
|
2070
|
+
# test hasn't been performed, the value of this field is null.
|
2071
|
+
# @return [Time]
|
2072
|
+
#
|
2073
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeAvailabilityMonitorTestOutput AWS API Documentation
|
2074
|
+
#
|
2075
|
+
class DescribeAvailabilityMonitorTestOutput < Struct.new(
|
2076
|
+
:gateway_arn,
|
2077
|
+
:status,
|
2078
|
+
:start_time)
|
2079
|
+
include Aws::Structure
|
2080
|
+
end
|
2081
|
+
|
2037
2082
|
# A JSON object containing the of the gateway.
|
2038
2083
|
#
|
2039
2084
|
# @note When making an API call, you may pass DescribeBandwidthRateLimitInput
|
@@ -2338,8 +2383,12 @@ module Aws::StorageGateway
|
|
2338
2383
|
# @return [String]
|
2339
2384
|
#
|
2340
2385
|
# @!attribute [rw] cloud_watch_log_group_arn
|
2341
|
-
# The Amazon Resource Name (ARN) of the Amazon CloudWatch
|
2342
|
-
# that
|
2386
|
+
# The Amazon Resource Name (ARN) of the Amazon CloudWatch Log Group
|
2387
|
+
# that is used to monitor events in the gateway.
|
2388
|
+
# @return [String]
|
2389
|
+
#
|
2390
|
+
# @!attribute [rw] host_environment
|
2391
|
+
# The type of hypervisor environment used by the host.
|
2343
2392
|
# @return [String]
|
2344
2393
|
#
|
2345
2394
|
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeGatewayInformationOutput AWS API Documentation
|
@@ -2358,7 +2407,8 @@ module Aws::StorageGateway
|
|
2358
2407
|
:ec2_instance_region,
|
2359
2408
|
:tags,
|
2360
2409
|
:vpc_endpoint,
|
2361
|
-
:cloud_watch_log_group_arn
|
2410
|
+
:cloud_watch_log_group_arn,
|
2411
|
+
:host_environment)
|
2362
2412
|
include Aws::Structure
|
2363
2413
|
end
|
2364
2414
|
|
@@ -2547,6 +2597,30 @@ module Aws::StorageGateway
|
|
2547
2597
|
# The name of the domain that the gateway is joined to.
|
2548
2598
|
# @return [String]
|
2549
2599
|
#
|
2600
|
+
# @!attribute [rw] active_directory_status
|
2601
|
+
# Indicates the status of a gateway that is a member of the Active
|
2602
|
+
# Directory domain.
|
2603
|
+
#
|
2604
|
+
# * ACCESS\_DENIED: Indicates that the `JoinDomain` operation failed
|
2605
|
+
# due to an authentication error.
|
2606
|
+
#
|
2607
|
+
# * DETACHED: Indicates that gateway is not joined to a domain.
|
2608
|
+
#
|
2609
|
+
# * JOINED: Indicates that the gateway has successfully joined a
|
2610
|
+
# domain.
|
2611
|
+
#
|
2612
|
+
# * JOINING: Indicates that a `JoinDomain` operation is in progress.
|
2613
|
+
#
|
2614
|
+
# * NETWORK\_ERROR: Indicates that `JoinDomain` operation failed due
|
2615
|
+
# to a network or connectivity error.
|
2616
|
+
#
|
2617
|
+
# * TIMEOUT: Indicates that the `JoinDomain` operation failed because
|
2618
|
+
# the operation didn't complete within the allotted time.
|
2619
|
+
#
|
2620
|
+
# * UNKNOWN\_ERROR: Indicates that the `JoinDomain` operation failed
|
2621
|
+
# due to another type of error.
|
2622
|
+
# @return [String]
|
2623
|
+
#
|
2550
2624
|
# @!attribute [rw] smb_guest_password_set
|
2551
2625
|
# This value is true if a password for the guest user “smbguest” is
|
2552
2626
|
# set, and otherwise false.
|
@@ -2577,6 +2651,7 @@ module Aws::StorageGateway
|
|
2577
2651
|
class DescribeSMBSettingsOutput < Struct.new(
|
2578
2652
|
:gateway_arn,
|
2579
2653
|
:domain_name,
|
2654
|
+
:active_directory_status,
|
2580
2655
|
:smb_guest_password_set,
|
2581
2656
|
:smb_security_strategy)
|
2582
2657
|
include Aws::Structure
|
@@ -3422,6 +3497,7 @@ module Aws::StorageGateway
|
|
3422
3497
|
# domain_name: "DomainName", # required
|
3423
3498
|
# organizational_unit: "OrganizationalUnit",
|
3424
3499
|
# domain_controllers: ["Host"],
|
3500
|
+
# timeout_in_seconds: 1,
|
3425
3501
|
# user_name: "DomainUserName", # required
|
3426
3502
|
# password: "DomainUserPassword", # required
|
3427
3503
|
# }
|
@@ -3449,9 +3525,17 @@ module Aws::StorageGateway
|
|
3449
3525
|
# colon (“:”). For example, `mydc.mydomain.com:389`.
|
3450
3526
|
# @return [Array<String>]
|
3451
3527
|
#
|
3528
|
+
# @!attribute [rw] timeout_in_seconds
|
3529
|
+
# Specifies the time in seconds, in which the `JoinDomain` operation
|
3530
|
+
# must complete. The default is 20 seconds.
|
3531
|
+
# @return [Integer]
|
3532
|
+
#
|
3452
3533
|
# @!attribute [rw] user_name
|
3453
3534
|
# Sets the user name of user who has permission to add the gateway to
|
3454
|
-
# the Active Directory domain.
|
3535
|
+
# the Active Directory domain. The domain user account should be
|
3536
|
+
# enabled to join computers to the domain. For example, you can use
|
3537
|
+
# the domain administrator account or an account with delegated
|
3538
|
+
# permissions to join computers to the domain.
|
3455
3539
|
# @return [String]
|
3456
3540
|
#
|
3457
3541
|
# @!attribute [rw] password
|
@@ -3466,6 +3550,7 @@ module Aws::StorageGateway
|
|
3466
3550
|
:domain_name,
|
3467
3551
|
:organizational_unit,
|
3468
3552
|
:domain_controllers,
|
3553
|
+
:timeout_in_seconds,
|
3469
3554
|
:user_name,
|
3470
3555
|
:password)
|
3471
3556
|
include Aws::Structure
|
@@ -3478,10 +3563,35 @@ module Aws::StorageGateway
|
|
3478
3563
|
# domain.
|
3479
3564
|
# @return [String]
|
3480
3565
|
#
|
3566
|
+
# @!attribute [rw] active_directory_status
|
3567
|
+
# Indicates the status of the gateway as a member of the Active
|
3568
|
+
# Directory domain.
|
3569
|
+
#
|
3570
|
+
# * ACCESS\_DENIED: Indicates that the `JoinDomain` operation failed
|
3571
|
+
# due to an authentication error.
|
3572
|
+
#
|
3573
|
+
# * DETACHED: Indicates that gateway is not joined to a domain.
|
3574
|
+
#
|
3575
|
+
# * JOINED: Indicates that the gateway has successfully joined a
|
3576
|
+
# domain.
|
3577
|
+
#
|
3578
|
+
# * JOINING: Indicates that a `JoinDomain` operation is in progress.
|
3579
|
+
#
|
3580
|
+
# * NETWORK\_ERROR: Indicates that `JoinDomain` operation failed due
|
3581
|
+
# to a network or connectivity error.
|
3582
|
+
#
|
3583
|
+
# * TIMEOUT: Indicates that the `JoinDomain` operation failed because
|
3584
|
+
# the operation didn't complete within the allotted time.
|
3585
|
+
#
|
3586
|
+
# * UNKNOWN\_ERROR: Indicates that the `JoinDomain` operation failed
|
3587
|
+
# due to another type of error.
|
3588
|
+
# @return [String]
|
3589
|
+
#
|
3481
3590
|
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/JoinDomainOutput AWS API Documentation
|
3482
3591
|
#
|
3483
3592
|
class JoinDomainOutput < Struct.new(
|
3484
|
-
:gateway_arn
|
3593
|
+
:gateway_arn,
|
3594
|
+
:active_directory_status)
|
3485
3595
|
include Aws::Structure
|
3486
3596
|
end
|
3487
3597
|
|
@@ -4693,6 +4803,39 @@ module Aws::StorageGateway
|
|
4693
4803
|
include Aws::Structure
|
4694
4804
|
end
|
4695
4805
|
|
4806
|
+
# @note When making an API call, you may pass StartAvailabilityMonitorTestInput
|
4807
|
+
# data as a hash:
|
4808
|
+
#
|
4809
|
+
# {
|
4810
|
+
# gateway_arn: "GatewayARN", # required
|
4811
|
+
# }
|
4812
|
+
#
|
4813
|
+
# @!attribute [rw] gateway_arn
|
4814
|
+
# The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
|
4815
|
+
# operation to return a list of gateways for your account and AWS
|
4816
|
+
# Region.
|
4817
|
+
# @return [String]
|
4818
|
+
#
|
4819
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/StartAvailabilityMonitorTestInput AWS API Documentation
|
4820
|
+
#
|
4821
|
+
class StartAvailabilityMonitorTestInput < Struct.new(
|
4822
|
+
:gateway_arn)
|
4823
|
+
include Aws::Structure
|
4824
|
+
end
|
4825
|
+
|
4826
|
+
# @!attribute [rw] gateway_arn
|
4827
|
+
# The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
|
4828
|
+
# operation to return a list of gateways for your account and AWS
|
4829
|
+
# Region.
|
4830
|
+
# @return [String]
|
4831
|
+
#
|
4832
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/StartAvailabilityMonitorTestOutput AWS API Documentation
|
4833
|
+
#
|
4834
|
+
class StartAvailabilityMonitorTestOutput < Struct.new(
|
4835
|
+
:gateway_arn)
|
4836
|
+
include Aws::Structure
|
4837
|
+
end
|
4838
|
+
|
4696
4839
|
# A JSON object containing the of the gateway to start.
|
4697
4840
|
#
|
4698
4841
|
# @note When making an API call, you may pass StartGatewayInput
|
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.34.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-
|
11
|
+
date: 2019-11-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|