AWS SDK Version 2 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

.NET Framework 3.5
 
This operation activates the gateway you previously deployed on your host. For more information, see Activate the AWS Storage Gateway. In the activation process, you specify information such as the region you want to use for storing snapshots, 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.

Namespace: Amazon.StorageGateway
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public virtual ActivateGatewayResponse ActivateGateway(
         ActivateGatewayRequest request
)

Parameters

request
Type: Amazon.StorageGateway.Model.ActivateGatewayRequest

Container for the necessary parameters to execute the ActivateGateway service method.

Return Value
Type: Amazon.StorageGateway.Model.ActivateGatewayResponse
The response from the ActivateGateway service method, as returned by StorageGateway.

Exceptions

ExceptionCondition
InternalServerErrorException An internal server error has occurred during the request. See the error and message fields for more information.
InvalidGatewayRequestException An exception occurred because an invalid gateway request was issued to the service. See the error and message fields for more information.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5