libZSservicesZSamazonka-networkmanagerZSamazonka-networkmanager
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.NetworkManager.UpdateConnection

Description

Updates the information for an existing connection. To remove information for any of the parameters, specify an empty string.

Synopsis

Creating a Request

data UpdateConnection Source #

See: newUpdateConnection smart constructor.

Constructors

UpdateConnection' 

Fields

Instances

Instances details
Eq UpdateConnection Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateConnection

Read UpdateConnection Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateConnection

Show UpdateConnection Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateConnection

Generic UpdateConnection Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateConnection

Associated Types

type Rep UpdateConnection :: Type -> Type #

NFData UpdateConnection Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateConnection

Methods

rnf :: UpdateConnection -> () #

Hashable UpdateConnection Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateConnection

ToJSON UpdateConnection Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateConnection

AWSRequest UpdateConnection Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateConnection

Associated Types

type AWSResponse UpdateConnection #

ToHeaders UpdateConnection Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateConnection

ToPath UpdateConnection Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateConnection

ToQuery UpdateConnection Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateConnection

type Rep UpdateConnection Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateConnection

type Rep UpdateConnection = D1 ('MetaData "UpdateConnection" "Amazonka.NetworkManager.UpdateConnection" "libZSservicesZSamazonka-networkmanagerZSamazonka-networkmanager" 'False) (C1 ('MetaCons "UpdateConnection'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "connectedLinkId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "linkId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "globalNetworkId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "connectionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse UpdateConnection Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateConnection

newUpdateConnection Source #

Create a value of UpdateConnection 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:connectedLinkId:UpdateConnection', updateConnection_connectedLinkId - The ID of the link for the second device in the connection.

$sel:linkId:UpdateConnection', updateConnection_linkId - The ID of the link for the first device in the connection.

$sel:description:UpdateConnection', updateConnection_description - A description of the connection.

Length Constraints: Maximum length of 256 characters.

$sel:globalNetworkId:UpdateConnection', updateConnection_globalNetworkId - The ID of the global network.

$sel:connectionId:UpdateConnection', updateConnection_connectionId - The ID of the connection.

Request Lenses

updateConnection_connectedLinkId :: Lens' UpdateConnection (Maybe Text) Source #

The ID of the link for the second device in the connection.

updateConnection_linkId :: Lens' UpdateConnection (Maybe Text) Source #

The ID of the link for the first device in the connection.

updateConnection_description :: Lens' UpdateConnection (Maybe Text) Source #

A description of the connection.

Length Constraints: Maximum length of 256 characters.

Destructuring the Response

data UpdateConnectionResponse Source #

See: newUpdateConnectionResponse smart constructor.

Constructors

UpdateConnectionResponse' 

Fields

Instances

Instances details
Eq UpdateConnectionResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateConnection

Read UpdateConnectionResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateConnection

Show UpdateConnectionResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateConnection

Generic UpdateConnectionResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateConnection

Associated Types

type Rep UpdateConnectionResponse :: Type -> Type #

NFData UpdateConnectionResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateConnection

type Rep UpdateConnectionResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateConnection

type Rep UpdateConnectionResponse = D1 ('MetaData "UpdateConnectionResponse" "Amazonka.NetworkManager.UpdateConnection" "libZSservicesZSamazonka-networkmanagerZSamazonka-networkmanager" 'False) (C1 ('MetaCons "UpdateConnectionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "connection") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Connection)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateConnectionResponse Source #

Create a value of UpdateConnectionResponse 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:connection:UpdateConnectionResponse', updateConnectionResponse_connection - Information about the connection.

$sel:httpStatus:UpdateConnectionResponse', updateConnectionResponse_httpStatus - The response's http status code.

Response Lenses