/*
* 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.Runtime.ExceptionServices;
using System.Threading;
using System.Threading.Tasks;
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();
#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
#if 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 Overrides
///
/// Creates the signer for the service.
///
protected override AbstractAWSSigner CreateSigner()
{
return new AWS4Signer();
}
///
/// Customizes the runtime pipeline.
///
/// Runtime pipeline for the current client.
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
internal virtual AddFacetToObjectResponse AddFacetToObject(AddFacetToObjectRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AddFacetToObjectRequestMarshaller.Instance;
options.ResponseUnmarshaller = AddFacetToObjectResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task AddFacetToObjectAsync(AddFacetToObjectRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = AddFacetToObjectRequestMarshaller.Instance;
options.ResponseUnmarshaller = AddFacetToObjectResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ApplySchema
internal virtual ApplySchemaResponse ApplySchema(ApplySchemaRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ApplySchemaRequestMarshaller.Instance;
options.ResponseUnmarshaller = ApplySchemaResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task ApplySchemaAsync(ApplySchemaRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ApplySchemaRequestMarshaller.Instance;
options.ResponseUnmarshaller = ApplySchemaResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region AttachObject
internal virtual AttachObjectResponse AttachObject(AttachObjectRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AttachObjectRequestMarshaller.Instance;
options.ResponseUnmarshaller = AttachObjectResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Attaches an existing object to another object. An object can be accessed in two ways:
///
/// -
///
/// Using the path
///
///
-
///
/// Using
ObjectIdentifier
///
///
///
/// Container for the necessary parameters to execute the AttachObject service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task AttachObjectAsync(AttachObjectRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = AttachObjectRequestMarshaller.Instance;
options.ResponseUnmarshaller = AttachObjectResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region AttachPolicy
internal virtual AttachPolicyResponse AttachPolicy(AttachPolicyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AttachPolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = AttachPolicyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task AttachPolicyAsync(AttachPolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = AttachPolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = AttachPolicyResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region AttachToIndex
internal virtual AttachToIndexResponse AttachToIndex(AttachToIndexRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AttachToIndexRequestMarshaller.Instance;
options.ResponseUnmarshaller = AttachToIndexResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Attaches the specified object to the specified index.
///
/// Container for the necessary parameters to execute the AttachToIndex service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task AttachToIndexAsync(AttachToIndexRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = AttachToIndexRequestMarshaller.Instance;
options.ResponseUnmarshaller = AttachToIndexResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region AttachTypedLink
internal virtual AttachTypedLinkResponse AttachTypedLink(AttachTypedLinkRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AttachTypedLinkRequestMarshaller.Instance;
options.ResponseUnmarshaller = AttachTypedLinkResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task AttachTypedLinkAsync(AttachTypedLinkRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = AttachTypedLinkRequestMarshaller.Instance;
options.ResponseUnmarshaller = AttachTypedLinkResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region BatchRead
internal virtual BatchReadResponse BatchRead(BatchReadRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchReadRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchReadResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Performs all the read operations in a batch.
///
/// Container for the necessary parameters to execute the BatchRead service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task BatchReadAsync(BatchReadRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchReadRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchReadResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region BatchWrite
internal virtual BatchWriteResponse BatchWrite(BatchWriteRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchWriteRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchWriteResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task BatchWriteAsync(BatchWriteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchWriteRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchWriteResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateDirectory
internal virtual CreateDirectoryResponse CreateDirectory(CreateDirectoryRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDirectoryRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDirectoryResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task CreateDirectoryAsync(CreateDirectoryRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDirectoryRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDirectoryResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateFacet
internal virtual CreateFacetResponse CreateFacet(CreateFacetRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateFacetRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateFacetResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task CreateFacetAsync(CreateFacetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateFacetRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateFacetResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateIndex
internal virtual CreateIndexResponse CreateIndex(CreateIndexRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateIndexRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateIndexResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates an index object. See Indexing
/// and search for more information.
///
/// Container for the necessary parameters to execute the CreateIndex service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task CreateIndexAsync(CreateIndexRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateIndexRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateIndexResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateObject
internal virtual CreateObjectResponse CreateObject(CreateObjectRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateObjectRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateObjectResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task CreateObjectAsync(CreateObjectRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateObjectRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateObjectResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateSchema
internal virtual CreateSchemaResponse CreateSchema(CreateSchemaRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateSchemaRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateSchemaResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task CreateSchemaAsync(CreateSchemaRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateSchemaRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateSchemaResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateTypedLinkFacet
internal virtual CreateTypedLinkFacetResponse CreateTypedLinkFacet(CreateTypedLinkFacetRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateTypedLinkFacetRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateTypedLinkFacetResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a TypedLinkFacet. For more information, see Typed
/// Links.
///
/// Container for the necessary parameters to execute the CreateTypedLinkFacet service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task CreateTypedLinkFacetAsync(CreateTypedLinkFacetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateTypedLinkFacetRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateTypedLinkFacetResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteDirectory
internal virtual DeleteDirectoryResponse DeleteDirectory(DeleteDirectoryRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDirectoryRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDirectoryResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task DeleteDirectoryAsync(DeleteDirectoryRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDirectoryRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDirectoryResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteFacet
internal virtual DeleteFacetResponse DeleteFacet(DeleteFacetRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteFacetRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteFacetResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task DeleteFacetAsync(DeleteFacetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteFacetRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteFacetResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteObject
internal virtual DeleteObjectResponse DeleteObject(DeleteObjectRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteObjectRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteObjectResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task DeleteObjectAsync(DeleteObjectRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteObjectRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteObjectResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteSchema
internal virtual DeleteSchemaResponse DeleteSchema(DeleteSchemaRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteSchemaRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteSchemaResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task DeleteSchemaAsync(DeleteSchemaRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteSchemaRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteSchemaResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteTypedLinkFacet
internal virtual DeleteTypedLinkFacetResponse DeleteTypedLinkFacet(DeleteTypedLinkFacetRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteTypedLinkFacetRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteTypedLinkFacetResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes a TypedLinkFacet. For more information, see Typed
/// Links.
///
/// Container for the necessary parameters to execute the DeleteTypedLinkFacet service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task DeleteTypedLinkFacetAsync(DeleteTypedLinkFacetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteTypedLinkFacetRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteTypedLinkFacetResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DetachFromIndex
internal virtual DetachFromIndexResponse DetachFromIndex(DetachFromIndexRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DetachFromIndexRequestMarshaller.Instance;
options.ResponseUnmarshaller = DetachFromIndexResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Detaches the specified object from the specified index.
///
/// Container for the necessary parameters to execute the DetachFromIndex service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task DetachFromIndexAsync(DetachFromIndexRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DetachFromIndexRequestMarshaller.Instance;
options.ResponseUnmarshaller = DetachFromIndexResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DetachObject
internal virtual DetachObjectResponse DetachObject(DetachObjectRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DetachObjectRequestMarshaller.Instance;
options.ResponseUnmarshaller = DetachObjectResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task DetachObjectAsync(DetachObjectRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DetachObjectRequestMarshaller.Instance;
options.ResponseUnmarshaller = DetachObjectResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DetachPolicy
internal virtual DetachPolicyResponse DetachPolicy(DetachPolicyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DetachPolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = DetachPolicyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Detaches a policy from an object.
///
/// Container for the necessary parameters to execute the DetachPolicy service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task DetachPolicyAsync(DetachPolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DetachPolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = DetachPolicyResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DetachTypedLink
internal virtual DetachTypedLinkResponse DetachTypedLink(DetachTypedLinkRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DetachTypedLinkRequestMarshaller.Instance;
options.ResponseUnmarshaller = DetachTypedLinkResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task DetachTypedLinkAsync(DetachTypedLinkRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DetachTypedLinkRequestMarshaller.Instance;
options.ResponseUnmarshaller = DetachTypedLinkResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DisableDirectory
internal virtual DisableDirectoryResponse DisableDirectory(DisableDirectoryRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DisableDirectoryRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisableDirectoryResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task DisableDirectoryAsync(DisableDirectoryRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DisableDirectoryRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisableDirectoryResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region EnableDirectory
internal virtual EnableDirectoryResponse EnableDirectory(EnableDirectoryRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = EnableDirectoryRequestMarshaller.Instance;
options.ResponseUnmarshaller = EnableDirectoryResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task EnableDirectoryAsync(EnableDirectoryRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = EnableDirectoryRequestMarshaller.Instance;
options.ResponseUnmarshaller = EnableDirectoryResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetAppliedSchemaVersion
internal virtual GetAppliedSchemaVersionResponse GetAppliedSchemaVersion(GetAppliedSchemaVersionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAppliedSchemaVersionRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAppliedSchemaVersionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns current applied schema version ARN, including the minor version in use.
///
/// Container for the necessary parameters to execute the GetAppliedSchemaVersion service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task GetAppliedSchemaVersionAsync(GetAppliedSchemaVersionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAppliedSchemaVersionRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAppliedSchemaVersionResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetDirectory
internal virtual GetDirectoryResponse GetDirectory(GetDirectoryRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDirectoryRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDirectoryResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieves metadata about a directory.
///
/// Container for the necessary parameters to execute the GetDirectory service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task GetDirectoryAsync(GetDirectoryRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDirectoryRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDirectoryResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetFacet
internal virtual GetFacetResponse GetFacet(GetFacetRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetFacetRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetFacetResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task GetFacetAsync(GetFacetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetFacetRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetFacetResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetLinkAttributes
internal virtual GetLinkAttributesResponse GetLinkAttributes(GetLinkAttributesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetLinkAttributesRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetLinkAttributesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieves attributes that are associated with a typed link.
///
/// Container for the necessary parameters to execute the GetLinkAttributes service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task GetLinkAttributesAsync(GetLinkAttributesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetLinkAttributesRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetLinkAttributesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetObjectAttributes
internal virtual GetObjectAttributesResponse GetObjectAttributes(GetObjectAttributesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetObjectAttributesRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetObjectAttributesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieves attributes within a facet that are associated with an object.
///
/// Container for the necessary parameters to execute the GetObjectAttributes service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task GetObjectAttributesAsync(GetObjectAttributesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetObjectAttributesRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetObjectAttributesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetObjectInformation
internal virtual GetObjectInformationResponse GetObjectInformation(GetObjectInformationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetObjectInformationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetObjectInformationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieves metadata about an object.
///
/// Container for the necessary parameters to execute the GetObjectInformation service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task GetObjectInformationAsync(GetObjectInformationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetObjectInformationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetObjectInformationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetSchemaAsJson
internal virtual GetSchemaAsJsonResponse GetSchemaAsJson(GetSchemaAsJsonRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetSchemaAsJsonRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetSchemaAsJsonResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task GetSchemaAsJsonAsync(GetSchemaAsJsonRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetSchemaAsJsonRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetSchemaAsJsonResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetTypedLinkFacetInformation
internal virtual GetTypedLinkFacetInformationResponse GetTypedLinkFacetInformation(GetTypedLinkFacetInformationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetTypedLinkFacetInformationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetTypedLinkFacetInformationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task GetTypedLinkFacetInformationAsync(GetTypedLinkFacetInformationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetTypedLinkFacetInformationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetTypedLinkFacetInformationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListAppliedSchemaArns
internal virtual ListAppliedSchemaArnsResponse ListAppliedSchemaArns(ListAppliedSchemaArnsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAppliedSchemaArnsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAppliedSchemaArnsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task ListAppliedSchemaArnsAsync(ListAppliedSchemaArnsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAppliedSchemaArnsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAppliedSchemaArnsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListAttachedIndices
internal virtual ListAttachedIndicesResponse ListAttachedIndices(ListAttachedIndicesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAttachedIndicesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAttachedIndicesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists indices attached to the specified object.
///
/// Container for the necessary parameters to execute the ListAttachedIndices service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task ListAttachedIndicesAsync(ListAttachedIndicesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAttachedIndicesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAttachedIndicesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListDevelopmentSchemaArns
internal virtual ListDevelopmentSchemaArnsResponse ListDevelopmentSchemaArns(ListDevelopmentSchemaArnsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDevelopmentSchemaArnsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDevelopmentSchemaArnsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieves each Amazon Resource Name (ARN) of schemas in the development state.
///
/// Container for the necessary parameters to execute the ListDevelopmentSchemaArns service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task ListDevelopmentSchemaArnsAsync(ListDevelopmentSchemaArnsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDevelopmentSchemaArnsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDevelopmentSchemaArnsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListDirectories
internal virtual ListDirectoriesResponse ListDirectories(ListDirectoriesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDirectoriesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDirectoriesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists directories created within an account.
///
/// Container for the necessary parameters to execute the ListDirectories service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task ListDirectoriesAsync(ListDirectoriesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDirectoriesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDirectoriesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListFacetAttributes
internal virtual ListFacetAttributesResponse ListFacetAttributes(ListFacetAttributesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListFacetAttributesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListFacetAttributesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieves attributes attached to the facet.
///
/// Container for the necessary parameters to execute the ListFacetAttributes service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task ListFacetAttributesAsync(ListFacetAttributesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListFacetAttributesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListFacetAttributesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListFacetNames
internal virtual ListFacetNamesResponse ListFacetNames(ListFacetNamesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListFacetNamesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListFacetNamesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieves the names of facets that exist in a schema.
///
/// Container for the necessary parameters to execute the ListFacetNames service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task ListFacetNamesAsync(ListFacetNamesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListFacetNamesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListFacetNamesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListIncomingTypedLinks
internal virtual ListIncomingTypedLinksResponse ListIncomingTypedLinks(ListIncomingTypedLinksRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListIncomingTypedLinksRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListIncomingTypedLinksResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task ListIncomingTypedLinksAsync(ListIncomingTypedLinksRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListIncomingTypedLinksRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListIncomingTypedLinksResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListIndex
internal virtual ListIndexResponse ListIndex(ListIndexRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListIndexRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListIndexResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists objects attached to the specified index.
///
/// Container for the necessary parameters to execute the ListIndex service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task ListIndexAsync(ListIndexRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListIndexRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListIndexResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListManagedSchemaArns
internal virtual ListManagedSchemaArnsResponse ListManagedSchemaArns(ListManagedSchemaArnsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListManagedSchemaArnsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListManagedSchemaArnsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task ListManagedSchemaArnsAsync(ListManagedSchemaArnsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListManagedSchemaArnsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListManagedSchemaArnsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListObjectAttributes
internal virtual ListObjectAttributesResponse ListObjectAttributes(ListObjectAttributesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListObjectAttributesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListObjectAttributesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists all attributes that are associated with an object.
///
/// Container for the necessary parameters to execute the ListObjectAttributes service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task ListObjectAttributesAsync(ListObjectAttributesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListObjectAttributesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListObjectAttributesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListObjectChildren
internal virtual ListObjectChildrenResponse ListObjectChildren(ListObjectChildrenRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListObjectChildrenRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListObjectChildrenResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task ListObjectChildrenAsync(ListObjectChildrenRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListObjectChildrenRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListObjectChildrenResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListObjectParentPaths
internal virtual ListObjectParentPathsResponse ListObjectParentPaths(ListObjectParentPathsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListObjectParentPathsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListObjectParentPathsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task ListObjectParentPathsAsync(ListObjectParentPathsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListObjectParentPathsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListObjectParentPathsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListObjectParents
internal virtual ListObjectParentsResponse ListObjectParents(ListObjectParentsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListObjectParentsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListObjectParentsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists parent objects that are associated with a given object in pagination fashion.
///
/// Container for the necessary parameters to execute the ListObjectParents service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task ListObjectParentsAsync(ListObjectParentsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListObjectParentsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListObjectParentsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListObjectPolicies
internal virtual ListObjectPoliciesResponse ListObjectPolicies(ListObjectPoliciesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListObjectPoliciesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListObjectPoliciesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns policies attached to an object in pagination fashion.
///
/// Container for the necessary parameters to execute the ListObjectPolicies service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task ListObjectPoliciesAsync(ListObjectPoliciesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListObjectPoliciesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListObjectPoliciesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListOutgoingTypedLinks
internal virtual ListOutgoingTypedLinksResponse ListOutgoingTypedLinks(ListOutgoingTypedLinksRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListOutgoingTypedLinksRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListOutgoingTypedLinksResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task ListOutgoingTypedLinksAsync(ListOutgoingTypedLinksRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListOutgoingTypedLinksRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListOutgoingTypedLinksResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListPolicyAttachments
internal virtual ListPolicyAttachmentsResponse ListPolicyAttachments(ListPolicyAttachmentsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListPolicyAttachmentsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListPolicyAttachmentsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns all of the ObjectIdentifiers
to which a given policy is attached.
///
/// Container for the necessary parameters to execute the ListPolicyAttachments service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task ListPolicyAttachmentsAsync(ListPolicyAttachmentsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListPolicyAttachmentsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListPolicyAttachmentsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListPublishedSchemaArns
internal virtual ListPublishedSchemaArnsResponse ListPublishedSchemaArns(ListPublishedSchemaArnsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListPublishedSchemaArnsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListPublishedSchemaArnsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task ListPublishedSchemaArnsAsync(ListPublishedSchemaArnsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListPublishedSchemaArnsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListPublishedSchemaArnsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListTagsForResource
internal virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListTypedLinkFacetAttributes
internal virtual ListTypedLinkFacetAttributesResponse ListTypedLinkFacetAttributes(ListTypedLinkFacetAttributesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTypedLinkFacetAttributesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTypedLinkFacetAttributesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task ListTypedLinkFacetAttributesAsync(ListTypedLinkFacetAttributesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTypedLinkFacetAttributesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTypedLinkFacetAttributesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListTypedLinkFacetNames
internal virtual ListTypedLinkFacetNamesResponse ListTypedLinkFacetNames(ListTypedLinkFacetNamesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTypedLinkFacetNamesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTypedLinkFacetNamesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task ListTypedLinkFacetNamesAsync(ListTypedLinkFacetNamesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTypedLinkFacetNamesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTypedLinkFacetNamesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region LookupPolicy
internal virtual LookupPolicyResponse LookupPolicy(LookupPolicyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = LookupPolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = LookupPolicyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task LookupPolicyAsync(LookupPolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = LookupPolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = LookupPolicyResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region PublishSchema
internal virtual PublishSchemaResponse PublishSchema(PublishSchemaRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = PublishSchemaRequestMarshaller.Instance;
options.ResponseUnmarshaller = PublishSchemaResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Publishes a development schema with a major version and a recommended minor version.
///
/// Container for the necessary parameters to execute the PublishSchema service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task PublishSchemaAsync(PublishSchemaRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = PublishSchemaRequestMarshaller.Instance;
options.ResponseUnmarshaller = PublishSchemaResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region PutSchemaFromJson
internal virtual PutSchemaFromJsonResponse PutSchemaFromJson(PutSchemaFromJsonRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = PutSchemaFromJsonRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutSchemaFromJsonResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task PutSchemaFromJsonAsync(PutSchemaFromJsonRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = PutSchemaFromJsonRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutSchemaFromJsonResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region RemoveFacetFromObject
internal virtual RemoveFacetFromObjectResponse RemoveFacetFromObject(RemoveFacetFromObjectRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = RemoveFacetFromObjectRequestMarshaller.Instance;
options.ResponseUnmarshaller = RemoveFacetFromObjectResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Removes the specified facet from the specified object.
///
/// Container for the necessary parameters to execute the RemoveFacetFromObject service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task RemoveFacetFromObjectAsync(RemoveFacetFromObjectRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = RemoveFacetFromObjectRequestMarshaller.Instance;
options.ResponseUnmarshaller = RemoveFacetFromObjectResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region TagResource
internal virtual TagResourceResponse TagResource(TagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// An API operation for adding tags to a resource.
///
/// Container for the necessary parameters to execute the TagResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UntagResource
internal virtual UntagResourceResponse UntagResource(UntagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// An API operation for removing tags from a resource.
///
/// Container for the necessary parameters to execute the UntagResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateFacet
internal virtual UpdateFacetResponse UpdateFacet(UpdateFacetRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateFacetRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateFacetResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Does the following:
///
/// -
///
/// Adds new
Attributes
, Rules
, or ObjectTypes
.
///
/// -
///
/// Updates existing
Attributes
, Rules
, or ObjectTypes
.
///
/// -
///
/// Deletes existing
Attributes
, Rules
, or ObjectTypes
.
///
///
///
/// Container for the necessary parameters to execute the UpdateFacet service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task UpdateFacetAsync(UpdateFacetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateFacetRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateFacetResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateLinkAttributes
internal virtual UpdateLinkAttributesResponse UpdateLinkAttributes(UpdateLinkAttributesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateLinkAttributesRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateLinkAttributesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task UpdateLinkAttributesAsync(UpdateLinkAttributesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateLinkAttributesRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateLinkAttributesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateObjectAttributes
internal virtual UpdateObjectAttributesResponse UpdateObjectAttributes(UpdateObjectAttributesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateObjectAttributesRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateObjectAttributesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates a given object's attributes.
///
/// Container for the necessary parameters to execute the UpdateObjectAttributes service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task UpdateObjectAttributesAsync(UpdateObjectAttributesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateObjectAttributesRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateObjectAttributesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateSchema
internal virtual UpdateSchemaResponse UpdateSchema(UpdateSchemaRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateSchemaRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateSchemaResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task UpdateSchemaAsync(UpdateSchemaRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateSchemaRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateSchemaResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateTypedLinkFacet
internal virtual UpdateTypedLinkFacetResponse UpdateTypedLinkFacet(UpdateTypedLinkFacetRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateTypedLinkFacetRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateTypedLinkFacetResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates a TypedLinkFacet. For more information, see Typed
/// Links.
///
/// Container for the necessary parameters to execute the UpdateTypedLinkFacet service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task UpdateTypedLinkFacetAsync(UpdateTypedLinkFacetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateTypedLinkFacetRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateTypedLinkFacetResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpgradeAppliedSchema
internal virtual UpgradeAppliedSchemaResponse UpgradeAppliedSchema(UpgradeAppliedSchemaRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpgradeAppliedSchemaRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpgradeAppliedSchemaResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task UpgradeAppliedSchemaAsync(UpgradeAppliedSchemaRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpgradeAppliedSchemaRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpgradeAppliedSchemaResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpgradePublishedSchema
internal virtual UpgradePublishedSchemaResponse UpgradePublishedSchema(UpgradePublishedSchemaRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpgradePublishedSchemaRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpgradePublishedSchemaResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task UpgradePublishedSchemaAsync(UpgradePublishedSchemaRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpgradePublishedSchemaRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpgradePublishedSchemaResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
}
}