@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAmazonCloudDirectory extends Object implements AmazonCloudDirectory
AmazonCloudDirectory. Convenient method forms pass through to the corresponding
overload that takes a request object, which throws an UnsupportedOperationException.ENDPOINT_PREFIX| Modifier and Type | Method and Description |
|---|---|
AddFacetToObjectResult |
addFacetToObject(AddFacetToObjectRequest request)
Adds a new Facet to an object.
|
ApplySchemaResult |
applySchema(ApplySchemaRequest request)
Copies input published schema into Directory with same name and version as that of published schema .
|
AttachObjectResult |
attachObject(AttachObjectRequest request)
Attaches an existing object to another object.
|
AttachPolicyResult |
attachPolicy(AttachPolicyRequest request)
Attaches a policy object to a regular object.
|
AttachToIndexResult |
attachToIndex(AttachToIndexRequest request)
Attaches the specified object to the specified index.
|
BatchReadResult |
batchRead(BatchReadRequest request)
Performs all the read operations in a batch.
|
BatchWriteResult |
batchWrite(BatchWriteRequest request)
Performs all the write operations in a batch.
|
CreateDirectoryResult |
createDirectory(CreateDirectoryRequest request)
Creates a Directory by copying the published schema into the directory.
|
CreateFacetResult |
createFacet(CreateFacetRequest request)
Creates a new Facet in a schema.
|
CreateIndexResult |
createIndex(CreateIndexRequest request)
Creates an index object.
|
CreateObjectResult |
createObject(CreateObjectRequest request)
Creates an object in a Directory.
|
CreateSchemaResult |
createSchema(CreateSchemaRequest request)
Creates a new schema in a development state.
|
DeleteDirectoryResult |
deleteDirectory(DeleteDirectoryRequest request)
Deletes a directory.
|
DeleteFacetResult |
deleteFacet(DeleteFacetRequest request)
Deletes a given Facet.
|
DeleteObjectResult |
deleteObject(DeleteObjectRequest request)
Deletes an object and its associated attributes.
|
DeleteSchemaResult |
deleteSchema(DeleteSchemaRequest request)
Deletes a given schema.
|
DetachFromIndexResult |
detachFromIndex(DetachFromIndexRequest request)
Detaches the specified object from the specified index.
|
DetachObjectResult |
detachObject(DetachObjectRequest request)
Detaches a given object from the parent object.
|
DetachPolicyResult |
detachPolicy(DetachPolicyRequest request)
Detaches a policy from an object.
|
DisableDirectoryResult |
disableDirectory(DisableDirectoryRequest request)
Disables the specified directory.
|
EnableDirectoryResult |
enableDirectory(EnableDirectoryRequest request)
Enables the specified directory.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful request, typically used for debugging issues
where a service isn't acting as expected.
|
GetDirectoryResult |
getDirectory(GetDirectoryRequest request)
Retrieves metadata about a directory.
|
GetFacetResult |
getFacet(GetFacetRequest request)
|
GetObjectInformationResult |
getObjectInformation(GetObjectInformationRequest request)
Retrieves metadata about an object.
|
GetSchemaAsJsonResult |
getSchemaAsJson(GetSchemaAsJsonRequest request)
Retrieves a JSON representation of the schema.
|
ListAppliedSchemaArnsResult |
listAppliedSchemaArns(ListAppliedSchemaArnsRequest request)
Lists schemas applied to a directory.
|
ListAttachedIndicesResult |
listAttachedIndices(ListAttachedIndicesRequest request)
Lists indices attached to an object.
|
ListDevelopmentSchemaArnsResult |
listDevelopmentSchemaArns(ListDevelopmentSchemaArnsRequest request)
Retrieves the ARNs of schemas in the development state.
|
ListDirectoriesResult |
listDirectories(ListDirectoriesRequest request)
Lists directories created within an account.
|
ListFacetAttributesResult |
listFacetAttributes(ListFacetAttributesRequest request)
Retrieves attributes attached to the facet.
|
ListFacetNamesResult |
listFacetNames(ListFacetNamesRequest request)
Retrieves the names of facets that exist in a schema.
|
ListIndexResult |
listIndex(ListIndexRequest request)
Lists objects attached to the specified index.
|
ListObjectAttributesResult |
listObjectAttributes(ListObjectAttributesRequest request)
Lists all attributes associated with an object.
|
ListObjectChildrenResult |
listObjectChildren(ListObjectChildrenRequest request)
Returns a paginated list of child objects associated with a given object.
|
ListObjectParentPathsResult |
listObjectParentPaths(ListObjectParentPathsRequest request)
Retrieves all available parent paths for any object type such as node, leaf node, policy node, and index node
objects.
|
ListObjectParentsResult |
listObjectParents(ListObjectParentsRequest request)
Lists parent objects associated with a given object in pagination fashion.
|
ListObjectPoliciesResult |
listObjectPolicies(ListObjectPoliciesRequest request)
Returns policies attached to an object in pagination fashion.
|
ListPolicyAttachmentsResult |
listPolicyAttachments(ListPolicyAttachmentsRequest request)
Returns all of the
ObjectIdentifiers to which a given policy is attached. |
ListPublishedSchemaArnsResult |
listPublishedSchemaArns(ListPublishedSchemaArnsRequest request)
Retrieves published schema ARNs.
|
ListTagsForResourceResult |
listTagsForResource(ListTagsForResourceRequest request)
Returns tags for a resource.
|
LookupPolicyResult |
lookupPolicy(LookupPolicyRequest request)
Lists all policies from the root of the Directory to the object specified.
|
PublishSchemaResult |
publishSchema(PublishSchemaRequest request)
Publishes a development schema with a version.
|
PutSchemaFromJsonResult |
putSchemaFromJson(PutSchemaFromJsonRequest request)
Allows a schema to be updated using JSON upload.
|
RemoveFacetFromObjectResult |
removeFacetFromObject(RemoveFacetFromObjectRequest request)
Removes the specified facet from the specified object.
|
void |
setEndpoint(String endpoint)
Overrides the default endpoint for this client ("clouddirectory.us-east-1.amazonaws.com").
|
void |
setRegion(Region region)
An alternative to
AmazonCloudDirectory.setEndpoint(String), sets the regional endpoint for this client's
service calls. |
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
TagResourceResult |
tagResource(TagResourceRequest request)
API for adding tags to a resource.
|
UntagResourceResult |
untagResource(UntagResourceRequest request)
API for removing tags from a resource.
|
UpdateFacetResult |
updateFacet(UpdateFacetRequest request)
Does the following:
|
UpdateObjectAttributesResult |
updateObjectAttributes(UpdateObjectAttributesRequest request)
Updates a given object's attributes.
|
UpdateSchemaResult |
updateSchema(UpdateSchemaRequest request)
Updates the schema name with a new name.
|
public void setEndpoint(String endpoint)
AmazonCloudDirectory
Callers can pass in just the endpoint (ex: "clouddirectory.us-east-1.amazonaws.com") or a full URL, including the
protocol (ex: "clouddirectory.us-east-1.amazonaws.com"). If the protocol is not specified here, the default
protocol from this client's ClientConfiguration will be used, which by default is HTTPS.
For more information on using AWS regions with the AWS SDK for Java, and a complete list of all available endpoints for all AWS services, see: http://developer.amazonwebservices.com/connect/entry.jspa?externalID=3912
This method is not threadsafe. An endpoint should be configured when the client is created and before any service requests are made. Changing it afterwards creates inevitable race conditions for any service requests in transit or retrying.
setEndpoint in interface AmazonCloudDirectoryendpoint - The endpoint (ex: "clouddirectory.us-east-1.amazonaws.com") or a full URL, including the protocol (ex:
"clouddirectory.us-east-1.amazonaws.com") of the region specific AWS endpoint this client will communicate
with.public void setRegion(Region region)
AmazonCloudDirectoryAmazonCloudDirectory.setEndpoint(String), sets the regional endpoint for this client's
service calls. Callers can use this method to control which AWS region they want to work with.
By default, all service endpoints in all regions use the https protocol. To use http instead, specify it in the
ClientConfiguration supplied at construction.
This method is not threadsafe. A region should be configured when the client is created and before any service requests are made. Changing it afterwards creates inevitable race conditions for any service requests in transit or retrying.
setRegion in interface AmazonCloudDirectoryregion - The region this client will communicate with. See Region.getRegion(com.amazonaws.regions.Regions)
for accessing a given region. Must not be null and must be a region where the service is available.Region.getRegion(com.amazonaws.regions.Regions),
Region.createClient(Class, com.amazonaws.auth.AWSCredentialsProvider, ClientConfiguration),
Region.isServiceSupported(String)public AddFacetToObjectResult addFacetToObject(AddFacetToObjectRequest request)
AmazonCloudDirectoryAdds a new Facet to an object.
addFacetToObject in interface AmazonCloudDirectorypublic ApplySchemaResult applySchema(ApplySchemaRequest request)
AmazonCloudDirectoryCopies input published schema into Directory with same name and version as that of published schema .
applySchema in interface AmazonCloudDirectorypublic AttachObjectResult attachObject(AttachObjectRequest request)
AmazonCloudDirectoryAttaches an existing object to another object. An object can be accessed in two ways:
Using the path
Using ObjectIdentifier
attachObject in interface AmazonCloudDirectorypublic AttachPolicyResult attachPolicy(AttachPolicyRequest request)
AmazonCloudDirectoryAttaches a policy object to a regular object. An object can have a limited number of attached policies.
attachPolicy in interface AmazonCloudDirectorypublic AttachToIndexResult attachToIndex(AttachToIndexRequest request)
AmazonCloudDirectoryAttaches the specified object to the specified index.
attachToIndex in interface AmazonCloudDirectorypublic BatchReadResult batchRead(BatchReadRequest request)
AmazonCloudDirectoryPerforms all the read operations in a batch.
batchRead in interface AmazonCloudDirectorypublic BatchWriteResult batchWrite(BatchWriteRequest request)
AmazonCloudDirectoryPerforms all the write operations in a batch. Either all the operations succeed or none. Batch writes supports only object-related operations.
batchWrite in interface AmazonCloudDirectorypublic CreateDirectoryResult createDirectory(CreateDirectoryRequest request)
AmazonCloudDirectoryCreates a Directory by copying the published schema into the directory. A directory cannot be created without a schema.
createDirectory in interface AmazonCloudDirectorypublic CreateFacetResult createFacet(CreateFacetRequest request)
AmazonCloudDirectoryCreates a new Facet in a schema. Facet creation is allowed only in development or applied schemas.
createFacet in interface AmazonCloudDirectorypublic CreateIndexResult createIndex(CreateIndexRequest request)
AmazonCloudDirectoryCreates an index object. See Indexing for more information.
createIndex in interface AmazonCloudDirectorypublic CreateObjectResult createObject(CreateObjectRequest request)
AmazonCloudDirectoryCreates an object in a Directory. Additionally attaches the object to a parent, if a parent reference and LinkName is specified. An object is simply a collection of Facet attributes. You can also use this API call to create a policy object, if the facet from which you create the object is a policy facet.
createObject in interface AmazonCloudDirectorypublic CreateSchemaResult createSchema(CreateSchemaRequest request)
AmazonCloudDirectoryCreates a new schema in a development state. A schema can exist in three phases:
Development: This is a mutable phase of the schema. All new schemas are in the development phase. Once the schema is finalized, it can be published.
Published: Published schemas are immutable and have a version associated with them.
Applied: Applied schemas are mutable in a way that allows you to add new schema facets. You can also add new, nonrequired attributes to existing schema facets. You can apply only published schemas to directories.
createSchema in interface AmazonCloudDirectorypublic DeleteDirectoryResult deleteDirectory(DeleteDirectoryRequest request)
AmazonCloudDirectoryDeletes a directory. Only disabled directories can be deleted. A deleted directory cannot be undone. Exercise extreme caution when deleting directories.
deleteDirectory in interface AmazonCloudDirectorypublic DeleteFacetResult deleteFacet(DeleteFacetRequest request)
AmazonCloudDirectoryDeletes a given Facet. All attributes and Rules associated with the facet will be deleted. Only development schema facets are allowed deletion.
deleteFacet in interface AmazonCloudDirectorypublic DeleteObjectResult deleteObject(DeleteObjectRequest request)
AmazonCloudDirectoryDeletes an object and its associated attributes. Only objects with no children and no parents can be deleted.
deleteObject in interface AmazonCloudDirectorypublic DeleteSchemaResult deleteSchema(DeleteSchemaRequest request)
AmazonCloudDirectoryDeletes a given schema. Schemas in a development and published state can only be deleted.
deleteSchema in interface AmazonCloudDirectorypublic DetachFromIndexResult detachFromIndex(DetachFromIndexRequest request)
AmazonCloudDirectoryDetaches the specified object from the specified index.
detachFromIndex in interface AmazonCloudDirectorypublic DetachObjectResult detachObject(DetachObjectRequest request)
AmazonCloudDirectoryDetaches a given object from the parent object. The object that is to be detached from the parent is specified by the link name.
detachObject in interface AmazonCloudDirectorypublic DetachPolicyResult detachPolicy(DetachPolicyRequest request)
AmazonCloudDirectoryDetaches a policy from an object.
detachPolicy in interface AmazonCloudDirectorypublic DisableDirectoryResult disableDirectory(DisableDirectoryRequest request)
AmazonCloudDirectoryDisables the specified directory. Disabled directories cannot be read or written to. Only enabled directories can be disabled. Disabled directories may be reenabled.
disableDirectory in interface AmazonCloudDirectorypublic EnableDirectoryResult enableDirectory(EnableDirectoryRequest request)
AmazonCloudDirectoryEnables the specified directory. Only disabled directories can be enabled. Once enabled, the directory can then be read and written to.
enableDirectory in interface AmazonCloudDirectorypublic GetDirectoryResult getDirectory(GetDirectoryRequest request)
AmazonCloudDirectoryRetrieves metadata about a directory.
getDirectory in interface AmazonCloudDirectorypublic GetFacetResult getFacet(GetFacetRequest request)
AmazonCloudDirectoryGets details of the Facet, such as Facet Name, Attributes, Rules, or ObjectType. You can call this on all kinds of schema facets -- published, development, or applied.
getFacet in interface AmazonCloudDirectorypublic GetObjectInformationResult getObjectInformation(GetObjectInformationRequest request)
AmazonCloudDirectoryRetrieves metadata about an object.
getObjectInformation in interface AmazonCloudDirectorypublic GetSchemaAsJsonResult getSchemaAsJson(GetSchemaAsJsonRequest request)
AmazonCloudDirectoryRetrieves a JSON representation of the schema. See JSON Schema Format for more information.
getSchemaAsJson in interface AmazonCloudDirectorypublic ListAppliedSchemaArnsResult listAppliedSchemaArns(ListAppliedSchemaArnsRequest request)
AmazonCloudDirectoryLists schemas applied to a directory.
listAppliedSchemaArns in interface AmazonCloudDirectorypublic ListAttachedIndicesResult listAttachedIndices(ListAttachedIndicesRequest request)
AmazonCloudDirectoryLists indices attached to an object.
listAttachedIndices in interface AmazonCloudDirectorypublic ListDevelopmentSchemaArnsResult listDevelopmentSchemaArns(ListDevelopmentSchemaArnsRequest request)
AmazonCloudDirectoryRetrieves the ARNs of schemas in the development state.
listDevelopmentSchemaArns in interface AmazonCloudDirectorypublic ListDirectoriesResult listDirectories(ListDirectoriesRequest request)
AmazonCloudDirectoryLists directories created within an account.
listDirectories in interface AmazonCloudDirectorypublic ListFacetAttributesResult listFacetAttributes(ListFacetAttributesRequest request)
AmazonCloudDirectoryRetrieves attributes attached to the facet.
listFacetAttributes in interface AmazonCloudDirectorypublic ListFacetNamesResult listFacetNames(ListFacetNamesRequest request)
AmazonCloudDirectoryRetrieves the names of facets that exist in a schema.
listFacetNames in interface AmazonCloudDirectorypublic ListIndexResult listIndex(ListIndexRequest request)
AmazonCloudDirectoryLists objects attached to the specified index.
listIndex in interface AmazonCloudDirectorypublic ListObjectAttributesResult listObjectAttributes(ListObjectAttributesRequest request)
AmazonCloudDirectoryLists all attributes associated with an object.
listObjectAttributes in interface AmazonCloudDirectorypublic ListObjectChildrenResult listObjectChildren(ListObjectChildrenRequest request)
AmazonCloudDirectoryReturns a paginated list of child objects associated with a given object.
listObjectChildren in interface AmazonCloudDirectorypublic ListObjectParentPathsResult listObjectParentPaths(ListObjectParentPathsRequest request)
AmazonCloudDirectoryRetrieves all available parent paths for any object type such as node, leaf node, policy node, and index node objects. For more information about objects, see Directory Structure.
Use this API to evaluate all parents for an object. The call returns all objects from the root of the directory
up to the requested object. The API returns the number of paths based on user-defined MaxResults, in
case there are multiple paths to the parent. The order of the paths and nodes returned is consistent among
multiple API calls unless the objects are deleted or moved. Paths not leading to directory root are ignored from
the target object.
listObjectParentPaths in interface AmazonCloudDirectorypublic ListObjectParentsResult listObjectParents(ListObjectParentsRequest request)
AmazonCloudDirectoryLists parent objects associated with a given object in pagination fashion.
listObjectParents in interface AmazonCloudDirectorypublic ListObjectPoliciesResult listObjectPolicies(ListObjectPoliciesRequest request)
AmazonCloudDirectoryReturns policies attached to an object in pagination fashion.
listObjectPolicies in interface AmazonCloudDirectorypublic ListPolicyAttachmentsResult listPolicyAttachments(ListPolicyAttachmentsRequest request)
AmazonCloudDirectory
Returns all of the ObjectIdentifiers to which a given policy is attached.
listPolicyAttachments in interface AmazonCloudDirectorypublic ListPublishedSchemaArnsResult listPublishedSchemaArns(ListPublishedSchemaArnsRequest request)
AmazonCloudDirectoryRetrieves published schema ARNs.
listPublishedSchemaArns in interface AmazonCloudDirectorypublic ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
AmazonCloudDirectoryReturns tags for a resource. Tagging is currently supported only for directories with a limit of 50 tags per directory. All 50 tags are returned for a given directory with this API call.
listTagsForResource in interface AmazonCloudDirectorypublic LookupPolicyResult lookupPolicy(LookupPolicyRequest request)
AmazonCloudDirectory
Lists all policies from the root of the Directory to the object specified. If there are no policies
present, an empty list is returned. If policies are present, and if some objects don't have the policies
attached, it returns the ObjectIdentifier for such objects. If policies are present, it returns
ObjectIdentifier, policyId, and policyType. Paths that don't lead to the
root from the target object are ignored.
lookupPolicy in interface AmazonCloudDirectorypublic PublishSchemaResult publishSchema(PublishSchemaRequest request)
AmazonCloudDirectoryPublishes a development schema with a version. If description and attributes are specified, PublishSchema overrides the development schema description and attributes. If not, the development schema description and attributes are used.
publishSchema in interface AmazonCloudDirectorypublic PutSchemaFromJsonResult putSchemaFromJson(PutSchemaFromJsonRequest request)
AmazonCloudDirectoryAllows a schema to be updated using JSON upload. Only available for development schemas. See JSON Schema Format for more information.
putSchemaFromJson in interface AmazonCloudDirectorypublic RemoveFacetFromObjectResult removeFacetFromObject(RemoveFacetFromObjectRequest request)
AmazonCloudDirectoryRemoves the specified facet from the specified object.
removeFacetFromObject in interface AmazonCloudDirectorypublic TagResourceResult tagResource(TagResourceRequest request)
AmazonCloudDirectoryAPI for adding tags to a resource.
tagResource in interface AmazonCloudDirectorypublic UntagResourceResult untagResource(UntagResourceRequest request)
AmazonCloudDirectoryAPI for removing tags from a resource.
untagResource in interface AmazonCloudDirectorypublic UpdateFacetResult updateFacet(UpdateFacetRequest request)
AmazonCloudDirectoryDoes the following:
Adds new Attributes, Rules, or ObjectTypes.
Updates existing Attributes, Rules, or ObjectTypes.
Deletes existing Attributes, Rules, or ObjectTypes.
updateFacet in interface AmazonCloudDirectorypublic UpdateObjectAttributesResult updateObjectAttributes(UpdateObjectAttributesRequest request)
AmazonCloudDirectoryUpdates a given object's attributes.
updateObjectAttributes in interface AmazonCloudDirectorypublic UpdateSchemaResult updateSchema(UpdateSchemaRequest request)
AmazonCloudDirectoryUpdates the schema name with a new name. Only development schema names can be updated.
updateSchema in interface AmazonCloudDirectorypublic void shutdown()
AmazonCloudDirectoryshutdown in interface AmazonCloudDirectorypublic ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
AmazonCloudDirectoryResponse metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing a request.
getCachedResponseMetadata in interface AmazonCloudDirectoryrequest - The originally executed request.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.