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.UpdateSite

Description

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

Synopsis

Creating a Request

data UpdateSite Source #

See: newUpdateSite smart constructor.

Constructors

UpdateSite' 

Fields

Instances

Instances details
Eq UpdateSite Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateSite

Show UpdateSite Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateSite

Generic UpdateSite Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateSite

Associated Types

type Rep UpdateSite :: Type -> Type #

NFData UpdateSite Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateSite

Methods

rnf :: UpdateSite -> () #

Hashable UpdateSite Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateSite

ToJSON UpdateSite Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateSite

AWSRequest UpdateSite Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateSite

Associated Types

type AWSResponse UpdateSite #

ToHeaders UpdateSite Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateSite

Methods

toHeaders :: UpdateSite -> [Header] #

ToPath UpdateSite Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateSite

ToQuery UpdateSite Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateSite

type Rep UpdateSite Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateSite

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

Defined in Amazonka.NetworkManager.UpdateSite

newUpdateSite Source #

Create a value of UpdateSite 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:location:UpdateSite', updateSite_location - The site location:

  • Address: The physical address of the site.
  • Latitude: The latitude of the site.
  • Longitude: The longitude of the site.

$sel:description:UpdateSite', updateSite_description - A description of your site.

Length Constraints: Maximum length of 256 characters.

$sel:globalNetworkId:UpdateSite', updateSite_globalNetworkId - The ID of the global network.

$sel:siteId:UpdateSite', updateSite_siteId - The ID of your site.

Request Lenses

updateSite_location :: Lens' UpdateSite (Maybe Location) Source #

The site location:

  • Address: The physical address of the site.
  • Latitude: The latitude of the site.
  • Longitude: The longitude of the site.

updateSite_description :: Lens' UpdateSite (Maybe Text) Source #

A description of your site.

Length Constraints: Maximum length of 256 characters.

updateSite_globalNetworkId :: Lens' UpdateSite Text Source #

The ID of the global network.

Destructuring the Response

data UpdateSiteResponse Source #

See: newUpdateSiteResponse smart constructor.

Constructors

UpdateSiteResponse' 

Fields

Instances

Instances details
Eq UpdateSiteResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateSite

Show UpdateSiteResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateSite

Generic UpdateSiteResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateSite

Associated Types

type Rep UpdateSiteResponse :: Type -> Type #

NFData UpdateSiteResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateSite

Methods

rnf :: UpdateSiteResponse -> () #

type Rep UpdateSiteResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateSite

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

newUpdateSiteResponse Source #

Create a value of UpdateSiteResponse 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:site:UpdateSiteResponse', updateSiteResponse_site - Information about the site.

$sel:httpStatus:UpdateSiteResponse', updateSiteResponse_httpStatus - The response's http status code.

Response Lenses