libZSservicesZSamazonka-datasyncZSamazonka-datasync
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.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
Eq DeleteLocation Source # 
Instance details

Defined in Amazonka.DataSync.DeleteLocation

Read DeleteLocation Source # 
Instance details

Defined in Amazonka.DataSync.DeleteLocation

Show DeleteLocation Source # 
Instance details

Defined in Amazonka.DataSync.DeleteLocation

Generic DeleteLocation Source # 
Instance details

Defined in Amazonka.DataSync.DeleteLocation

Associated Types

type Rep DeleteLocation :: Type -> Type #

NFData DeleteLocation Source # 
Instance details

Defined in Amazonka.DataSync.DeleteLocation

Methods

rnf :: DeleteLocation -> () #

Hashable DeleteLocation Source # 
Instance details

Defined in Amazonka.DataSync.DeleteLocation

ToJSON DeleteLocation Source # 
Instance details

Defined in Amazonka.DataSync.DeleteLocation

AWSRequest DeleteLocation Source # 
Instance details

Defined in Amazonka.DataSync.DeleteLocation

Associated Types

type AWSResponse 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

type Rep DeleteLocation Source # 
Instance details

Defined in Amazonka.DataSync.DeleteLocation

type Rep DeleteLocation = D1 ('MetaData "DeleteLocation" "Amazonka.DataSync.DeleteLocation" "libZSservicesZSamazonka-datasyncZSamazonka-datasync" 'False) (C1 ('MetaCons "DeleteLocation'" 'PrefixI 'True) (S1 ('MetaSel ('Just "locationArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteLocation Source # 
Instance details

Defined in Amazonka.DataSync.DeleteLocation

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:

$sel:locationArn: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
Eq DeleteLocationResponse Source # 
Instance details

Defined in Amazonka.DataSync.DeleteLocation

Read DeleteLocationResponse Source # 
Instance details

Defined in Amazonka.DataSync.DeleteLocation

Show DeleteLocationResponse Source # 
Instance details

Defined in Amazonka.DataSync.DeleteLocation

Generic DeleteLocationResponse Source # 
Instance details

Defined in Amazonka.DataSync.DeleteLocation

Associated Types

type Rep DeleteLocationResponse :: Type -> Type #

NFData DeleteLocationResponse Source # 
Instance details

Defined in Amazonka.DataSync.DeleteLocation

Methods

rnf :: DeleteLocationResponse -> () #

type Rep DeleteLocationResponse Source # 
Instance details

Defined in Amazonka.DataSync.DeleteLocation

type Rep DeleteLocationResponse = D1 ('MetaData "DeleteLocationResponse" "Amazonka.DataSync.DeleteLocation" "libZSservicesZSamazonka-datasyncZSamazonka-datasync" '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