amazonka-datasync-2.0: Amazon DataSync 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.DataSync.DeleteLocation

Description

Deletes the configuration of a location used by DataSync.

Synopsis

Creating a Request

data DeleteLocation Source #

DeleteLocation

See: newDeleteLocation smart constructor.

Constructors

DeleteLocation' 

Fields

  • locationArn :: Text

    The Amazon Resource Name (ARN) of the location to delete.

Instances

Instances details
ToJSON DeleteLocation Source # 
Instance details

Defined in Amazonka.DataSync.DeleteLocation

ToHeaders DeleteLocation Source # 
Instance details

Defined in Amazonka.DataSync.DeleteLocation

ToPath DeleteLocation Source # 
Instance details

Defined in Amazonka.DataSync.DeleteLocation

ToQuery DeleteLocation Source # 
Instance details

Defined in Amazonka.DataSync.DeleteLocation

AWSRequest DeleteLocation Source # 
Instance details

Defined in Amazonka.DataSync.DeleteLocation

Associated Types

type AWSResponse DeleteLocation #

Generic DeleteLocation Source # 
Instance details

Defined in Amazonka.DataSync.DeleteLocation

Associated Types

type Rep DeleteLocation :: Type -> Type #

Read DeleteLocation Source # 
Instance details

Defined in Amazonka.DataSync.DeleteLocation

Show DeleteLocation Source # 
Instance details

Defined in Amazonka.DataSync.DeleteLocation

NFData DeleteLocation Source # 
Instance details

Defined in Amazonka.DataSync.DeleteLocation

Methods

rnf :: DeleteLocation -> () #

Eq DeleteLocation Source # 
Instance details

Defined in Amazonka.DataSync.DeleteLocation

Hashable DeleteLocation Source # 
Instance details

Defined in Amazonka.DataSync.DeleteLocation

type AWSResponse DeleteLocation Source # 
Instance details

Defined in Amazonka.DataSync.DeleteLocation

type Rep DeleteLocation Source # 
Instance details

Defined in Amazonka.DataSync.DeleteLocation

type Rep DeleteLocation = D1 ('MetaData "DeleteLocation" "Amazonka.DataSync.DeleteLocation" "amazonka-datasync-2.0-LCcm4ddRe2z4CES4wun76Z" 'False) (C1 ('MetaCons "DeleteLocation'" 'PrefixI 'True) (S1 ('MetaSel ('Just "locationArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeleteLocation Source #

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

DeleteLocation, deleteLocation_locationArn - The Amazon Resource Name (ARN) of the location to delete.

Request Lenses

deleteLocation_locationArn :: Lens' DeleteLocation Text Source #

The Amazon Resource Name (ARN) of the location to delete.

Destructuring the Response

data DeleteLocationResponse Source #

See: newDeleteLocationResponse smart constructor.

Constructors

DeleteLocationResponse' 

Fields

Instances

Instances details
Generic DeleteLocationResponse Source # 
Instance details

Defined in Amazonka.DataSync.DeleteLocation

Associated Types

type Rep DeleteLocationResponse :: Type -> Type #

Read DeleteLocationResponse Source # 
Instance details

Defined in Amazonka.DataSync.DeleteLocation

Show DeleteLocationResponse Source # 
Instance details

Defined in Amazonka.DataSync.DeleteLocation

NFData DeleteLocationResponse Source # 
Instance details

Defined in Amazonka.DataSync.DeleteLocation

Methods

rnf :: DeleteLocationResponse -> () #

Eq DeleteLocationResponse Source # 
Instance details

Defined in Amazonka.DataSync.DeleteLocation

type Rep DeleteLocationResponse Source # 
Instance details

Defined in Amazonka.DataSync.DeleteLocation

type Rep DeleteLocationResponse = D1 ('MetaData "DeleteLocationResponse" "Amazonka.DataSync.DeleteLocation" "amazonka-datasync-2.0-LCcm4ddRe2z4CES4wun76Z" 'False) (C1 ('MetaCons "DeleteLocationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteLocationResponse Source #

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

Response Lenses