amazonka-backup-gateway-2.0: Amazon Backup 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.BackupGateway.UpdateGatewayInformation

Description

Updates a gateway's name. Specify which gateway to update using the Amazon Resource Name (ARN) of the gateway in your request.

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.BackupGateway.UpdateGatewayInformation

ToHeaders UpdateGatewayInformation Source # 
Instance details

Defined in Amazonka.BackupGateway.UpdateGatewayInformation

ToPath UpdateGatewayInformation Source # 
Instance details

Defined in Amazonka.BackupGateway.UpdateGatewayInformation

ToQuery UpdateGatewayInformation Source # 
Instance details

Defined in Amazonka.BackupGateway.UpdateGatewayInformation

AWSRequest UpdateGatewayInformation Source # 
Instance details

Defined in Amazonka.BackupGateway.UpdateGatewayInformation

Generic UpdateGatewayInformation Source # 
Instance details

Defined in Amazonka.BackupGateway.UpdateGatewayInformation

Associated Types

type Rep UpdateGatewayInformation :: Type -> Type #

Read UpdateGatewayInformation Source # 
Instance details

Defined in Amazonka.BackupGateway.UpdateGatewayInformation

Show UpdateGatewayInformation Source # 
Instance details

Defined in Amazonka.BackupGateway.UpdateGatewayInformation

NFData UpdateGatewayInformation Source # 
Instance details

Defined in Amazonka.BackupGateway.UpdateGatewayInformation

Eq UpdateGatewayInformation Source # 
Instance details

Defined in Amazonka.BackupGateway.UpdateGatewayInformation

Hashable UpdateGatewayInformation Source # 
Instance details

Defined in Amazonka.BackupGateway.UpdateGatewayInformation

type AWSResponse UpdateGatewayInformation Source # 
Instance details

Defined in Amazonka.BackupGateway.UpdateGatewayInformation

type Rep UpdateGatewayInformation Source # 
Instance details

Defined in Amazonka.BackupGateway.UpdateGatewayInformation

type Rep UpdateGatewayInformation = D1 ('MetaData "UpdateGatewayInformation" "Amazonka.BackupGateway.UpdateGatewayInformation" "amazonka-backup-gateway-2.0-Ee3gVOmXMeV2r3uv4sRO9" 'False) (C1 ('MetaCons "UpdateGatewayInformation'" 'PrefixI 'True) (S1 ('MetaSel ('Just "gatewayDisplayName") '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:

UpdateGatewayInformation, updateGatewayInformation_gatewayDisplayName - The updated display name of the gateway.

UpdateGatewayInformation, updateGatewayInformation_gatewayArn - The Amazon Resource Name (ARN) of the gateway to update.

Request Lenses

updateGatewayInformation_gatewayArn :: Lens' UpdateGatewayInformation Text Source #

The Amazon Resource Name (ARN) of the gateway to update.

Destructuring the Response

data UpdateGatewayInformationResponse Source #

See: newUpdateGatewayInformationResponse smart constructor.

Constructors

UpdateGatewayInformationResponse' 

Fields

Instances

Instances details
Generic UpdateGatewayInformationResponse Source # 
Instance details

Defined in Amazonka.BackupGateway.UpdateGatewayInformation

Associated Types

type Rep UpdateGatewayInformationResponse :: Type -> Type #

Read UpdateGatewayInformationResponse Source # 
Instance details

Defined in Amazonka.BackupGateway.UpdateGatewayInformation

Show UpdateGatewayInformationResponse Source # 
Instance details

Defined in Amazonka.BackupGateway.UpdateGatewayInformation

NFData UpdateGatewayInformationResponse Source # 
Instance details

Defined in Amazonka.BackupGateway.UpdateGatewayInformation

Eq UpdateGatewayInformationResponse Source # 
Instance details

Defined in Amazonka.BackupGateway.UpdateGatewayInformation

type Rep UpdateGatewayInformationResponse Source # 
Instance details

Defined in Amazonka.BackupGateway.UpdateGatewayInformation

type Rep UpdateGatewayInformationResponse = D1 ('MetaData "UpdateGatewayInformationResponse" "Amazonka.BackupGateway.UpdateGatewayInformation" "amazonka-backup-gateway-2.0-Ee3gVOmXMeV2r3uv4sRO9" 'False) (C1 ('MetaCons "UpdateGatewayInformationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "gatewayArn") '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 - The Amazon Resource Name (ARN) of the gateway you updated.

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

Response Lenses

updateGatewayInformationResponse_gatewayArn :: Lens' UpdateGatewayInformationResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the gateway you updated.