amazonka-storagegateway-2.0: Amazon Storage Gateway SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
ToJSON 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

AWSRequest 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 #

Read UpdateGatewayInformation Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateGatewayInformation

Show UpdateGatewayInformation Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateGatewayInformation

NFData UpdateGatewayInformation Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateGatewayInformation

Eq UpdateGatewayInformation Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateGatewayInformation

Hashable UpdateGatewayInformation Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateGatewayInformation

type AWSResponse 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" "amazonka-storagegateway-2.0-A8x7b0LCNm33wkCZlwgcSL" 'False) (C1 ('MetaCons "UpdateGatewayInformation'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "cloudWatchLogGroupARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: 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 "gatewayARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

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: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:gatewayCapacity:UpdateGatewayInformation', updateGatewayInformation_gatewayCapacity - Specifies the size of the gateway's metadata cache.

UpdateGatewayInformation, updateGatewayInformation_gatewayName - Undocumented member.

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

UpdateGatewayInformation, updateGatewayInformation_gatewayARN - Undocumented member.

Request Lenses

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?

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

A value that indicates the time zone of the gateway.

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
Generic UpdateGatewayInformationResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateGatewayInformation

Associated Types

type Rep UpdateGatewayInformationResponse :: Type -> Type #

Read UpdateGatewayInformationResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateGatewayInformation

Show UpdateGatewayInformationResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateGatewayInformation

NFData UpdateGatewayInformationResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateGatewayInformation

Eq 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" "amazonka-storagegateway-2.0-A8x7b0LCNm33wkCZlwgcSL" '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:

UpdateGatewayInformation, updateGatewayInformationResponse_gatewayARN - Undocumented member.

UpdateGatewayInformation, updateGatewayInformationResponse_gatewayName - The name you configured for your gateway.

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

Response Lenses