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

Description

Adds a new Facet to an object. An object can have more than one facet applied on it.

Synopsis

Creating a Request

data AddFacetToObject Source #

See: newAddFacetToObject smart constructor.

Constructors

AddFacetToObject' 

Fields

Instances

Instances details
Eq AddFacetToObject Source # 
Instance details

Defined in Amazonka.CloudDirectory.AddFacetToObject

Read AddFacetToObject Source # 
Instance details

Defined in Amazonka.CloudDirectory.AddFacetToObject

Show AddFacetToObject Source # 
Instance details

Defined in Amazonka.CloudDirectory.AddFacetToObject

Generic AddFacetToObject Source # 
Instance details

Defined in Amazonka.CloudDirectory.AddFacetToObject

Associated Types

type Rep AddFacetToObject :: Type -> Type #

NFData AddFacetToObject Source # 
Instance details

Defined in Amazonka.CloudDirectory.AddFacetToObject

Methods

rnf :: AddFacetToObject -> () #

Hashable AddFacetToObject Source # 
Instance details

Defined in Amazonka.CloudDirectory.AddFacetToObject

ToJSON AddFacetToObject Source # 
Instance details

Defined in Amazonka.CloudDirectory.AddFacetToObject

AWSRequest AddFacetToObject Source # 
Instance details

Defined in Amazonka.CloudDirectory.AddFacetToObject

Associated Types

type AWSResponse AddFacetToObject #

ToHeaders AddFacetToObject Source # 
Instance details

Defined in Amazonka.CloudDirectory.AddFacetToObject

ToPath AddFacetToObject Source # 
Instance details

Defined in Amazonka.CloudDirectory.AddFacetToObject

ToQuery AddFacetToObject Source # 
Instance details

Defined in Amazonka.CloudDirectory.AddFacetToObject

type Rep AddFacetToObject Source # 
Instance details

Defined in Amazonka.CloudDirectory.AddFacetToObject

type Rep AddFacetToObject = D1 ('MetaData "AddFacetToObject" "Amazonka.CloudDirectory.AddFacetToObject" "libZSservicesZSamazonka-clouddirectoryZSamazonka-clouddirectory" 'False) (C1 ('MetaCons "AddFacetToObject'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "objectAttributeList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AttributeKeyAndValue])) :*: S1 ('MetaSel ('Just "directoryArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "schemaFacet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SchemaFacet) :*: S1 ('MetaSel ('Just "objectReference") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ObjectReference))))
type AWSResponse AddFacetToObject Source # 
Instance details

Defined in Amazonka.CloudDirectory.AddFacetToObject

newAddFacetToObject Source #

Create a value of AddFacetToObject 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:objectAttributeList:AddFacetToObject', addFacetToObject_objectAttributeList - Attributes on the facet that you are adding to the object.

$sel:directoryArn:AddFacetToObject', addFacetToObject_directoryArn - The Amazon Resource Name (ARN) that is associated with the Directory where the object resides. For more information, see arns.

$sel:schemaFacet:AddFacetToObject', addFacetToObject_schemaFacet - Identifiers for the facet that you are adding to the object. See SchemaFacet for details.

$sel:objectReference:AddFacetToObject', addFacetToObject_objectReference - A reference to the object you are adding the specified facet to.

Request Lenses

addFacetToObject_objectAttributeList :: Lens' AddFacetToObject (Maybe [AttributeKeyAndValue]) Source #

Attributes on the facet that you are adding to the object.

addFacetToObject_directoryArn :: Lens' AddFacetToObject Text Source #

The Amazon Resource Name (ARN) that is associated with the Directory where the object resides. For more information, see arns.

addFacetToObject_schemaFacet :: Lens' AddFacetToObject SchemaFacet Source #

Identifiers for the facet that you are adding to the object. See SchemaFacet for details.

addFacetToObject_objectReference :: Lens' AddFacetToObject ObjectReference Source #

A reference to the object you are adding the specified facet to.

Destructuring the Response

data AddFacetToObjectResponse Source #

See: newAddFacetToObjectResponse smart constructor.

Constructors

AddFacetToObjectResponse' 

Fields

Instances

Instances details
Eq AddFacetToObjectResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.AddFacetToObject

Read AddFacetToObjectResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.AddFacetToObject

Show AddFacetToObjectResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.AddFacetToObject

Generic AddFacetToObjectResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.AddFacetToObject

Associated Types

type Rep AddFacetToObjectResponse :: Type -> Type #

NFData AddFacetToObjectResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.AddFacetToObject

type Rep AddFacetToObjectResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.AddFacetToObject

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

newAddFacetToObjectResponse Source #

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

Response Lenses