libZSservicesZSamazonka-clouddirectoryZSamazonka-clouddirectory
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.CloudDirectory.DeleteFacet

Description

Deletes a given Facet. All attributes and Rules that are associated with the facet will be deleted. Only development schema facets are allowed deletion.

Synopsis

Creating a Request

data DeleteFacet Source #

See: newDeleteFacet smart constructor.

Constructors

DeleteFacet' 

Fields

  • schemaArn :: Text

    The Amazon Resource Name (ARN) that is associated with the Facet. For more information, see arns.

  • name :: Text

    The name of the facet to delete.

Instances

Instances details
Eq DeleteFacet Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteFacet

Read DeleteFacet Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteFacet

Show DeleteFacet Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteFacet

Generic DeleteFacet Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteFacet

Associated Types

type Rep DeleteFacet :: Type -> Type #

NFData DeleteFacet Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteFacet

Methods

rnf :: DeleteFacet -> () #

Hashable DeleteFacet Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteFacet

ToJSON DeleteFacet Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteFacet

AWSRequest DeleteFacet Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteFacet

Associated Types

type AWSResponse DeleteFacet #

ToHeaders DeleteFacet Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteFacet

Methods

toHeaders :: DeleteFacet -> [Header] #

ToPath DeleteFacet Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteFacet

ToQuery DeleteFacet Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteFacet

type Rep DeleteFacet Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteFacet

type Rep DeleteFacet = D1 ('MetaData "DeleteFacet" "Amazonka.CloudDirectory.DeleteFacet" "libZSservicesZSamazonka-clouddirectoryZSamazonka-clouddirectory" 'False) (C1 ('MetaCons "DeleteFacet'" 'PrefixI 'True) (S1 ('MetaSel ('Just "schemaArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteFacet Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteFacet

newDeleteFacet Source #

Create a value of DeleteFacet 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:schemaArn:DeleteFacet', deleteFacet_schemaArn - The Amazon Resource Name (ARN) that is associated with the Facet. For more information, see arns.

$sel:name:DeleteFacet', deleteFacet_name - The name of the facet to delete.

Request Lenses

deleteFacet_schemaArn :: Lens' DeleteFacet Text Source #

The Amazon Resource Name (ARN) that is associated with the Facet. For more information, see arns.

deleteFacet_name :: Lens' DeleteFacet Text Source #

The name of the facet to delete.

Destructuring the Response

data DeleteFacetResponse Source #

See: newDeleteFacetResponse smart constructor.

Constructors

DeleteFacetResponse' 

Fields

Instances

Instances details
Eq DeleteFacetResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteFacet

Read DeleteFacetResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteFacet

Show DeleteFacetResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteFacet

Generic DeleteFacetResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteFacet

Associated Types

type Rep DeleteFacetResponse :: Type -> Type #

NFData DeleteFacetResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteFacet

Methods

rnf :: DeleteFacetResponse -> () #

type Rep DeleteFacetResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteFacet

type Rep DeleteFacetResponse = D1 ('MetaData "DeleteFacetResponse" "Amazonka.CloudDirectory.DeleteFacet" "libZSservicesZSamazonka-clouddirectoryZSamazonka-clouddirectory" 'False) (C1 ('MetaCons "DeleteFacetResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteFacetResponse Source #

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

Response Lenses