Skip to content

Commit

Permalink
Updated API models and rebuilt service gems.
Browse files Browse the repository at this point in the history
  • Loading branch information
AWS SDK for Ruby authored and Nobody committed Jun 1, 2022
1 parent 0234aaa commit a325020
Show file tree
Hide file tree
Showing 35 changed files with 3,322 additions and 112 deletions.
72 changes: 72 additions & 0 deletions apis/backup-gateway/2021-01-01/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,20 @@
{"shape":"ResourceNotFoundException"}
]
},
"GetGateway":{
"name":"GetGateway",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"GetGatewayInput"},
"output":{"shape":"GetGatewayOutput"},
"errors":[
{"shape":"ValidationException"},
{"shape":"InternalServerException"},
{"shape":"ResourceNotFoundException"}
]
},
"ImportHypervisorConfiguration":{
"name":"ImportHypervisorConfiguration",
"http":{
Expand Down Expand Up @@ -226,6 +240,20 @@
{"shape":"ResourceNotFoundException"}
]
},
"UpdateGatewaySoftwareNow":{
"name":"UpdateGatewaySoftwareNow",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"UpdateGatewaySoftwareNowInput"},
"output":{"shape":"UpdateGatewaySoftwareNowOutput"},
"errors":[
{"shape":"ValidationException"},
{"shape":"InternalServerException"},
{"shape":"ResourceNotFoundException"}
]
},
"UpdateHypervisor":{
"name":"UpdateHypervisor",
"http":{
Expand Down Expand Up @@ -371,6 +399,18 @@
"min":50,
"pattern":"^arn:(aws|aws-cn|aws-us-gov):backup-gateway(:[a-zA-Z-0-9]+){3}\\/[a-zA-Z-0-9]+$"
},
"GatewayDetails":{
"type":"structure",
"members":{
"GatewayArn":{"shape":"GatewayArn"},
"GatewayDisplayName":{"shape":"Name"},
"GatewayType":{"shape":"GatewayType"},
"HypervisorId":{"shape":"HypervisorId"},
"LastSeenTime":{"shape":"Time"},
"NextUpdateAvailabilityTime":{"shape":"Time"},
"VpcEndpoint":{"shape":"VpcEndpoint"}
}
},
"GatewayType":{
"type":"string",
"enum":["BACKUP_VM"]
Expand All @@ -379,6 +419,19 @@
"type":"list",
"member":{"shape":"Gateway"}
},
"GetGatewayInput":{
"type":"structure",
"required":["GatewayArn"],
"members":{
"GatewayArn":{"shape":"GatewayArn"}
}
},
"GetGatewayOutput":{
"type":"structure",
"members":{
"Gateway":{"shape":"GatewayDetails"}
}
},
"Host":{
"type":"string",
"max":128,
Expand Down Expand Up @@ -686,12 +739,26 @@
"GatewayArn":{"shape":"GatewayArn"}
}
},
"UpdateGatewaySoftwareNowInput":{
"type":"structure",
"required":["GatewayArn"],
"members":{
"GatewayArn":{"shape":"GatewayArn"}
}
},
"UpdateGatewaySoftwareNowOutput":{
"type":"structure",
"members":{
"GatewayArn":{"shape":"GatewayArn"}
}
},
"UpdateHypervisorInput":{
"type":"structure",
"required":["HypervisorArn"],
"members":{
"Host":{"shape":"Host"},
"HypervisorArn":{"shape":"ServerArn"},
"Name":{"shape":"Name"},
"Password":{"shape":"Password"},
"Username":{"shape":"Username"}
}
Expand Down Expand Up @@ -732,6 +799,11 @@
"type":"list",
"member":{"shape":"VirtualMachine"}
},
"VpcEndpoint":{
"type":"string",
"max":255,
"min":1
},
"string":{"type":"string"}
}
}
54 changes: 49 additions & 5 deletions apis/backup-gateway/2021-01-01/docs-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"DeleteGateway": "<p>Deletes a backup gateway.</p>",
"DeleteHypervisor": "<p>Deletes a hypervisor.</p>",
"DisassociateGatewayFromServer": "<p>Disassociates a backup gateway from the specified server. After the disassociation process finishes, the gateway can no longer access the virtual machines on the server.</p>",
"GetGateway": "<p>By providing the ARN (Amazon Resource Name), this API returns the gateway.</p>",
"ImportHypervisorConfiguration": "<p>Connect to a hypervisor by importing its configuration.</p>",
"ListGateways": "<p>Lists backup gateways owned by an Amazon Web Services account in an Amazon Web Services Region. The returned list is ordered by gateway Amazon Resource Name (ARN).</p>",
"ListHypervisors": "<p>Lists your hypervisors.</p>",
Expand All @@ -17,6 +18,7 @@
"TestHypervisorConfiguration": "<p>Tests your hypervisor configuration to validate that backup gateway can connect with the hypervisor and its resources.</p>",
"UntagResource": "<p>Removes tags from the resource.</p>",
"UpdateGatewayInformation": "<p>Updates a gateway's name. Specify which gateway to update using the Amazon Resource Name (ARN) of the gateway in your request.</p>",
"UpdateGatewaySoftwareNow": "<p>Updates the gateway virtual machine (VM) software. The request immediately triggers the software update.</p> <note> <p>When you make this request, you get a <code>200 OK</code> success response immediately. However, it might take some time for the update to complete.</p> </note>",
"UpdateHypervisor": "<p>Updates a hypervisor metadata, including its host, username, and password. Specify which hypervisor to update using the Amazon Resource Name (ARN) of the hypervisor in your request.</p>"
},
"shapes": {
Expand Down Expand Up @@ -115,18 +117,29 @@
"DisassociateGatewayFromServerInput$GatewayArn": "<p>The Amazon Resource Name (ARN) of the gateway to disassociate.</p>",
"DisassociateGatewayFromServerOutput$GatewayArn": "<p>The Amazon Resource Name (ARN) of the gateway you disassociated.</p>",
"Gateway$GatewayArn": "<p>The Amazon Resource Name (ARN) of the gateway. Use the <code>ListGateways</code> operation to return a list of gateways for your account and Amazon Web Services Region.</p>",
"GatewayDetails$GatewayArn": "<p>The Amazon Resource Name (ARN) of the gateway. Use the <code>ListGateways</code> operation to return a list of gateways for your account and Amazon Web Services Region.</p>",
"GetGatewayInput$GatewayArn": "<p>The Amazon Resource Name (ARN) of the gateway.</p>",
"PutMaintenanceStartTimeInput$GatewayArn": "<p>The Amazon Resource Name (ARN) for the gateway, used to specify its maintenance start time.</p>",
"PutMaintenanceStartTimeOutput$GatewayArn": "<p>The Amazon Resource Name (ARN) of a gateway for which you set the maintenance start time.</p>",
"TestHypervisorConfigurationInput$GatewayArn": "<p>The Amazon Resource Name (ARN) of the gateway to the hypervisor to test.</p>",
"UpdateGatewayInformationInput$GatewayArn": "<p>The Amazon Resource Name (ARN) of the gateway to update.</p>",
"UpdateGatewayInformationOutput$GatewayArn": "<p>The Amazon Resource Name (ARN) of the gateway you updated.</p>"
"UpdateGatewayInformationOutput$GatewayArn": "<p>The Amazon Resource Name (ARN) of the gateway you updated.</p>",
"UpdateGatewaySoftwareNowInput$GatewayArn": "<p>The Amazon Resource Name (ARN) of the gateway to be updated.</p>",
"UpdateGatewaySoftwareNowOutput$GatewayArn": "<p>The Amazon Resource Name (ARN) of the gateway you updated.</p>"
}
},
"GatewayDetails": {
"base": "<p>The details of gateway.</p>",
"refs": {
"GetGatewayOutput$Gateway": "<p>By providing the ARN (Amazon Resource Name), this API returns the gateway.</p>"
}
},
"GatewayType": {
"base": null,
"refs": {
"CreateGatewayInput$GatewayType": "<p>The type of created gateway.</p>",
"Gateway$GatewayType": "<p>The type of the gateway.</p>"
"Gateway$GatewayType": "<p>The type of the gateway.</p>",
"GatewayDetails$GatewayType": "<p>The type of the gateway type.</p>"
}
},
"Gateways": {
Expand All @@ -135,6 +148,16 @@
"ListGatewaysOutput$Gateways": "<p>A list of your gateways.</p>"
}
},
"GetGatewayInput": {
"base": null,
"refs": {
}
},
"GetGatewayOutput": {
"base": null,
"refs": {
}
},
"Host": {
"base": null,
"refs": {
Expand All @@ -159,7 +182,8 @@
"HypervisorId": {
"base": null,
"refs": {
"Gateway$HypervisorId": "<p>The hypervisor ID of the gateway.</p>"
"Gateway$HypervisorId": "<p>The hypervisor ID of the gateway.</p>",
"GatewayDetails$HypervisorId": "<p>The hypervisor ID of the gateway.</p>"
}
},
"HypervisorState": {
Expand Down Expand Up @@ -255,9 +279,11 @@
"refs": {
"CreateGatewayInput$GatewayDisplayName": "<p>The display name of the created gateway.</p>",
"Gateway$GatewayDisplayName": "<p>The display name of the gateway.</p>",
"GatewayDetails$GatewayDisplayName": "<p>The display name of the gateway.</p>",
"Hypervisor$Name": "<p>The name of the hypervisor.</p>",
"ImportHypervisorConfigurationInput$Name": "<p>The name of the hypervisor.</p>",
"UpdateGatewayInformationInput$GatewayDisplayName": "<p>The updated display name of the gateway.</p>",
"UpdateHypervisorInput$Name": "<p>The updated name for the hypervisor</p>",
"VirtualMachine$HostName": "<p>The host name of the virtual machine.</p>",
"VirtualMachine$Name": "<p>The name of the virtual machine.</p>"
}
Expand Down Expand Up @@ -306,7 +332,7 @@
"TagResourceOutput$ResourceARN": "<p>The Amazon Resource Name (ARN) of the resource you tagged.</p>",
"UntagResourceInput$ResourceARN": "<p>The Amazon Resource Name (ARN) of the resource from which to remove tags.</p>",
"UntagResourceOutput$ResourceARN": "<p>The Amazon Resource Name (ARN) of the resource from which you removed tags.</p>",
"VirtualMachine$ResourceArn": "<p>The Amazon Resource Name (ARN) of the virtual machine.</p>"
"VirtualMachine$ResourceArn": "<p>The Amazon Resource Name (ARN) of the virtual machine. For example, <code>arn:aws:backup-gateway:us-west-1:0000000000000:vm/vm-0000ABCDEFGIJKL</code>.</p>"
}
},
"ResourceNotFoundException": {
Expand Down Expand Up @@ -358,7 +384,7 @@
"TagValue": {
"base": null,
"refs": {
"Tag$Value": "<p>The key part of a value's key-value pair.</p>"
"Tag$Value": "<p>The value part of a tag's key-value pair.</p>"
}
},
"Tags": {
Expand All @@ -384,6 +410,8 @@
"base": null,
"refs": {
"Gateway$LastSeenTime": "<p>The last time Backup gateway communicated with the gateway, in Unix format and UTC time.</p>",
"GatewayDetails$LastSeenTime": "<p>Details showing the last time Backup gateway communicated with the cloud, in Unix format and UTC time.</p>",
"GatewayDetails$NextUpdateAvailabilityTime": "<p>Details showing the next update availability time of the gateway.</p>",
"VirtualMachine$LastBackupDate": "<p>The most recent date a virtual machine was backed up, in Unix format and UTC time.</p>"
}
},
Expand All @@ -407,6 +435,16 @@
"refs": {
}
},
"UpdateGatewaySoftwareNowInput": {
"base": null,
"refs": {
}
},
"UpdateGatewaySoftwareNowOutput": {
"base": null,
"refs": {
}
},
"UpdateHypervisorInput": {
"base": null,
"refs": {
Expand Down Expand Up @@ -442,6 +480,12 @@
"ListVirtualMachinesOutput$VirtualMachines": "<p>A list of your <code>VirtualMachine</code> objects, ordered by their Amazon Resource Names (ARNs).</p>"
}
},
"VpcEndpoint": {
"base": null,
"refs": {
"GatewayDetails$VpcEndpoint": "<p>The DNS name for the virtual private cloud (VPC) endpoint the gateway uses to connect to the cloud for backup gateway.</p>"
}
},
"string": {
"base": null,
"refs": {
Expand Down
Loading

0 comments on commit a325020

Please sign in to comment.