libZSservicesZSamazonka-alexa-businessZSamazonka-alexa-business
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.AlexaBusiness.UpdateGateway

Description

Updates the details of a gateway. If any optional field is not provided, the existing corresponding value is left unmodified.

Synopsis

Creating a Request

data UpdateGateway Source #

See: newUpdateGateway smart constructor.

Constructors

UpdateGateway' 

Fields

Instances

Instances details
Eq UpdateGateway Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateGateway

Read UpdateGateway Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateGateway

Show UpdateGateway Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateGateway

Generic UpdateGateway Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateGateway

Associated Types

type Rep UpdateGateway :: Type -> Type #

NFData UpdateGateway Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateGateway

Methods

rnf :: UpdateGateway -> () #

Hashable UpdateGateway Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateGateway

ToJSON UpdateGateway Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateGateway

AWSRequest UpdateGateway Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateGateway

Associated Types

type AWSResponse UpdateGateway #

ToHeaders UpdateGateway Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateGateway

ToPath UpdateGateway Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateGateway

ToQuery UpdateGateway Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateGateway

type Rep UpdateGateway Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateGateway

type Rep UpdateGateway = D1 ('MetaData "UpdateGateway" "Amazonka.AlexaBusiness.UpdateGateway" "libZSservicesZSamazonka-alexa-businessZSamazonka-alexa-business" 'False) (C1 ('MetaCons "UpdateGateway'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "softwareVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "gatewayArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse UpdateGateway Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateGateway

newUpdateGateway Source #

Create a value of UpdateGateway 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:name:UpdateGateway', updateGateway_name - The updated name of the gateway.

$sel:softwareVersion:UpdateGateway', updateGateway_softwareVersion - The updated software version of the gateway. The gateway automatically updates its software version during normal operation.

$sel:description:UpdateGateway', updateGateway_description - The updated description of the gateway.

$sel:gatewayArn:UpdateGateway', updateGateway_gatewayArn - The ARN of the gateway to update.

Request Lenses

updateGateway_name :: Lens' UpdateGateway (Maybe Text) Source #

The updated name of the gateway.

updateGateway_softwareVersion :: Lens' UpdateGateway (Maybe Text) Source #

The updated software version of the gateway. The gateway automatically updates its software version during normal operation.

updateGateway_description :: Lens' UpdateGateway (Maybe Text) Source #

The updated description of the gateway.

updateGateway_gatewayArn :: Lens' UpdateGateway Text Source #

The ARN of the gateway to update.

Destructuring the Response

data UpdateGatewayResponse Source #

See: newUpdateGatewayResponse smart constructor.

Constructors

UpdateGatewayResponse' 

Fields

Instances

Instances details
Eq UpdateGatewayResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateGateway

Read UpdateGatewayResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateGateway

Show UpdateGatewayResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateGateway

Generic UpdateGatewayResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateGateway

Associated Types

type Rep UpdateGatewayResponse :: Type -> Type #

NFData UpdateGatewayResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateGateway

Methods

rnf :: UpdateGatewayResponse -> () #

type Rep UpdateGatewayResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateGateway

type Rep UpdateGatewayResponse = D1 ('MetaData "UpdateGatewayResponse" "Amazonka.AlexaBusiness.UpdateGateway" "libZSservicesZSamazonka-alexa-businessZSamazonka-alexa-business" 'False) (C1 ('MetaCons "UpdateGatewayResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateGatewayResponse Source #

Create a value of UpdateGatewayResponse 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:httpStatus:UpdateGatewayResponse', updateGatewayResponse_httpStatus - The response's http status code.

Response Lenses