Class: AWS.CloudDirectory
- Inherits:
-
AWS.Service
- Object
- AWS.Service
- AWS.CloudDirectory
- Identifier:
- clouddirectory
- API Version:
- 2017-01-11
- Defined in:
- (unknown)
Overview
Constructs a service interface object. Each API operation is exposed as a function on service.
Service Description
Amazon Cloud Directory is a component of the AWS Directory Service that simplifies the development and management of cloud-scale web, mobile, and IoT applications. This guide describes the Cloud Directory operations that you can call programmatically and includes detailed information on data types and errors. For information about Cloud Directory features, see AWS Directory Service and the Amazon Cloud Directory Developer Guide.
Sending a Request Using CloudDirectory
var clouddirectory = new AWS.CloudDirectory();
clouddirectory.addFacetToObject(params, function (err, data) {
if (err) console.log(err, err.stack); // an error occurred
else console.log(data); // successful response
});
Locking the API Version
In order to ensure that the CloudDirectory object uses this specific API, you can
construct the object by passing the apiVersion option to the constructor:
var clouddirectory = new AWS.CloudDirectory({apiVersion: '2017-01-11'});
You can also set the API version globally in AWS.config.apiVersions using
the clouddirectory service identifier:
AWS.config.apiVersions = {
clouddirectory: '2017-01-11',
// other service API versions
};
var clouddirectory = new AWS.CloudDirectory();
Constructor Summary collapse
-
new AWS.CloudDirectory(options = {}) ⇒ Object
constructor
Constructs a service object.
Property Summary collapse
-
endpoint ⇒ AWS.Endpoint
readwrite
An Endpoint object representing the endpoint URL for service requests.
Properties inherited from AWS.Service
Method Summary collapse
-
addFacetToObject(params = {}, callback) ⇒ AWS.Request
Adds a new Facet to an object.
-
applySchema(params = {}, callback) ⇒ AWS.Request
Copies the input published schema, at the specified version, into the Directory with the same name and version as that of the published schema.
.
-
attachObject(params = {}, callback) ⇒ AWS.Request
Attaches an existing object to another object.
-
attachPolicy(params = {}, callback) ⇒ AWS.Request
Attaches a policy object to a regular object.
-
attachToIndex(params = {}, callback) ⇒ AWS.Request
Attaches the specified object to the specified index.
.
-
attachTypedLink(params = {}, callback) ⇒ AWS.Request
Attaches a typed link to a specified source and target object.
-
batchRead(params = {}, callback) ⇒ AWS.Request
Performs all the read operations in a batch.
-
batchWrite(params = {}, callback) ⇒ AWS.Request
Performs all the write operations in a batch.
-
createDirectory(params = {}, callback) ⇒ AWS.Request
Creates a Directory by copying the published schema into the directory.
-
createFacet(params = {}, callback) ⇒ AWS.Request
Creates a new Facet in a schema.
-
createIndex(params = {}, callback) ⇒ AWS.Request
Creates an index object.
-
createObject(params = {}, callback) ⇒ AWS.Request
Creates an object in a Directory.
-
createSchema(params = {}, callback) ⇒ AWS.Request
Creates a new schema in a development state.
-
createTypedLinkFacet(params = {}, callback) ⇒ AWS.Request
Creates a TypedLinkFacet.
-
deleteDirectory(params = {}, callback) ⇒ AWS.Request
Deletes a directory.
-
deleteFacet(params = {}, callback) ⇒ AWS.Request
Deletes a given Facet.
-
deleteObject(params = {}, callback) ⇒ AWS.Request
Deletes an object and its associated attributes.
-
deleteSchema(params = {}, callback) ⇒ AWS.Request
Deletes a given schema.
-
deleteTypedLinkFacet(params = {}, callback) ⇒ AWS.Request
Deletes a TypedLinkFacet.
-
detachFromIndex(params = {}, callback) ⇒ AWS.Request
Detaches the specified object from the specified index.
.
-
detachObject(params = {}, callback) ⇒ AWS.Request
Detaches a given object from the parent object.
-
detachPolicy(params = {}, callback) ⇒ AWS.Request
Detaches a policy from an object.
.
-
detachTypedLink(params = {}, callback) ⇒ AWS.Request
Detaches a typed link from a specified source and target object.
-
disableDirectory(params = {}, callback) ⇒ AWS.Request
Disables the specified directory.
-
enableDirectory(params = {}, callback) ⇒ AWS.Request
Enables the specified directory.
-
getAppliedSchemaVersion(params = {}, callback) ⇒ AWS.Request
Returns current applied schema version ARN, including the minor version in use.
.
-
getDirectory(params = {}, callback) ⇒ AWS.Request
Retrieves metadata about a directory.
.
- getFacet(params = {}, callback) ⇒ AWS.Request
-
getLinkAttributes(params = {}, callback) ⇒ AWS.Request
Retrieves attributes that are associated with a typed link.
.
-
getObjectAttributes(params = {}, callback) ⇒ AWS.Request
Retrieves attributes within a facet that are associated with an object.
.
-
getObjectInformation(params = {}, callback) ⇒ AWS.Request
Retrieves metadata about an object.
.
-
getSchemaAsJson(params = {}, callback) ⇒ AWS.Request
Retrieves a JSON representation of the schema.
-
getTypedLinkFacetInformation(params = {}, callback) ⇒ AWS.Request
Returns the identity attribute order for a specific TypedLinkFacet.
-
listAppliedSchemaArns(params = {}, callback) ⇒ AWS.Request
Lists schema major versions applied to a directory.
-
listAttachedIndices(params = {}, callback) ⇒ AWS.Request
Lists indices attached to the specified object.
.
-
listDevelopmentSchemaArns(params = {}, callback) ⇒ AWS.Request
Retrieves each Amazon Resource Name (ARN) of schemas in the development state.
.
-
listDirectories(params = {}, callback) ⇒ AWS.Request
Lists directories created within an account.
.
-
listFacetAttributes(params = {}, callback) ⇒ AWS.Request
Retrieves attributes attached to the facet.
.
-
listFacetNames(params = {}, callback) ⇒ AWS.Request
Retrieves the names of facets that exist in a schema.
.
-
listIncomingTypedLinks(params = {}, callback) ⇒ AWS.Request
Returns a paginated list of all the incoming TypedLinkSpecifier information for an object.
-
listIndex(params = {}, callback) ⇒ AWS.Request
Lists objects attached to the specified index.
.
-
listManagedSchemaArns(params = {}, callback) ⇒ AWS.Request
Lists the major version families of each managed schema.
-
listObjectAttributes(params = {}, callback) ⇒ AWS.Request
Lists all attributes that are associated with an object.
-
listObjectChildren(params = {}, callback) ⇒ AWS.Request
Returns a paginated list of child objects that are associated with a given object.
.
-
listObjectParentPaths(params = {}, callback) ⇒ AWS.Request
Retrieves all available parent paths for any object type such as node, leaf node, policy node, and index node objects.
-
listObjectParents(params = {}, callback) ⇒ AWS.Request
Lists parent objects that are associated with a given object in pagination fashion.
.
-
listObjectPolicies(params = {}, callback) ⇒ AWS.Request
Returns policies attached to an object in pagination fashion.
.
-
listOutgoingTypedLinks(params = {}, callback) ⇒ AWS.Request
Returns a paginated list of all the outgoing TypedLinkSpecifier information for an object.
-
listPolicyAttachments(params = {}, callback) ⇒ AWS.Request
Returns all of the
ObjectIdentifiersto which a given policy is attached..
-
listPublishedSchemaArns(params = {}, callback) ⇒ AWS.Request
Lists the major version families of each published schema.
-
listTagsForResource(params = {}, callback) ⇒ AWS.Request
Returns tags for a resource.
-
listTypedLinkFacetAttributes(params = {}, callback) ⇒ AWS.Request
Returns a paginated list of all attribute definitions for a particular TypedLinkFacet.
-
listTypedLinkFacetNames(params = {}, callback) ⇒ AWS.Request
Returns a paginated list of
TypedLinkfacet names for a particular schema. -
lookupPolicy(params = {}, callback) ⇒ AWS.Request
Lists all policies from the root of the Directory to the object specified.
-
publishSchema(params = {}, callback) ⇒ AWS.Request
Publishes a development schema with a major version and a recommended minor version.
.
-
putSchemaFromJson(params = {}, callback) ⇒ AWS.Request
Allows a schema to be updated using JSON upload.
-
removeFacetFromObject(params = {}, callback) ⇒ AWS.Request
Removes the specified facet from the specified object.
.
-
tagResource(params = {}, callback) ⇒ AWS.Request
An API operation for adding tags to a resource.
.
-
untagResource(params = {}, callback) ⇒ AWS.Request
An API operation for removing tags from a resource.
.
-
updateFacet(params = {}, callback) ⇒ AWS.Request
Does the following:
-
Adds new
Attributes,Rules, orObjectTypes. -
Updates existing
Attributes,Rules, orObjectTypes. -
Deletes existing
Attributes,Rules, orObjectTypes.
-
-
updateLinkAttributes(params = {}, callback) ⇒ AWS.Request
Updates a given typed link’s attributes.
-
updateObjectAttributes(params = {}, callback) ⇒ AWS.Request
Updates a given object's attributes.
.
-
updateSchema(params = {}, callback) ⇒ AWS.Request
Updates the schema name with a new name.
-
updateTypedLinkFacet(params = {}, callback) ⇒ AWS.Request
Updates a TypedLinkFacet.
-
upgradeAppliedSchema(params = {}, callback) ⇒ AWS.Request
Upgrades a single directory in-place using the
PublishedSchemaArnwith schema updates found inMinorVersion. -
upgradePublishedSchema(params = {}, callback) ⇒ AWS.Request
Upgrades a published schema under a new minor version revision using the current contents of
DevelopmentSchemaArn..
Methods inherited from AWS.Service
makeRequest, makeUnauthenticatedRequest, waitFor, setupRequestListeners, defineService
Constructor Details
new AWS.CloudDirectory(options = {}) ⇒ Object
Constructs a service object. This object has one method for each API operation.
Property Details
Method Details
addFacetToObject(params = {}, callback) ⇒ AWS.Request
Adds a new Facet to an object. An object can have more than one facet applied on it.