libZSservicesZSamazonka-storagegatewayZSamazonka-storagegateway
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.StorageGateway.UpdateGatewayInformation

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.

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.

Synopsis

Creating a Request

data UpdateGatewayInformation Source #

See: newUpdateGatewayInformation smart constructor.

Constructors

UpdateGatewayInformation' 

Fields

Instances

Instances details
Eq UpdateGatewayInformation Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateGatewayInformation

Read UpdateGatewayInformation Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateGatewayInformation

Show UpdateGatewayInformation Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateGatewayInformation

Generic UpdateGatewayInformation Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateGatewayInformation

Associated Types

type Rep UpdateGatewayInformation :: Type -> Type #

NFData UpdateGatewayInformation Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateGatewayInformation

Hashable UpdateGatewayInformation Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateGatewayInformation

ToJSON UpdateGatewayInformation Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateGatewayInformation

AWSRequest UpdateGatewayInformation Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateGatewayInformation

ToHeaders UpdateGatewayInformation Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateGatewayInformation

ToPath UpdateGatewayInformation Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateGatewayInformation

ToQuery UpdateGatewayInformation Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateGatewayInformation

type Rep UpdateGatewayInformation Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateGatewayInformation

type Rep UpdateGatewayInformation = D1 ('MetaData "UpdateGatewayInformation" "Amazonka.StorageGateway.UpdateGatewayInformation" "libZSservicesZSamazonka-storagegatewayZSamazonka-storagegateway" 'False) (C1 ('MetaCons "UpdateGatewayInformation'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "gatewayCapacity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe GatewayCapacity)) :*: S1 ('MetaSel ('Just "gatewayName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "gatewayTimezone") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "cloudWatchLogGroupARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "gatewayARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse UpdateGatewayInformation Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateGatewayInformation

newUpdateGatewayInformation Source #

Create a value of UpdateGatewayInformation with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:gatewayCapacity:UpdateGatewayInformation', updateGatewayInformation_gatewayCapacity - Specifies the size of the gateway's metadata cache.

$sel:gatewayName:UpdateGatewayInformation', updateGatewayInformation_gatewayName - Undocumented member.

$sel:gatewayTimezone:UpdateGatewayInformation', updateGatewayInformation_gatewayTimezone - A value that indicates the time zone of the gateway.

$sel:cloudWatchLogGroupARN:UpdateGatewayInformation', updateGatewayInformation_cloudWatchLogGroupARN - The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that you want to use to monitor and log events in the gateway.

For more information, see What is Amazon CloudWatch Logs?

$sel:gatewayARN:UpdateGatewayInformation', updateGatewayInformation_gatewayARN - Undocumented member.

Request Lenses

updateGatewayInformation_gatewayTimezone :: Lens' UpdateGatewayInformation (Maybe Text) Source #

A value that indicates the time zone of the gateway.

updateGatewayInformation_cloudWatchLogGroupARN :: Lens' UpdateGatewayInformation (Maybe Text) Source #

The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that you want to use to monitor and log events in the gateway.

For more information, see What is Amazon CloudWatch Logs?

Destructuring the Response

data UpdateGatewayInformationResponse Source #

A JSON object containing the Amazon Resource Name (ARN) of the gateway that was updated.

See: newUpdateGatewayInformationResponse smart constructor.

Constructors

UpdateGatewayInformationResponse' 

Fields

Instances

Instances details
Eq UpdateGatewayInformationResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateGatewayInformation

Read UpdateGatewayInformationResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateGatewayInformation

Show UpdateGatewayInformationResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateGatewayInformation

Generic UpdateGatewayInformationResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateGatewayInformation

Associated Types

type Rep UpdateGatewayInformationResponse :: Type -> Type #

NFData UpdateGatewayInformationResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateGatewayInformation

type Rep UpdateGatewayInformationResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateGatewayInformation

type Rep UpdateGatewayInformationResponse = D1 ('MetaData "UpdateGatewayInformationResponse" "Amazonka.StorageGateway.UpdateGatewayInformation" "libZSservicesZSamazonka-storagegatewayZSamazonka-storagegateway" 'False) (C1 ('MetaCons "UpdateGatewayInformationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "gatewayARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "gatewayName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newUpdateGatewayInformationResponse Source #

Create a value of UpdateGatewayInformationResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:gatewayARN:UpdateGatewayInformation', updateGatewayInformationResponse_gatewayARN - Undocumented member.

$sel:gatewayName:UpdateGatewayInformation', updateGatewayInformationResponse_gatewayName - The name you configured for your gateway.

$sel:httpStatus:UpdateGatewayInformationResponse', updateGatewayInformationResponse_httpStatus - The response's http status code.

Response Lenses