aws-sdk-backupgateway 1.3.0 → 1.5.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/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-backupgateway/client.rb +118 -1
- data/lib/aws-sdk-backupgateway/client_api.rb +111 -0
- data/lib/aws-sdk-backupgateway/errors.rb +21 -0
- data/lib/aws-sdk-backupgateway/types.rb +268 -2
- data/lib/aws-sdk-backupgateway.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 721bd3ad6d15ed76b7bcd3bee66970aba8b959baf5fd9df735e277dcd2ef65a6
|
4
|
+
data.tar.gz: 401cb059a7d268e56529aa7fda491e71bebd0fba605c1750127fec4f83d72909
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d86c6a9b55e1fd8722c93e4c4d9db31e297c5e2f00552e1a1cf681929896f1aac4add3470482e6f4bf01078336fdeeb7283f2fa5da2fcbd1612926f6203a2d4
|
7
|
+
data.tar.gz: 32787e682b2887d577d578fd1d1e89761cb92fa6efc154329a901afbe358627f5a2564c919d996b0d5f2155083e14f8e6ec353246196fd89ede32d007379a640
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.5.0 (2022-09-22)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Changes include: new GetVirtualMachineApi to fetch a single user's VM, improving ListVirtualMachines to fetch filtered VMs as well as all VMs, and improving GetGatewayApi to now also return the gateway's MaintenanceStartTime.
|
8
|
+
|
9
|
+
1.4.0 (2022-06-01)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Adds GetGateway and UpdateGatewaySoftwareNow API and adds hypervisor name to UpdateHypervisor API
|
13
|
+
|
4
14
|
1.3.0 (2022-02-24)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.5.0
|
@@ -532,6 +532,79 @@ module Aws::BackupGateway
|
|
532
532
|
req.send_request(options)
|
533
533
|
end
|
534
534
|
|
535
|
+
# By providing the ARN (Amazon Resource Name), this API returns the
|
536
|
+
# gateway.
|
537
|
+
#
|
538
|
+
# @option params [required, String] :gateway_arn
|
539
|
+
# The Amazon Resource Name (ARN) of the gateway.
|
540
|
+
#
|
541
|
+
# @return [Types::GetGatewayOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
542
|
+
#
|
543
|
+
# * {Types::GetGatewayOutput#gateway #gateway} => Types::GatewayDetails
|
544
|
+
#
|
545
|
+
# @example Request syntax with placeholder values
|
546
|
+
#
|
547
|
+
# resp = client.get_gateway({
|
548
|
+
# gateway_arn: "GatewayArn", # required
|
549
|
+
# })
|
550
|
+
#
|
551
|
+
# @example Response structure
|
552
|
+
#
|
553
|
+
# resp.gateway.gateway_arn #=> String
|
554
|
+
# resp.gateway.gateway_display_name #=> String
|
555
|
+
# resp.gateway.gateway_type #=> String, one of "BACKUP_VM"
|
556
|
+
# resp.gateway.hypervisor_id #=> String
|
557
|
+
# resp.gateway.last_seen_time #=> Time
|
558
|
+
# resp.gateway.maintenance_start_time.day_of_month #=> Integer
|
559
|
+
# resp.gateway.maintenance_start_time.day_of_week #=> Integer
|
560
|
+
# resp.gateway.maintenance_start_time.hour_of_day #=> Integer
|
561
|
+
# resp.gateway.maintenance_start_time.minute_of_hour #=> Integer
|
562
|
+
# resp.gateway.next_update_availability_time #=> Time
|
563
|
+
# resp.gateway.vpc_endpoint #=> String
|
564
|
+
#
|
565
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/GetGateway AWS API Documentation
|
566
|
+
#
|
567
|
+
# @overload get_gateway(params = {})
|
568
|
+
# @param [Hash] params ({})
|
569
|
+
def get_gateway(params = {}, options = {})
|
570
|
+
req = build_request(:get_gateway, params)
|
571
|
+
req.send_request(options)
|
572
|
+
end
|
573
|
+
|
574
|
+
# By providing the ARN (Amazon Resource Name), this API returns the
|
575
|
+
# virtual machine.
|
576
|
+
#
|
577
|
+
# @option params [required, String] :resource_arn
|
578
|
+
# The Amazon Resource Name (ARN) of the virtual machine.
|
579
|
+
#
|
580
|
+
# @return [Types::GetVirtualMachineOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
581
|
+
#
|
582
|
+
# * {Types::GetVirtualMachineOutput#virtual_machine #virtual_machine} => Types::VirtualMachineDetails
|
583
|
+
#
|
584
|
+
# @example Request syntax with placeholder values
|
585
|
+
#
|
586
|
+
# resp = client.get_virtual_machine({
|
587
|
+
# resource_arn: "ResourceArn", # required
|
588
|
+
# })
|
589
|
+
#
|
590
|
+
# @example Response structure
|
591
|
+
#
|
592
|
+
# resp.virtual_machine.host_name #=> String
|
593
|
+
# resp.virtual_machine.hypervisor_id #=> String
|
594
|
+
# resp.virtual_machine.last_backup_date #=> Time
|
595
|
+
# resp.virtual_machine.name #=> String
|
596
|
+
# resp.virtual_machine.path #=> String
|
597
|
+
# resp.virtual_machine.resource_arn #=> String
|
598
|
+
#
|
599
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/GetVirtualMachine AWS API Documentation
|
600
|
+
#
|
601
|
+
# @overload get_virtual_machine(params = {})
|
602
|
+
# @param [Hash] params ({})
|
603
|
+
def get_virtual_machine(params = {}, options = {})
|
604
|
+
req = build_request(:get_virtual_machine, params)
|
605
|
+
req.send_request(options)
|
606
|
+
end
|
607
|
+
|
535
608
|
# Connect to a hypervisor by importing its configuration.
|
536
609
|
#
|
537
610
|
# @option params [required, String] :host
|
@@ -711,6 +784,10 @@ module Aws::BackupGateway
|
|
711
784
|
|
712
785
|
# Lists your virtual machines.
|
713
786
|
#
|
787
|
+
# @option params [String] :hypervisor_arn
|
788
|
+
# The Amazon Resource Name (ARN) of the hypervisor connected to your
|
789
|
+
# virtual machine.
|
790
|
+
#
|
714
791
|
# @option params [Integer] :max_results
|
715
792
|
# The maximum number of virtual machines to list.
|
716
793
|
#
|
@@ -730,6 +807,7 @@ module Aws::BackupGateway
|
|
730
807
|
# @example Request syntax with placeholder values
|
731
808
|
#
|
732
809
|
# resp = client.list_virtual_machines({
|
810
|
+
# hypervisor_arn: "ServerArn",
|
733
811
|
# max_results: 1,
|
734
812
|
# next_token: "NextToken",
|
735
813
|
# })
|
@@ -941,6 +1019,41 @@ module Aws::BackupGateway
|
|
941
1019
|
req.send_request(options)
|
942
1020
|
end
|
943
1021
|
|
1022
|
+
# Updates the gateway virtual machine (VM) software. The request
|
1023
|
+
# immediately triggers the software update.
|
1024
|
+
#
|
1025
|
+
# <note markdown="1"> When you make this request, you get a `200 OK` success response
|
1026
|
+
# immediately. However, it might take some time for the update to
|
1027
|
+
# complete.
|
1028
|
+
#
|
1029
|
+
# </note>
|
1030
|
+
#
|
1031
|
+
# @option params [required, String] :gateway_arn
|
1032
|
+
# The Amazon Resource Name (ARN) of the gateway to be updated.
|
1033
|
+
#
|
1034
|
+
# @return [Types::UpdateGatewaySoftwareNowOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1035
|
+
#
|
1036
|
+
# * {Types::UpdateGatewaySoftwareNowOutput#gateway_arn #gateway_arn} => String
|
1037
|
+
#
|
1038
|
+
# @example Request syntax with placeholder values
|
1039
|
+
#
|
1040
|
+
# resp = client.update_gateway_software_now({
|
1041
|
+
# gateway_arn: "GatewayArn", # required
|
1042
|
+
# })
|
1043
|
+
#
|
1044
|
+
# @example Response structure
|
1045
|
+
#
|
1046
|
+
# resp.gateway_arn #=> String
|
1047
|
+
#
|
1048
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/UpdateGatewaySoftwareNow AWS API Documentation
|
1049
|
+
#
|
1050
|
+
# @overload update_gateway_software_now(params = {})
|
1051
|
+
# @param [Hash] params ({})
|
1052
|
+
def update_gateway_software_now(params = {}, options = {})
|
1053
|
+
req = build_request(:update_gateway_software_now, params)
|
1054
|
+
req.send_request(options)
|
1055
|
+
end
|
1056
|
+
|
944
1057
|
# Updates a hypervisor metadata, including its host, username, and
|
945
1058
|
# password. Specify which hypervisor to update using the Amazon Resource
|
946
1059
|
# Name (ARN) of the hypervisor in your request.
|
@@ -952,6 +1065,9 @@ module Aws::BackupGateway
|
|
952
1065
|
# @option params [required, String] :hypervisor_arn
|
953
1066
|
# The Amazon Resource Name (ARN) of the hypervisor to update.
|
954
1067
|
#
|
1068
|
+
# @option params [String] :name
|
1069
|
+
# The updated name for the hypervisor
|
1070
|
+
#
|
955
1071
|
# @option params [String] :password
|
956
1072
|
# The updated password for the hypervisor.
|
957
1073
|
#
|
@@ -967,6 +1083,7 @@ module Aws::BackupGateway
|
|
967
1083
|
# resp = client.update_hypervisor({
|
968
1084
|
# host: "Host",
|
969
1085
|
# hypervisor_arn: "ServerArn", # required
|
1086
|
+
# name: "Name",
|
970
1087
|
# password: "Password",
|
971
1088
|
# username: "Username",
|
972
1089
|
# })
|
@@ -997,7 +1114,7 @@ module Aws::BackupGateway
|
|
997
1114
|
params: params,
|
998
1115
|
config: config)
|
999
1116
|
context[:gem_name] = 'aws-sdk-backupgateway'
|
1000
|
-
context[:gem_version] = '1.
|
1117
|
+
context[:gem_version] = '1.5.0'
|
1001
1118
|
Seahorse::Client::Request.new(handlers, context)
|
1002
1119
|
end
|
1003
1120
|
|
@@ -30,8 +30,13 @@ module Aws::BackupGateway
|
|
30
30
|
DisassociateGatewayFromServerOutput = Shapes::StructureShape.new(name: 'DisassociateGatewayFromServerOutput')
|
31
31
|
Gateway = Shapes::StructureShape.new(name: 'Gateway')
|
32
32
|
GatewayArn = Shapes::StringShape.new(name: 'GatewayArn')
|
33
|
+
GatewayDetails = Shapes::StructureShape.new(name: 'GatewayDetails')
|
33
34
|
GatewayType = Shapes::StringShape.new(name: 'GatewayType')
|
34
35
|
Gateways = Shapes::ListShape.new(name: 'Gateways')
|
36
|
+
GetGatewayInput = Shapes::StructureShape.new(name: 'GetGatewayInput')
|
37
|
+
GetGatewayOutput = Shapes::StructureShape.new(name: 'GetGatewayOutput')
|
38
|
+
GetVirtualMachineInput = Shapes::StructureShape.new(name: 'GetVirtualMachineInput')
|
39
|
+
GetVirtualMachineOutput = Shapes::StructureShape.new(name: 'GetVirtualMachineOutput')
|
35
40
|
Host = Shapes::StringShape.new(name: 'Host')
|
36
41
|
HourOfDay = Shapes::IntegerShape.new(name: 'HourOfDay')
|
37
42
|
Hypervisor = Shapes::StructureShape.new(name: 'Hypervisor')
|
@@ -50,6 +55,7 @@ module Aws::BackupGateway
|
|
50
55
|
ListTagsForResourceOutput = Shapes::StructureShape.new(name: 'ListTagsForResourceOutput')
|
51
56
|
ListVirtualMachinesInput = Shapes::StructureShape.new(name: 'ListVirtualMachinesInput')
|
52
57
|
ListVirtualMachinesOutput = Shapes::StructureShape.new(name: 'ListVirtualMachinesOutput')
|
58
|
+
MaintenanceStartTime = Shapes::StructureShape.new(name: 'MaintenanceStartTime')
|
53
59
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
54
60
|
MinuteOfHour = Shapes::IntegerShape.new(name: 'MinuteOfHour')
|
55
61
|
Name = Shapes::StringShape.new(name: 'Name')
|
@@ -70,17 +76,22 @@ module Aws::BackupGateway
|
|
70
76
|
Tags = Shapes::ListShape.new(name: 'Tags')
|
71
77
|
TestHypervisorConfigurationInput = Shapes::StructureShape.new(name: 'TestHypervisorConfigurationInput')
|
72
78
|
TestHypervisorConfigurationOutput = Shapes::StructureShape.new(name: 'TestHypervisorConfigurationOutput')
|
79
|
+
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
73
80
|
Time = Shapes::TimestampShape.new(name: 'Time')
|
74
81
|
UntagResourceInput = Shapes::StructureShape.new(name: 'UntagResourceInput')
|
75
82
|
UntagResourceOutput = Shapes::StructureShape.new(name: 'UntagResourceOutput')
|
76
83
|
UpdateGatewayInformationInput = Shapes::StructureShape.new(name: 'UpdateGatewayInformationInput')
|
77
84
|
UpdateGatewayInformationOutput = Shapes::StructureShape.new(name: 'UpdateGatewayInformationOutput')
|
85
|
+
UpdateGatewaySoftwareNowInput = Shapes::StructureShape.new(name: 'UpdateGatewaySoftwareNowInput')
|
86
|
+
UpdateGatewaySoftwareNowOutput = Shapes::StructureShape.new(name: 'UpdateGatewaySoftwareNowOutput')
|
78
87
|
UpdateHypervisorInput = Shapes::StructureShape.new(name: 'UpdateHypervisorInput')
|
79
88
|
UpdateHypervisorOutput = Shapes::StructureShape.new(name: 'UpdateHypervisorOutput')
|
80
89
|
Username = Shapes::StringShape.new(name: 'Username')
|
81
90
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
82
91
|
VirtualMachine = Shapes::StructureShape.new(name: 'VirtualMachine')
|
92
|
+
VirtualMachineDetails = Shapes::StructureShape.new(name: 'VirtualMachineDetails')
|
83
93
|
VirtualMachines = Shapes::ListShape.new(name: 'VirtualMachines')
|
94
|
+
VpcEndpoint = Shapes::StringShape.new(name: 'VpcEndpoint')
|
84
95
|
string = Shapes::StringShape.new(name: 'string')
|
85
96
|
|
86
97
|
AccessDeniedException.add_member(:error_code, Shapes::ShapeRef.new(shape: string, required: true, location_name: "ErrorCode"))
|
@@ -132,8 +143,30 @@ module Aws::BackupGateway
|
|
132
143
|
Gateway.add_member(:last_seen_time, Shapes::ShapeRef.new(shape: Time, location_name: "LastSeenTime"))
|
133
144
|
Gateway.struct_class = Types::Gateway
|
134
145
|
|
146
|
+
GatewayDetails.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayArn, location_name: "GatewayArn"))
|
147
|
+
GatewayDetails.add_member(:gateway_display_name, Shapes::ShapeRef.new(shape: Name, location_name: "GatewayDisplayName"))
|
148
|
+
GatewayDetails.add_member(:gateway_type, Shapes::ShapeRef.new(shape: GatewayType, location_name: "GatewayType"))
|
149
|
+
GatewayDetails.add_member(:hypervisor_id, Shapes::ShapeRef.new(shape: HypervisorId, location_name: "HypervisorId"))
|
150
|
+
GatewayDetails.add_member(:last_seen_time, Shapes::ShapeRef.new(shape: Time, location_name: "LastSeenTime"))
|
151
|
+
GatewayDetails.add_member(:maintenance_start_time, Shapes::ShapeRef.new(shape: MaintenanceStartTime, location_name: "MaintenanceStartTime"))
|
152
|
+
GatewayDetails.add_member(:next_update_availability_time, Shapes::ShapeRef.new(shape: Time, location_name: "NextUpdateAvailabilityTime"))
|
153
|
+
GatewayDetails.add_member(:vpc_endpoint, Shapes::ShapeRef.new(shape: VpcEndpoint, location_name: "VpcEndpoint"))
|
154
|
+
GatewayDetails.struct_class = Types::GatewayDetails
|
155
|
+
|
135
156
|
Gateways.member = Shapes::ShapeRef.new(shape: Gateway)
|
136
157
|
|
158
|
+
GetGatewayInput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayArn, required: true, location_name: "GatewayArn"))
|
159
|
+
GetGatewayInput.struct_class = Types::GetGatewayInput
|
160
|
+
|
161
|
+
GetGatewayOutput.add_member(:gateway, Shapes::ShapeRef.new(shape: GatewayDetails, location_name: "Gateway"))
|
162
|
+
GetGatewayOutput.struct_class = Types::GetGatewayOutput
|
163
|
+
|
164
|
+
GetVirtualMachineInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "ResourceArn"))
|
165
|
+
GetVirtualMachineInput.struct_class = Types::GetVirtualMachineInput
|
166
|
+
|
167
|
+
GetVirtualMachineOutput.add_member(:virtual_machine, Shapes::ShapeRef.new(shape: VirtualMachineDetails, location_name: "VirtualMachine"))
|
168
|
+
GetVirtualMachineOutput.struct_class = Types::GetVirtualMachineOutput
|
169
|
+
|
137
170
|
Hypervisor.add_member(:host, Shapes::ShapeRef.new(shape: Host, location_name: "Host"))
|
138
171
|
Hypervisor.add_member(:hypervisor_arn, Shapes::ShapeRef.new(shape: ServerArn, location_name: "HypervisorArn"))
|
139
172
|
Hypervisor.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "KmsKeyArn"))
|
@@ -181,6 +214,7 @@ module Aws::BackupGateway
|
|
181
214
|
ListTagsForResourceOutput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
|
182
215
|
ListTagsForResourceOutput.struct_class = Types::ListTagsForResourceOutput
|
183
216
|
|
217
|
+
ListVirtualMachinesInput.add_member(:hypervisor_arn, Shapes::ShapeRef.new(shape: ServerArn, location_name: "HypervisorArn"))
|
184
218
|
ListVirtualMachinesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
185
219
|
ListVirtualMachinesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
186
220
|
ListVirtualMachinesInput.struct_class = Types::ListVirtualMachinesInput
|
@@ -189,6 +223,12 @@ module Aws::BackupGateway
|
|
189
223
|
ListVirtualMachinesOutput.add_member(:virtual_machines, Shapes::ShapeRef.new(shape: VirtualMachines, location_name: "VirtualMachines"))
|
190
224
|
ListVirtualMachinesOutput.struct_class = Types::ListVirtualMachinesOutput
|
191
225
|
|
226
|
+
MaintenanceStartTime.add_member(:day_of_month, Shapes::ShapeRef.new(shape: DayOfMonth, location_name: "DayOfMonth"))
|
227
|
+
MaintenanceStartTime.add_member(:day_of_week, Shapes::ShapeRef.new(shape: DayOfWeek, location_name: "DayOfWeek"))
|
228
|
+
MaintenanceStartTime.add_member(:hour_of_day, Shapes::ShapeRef.new(shape: HourOfDay, required: true, location_name: "HourOfDay"))
|
229
|
+
MaintenanceStartTime.add_member(:minute_of_hour, Shapes::ShapeRef.new(shape: MinuteOfHour, required: true, location_name: "MinuteOfHour"))
|
230
|
+
MaintenanceStartTime.struct_class = Types::MaintenanceStartTime
|
231
|
+
|
192
232
|
PutMaintenanceStartTimeInput.add_member(:day_of_month, Shapes::ShapeRef.new(shape: DayOfMonth, location_name: "DayOfMonth"))
|
193
233
|
PutMaintenanceStartTimeInput.add_member(:day_of_week, Shapes::ShapeRef.new(shape: DayOfWeek, location_name: "DayOfWeek"))
|
194
234
|
PutMaintenanceStartTimeInput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayArn, required: true, location_name: "GatewayArn"))
|
@@ -226,6 +266,10 @@ module Aws::BackupGateway
|
|
226
266
|
|
227
267
|
TestHypervisorConfigurationOutput.struct_class = Types::TestHypervisorConfigurationOutput
|
228
268
|
|
269
|
+
ThrottlingException.add_member(:error_code, Shapes::ShapeRef.new(shape: string, required: true, location_name: "ErrorCode"))
|
270
|
+
ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
|
271
|
+
ThrottlingException.struct_class = Types::ThrottlingException
|
272
|
+
|
229
273
|
UntagResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "ResourceARN"))
|
230
274
|
UntagResourceInput.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeys, required: true, location_name: "TagKeys"))
|
231
275
|
UntagResourceInput.struct_class = Types::UntagResourceInput
|
@@ -240,8 +284,15 @@ module Aws::BackupGateway
|
|
240
284
|
UpdateGatewayInformationOutput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayArn, location_name: "GatewayArn"))
|
241
285
|
UpdateGatewayInformationOutput.struct_class = Types::UpdateGatewayInformationOutput
|
242
286
|
|
287
|
+
UpdateGatewaySoftwareNowInput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayArn, required: true, location_name: "GatewayArn"))
|
288
|
+
UpdateGatewaySoftwareNowInput.struct_class = Types::UpdateGatewaySoftwareNowInput
|
289
|
+
|
290
|
+
UpdateGatewaySoftwareNowOutput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayArn, location_name: "GatewayArn"))
|
291
|
+
UpdateGatewaySoftwareNowOutput.struct_class = Types::UpdateGatewaySoftwareNowOutput
|
292
|
+
|
243
293
|
UpdateHypervisorInput.add_member(:host, Shapes::ShapeRef.new(shape: Host, location_name: "Host"))
|
244
294
|
UpdateHypervisorInput.add_member(:hypervisor_arn, Shapes::ShapeRef.new(shape: ServerArn, required: true, location_name: "HypervisorArn"))
|
295
|
+
UpdateHypervisorInput.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "Name"))
|
245
296
|
UpdateHypervisorInput.add_member(:password, Shapes::ShapeRef.new(shape: Password, location_name: "Password"))
|
246
297
|
UpdateHypervisorInput.add_member(:username, Shapes::ShapeRef.new(shape: Username, location_name: "Username"))
|
247
298
|
UpdateHypervisorInput.struct_class = Types::UpdateHypervisorInput
|
@@ -261,6 +312,14 @@ module Aws::BackupGateway
|
|
261
312
|
VirtualMachine.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "ResourceArn"))
|
262
313
|
VirtualMachine.struct_class = Types::VirtualMachine
|
263
314
|
|
315
|
+
VirtualMachineDetails.add_member(:host_name, Shapes::ShapeRef.new(shape: Name, location_name: "HostName"))
|
316
|
+
VirtualMachineDetails.add_member(:hypervisor_id, Shapes::ShapeRef.new(shape: string, location_name: "HypervisorId"))
|
317
|
+
VirtualMachineDetails.add_member(:last_backup_date, Shapes::ShapeRef.new(shape: Time, location_name: "LastBackupDate"))
|
318
|
+
VirtualMachineDetails.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "Name"))
|
319
|
+
VirtualMachineDetails.add_member(:path, Shapes::ShapeRef.new(shape: Path, location_name: "Path"))
|
320
|
+
VirtualMachineDetails.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "ResourceArn"))
|
321
|
+
VirtualMachineDetails.struct_class = Types::VirtualMachineDetails
|
322
|
+
|
264
323
|
VirtualMachines.member = Shapes::ShapeRef.new(shape: VirtualMachine)
|
265
324
|
|
266
325
|
|
@@ -291,6 +350,7 @@ module Aws::BackupGateway
|
|
291
350
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
292
351
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
293
352
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
353
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
294
354
|
end)
|
295
355
|
|
296
356
|
api.add_operation(:create_gateway, Seahorse::Model::Operation.new.tap do |o|
|
@@ -301,6 +361,7 @@ module Aws::BackupGateway
|
|
301
361
|
o.output = Shapes::ShapeRef.new(shape: CreateGatewayOutput)
|
302
362
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
303
363
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
364
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
304
365
|
end)
|
305
366
|
|
306
367
|
api.add_operation(:delete_gateway, Seahorse::Model::Operation.new.tap do |o|
|
@@ -312,6 +373,7 @@ module Aws::BackupGateway
|
|
312
373
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
313
374
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
314
375
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
376
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
315
377
|
end)
|
316
378
|
|
317
379
|
api.add_operation(:delete_hypervisor, Seahorse::Model::Operation.new.tap do |o|
|
@@ -324,6 +386,7 @@ module Aws::BackupGateway
|
|
324
386
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
325
387
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
326
388
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
389
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
327
390
|
end)
|
328
391
|
|
329
392
|
api.add_operation(:disassociate_gateway_from_server, Seahorse::Model::Operation.new.tap do |o|
|
@@ -336,6 +399,31 @@ module Aws::BackupGateway
|
|
336
399
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
337
400
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
338
401
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
402
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
403
|
+
end)
|
404
|
+
|
405
|
+
api.add_operation(:get_gateway, Seahorse::Model::Operation.new.tap do |o|
|
406
|
+
o.name = "GetGateway"
|
407
|
+
o.http_method = "POST"
|
408
|
+
o.http_request_uri = "/"
|
409
|
+
o.input = Shapes::ShapeRef.new(shape: GetGatewayInput)
|
410
|
+
o.output = Shapes::ShapeRef.new(shape: GetGatewayOutput)
|
411
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
412
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
413
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
414
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
415
|
+
end)
|
416
|
+
|
417
|
+
api.add_operation(:get_virtual_machine, Seahorse::Model::Operation.new.tap do |o|
|
418
|
+
o.name = "GetVirtualMachine"
|
419
|
+
o.http_method = "POST"
|
420
|
+
o.http_request_uri = "/"
|
421
|
+
o.input = Shapes::ShapeRef.new(shape: GetVirtualMachineInput)
|
422
|
+
o.output = Shapes::ShapeRef.new(shape: GetVirtualMachineOutput)
|
423
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
424
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
425
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
426
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
339
427
|
end)
|
340
428
|
|
341
429
|
api.add_operation(:import_hypervisor_configuration, Seahorse::Model::Operation.new.tap do |o|
|
@@ -347,6 +435,7 @@ module Aws::BackupGateway
|
|
347
435
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
348
436
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
349
437
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
438
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
350
439
|
end)
|
351
440
|
|
352
441
|
api.add_operation(:list_gateways, Seahorse::Model::Operation.new.tap do |o|
|
@@ -357,6 +446,7 @@ module Aws::BackupGateway
|
|
357
446
|
o.output = Shapes::ShapeRef.new(shape: ListGatewaysOutput)
|
358
447
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
359
448
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
449
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
360
450
|
o[:pager] = Aws::Pager.new(
|
361
451
|
limit_key: "max_results",
|
362
452
|
tokens: {
|
@@ -373,6 +463,7 @@ module Aws::BackupGateway
|
|
373
463
|
o.output = Shapes::ShapeRef.new(shape: ListHypervisorsOutput)
|
374
464
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
375
465
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
466
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
376
467
|
o[:pager] = Aws::Pager.new(
|
377
468
|
limit_key: "max_results",
|
378
469
|
tokens: {
|
@@ -390,6 +481,7 @@ module Aws::BackupGateway
|
|
390
481
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
391
482
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
392
483
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
484
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
393
485
|
end)
|
394
486
|
|
395
487
|
api.add_operation(:list_virtual_machines, Seahorse::Model::Operation.new.tap do |o|
|
@@ -400,6 +492,7 @@ module Aws::BackupGateway
|
|
400
492
|
o.output = Shapes::ShapeRef.new(shape: ListVirtualMachinesOutput)
|
401
493
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
402
494
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
495
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
403
496
|
o[:pager] = Aws::Pager.new(
|
404
497
|
limit_key: "max_results",
|
405
498
|
tokens: {
|
@@ -418,6 +511,7 @@ module Aws::BackupGateway
|
|
418
511
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
419
512
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
420
513
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
514
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
421
515
|
end)
|
422
516
|
|
423
517
|
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
@@ -429,6 +523,7 @@ module Aws::BackupGateway
|
|
429
523
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
430
524
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
431
525
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
526
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
432
527
|
end)
|
433
528
|
|
434
529
|
api.add_operation(:test_hypervisor_configuration, Seahorse::Model::Operation.new.tap do |o|
|
@@ -441,6 +536,7 @@ module Aws::BackupGateway
|
|
441
536
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
442
537
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
443
538
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
539
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
444
540
|
end)
|
445
541
|
|
446
542
|
api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
|
@@ -452,6 +548,7 @@ module Aws::BackupGateway
|
|
452
548
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
453
549
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
454
550
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
551
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
455
552
|
end)
|
456
553
|
|
457
554
|
api.add_operation(:update_gateway_information, Seahorse::Model::Operation.new.tap do |o|
|
@@ -464,6 +561,19 @@ module Aws::BackupGateway
|
|
464
561
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
465
562
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
466
563
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
564
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
565
|
+
end)
|
566
|
+
|
567
|
+
api.add_operation(:update_gateway_software_now, Seahorse::Model::Operation.new.tap do |o|
|
568
|
+
o.name = "UpdateGatewaySoftwareNow"
|
569
|
+
o.http_method = "POST"
|
570
|
+
o.http_request_uri = "/"
|
571
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateGatewaySoftwareNowInput)
|
572
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateGatewaySoftwareNowOutput)
|
573
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
574
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
575
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
576
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
467
577
|
end)
|
468
578
|
|
469
579
|
api.add_operation(:update_hypervisor, Seahorse::Model::Operation.new.tap do |o|
|
@@ -476,6 +586,7 @@ module Aws::BackupGateway
|
|
476
586
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
477
587
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
478
588
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
589
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
479
590
|
end)
|
480
591
|
end
|
481
592
|
|
@@ -31,6 +31,7 @@ module Aws::BackupGateway
|
|
31
31
|
# * {ConflictException}
|
32
32
|
# * {InternalServerException}
|
33
33
|
# * {ResourceNotFoundException}
|
34
|
+
# * {ThrottlingException}
|
34
35
|
# * {ValidationException}
|
35
36
|
#
|
36
37
|
# Additionally, error classes are dynamically generated for service errors based on the error code
|
@@ -119,6 +120,26 @@ module Aws::BackupGateway
|
|
119
120
|
end
|
120
121
|
end
|
121
122
|
|
123
|
+
class ThrottlingException < ServiceError
|
124
|
+
|
125
|
+
# @param [Seahorse::Client::RequestContext] context
|
126
|
+
# @param [String] message
|
127
|
+
# @param [Aws::BackupGateway::Types::ThrottlingException] data
|
128
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
129
|
+
super(context, message, data)
|
130
|
+
end
|
131
|
+
|
132
|
+
# @return [String]
|
133
|
+
def error_code
|
134
|
+
@data[:error_code]
|
135
|
+
end
|
136
|
+
|
137
|
+
# @return [String]
|
138
|
+
def message
|
139
|
+
@message || @data[:message]
|
140
|
+
end
|
141
|
+
end
|
142
|
+
|
122
143
|
class ValidationException < ServiceError
|
123
144
|
|
124
145
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -274,6 +274,125 @@ module Aws::BackupGateway
|
|
274
274
|
include Aws::Structure
|
275
275
|
end
|
276
276
|
|
277
|
+
# The details of gateway.
|
278
|
+
#
|
279
|
+
# @!attribute [rw] gateway_arn
|
280
|
+
# The Amazon Resource Name (ARN) of the gateway. Use the
|
281
|
+
# `ListGateways` operation to return a list of gateways for your
|
282
|
+
# account and Amazon Web Services Region.
|
283
|
+
# @return [String]
|
284
|
+
#
|
285
|
+
# @!attribute [rw] gateway_display_name
|
286
|
+
# The display name of the gateway.
|
287
|
+
# @return [String]
|
288
|
+
#
|
289
|
+
# @!attribute [rw] gateway_type
|
290
|
+
# The type of the gateway type.
|
291
|
+
# @return [String]
|
292
|
+
#
|
293
|
+
# @!attribute [rw] hypervisor_id
|
294
|
+
# The hypervisor ID of the gateway.
|
295
|
+
# @return [String]
|
296
|
+
#
|
297
|
+
# @!attribute [rw] last_seen_time
|
298
|
+
# Details showing the last time Backup gateway communicated with the
|
299
|
+
# cloud, in Unix format and UTC time.
|
300
|
+
# @return [Time]
|
301
|
+
#
|
302
|
+
# @!attribute [rw] maintenance_start_time
|
303
|
+
# Returns your gateway's weekly maintenance start time including the
|
304
|
+
# day and time of the week. Note that values are in terms of the
|
305
|
+
# gateway's time zone. Can be weekly or monthly.
|
306
|
+
# @return [Types::MaintenanceStartTime]
|
307
|
+
#
|
308
|
+
# @!attribute [rw] next_update_availability_time
|
309
|
+
# Details showing the next update availability time of the gateway.
|
310
|
+
# @return [Time]
|
311
|
+
#
|
312
|
+
# @!attribute [rw] vpc_endpoint
|
313
|
+
# The DNS name for the virtual private cloud (VPC) endpoint the
|
314
|
+
# gateway uses to connect to the cloud for backup gateway.
|
315
|
+
# @return [String]
|
316
|
+
#
|
317
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/GatewayDetails AWS API Documentation
|
318
|
+
#
|
319
|
+
class GatewayDetails < Struct.new(
|
320
|
+
:gateway_arn,
|
321
|
+
:gateway_display_name,
|
322
|
+
:gateway_type,
|
323
|
+
:hypervisor_id,
|
324
|
+
:last_seen_time,
|
325
|
+
:maintenance_start_time,
|
326
|
+
:next_update_availability_time,
|
327
|
+
:vpc_endpoint)
|
328
|
+
SENSITIVE = []
|
329
|
+
include Aws::Structure
|
330
|
+
end
|
331
|
+
|
332
|
+
# @note When making an API call, you may pass GetGatewayInput
|
333
|
+
# data as a hash:
|
334
|
+
#
|
335
|
+
# {
|
336
|
+
# gateway_arn: "GatewayArn", # required
|
337
|
+
# }
|
338
|
+
#
|
339
|
+
# @!attribute [rw] gateway_arn
|
340
|
+
# The Amazon Resource Name (ARN) of the gateway.
|
341
|
+
# @return [String]
|
342
|
+
#
|
343
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/GetGatewayInput AWS API Documentation
|
344
|
+
#
|
345
|
+
class GetGatewayInput < Struct.new(
|
346
|
+
:gateway_arn)
|
347
|
+
SENSITIVE = []
|
348
|
+
include Aws::Structure
|
349
|
+
end
|
350
|
+
|
351
|
+
# @!attribute [rw] gateway
|
352
|
+
# By providing the ARN (Amazon Resource Name), this API returns the
|
353
|
+
# gateway.
|
354
|
+
# @return [Types::GatewayDetails]
|
355
|
+
#
|
356
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/GetGatewayOutput AWS API Documentation
|
357
|
+
#
|
358
|
+
class GetGatewayOutput < Struct.new(
|
359
|
+
:gateway)
|
360
|
+
SENSITIVE = []
|
361
|
+
include Aws::Structure
|
362
|
+
end
|
363
|
+
|
364
|
+
# @note When making an API call, you may pass GetVirtualMachineInput
|
365
|
+
# data as a hash:
|
366
|
+
#
|
367
|
+
# {
|
368
|
+
# resource_arn: "ResourceArn", # required
|
369
|
+
# }
|
370
|
+
#
|
371
|
+
# @!attribute [rw] resource_arn
|
372
|
+
# The Amazon Resource Name (ARN) of the virtual machine.
|
373
|
+
# @return [String]
|
374
|
+
#
|
375
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/GetVirtualMachineInput AWS API Documentation
|
376
|
+
#
|
377
|
+
class GetVirtualMachineInput < Struct.new(
|
378
|
+
:resource_arn)
|
379
|
+
SENSITIVE = []
|
380
|
+
include Aws::Structure
|
381
|
+
end
|
382
|
+
|
383
|
+
# @!attribute [rw] virtual_machine
|
384
|
+
# This object contains the basic attributes of `VirtualMachine`
|
385
|
+
# contained by the output of `GetVirtualMachine`
|
386
|
+
# @return [Types::VirtualMachineDetails]
|
387
|
+
#
|
388
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/GetVirtualMachineOutput AWS API Documentation
|
389
|
+
#
|
390
|
+
class GetVirtualMachineOutput < Struct.new(
|
391
|
+
:virtual_machine)
|
392
|
+
SENSITIVE = []
|
393
|
+
include Aws::Structure
|
394
|
+
end
|
395
|
+
|
277
396
|
# Represents the hypervisor's permissions to which the gateway will
|
278
397
|
# connect.
|
279
398
|
#
|
@@ -538,10 +657,16 @@ module Aws::BackupGateway
|
|
538
657
|
# data as a hash:
|
539
658
|
#
|
540
659
|
# {
|
660
|
+
# hypervisor_arn: "ServerArn",
|
541
661
|
# max_results: 1,
|
542
662
|
# next_token: "NextToken",
|
543
663
|
# }
|
544
664
|
#
|
665
|
+
# @!attribute [rw] hypervisor_arn
|
666
|
+
# The Amazon Resource Name (ARN) of the hypervisor connected to your
|
667
|
+
# virtual machine.
|
668
|
+
# @return [String]
|
669
|
+
#
|
545
670
|
# @!attribute [rw] max_results
|
546
671
|
# The maximum number of virtual machines to list.
|
547
672
|
# @return [Integer]
|
@@ -556,6 +681,7 @@ module Aws::BackupGateway
|
|
556
681
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/ListVirtualMachinesInput AWS API Documentation
|
557
682
|
#
|
558
683
|
class ListVirtualMachinesInput < Struct.new(
|
684
|
+
:hypervisor_arn,
|
559
685
|
:max_results,
|
560
686
|
:next_token)
|
561
687
|
SENSITIVE = []
|
@@ -583,6 +709,46 @@ module Aws::BackupGateway
|
|
583
709
|
include Aws::Structure
|
584
710
|
end
|
585
711
|
|
712
|
+
# This is your gateway's weekly maintenance start time including the
|
713
|
+
# day and time of the week. Note that values are in terms of the
|
714
|
+
# gateway's time zone. Can be weekly or monthly.
|
715
|
+
#
|
716
|
+
# @!attribute [rw] day_of_month
|
717
|
+
# The day of the month component of the maintenance start time
|
718
|
+
# represented as an ordinal number from 1 to 28, where 1 represents
|
719
|
+
# the first day of the month and 28 represents the last day of the
|
720
|
+
# month.
|
721
|
+
# @return [Integer]
|
722
|
+
#
|
723
|
+
# @!attribute [rw] day_of_week
|
724
|
+
# An ordinal number between 0 and 6 that represents the day of the
|
725
|
+
# week, where 0 represents Sunday and 6 represents Saturday. The day
|
726
|
+
# of week is in the time zone of the gateway.
|
727
|
+
# @return [Integer]
|
728
|
+
#
|
729
|
+
# @!attribute [rw] hour_of_day
|
730
|
+
# The hour component of the maintenance start time represented as
|
731
|
+
# *hh*, where *hh* is the hour (0 to 23). The hour of the day is in
|
732
|
+
# the time zone of the gateway.
|
733
|
+
# @return [Integer]
|
734
|
+
#
|
735
|
+
# @!attribute [rw] minute_of_hour
|
736
|
+
# The minute component of the maintenance start time represented as
|
737
|
+
# *mm*, where *mm* is the minute (0 to 59). The minute of the hour is
|
738
|
+
# in the time zone of the gateway.
|
739
|
+
# @return [Integer]
|
740
|
+
#
|
741
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/MaintenanceStartTime AWS API Documentation
|
742
|
+
#
|
743
|
+
class MaintenanceStartTime < Struct.new(
|
744
|
+
:day_of_month,
|
745
|
+
:day_of_week,
|
746
|
+
:hour_of_day,
|
747
|
+
:minute_of_hour)
|
748
|
+
SENSITIVE = []
|
749
|
+
include Aws::Structure
|
750
|
+
end
|
751
|
+
|
586
752
|
# @note When making an API call, you may pass PutMaintenanceStartTimeInput
|
587
753
|
# data as a hash:
|
588
754
|
#
|
@@ -678,7 +844,7 @@ module Aws::BackupGateway
|
|
678
844
|
# @return [String]
|
679
845
|
#
|
680
846
|
# @!attribute [rw] value
|
681
|
-
# The
|
847
|
+
# The value part of a tag's key-value pair.
|
682
848
|
# @return [String]
|
683
849
|
#
|
684
850
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/Tag AWS API Documentation
|
@@ -775,6 +941,26 @@ module Aws::BackupGateway
|
|
775
941
|
#
|
776
942
|
class TestHypervisorConfigurationOutput < Aws::EmptyStructure; end
|
777
943
|
|
944
|
+
# TPS has been limited to protect against intentional or unintentional
|
945
|
+
# high request volumes.
|
946
|
+
#
|
947
|
+
# @!attribute [rw] error_code
|
948
|
+
# Error: TPS has been limited to protect against intentional or
|
949
|
+
# unintentional high request volumes.
|
950
|
+
# @return [String]
|
951
|
+
#
|
952
|
+
# @!attribute [rw] message
|
953
|
+
# @return [String]
|
954
|
+
#
|
955
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/ThrottlingException AWS API Documentation
|
956
|
+
#
|
957
|
+
class ThrottlingException < Struct.new(
|
958
|
+
:error_code,
|
959
|
+
:message)
|
960
|
+
SENSITIVE = []
|
961
|
+
include Aws::Structure
|
962
|
+
end
|
963
|
+
|
778
964
|
# @note When making an API call, you may pass UntagResourceInput
|
779
965
|
# data as a hash:
|
780
966
|
#
|
@@ -851,12 +1037,44 @@ module Aws::BackupGateway
|
|
851
1037
|
include Aws::Structure
|
852
1038
|
end
|
853
1039
|
|
1040
|
+
# @note When making an API call, you may pass UpdateGatewaySoftwareNowInput
|
1041
|
+
# data as a hash:
|
1042
|
+
#
|
1043
|
+
# {
|
1044
|
+
# gateway_arn: "GatewayArn", # required
|
1045
|
+
# }
|
1046
|
+
#
|
1047
|
+
# @!attribute [rw] gateway_arn
|
1048
|
+
# The Amazon Resource Name (ARN) of the gateway to be updated.
|
1049
|
+
# @return [String]
|
1050
|
+
#
|
1051
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/UpdateGatewaySoftwareNowInput AWS API Documentation
|
1052
|
+
#
|
1053
|
+
class UpdateGatewaySoftwareNowInput < Struct.new(
|
1054
|
+
:gateway_arn)
|
1055
|
+
SENSITIVE = []
|
1056
|
+
include Aws::Structure
|
1057
|
+
end
|
1058
|
+
|
1059
|
+
# @!attribute [rw] gateway_arn
|
1060
|
+
# The Amazon Resource Name (ARN) of the gateway you updated.
|
1061
|
+
# @return [String]
|
1062
|
+
#
|
1063
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/UpdateGatewaySoftwareNowOutput AWS API Documentation
|
1064
|
+
#
|
1065
|
+
class UpdateGatewaySoftwareNowOutput < Struct.new(
|
1066
|
+
:gateway_arn)
|
1067
|
+
SENSITIVE = []
|
1068
|
+
include Aws::Structure
|
1069
|
+
end
|
1070
|
+
|
854
1071
|
# @note When making an API call, you may pass UpdateHypervisorInput
|
855
1072
|
# data as a hash:
|
856
1073
|
#
|
857
1074
|
# {
|
858
1075
|
# host: "Host",
|
859
1076
|
# hypervisor_arn: "ServerArn", # required
|
1077
|
+
# name: "Name",
|
860
1078
|
# password: "Password",
|
861
1079
|
# username: "Username",
|
862
1080
|
# }
|
@@ -870,6 +1088,10 @@ module Aws::BackupGateway
|
|
870
1088
|
# The Amazon Resource Name (ARN) of the hypervisor to update.
|
871
1089
|
# @return [String]
|
872
1090
|
#
|
1091
|
+
# @!attribute [rw] name
|
1092
|
+
# The updated name for the hypervisor
|
1093
|
+
# @return [String]
|
1094
|
+
#
|
873
1095
|
# @!attribute [rw] password
|
874
1096
|
# The updated password for the hypervisor.
|
875
1097
|
# @return [String]
|
@@ -883,6 +1105,7 @@ module Aws::BackupGateway
|
|
883
1105
|
class UpdateHypervisorInput < Struct.new(
|
884
1106
|
:host,
|
885
1107
|
:hypervisor_arn,
|
1108
|
+
:name,
|
886
1109
|
:password,
|
887
1110
|
:username)
|
888
1111
|
SENSITIVE = [:password, :username]
|
@@ -943,7 +1166,8 @@ module Aws::BackupGateway
|
|
943
1166
|
# @return [String]
|
944
1167
|
#
|
945
1168
|
# @!attribute [rw] resource_arn
|
946
|
-
# The Amazon Resource Name (ARN) of the virtual machine.
|
1169
|
+
# The Amazon Resource Name (ARN) of the virtual machine. For example,
|
1170
|
+
# `arn:aws:backup-gateway:us-west-1:0000000000000:vm/vm-0000ABCDEFGIJKL`.
|
947
1171
|
# @return [String]
|
948
1172
|
#
|
949
1173
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/VirtualMachine AWS API Documentation
|
@@ -959,5 +1183,47 @@ module Aws::BackupGateway
|
|
959
1183
|
include Aws::Structure
|
960
1184
|
end
|
961
1185
|
|
1186
|
+
# Your `VirtualMachine` objects, ordered by their Amazon Resource Names
|
1187
|
+
# (ARNs).
|
1188
|
+
#
|
1189
|
+
# @!attribute [rw] host_name
|
1190
|
+
# The host name of the virtual machine.
|
1191
|
+
# @return [String]
|
1192
|
+
#
|
1193
|
+
# @!attribute [rw] hypervisor_id
|
1194
|
+
# The ID of the virtual machine's hypervisor.
|
1195
|
+
# @return [String]
|
1196
|
+
#
|
1197
|
+
# @!attribute [rw] last_backup_date
|
1198
|
+
# The most recent date a virtual machine was backed up, in Unix format
|
1199
|
+
# and UTC time.
|
1200
|
+
# @return [Time]
|
1201
|
+
#
|
1202
|
+
# @!attribute [rw] name
|
1203
|
+
# The name of the virtual machine.
|
1204
|
+
# @return [String]
|
1205
|
+
#
|
1206
|
+
# @!attribute [rw] path
|
1207
|
+
# The path of the virtual machine.
|
1208
|
+
# @return [String]
|
1209
|
+
#
|
1210
|
+
# @!attribute [rw] resource_arn
|
1211
|
+
# The Amazon Resource Name (ARN) of the virtual machine. For example,
|
1212
|
+
# `arn:aws:backup-gateway:us-west-1:0000000000000:vm/vm-0000ABCDEFGIJKL`.
|
1213
|
+
# @return [String]
|
1214
|
+
#
|
1215
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/VirtualMachineDetails AWS API Documentation
|
1216
|
+
#
|
1217
|
+
class VirtualMachineDetails < Struct.new(
|
1218
|
+
:host_name,
|
1219
|
+
:hypervisor_id,
|
1220
|
+
:last_backup_date,
|
1221
|
+
:name,
|
1222
|
+
:path,
|
1223
|
+
:resource_arn)
|
1224
|
+
SENSITIVE = []
|
1225
|
+
include Aws::Structure
|
1226
|
+
end
|
1227
|
+
|
962
1228
|
end
|
963
1229
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-backupgateway
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.5.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: 2022-
|
11
|
+
date: 2022-09-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|