/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model. */ using System; using System.Collections.Generic; using System.Net; using Amazon.CloudDirectory.Model; using Amazon.CloudDirectory.Model.Internal.MarshallTransformations; using Amazon.CloudDirectory.Internal; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Auth; using Amazon.Runtime.Internal.Transform; namespace Amazon.CloudDirectory { /// /// Implementation for accessing CloudDirectory /// /// Amazon Cloud Directory /// /// 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. /// /// public partial class AmazonCloudDirectoryClient : AmazonServiceClient, IAmazonCloudDirectory { private static IServiceMetadata serviceMetadata = new AmazonCloudDirectoryMetadata(); #if BCL45 || AWS_ASYNC_ENUMERABLES_API private ICloudDirectoryPaginatorFactory _paginators; /// /// Paginators for the service /// public ICloudDirectoryPaginatorFactory Paginators { get { if (this._paginators == null) { this._paginators = new CloudDirectoryPaginatorFactory(this); } return this._paginators; } } #endif #region Constructors /// /// Constructs AmazonCloudDirectoryClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// /// <?xml version="1.0" encoding="utf-8" ?> /// <configuration> /// <appSettings> /// <add key="AWSProfileName" value="AWS Default"/> /// </appSettings> /// </configuration> /// /// /// public AmazonCloudDirectoryClient() : base(FallbackCredentialsFactory.GetCredentials(), new AmazonCloudDirectoryConfig()) { } /// /// Constructs AmazonCloudDirectoryClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// /// <?xml version="1.0" encoding="utf-8" ?> /// <configuration> /// <appSettings> /// <add key="AWSProfileName" value="AWS Default"/> /// </appSettings> /// </configuration> /// /// /// /// The region to connect. public AmazonCloudDirectoryClient(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(), new AmazonCloudDirectoryConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonCloudDirectoryClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// /// <?xml version="1.0" encoding="utf-8" ?> /// <configuration> /// <appSettings> /// <add key="AWSProfileName" value="AWS Default"/> /// </appSettings> /// </configuration> /// /// /// /// The AmazonCloudDirectoryClient Configuration Object public AmazonCloudDirectoryClient(AmazonCloudDirectoryConfig config) : base(FallbackCredentialsFactory.GetCredentials(config), config){} /// /// Constructs AmazonCloudDirectoryClient with AWS Credentials /// /// AWS Credentials public AmazonCloudDirectoryClient(AWSCredentials credentials) : this(credentials, new AmazonCloudDirectoryConfig()) { } /// /// Constructs AmazonCloudDirectoryClient with AWS Credentials /// /// AWS Credentials /// The region to connect. public AmazonCloudDirectoryClient(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonCloudDirectoryConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonCloudDirectoryClient with AWS Credentials and an /// AmazonCloudDirectoryClient Configuration object. /// /// AWS Credentials /// The AmazonCloudDirectoryClient Configuration Object public AmazonCloudDirectoryClient(AWSCredentials credentials, AmazonCloudDirectoryConfig clientConfig) : base(credentials, clientConfig) { } /// /// Constructs AmazonCloudDirectoryClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key public AmazonCloudDirectoryClient(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonCloudDirectoryConfig()) { } /// /// Constructs AmazonCloudDirectoryClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// The region to connect. public AmazonCloudDirectoryClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonCloudDirectoryConfig() {RegionEndpoint=region}) { } /// /// Constructs AmazonCloudDirectoryClient with AWS Access Key ID, AWS Secret Key and an /// AmazonCloudDirectoryClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// The AmazonCloudDirectoryClient Configuration Object public AmazonCloudDirectoryClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonCloudDirectoryConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// /// Constructs AmazonCloudDirectoryClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token public AmazonCloudDirectoryClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonCloudDirectoryConfig()) { } /// /// Constructs AmazonCloudDirectoryClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token /// The region to connect. public AmazonCloudDirectoryClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonCloudDirectoryConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonCloudDirectoryClient with AWS Access Key ID, AWS Secret Key and an /// AmazonCloudDirectoryClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token /// The AmazonCloudDirectoryClient Configuration Object public AmazonCloudDirectoryClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonCloudDirectoryConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig) { } #endregion #region Overrides /// /// Creates the signer for the service. /// protected override AbstractAWSSigner CreateSigner() { return new AWS4Signer(); } /// /// Customize the pipeline /// /// protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline) { pipeline.RemoveHandler(); pipeline.AddHandlerAfter(new AmazonCloudDirectoryEndpointResolver()); } /// /// Capture metadata for the service. /// protected override IServiceMetadata ServiceMetadata { get { return serviceMetadata; } } #endregion #region Dispose /// /// Disposes the service client. /// protected override void Dispose(bool disposing) { base.Dispose(disposing); } #endregion #region AddFacetToObject /// /// Adds a new Facet to an object. An object can have more than one facet applied /// on it. /// /// Container for the necessary parameters to execute the AddFacetToObject service method. /// /// The response from the AddFacetToObject service method, as returned by CloudDirectory. /// /// Access denied or directory not found. Either you don't have permissions for this directory /// or the directory does not exist. Try calling ListDirectories and check your /// permissions. /// /// /// Operations are only permitted on enabled directories. /// /// /// The Facet that you provided was not well formed or could not be validated with /// the schema. /// /// /// Indicates a problem that must be resolved by Amazon Web Services. This might be a /// transient error in which case you can retry your request until it succeeds. Otherwise, /// go to the AWS Service Health Dashboard /// site to see if there are any operational issues with the service. /// /// /// Indicates that the provided ARN value is not valid. /// /// /// Indicates that limits are exceeded. See Limits /// for more information. /// /// /// The specified resource could not be found. /// /// /// Occurs when a conflict with a previous successful write is detected. For example, /// if a write operation occurs on an object and then an attempt is made to read the object /// using “SERIALIZABLE” consistency, this exception may result. This generally occurs /// when the previous write did not have time to propagate to the host serving the current /// request. A retry (with appropriate backoff logic) is the recommended response to this /// exception. /// /// /// Indicates that your request is malformed in some manner. See the exception message. /// /// REST API Reference for AddFacetToObject Operation public virtual AddFacetToObjectResponse AddFacetToObject(AddFacetToObjectRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AddFacetToObjectRequestMarshaller.Instance; options.ResponseUnmarshaller = AddFacetToObjectResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the AddFacetToObject operation. /// /// /// Container for the necessary parameters to execute the AddFacetToObject operation on AmazonCloudDirectoryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndAddFacetToObject /// operation. /// REST API Reference for AddFacetToObject Operation public virtual IAsyncResult BeginAddFacetToObject(AddFacetToObjectRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = AddFacetToObjectRequestMarshaller.Instance; options.ResponseUnmarshaller = AddFacetToObjectResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the AddFacetToObject operation. /// /// /// The IAsyncResult returned by the call to BeginAddFacetToObject. /// /// Returns a AddFacetToObjectResult from CloudDirectory. /// REST API Reference for AddFacetToObject Operation public virtual AddFacetToObjectResponse EndAddFacetToObject(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ApplySchema /// /// Copies the input published schema, at the specified version, into the Directory /// with the same name and version as that of the published schema. /// /// Container for the necessary parameters to execute the ApplySchema service method. /// /// The response from the ApplySchema service method, as returned by CloudDirectory. /// /// Access denied or directory not found. Either you don't have permissions for this directory /// or the directory does not exist. Try calling ListDirectories and check your /// permissions. /// /// /// Indicates a problem that must be resolved by Amazon Web Services. This might be a /// transient error in which case you can retry your request until it succeeds. Otherwise, /// go to the AWS Service Health Dashboard /// site to see if there are any operational issues with the service. /// /// /// Indicates that the provided ARN value is not valid. /// /// /// Indicates that an attempt to make an attachment was invalid. For example, attaching /// two nodes with a link type that is not applicable to the nodes or attempting to apply /// a schema to a directory a second time. /// /// /// Indicates that limits are exceeded. See Limits /// for more information. /// /// /// The specified resource could not be found. /// /// /// Occurs when a conflict with a previous successful write is detected. For example, /// if a write operation occurs on an object and then an attempt is made to read the object /// using “SERIALIZABLE” consistency, this exception may result. This generally occurs /// when the previous write did not have time to propagate to the host serving the current /// request. A retry (with appropriate backoff logic) is the recommended response to this /// exception. /// /// /// Indicates that a schema could not be created due to a naming conflict. Please select /// a different name and then try again. /// /// /// Indicates that your request is malformed in some manner. See the exception message. /// /// REST API Reference for ApplySchema Operation public virtual ApplySchemaResponse ApplySchema(ApplySchemaRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ApplySchemaRequestMarshaller.Instance; options.ResponseUnmarshaller = ApplySchemaResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ApplySchema operation. /// /// /// Container for the necessary parameters to execute the ApplySchema operation on AmazonCloudDirectoryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndApplySchema /// operation. /// REST API Reference for ApplySchema Operation public virtual IAsyncResult BeginApplySchema(ApplySchemaRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ApplySchemaRequestMarshaller.Instance; options.ResponseUnmarshaller = ApplySchemaResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ApplySchema operation. /// /// /// The IAsyncResult returned by the call to BeginApplySchema. /// /// Returns a ApplySchemaResult from CloudDirectory. /// REST API Reference for ApplySchema Operation public virtual ApplySchemaResponse EndApplySchema(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region AttachObject /// /// Attaches an existing object to another object. An object can be accessed in two ways: /// ///
  1. /// /// Using the path /// ///
  2. /// /// Using ObjectIdentifier /// ///
///
/// Container for the necessary parameters to execute the AttachObject service method. /// /// The response from the AttachObject service method, as returned by CloudDirectory. /// /// Access denied or directory not found. Either you don't have permissions for this directory /// or the directory does not exist. Try calling ListDirectories and check your /// permissions. /// /// /// Operations are only permitted on enabled directories. /// /// /// The Facet that you provided was not well formed or could not be validated with /// the schema. /// /// /// Indicates a problem that must be resolved by Amazon Web Services. This might be a /// transient error in which case you can retry your request until it succeeds. Otherwise, /// go to the AWS Service Health Dashboard /// site to see if there are any operational issues with the service. /// /// /// Indicates that the provided ARN value is not valid. /// /// /// Indicates that an attempt to make an attachment was invalid. For example, attaching /// two nodes with a link type that is not applicable to the nodes or attempting to apply /// a schema to a directory a second time. /// /// /// Indicates that limits are exceeded. See Limits /// for more information. /// /// /// Indicates that a link could not be created due to a naming conflict. Choose a different /// name and then try again. /// /// /// The specified resource could not be found. /// /// /// Occurs when a conflict with a previous successful write is detected. For example, /// if a write operation occurs on an object and then an attempt is made to read the object /// using “SERIALIZABLE” consistency, this exception may result. This generally occurs /// when the previous write did not have time to propagate to the host serving the current /// request. A retry (with appropriate backoff logic) is the recommended response to this /// exception. /// /// /// Indicates that your request is malformed in some manner. See the exception message. /// /// REST API Reference for AttachObject Operation public virtual AttachObjectResponse AttachObject(AttachObjectRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AttachObjectRequestMarshaller.Instance; options.ResponseUnmarshaller = AttachObjectResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the AttachObject operation. /// /// /// Container for the necessary parameters to execute the AttachObject operation on AmazonCloudDirectoryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndAttachObject /// operation. /// REST API Reference for AttachObject Operation public virtual IAsyncResult BeginAttachObject(AttachObjectRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = AttachObjectRequestMarshaller.Instance; options.ResponseUnmarshaller = AttachObjectResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the AttachObject operation. /// /// /// The IAsyncResult returned by the call to BeginAttachObject. /// /// Returns a AttachObjectResult from CloudDirectory. /// REST API Reference for AttachObject Operation public virtual AttachObjectResponse EndAttachObject(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region AttachPolicy /// /// Attaches a policy object to a regular object. An object can have a limited number /// of attached policies. /// /// Container for the necessary parameters to execute the AttachPolicy service method. /// /// The response from the AttachPolicy service method, as returned by CloudDirectory. /// /// Access denied or directory not found. Either you don't have permissions for this directory /// or the directory does not exist. Try calling ListDirectories and check your /// permissions. /// /// /// Operations are only permitted on enabled directories. /// /// /// Indicates a problem that must be resolved by Amazon Web Services. This might be a /// transient error in which case you can retry your request until it succeeds. Otherwise, /// go to the AWS Service Health Dashboard /// site to see if there are any operational issues with the service. /// /// /// Indicates that the provided ARN value is not valid. /// /// /// Indicates that limits are exceeded. See Limits /// for more information. /// /// /// Indicates that the requested operation can only operate on policy objects. /// /// /// The specified resource could not be found. /// /// /// Occurs when a conflict with a previous successful write is detected. For example, /// if a write operation occurs on an object and then an attempt is made to read the object /// using “SERIALIZABLE” consistency, this exception may result. This generally occurs /// when the previous write did not have time to propagate to the host serving the current /// request. A retry (with appropriate backoff logic) is the recommended response to this /// exception. /// /// /// Indicates that your request is malformed in some manner. See the exception message. /// /// REST API Reference for AttachPolicy Operation public virtual AttachPolicyResponse AttachPolicy(AttachPolicyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AttachPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = AttachPolicyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the AttachPolicy operation. /// /// /// Container for the necessary parameters to execute the AttachPolicy operation on AmazonCloudDirectoryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndAttachPolicy /// operation. /// REST API Reference for AttachPolicy Operation public virtual IAsyncResult BeginAttachPolicy(AttachPolicyRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = AttachPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = AttachPolicyResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the AttachPolicy operation. /// /// /// The IAsyncResult returned by the call to BeginAttachPolicy. /// /// Returns a AttachPolicyResult from CloudDirectory. /// REST API Reference for AttachPolicy Operation public virtual AttachPolicyResponse EndAttachPolicy(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region AttachToIndex /// /// Attaches the specified object to the specified index. /// /// Container for the necessary parameters to execute the AttachToIndex service method. /// /// The response from the AttachToIndex service method, as returned by CloudDirectory. /// /// Access denied or directory not found. Either you don't have permissions for this directory /// or the directory does not exist. Try calling ListDirectories and check your /// permissions. /// /// /// Operations are only permitted on enabled directories. /// /// /// An object has been attempted to be attached to an object that does not have the appropriate /// attribute value. /// /// /// Indicates a problem that must be resolved by Amazon Web Services. This might be a /// transient error in which case you can retry your request until it succeeds. Otherwise, /// go to the AWS Service Health Dashboard /// site to see if there are any operational issues with the service. /// /// /// Indicates that the provided ARN value is not valid. /// /// /// Indicates that an attempt to make an attachment was invalid. For example, attaching /// two nodes with a link type that is not applicable to the nodes or attempting to apply /// a schema to a directory a second time. /// /// /// Indicates that limits are exceeded. See Limits /// for more information. /// /// /// Indicates that a link could not be created due to a naming conflict. Choose a different /// name and then try again. /// /// /// Indicates that the requested operation can only operate on index objects. /// /// /// The specified resource could not be found. /// /// /// Occurs when a conflict with a previous successful write is detected. For example, /// if a write operation occurs on an object and then an attempt is made to read the object /// using “SERIALIZABLE” consistency, this exception may result. This generally occurs /// when the previous write did not have time to propagate to the host serving the current /// request. A retry (with appropriate backoff logic) is the recommended response to this /// exception. /// /// /// Indicates that your request is malformed in some manner. See the exception message. /// /// REST API Reference for AttachToIndex Operation public virtual AttachToIndexResponse AttachToIndex(AttachToIndexRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AttachToIndexRequestMarshaller.Instance; options.ResponseUnmarshaller = AttachToIndexResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the AttachToIndex operation. /// /// /// Container for the necessary parameters to execute the AttachToIndex operation on AmazonCloudDirectoryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndAttachToIndex /// operation. /// REST API Reference for AttachToIndex Operation public virtual IAsyncResult BeginAttachToIndex(AttachToIndexRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = AttachToIndexRequestMarshaller.Instance; options.ResponseUnmarshaller = AttachToIndexResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the AttachToIndex operation. /// /// /// The IAsyncResult returned by the call to BeginAttachToIndex. /// /// Returns a AttachToIndexResult from CloudDirectory. /// REST API Reference for AttachToIndex Operation public virtual AttachToIndexResponse EndAttachToIndex(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region AttachTypedLink /// /// Attaches a typed link to a specified source and target object. For more information, /// see Typed /// Links. /// /// Container for the necessary parameters to execute the AttachTypedLink service method. /// /// The response from the AttachTypedLink service method, as returned by CloudDirectory. /// /// Access denied or directory not found. Either you don't have permissions for this directory /// or the directory does not exist. Try calling ListDirectories and check your /// permissions. /// /// /// Operations are only permitted on enabled directories. /// /// /// The Facet that you provided was not well formed or could not be validated with /// the schema. /// /// /// Indicates a problem that must be resolved by Amazon Web Services. This might be a /// transient error in which case you can retry your request until it succeeds. Otherwise, /// go to the AWS Service Health Dashboard /// site to see if there are any operational issues with the service. /// /// /// Indicates that the provided ARN value is not valid. /// /// /// Indicates that an attempt to make an attachment was invalid. For example, attaching /// two nodes with a link type that is not applicable to the nodes or attempting to apply /// a schema to a directory a second time. /// /// /// Indicates that limits are exceeded. See Limits /// for more information. /// /// /// The specified resource could not be found. /// /// /// Occurs when a conflict with a previous successful write is detected. For example, /// if a write operation occurs on an object and then an attempt is made to read the object /// using “SERIALIZABLE” consistency, this exception may result. This generally occurs /// when the previous write did not have time to propagate to the host serving the current /// request. A retry (with appropriate backoff logic) is the recommended response to this /// exception. /// /// /// Indicates that your request is malformed in some manner. See the exception message. /// /// REST API Reference for AttachTypedLink Operation public virtual AttachTypedLinkResponse AttachTypedLink(AttachTypedLinkRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AttachTypedLinkRequestMarshaller.Instance; options.ResponseUnmarshaller = AttachTypedLinkResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the AttachTypedLink operation. /// /// /// Container for the necessary parameters to execute the AttachTypedLink operation on AmazonCloudDirectoryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndAttachTypedLink /// operation. /// REST API Reference for AttachTypedLink Operation public virtual IAsyncResult BeginAttachTypedLink(AttachTypedLinkRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = AttachTypedLinkRequestMarshaller.Instance; options.ResponseUnmarshaller = AttachTypedLinkResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the AttachTypedLink operation. /// /// /// The IAsyncResult returned by the call to BeginAttachTypedLink. /// /// Returns a AttachTypedLinkResult from CloudDirectory. /// REST API Reference for AttachTypedLink Operation public virtual AttachTypedLinkResponse EndAttachTypedLink(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region BatchRead /// /// Performs all the read operations in a batch. /// /// Container for the necessary parameters to execute the BatchRead service method. /// /// The response from the BatchRead service method, as returned by CloudDirectory. /// /// Access denied or directory not found. Either you don't have permissions for this directory /// or the directory does not exist. Try calling ListDirectories and check your /// permissions. /// /// /// Operations are only permitted on enabled directories. /// /// /// Indicates a problem that must be resolved by Amazon Web Services. This might be a /// transient error in which case you can retry your request until it succeeds. Otherwise, /// go to the AWS Service Health Dashboard /// site to see if there are any operational issues with the service. /// /// /// Indicates that the provided ARN value is not valid. /// /// /// Indicates that limits are exceeded. See Limits /// for more information. /// /// /// Occurs when a conflict with a previous successful write is detected. For example, /// if a write operation occurs on an object and then an attempt is made to read the object /// using “SERIALIZABLE” consistency, this exception may result. This generally occurs /// when the previous write did not have time to propagate to the host serving the current /// request. A retry (with appropriate backoff logic) is the recommended response to this /// exception. /// /// /// Indicates that your request is malformed in some manner. See the exception message. /// /// REST API Reference for BatchRead Operation public virtual BatchReadResponse BatchRead(BatchReadRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = BatchReadRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchReadResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the BatchRead operation. /// /// /// Container for the necessary parameters to execute the BatchRead operation on AmazonCloudDirectoryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndBatchRead /// operation. /// REST API Reference for BatchRead Operation public virtual IAsyncResult BeginBatchRead(BatchReadRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = BatchReadRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchReadResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the BatchRead operation. /// /// /// The IAsyncResult returned by the call to BeginBatchRead. /// /// Returns a BatchReadResult from CloudDirectory. /// REST API Reference for BatchRead Operation public virtual BatchReadResponse EndBatchRead(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region BatchWrite /// /// Performs all the write operations in a batch. Either all the operations succeed or /// none. /// /// Container for the necessary parameters to execute the BatchWrite service method. /// /// The response from the BatchWrite service method, as returned by CloudDirectory. /// /// Access denied or directory not found. Either you don't have permissions for this directory /// or the directory does not exist. Try calling ListDirectories and check your /// permissions. /// /// /// A BatchWrite exception has occurred. /// /// /// Operations are only permitted on enabled directories. /// /// /// Indicates a problem that must be resolved by Amazon Web Services. This might be a /// transient error in which case you can retry your request until it succeeds. Otherwise, /// go to the AWS Service Health Dashboard /// site to see if there are any operational issues with the service. /// /// /// Indicates that the provided ARN value is not valid. /// /// /// Indicates that limits are exceeded. See Limits /// for more information. /// /// /// Occurs when a conflict with a previous successful write is detected. For example, /// if a write operation occurs on an object and then an attempt is made to read the object /// using “SERIALIZABLE” consistency, this exception may result. This generally occurs /// when the previous write did not have time to propagate to the host serving the current /// request. A retry (with appropriate backoff logic) is the recommended response to this /// exception. /// /// /// Indicates that your request is malformed in some manner. See the exception message. /// /// REST API Reference for BatchWrite Operation public virtual BatchWriteResponse BatchWrite(BatchWriteRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = BatchWriteRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchWriteResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the BatchWrite operation. /// /// /// Container for the necessary parameters to execute the BatchWrite operation on AmazonCloudDirectoryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndBatchWrite /// operation. /// REST API Reference for BatchWrite Operation public virtual IAsyncResult BeginBatchWrite(BatchWriteRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = BatchWriteRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchWriteResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the BatchWrite operation. /// /// /// The IAsyncResult returned by the call to BeginBatchWrite. /// /// Returns a BatchWriteResult from CloudDirectory. /// REST API Reference for BatchWrite Operation public virtual BatchWriteResponse EndBatchWrite(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateDirectory /// /// Creates a Directory by copying the published schema into the directory. A directory /// cannot be created without a schema. /// /// /// /// You can also quickly create a directory using a managed schema, called the QuickStartSchema. /// For more information, see Managed /// Schema in the Amazon Cloud Directory Developer Guide. /// /// /// Container for the necessary parameters to execute the CreateDirectory service method. /// /// The response from the CreateDirectory service method, as returned by CloudDirectory. /// /// Access denied or directory not found. Either you don't have permissions for this directory /// or the directory does not exist. Try calling ListDirectories and check your /// permissions. /// /// /// Indicates that a Directory could not be created due to a naming conflict. Choose /// a different name and try again. /// /// /// Indicates a problem that must be resolved by Amazon Web Services. This might be a /// transient error in which case you can retry your request until it succeeds. Otherwise, /// go to the AWS Service Health Dashboard /// site to see if there are any operational issues with the service. /// /// /// Indicates that the provided ARN value is not valid. /// /// /// Indicates that limits are exceeded. See Limits /// for more information. /// /// /// The specified resource could not be found. /// /// /// Occurs when a conflict with a previous successful write is detected. For example, /// if a write operation occurs on an object and then an attempt is made to read the object /// using “SERIALIZABLE” consistency, this exception may result. This generally occurs /// when the previous write did not have time to propagate to the host serving the current /// request. A retry (with appropriate backoff logic) is the recommended response to this /// exception. /// /// /// Indicates that your request is malformed in some manner. See the exception message. /// /// REST API Reference for CreateDirectory Operation public virtual CreateDirectoryResponse CreateDirectory(CreateDirectoryRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDirectoryRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDirectoryResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateDirectory operation. /// /// /// Container for the necessary parameters to execute the CreateDirectory operation on AmazonCloudDirectoryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateDirectory /// operation. /// REST API Reference for CreateDirectory Operation public virtual IAsyncResult BeginCreateDirectory(CreateDirectoryRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDirectoryRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDirectoryResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateDirectory operation. /// /// /// The IAsyncResult returned by the call to BeginCreateDirectory. /// /// Returns a CreateDirectoryResult from CloudDirectory. /// REST API Reference for CreateDirectory Operation public virtual CreateDirectoryResponse EndCreateDirectory(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateFacet /// /// Creates a new Facet in a schema. Facet creation is allowed only in development /// or applied schemas. /// /// Container for the necessary parameters to execute the CreateFacet service method. /// /// The response from the CreateFacet service method, as returned by CloudDirectory. /// /// Access denied or directory not found. Either you don't have permissions for this directory /// or the directory does not exist. Try calling ListDirectories and check your /// permissions. /// /// /// A facet with the same name already exists. /// /// /// The Facet that you provided was not well formed or could not be validated with /// the schema. /// /// /// Indicates a problem that must be resolved by Amazon Web Services. This might be a /// transient error in which case you can retry your request until it succeeds. Otherwise, /// go to the AWS Service Health Dashboard /// site to see if there are any operational issues with the service. /// /// /// Indicates that the provided ARN value is not valid. /// /// /// Occurs when any of the rule parameter keys or values are invalid. /// /// /// Indicates that limits are exceeded. See Limits /// for more information. /// /// /// The specified resource could not be found. /// /// /// Occurs when a conflict with a previous successful write is detected. For example, /// if a write operation occurs on an object and then an attempt is made to read the object /// using “SERIALIZABLE” consistency, this exception may result. This generally occurs /// when the previous write did not have time to propagate to the host serving the current /// request. A retry (with appropriate backoff logic) is the recommended response to this /// exception. /// /// /// Indicates that your request is malformed in some manner. See the exception message. /// /// REST API Reference for CreateFacet Operation public virtual CreateFacetResponse CreateFacet(CreateFacetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateFacetRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateFacetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateFacet operation. /// /// /// Container for the necessary parameters to execute the CreateFacet operation on AmazonCloudDirectoryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateFacet /// operation. /// REST API Reference for CreateFacet Operation public virtual IAsyncResult BeginCreateFacet(CreateFacetRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateFacetRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateFacetResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateFacet operation. /// /// /// The IAsyncResult returned by the call to BeginCreateFacet. /// /// Returns a CreateFacetResult from CloudDirectory. /// REST API Reference for CreateFacet Operation public virtual CreateFacetResponse EndCreateFacet(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateIndex /// /// Creates an index object. See Indexing /// and search for more information. /// /// Container for the necessary parameters to execute the CreateIndex service method. /// /// The response from the CreateIndex service method, as returned by CloudDirectory. /// /// Access denied or directory not found. Either you don't have permissions for this directory /// or the directory does not exist. Try calling ListDirectories and check your /// permissions. /// /// /// Operations are only permitted on enabled directories. /// /// /// The Facet that you provided was not well formed or could not be validated with /// the schema. /// /// /// Indicates a problem that must be resolved by Amazon Web Services. This might be a /// transient error in which case you can retry your request until it succeeds. Otherwise, /// go to the AWS Service Health Dashboard /// site to see if there are any operational issues with the service. /// /// /// Indicates that the provided ARN value is not valid. /// /// /// Indicates that limits are exceeded. See Limits /// for more information. /// /// /// Indicates that a link could not be created due to a naming conflict. Choose a different /// name and then try again. /// /// /// The specified resource could not be found. /// /// /// Occurs when a conflict with a previous successful write is detected. For example, /// if a write operation occurs on an object and then an attempt is made to read the object /// using “SERIALIZABLE” consistency, this exception may result. This generally occurs /// when the previous write did not have time to propagate to the host serving the current /// request. A retry (with appropriate backoff logic) is the recommended response to this /// exception. /// /// /// Indicates that the requested index type is not supported. /// /// /// Indicates that your request is malformed in some manner. See the exception message. /// /// REST API Reference for CreateIndex Operation public virtual CreateIndexResponse CreateIndex(CreateIndexRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateIndexRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateIndexResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateIndex operation. /// /// /// Container for the necessary parameters to execute the CreateIndex operation on AmazonCloudDirectoryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateIndex /// operation. /// REST API Reference for CreateIndex Operation public virtual IAsyncResult BeginCreateIndex(CreateIndexRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateIndexRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateIndexResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateIndex operation. /// /// /// The IAsyncResult returned by the call to BeginCreateIndex. /// /// Returns a CreateIndexResult from CloudDirectory. /// REST API Reference for CreateIndex Operation public virtual CreateIndexResponse EndCreateIndex(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateObject /// /// Creates 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. /// /// Container for the necessary parameters to execute the CreateObject service method. /// /// The response from the CreateObject service method, as returned by CloudDirectory. /// /// Access denied or directory not found. Either you don't have permissions for this directory /// or the directory does not exist. Try calling ListDirectories and check your /// permissions. /// /// /// Operations are only permitted on enabled directories. /// /// /// The Facet that you provided was not well formed or could not be validated with /// the schema. /// /// /// Indicates a problem that must be resolved by Amazon Web Services. This might be a /// transient error in which case you can retry your request until it succeeds. Otherwise, /// go to the AWS Service Health Dashboard /// site to see if there are any operational issues with the service. /// /// /// Indicates that the provided ARN value is not valid. /// /// /// Indicates that limits are exceeded. See Limits /// for more information. /// /// /// Indicates that a link could not be created due to a naming conflict. Choose a different /// name and then try again. /// /// /// The specified resource could not be found. /// /// /// Occurs when a conflict with a previous successful write is detected. For example, /// if a write operation occurs on an object and then an attempt is made to read the object /// using “SERIALIZABLE” consistency, this exception may result. This generally occurs /// when the previous write did not have time to propagate to the host serving the current /// request. A retry (with appropriate backoff logic) is the recommended response to this /// exception. /// /// /// Indicates that the requested index type is not supported. /// /// /// Indicates that your request is malformed in some manner. See the exception message. /// /// REST API Reference for CreateObject Operation public virtual CreateObjectResponse CreateObject(CreateObjectRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateObjectRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateObjectResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateObject operation. /// /// /// Container for the necessary parameters to execute the CreateObject operation on AmazonCloudDirectoryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateObject /// operation. /// REST API Reference for CreateObject Operation public virtual IAsyncResult BeginCreateObject(CreateObjectRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateObjectRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateObjectResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateObject operation. /// /// /// The IAsyncResult returned by the call to BeginCreateObject. /// /// Returns a CreateObjectResult from CloudDirectory. /// REST API Reference for CreateObject Operation public virtual CreateObjectResponse EndCreateObject(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateSchema /// /// Creates 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. /// ///
///
/// Container for the necessary parameters to execute the CreateSchema service method. /// /// The response from the CreateSchema service method, as returned by CloudDirectory. /// /// Access denied or directory not found. Either you don't have permissions for this directory /// or the directory does not exist. Try calling ListDirectories and check your /// permissions. /// /// /// Indicates a problem that must be resolved by Amazon Web Services. This might be a /// transient error in which case you can retry your request until it succeeds. Otherwise, /// go to the AWS Service Health Dashboard /// site to see if there are any operational issues with the service. /// /// /// Indicates that the provided ARN value is not valid. /// /// /// Indicates that limits are exceeded. See Limits /// for more information. /// /// /// Occurs when a conflict with a previous successful write is detected. For example, /// if a write operation occurs on an object and then an attempt is made to read the object /// using “SERIALIZABLE” consistency, this exception may result. This generally occurs /// when the previous write did not have time to propagate to the host serving the current /// request. A retry (with appropriate backoff logic) is the recommended response to this /// exception. /// /// /// Indicates that a schema could not be created due to a naming conflict. Please select /// a different name and then try again. /// /// /// Indicates that your request is malformed in some manner. See the exception message. /// /// REST API Reference for CreateSchema Operation public virtual CreateSchemaResponse CreateSchema(CreateSchemaRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateSchemaRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateSchemaResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateSchema operation. /// /// /// Container for the necessary parameters to execute the CreateSchema operation on AmazonCloudDirectoryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateSchema /// operation. /// REST API Reference for CreateSchema Operation public virtual IAsyncResult BeginCreateSchema(CreateSchemaRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateSchemaRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateSchemaResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateSchema operation. /// /// /// The IAsyncResult returned by the call to BeginCreateSchema. /// /// Returns a CreateSchemaResult from CloudDirectory. /// REST API Reference for CreateSchema Operation public virtual CreateSchemaResponse EndCreateSchema(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateTypedLinkFacet /// /// Creates a TypedLinkFacet. For more information, see Typed /// Links. /// /// Container for the necessary parameters to execute the CreateTypedLinkFacet service method. /// /// The response from the CreateTypedLinkFacet service method, as returned by CloudDirectory. /// /// Access denied or directory not found. Either you don't have permissions for this directory /// or the directory does not exist. Try calling ListDirectories and check your /// permissions. /// /// /// A facet with the same name already exists. /// /// /// The Facet that you provided was not well formed or could not be validated with /// the schema. /// /// /// Indicates a problem that must be resolved by Amazon Web Services. This might be a /// transient error in which case you can retry your request until it succeeds. Otherwise, /// go to the AWS Service Health Dashboard /// site to see if there are any operational issues with the service. /// /// /// Indicates that the provided ARN value is not valid. /// /// /// Occurs when any of the rule parameter keys or values are invalid. /// /// /// Indicates that limits are exceeded. See Limits /// for more information. /// /// /// The specified resource could not be found. /// /// /// Occurs when a conflict with a previous successful write is detected. For example, /// if a write operation occurs on an object and then an attempt is made to read the object /// using “SERIALIZABLE” consistency, this exception may result. This generally occurs /// when the previous write did not have time to propagate to the host serving the current /// request. A retry (with appropriate backoff logic) is the recommended response to this /// exception. /// /// /// Indicates that your request is malformed in some manner. See the exception message. /// /// REST API Reference for CreateTypedLinkFacet Operation public virtual CreateTypedLinkFacetResponse CreateTypedLinkFacet(CreateTypedLinkFacetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateTypedLinkFacetRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateTypedLinkFacetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateTypedLinkFacet operation. /// /// /// Container for the necessary parameters to execute the CreateTypedLinkFacet operation on AmazonCloudDirectoryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateTypedLinkFacet /// operation. /// REST API Reference for CreateTypedLinkFacet Operation public virtual IAsyncResult BeginCreateTypedLinkFacet(CreateTypedLinkFacetRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateTypedLinkFacetRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateTypedLinkFacetResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateTypedLinkFacet operation. /// /// /// The IAsyncResult returned by the call to BeginCreateTypedLinkFacet. /// /// Returns a CreateTypedLinkFacetResult from CloudDirectory. /// REST API Reference for CreateTypedLinkFacet Operation public virtual CreateTypedLinkFacetResponse EndCreateTypedLinkFacet(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteDirectory /// /// Deletes a directory. Only disabled directories can be deleted. A deleted directory /// cannot be undone. Exercise extreme caution when deleting directories. /// /// Container for the necessary parameters to execute the DeleteDirectory service method. /// /// The response from the DeleteDirectory service method, as returned by CloudDirectory. /// /// Access denied or directory not found. Either you don't have permissions for this directory /// or the directory does not exist. Try calling ListDirectories and check your /// permissions. /// /// /// A directory that has been deleted and to which access has been attempted. Note: The /// requested resource will eventually cease to exist. /// /// /// An operation can only operate on a disabled directory. /// /// /// Indicates a problem that must be resolved by Amazon Web Services. This might be a /// transient error in which case you can retry your request until it succeeds. Otherwise, /// go to the AWS Service Health Dashboard /// site to see if there are any operational issues with the service. /// /// /// Indicates that the provided ARN value is not valid. /// /// /// Indicates that limits are exceeded. See Limits /// for more information. /// /// /// The specified resource could not be found. /// /// /// Occurs when a conflict with a previous successful write is detected. For example, /// if a write operation occurs on an object and then an attempt is made to read the object /// using “SERIALIZABLE” consistency, this exception may result. This generally occurs /// when the previous write did not have time to propagate to the host serving the current /// request. A retry (with appropriate backoff logic) is the recommended response to this /// exception. /// /// /// Indicates that your request is malformed in some manner. See the exception message. /// /// REST API Reference for DeleteDirectory Operation public virtual DeleteDirectoryResponse DeleteDirectory(DeleteDirectoryRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteDirectoryRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteDirectoryResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteDirectory operation. /// /// /// Container for the necessary parameters to execute the DeleteDirectory operation on AmazonCloudDirectoryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteDirectory /// operation. /// REST API Reference for DeleteDirectory Operation public virtual IAsyncResult BeginDeleteDirectory(DeleteDirectoryRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteDirectoryRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteDirectoryResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteDirectory operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteDirectory. /// /// Returns a DeleteDirectoryResult from CloudDirectory. /// REST API Reference for DeleteDirectory Operation public virtual DeleteDirectoryResponse EndDeleteDirectory(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteFacet /// /// Deletes a given Facet. All attributes and Rules that are associated /// with the facet will be deleted. Only development schema facets are allowed deletion. /// /// Container for the necessary parameters to execute the DeleteFacet service method. /// /// The response from the DeleteFacet service method, as returned by CloudDirectory. /// /// Access denied or directory not found. Either you don't have permissions for this directory /// or the directory does not exist. Try calling ListDirectories and check your /// permissions. /// /// /// Occurs when deleting a facet that contains an attribute that is a target to an attribute /// reference in a different facet. /// /// /// The specified Facet could not be found. /// /// /// Indicates a problem that must be resolved by Amazon Web Services. This might be a /// transient error in which case you can retry your request until it succeeds. Otherwise, /// go to the AWS Service Health Dashboard /// site to see if there are any operational issues with the service. /// /// /// Indicates that the provided ARN value is not valid. /// /// /// Indicates that limits are exceeded. See Limits /// for more information. /// /// /// The specified resource could not be found. /// /// /// Occurs when a conflict with a previous successful write is detected. For example, /// if a write operation occurs on an object and then an attempt is made to read the object /// using “SERIALIZABLE” consistency, this exception may result. This generally occurs /// when the previous write did not have time to propagate to the host serving the current /// request. A retry (with appropriate backoff logic) is the recommended response to this /// exception. /// /// /// Indicates that your request is malformed in some manner. See the exception message. /// /// REST API Reference for DeleteFacet Operation public virtual DeleteFacetResponse DeleteFacet(DeleteFacetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteFacetRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteFacetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteFacet operation. /// /// /// Container for the necessary parameters to execute the DeleteFacet operation on AmazonCloudDirectoryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteFacet /// operation. /// REST API Reference for DeleteFacet Operation public virtual IAsyncResult BeginDeleteFacet(DeleteFacetRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteFacetRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteFacetResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteFacet operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteFacet. /// /// Returns a DeleteFacetResult from CloudDirectory. /// REST API Reference for DeleteFacet Operation public virtual DeleteFacetResponse EndDeleteFacet(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteObject /// /// Deletes an object and its associated attributes. Only objects with no children and /// no parents can be deleted. The maximum number of attributes that can be deleted during /// an object deletion is 30. For more information, see Amazon /// Cloud Directory Limits. /// /// Container for the necessary parameters to execute the DeleteObject service method. /// /// The response from the DeleteObject service method, as returned by CloudDirectory. /// /// Access denied or directory not found. Either you don't have permissions for this directory /// or the directory does not exist. Try calling ListDirectories and check your /// permissions. /// /// /// Operations are only permitted on enabled directories. /// /// /// Indicates a problem that must be resolved by Amazon Web Services. This might be a /// transient error in which case you can retry your request until it succeeds. Otherwise, /// go to the AWS Service Health Dashboard /// site to see if there are any operational issues with the service. /// /// /// Indicates that the provided ARN value is not valid. /// /// /// Indicates that limits are exceeded. See Limits /// for more information. /// /// /// Indicates that the requested operation cannot be completed because the object has /// not been detached from the tree. /// /// /// The specified resource could not be found. /// /// /// Occurs when a conflict with a previous successful write is detected. For example, /// if a write operation occurs on an object and then an attempt is made to read the object /// using “SERIALIZABLE” consistency, this exception may result. This generally occurs /// when the previous write did not have time to propagate to the host serving the current /// request. A retry (with appropriate backoff logic) is the recommended response to this /// exception. /// /// /// Indicates that your request is malformed in some manner. See the exception message. /// /// REST API Reference for DeleteObject Operation public virtual DeleteObjectResponse DeleteObject(DeleteObjectRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteObjectRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteObjectResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteObject operation. /// /// /// Container for the necessary parameters to execute the DeleteObject operation on AmazonCloudDirectoryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteObject /// operation. /// REST API Reference for DeleteObject Operation public virtual IAsyncResult BeginDeleteObject(DeleteObjectRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteObjectRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteObjectResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteObject operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteObject. /// /// Returns a DeleteObjectResult from CloudDirectory. /// REST API Reference for DeleteObject Operation public virtual DeleteObjectResponse EndDeleteObject(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteSchema /// /// Deletes a given schema. Schemas in a development and published state can only be deleted. /// /// Container for the necessary parameters to execute the DeleteSchema service method. /// /// The response from the DeleteSchema service method, as returned by CloudDirectory. /// /// Access denied or directory not found. Either you don't have permissions for this directory /// or the directory does not exist. Try calling ListDirectories and check your /// permissions. /// /// /// Indicates a problem that must be resolved by Amazon Web Services. This might be a /// transient error in which case you can retry your request until it succeeds. Otherwise, /// go to the AWS Service Health Dashboard /// site to see if there are any operational issues with the service. /// /// /// Indicates that the provided ARN value is not valid. /// /// /// Indicates that limits are exceeded. See Limits /// for more information. /// /// /// The specified resource could not be found. /// /// /// Occurs when a conflict with a previous successful write is detected. For example, /// if a write operation occurs on an object and then an attempt is made to read the object /// using “SERIALIZABLE” consistency, this exception may result. This generally occurs /// when the previous write did not have time to propagate to the host serving the current /// request. A retry (with appropriate backoff logic) is the recommended response to this /// exception. /// /// /// The object could not be deleted because links still exist. Remove the links and then /// try the operation again. /// /// /// Indicates that your request is malformed in some manner. See the exception message. /// /// REST API Reference for DeleteSchema Operation public virtual DeleteSchemaResponse DeleteSchema(DeleteSchemaRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteSchemaRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteSchemaResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteSchema operation. /// /// /// Container for the necessary parameters to execute the DeleteSchema operation on AmazonCloudDirectoryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteSchema /// operation. /// REST API Reference for DeleteSchema Operation public virtual IAsyncResult BeginDeleteSchema(DeleteSchemaRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteSchemaRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteSchemaResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteSchema operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteSchema. /// /// Returns a DeleteSchemaResult from CloudDirectory. /// REST API Reference for DeleteSchema Operation public virtual DeleteSchemaResponse EndDeleteSchema(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteTypedLinkFacet /// /// Deletes a TypedLinkFacet. For more information, see Typed /// Links. /// /// Container for the necessary parameters to execute the DeleteTypedLinkFacet service method. /// /// The response from the DeleteTypedLinkFacet service method, as returned by CloudDirectory. /// /// Access denied or directory not found. Either you don't have permissions for this directory /// or the directory does not exist. Try calling ListDirectories and check your /// permissions. /// /// /// The specified Facet could not be found. /// /// /// Indicates a problem that must be resolved by Amazon Web Services. This might be a /// transient error in which case you can retry your request until it succeeds. Otherwise, /// go to the AWS Service Health Dashboard /// site to see if there are any operational issues with the service. /// /// /// Indicates that the provided ARN value is not valid. /// /// /// Indicates that limits are exceeded. See Limits /// for more information. /// /// /// The specified resource could not be found. /// /// /// Occurs when a conflict with a previous successful write is detected. For example, /// if a write operation occurs on an object and then an attempt is made to read the object /// using “SERIALIZABLE” consistency, this exception may result. This generally occurs /// when the previous write did not have time to propagate to the host serving the current /// request. A retry (with appropriate backoff logic) is the recommended response to this /// exception. /// /// /// Indicates that your request is malformed in some manner. See the exception message. /// /// REST API Reference for DeleteTypedLinkFacet Operation public virtual DeleteTypedLinkFacetResponse DeleteTypedLinkFacet(DeleteTypedLinkFacetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteTypedLinkFacetRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteTypedLinkFacetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteTypedLinkFacet operation. /// /// /// Container for the necessary parameters to execute the DeleteTypedLinkFacet operation on AmazonCloudDirectoryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteTypedLinkFacet /// operation. /// REST API Reference for DeleteTypedLinkFacet Operation public virtual IAsyncResult BeginDeleteTypedLinkFacet(DeleteTypedLinkFacetRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteTypedLinkFacetRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteTypedLinkFacetResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteTypedLinkFacet operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteTypedLinkFacet. /// /// Returns a DeleteTypedLinkFacetResult from CloudDirectory. /// REST API Reference for DeleteTypedLinkFacet Operation public virtual DeleteTypedLinkFacetResponse EndDeleteTypedLinkFacet(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DetachFromIndex /// /// Detaches the specified object from the specified index. /// /// Container for the necessary parameters to execute the DetachFromIndex service method. /// /// The response from the DetachFromIndex service method, as returned by CloudDirectory. /// /// Access denied or directory not found. Either you don't have permissions for this directory /// or the directory does not exist. Try calling ListDirectories and check your /// permissions. /// /// /// Operations are only permitted on enabled directories. /// /// /// Indicates a problem that must be resolved by Amazon Web Services. This might be a /// transient error in which case you can retry your request until it succeeds. Otherwise, /// go to the AWS Service Health Dashboard /// site to see if there are any operational issues with the service. /// /// /// Indicates that the provided ARN value is not valid. /// /// /// Indicates that limits are exceeded. See Limits /// for more information. /// /// /// Indicates that the requested operation can only operate on index objects. /// /// /// Indicates that the object is not attached to the index. /// /// /// The specified resource could not be found. /// /// /// Occurs when a conflict with a previous successful write is detected. For example, /// if a write operation occurs on an object and then an attempt is made to read the object /// using “SERIALIZABLE” consistency, this exception may result. This generally occurs /// when the previous write did not have time to propagate to the host serving the current /// request. A retry (with appropriate backoff logic) is the recommended response to this /// exception. /// /// /// Indicates that your request is malformed in some manner. See the exception message. /// /// REST API Reference for DetachFromIndex Operation public virtual DetachFromIndexResponse DetachFromIndex(DetachFromIndexRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DetachFromIndexRequestMarshaller.Instance; options.ResponseUnmarshaller = DetachFromIndexResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DetachFromIndex operation. /// /// /// Container for the necessary parameters to execute the DetachFromIndex operation on AmazonCloudDirectoryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDetachFromIndex /// operation. /// REST API Reference for DetachFromIndex Operation public virtual IAsyncResult BeginDetachFromIndex(DetachFromIndexRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DetachFromIndexRequestMarshaller.Instance; options.ResponseUnmarshaller = DetachFromIndexResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DetachFromIndex operation. /// /// /// The IAsyncResult returned by the call to BeginDetachFromIndex. /// /// Returns a DetachFromIndexResult from CloudDirectory. /// REST API Reference for DetachFromIndex Operation public virtual DetachFromIndexResponse EndDetachFromIndex(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DetachObject /// /// Detaches a given object from the parent object. The object that is to be detached /// from the parent is specified by the link name. /// /// Container for the necessary parameters to execute the DetachObject service method. /// /// The response from the DetachObject service method, as returned by CloudDirectory. /// /// Access denied or directory not found. Either you don't have permissions for this directory /// or the directory does not exist. Try calling ListDirectories and check your /// permissions. /// /// /// Operations are only permitted on enabled directories. /// /// /// Indicates a problem that must be resolved by Amazon Web Services. This might be a /// transient error in which case you can retry your request until it succeeds. Otherwise, /// go to the AWS Service Health Dashboard /// site to see if there are any operational issues with the service. /// /// /// Indicates that the provided ARN value is not valid. /// /// /// Indicates that limits are exceeded. See Limits /// for more information. /// /// /// Occurs when any invalid operations are performed on an object that is not a node, /// such as calling ListObjectChildren for a leaf node object. /// /// /// The specified resource could not be found. /// /// /// Occurs when a conflict with a previous successful write is detected. For example, /// if a write operation occurs on an object and then an attempt is made to read the object /// using “SERIALIZABLE” consistency, this exception may result. This generally occurs /// when the previous write did not have time to propagate to the host serving the current /// request. A retry (with appropriate backoff logic) is the recommended response to this /// exception. /// /// /// Indicates that your request is malformed in some manner. See the exception message. /// /// REST API Reference for DetachObject Operation public virtual DetachObjectResponse DetachObject(DetachObjectRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DetachObjectRequestMarshaller.Instance; options.ResponseUnmarshaller = DetachObjectResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DetachObject operation. /// /// /// Container for the necessary parameters to execute the DetachObject operation on AmazonCloudDirectoryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDetachObject /// operation. /// REST API Reference for DetachObject Operation public virtual IAsyncResult BeginDetachObject(DetachObjectRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DetachObjectRequestMarshaller.Instance; options.ResponseUnmarshaller = DetachObjectResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DetachObject operation. /// /// /// The IAsyncResult returned by the call to BeginDetachObject. /// /// Returns a DetachObjectResult from CloudDirectory. /// REST API Reference for DetachObject Operation public virtual DetachObjectResponse EndDetachObject(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DetachPolicy /// /// Detaches a policy from an object. /// /// Container for the necessary parameters to execute the DetachPolicy service method. /// /// The response from the DetachPolicy service method, as returned by CloudDirectory. /// /// Access denied or directory not found. Either you don't have permissions for this directory /// or the directory does not exist. Try calling ListDirectories and check your /// permissions. /// /// /// Operations are only permitted on enabled directories. /// /// /// Indicates a problem that must be resolved by Amazon Web Services. This might be a /// transient error in which case you can retry your request until it succeeds. Otherwise, /// go to the AWS Service Health Dashboard /// site to see if there are any operational issues with the service. /// /// /// Indicates that the provided ARN value is not valid. /// /// /// Indicates that limits are exceeded. See Limits /// for more information. /// /// /// Indicates that the requested operation can only operate on policy objects. /// /// /// The specified resource could not be found. /// /// /// Occurs when a conflict with a previous successful write is detected. For example, /// if a write operation occurs on an object and then an attempt is made to read the object /// using “SERIALIZABLE” consistency, this exception may result. This generally occurs /// when the previous write did not have time to propagate to the host serving the current /// request. A retry (with appropriate backoff logic) is the recommended response to this /// exception. /// /// /// Indicates that your request is malformed in some manner. See the exception message. /// /// REST API Reference for DetachPolicy Operation public virtual DetachPolicyResponse DetachPolicy(DetachPolicyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DetachPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = DetachPolicyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DetachPolicy operation. /// /// /// Container for the necessary parameters to execute the DetachPolicy operation on AmazonCloudDirectoryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDetachPolicy /// operation. /// REST API Reference for DetachPolicy Operation public virtual IAsyncResult BeginDetachPolicy(DetachPolicyRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DetachPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = DetachPolicyResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DetachPolicy operation. /// /// /// The IAsyncResult returned by the call to BeginDetachPolicy. /// /// Returns a DetachPolicyResult from CloudDirectory. /// REST API Reference for DetachPolicy Operation public virtual DetachPolicyResponse EndDetachPolicy(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DetachTypedLink /// /// Detaches a typed link from a specified source and target object. For more information, /// see Typed /// Links. /// /// Container for the necessary parameters to execute the DetachTypedLink service method. /// /// The response from the DetachTypedLink service method, as returned by CloudDirectory. /// /// Access denied or directory not found. Either you don't have permissions for this directory /// or the directory does not exist. Try calling ListDirectories and check your /// permissions. /// /// /// Operations are only permitted on enabled directories. /// /// /// The Facet that you provided was not well formed or could not be validated with /// the schema. /// /// /// Indicates a problem that must be resolved by Amazon Web Services. This might be a /// transient error in which case you can retry your request until it succeeds. Otherwise, /// go to the AWS Service Health Dashboard /// site to see if there are any operational issues with the service. /// /// /// Indicates that the provided ARN value is not valid. /// /// /// Indicates that limits are exceeded. See Limits /// for more information. /// /// /// The specified resource could not be found. /// /// /// Occurs when a conflict with a previous successful write is detected. For example, /// if a write operation occurs on an object and then an attempt is made to read the object /// using “SERIALIZABLE” consistency, this exception may result. This generally occurs /// when the previous write did not have time to propagate to the host serving the current /// request. A retry (with appropriate backoff logic) is the recommended response to this /// exception. /// /// /// Indicates that your request is malformed in some manner. See the exception message. /// /// REST API Reference for DetachTypedLink Operation public virtual DetachTypedLinkResponse DetachTypedLink(DetachTypedLinkRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DetachTypedLinkRequestMarshaller.Instance; options.ResponseUnmarshaller = DetachTypedLinkResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DetachTypedLink operation. /// /// /// Container for the necessary parameters to execute the DetachTypedLink operation on AmazonCloudDirectoryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDetachTypedLink /// operation. /// REST API Reference for DetachTypedLink Operation public virtual IAsyncResult BeginDetachTypedLink(DetachTypedLinkRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DetachTypedLinkRequestMarshaller.Instance; options.ResponseUnmarshaller = DetachTypedLinkResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DetachTypedLink operation. /// /// /// The IAsyncResult returned by the call to BeginDetachTypedLink. /// /// Returns a DetachTypedLinkResult from CloudDirectory. /// REST API Reference for DetachTypedLink Operation public virtual DetachTypedLinkResponse EndDetachTypedLink(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DisableDirectory /// /// Disables the specified directory. Disabled directories cannot be read or written to. /// Only enabled directories can be disabled. Disabled directories may be reenabled. /// /// Container for the necessary parameters to execute the DisableDirectory service method. /// /// The response from the DisableDirectory service method, as returned by CloudDirectory. /// /// Access denied or directory not found. Either you don't have permissions for this directory /// or the directory does not exist. Try calling ListDirectories and check your /// permissions. /// /// /// A directory that has been deleted and to which access has been attempted. Note: The /// requested resource will eventually cease to exist. /// /// /// Indicates a problem that must be resolved by Amazon Web Services. This might be a /// transient error in which case you can retry your request until it succeeds. Otherwise, /// go to the AWS Service Health Dashboard /// site to see if there are any operational issues with the service. /// /// /// Indicates that the provided ARN value is not valid. /// /// /// Indicates that limits are exceeded. See Limits /// for more information. /// /// /// The specified resource could not be found. /// /// /// Occurs when a conflict with a previous successful write is detected. For example, /// if a write operation occurs on an object and then an attempt is made to read the object /// using “SERIALIZABLE” consistency, this exception may result. This generally occurs /// when the previous write did not have time to propagate to the host serving the current /// request. A retry (with appropriate backoff logic) is the recommended response to this /// exception. /// /// /// Indicates that your request is malformed in some manner. See the exception message. /// /// REST API Reference for DisableDirectory Operation public virtual DisableDirectoryResponse DisableDirectory(DisableDirectoryRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisableDirectoryRequestMarshaller.Instance; options.ResponseUnmarshaller = DisableDirectoryResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DisableDirectory operation. /// /// /// Container for the necessary parameters to execute the DisableDirectory operation on AmazonCloudDirectoryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDisableDirectory /// operation. /// REST API Reference for DisableDirectory Operation public virtual IAsyncResult BeginDisableDirectory(DisableDirectoryRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DisableDirectoryRequestMarshaller.Instance; options.ResponseUnmarshaller = DisableDirectoryResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DisableDirectory operation. /// /// /// The IAsyncResult returned by the call to BeginDisableDirectory. /// /// Returns a DisableDirectoryResult from CloudDirectory. /// REST API Reference for DisableDirectory Operation public virtual DisableDirectoryResponse EndDisableDirectory(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region EnableDirectory /// /// Enables the specified directory. Only disabled directories can be enabled. Once enabled, /// the directory can then be read and written to. /// /// Container for the necessary parameters to execute the EnableDirectory service method. /// /// The response from the EnableDirectory service method, as returned by CloudDirectory. /// /// Access denied or directory not found. Either you don't have permissions for this directory /// or the directory does not exist. Try calling ListDirectories and check your /// permissions. /// /// /// A directory that has been deleted and to which access has been attempted. Note: The /// requested resource will eventually cease to exist. /// /// /// Indicates a problem that must be resolved by Amazon Web Services. This might be a /// transient error in which case you can retry your request until it succeeds. Otherwise, /// go to the AWS Service Health Dashboard /// site to see if there are any operational issues with the service. /// /// /// Indicates that the provided ARN value is not valid. /// /// /// Indicates that limits are exceeded. See Limits /// for more information. /// /// /// The specified resource could not be found. /// /// /// Occurs when a conflict with a previous successful write is detected. For example, /// if a write operation occurs on an object and then an attempt is made to read the object /// using “SERIALIZABLE” consistency, this exception may result. This generally occurs /// when the previous write did not have time to propagate to the host serving the current /// request. A retry (with appropriate backoff logic) is the recommended response to this /// exception. /// /// /// Indicates that your request is malformed in some manner. See the exception message. /// /// REST API Reference for EnableDirectory Operation public virtual EnableDirectoryResponse EnableDirectory(EnableDirectoryRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = EnableDirectoryRequestMarshaller.Instance; options.ResponseUnmarshaller = EnableDirectoryResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the EnableDirectory operation. /// /// /// Container for the necessary parameters to execute the EnableDirectory operation on AmazonCloudDirectoryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndEnableDirectory /// operation. /// REST API Reference for EnableDirectory Operation public virtual IAsyncResult BeginEnableDirectory(EnableDirectoryRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = EnableDirectoryRequestMarshaller.Instance; options.ResponseUnmarshaller = EnableDirectoryResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the EnableDirectory operation. /// /// /// The IAsyncResult returned by the call to BeginEnableDirectory. /// /// Returns a EnableDirectoryResult from CloudDirectory. /// REST API Reference for EnableDirectory Operation public virtual EnableDirectoryResponse EndEnableDirectory(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetAppliedSchemaVersion /// /// Returns current applied schema version ARN, including the minor version in use. /// /// Container for the necessary parameters to execute the GetAppliedSchemaVersion service method. /// /// The response from the GetAppliedSchemaVersion service method, as returned by CloudDirectory. /// /// Access denied or directory not found. Either you don't have permissions for this directory /// or the directory does not exist. Try calling ListDirectories and check your /// permissions. /// /// /// Indicates a problem that must be resolved by Amazon Web Services. This might be a /// transient error in which case you can retry your request until it succeeds. Otherwise, /// go to the AWS Service Health Dashboard /// site to see if there are any operational issues with the service. /// /// /// Indicates that the provided ARN value is not valid. /// /// /// Indicates that limits are exceeded. See Limits /// for more information. /// /// /// The specified resource could not be found. /// /// /// Occurs when a conflict with a previous successful write is detected. For example, /// if a write operation occurs on an object and then an attempt is made to read the object /// using “SERIALIZABLE” consistency, this exception may result. This generally occurs /// when the previous write did not have time to propagate to the host serving the current /// request. A retry (with appropriate backoff logic) is the recommended response to this /// exception. /// /// /// Indicates that your request is malformed in some manner. See the exception message. /// /// REST API Reference for GetAppliedSchemaVersion Operation public virtual GetAppliedSchemaVersionResponse GetAppliedSchemaVersion(GetAppliedSchemaVersionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetAppliedSchemaVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetAppliedSchemaVersionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetAppliedSchemaVersion operation. /// /// /// Container for the necessary parameters to execute the GetAppliedSchemaVersion operation on AmazonCloudDirectoryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetAppliedSchemaVersion /// operation. /// REST API Reference for GetAppliedSchemaVersion Operation public virtual IAsyncResult BeginGetAppliedSchemaVersion(GetAppliedSchemaVersionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetAppliedSchemaVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetAppliedSchemaVersionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetAppliedSchemaVersion operation. /// /// /// The IAsyncResult returned by the call to BeginGetAppliedSchemaVersion. /// /// Returns a GetAppliedSchemaVersionResult from CloudDirectory. /// REST API Reference for GetAppliedSchemaVersion Operation public virtual GetAppliedSchemaVersionResponse EndGetAppliedSchemaVersion(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetDirectory /// /// Retrieves metadata about a directory. /// /// Container for the necessary parameters to execute the GetDirectory service method. /// /// The response from the GetDirectory service method, as returned by CloudDirectory. /// /// Access denied or directory not found. Either you don't have permissions for this directory /// or the directory does not exist. Try calling ListDirectories and check your /// permissions. /// /// /// Indicates a problem that must be resolved by Amazon Web Services. This might be a /// transient error in which case you can retry your request until it succeeds. Otherwise, /// go to the AWS Service Health Dashboard /// site to see if there are any operational issues with the service. /// /// /// Indicates that the provided ARN value is not valid. /// /// /// Indicates that limits are exceeded. See Limits /// for more information. /// /// /// Occurs when a conflict with a previous successful write is detected. For example, /// if a write operation occurs on an object and then an attempt is made to read the object /// using “SERIALIZABLE” consistency, this exception may result. This generally occurs /// when the previous write did not have time to propagate to the host serving the current /// request. A retry (with appropriate backoff logic) is the recommended response to this /// exception. /// /// /// Indicates that your request is malformed in some manner. See the exception message. /// /// REST API Reference for GetDirectory Operation public virtual GetDirectoryResponse GetDirectory(GetDirectoryRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetDirectoryRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDirectoryResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetDirectory operation. /// /// /// Container for the necessary parameters to execute the GetDirectory operation on AmazonCloudDirectoryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetDirectory /// operation. /// REST API Reference for GetDirectory Operation public virtual IAsyncResult BeginGetDirectory(GetDirectoryRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetDirectoryRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDirectoryResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetDirectory operation. /// /// /// The IAsyncResult returned by the call to BeginGetDirectory. /// /// Returns a GetDirectoryResult from CloudDirectory. /// REST API Reference for GetDirectory Operation public virtual GetDirectoryResponse EndGetDirectory(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetFacet /// /// Gets 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. /// /// Container for the necessary parameters to execute the GetFacet service method. /// /// The response from the GetFacet service method, as returned by CloudDirectory. /// /// Access denied or directory not found. Either you don't have permissions for this directory /// or the directory does not exist. Try calling ListDirectories and check your /// permissions. /// /// /// The specified Facet could not be found. /// /// /// Indicates a problem that must be resolved by Amazon Web Services. This might be a /// transient error in which case you can retry your request until it succeeds. Otherwise, /// go to the AWS Service Health Dashboard /// site to see if there are any operational issues with the service. /// /// /// Indicates that the provided ARN value is not valid. /// /// /// Indicates that limits are exceeded. See Limits /// for more information. /// /// /// The specified resource could not be found. /// /// /// Occurs when a conflict with a previous successful write is detected. For example, /// if a write operation occurs on an object and then an attempt is made to read the object /// using “SERIALIZABLE” consistency, this exception may result. This generally occurs /// when the previous write did not have time to propagate to the host serving the current /// request. A retry (with appropriate backoff logic) is the recommended response to this /// exception. /// /// /// Indicates that your request is malformed in some manner. See the exception message. /// /// REST API Reference for GetFacet Operation public virtual GetFacetResponse GetFacet(GetFacetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetFacetRequestMarshaller.Instance; options.ResponseUnmarshaller = GetFacetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetFacet operation. /// /// /// Container for the necessary parameters to execute the GetFacet operation on AmazonCloudDirectoryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetFacet /// operation. /// REST API Reference for GetFacet Operation public virtual IAsyncResult BeginGetFacet(GetFacetRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetFacetRequestMarshaller.Instance; options.ResponseUnmarshaller = GetFacetResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetFacet operation. /// /// /// The IAsyncResult returned by the call to BeginGetFacet. /// /// Returns a GetFacetResult from CloudDirectory. /// REST API Reference for GetFacet Operation public virtual GetFacetResponse EndGetFacet(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetLinkAttributes /// /// Retrieves attributes that are associated with a typed link. /// /// Container for the necessary parameters to execute the GetLinkAttributes service method. /// /// The response from the GetLinkAttributes service method, as returned by CloudDirectory. /// /// Access denied or directory not found. Either you don't have permissions for this directory /// or the directory does not exist. Try calling ListDirectories and check your /// permissions. /// /// /// Operations are only permitted on enabled directories. /// /// /// The Facet that you provided was not well formed or could not be validated with /// the schema. /// /// /// Indicates a problem that must be resolved by Amazon Web Services. This might be a /// transient error in which case you can retry your request until it succeeds. Otherwise, /// go to the AWS Service Health Dashboard /// site to see if there are any operational issues with the service. /// /// /// Indicates that the provided ARN value is not valid. /// /// /// Indicates that limits are exceeded. See Limits /// for more information. /// /// /// The specified resource could not be found. /// /// /// Occurs when a conflict with a previous successful write is detected. For example, /// if a write operation occurs on an object and then an attempt is made to read the object /// using “SERIALIZABLE” consistency, this exception may result. This generally occurs /// when the previous write did not have time to propagate to the host serving the current /// request. A retry (with appropriate backoff logic) is the recommended response to this /// exception. /// /// /// Indicates that your request is malformed in some manner. See the exception message. /// /// REST API Reference for GetLinkAttributes Operation public virtual GetLinkAttributesResponse GetLinkAttributes(GetLinkAttributesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetLinkAttributesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetLinkAttributesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetLinkAttributes operation. /// /// /// Container for the necessary parameters to execute the GetLinkAttributes operation on AmazonCloudDirectoryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetLinkAttributes /// operation. /// REST API Reference for GetLinkAttributes Operation public virtual IAsyncResult BeginGetLinkAttributes(GetLinkAttributesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetLinkAttributesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetLinkAttributesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetLinkAttributes operation. /// /// /// The IAsyncResult returned by the call to BeginGetLinkAttributes. /// /// Returns a GetLinkAttributesResult from CloudDirectory. /// REST API Reference for GetLinkAttributes Operation public virtual GetLinkAttributesResponse EndGetLinkAttributes(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetObjectAttributes /// /// Retrieves attributes within a facet that are associated with an object. /// /// Container for the necessary parameters to execute the GetObjectAttributes service method. /// /// The response from the GetObjectAttributes service method, as returned by CloudDirectory. /// /// Access denied or directory not found. Either you don't have permissions for this directory /// or the directory does not exist. Try calling ListDirectories and check your /// permissions. /// /// /// Operations are only permitted on enabled directories. /// /// /// The Facet that you provided was not well formed or could not be validated with /// the schema. /// /// /// Indicates a problem that must be resolved by Amazon Web Services. This might be a /// transient error in which case you can retry your request until it succeeds. Otherwise, /// go to the AWS Service Health Dashboard /// site to see if there are any operational issues with the service. /// /// /// Indicates that the provided ARN value is not valid. /// /// /// Indicates that limits are exceeded. See Limits /// for more information. /// /// /// The specified resource could not be found. /// /// /// Occurs when a conflict with a previous successful write is detected. For example, /// if a write operation occurs on an object and then an attempt is made to read the object /// using “SERIALIZABLE” consistency, this exception may result. This generally occurs /// when the previous write did not have time to propagate to the host serving the current /// request. A retry (with appropriate backoff logic) is the recommended response to this /// exception. /// /// /// Indicates that your request is malformed in some manner. See the exception message. /// /// REST API Reference for GetObjectAttributes Operation public virtual GetObjectAttributesResponse GetObjectAttributes(GetObjectAttributesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetObjectAttributesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetObjectAttributesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetObjectAttributes operation. /// /// /// Container for the necessary parameters to execute the GetObjectAttributes operation on AmazonCloudDirectoryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetObjectAttributes /// operation. /// REST API Reference for GetObjectAttributes Operation public virtual IAsyncResult BeginGetObjectAttributes(GetObjectAttributesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetObjectAttributesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetObjectAttributesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetObjectAttributes operation. /// /// /// The IAsyncResult returned by the call to BeginGetObjectAttributes. /// /// Returns a GetObjectAttributesResult from CloudDirectory. /// REST API Reference for GetObjectAttributes Operation public virtual GetObjectAttributesResponse EndGetObjectAttributes(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetObjectInformation /// /// Retrieves metadata about an object. /// /// Container for the necessary parameters to execute the GetObjectInformation service method. /// /// The response from the GetObjectInformation service method, as returned by CloudDirectory. /// /// Access denied or directory not found. Either you don't have permissions for this directory /// or the directory does not exist. Try calling ListDirectories and check your /// permissions. /// /// /// Operations are only permitted on enabled directories. /// /// /// Indicates a problem that must be resolved by Amazon Web Services. This might be a /// transient error in which case you can retry your request until it succeeds. Otherwise, /// go to the AWS Service Health Dashboard /// site to see if there are any operational issues with the service. /// /// /// Indicates that the provided ARN value is not valid. /// /// /// Indicates that limits are exceeded. See Limits /// for more information. /// /// /// The specified resource could not be found. /// /// /// Occurs when a conflict with a previous successful write is detected. For example, /// if a write operation occurs on an object and then an attempt is made to read the object /// using “SERIALIZABLE” consistency, this exception may result. This generally occurs /// when the previous write did not have time to propagate to the host serving the current /// request. A retry (with appropriate backoff logic) is the recommended response to this /// exception. /// /// /// Indicates that your request is malformed in some manner. See the exception message. /// /// REST API Reference for GetObjectInformation Operation public virtual GetObjectInformationResponse GetObjectInformation(GetObjectInformationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetObjectInformationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetObjectInformationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetObjectInformation operation. /// /// /// Container for the necessary parameters to execute the GetObjectInformation operation on AmazonCloudDirectoryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetObjectInformation /// operation. /// REST API Reference for GetObjectInformation Operation public virtual IAsyncResult BeginGetObjectInformation(GetObjectInformationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetObjectInformationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetObjectInformationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetObjectInformation operation. /// /// /// The IAsyncResult returned by the call to BeginGetObjectInformation. /// /// Returns a GetObjectInformationResult from CloudDirectory. /// REST API Reference for GetObjectInformation Operation public virtual GetObjectInformationResponse EndGetObjectInformation(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetSchemaAsJson /// /// Retrieves a JSON representation of the schema. See JSON /// Schema Format for more information. /// /// Container for the necessary parameters to execute the GetSchemaAsJson service method. /// /// The response from the GetSchemaAsJson service method, as returned by CloudDirectory. /// /// Access denied or directory not found. Either you don't have permissions for this directory /// or the directory does not exist. Try calling ListDirectories and check your /// permissions. /// /// /// Indicates a problem that must be resolved by Amazon Web Services. This might be a /// transient error in which case you can retry your request until it succeeds. Otherwise, /// go to the AWS Service Health Dashboard /// site to see if there are any operational issues with the service. /// /// /// Indicates that the provided ARN value is not valid. /// /// /// Indicates that limits are exceeded. See Limits /// for more information. /// /// /// The specified resource could not be found. /// /// /// Occurs when a conflict with a previous successful write is detected. For example, /// if a write operation occurs on an object and then an attempt is made to read the object /// using “SERIALIZABLE” consistency, this exception may result. This generally occurs /// when the previous write did not have time to propagate to the host serving the current /// request. A retry (with appropriate backoff logic) is the recommended response to this /// exception. /// /// /// Indicates that your request is malformed in some manner. See the exception message. /// /// REST API Reference for GetSchemaAsJson Operation public virtual GetSchemaAsJsonResponse GetSchemaAsJson(GetSchemaAsJsonRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetSchemaAsJsonRequestMarshaller.Instance; options.ResponseUnmarshaller = GetSchemaAsJsonResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetSchemaAsJson operation. /// /// /// Container for the necessary parameters to execute the GetSchemaAsJson operation on AmazonCloudDirectoryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetSchemaAsJson /// operation. /// REST API Reference for GetSchemaAsJson Operation public virtual IAsyncResult BeginGetSchemaAsJson(GetSchemaAsJsonRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetSchemaAsJsonRequestMarshaller.Instance; options.ResponseUnmarshaller = GetSchemaAsJsonResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetSchemaAsJson operation. /// /// /// The IAsyncResult returned by the call to BeginGetSchemaAsJson. /// /// Returns a GetSchemaAsJsonResult from CloudDirectory. /// REST API Reference for GetSchemaAsJson Operation public virtual GetSchemaAsJsonResponse EndGetSchemaAsJson(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetTypedLinkFacetInformation /// /// Returns the identity attribute order for a specific TypedLinkFacet. For more /// information, see Typed /// Links. /// /// Container for the necessary parameters to execute the GetTypedLinkFacetInformation service method. /// /// The response from the GetTypedLinkFacetInformation service method, as returned by CloudDirectory. /// /// Access denied or directory not found. Either you don't have permissions for this directory /// or the directory does not exist. Try calling ListDirectories and check your /// permissions. /// /// /// The specified Facet could not be found. /// /// /// Indicates a problem that must be resolved by Amazon Web Services. This might be a /// transient error in which case you can retry your request until it succeeds. Otherwise, /// go to the AWS Service Health Dashboard /// site to see if there are any operational issues with the service. /// /// /// Indicates that the provided ARN value is not valid. /// /// /// Indicates that the NextToken value is not valid. /// /// /// Indicates that limits are exceeded. See Limits /// for more information. /// /// /// The specified resource could not be found. /// /// /// Occurs when a conflict with a previous successful write is detected. For example, /// if a write operation occurs on an object and then an attempt is made to read the object /// using “SERIALIZABLE” consistency, this exception may result. This generally occurs /// when the previous write did not have time to propagate to the host serving the current /// request. A retry (with appropriate backoff logic) is the recommended response to this /// exception. /// /// /// Indicates that your request is malformed in some manner. See the exception message. /// /// REST API Reference for GetTypedLinkFacetInformation Operation public virtual GetTypedLinkFacetInformationResponse GetTypedLinkFacetInformation(GetTypedLinkFacetInformationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetTypedLinkFacetInformationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetTypedLinkFacetInformationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetTypedLinkFacetInformation operation. /// /// /// Container for the necessary parameters to execute the GetTypedLinkFacetInformation operation on AmazonCloudDirectoryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetTypedLinkFacetInformation /// operation. /// REST API Reference for GetTypedLinkFacetInformation Operation public virtual IAsyncResult BeginGetTypedLinkFacetInformation(GetTypedLinkFacetInformationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetTypedLinkFacetInformationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetTypedLinkFacetInformationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetTypedLinkFacetInformation operation. /// /// /// The IAsyncResult returned by the call to BeginGetTypedLinkFacetInformation. /// /// Returns a GetTypedLinkFacetInformationResult from CloudDirectory. /// REST API Reference for GetTypedLinkFacetInformation Operation public virtual GetTypedLinkFacetInformationResponse EndGetTypedLinkFacetInformation(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListAppliedSchemaArns /// /// Lists schema major versions applied to a directory. If SchemaArn is provided, /// lists the minor version. /// /// Container for the necessary parameters to execute the ListAppliedSchemaArns service method. /// /// The response from the ListAppliedSchemaArns service method, as returned by CloudDirectory. /// /// Access denied or directory not found. Either you don't have permissions for this directory /// or the directory does not exist. Try calling ListDirectories and check your /// permissions. /// /// /// Indicates a problem that must be resolved by Amazon Web Services. This might be a /// transient error in which case you can retry your request until it succeeds. Otherwise, /// go to the AWS Service Health Dashboard /// site to see if there are any operational issues with the service. /// /// /// Indicates that the provided ARN value is not valid. /// /// /// Indicates that the NextToken value is not valid. /// /// /// Indicates that limits are exceeded. See Limits /// for more information. /// /// /// The specified resource could not be found. /// /// /// Occurs when a conflict with a previous successful write is detected. For example, /// if a write operation occurs on an object and then an attempt is made to read the object /// using “SERIALIZABLE” consistency, this exception may result. This generally occurs /// when the previous write did not have time to propagate to the host serving the current /// request. A retry (with appropriate backoff logic) is the recommended response to this /// exception. /// /// /// Indicates that your request is malformed in some manner. See the exception message. /// /// REST API Reference for ListAppliedSchemaArns Operation public virtual ListAppliedSchemaArnsResponse ListAppliedSchemaArns(ListAppliedSchemaArnsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAppliedSchemaArnsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAppliedSchemaArnsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListAppliedSchemaArns operation. /// /// /// Container for the necessary parameters to execute the ListAppliedSchemaArns operation on AmazonCloudDirectoryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListAppliedSchemaArns /// operation. /// REST API Reference for ListAppliedSchemaArns Operation public virtual IAsyncResult BeginListAppliedSchemaArns(ListAppliedSchemaArnsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListAppliedSchemaArnsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAppliedSchemaArnsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListAppliedSchemaArns operation. /// /// /// The IAsyncResult returned by the call to BeginListAppliedSchemaArns. /// /// Returns a ListAppliedSchemaArnsResult from CloudDirectory. /// REST API Reference for ListAppliedSchemaArns Operation public virtual ListAppliedSchemaArnsResponse EndListAppliedSchemaArns(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListAttachedIndices /// /// Lists indices attached to the specified object. /// /// Container for the necessary parameters to execute the ListAttachedIndices service method. /// /// The response from the ListAttachedIndices service method, as returned by CloudDirectory. /// /// Access denied or directory not found. Either you don't have permissions for this directory /// or the directory does not exist. Try calling ListDirectories and check your /// permissions. /// /// /// Operations are only permitted on enabled directories. /// /// /// Indicates a problem that must be resolved by Amazon Web Services. This might be a /// transient error in which case you can retry your request until it succeeds. Otherwise, /// go to the AWS Service Health Dashboard /// site to see if there are any operational issues with the service. /// /// /// Indicates that the provided ARN value is not valid. /// /// /// Indicates that limits are exceeded. See Limits /// for more information. /// /// /// The specified resource could not be found. /// /// /// Occurs when a conflict with a previous successful write is detected. For example, /// if a write operation occurs on an object and then an attempt is made to read the object /// using “SERIALIZABLE” consistency, this exception may result. This generally occurs /// when the previous write did not have time to propagate to the host serving the current /// request. A retry (with appropriate backoff logic) is the recommended response to this /// exception. /// /// /// Indicates that your request is malformed in some manner. See the exception message. /// /// REST API Reference for ListAttachedIndices Operation public virtual ListAttachedIndicesResponse ListAttachedIndices(ListAttachedIndicesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAttachedIndicesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAttachedIndicesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListAttachedIndices operation. /// /// /// Container for the necessary parameters to execute the ListAttachedIndices operation on AmazonCloudDirectoryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListAttachedIndices /// operation. /// REST API Reference for ListAttachedIndices Operation public virtual IAsyncResult BeginListAttachedIndices(ListAttachedIndicesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListAttachedIndicesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAttachedIndicesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListAttachedIndices operation. /// /// /// The IAsyncResult returned by the call to BeginListAttachedIndices. /// /// Returns a ListAttachedIndicesResult from CloudDirectory. /// REST API Reference for ListAttachedIndices Operation public virtual ListAttachedIndicesResponse EndListAttachedIndices(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListDevelopmentSchemaArns /// /// Retrieves each Amazon Resource Name (ARN) of schemas in the development state. /// /// Container for the necessary parameters to execute the ListDevelopmentSchemaArns service method. /// /// The response from the ListDevelopmentSchemaArns service method, as returned by CloudDirectory. /// /// Access denied or directory not found. Either you don't have permissions for this directory /// or the directory does not exist. Try calling ListDirectories and check your /// permissions. /// /// /// Indicates a problem that must be resolved by Amazon Web Services. This might be a /// transient error in which case you can retry your request until it succeeds. Otherwise, /// go to the AWS Service Health Dashboard /// site to see if there are any operational issues with the service. /// /// /// Indicates that the provided ARN value is not valid. /// /// /// Indicates that the NextToken value is not valid. /// /// /// Indicates that limits are exceeded. See Limits /// for more information. /// /// /// The specified resource could not be found. /// /// /// Occurs when a conflict with a previous successful write is detected. For example, /// if a write operation occurs on an object and then an attempt is made to read the object /// using “SERIALIZABLE” consistency, this exception may result. This generally occurs /// when the previous write did not have time to propagate to the host serving the current /// request. A retry (with appropriate backoff logic) is the recommended response to this /// exception. /// /// /// Indicates that your request is malformed in some manner. See the exception message. /// /// REST API Reference for ListDevelopmentSchemaArns Operation public virtual ListDevelopmentSchemaArnsResponse ListDevelopmentSchemaArns(ListDevelopmentSchemaArnsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListDevelopmentSchemaArnsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDevelopmentSchemaArnsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListDevelopmentSchemaArns operation. /// /// /// Container for the necessary parameters to execute the ListDevelopmentSchemaArns operation on AmazonCloudDirectoryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListDevelopmentSchemaArns /// operation. /// REST API Reference for ListDevelopmentSchemaArns Operation public virtual IAsyncResult BeginListDevelopmentSchemaArns(ListDevelopmentSchemaArnsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListDevelopmentSchemaArnsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDevelopmentSchemaArnsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListDevelopmentSchemaArns operation. /// /// /// The IAsyncResult returned by the call to BeginListDevelopmentSchemaArns. /// /// Returns a ListDevelopmentSchemaArnsResult from CloudDirectory. /// REST API Reference for ListDevelopmentSchemaArns Operation public virtual ListDevelopmentSchemaArnsResponse EndListDevelopmentSchemaArns(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListDirectories /// /// Lists directories created within an account. /// /// Container for the necessary parameters to execute the ListDirectories service method. /// /// The response from the ListDirectories service method, as returned by CloudDirectory. /// /// Access denied or directory not found. Either you don't have permissions for this directory /// or the directory does not exist. Try calling ListDirectories and check your /// permissions. /// /// /// Indicates a problem that must be resolved by Amazon Web Services. This might be a /// transient error in which case you can retry your request until it succeeds. Otherwise, /// go to the AWS Service Health Dashboard /// site to see if there are any operational issues with the service. /// /// /// Indicates that the provided ARN value is not valid. /// /// /// Indicates that the NextToken value is not valid. /// /// /// Indicates that limits are exceeded. See Limits /// for more information. /// /// /// Occurs when a conflict with a previous successful write is detected. For example, /// if a write operation occurs on an object and then an attempt is made to read the object /// using “SERIALIZABLE” consistency, this exception may result. This generally occurs /// when the previous write did not have time to propagate to the host serving the current /// request. A retry (with appropriate backoff logic) is the recommended response to this /// exception. /// /// /// Indicates that your request is malformed in some manner. See the exception message. /// /// REST API Reference for ListDirectories Operation public virtual ListDirectoriesResponse ListDirectories(ListDirectoriesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListDirectoriesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDirectoriesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListDirectories operation. /// /// /// Container for the necessary parameters to execute the ListDirectories operation on AmazonCloudDirectoryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListDirectories /// operation. /// REST API Reference for ListDirectories Operation public virtual IAsyncResult BeginListDirectories(ListDirectoriesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListDirectoriesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDirectoriesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListDirectories operation. /// /// /// The IAsyncResult returned by the call to BeginListDirectories. /// /// Returns a ListDirectoriesResult from CloudDirectory. /// REST API Reference for ListDirectories Operation public virtual ListDirectoriesResponse EndListDirectories(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListFacetAttributes /// /// Retrieves attributes attached to the facet. /// /// Container for the necessary parameters to execute the ListFacetAttributes service method. /// /// The response from the ListFacetAttributes service method, as returned by CloudDirectory. /// /// Access denied or directory not found. Either you don't have permissions for this directory /// or the directory does not exist. Try calling ListDirectories and check your /// permissions. /// /// /// The specified Facet could not be found. /// /// /// Indicates a problem that must be resolved by Amazon Web Services. This might be a /// transient error in which case you can retry your request until it succeeds. Otherwise, /// go to the AWS Service Health Dashboard /// site to see if there are any operational issues with the service. /// /// /// Indicates that the provided ARN value is not valid. /// /// /// Indicates that the NextToken value is not valid. /// /// /// Indicates that limits are exceeded. See Limits /// for more information. /// /// /// The specified resource could not be found. /// /// /// Occurs when a conflict with a previous successful write is detected. For example, /// if a write operation occurs on an object and then an attempt is made to read the object /// using “SERIALIZABLE” consistency, this exception may result. This generally occurs /// when the previous write did not have time to propagate to the host serving the current /// request. A retry (with appropriate backoff logic) is the recommended response to this /// exception. /// /// /// Indicates that your request is malformed in some manner. See the exception message. /// /// REST API Reference for ListFacetAttributes Operation public virtual ListFacetAttributesResponse ListFacetAttributes(ListFacetAttributesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListFacetAttributesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListFacetAttributesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListFacetAttributes operation. /// /// /// Container for the necessary parameters to execute the ListFacetAttributes operation on AmazonCloudDirectoryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListFacetAttributes /// operation. /// REST API Reference for ListFacetAttributes Operation public virtual IAsyncResult BeginListFacetAttributes(ListFacetAttributesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListFacetAttributesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListFacetAttributesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListFacetAttributes operation. /// /// /// The IAsyncResult returned by the call to BeginListFacetAttributes. /// /// Returns a ListFacetAttributesResult from CloudDirectory. /// REST API Reference for ListFacetAttributes Operation public virtual ListFacetAttributesResponse EndListFacetAttributes(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListFacetNames /// /// Retrieves the names of facets that exist in a schema. /// /// Container for the necessary parameters to execute the ListFacetNames service method. /// /// The response from the ListFacetNames service method, as returned by CloudDirectory. /// /// Access denied or directory not found. Either you don't have permissions for this directory /// or the directory does not exist. Try calling ListDirectories and check your /// permissions. /// /// /// Indicates a problem that must be resolved by Amazon Web Services. This might be a /// transient error in which case you can retry your request until it succeeds. Otherwise, /// go to the AWS Service Health Dashboard /// site to see if there are any operational issues with the service. /// /// /// Indicates that the provided ARN value is not valid. /// /// /// Indicates that the NextToken value is not valid. /// /// /// Indicates that limits are exceeded. See Limits /// for more information. /// /// /// The specified resource could not be found. /// /// /// Occurs when a conflict with a previous successful write is detected. For example, /// if a write operation occurs on an object and then an attempt is made to read the object /// using “SERIALIZABLE” consistency, this exception may result. This generally occurs /// when the previous write did not have time to propagate to the host serving the current /// request. A retry (with appropriate backoff logic) is the recommended response to this /// exception. /// /// /// Indicates that your request is malformed in some manner. See the exception message. /// /// REST API Reference for ListFacetNames Operation public virtual ListFacetNamesResponse ListFacetNames(ListFacetNamesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListFacetNamesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListFacetNamesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListFacetNames operation. /// /// /// Container for the necessary parameters to execute the ListFacetNames operation on AmazonCloudDirectoryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListFacetNames /// operation. /// REST API Reference for ListFacetNames Operation public virtual IAsyncResult BeginListFacetNames(ListFacetNamesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListFacetNamesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListFacetNamesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListFacetNames operation. /// /// /// The IAsyncResult returned by the call to BeginListFacetNames. /// /// Returns a ListFacetNamesResult from CloudDirectory. /// REST API Reference for ListFacetNames Operation public virtual ListFacetNamesResponse EndListFacetNames(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListIncomingTypedLinks /// /// Returns a paginated list of all the incoming TypedLinkSpecifier information /// for an object. It also supports filtering by typed link facet and identity attributes. /// For more information, see Typed /// Links. /// /// Container for the necessary parameters to execute the ListIncomingTypedLinks service method. /// /// The response from the ListIncomingTypedLinks service method, as returned by CloudDirectory. /// /// Access denied or directory not found. Either you don't have permissions for this directory /// or the directory does not exist. Try calling ListDirectories and check your /// permissions. /// /// /// Operations are only permitted on enabled directories. /// /// /// The Facet that you provided was not well formed or could not be validated with /// the schema. /// /// /// Indicates a problem that must be resolved by Amazon Web Services. This might be a /// transient error in which case you can retry your request until it succeeds. Otherwise, /// go to the AWS Service Health Dashboard /// site to see if there are any operational issues with the service. /// /// /// Indicates that the provided ARN value is not valid. /// /// /// Indicates that the NextToken value is not valid. /// /// /// Indicates that limits are exceeded. See Limits /// for more information. /// /// /// The specified resource could not be found. /// /// /// Occurs when a conflict with a previous successful write is detected. For example, /// if a write operation occurs on an object and then an attempt is made to read the object /// using “SERIALIZABLE” consistency, this exception may result. This generally occurs /// when the previous write did not have time to propagate to the host serving the current /// request. A retry (with appropriate backoff logic) is the recommended response to this /// exception. /// /// /// Indicates that your request is malformed in some manner. See the exception message. /// /// REST API Reference for ListIncomingTypedLinks Operation public virtual ListIncomingTypedLinksResponse ListIncomingTypedLinks(ListIncomingTypedLinksRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListIncomingTypedLinksRequestMarshaller.Instance; options.ResponseUnmarshaller = ListIncomingTypedLinksResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListIncomingTypedLinks operation. /// /// /// Container for the necessary parameters to execute the ListIncomingTypedLinks operation on AmazonCloudDirectoryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListIncomingTypedLinks /// operation. /// REST API Reference for ListIncomingTypedLinks Operation public virtual IAsyncResult BeginListIncomingTypedLinks(ListIncomingTypedLinksRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListIncomingTypedLinksRequestMarshaller.Instance; options.ResponseUnmarshaller = ListIncomingTypedLinksResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListIncomingTypedLinks operation. /// /// /// The IAsyncResult returned by the call to BeginListIncomingTypedLinks. /// /// Returns a ListIncomingTypedLinksResult from CloudDirectory. /// REST API Reference for ListIncomingTypedLinks Operation public virtual ListIncomingTypedLinksResponse EndListIncomingTypedLinks(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListIndex /// /// Lists objects attached to the specified index. /// /// Container for the necessary parameters to execute the ListIndex service method. /// /// The response from the ListIndex service method, as returned by CloudDirectory. /// /// Access denied or directory not found. Either you don't have permissions for this directory /// or the directory does not exist. Try calling ListDirectories and check your /// permissions. /// /// /// Operations are only permitted on enabled directories. /// /// /// The Facet that you provided was not well formed or could not be validated with /// the schema. /// /// /// Indicates a problem that must be resolved by Amazon Web Services. This might be a /// transient error in which case you can retry your request until it succeeds. Otherwise, /// go to the AWS Service Health Dashboard /// site to see if there are any operational issues with the service. /// /// /// Indicates that the provided ARN value is not valid. /// /// /// Indicates that the NextToken value is not valid. /// /// /// Indicates that limits are exceeded. See Limits /// for more information. /// /// /// Indicates that the requested operation can only operate on index objects. /// /// /// The specified resource could not be found. /// /// /// Occurs when a conflict with a previous successful write is detected. For example, /// if a write operation occurs on an object and then an attempt is made to read the object /// using “SERIALIZABLE” consistency, this exception may result. This generally occurs /// when the previous write did not have time to propagate to the host serving the current /// request. A retry (with appropriate backoff logic) is the recommended response to this /// exception. /// /// /// Indicates that your request is malformed in some manner. See the exception message. /// /// REST API Reference for ListIndex Operation public virtual ListIndexResponse ListIndex(ListIndexRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListIndexRequestMarshaller.Instance; options.ResponseUnmarshaller = ListIndexResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListIndex operation. /// /// /// Container for the necessary parameters to execute the ListIndex operation on AmazonCloudDirectoryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListIndex /// operation. /// REST API Reference for ListIndex Operation public virtual IAsyncResult BeginListIndex(ListIndexRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListIndexRequestMarshaller.Instance; options.ResponseUnmarshaller = ListIndexResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListIndex operation. /// /// /// The IAsyncResult returned by the call to BeginListIndex. /// /// Returns a ListIndexResult from CloudDirectory. /// REST API Reference for ListIndex Operation public virtual ListIndexResponse EndListIndex(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListManagedSchemaArns /// /// Lists the major version families of each managed schema. If a major version ARN is /// provided as SchemaArn, the minor version revisions in that family are listed instead. /// /// Container for the necessary parameters to execute the ListManagedSchemaArns service method. /// /// The response from the ListManagedSchemaArns service method, as returned by CloudDirectory. /// /// Access denied or directory not found. Either you don't have permissions for this directory /// or the directory does not exist. Try calling ListDirectories and check your /// permissions. /// /// /// Indicates a problem that must be resolved by Amazon Web Services. This might be a /// transient error in which case you can retry your request until it succeeds. Otherwise, /// go to the AWS Service Health Dashboard /// site to see if there are any operational issues with the service. /// /// /// Indicates that the provided ARN value is not valid. /// /// /// Indicates that the NextToken value is not valid. /// /// /// The specified resource could not be found. /// /// /// Indicates that your request is malformed in some manner. See the exception message. /// /// REST API Reference for ListManagedSchemaArns Operation public virtual ListManagedSchemaArnsResponse ListManagedSchemaArns(ListManagedSchemaArnsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListManagedSchemaArnsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListManagedSchemaArnsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListManagedSchemaArns operation. /// /// /// Container for the necessary parameters to execute the ListManagedSchemaArns operation on AmazonCloudDirectoryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListManagedSchemaArns /// operation. /// REST API Reference for ListManagedSchemaArns Operation public virtual IAsyncResult BeginListManagedSchemaArns(ListManagedSchemaArnsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListManagedSchemaArnsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListManagedSchemaArnsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListManagedSchemaArns operation. /// /// /// The IAsyncResult returned by the call to BeginListManagedSchemaArns. /// /// Returns a ListManagedSchemaArnsResult from CloudDirectory. /// REST API Reference for ListManagedSchemaArns Operation public virtual ListManagedSchemaArnsResponse EndListManagedSchemaArns(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListObjectAttributes /// /// Lists all attributes that are associated with an object. /// /// Container for the necessary parameters to execute the ListObjectAttributes service method. /// /// The response from the ListObjectAttributes service method, as returned by CloudDirectory. /// /// Access denied or directory not found. Either you don't have permissions for this directory /// or the directory does not exist. Try calling ListDirectories and check your /// permissions. /// /// /// Operations are only permitted on enabled directories. /// /// /// The Facet that you provided was not well formed or could not be validated with /// the schema. /// /// /// Indicates a problem that must be resolved by Amazon Web Services. This might be a /// transient error in which case you can retry your request until it succeeds. Otherwise, /// go to the AWS Service Health Dashboard /// site to see if there are any operational issues with the service. /// /// /// Indicates that the provided ARN value is not valid. /// /// /// Indicates that the NextToken value is not valid. /// /// /// Indicates that limits are exceeded. See Limits /// for more information. /// /// /// The specified resource could not be found. /// /// /// Occurs when a conflict with a previous successful write is detected. For example, /// if a write operation occurs on an object and then an attempt is made to read the object /// using “SERIALIZABLE” consistency, this exception may result. This generally occurs /// when the previous write did not have time to propagate to the host serving the current /// request. A retry (with appropriate backoff logic) is the recommended response to this /// exception. /// /// /// Indicates that your request is malformed in some manner. See the exception message. /// /// REST API Reference for ListObjectAttributes Operation public virtual ListObjectAttributesResponse ListObjectAttributes(ListObjectAttributesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListObjectAttributesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListObjectAttributesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListObjectAttributes operation. /// /// /// Container for the necessary parameters to execute the ListObjectAttributes operation on AmazonCloudDirectoryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListObjectAttributes /// operation. /// REST API Reference for ListObjectAttributes Operation public virtual IAsyncResult BeginListObjectAttributes(ListObjectAttributesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListObjectAttributesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListObjectAttributesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListObjectAttributes operation. /// /// /// The IAsyncResult returned by the call to BeginListObjectAttributes. /// /// Returns a ListObjectAttributesResult from CloudDirectory. /// REST API Reference for ListObjectAttributes Operation public virtual ListObjectAttributesResponse EndListObjectAttributes(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListObjectChildren /// /// Returns a paginated list of child objects that are associated with a given object. /// /// Container for the necessary parameters to execute the ListObjectChildren service method. /// /// The response from the ListObjectChildren service method, as returned by CloudDirectory. /// /// Access denied or directory not found. Either you don't have permissions for this directory /// or the directory does not exist. Try calling ListDirectories and check your /// permissions. /// /// /// Operations are only permitted on enabled directories. /// /// /// Indicates a problem that must be resolved by Amazon Web Services. This might be a /// transient error in which case you can retry your request until it succeeds. Otherwise, /// go to the AWS Service Health Dashboard /// site to see if there are any operational issues with the service. /// /// /// Indicates that the provided ARN value is not valid. /// /// /// Indicates that the NextToken value is not valid. /// /// /// Indicates that limits are exceeded. See Limits /// for more information. /// /// /// Occurs when any invalid operations are performed on an object that is not a node, /// such as calling ListObjectChildren for a leaf node object. /// /// /// The specified resource could not be found. /// /// /// Occurs when a conflict with a previous successful write is detected. For example, /// if a write operation occurs on an object and then an attempt is made to read the object /// using “SERIALIZABLE” consistency, this exception may result. This generally occurs /// when the previous write did not have time to propagate to the host serving the current /// request. A retry (with appropriate backoff logic) is the recommended response to this /// exception. /// /// /// Indicates that your request is malformed in some manner. See the exception message. /// /// REST API Reference for ListObjectChildren Operation public virtual ListObjectChildrenResponse ListObjectChildren(ListObjectChildrenRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListObjectChildrenRequestMarshaller.Instance; options.ResponseUnmarshaller = ListObjectChildrenResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListObjectChildren operation. /// /// /// Container for the necessary parameters to execute the ListObjectChildren operation on AmazonCloudDirectoryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListObjectChildren /// operation. /// REST API Reference for ListObjectChildren Operation public virtual IAsyncResult BeginListObjectChildren(ListObjectChildrenRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListObjectChildrenRequestMarshaller.Instance; options.ResponseUnmarshaller = ListObjectChildrenResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListObjectChildren operation. /// /// /// The IAsyncResult returned by the call to BeginListObjectChildren. /// /// Returns a ListObjectChildrenResult from CloudDirectory. /// REST API Reference for ListObjectChildren Operation public virtual ListObjectChildrenResponse EndListObjectChildren(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListObjectParentPaths /// /// Retrieves 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 the directory /// root are ignored from the target object. /// /// /// Container for the necessary parameters to execute the ListObjectParentPaths service method. /// /// The response from the ListObjectParentPaths service method, as returned by CloudDirectory. /// /// Access denied or directory not found. Either you don't have permissions for this directory /// or the directory does not exist. Try calling ListDirectories and check your /// permissions. /// /// /// Operations are only permitted on enabled directories. /// /// /// Indicates a problem that must be resolved by Amazon Web Services. This might be a /// transient error in which case you can retry your request until it succeeds. Otherwise, /// go to the AWS Service Health Dashboard /// site to see if there are any operational issues with the service. /// /// /// Indicates that the provided ARN value is not valid. /// /// /// Indicates that the NextToken value is not valid. /// /// /// Indicates that limits are exceeded. See Limits /// for more information. /// /// /// The specified resource could not be found. /// /// /// Occurs when a conflict with a previous successful write is detected. For example, /// if a write operation occurs on an object and then an attempt is made to read the object /// using “SERIALIZABLE” consistency, this exception may result. This generally occurs /// when the previous write did not have time to propagate to the host serving the current /// request. A retry (with appropriate backoff logic) is the recommended response to this /// exception. /// /// /// Indicates that your request is malformed in some manner. See the exception message. /// /// REST API Reference for ListObjectParentPaths Operation public virtual ListObjectParentPathsResponse ListObjectParentPaths(ListObjectParentPathsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListObjectParentPathsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListObjectParentPathsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListObjectParentPaths operation. /// /// /// Container for the necessary parameters to execute the ListObjectParentPaths operation on AmazonCloudDirectoryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListObjectParentPaths /// operation. /// REST API Reference for ListObjectParentPaths Operation public virtual IAsyncResult BeginListObjectParentPaths(ListObjectParentPathsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListObjectParentPathsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListObjectParentPathsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListObjectParentPaths operation. /// /// /// The IAsyncResult returned by the call to BeginListObjectParentPaths. /// /// Returns a ListObjectParentPathsResult from CloudDirectory. /// REST API Reference for ListObjectParentPaths Operation public virtual ListObjectParentPathsResponse EndListObjectParentPaths(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListObjectParents /// /// Lists parent objects that are associated with a given object in pagination fashion. /// /// Container for the necessary parameters to execute the ListObjectParents service method. /// /// The response from the ListObjectParents service method, as returned by CloudDirectory. /// /// Access denied or directory not found. Either you don't have permissions for this directory /// or the directory does not exist. Try calling ListDirectories and check your /// permissions. /// /// /// Cannot list the parents of a Directory root. /// /// /// Operations are only permitted on enabled directories. /// /// /// Indicates a problem that must be resolved by Amazon Web Services. This might be a /// transient error in which case you can retry your request until it succeeds. Otherwise, /// go to the AWS Service Health Dashboard /// site to see if there are any operational issues with the service. /// /// /// Indicates that the provided ARN value is not valid. /// /// /// Indicates that the NextToken value is not valid. /// /// /// Indicates that limits are exceeded. See Limits /// for more information. /// /// /// The specified resource could not be found. /// /// /// Occurs when a conflict with a previous successful write is detected. For example, /// if a write operation occurs on an object and then an attempt is made to read the object /// using “SERIALIZABLE” consistency, this exception may result. This generally occurs /// when the previous write did not have time to propagate to the host serving the current /// request. A retry (with appropriate backoff logic) is the recommended response to this /// exception. /// /// /// Indicates that your request is malformed in some manner. See the exception message. /// /// REST API Reference for ListObjectParents Operation public virtual ListObjectParentsResponse ListObjectParents(ListObjectParentsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListObjectParentsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListObjectParentsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListObjectParents operation. /// /// /// Container for the necessary parameters to execute the ListObjectParents operation on AmazonCloudDirectoryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListObjectParents /// operation. /// REST API Reference for ListObjectParents Operation public virtual IAsyncResult BeginListObjectParents(ListObjectParentsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListObjectParentsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListObjectParentsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListObjectParents operation. /// /// /// The IAsyncResult returned by the call to BeginListObjectParents. /// /// Returns a ListObjectParentsResult from CloudDirectory. /// REST API Reference for ListObjectParents Operation public virtual ListObjectParentsResponse EndListObjectParents(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListObjectPolicies /// /// Returns policies attached to an object in pagination fashion. /// /// Container for the necessary parameters to execute the ListObjectPolicies service method. /// /// The response from the ListObjectPolicies service method, as returned by CloudDirectory. /// /// Access denied or directory not found. Either you don't have permissions for this directory /// or the directory does not exist. Try calling ListDirectories and check your /// permissions. /// /// /// Operations are only permitted on enabled directories. /// /// /// Indicates a problem that must be resolved by Amazon Web Services. This might be a /// transient error in which case you can retry your request until it succeeds. Otherwise, /// go to the AWS Service Health Dashboard /// site to see if there are any operational issues with the service. /// /// /// Indicates that the provided ARN value is not valid. /// /// /// Indicates that the NextToken value is not valid. /// /// /// Indicates that limits are exceeded. See Limits /// for more information. /// /// /// The specified resource could not be found. /// /// /// Occurs when a conflict with a previous successful write is detected. For example, /// if a write operation occurs on an object and then an attempt is made to read the object /// using “SERIALIZABLE” consistency, this exception may result. This generally occurs /// when the previous write did not have time to propagate to the host serving the current /// request. A retry (with appropriate backoff logic) is the recommended response to this /// exception. /// /// /// Indicates that your request is malformed in some manner. See the exception message. /// /// REST API Reference for ListObjectPolicies Operation public virtual ListObjectPoliciesResponse ListObjectPolicies(ListObjectPoliciesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListObjectPoliciesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListObjectPoliciesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListObjectPolicies operation. /// /// /// Container for the necessary parameters to execute the ListObjectPolicies operation on AmazonCloudDirectoryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListObjectPolicies /// operation. /// REST API Reference for ListObjectPolicies Operation public virtual IAsyncResult BeginListObjectPolicies(ListObjectPoliciesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListObjectPoliciesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListObjectPoliciesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListObjectPolicies operation. /// /// /// The IAsyncResult returned by the call to BeginListObjectPolicies. /// /// Returns a ListObjectPoliciesResult from CloudDirectory. /// REST API Reference for ListObjectPolicies Operation public virtual ListObjectPoliciesResponse EndListObjectPolicies(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListOutgoingTypedLinks /// /// Returns a paginated list of all the outgoing TypedLinkSpecifier information /// for an object. It also supports filtering by typed link facet and identity attributes. /// For more information, see Typed /// Links. /// /// Container for the necessary parameters to execute the ListOutgoingTypedLinks service method. /// /// The response from the ListOutgoingTypedLinks service method, as returned by CloudDirectory. /// /// Access denied or directory not found. Either you don't have permissions for this directory /// or the directory does not exist. Try calling ListDirectories and check your /// permissions. /// /// /// Operations are only permitted on enabled directories. /// /// /// The Facet that you provided was not well formed or could not be validated with /// the schema. /// /// /// Indicates a problem that must be resolved by Amazon Web Services. This might be a /// transient error in which case you can retry your request until it succeeds. Otherwise, /// go to the AWS Service Health Dashboard /// site to see if there are any operational issues with the service. /// /// /// Indicates that the provided ARN value is not valid. /// /// /// Indicates that the NextToken value is not valid. /// /// /// Indicates that limits are exceeded. See Limits /// for more information. /// /// /// The specified resource could not be found. /// /// /// Occurs when a conflict with a previous successful write is detected. For example, /// if a write operation occurs on an object and then an attempt is made to read the object /// using “SERIALIZABLE” consistency, this exception may result. This generally occurs /// when the previous write did not have time to propagate to the host serving the current /// request. A retry (with appropriate backoff logic) is the recommended response to this /// exception. /// /// /// Indicates that your request is malformed in some manner. See the exception message. /// /// REST API Reference for ListOutgoingTypedLinks Operation public virtual ListOutgoingTypedLinksResponse ListOutgoingTypedLinks(ListOutgoingTypedLinksRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListOutgoingTypedLinksRequestMarshaller.Instance; options.ResponseUnmarshaller = ListOutgoingTypedLinksResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListOutgoingTypedLinks operation. /// /// /// Container for the necessary parameters to execute the ListOutgoingTypedLinks operation on AmazonCloudDirectoryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListOutgoingTypedLinks /// operation. /// REST API Reference for ListOutgoingTypedLinks Operation public virtual IAsyncResult BeginListOutgoingTypedLinks(ListOutgoingTypedLinksRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListOutgoingTypedLinksRequestMarshaller.Instance; options.ResponseUnmarshaller = ListOutgoingTypedLinksResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListOutgoingTypedLinks operation. /// /// /// The IAsyncResult returned by the call to BeginListOutgoingTypedLinks. /// /// Returns a ListOutgoingTypedLinksResult from CloudDirectory. /// REST API Reference for ListOutgoingTypedLinks Operation public virtual ListOutgoingTypedLinksResponse EndListOutgoingTypedLinks(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListPolicyAttachments /// /// Returns all of the ObjectIdentifiers to which a given policy is attached. /// /// Container for the necessary parameters to execute the ListPolicyAttachments service method. /// /// The response from the ListPolicyAttachments service method, as returned by CloudDirectory. /// /// Access denied or directory not found. Either you don't have permissions for this directory /// or the directory does not exist. Try calling ListDirectories and check your /// permissions. /// /// /// Operations are only permitted on enabled directories. /// /// /// Indicates a problem that must be resolved by Amazon Web Services. This might be a /// transient error in which case you can retry your request until it succeeds. Otherwise, /// go to the AWS Service Health Dashboard /// site to see if there are any operational issues with the service. /// /// /// Indicates that the provided ARN value is not valid. /// /// /// Indicates that the NextToken value is not valid. /// /// /// Indicates that limits are exceeded. See Limits /// for more information. /// /// /// Indicates that the requested operation can only operate on policy objects. /// /// /// The specified resource could not be found. /// /// /// Occurs when a conflict with a previous successful write is detected. For example, /// if a write operation occurs on an object and then an attempt is made to read the object /// using “SERIALIZABLE” consistency, this exception may result. This generally occurs /// when the previous write did not have time to propagate to the host serving the current /// request. A retry (with appropriate backoff logic) is the recommended response to this /// exception. /// /// /// Indicates that your request is malformed in some manner. See the exception message. /// /// REST API Reference for ListPolicyAttachments Operation public virtual ListPolicyAttachmentsResponse ListPolicyAttachments(ListPolicyAttachmentsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListPolicyAttachmentsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListPolicyAttachmentsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListPolicyAttachments operation. /// /// /// Container for the necessary parameters to execute the ListPolicyAttachments operation on AmazonCloudDirectoryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListPolicyAttachments /// operation. /// REST API Reference for ListPolicyAttachments Operation public virtual IAsyncResult BeginListPolicyAttachments(ListPolicyAttachmentsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListPolicyAttachmentsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListPolicyAttachmentsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListPolicyAttachments operation. /// /// /// The IAsyncResult returned by the call to BeginListPolicyAttachments. /// /// Returns a ListPolicyAttachmentsResult from CloudDirectory. /// REST API Reference for ListPolicyAttachments Operation public virtual ListPolicyAttachmentsResponse EndListPolicyAttachments(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListPublishedSchemaArns /// /// Lists the major version families of each published schema. If a major version ARN /// is provided as SchemaArn, the minor version revisions in that family /// are listed instead. /// /// Container for the necessary parameters to execute the ListPublishedSchemaArns service method. /// /// The response from the ListPublishedSchemaArns service method, as returned by CloudDirectory. /// /// Access denied or directory not found. Either you don't have permissions for this directory /// or the directory does not exist. Try calling ListDirectories and check your /// permissions. /// /// /// Indicates a problem that must be resolved by Amazon Web Services. This might be a /// transient error in which case you can retry your request until it succeeds. Otherwise, /// go to the AWS Service Health Dashboard /// site to see if there are any operational issues with the service. /// /// /// Indicates that the provided ARN value is not valid. /// /// /// Indicates that the NextToken value is not valid. /// /// /// Indicates that limits are exceeded. See Limits /// for more information. /// /// /// The specified resource could not be found. /// /// /// Occurs when a conflict with a previous successful write is detected. For example, /// if a write operation occurs on an object and then an attempt is made to read the object /// using “SERIALIZABLE” consistency, this exception may result. This generally occurs /// when the previous write did not have time to propagate to the host serving the current /// request. A retry (with appropriate backoff logic) is the recommended response to this /// exception. /// /// /// Indicates that your request is malformed in some manner. See the exception message. /// /// REST API Reference for ListPublishedSchemaArns Operation public virtual ListPublishedSchemaArnsResponse ListPublishedSchemaArns(ListPublishedSchemaArnsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListPublishedSchemaArnsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListPublishedSchemaArnsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListPublishedSchemaArns operation. /// /// /// Container for the necessary parameters to execute the ListPublishedSchemaArns operation on AmazonCloudDirectoryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListPublishedSchemaArns /// operation. /// REST API Reference for ListPublishedSchemaArns Operation public virtual IAsyncResult BeginListPublishedSchemaArns(ListPublishedSchemaArnsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListPublishedSchemaArnsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListPublishedSchemaArnsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListPublishedSchemaArns operation. /// /// /// The IAsyncResult returned by the call to BeginListPublishedSchemaArns. /// /// Returns a ListPublishedSchemaArnsResult from CloudDirectory. /// REST API Reference for ListPublishedSchemaArns Operation public virtual ListPublishedSchemaArnsResponse EndListPublishedSchemaArns(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListTagsForResource /// /// Returns 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. /// /// Container for the necessary parameters to execute the ListTagsForResource service method. /// /// The response from the ListTagsForResource service method, as returned by CloudDirectory. /// /// Access denied or directory not found. Either you don't have permissions for this directory /// or the directory does not exist. Try calling ListDirectories and check your /// permissions. /// /// /// Indicates a problem that must be resolved by Amazon Web Services. This might be a /// transient error in which case you can retry your request until it succeeds. Otherwise, /// go to the AWS Service Health Dashboard /// site to see if there are any operational issues with the service. /// /// /// Indicates that the provided ARN value is not valid. /// /// /// Can occur for multiple reasons such as when you tag a resource that doesn’t exist /// or if you specify a higher number of tags for a resource than the allowed limit. Allowed /// limit is 50 tags per resource. /// /// /// Indicates that limits are exceeded. See Limits /// for more information. /// /// /// The specified resource could not be found. /// /// /// Occurs when a conflict with a previous successful write is detected. For example, /// if a write operation occurs on an object and then an attempt is made to read the object /// using “SERIALIZABLE” consistency, this exception may result. This generally occurs /// when the previous write did not have time to propagate to the host serving the current /// request. A retry (with appropriate backoff logic) is the recommended response to this /// exception. /// /// /// Indicates that your request is malformed in some manner. See the exception message. /// /// REST API Reference for ListTagsForResource Operation public virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListTagsForResource operation. /// /// /// Container for the necessary parameters to execute the ListTagsForResource operation on AmazonCloudDirectoryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListTagsForResource /// operation. /// REST API Reference for ListTagsForResource Operation public virtual IAsyncResult BeginListTagsForResource(ListTagsForResourceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListTagsForResource operation. /// /// /// The IAsyncResult returned by the call to BeginListTagsForResource. /// /// Returns a ListTagsForResourceResult from CloudDirectory. /// REST API Reference for ListTagsForResource Operation public virtual ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListTypedLinkFacetAttributes /// /// Returns a paginated list of all attribute definitions for a particular TypedLinkFacet. /// For more information, see Typed /// Links. /// /// Container for the necessary parameters to execute the ListTypedLinkFacetAttributes service method. /// /// The response from the ListTypedLinkFacetAttributes service method, as returned by CloudDirectory. /// /// Access denied or directory not found. Either you don't have permissions for this directory /// or the directory does not exist. Try calling ListDirectories and check your /// permissions. /// /// /// The specified Facet could not be found. /// /// /// Indicates a problem that must be resolved by Amazon Web Services. This might be a /// transient error in which case you can retry your request until it succeeds. Otherwise, /// go to the AWS Service Health Dashboard /// site to see if there are any operational issues with the service. /// /// /// Indicates that the provided ARN value is not valid. /// /// /// Indicates that the NextToken value is not valid. /// /// /// Indicates that limits are exceeded. See Limits /// for more information. /// /// /// The specified resource could not be found. /// /// /// Occurs when a conflict with a previous successful write is detected. For example, /// if a write operation occurs on an object and then an attempt is made to read the object /// using “SERIALIZABLE” consistency, this exception may result. This generally occurs /// when the previous write did not have time to propagate to the host serving the current /// request. A retry (with appropriate backoff logic) is the recommended response to this /// exception. /// /// /// Indicates that your request is malformed in some manner. See the exception message. /// /// REST API Reference for ListTypedLinkFacetAttributes Operation public virtual ListTypedLinkFacetAttributesResponse ListTypedLinkFacetAttributes(ListTypedLinkFacetAttributesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListTypedLinkFacetAttributesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTypedLinkFacetAttributesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListTypedLinkFacetAttributes operation. /// /// /// Container for the necessary parameters to execute the ListTypedLinkFacetAttributes operation on AmazonCloudDirectoryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListTypedLinkFacetAttributes /// operation. /// REST API Reference for ListTypedLinkFacetAttributes Operation public virtual IAsyncResult BeginListTypedLinkFacetAttributes(ListTypedLinkFacetAttributesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListTypedLinkFacetAttributesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTypedLinkFacetAttributesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListTypedLinkFacetAttributes operation. /// /// /// The IAsyncResult returned by the call to BeginListTypedLinkFacetAttributes. /// /// Returns a ListTypedLinkFacetAttributesResult from CloudDirectory. /// REST API Reference for ListTypedLinkFacetAttributes Operation public virtual ListTypedLinkFacetAttributesResponse EndListTypedLinkFacetAttributes(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListTypedLinkFacetNames /// /// Returns a paginated list of TypedLink facet names for a particular schema. /// For more information, see Typed /// Links. /// /// Container for the necessary parameters to execute the ListTypedLinkFacetNames service method. /// /// The response from the ListTypedLinkFacetNames service method, as returned by CloudDirectory. /// /// Access denied or directory not found. Either you don't have permissions for this directory /// or the directory does not exist. Try calling ListDirectories and check your /// permissions. /// /// /// Indicates a problem that must be resolved by Amazon Web Services. This might be a /// transient error in which case you can retry your request until it succeeds. Otherwise, /// go to the AWS Service Health Dashboard /// site to see if there are any operational issues with the service. /// /// /// Indicates that the provided ARN value is not valid. /// /// /// Indicates that the NextToken value is not valid. /// /// /// Indicates that limits are exceeded. See Limits /// for more information. /// /// /// The specified resource could not be found. /// /// /// Occurs when a conflict with a previous successful write is detected. For example, /// if a write operation occurs on an object and then an attempt is made to read the object /// using “SERIALIZABLE” consistency, this exception may result. This generally occurs /// when the previous write did not have time to propagate to the host serving the current /// request. A retry (with appropriate backoff logic) is the recommended response to this /// exception. /// /// /// Indicates that your request is malformed in some manner. See the exception message. /// /// REST API Reference for ListTypedLinkFacetNames Operation public virtual ListTypedLinkFacetNamesResponse ListTypedLinkFacetNames(ListTypedLinkFacetNamesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListTypedLinkFacetNamesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTypedLinkFacetNamesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListTypedLinkFacetNames operation. /// /// /// Container for the necessary parameters to execute the ListTypedLinkFacetNames operation on AmazonCloudDirectoryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListTypedLinkFacetNames /// operation. /// REST API Reference for ListTypedLinkFacetNames Operation public virtual IAsyncResult BeginListTypedLinkFacetNames(ListTypedLinkFacetNamesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListTypedLinkFacetNamesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTypedLinkFacetNamesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListTypedLinkFacetNames operation. /// /// /// The IAsyncResult returned by the call to BeginListTypedLinkFacetNames. /// /// Returns a ListTypedLinkFacetNamesResult from CloudDirectory. /// REST API Reference for ListTypedLinkFacetNames Operation public virtual ListTypedLinkFacetNamesResponse EndListTypedLinkFacetNames(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region LookupPolicy /// /// 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. For more information, see Policies. /// /// Container for the necessary parameters to execute the LookupPolicy service method. /// /// The response from the LookupPolicy service method, as returned by CloudDirectory. /// /// Access denied or directory not found. Either you don't have permissions for this directory /// or the directory does not exist. Try calling ListDirectories and check your /// permissions. /// /// /// Operations are only permitted on enabled directories. /// /// /// Indicates a problem that must be resolved by Amazon Web Services. This might be a /// transient error in which case you can retry your request until it succeeds. Otherwise, /// go to the AWS Service Health Dashboard /// site to see if there are any operational issues with the service. /// /// /// Indicates that the provided ARN value is not valid. /// /// /// Indicates that the NextToken value is not valid. /// /// /// Indicates that limits are exceeded. See Limits /// for more information. /// /// /// The specified resource could not be found. /// /// /// Occurs when a conflict with a previous successful write is detected. For example, /// if a write operation occurs on an object and then an attempt is made to read the object /// using “SERIALIZABLE” consistency, this exception may result. This generally occurs /// when the previous write did not have time to propagate to the host serving the current /// request. A retry (with appropriate backoff logic) is the recommended response to this /// exception. /// /// /// Indicates that your request is malformed in some manner. See the exception message. /// /// REST API Reference for LookupPolicy Operation public virtual LookupPolicyResponse LookupPolicy(LookupPolicyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = LookupPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = LookupPolicyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the LookupPolicy operation. /// /// /// Container for the necessary parameters to execute the LookupPolicy operation on AmazonCloudDirectoryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndLookupPolicy /// operation. /// REST API Reference for LookupPolicy Operation public virtual IAsyncResult BeginLookupPolicy(LookupPolicyRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = LookupPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = LookupPolicyResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the LookupPolicy operation. /// /// /// The IAsyncResult returned by the call to BeginLookupPolicy. /// /// Returns a LookupPolicyResult from CloudDirectory. /// REST API Reference for LookupPolicy Operation public virtual LookupPolicyResponse EndLookupPolicy(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region PublishSchema /// /// Publishes a development schema with a major version and a recommended minor version. /// /// Container for the necessary parameters to execute the PublishSchema service method. /// /// The response from the PublishSchema service method, as returned by CloudDirectory. /// /// Access denied or directory not found. Either you don't have permissions for this directory /// or the directory does not exist. Try calling ListDirectories and check your /// permissions. /// /// /// Indicates a problem that must be resolved by Amazon Web Services. This might be a /// transient error in which case you can retry your request until it succeeds. Otherwise, /// go to the AWS Service Health Dashboard /// site to see if there are any operational issues with the service. /// /// /// Indicates that the provided ARN value is not valid. /// /// /// Indicates that limits are exceeded. See Limits /// for more information. /// /// /// The specified resource could not be found. /// /// /// Occurs when a conflict with a previous successful write is detected. For example, /// if a write operation occurs on an object and then an attempt is made to read the object /// using “SERIALIZABLE” consistency, this exception may result. This generally occurs /// when the previous write did not have time to propagate to the host serving the current /// request. A retry (with appropriate backoff logic) is the recommended response to this /// exception. /// /// /// Indicates that a schema is already published. /// /// /// Indicates that your request is malformed in some manner. See the exception message. /// /// REST API Reference for PublishSchema Operation public virtual PublishSchemaResponse PublishSchema(PublishSchemaRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PublishSchemaRequestMarshaller.Instance; options.ResponseUnmarshaller = PublishSchemaResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the PublishSchema operation. /// /// /// Container for the necessary parameters to execute the PublishSchema operation on AmazonCloudDirectoryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndPublishSchema /// operation. /// REST API Reference for PublishSchema Operation public virtual IAsyncResult BeginPublishSchema(PublishSchemaRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = PublishSchemaRequestMarshaller.Instance; options.ResponseUnmarshaller = PublishSchemaResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the PublishSchema operation. /// /// /// The IAsyncResult returned by the call to BeginPublishSchema. /// /// Returns a PublishSchemaResult from CloudDirectory. /// REST API Reference for PublishSchema Operation public virtual PublishSchemaResponse EndPublishSchema(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region PutSchemaFromJson /// /// Allows a schema to be updated using JSON upload. Only available for development schemas. /// See JSON /// Schema Format for more information. /// /// Container for the necessary parameters to execute the PutSchemaFromJson service method. /// /// The response from the PutSchemaFromJson service method, as returned by CloudDirectory. /// /// Access denied or directory not found. Either you don't have permissions for this directory /// or the directory does not exist. Try calling ListDirectories and check your /// permissions. /// /// /// Indicates a problem that must be resolved by Amazon Web Services. This might be a /// transient error in which case you can retry your request until it succeeds. Otherwise, /// go to the AWS Service Health Dashboard /// site to see if there are any operational issues with the service. /// /// /// Indicates that the provided ARN value is not valid. /// /// /// Occurs when any of the rule parameter keys or values are invalid. /// /// /// Indicates that the provided SchemaDoc value is not valid. /// /// /// Indicates that limits are exceeded. See Limits /// for more information. /// /// /// Occurs when a conflict with a previous successful write is detected. For example, /// if a write operation occurs on an object and then an attempt is made to read the object /// using “SERIALIZABLE” consistency, this exception may result. This generally occurs /// when the previous write did not have time to propagate to the host serving the current /// request. A retry (with appropriate backoff logic) is the recommended response to this /// exception. /// /// /// Indicates that your request is malformed in some manner. See the exception message. /// /// REST API Reference for PutSchemaFromJson Operation public virtual PutSchemaFromJsonResponse PutSchemaFromJson(PutSchemaFromJsonRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutSchemaFromJsonRequestMarshaller.Instance; options.ResponseUnmarshaller = PutSchemaFromJsonResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the PutSchemaFromJson operation. /// /// /// Container for the necessary parameters to execute the PutSchemaFromJson operation on AmazonCloudDirectoryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndPutSchemaFromJson /// operation. /// REST API Reference for PutSchemaFromJson Operation public virtual IAsyncResult BeginPutSchemaFromJson(PutSchemaFromJsonRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = PutSchemaFromJsonRequestMarshaller.Instance; options.ResponseUnmarshaller = PutSchemaFromJsonResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the PutSchemaFromJson operation. /// /// /// The IAsyncResult returned by the call to BeginPutSchemaFromJson. /// /// Returns a PutSchemaFromJsonResult from CloudDirectory. /// REST API Reference for PutSchemaFromJson Operation public virtual PutSchemaFromJsonResponse EndPutSchemaFromJson(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region RemoveFacetFromObject /// /// Removes the specified facet from the specified object. /// /// Container for the necessary parameters to execute the RemoveFacetFromObject service method. /// /// The response from the RemoveFacetFromObject service method, as returned by CloudDirectory. /// /// Access denied or directory not found. Either you don't have permissions for this directory /// or the directory does not exist. Try calling ListDirectories and check your /// permissions. /// /// /// Operations are only permitted on enabled directories. /// /// /// The Facet that you provided was not well formed or could not be validated with /// the schema. /// /// /// Indicates a problem that must be resolved by Amazon Web Services. This might be a /// transient error in which case you can retry your request until it succeeds. Otherwise, /// go to the AWS Service Health Dashboard /// site to see if there are any operational issues with the service. /// /// /// Indicates that the provided ARN value is not valid. /// /// /// Indicates that limits are exceeded. See Limits /// for more information. /// /// /// The specified resource could not be found. /// /// /// Occurs when a conflict with a previous successful write is detected. For example, /// if a write operation occurs on an object and then an attempt is made to read the object /// using “SERIALIZABLE” consistency, this exception may result. This generally occurs /// when the previous write did not have time to propagate to the host serving the current /// request. A retry (with appropriate backoff logic) is the recommended response to this /// exception. /// /// /// Indicates that your request is malformed in some manner. See the exception message. /// /// REST API Reference for RemoveFacetFromObject Operation public virtual RemoveFacetFromObjectResponse RemoveFacetFromObject(RemoveFacetFromObjectRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = RemoveFacetFromObjectRequestMarshaller.Instance; options.ResponseUnmarshaller = RemoveFacetFromObjectResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the RemoveFacetFromObject operation. /// /// /// Container for the necessary parameters to execute the RemoveFacetFromObject operation on AmazonCloudDirectoryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndRemoveFacetFromObject /// operation. /// REST API Reference for RemoveFacetFromObject Operation public virtual IAsyncResult BeginRemoveFacetFromObject(RemoveFacetFromObjectRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = RemoveFacetFromObjectRequestMarshaller.Instance; options.ResponseUnmarshaller = RemoveFacetFromObjectResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the RemoveFacetFromObject operation. /// /// /// The IAsyncResult returned by the call to BeginRemoveFacetFromObject. /// /// Returns a RemoveFacetFromObjectResult from CloudDirectory. /// REST API Reference for RemoveFacetFromObject Operation public virtual RemoveFacetFromObjectResponse EndRemoveFacetFromObject(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region TagResource /// /// An API operation for adding tags to a resource. /// /// Container for the necessary parameters to execute the TagResource service method. /// /// The response from the TagResource service method, as returned by CloudDirectory. /// /// Access denied or directory not found. Either you don't have permissions for this directory /// or the directory does not exist. Try calling ListDirectories and check your /// permissions. /// /// /// Indicates a problem that must be resolved by Amazon Web Services. This might be a /// transient error in which case you can retry your request until it succeeds. Otherwise, /// go to the AWS Service Health Dashboard /// site to see if there are any operational issues with the service. /// /// /// Indicates that the provided ARN value is not valid. /// /// /// Can occur for multiple reasons such as when you tag a resource that doesn’t exist /// or if you specify a higher number of tags for a resource than the allowed limit. Allowed /// limit is 50 tags per resource. /// /// /// Indicates that limits are exceeded. See Limits /// for more information. /// /// /// The specified resource could not be found. /// /// /// Occurs when a conflict with a previous successful write is detected. For example, /// if a write operation occurs on an object and then an attempt is made to read the object /// using “SERIALIZABLE” consistency, this exception may result. This generally occurs /// when the previous write did not have time to propagate to the host serving the current /// request. A retry (with appropriate backoff logic) is the recommended response to this /// exception. /// /// /// Indicates that your request is malformed in some manner. See the exception message. /// /// REST API Reference for TagResource Operation public virtual TagResourceResponse TagResource(TagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = TagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the TagResource operation. /// /// /// Container for the necessary parameters to execute the TagResource operation on AmazonCloudDirectoryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndTagResource /// operation. /// REST API Reference for TagResource Operation public virtual IAsyncResult BeginTagResource(TagResourceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = TagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the TagResource operation. /// /// /// The IAsyncResult returned by the call to BeginTagResource. /// /// Returns a TagResourceResult from CloudDirectory. /// REST API Reference for TagResource Operation public virtual TagResourceResponse EndTagResource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UntagResource /// /// An API operation for removing tags from a resource. /// /// Container for the necessary parameters to execute the UntagResource service method. /// /// The response from the UntagResource service method, as returned by CloudDirectory. /// /// Access denied or directory not found. Either you don't have permissions for this directory /// or the directory does not exist. Try calling ListDirectories and check your /// permissions. /// /// /// Indicates a problem that must be resolved by Amazon Web Services. This might be a /// transient error in which case you can retry your request until it succeeds. Otherwise, /// go to the AWS Service Health Dashboard /// site to see if there are any operational issues with the service. /// /// /// Indicates that the provided ARN value is not valid. /// /// /// Can occur for multiple reasons such as when you tag a resource that doesn’t exist /// or if you specify a higher number of tags for a resource than the allowed limit. Allowed /// limit is 50 tags per resource. /// /// /// Indicates that limits are exceeded. See Limits /// for more information. /// /// /// The specified resource could not be found. /// /// /// Occurs when a conflict with a previous successful write is detected. For example, /// if a write operation occurs on an object and then an attempt is made to read the object /// using “SERIALIZABLE” consistency, this exception may result. This generally occurs /// when the previous write did not have time to propagate to the host serving the current /// request. A retry (with appropriate backoff logic) is the recommended response to this /// exception. /// /// /// Indicates that your request is malformed in some manner. See the exception message. /// /// REST API Reference for UntagResource Operation public virtual UntagResourceResponse UntagResource(UntagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UntagResource operation. /// /// /// Container for the necessary parameters to execute the UntagResource operation on AmazonCloudDirectoryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUntagResource /// operation. /// REST API Reference for UntagResource Operation public virtual IAsyncResult BeginUntagResource(UntagResourceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UntagResource operation. /// /// /// The IAsyncResult returned by the call to BeginUntagResource. /// /// Returns a UntagResourceResult from CloudDirectory. /// REST API Reference for UntagResource Operation public virtual UntagResourceResponse EndUntagResource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateFacet /// /// Does the following: /// ///
  1. /// /// Adds new Attributes, Rules, or ObjectTypes. /// ///
  2. /// /// Updates existing Attributes, Rules, or ObjectTypes. /// ///
  3. /// /// Deletes existing Attributes, Rules, or ObjectTypes. /// ///
///
/// Container for the necessary parameters to execute the UpdateFacet service method. /// /// The response from the UpdateFacet service method, as returned by CloudDirectory. /// /// Access denied or directory not found. Either you don't have permissions for this directory /// or the directory does not exist. Try calling ListDirectories and check your /// permissions. /// /// /// The specified Facet could not be found. /// /// /// The Facet that you provided was not well formed or could not be validated with /// the schema. /// /// /// Indicates a problem that must be resolved by Amazon Web Services. This might be a /// transient error in which case you can retry your request until it succeeds. Otherwise, /// go to the AWS Service Health Dashboard /// site to see if there are any operational issues with the service. /// /// /// Indicates that the provided ARN value is not valid. /// /// /// An attempt to modify a Facet resulted in an invalid schema exception. /// /// /// Occurs when any of the rule parameter keys or values are invalid. /// /// /// Indicates that limits are exceeded. See Limits /// for more information. /// /// /// The specified resource could not be found. /// /// /// Occurs when a conflict with a previous successful write is detected. For example, /// if a write operation occurs on an object and then an attempt is made to read the object /// using “SERIALIZABLE” consistency, this exception may result. This generally occurs /// when the previous write did not have time to propagate to the host serving the current /// request. A retry (with appropriate backoff logic) is the recommended response to this /// exception. /// /// /// Indicates that your request is malformed in some manner. See the exception message. /// /// REST API Reference for UpdateFacet Operation public virtual UpdateFacetResponse UpdateFacet(UpdateFacetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateFacetRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateFacetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateFacet operation. /// /// /// Container for the necessary parameters to execute the UpdateFacet operation on AmazonCloudDirectoryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateFacet /// operation. /// REST API Reference for UpdateFacet Operation public virtual IAsyncResult BeginUpdateFacet(UpdateFacetRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateFacetRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateFacetResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateFacet operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateFacet. /// /// Returns a UpdateFacetResult from CloudDirectory. /// REST API Reference for UpdateFacet Operation public virtual UpdateFacetResponse EndUpdateFacet(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateLinkAttributes /// /// Updates a given typed link’s attributes. Attributes to be updated must not contribute /// to the typed link’s identity, as defined by its IdentityAttributeOrder. /// /// Container for the necessary parameters to execute the UpdateLinkAttributes service method. /// /// The response from the UpdateLinkAttributes service method, as returned by CloudDirectory. /// /// Access denied or directory not found. Either you don't have permissions for this directory /// or the directory does not exist. Try calling ListDirectories and check your /// permissions. /// /// /// Operations are only permitted on enabled directories. /// /// /// The Facet that you provided was not well formed or could not be validated with /// the schema. /// /// /// Indicates a problem that must be resolved by Amazon Web Services. This might be a /// transient error in which case you can retry your request until it succeeds. Otherwise, /// go to the AWS Service Health Dashboard /// site to see if there are any operational issues with the service. /// /// /// Indicates that the provided ARN value is not valid. /// /// /// Indicates that limits are exceeded. See Limits /// for more information. /// /// /// The specified resource could not be found. /// /// /// Occurs when a conflict with a previous successful write is detected. For example, /// if a write operation occurs on an object and then an attempt is made to read the object /// using “SERIALIZABLE” consistency, this exception may result. This generally occurs /// when the previous write did not have time to propagate to the host serving the current /// request. A retry (with appropriate backoff logic) is the recommended response to this /// exception. /// /// /// Indicates that your request is malformed in some manner. See the exception message. /// /// REST API Reference for UpdateLinkAttributes Operation public virtual UpdateLinkAttributesResponse UpdateLinkAttributes(UpdateLinkAttributesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateLinkAttributesRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateLinkAttributesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateLinkAttributes operation. /// /// /// Container for the necessary parameters to execute the UpdateLinkAttributes operation on AmazonCloudDirectoryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateLinkAttributes /// operation. /// REST API Reference for UpdateLinkAttributes Operation public virtual IAsyncResult BeginUpdateLinkAttributes(UpdateLinkAttributesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateLinkAttributesRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateLinkAttributesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateLinkAttributes operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateLinkAttributes. /// /// Returns a UpdateLinkAttributesResult from CloudDirectory. /// REST API Reference for UpdateLinkAttributes Operation public virtual UpdateLinkAttributesResponse EndUpdateLinkAttributes(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateObjectAttributes /// /// Updates a given object's attributes. /// /// Container for the necessary parameters to execute the UpdateObjectAttributes service method. /// /// The response from the UpdateObjectAttributes service method, as returned by CloudDirectory. /// /// Access denied or directory not found. Either you don't have permissions for this directory /// or the directory does not exist. Try calling ListDirectories and check your /// permissions. /// /// /// Operations are only permitted on enabled directories. /// /// /// The Facet that you provided was not well formed or could not be validated with /// the schema. /// /// /// Indicates a problem that must be resolved by Amazon Web Services. This might be a /// transient error in which case you can retry your request until it succeeds. Otherwise, /// go to the AWS Service Health Dashboard /// site to see if there are any operational issues with the service. /// /// /// Indicates that the provided ARN value is not valid. /// /// /// Indicates that limits are exceeded. See Limits /// for more information. /// /// /// Indicates that a link could not be created due to a naming conflict. Choose a different /// name and then try again. /// /// /// The specified resource could not be found. /// /// /// Occurs when a conflict with a previous successful write is detected. For example, /// if a write operation occurs on an object and then an attempt is made to read the object /// using “SERIALIZABLE” consistency, this exception may result. This generally occurs /// when the previous write did not have time to propagate to the host serving the current /// request. A retry (with appropriate backoff logic) is the recommended response to this /// exception. /// /// /// Indicates that your request is malformed in some manner. See the exception message. /// /// REST API Reference for UpdateObjectAttributes Operation public virtual UpdateObjectAttributesResponse UpdateObjectAttributes(UpdateObjectAttributesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateObjectAttributesRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateObjectAttributesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateObjectAttributes operation. /// /// /// Container for the necessary parameters to execute the UpdateObjectAttributes operation on AmazonCloudDirectoryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateObjectAttributes /// operation. /// REST API Reference for UpdateObjectAttributes Operation public virtual IAsyncResult BeginUpdateObjectAttributes(UpdateObjectAttributesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateObjectAttributesRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateObjectAttributesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateObjectAttributes operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateObjectAttributes. /// /// Returns a UpdateObjectAttributesResult from CloudDirectory. /// REST API Reference for UpdateObjectAttributes Operation public virtual UpdateObjectAttributesResponse EndUpdateObjectAttributes(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateSchema /// /// Updates the schema name with a new name. Only development schema names can be updated. /// /// Container for the necessary parameters to execute the UpdateSchema service method. /// /// The response from the UpdateSchema service method, as returned by CloudDirectory. /// /// Access denied or directory not found. Either you don't have permissions for this directory /// or the directory does not exist. Try calling ListDirectories and check your /// permissions. /// /// /// Indicates a problem that must be resolved by Amazon Web Services. This might be a /// transient error in which case you can retry your request until it succeeds. Otherwise, /// go to the AWS Service Health Dashboard /// site to see if there are any operational issues with the service. /// /// /// Indicates that the provided ARN value is not valid. /// /// /// Indicates that limits are exceeded. See Limits /// for more information. /// /// /// The specified resource could not be found. /// /// /// Occurs when a conflict with a previous successful write is detected. For example, /// if a write operation occurs on an object and then an attempt is made to read the object /// using “SERIALIZABLE” consistency, this exception may result. This generally occurs /// when the previous write did not have time to propagate to the host serving the current /// request. A retry (with appropriate backoff logic) is the recommended response to this /// exception. /// /// /// Indicates that your request is malformed in some manner. See the exception message. /// /// REST API Reference for UpdateSchema Operation public virtual UpdateSchemaResponse UpdateSchema(UpdateSchemaRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateSchemaRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateSchemaResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateSchema operation. /// /// /// Container for the necessary parameters to execute the UpdateSchema operation on AmazonCloudDirectoryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateSchema /// operation. /// REST API Reference for UpdateSchema Operation public virtual IAsyncResult BeginUpdateSchema(UpdateSchemaRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateSchemaRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateSchemaResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateSchema operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateSchema. /// /// Returns a UpdateSchemaResult from CloudDirectory. /// REST API Reference for UpdateSchema Operation public virtual UpdateSchemaResponse EndUpdateSchema(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateTypedLinkFacet /// /// Updates a TypedLinkFacet. For more information, see Typed /// Links. /// /// Container for the necessary parameters to execute the UpdateTypedLinkFacet service method. /// /// The response from the UpdateTypedLinkFacet service method, as returned by CloudDirectory. /// /// Access denied or directory not found. Either you don't have permissions for this directory /// or the directory does not exist. Try calling ListDirectories and check your /// permissions. /// /// /// The specified Facet could not be found. /// /// /// The Facet that you provided was not well formed or could not be validated with /// the schema. /// /// /// Indicates a problem that must be resolved by Amazon Web Services. This might be a /// transient error in which case you can retry your request until it succeeds. Otherwise, /// go to the AWS Service Health Dashboard /// site to see if there are any operational issues with the service. /// /// /// Indicates that the provided ARN value is not valid. /// /// /// An attempt to modify a Facet resulted in an invalid schema exception. /// /// /// Occurs when any of the rule parameter keys or values are invalid. /// /// /// Indicates that limits are exceeded. See Limits /// for more information. /// /// /// The specified resource could not be found. /// /// /// Occurs when a conflict with a previous successful write is detected. For example, /// if a write operation occurs on an object and then an attempt is made to read the object /// using “SERIALIZABLE” consistency, this exception may result. This generally occurs /// when the previous write did not have time to propagate to the host serving the current /// request. A retry (with appropriate backoff logic) is the recommended response to this /// exception. /// /// /// Indicates that your request is malformed in some manner. See the exception message. /// /// REST API Reference for UpdateTypedLinkFacet Operation public virtual UpdateTypedLinkFacetResponse UpdateTypedLinkFacet(UpdateTypedLinkFacetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateTypedLinkFacetRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateTypedLinkFacetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateTypedLinkFacet operation. /// /// /// Container for the necessary parameters to execute the UpdateTypedLinkFacet operation on AmazonCloudDirectoryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateTypedLinkFacet /// operation. /// REST API Reference for UpdateTypedLinkFacet Operation public virtual IAsyncResult BeginUpdateTypedLinkFacet(UpdateTypedLinkFacetRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateTypedLinkFacetRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateTypedLinkFacetResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateTypedLinkFacet operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateTypedLinkFacet. /// /// Returns a UpdateTypedLinkFacetResult from CloudDirectory. /// REST API Reference for UpdateTypedLinkFacet Operation public virtual UpdateTypedLinkFacetResponse EndUpdateTypedLinkFacet(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpgradeAppliedSchema /// /// Upgrades a single directory in-place using the PublishedSchemaArn with /// schema updates found in MinorVersion. Backwards-compatible minor version /// upgrades are instantaneously available for readers on all objects in the directory. /// Note: This is a synchronous API call and upgrades only one schema on a given directory /// per call. To upgrade multiple directories from one schema, you would need to call /// this API on each directory. /// /// Container for the necessary parameters to execute the UpgradeAppliedSchema service method. /// /// The response from the UpgradeAppliedSchema service method, as returned by CloudDirectory. /// /// Access denied or directory not found. Either you don't have permissions for this directory /// or the directory does not exist. Try calling ListDirectories and check your /// permissions. /// /// /// Indicates a failure occurred while performing a check for backward compatibility between /// the specified schema and the schema that is currently applied to the directory. /// /// /// Indicates a problem that must be resolved by Amazon Web Services. This might be a /// transient error in which case you can retry your request until it succeeds. Otherwise, /// go to the AWS Service Health Dashboard /// site to see if there are any operational issues with the service. /// /// /// Indicates that the provided ARN value is not valid. /// /// /// Indicates that an attempt to make an attachment was invalid. For example, attaching /// two nodes with a link type that is not applicable to the nodes or attempting to apply /// a schema to a directory a second time. /// /// /// The specified resource could not be found. /// /// /// Occurs when a conflict with a previous successful write is detected. For example, /// if a write operation occurs on an object and then an attempt is made to read the object /// using “SERIALIZABLE” consistency, this exception may result. This generally occurs /// when the previous write did not have time to propagate to the host serving the current /// request. A retry (with appropriate backoff logic) is the recommended response to this /// exception. /// /// /// Indicates that a schema could not be created due to a naming conflict. Please select /// a different name and then try again. /// /// /// Indicates that your request is malformed in some manner. See the exception message. /// /// REST API Reference for UpgradeAppliedSchema Operation public virtual UpgradeAppliedSchemaResponse UpgradeAppliedSchema(UpgradeAppliedSchemaRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpgradeAppliedSchemaRequestMarshaller.Instance; options.ResponseUnmarshaller = UpgradeAppliedSchemaResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpgradeAppliedSchema operation. /// /// /// Container for the necessary parameters to execute the UpgradeAppliedSchema operation on AmazonCloudDirectoryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpgradeAppliedSchema /// operation. /// REST API Reference for UpgradeAppliedSchema Operation public virtual IAsyncResult BeginUpgradeAppliedSchema(UpgradeAppliedSchemaRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpgradeAppliedSchemaRequestMarshaller.Instance; options.ResponseUnmarshaller = UpgradeAppliedSchemaResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpgradeAppliedSchema operation. /// /// /// The IAsyncResult returned by the call to BeginUpgradeAppliedSchema. /// /// Returns a UpgradeAppliedSchemaResult from CloudDirectory. /// REST API Reference for UpgradeAppliedSchema Operation public virtual UpgradeAppliedSchemaResponse EndUpgradeAppliedSchema(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpgradePublishedSchema /// /// Upgrades a published schema under a new minor version revision using the current contents /// of DevelopmentSchemaArn. /// /// Container for the necessary parameters to execute the UpgradePublishedSchema service method. /// /// The response from the UpgradePublishedSchema service method, as returned by CloudDirectory. /// /// Access denied or directory not found. Either you don't have permissions for this directory /// or the directory does not exist. Try calling ListDirectories and check your /// permissions. /// /// /// Indicates a failure occurred while performing a check for backward compatibility between /// the specified schema and the schema that is currently applied to the directory. /// /// /// Indicates a problem that must be resolved by Amazon Web Services. This might be a /// transient error in which case you can retry your request until it succeeds. Otherwise, /// go to the AWS Service Health Dashboard /// site to see if there are any operational issues with the service. /// /// /// Indicates that the provided ARN value is not valid. /// /// /// Indicates that an attempt to make an attachment was invalid. For example, attaching /// two nodes with a link type that is not applicable to the nodes or attempting to apply /// a schema to a directory a second time. /// /// /// Indicates that limits are exceeded. See Limits /// for more information. /// /// /// The specified resource could not be found. /// /// /// Occurs when a conflict with a previous successful write is detected. For example, /// if a write operation occurs on an object and then an attempt is made to read the object /// using “SERIALIZABLE” consistency, this exception may result. This generally occurs /// when the previous write did not have time to propagate to the host serving the current /// request. A retry (with appropriate backoff logic) is the recommended response to this /// exception. /// /// /// Indicates that your request is malformed in some manner. See the exception message. /// /// REST API Reference for UpgradePublishedSchema Operation public virtual UpgradePublishedSchemaResponse UpgradePublishedSchema(UpgradePublishedSchemaRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpgradePublishedSchemaRequestMarshaller.Instance; options.ResponseUnmarshaller = UpgradePublishedSchemaResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpgradePublishedSchema operation. /// /// /// Container for the necessary parameters to execute the UpgradePublishedSchema operation on AmazonCloudDirectoryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpgradePublishedSchema /// operation. /// REST API Reference for UpgradePublishedSchema Operation public virtual IAsyncResult BeginUpgradePublishedSchema(UpgradePublishedSchemaRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpgradePublishedSchemaRequestMarshaller.Instance; options.ResponseUnmarshaller = UpgradePublishedSchemaResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpgradePublishedSchema operation. /// /// /// The IAsyncResult returned by the call to BeginUpgradePublishedSchema. /// /// Returns a UpgradePublishedSchemaResult from CloudDirectory. /// REST API Reference for UpgradePublishedSchema Operation public virtual UpgradePublishedSchemaResponse EndUpgradePublishedSchema(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion } }