amazonka-location-2.0: Amazon Location Service 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.Location.DeleteMap

Description

Deletes a map resource from your AWS account.

This operation deletes the resource permanently. If the map is being used in an application, the map may not render.

Synopsis

Creating a Request

data DeleteMap Source #

See: newDeleteMap smart constructor.

Constructors

DeleteMap' 

Fields

  • mapName :: Text

    The name of the map resource to be deleted.

Instances

Instances details
ToHeaders DeleteMap Source # 
Instance details

Defined in Amazonka.Location.DeleteMap

Methods

toHeaders :: DeleteMap -> [Header] #

ToPath DeleteMap Source # 
Instance details

Defined in Amazonka.Location.DeleteMap

ToQuery DeleteMap Source # 
Instance details

Defined in Amazonka.Location.DeleteMap

AWSRequest DeleteMap Source # 
Instance details

Defined in Amazonka.Location.DeleteMap

Associated Types

type AWSResponse DeleteMap #

Generic DeleteMap Source # 
Instance details

Defined in Amazonka.Location.DeleteMap

Associated Types

type Rep DeleteMap :: Type -> Type #

Read DeleteMap Source # 
Instance details

Defined in Amazonka.Location.DeleteMap

Show DeleteMap Source # 
Instance details

Defined in Amazonka.Location.DeleteMap

NFData DeleteMap Source # 
Instance details

Defined in Amazonka.Location.DeleteMap

Methods

rnf :: DeleteMap -> () #

Eq DeleteMap Source # 
Instance details

Defined in Amazonka.Location.DeleteMap

Hashable DeleteMap Source # 
Instance details

Defined in Amazonka.Location.DeleteMap

type AWSResponse DeleteMap Source # 
Instance details

Defined in Amazonka.Location.DeleteMap

type Rep DeleteMap Source # 
Instance details

Defined in Amazonka.Location.DeleteMap

type Rep DeleteMap = D1 ('MetaData "DeleteMap" "Amazonka.Location.DeleteMap" "amazonka-location-2.0-4NLaYgEbMXwF6j2j7LAFNb" 'False) (C1 ('MetaCons "DeleteMap'" 'PrefixI 'True) (S1 ('MetaSel ('Just "mapName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeleteMap Source #

Arguments

:: Text

DeleteMap

-> DeleteMap 

Create a value of DeleteMap 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:

DeleteMap, deleteMap_mapName - The name of the map resource to be deleted.

Request Lenses

deleteMap_mapName :: Lens' DeleteMap Text Source #

The name of the map resource to be deleted.

Destructuring the Response

data DeleteMapResponse Source #

See: newDeleteMapResponse smart constructor.

Constructors

DeleteMapResponse' 

Fields

Instances

Instances details
Generic DeleteMapResponse Source # 
Instance details

Defined in Amazonka.Location.DeleteMap

Associated Types

type Rep DeleteMapResponse :: Type -> Type #

Read DeleteMapResponse Source # 
Instance details

Defined in Amazonka.Location.DeleteMap

Show DeleteMapResponse Source # 
Instance details

Defined in Amazonka.Location.DeleteMap

NFData DeleteMapResponse Source # 
Instance details

Defined in Amazonka.Location.DeleteMap

Methods

rnf :: DeleteMapResponse -> () #

Eq DeleteMapResponse Source # 
Instance details

Defined in Amazonka.Location.DeleteMap

type Rep DeleteMapResponse Source # 
Instance details

Defined in Amazonka.Location.DeleteMap

type Rep DeleteMapResponse = D1 ('MetaData "DeleteMapResponse" "Amazonka.Location.DeleteMap" "amazonka-location-2.0-4NLaYgEbMXwF6j2j7LAFNb" 'False) (C1 ('MetaCons "DeleteMapResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteMapResponse Source #

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

Response Lenses

deleteMapResponse_httpStatus :: Lens' DeleteMapResponse Int Source #

The response's http status code.