describe_gateway_information
¶
describe_gateway_information(
gateway_arn: GatewayARN,
*,
config_overrides: Optional[StorageGatewayClientConfig] = None,
) -> DescribeGatewayInformationOutput
Returns metadata about a gateway such as its name, network interfaces, time zone, status, and software version. To specify which gateway to describe, use the Amazon Resource Name (ARN) of the gateway in your request.
Raises:
-
InternalServerError–An internal server error has occurred during the request. For more information, see the error and message fields.
-
InvalidGatewayRequestException–An exception occurred because an invalid gateway request was issued to the service. For more information, see the error and message fields.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
To describe metadata about the gateway Returns metadata about a gateway such as its name, network interfaces, configured time zone, and the state (whether the gateway is running or not).
>>> client.describe_gateway_information(gateway_arn='arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B')