activateGateway
Activates the gateway you previously deployed on your host. In the activation process, you specify information such as the Amazon Web Services Region that you want to use for storing snapshots or tapes, the time zone for scheduled snapshots the gateway snapshot schedule window, an activation key, and a name for your gateway. The activation process also associates your gateway with your account. For more information, see UpdateGatewayInformation.
You must turn on the gateway VM before you can activate your gateway.
Samples
fun main() {
//sampleStart
// Activates the gateway you previously deployed on your host.
val resp = storageGatewayClient.activateGateway {
activationKey = "29AV1-3OFV9-VVIUB-NKT0I-LRO6V"
gatewayName = "My_Gateway"
gatewayTimezone = "GMT-12:00"
gatewayRegion = "us-east-1"
gatewayType = "STORED"
tapeDriveType = "IBM-ULT3580-TD5"
mediumChangerType = "AWS-Gateway-VTL"
}
//sampleEnd
}