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

Description

Deletes an existing site. The site cannot be associated with any device or link.

Synopsis

Creating a Request

data DeleteSite Source #

See: newDeleteSite smart constructor.

Constructors

DeleteSite' 

Fields

Instances

Instances details
Eq DeleteSite Source # 
Instance details

Defined in Amazonka.NetworkManager.DeleteSite

Read DeleteSite Source # 
Instance details

Defined in Amazonka.NetworkManager.DeleteSite

Show DeleteSite Source # 
Instance details

Defined in Amazonka.NetworkManager.DeleteSite

Generic DeleteSite Source # 
Instance details

Defined in Amazonka.NetworkManager.DeleteSite

Associated Types

type Rep DeleteSite :: Type -> Type #

NFData DeleteSite Source # 
Instance details

Defined in Amazonka.NetworkManager.DeleteSite

Methods

rnf :: DeleteSite -> () #

Hashable DeleteSite Source # 
Instance details

Defined in Amazonka.NetworkManager.DeleteSite

AWSRequest DeleteSite Source # 
Instance details

Defined in Amazonka.NetworkManager.DeleteSite

Associated Types

type AWSResponse DeleteSite #

ToHeaders DeleteSite Source # 
Instance details

Defined in Amazonka.NetworkManager.DeleteSite

Methods

toHeaders :: DeleteSite -> [Header] #

ToPath DeleteSite Source # 
Instance details

Defined in Amazonka.NetworkManager.DeleteSite

ToQuery DeleteSite Source # 
Instance details

Defined in Amazonka.NetworkManager.DeleteSite

type Rep DeleteSite Source # 
Instance details

Defined in Amazonka.NetworkManager.DeleteSite

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

Defined in Amazonka.NetworkManager.DeleteSite

newDeleteSite Source #

Create a value of DeleteSite 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:globalNetworkId:DeleteSite', deleteSite_globalNetworkId - The ID of the global network.

$sel:siteId:DeleteSite', deleteSite_siteId - The ID of the site.

Request Lenses

deleteSite_globalNetworkId :: Lens' DeleteSite Text Source #

The ID of the global network.

Destructuring the Response

data DeleteSiteResponse Source #

See: newDeleteSiteResponse smart constructor.

Constructors

DeleteSiteResponse' 

Fields

Instances

Instances details
Eq DeleteSiteResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.DeleteSite

Show DeleteSiteResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.DeleteSite

Generic DeleteSiteResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.DeleteSite

Associated Types

type Rep DeleteSiteResponse :: Type -> Type #

NFData DeleteSiteResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.DeleteSite

Methods

rnf :: DeleteSiteResponse -> () #

type Rep DeleteSiteResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.DeleteSite

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

newDeleteSiteResponse Source #

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

$sel:httpStatus:DeleteSiteResponse', deleteSiteResponse_httpStatus - The response's http status code.

Response Lenses