paws.storage (version 0.1.0)

storagegateway_update_gateway_information: Updates a gateway's metadata, which includes the gateway's name and time zone

Description

Updates a gateway's metadata, which includes the gateway's name and time zone. To specify which gateway to update, use the Amazon Resource Name (ARN) of the gateway in your request.

Usage

storagegateway_update_gateway_information(GatewayARN, GatewayName,
  GatewayTimezone)

Arguments

GatewayARN

[required]

GatewayName
GatewayTimezone

A value that indicates the time zone of the gateway.

Request syntax

svc$update_gateway_information(
  GatewayARN = "string",
  GatewayName = "string",
  GatewayTimezone = "string"
)

Details

For Gateways activated after September 2, 2015, the gateway's ARN contains the gateway ID rather than the gateway name. However, changing the name of the gateway has no effect on the gateway's ARN.

Examples

Run this code
# NOT RUN {
# Updates a gateway's metadata, which includes the gateway's name and time
# zone.
# }
# NOT RUN {
svc$update_gateway_information(
  GatewayARN = "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B",
  GatewayName = "MyGateway2",
  GatewayTimezone = "GMT-12:00"
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataCamp Workspace