AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

CloudDirectory

import "github.com/aws/aws-sdk-go/service/clouddirectory"

type CloudDirectory struct { *client.Client }

CloudDirectory provides the API operation methods for making requests to Amazon CloudDirectory. See this package's package overview docs for details on the service.

CloudDirectory methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

Client

Type: *client.Client

Method

AddFacetToObject

func (c *CloudDirectory) AddFacetToObject(input *AddFacetToObjectInput) (*AddFacetToObjectOutput, error)

AddFacetToObject API operation for Amazon CloudDirectory.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudDirectory's API operation AddFacetToObject for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServiceException "InternalServiceException" 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 (http://status.aws.amazon.com/) site to see if there are any operational issues with the service.

  • ErrCodeInvalidArnException "InvalidArnException" Indicates that the provided ARN value is not valid.

  • ErrCodeRetryableConflictException "RetryableConflictException" 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.

  • ErrCodeValidationException "ValidationException" Indicates that your request is malformed in some manner. See the exception message.

  • ErrCodeAccessDeniedException "AccessDeniedException" Access denied. Check your permissions.

  • ErrCodeDirectoryNotEnabledException "DirectoryNotEnabledException" Operations are only permitted on enabled directories.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource could not be found.

  • ErrCodeFacetValidationException "FacetValidationException" The Facet that you provided was not well formed or could not be validated with the schema.

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/AddFacetToObject

AddFacetToObjectRequest

func (c *CloudDirectory) AddFacetToObjectRequest(input *AddFacetToObjectInput) (req *request.Request, output *AddFacetToObjectOutput)

AddFacetToObjectRequest generates a "aws/request.Request" representing the client's request for the AddFacetToObject operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See AddFacetToObject for more information on using the AddFacetToObject API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the AddFacetToObjectRequest method. req, resp := client.AddFacetToObjectRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/AddFacetToObject

AddFacetToObjectWithContext

func (c *CloudDirectory) AddFacetToObjectWithContext(ctx aws.Context, input *AddFacetToObjectInput, opts ...request.Option) (*AddFacetToObjectOutput, error)

AddFacetToObjectWithContext is the same as AddFacetToObject with the addition of the ability to pass a context and additional request options.

See AddFacetToObject for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ApplySchema

func (c *CloudDirectory) ApplySchema(input *ApplySchemaInput) (*ApplySchemaOutput, error)

ApplySchema API operation for Amazon CloudDirectory.

Copies the input published schema, at the specified version, into the Directory with the same name and version as that of the published schema.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudDirectory's API operation ApplySchema for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServiceException "InternalServiceException" 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 (http://status.aws.amazon.com/) site to see if there are any operational issues with the service.

  • ErrCodeInvalidArnException "InvalidArnException" Indicates that the provided ARN value is not valid.

  • ErrCodeRetryableConflictException "RetryableConflictException" 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.

  • ErrCodeValidationException "ValidationException" Indicates that your request is malformed in some manner. See the exception message.

  • ErrCodeAccessDeniedException "AccessDeniedException" Access denied. Check your permissions.

  • ErrCodeSchemaAlreadyExistsException "SchemaAlreadyExistsException" Indicates that a schema could not be created due to a naming conflict. Please select a different name and then try again.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource could not be found.

  • ErrCodeInvalidAttachmentException "InvalidAttachmentException" 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.

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ApplySchema

ApplySchemaRequest

func (c *CloudDirectory) ApplySchemaRequest(input *ApplySchemaInput) (req *request.Request, output *ApplySchemaOutput)

ApplySchemaRequest generates a "aws/request.Request" representing the client's request for the ApplySchema operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ApplySchema for more information on using the ApplySchema API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ApplySchemaRequest method. req, resp := client.ApplySchemaRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ApplySchema

ApplySchemaWithContext

func (c *CloudDirectory) ApplySchemaWithContext(ctx aws.Context, input *ApplySchemaInput, opts ...request.Option) (*ApplySchemaOutput, error)

ApplySchemaWithContext is the same as ApplySchema with the addition of the ability to pass a context and additional request options.

See ApplySchema for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

AttachObject

func (c *CloudDirectory) AttachObject(input *AttachObjectInput) (*AttachObjectOutput, error)

AttachObject API operation for Amazon CloudDirectory.

Attaches an existing object to another object. An object can be accessed in two ways:

Using the path

Using ObjectIdentifier

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudDirectory's API operation AttachObject for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServiceException "InternalServiceException" 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 (http://status.aws.amazon.com/) site to see if there are any operational issues with the service.

  • ErrCodeInvalidArnException "InvalidArnException" Indicates that the provided ARN value is not valid.

  • ErrCodeRetryableConflictException "RetryableConflictException" 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.

  • ErrCodeValidationException "ValidationException" Indicates that your request is malformed in some manner. See the exception message.

  • ErrCodeAccessDeniedException "AccessDeniedException" Access denied. Check your permissions.

  • ErrCodeDirectoryNotEnabledException "DirectoryNotEnabledException" Operations are only permitted on enabled directories.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource could not be found.

  • ErrCodeLinkNameAlreadyInUseException "LinkNameAlreadyInUseException" Indicates that a link could not be created due to a naming conflict. Choose a different name and then try again.

  • ErrCodeInvalidAttachmentException "InvalidAttachmentException" 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.

  • ErrCodeValidationException "ValidationException" Indicates that your request is malformed in some manner. See the exception message.

  • ErrCodeFacetValidationException "FacetValidationException" The Facet that you provided was not well formed or could not be validated with the schema.

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/AttachObject

AttachObjectRequest

func (c *CloudDirectory) AttachObjectRequest(input *AttachObjectInput) (req *request.Request, output *AttachObjectOutput)

AttachObjectRequest generates a "aws/request.Request" representing the client's request for the AttachObject operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See AttachObject for more information on using the AttachObject API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the AttachObjectRequest method. req, resp := client.AttachObjectRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/AttachObject

AttachObjectWithContext

func (c *CloudDirectory) AttachObjectWithContext(ctx aws.Context, input *AttachObjectInput, opts ...request.Option) (*AttachObjectOutput, error)

AttachObjectWithContext is the same as AttachObject with the addition of the ability to pass a context and additional request options.

See AttachObject for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

AttachPolicy

func (c *CloudDirectory) AttachPolicy(input *AttachPolicyInput) (*AttachPolicyOutput, error)

AttachPolicy API operation for Amazon CloudDirectory.

Attaches a policy object to a regular object. An object can have a limited number of attached policies.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudDirectory's API operation AttachPolicy for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServiceException "InternalServiceException" 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 (http://status.aws.amazon.com/) site to see if there are any operational issues with the service.

  • ErrCodeInvalidArnException "InvalidArnException" Indicates that the provided ARN value is not valid.

  • ErrCodeRetryableConflictException "RetryableConflictException" 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.

  • ErrCodeValidationException "ValidationException" Indicates that your request is malformed in some manner. See the exception message.

  • ErrCodeAccessDeniedException "AccessDeniedException" Access denied. Check your permissions.

  • ErrCodeDirectoryNotEnabledException "DirectoryNotEnabledException" Operations are only permitted on enabled directories.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource could not be found.

  • ErrCodeNotPolicyException "NotPolicyException" Indicates that the requested operation can only operate on policy objects.

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/AttachPolicy

AttachPolicyRequest

func (c *CloudDirectory) AttachPolicyRequest(input *AttachPolicyInput) (req *request.Request, output *AttachPolicyOutput)

AttachPolicyRequest generates a "aws/request.Request" representing the client's request for the AttachPolicy operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See AttachPolicy for more information on using the AttachPolicy API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the AttachPolicyRequest method. req, resp := client.AttachPolicyRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/AttachPolicy

AttachPolicyWithContext

func (c *CloudDirectory) AttachPolicyWithContext(ctx aws.Context, input *AttachPolicyInput, opts ...request.Option) (*AttachPolicyOutput, error)

AttachPolicyWithContext is the same as AttachPolicy with the addition of the ability to pass a context and additional request options.

See AttachPolicy for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

AttachToIndex

func (c *CloudDirectory) AttachToIndex(input *AttachToIndexInput) (*AttachToIndexOutput, error)

AttachToIndex API operation for Amazon CloudDirectory.

Attaches the specified object to the specified index.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudDirectory's API operation AttachToIndex for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServiceException "InternalServiceException" 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 (http://status.aws.amazon.com/) site to see if there are any operational issues with the service.

  • ErrCodeInvalidArnException "InvalidArnException" Indicates that the provided ARN value is not valid.

  • ErrCodeRetryableConflictException "RetryableConflictException" 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.

  • ErrCodeValidationException "ValidationException" Indicates that your request is malformed in some manner. See the exception message.

  • ErrCodeAccessDeniedException "AccessDeniedException" Access denied. Check your permissions.

  • ErrCodeDirectoryNotEnabledException "DirectoryNotEnabledException" Operations are only permitted on enabled directories.

  • ErrCodeInvalidAttachmentException "InvalidAttachmentException" 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.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource could not be found.

  • ErrCodeLinkNameAlreadyInUseException "LinkNameAlreadyInUseException" Indicates that a link could not be created due to a naming conflict. Choose a different name and then try again.

  • ErrCodeIndexedAttributeMissingException "IndexedAttributeMissingException" An object has been attempted to be attached to an object that does not have the appropriate attribute value.

  • ErrCodeNotIndexException "NotIndexException" Indicates that the requested operation can only operate on index objects.

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/AttachToIndex

AttachToIndexRequest

func (c *CloudDirectory) AttachToIndexRequest(input *AttachToIndexInput) (req *request.Request, output *AttachToIndexOutput)

AttachToIndexRequest generates a "aws/request.Request" representing the client's request for the AttachToIndex operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See AttachToIndex for more information on using the AttachToIndex API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the AttachToIndexRequest method. req, resp := client.AttachToIndexRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/AttachToIndex

AttachToIndexWithContext

func (c *CloudDirectory) AttachToIndexWithContext(ctx aws.Context, input *AttachToIndexInput, opts ...request.Option) (*AttachToIndexOutput, error)

AttachToIndexWithContext is the same as AttachToIndex with the addition of the ability to pass a context and additional request options.

See AttachToIndex for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

func (c *CloudDirectory) AttachTypedLink(input *AttachTypedLinkInput) (*AttachTypedLinkOutput, error)

AttachTypedLink API operation for Amazon CloudDirectory.

Attaches a typed link to a specified source and target object. For more information, see Typed Links (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/directory_objects_links.html#directory_objects_links_typedlink).

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudDirectory's API operation AttachTypedLink for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServiceException "InternalServiceException" 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 (http://status.aws.amazon.com/) site to see if there are any operational issues with the service.

  • ErrCodeInvalidArnException "InvalidArnException" Indicates that the provided ARN value is not valid.

  • ErrCodeRetryableConflictException "RetryableConflictException" 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.

  • ErrCodeValidationException "ValidationException" Indicates that your request is malformed in some manner. See the exception message.

  • ErrCodeAccessDeniedException "AccessDeniedException" Access denied. Check your permissions.

  • ErrCodeDirectoryNotEnabledException "DirectoryNotEnabledException" Operations are only permitted on enabled directories.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource could not be found.

  • ErrCodeInvalidAttachmentException "InvalidAttachmentException" 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.

  • ErrCodeValidationException "ValidationException" Indicates that your request is malformed in some manner. See the exception message.

  • ErrCodeFacetValidationException "FacetValidationException" The Facet that you provided was not well formed or could not be validated with the schema.

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/AttachTypedLink

AttachTypedLinkRequest

func (c *CloudDirectory) AttachTypedLinkRequest(input *AttachTypedLinkInput) (req *request.Request, output *AttachTypedLinkOutput)

AttachTypedLinkRequest generates a "aws/request.Request" representing the client's request for the AttachTypedLink operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See AttachTypedLink for more information on using the AttachTypedLink API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the AttachTypedLinkRequest method. req, resp := client.AttachTypedLinkRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/AttachTypedLink

AttachTypedLinkWithContext

func (c *CloudDirectory) AttachTypedLinkWithContext(ctx aws.Context, input *AttachTypedLinkInput, opts ...request.Option) (*AttachTypedLinkOutput, error)

AttachTypedLinkWithContext is the same as AttachTypedLink with the addition of the ability to pass a context and additional request options.

See AttachTypedLink for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

BatchRead

func (c *CloudDirectory) BatchRead(input *BatchReadInput) (*BatchReadOutput, error)

BatchRead API operation for Amazon CloudDirectory.

Performs all the read operations in a batch.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudDirectory's API operation BatchRead for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServiceException "InternalServiceException" 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 (http://status.aws.amazon.com/) site to see if there are any operational issues with the service.

  • ErrCodeInvalidArnException "InvalidArnException" Indicates that the provided ARN value is not valid.

  • ErrCodeRetryableConflictException "RetryableConflictException" 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.

  • ErrCodeValidationException "ValidationException" Indicates that your request is malformed in some manner. See the exception message.

  • ErrCodeAccessDeniedException "AccessDeniedException" Access denied. Check your permissions.

  • ErrCodeDirectoryNotEnabledException "DirectoryNotEnabledException" Operations are only permitted on enabled directories.

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/BatchRead

BatchReadRequest

func (c *CloudDirectory) BatchReadRequest(input *BatchReadInput) (req *request.Request, output *BatchReadOutput)

BatchReadRequest generates a "aws/request.Request" representing the client's request for the BatchRead operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See BatchRead for more information on using the BatchRead API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the BatchReadRequest method. req, resp := client.BatchReadRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/BatchRead

BatchReadWithContext

func (c *CloudDirectory) BatchReadWithContext(ctx aws.Context, input *BatchReadInput, opts ...request.Option) (*BatchReadOutput, error)

BatchReadWithContext is the same as BatchRead with the addition of the ability to pass a context and additional request options.

See BatchRead for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

BatchWrite

func (c *CloudDirectory) BatchWrite(input *BatchWriteInput) (*BatchWriteOutput, error)

BatchWrite API operation for Amazon CloudDirectory.

Performs all the write operations in a batch. Either all the operations succeed or none.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudDirectory's API operation BatchWrite for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServiceException "InternalServiceException" 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 (http://status.aws.amazon.com/) site to see if there are any operational issues with the service.

  • ErrCodeInvalidArnException "InvalidArnException" Indicates that the provided ARN value is not valid.

  • ErrCodeRetryableConflictException "RetryableConflictException" 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.

  • ErrCodeValidationException "ValidationException" Indicates that your request is malformed in some manner. See the exception message.

  • ErrCodeAccessDeniedException "AccessDeniedException" Access denied. Check your permissions.

  • ErrCodeDirectoryNotEnabledException "DirectoryNotEnabledException" Operations are only permitted on enabled directories.

  • ErrCodeBatchWriteException "BatchWriteException" A BatchWrite exception has occurred.

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/BatchWrite

BatchWriteRequest

func (c *CloudDirectory) BatchWriteRequest(input *BatchWriteInput) (req *request.Request, output *BatchWriteOutput)

BatchWriteRequest generates a "aws/request.Request" representing the client's request for the BatchWrite operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See BatchWrite for more information on using the BatchWrite API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the BatchWriteRequest method. req, resp := client.BatchWriteRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/BatchWrite

BatchWriteWithContext

func (c *CloudDirectory) BatchWriteWithContext(ctx aws.Context, input *BatchWriteInput, opts ...request.Option) (*BatchWriteOutput, error)

BatchWriteWithContext is the same as BatchWrite with the addition of the ability to pass a context and additional request options.

See BatchWrite for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

CreateDirectory

func (c *CloudDirectory) CreateDirectory(input *CreateDirectoryInput) (*CreateDirectoryOutput, error)

CreateDirectory API operation for Amazon CloudDirectory.

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 (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/schemas_managed.html) in the Amazon Cloud Directory Developer Guide.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudDirectory's API operation CreateDirectory for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServiceException "InternalServiceException" 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 (http://status.aws.amazon.com/) site to see if there are any operational issues with the service.

  • ErrCodeInvalidArnException "InvalidArnException" Indicates that the provided ARN value is not valid.

  • ErrCodeRetryableConflictException "RetryableConflictException" 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.

  • ErrCodeValidationException "ValidationException" Indicates that your request is malformed in some manner. See the exception message.

  • ErrCodeAccessDeniedException "AccessDeniedException" Access denied. Check your permissions.

  • ErrCodeDirectoryAlreadyExistsException "DirectoryAlreadyExistsException" Indicates that a Directory could not be created due to a naming conflict. Choose a different name and try again.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource could not be found.

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/CreateDirectory

CreateDirectoryRequest

func (c *CloudDirectory) CreateDirectoryRequest(input *CreateDirectoryInput) (req *request.Request, output *CreateDirectoryOutput)

CreateDirectoryRequest generates a "aws/request.Request" representing the client's request for the CreateDirectory operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateDirectory for more information on using the CreateDirectory API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateDirectoryRequest method. req, resp := client.CreateDirectoryRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/CreateDirectory

CreateDirectoryWithContext

func (c *CloudDirectory) CreateDirectoryWithContext(ctx aws.Context, input *CreateDirectoryInput, opts ...request.Option) (*CreateDirectoryOutput, error)

CreateDirectoryWithContext is the same as CreateDirectory with the addition of the ability to pass a context and additional request options.

See CreateDirectory for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

CreateFacet

func (c *CloudDirectory) CreateFacet(input *CreateFacetInput) (*CreateFacetOutput, error)

CreateFacet API operation for Amazon CloudDirectory.

Creates a new Facet in a schema. Facet creation is allowed only in development or applied schemas.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudDirectory's API operation CreateFacet for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServiceException "InternalServiceException" 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 (http://status.aws.amazon.com/) site to see if there are any operational issues with the service.

  • ErrCodeInvalidArnException "InvalidArnException" Indicates that the provided ARN value is not valid.

  • ErrCodeRetryableConflictException "RetryableConflictException" 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.

  • ErrCodeValidationException "ValidationException" Indicates that your request is malformed in some manner. See the exception message.

  • ErrCodeAccessDeniedException "AccessDeniedException" Access denied. Check your permissions.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource could not be found.

  • ErrCodeFacetAlreadyExistsException "FacetAlreadyExistsException" A facet with the same name already exists.

  • ErrCodeInvalidRuleException "InvalidRuleException" Occurs when any of the rule parameter keys or values are invalid.

  • ErrCodeFacetValidationException "FacetValidationException" The Facet that you provided was not well formed or could not be validated with the schema.

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/CreateFacet

CreateFacetRequest

func (c *CloudDirectory) CreateFacetRequest(input *CreateFacetInput) (req *request.Request, output *CreateFacetOutput)

CreateFacetRequest generates a "aws/request.Request" representing the client's request for the CreateFacet operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateFacet for more information on using the CreateFacet API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateFacetRequest method. req, resp := client.CreateFacetRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/CreateFacet

CreateFacetWithContext

func (c *CloudDirectory) CreateFacetWithContext(ctx aws.Context, input *CreateFacetInput, opts ...request.Option) (*CreateFacetOutput, error)

CreateFacetWithContext is the same as CreateFacet with the addition of the ability to pass a context and additional request options.

See CreateFacet for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

CreateIndex

func (c *CloudDirectory) CreateIndex(input *CreateIndexInput) (*CreateIndexOutput, error)

CreateIndex API operation for Amazon CloudDirectory.

Creates an index object. See Indexing and search (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/indexing_search.html) for more information.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudDirectory's API operation CreateIndex for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServiceException "InternalServiceException" 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 (http://status.aws.amazon.com/) site to see if there are any operational issues with the service.

  • ErrCodeInvalidArnException "InvalidArnException" Indicates that the provided ARN value is not valid.

  • ErrCodeRetryableConflictException "RetryableConflictException" 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.

  • ErrCodeValidationException "ValidationException" Indicates that your request is malformed in some manner. See the exception message.

  • ErrCodeAccessDeniedException "AccessDeniedException" Access denied. Check your permissions.

  • ErrCodeDirectoryNotEnabledException "DirectoryNotEnabledException" Operations are only permitted on enabled directories.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource could not be found.

  • ErrCodeFacetValidationException "FacetValidationException" The Facet that you provided was not well formed or could not be validated with the schema.

  • ErrCodeLinkNameAlreadyInUseException "LinkNameAlreadyInUseException" Indicates that a link could not be created due to a naming conflict. Choose a different name and then try again.

  • ErrCodeUnsupportedIndexTypeException "UnsupportedIndexTypeException" Indicates that the requested index type is not supported.

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/CreateIndex

CreateIndexRequest

func (c *CloudDirectory) CreateIndexRequest(input *CreateIndexInput) (req *request.Request, output *CreateIndexOutput)

CreateIndexRequest generates a "aws/request.Request" representing the client's request for the CreateIndex operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateIndex for more information on using the CreateIndex API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateIndexRequest method. req, resp := client.CreateIndexRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/CreateIndex

CreateIndexWithContext

func (c *CloudDirectory) CreateIndexWithContext(ctx aws.Context, input *CreateIndexInput, opts ...request.Option) (*CreateIndexOutput, error)

CreateIndexWithContext is the same as CreateIndex with the addition of the ability to pass a context and additional request options.

See CreateIndex for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

CreateObject

func (c *CloudDirectory) CreateObject(input *CreateObjectInput) (*CreateObjectOutput, error)

CreateObject API operation for Amazon CloudDirectory.

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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudDirectory's API operation CreateObject for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServiceException "InternalServiceException" 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 (http://status.aws.amazon.com/) site to see if there are any operational issues with the service.

  • ErrCodeInvalidArnException "InvalidArnException" Indicates that the provided ARN value is not valid.

  • ErrCodeRetryableConflictException "RetryableConflictException" 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.

  • ErrCodeValidationException "ValidationException" Indicates that your request is malformed in some manner. See the exception message.

  • ErrCodeAccessDeniedException "AccessDeniedException" Access denied. Check your permissions.

  • ErrCodeDirectoryNotEnabledException "DirectoryNotEnabledException" Operations are only permitted on enabled directories.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource could not be found.

  • ErrCodeFacetValidationException "FacetValidationException" The Facet that you provided was not well formed or could not be validated with the schema.

  • ErrCodeLinkNameAlreadyInUseException "LinkNameAlreadyInUseException" Indicates that a link could not be created due to a naming conflict. Choose a different name and then try again.

  • ErrCodeUnsupportedIndexTypeException "UnsupportedIndexTypeException" Indicates that the requested index type is not supported.

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/CreateObject

CreateObjectRequest

func (c *CloudDirectory) CreateObjectRequest(input *CreateObjectInput) (req *request.Request, output *CreateObjectOutput)

CreateObjectRequest generates a "aws/request.Request" representing the client's request for the CreateObject operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateObject for more information on using the CreateObject API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateObjectRequest method. req, resp := client.CreateObjectRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/CreateObject

CreateObjectWithContext

func (c *CloudDirectory) CreateObjectWithContext(ctx aws.Context, input *CreateObjectInput, opts ...request.Option) (*CreateObjectOutput, error)

CreateObjectWithContext is the same as CreateObject with the addition of the ability to pass a context and additional request options.

See CreateObject for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

CreateSchema

func (c *CloudDirectory) CreateSchema(input *CreateSchemaInput) (*CreateSchemaOutput, error)

CreateSchema API operation for Amazon CloudDirectory.

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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudDirectory's API operation CreateSchema for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServiceException "InternalServiceException" 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 (http://status.aws.amazon.com/) site to see if there are any operational issues with the service.

  • ErrCodeInvalidArnException "InvalidArnException" Indicates that the provided ARN value is not valid.

  • ErrCodeRetryableConflictException "RetryableConflictException" 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.

  • ErrCodeValidationException "ValidationException" Indicates that your request is malformed in some manner. See the exception message.

  • ErrCodeAccessDeniedException "AccessDeniedException" Access denied. Check your permissions.

  • ErrCodeSchemaAlreadyExistsException "SchemaAlreadyExistsException" Indicates that a schema could not be created due to a naming conflict. Please select a different name and then try again.

  • ErrCodeAccessDeniedException "AccessDeniedException" Access denied. Check your permissions.

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/CreateSchema

CreateSchemaRequest

func (c *CloudDirectory) CreateSchemaRequest(input *CreateSchemaInput) (req *request.Request, output *CreateSchemaOutput)

CreateSchemaRequest generates a "aws/request.Request" representing the client's request for the CreateSchema operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateSchema for more information on using the CreateSchema API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateSchemaRequest method. req, resp := client.CreateSchemaRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/CreateSchema

CreateSchemaWithContext

func (c *CloudDirectory) CreateSchemaWithContext(ctx aws.Context, input *CreateSchemaInput, opts ...request.Option) (*CreateSchemaOutput, error)

CreateSchemaWithContext is the same as CreateSchema with the addition of the ability to pass a context and additional request options.

See CreateSchema for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

CreateTypedLinkFacet

func (c *CloudDirectory) CreateTypedLinkFacet(input *CreateTypedLinkFacetInput) (*CreateTypedLinkFacetOutput, error)

CreateTypedLinkFacet API operation for Amazon CloudDirectory.

Creates a TypedLinkFacet. For more information, see Typed Links (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/directory_objects_links.html#directory_objects_links_typedlink).

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudDirectory's API operation CreateTypedLinkFacet for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServiceException "InternalServiceException" 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 (http://status.aws.amazon.com/) site to see if there are any operational issues with the service.

  • ErrCodeInvalidArnException "InvalidArnException" Indicates that the provided ARN value is not valid.

  • ErrCodeRetryableConflictException "RetryableConflictException" 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.

  • ErrCodeValidationException "ValidationException" Indicates that your request is malformed in some manner. See the exception message.

  • ErrCodeAccessDeniedException "AccessDeniedException" Access denied. Check your permissions.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource could not be found.

  • ErrCodeFacetAlreadyExistsException "FacetAlreadyExistsException" A facet with the same name already exists.

  • ErrCodeInvalidRuleException "InvalidRuleException" Occurs when any of the rule parameter keys or values are invalid.

  • ErrCodeFacetValidationException "FacetValidationException" The Facet that you provided was not well formed or could not be validated with the schema.

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/CreateTypedLinkFacet

CreateTypedLinkFacetRequest

func (c *CloudDirectory) CreateTypedLinkFacetRequest(input *CreateTypedLinkFacetInput) (req *request.Request, output *CreateTypedLinkFacetOutput)

CreateTypedLinkFacetRequest generates a "aws/request.Request" representing the client's request for the CreateTypedLinkFacet operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateTypedLinkFacet for more information on using the CreateTypedLinkFacet API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateTypedLinkFacetRequest method. req, resp := client.CreateTypedLinkFacetRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/CreateTypedLinkFacet

CreateTypedLinkFacetWithContext

func (c *CloudDirectory) CreateTypedLinkFacetWithContext(ctx aws.Context, input *CreateTypedLinkFacetInput, opts ...request.Option) (*CreateTypedLinkFacetOutput, error)

CreateTypedLinkFacetWithContext is the same as CreateTypedLinkFacet with the addition of the ability to pass a context and additional request options.

See CreateTypedLinkFacet for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DeleteDirectory

func (c *CloudDirectory) DeleteDirectory(input *DeleteDirectoryInput) (*DeleteDirectoryOutput, error)

DeleteDirectory API operation for Amazon CloudDirectory.

Deletes a directory. Only disabled directories can be deleted. A deleted directory cannot be undone. Exercise extreme caution when deleting directories.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudDirectory's API operation DeleteDirectory for usage and error information.

Returned Error Codes:

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource could not be found.

  • ErrCodeDirectoryNotDisabledException "DirectoryNotDisabledException" An operation can only operate on a disabled directory.

  • ErrCodeInternalServiceException "InternalServiceException" 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 (http://status.aws.amazon.com/) site to see if there are any operational issues with the service.

  • ErrCodeValidationException "ValidationException" Indicates that your request is malformed in some manner. See the exception message.

  • ErrCodeAccessDeniedException "AccessDeniedException" Access denied. Check your permissions.

  • ErrCodeDirectoryDeletedException "DirectoryDeletedException" A directory that has been deleted and to which access has been attempted. Note: The requested resource will eventually cease to exist.

  • ErrCodeRetryableConflictException "RetryableConflictException" 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.

  • ErrCodeInvalidArnException "InvalidArnException" Indicates that the provided ARN value is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/DeleteDirectory

DeleteDirectoryRequest

func (c *CloudDirectory) DeleteDirectoryRequest(input *DeleteDirectoryInput) (req *request.Request, output *DeleteDirectoryOutput)

DeleteDirectoryRequest generates a "aws/request.Request" representing the client's request for the DeleteDirectory operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteDirectory for more information on using the DeleteDirectory API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteDirectoryRequest method. req, resp := client.DeleteDirectoryRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/DeleteDirectory

DeleteDirectoryWithContext

func (c *CloudDirectory) DeleteDirectoryWithContext(ctx aws.Context, input *DeleteDirectoryInput, opts ...request.Option) (*DeleteDirectoryOutput, error)

DeleteDirectoryWithContext is the same as DeleteDirectory with the addition of the ability to pass a context and additional request options.

See DeleteDirectory for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DeleteFacet

func (c *CloudDirectory) DeleteFacet(input *DeleteFacetInput) (*DeleteFacetOutput, error)

DeleteFacet API operation for Amazon CloudDirectory.

Deletes a given Facet. All attributes and Rules that are associated with the facet will be deleted. Only development schema facets are allowed deletion.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudDirectory's API operation DeleteFacet for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServiceException "InternalServiceException" 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 (http://status.aws.amazon.com/) site to see if there are any operational issues with the service.

  • ErrCodeInvalidArnException "InvalidArnException" Indicates that the provided ARN value is not valid.

  • ErrCodeRetryableConflictException "RetryableConflictException" 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.

  • ErrCodeValidationException "ValidationException" Indicates that your request is malformed in some manner. See the exception message.

  • ErrCodeAccessDeniedException "AccessDeniedException" Access denied. Check your permissions.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource could not be found.

  • ErrCodeFacetNotFoundException "FacetNotFoundException" The specified Facet could not be found.

  • ErrCodeFacetInUseException "FacetInUseException" Occurs when deleting a facet that contains an attribute that is a target to an attribute reference in a different facet.

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/DeleteFacet

DeleteFacetRequest

func (c *CloudDirectory) DeleteFacetRequest(input *DeleteFacetInput) (req *request.Request, output *DeleteFacetOutput)

DeleteFacetRequest generates a "aws/request.Request" representing the client's request for the DeleteFacet operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteFacet for more information on using the DeleteFacet API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteFacetRequest method. req, resp := client.DeleteFacetRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/DeleteFacet

DeleteFacetWithContext

func (c *CloudDirectory) DeleteFacetWithContext(ctx aws.Context, input *DeleteFacetInput, opts ...request.Option) (*DeleteFacetOutput, error)

DeleteFacetWithContext is the same as DeleteFacet with the addition of the ability to pass a context and additional request options.

See DeleteFacet for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DeleteObject

func (c *CloudDirectory) DeleteObject(input *DeleteObjectInput) (*DeleteObjectOutput, error)

DeleteObject API operation for Amazon CloudDirectory.

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 (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html).

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudDirectory's API operation DeleteObject for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServiceException "InternalServiceException" 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 (http://status.aws.amazon.com/) site to see if there are any operational issues with the service.

  • ErrCodeInvalidArnException "InvalidArnException" Indicates that the provided ARN value is not valid.

  • ErrCodeRetryableConflictException "RetryableConflictException" 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.

  • ErrCodeValidationException "ValidationException" Indicates that your request is malformed in some manner. See the exception message.

  • ErrCodeAccessDeniedException "AccessDeniedException" Access denied. Check your permissions.

  • ErrCodeDirectoryNotEnabledException "DirectoryNotEnabledException" Operations are only permitted on enabled directories.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource could not be found.

  • ErrCodeObjectNotDetachedException "ObjectNotDetachedException" Indicates that the requested operation cannot be completed because the object has not been detached from the tree.

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/DeleteObject

DeleteObjectRequest

func (c *CloudDirectory) DeleteObjectRequest(input *DeleteObjectInput) (req *request.Request, output *DeleteObjectOutput)

DeleteObjectRequest generates a "aws/request.Request" representing the client's request for the DeleteObject operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteObject for more information on using the DeleteObject API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteObjectRequest method. req, resp := client.DeleteObjectRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/DeleteObject

DeleteObjectWithContext

func (c *CloudDirectory) DeleteObjectWithContext(ctx aws.Context, input *DeleteObjectInput, opts ...request.Option) (*DeleteObjectOutput, error)

DeleteObjectWithContext is the same as DeleteObject with the addition of the ability to pass a context and additional request options.

See DeleteObject for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DeleteSchema

func (c *CloudDirectory) DeleteSchema(input *DeleteSchemaInput) (*DeleteSchemaOutput, error)

DeleteSchema API operation for Amazon CloudDirectory.

Deletes a given schema. Schemas in a development and published state can only be deleted.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudDirectory's API operation DeleteSchema for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServiceException "InternalServiceException" 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 (http://status.aws.amazon.com/) site to see if there are any operational issues with the service.

  • ErrCodeInvalidArnException "InvalidArnException" Indicates that the provided ARN value is not valid.

  • ErrCodeRetryableConflictException "RetryableConflictException" 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.

  • ErrCodeValidationException "ValidationException" Indicates that your request is malformed in some manner. See the exception message.

  • ErrCodeAccessDeniedException "AccessDeniedException" Access denied. Check your permissions.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource could not be found.

  • ErrCodeStillContainsLinksException "StillContainsLinksException" The object could not be deleted because links still exist. Remove the links and then try the operation again.

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/DeleteSchema

DeleteSchemaRequest

func (c *CloudDirectory) DeleteSchemaRequest(input *DeleteSchemaInput) (req *request.Request, output *DeleteSchemaOutput)

DeleteSchemaRequest generates a "aws/request.Request" representing the client's request for the DeleteSchema operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteSchema for more information on using the DeleteSchema API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteSchemaRequest method. req, resp := client.DeleteSchemaRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/DeleteSchema

DeleteSchemaWithContext

func (c *CloudDirectory) DeleteSchemaWithContext(ctx aws.Context, input *DeleteSchemaInput, opts ...request.Option) (*DeleteSchemaOutput, error)

DeleteSchemaWithContext is the same as DeleteSchema with the addition of the ability to pass a context and additional request options.

See DeleteSchema for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DeleteTypedLinkFacet

func (c *CloudDirectory) DeleteTypedLinkFacet(input *DeleteTypedLinkFacetInput) (*DeleteTypedLinkFacetOutput, error)

DeleteTypedLinkFacet API operation for Amazon CloudDirectory.

Deletes a TypedLinkFacet. For more information, see Typed Links (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/directory_objects_links.html#directory_objects_links_typedlink).

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudDirectory's API operation DeleteTypedLinkFacet for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServiceException "InternalServiceException" 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 (http://status.aws.amazon.com/) site to see if there are any operational issues with the service.

  • ErrCodeInvalidArnException "InvalidArnException" Indicates that the provided ARN value is not valid.

  • ErrCodeRetryableConflictException "RetryableConflictException" 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.

  • ErrCodeValidationException "ValidationException" Indicates that your request is malformed in some manner. See the exception message.

  • ErrCodeAccessDeniedException "AccessDeniedException" Access denied. Check your permissions.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource could not be found.

  • ErrCodeFacetNotFoundException "FacetNotFoundException" The specified Facet could not be found.

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/DeleteTypedLinkFacet

DeleteTypedLinkFacetRequest

func (c *CloudDirectory) DeleteTypedLinkFacetRequest(input *DeleteTypedLinkFacetInput) (req *request.Request, output *DeleteTypedLinkFacetOutput)

DeleteTypedLinkFacetRequest generates a "aws/request.Request" representing the client's request for the DeleteTypedLinkFacet operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteTypedLinkFacet for more information on using the DeleteTypedLinkFacet API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteTypedLinkFacetRequest method. req, resp := client.DeleteTypedLinkFacetRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/DeleteTypedLinkFacet

DeleteTypedLinkFacetWithContext

func (c *CloudDirectory) DeleteTypedLinkFacetWithContext(ctx aws.Context, input *DeleteTypedLinkFacetInput, opts ...request.Option) (*DeleteTypedLinkFacetOutput, error)

DeleteTypedLinkFacetWithContext is the same as DeleteTypedLinkFacet with the addition of the ability to pass a context and additional request options.

See DeleteTypedLinkFacet for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DetachFromIndex

func (c *CloudDirectory) DetachFromIndex(input *DetachFromIndexInput) (*DetachFromIndexOutput, error)

DetachFromIndex API operation for Amazon CloudDirectory.

Detaches the specified object from the specified index.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudDirectory's API operation DetachFromIndex for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServiceException "InternalServiceException" 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 (http://status.aws.amazon.com/) site to see if there are any operational issues with the service.

  • ErrCodeInvalidArnException "InvalidArnException" Indicates that the provided ARN value is not valid.

  • ErrCodeRetryableConflictException "RetryableConflictException" 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.

  • ErrCodeValidationException "ValidationException" Indicates that your request is malformed in some manner. See the exception message.

  • ErrCodeAccessDeniedException "AccessDeniedException" Access denied. Check your permissions.

  • ErrCodeDirectoryNotEnabledException "DirectoryNotEnabledException" Operations are only permitted on enabled directories.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource could not be found.

  • ErrCodeObjectAlreadyDetachedException "ObjectAlreadyDetachedException" Indicates that the object is not attached to the index.

  • ErrCodeNotIndexException "NotIndexException" Indicates that the requested operation can only operate on index objects.

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/DetachFromIndex

DetachFromIndexRequest

func (c *CloudDirectory) DetachFromIndexRequest(input *DetachFromIndexInput) (req *request.Request, output *DetachFromIndexOutput)

DetachFromIndexRequest generates a "aws/request.Request" representing the client's request for the DetachFromIndex operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DetachFromIndex for more information on using the DetachFromIndex API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DetachFromIndexRequest method. req, resp := client.DetachFromIndexRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/DetachFromIndex

DetachFromIndexWithContext

func (c *CloudDirectory) DetachFromIndexWithContext(ctx aws.Context, input *DetachFromIndexInput, opts ...request.Option) (*DetachFromIndexOutput, error)

DetachFromIndexWithContext is the same as DetachFromIndex with the addition of the ability to pass a context and additional request options.

See DetachFromIndex for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DetachObject

func (c *CloudDirectory) DetachObject(input *DetachObjectInput) (*DetachObjectOutput, error)

DetachObject API operation for Amazon CloudDirectory.

Detaches a given object from the parent object. The object that is to be detached from the parent is specified by the link name.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudDirectory's API operation DetachObject for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServiceException "InternalServiceException" 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 (http://status.aws.amazon.com/) site to see if there are any operational issues with the service.

  • ErrCodeInvalidArnException "InvalidArnException" Indicates that the provided ARN value is not valid.

  • ErrCodeRetryableConflictException "RetryableConflictException" 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.

  • ErrCodeValidationException "ValidationException" Indicates that your request is malformed in some manner. See the exception message.

  • ErrCodeAccessDeniedException "AccessDeniedException" Access denied. Check your permissions.

  • ErrCodeDirectoryNotEnabledException "DirectoryNotEnabledException" Operations are only permitted on enabled directories.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource could not be found.

  • ErrCodeNotNodeException "NotNodeException" Occurs when any invalid operations are performed on an object that is not a node, such as calling ListObjectChildren for a leaf node object.

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/DetachObject

DetachObjectRequest

func (c *CloudDirectory) DetachObjectRequest(input *DetachObjectInput) (req *request.Request, output *DetachObjectOutput)

DetachObjectRequest generates a "aws/request.Request" representing the client's request for the DetachObject operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DetachObject for more information on using the DetachObject API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DetachObjectRequest method. req, resp := client.DetachObjectRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/DetachObject

DetachObjectWithContext

func (c *CloudDirectory) DetachObjectWithContext(ctx aws.Context, input *DetachObjectInput, opts ...request.Option) (*DetachObjectOutput, error)

DetachObjectWithContext is the same as DetachObject with the addition of the ability to pass a context and additional request options.

See DetachObject for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DetachPolicy

func (c *CloudDirectory) DetachPolicy(input *DetachPolicyInput) (*DetachPolicyOutput, error)

DetachPolicy API operation for Amazon CloudDirectory.

Detaches a policy from an object.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudDirectory's API operation DetachPolicy for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServiceException "InternalServiceException" 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 (http://status.aws.amazon.com/) site to see if there are any operational issues with the service.

  • ErrCodeInvalidArnException "InvalidArnException" Indicates that the provided ARN value is not valid.

  • ErrCodeRetryableConflictException "RetryableConflictException" 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.

  • ErrCodeValidationException "ValidationException" Indicates that your request is malformed in some manner. See the exception message.

  • ErrCodeAccessDeniedException "AccessDeniedException" Access denied. Check your permissions.

  • ErrCodeDirectoryNotEnabledException "DirectoryNotEnabledException" Operations are only permitted on enabled directories.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource could not be found.

  • ErrCodeNotPolicyException "NotPolicyException" Indicates that the requested operation can only operate on policy objects.

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/DetachPolicy

DetachPolicyRequest

func (c *CloudDirectory) DetachPolicyRequest(input *DetachPolicyInput) (req *request.Request, output *DetachPolicyOutput)

DetachPolicyRequest generates a "aws/request.Request" representing the client's request for the DetachPolicy operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DetachPolicy for more information on using the DetachPolicy API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DetachPolicyRequest method. req, resp := client.DetachPolicyRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/DetachPolicy

DetachPolicyWithContext

func (c *CloudDirectory) DetachPolicyWithContext(ctx aws.Context, input *DetachPolicyInput, opts ...request.Option) (*DetachPolicyOutput, error)

DetachPolicyWithContext is the same as DetachPolicy with the addition of the ability to pass a context and additional request options.

See DetachPolicy for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

func (c *CloudDirectory) DetachTypedLink(input *DetachTypedLinkInput) (*DetachTypedLinkOutput, error)

DetachTypedLink API operation for Amazon CloudDirectory.

Detaches a typed link from a specified source and target object. For more information, see Typed Links (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/directory_objects_links.html#directory_objects_links_typedlink).

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudDirectory's API operation DetachTypedLink for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServiceException "InternalServiceException" 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 (http://status.aws.amazon.com/) site to see if there are any operational issues with the service.

  • ErrCodeInvalidArnException "InvalidArnException" Indicates that the provided ARN value is not valid.

  • ErrCodeRetryableConflictException "RetryableConflictException" 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.

  • ErrCodeValidationException "ValidationException" Indicates that your request is malformed in some manner. See the exception message.

  • ErrCodeAccessDeniedException "AccessDeniedException" Access denied. Check your permissions.

  • ErrCodeDirectoryNotEnabledException "DirectoryNotEnabledException" Operations are only permitted on enabled directories.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource could not be found.

  • ErrCodeFacetValidationException "FacetValidationException" The Facet that you provided was not well formed or could not be validated with the schema.

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/DetachTypedLink

DetachTypedLinkRequest

func (c *CloudDirectory) DetachTypedLinkRequest(input *DetachTypedLinkInput) (req *request.Request, output *DetachTypedLinkOutput)

DetachTypedLinkRequest generates a "aws/request.Request" representing the client's request for the DetachTypedLink operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DetachTypedLink for more information on using the DetachTypedLink API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DetachTypedLinkRequest method. req, resp := client.DetachTypedLinkRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/DetachTypedLink

DetachTypedLinkWithContext

func (c *CloudDirectory) DetachTypedLinkWithContext(ctx aws.Context, input *DetachTypedLinkInput, opts ...request.Option) (*DetachTypedLinkOutput, error)

DetachTypedLinkWithContext is the same as DetachTypedLink with the addition of the ability to pass a context and additional request options.

See DetachTypedLink for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DisableDirectory

func (c *CloudDirectory) DisableDirectory(input *DisableDirectoryInput) (*DisableDirectoryOutput, error)

DisableDirectory API operation for Amazon CloudDirectory.

Disables the specified directory. Disabled directories cannot be read or written to. Only enabled directories can be disabled. Disabled directories may be reenabled.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudDirectory's API operation DisableDirectory for usage and error information.

Returned Error Codes:

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource could not be found.

  • ErrCodeDirectoryDeletedException "DirectoryDeletedException" A directory that has been deleted and to which access has been attempted. Note: The requested resource will eventually cease to exist.

  • ErrCodeInternalServiceException "InternalServiceException" 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 (http://status.aws.amazon.com/) site to see if there are any operational issues with the service.

  • ErrCodeValidationException "ValidationException" Indicates that your request is malformed in some manner. See the exception message.

  • ErrCodeAccessDeniedException "AccessDeniedException" Access denied. Check your permissions.

  • ErrCodeRetryableConflictException "RetryableConflictException" 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.

  • ErrCodeInvalidArnException "InvalidArnException" Indicates that the provided ARN value is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/DisableDirectory

DisableDirectoryRequest

func (c *CloudDirectory) DisableDirectoryRequest(input *DisableDirectoryInput) (req *request.Request, output *DisableDirectoryOutput)

DisableDirectoryRequest generates a "aws/request.Request" representing the client's request for the DisableDirectory operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DisableDirectory for more information on using the DisableDirectory API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DisableDirectoryRequest method. req, resp := client.DisableDirectoryRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/DisableDirectory

DisableDirectoryWithContext

func (c *CloudDirectory) DisableDirectoryWithContext(ctx aws.Context, input *DisableDirectoryInput, opts ...request.Option) (*DisableDirectoryOutput, error)

DisableDirectoryWithContext is the same as DisableDirectory with the addition of the ability to pass a context and additional request options.

See DisableDirectory for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

EnableDirectory

func (c *CloudDirectory) EnableDirectory(input *EnableDirectoryInput) (*EnableDirectoryOutput, error)

EnableDirectory API operation for Amazon CloudDirectory.

Enables the specified directory. Only disabled directories can be enabled. Once enabled, the directory can then be read and written to.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudDirectory's API operation EnableDirectory for usage and error information.

Returned Error Codes:

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource could not be found.

  • ErrCodeDirectoryDeletedException "DirectoryDeletedException" A directory that has been deleted and to which access has been attempted. Note: The requested resource will eventually cease to exist.

  • ErrCodeInternalServiceException "InternalServiceException" 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 (http://status.aws.amazon.com/) site to see if there are any operational issues with the service.

  • ErrCodeValidationException "ValidationException" Indicates that your request is malformed in some manner. See the exception message.

  • ErrCodeAccessDeniedException "AccessDeniedException" Access denied. Check your permissions.

  • ErrCodeRetryableConflictException "RetryableConflictException" 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.

  • ErrCodeInvalidArnException "InvalidArnException" Indicates that the provided ARN value is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/EnableDirectory

EnableDirectoryRequest

func (c *CloudDirectory) EnableDirectoryRequest(input *EnableDirectoryInput) (req *request.Request, output *EnableDirectoryOutput)

EnableDirectoryRequest generates a "aws/request.Request" representing the client's request for the EnableDirectory operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See EnableDirectory for more information on using the EnableDirectory API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the EnableDirectoryRequest method. req, resp := client.EnableDirectoryRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/EnableDirectory

EnableDirectoryWithContext

func (c *CloudDirectory) EnableDirectoryWithContext(ctx aws.Context, input *EnableDirectoryInput, opts ...request.Option) (*EnableDirectoryOutput, error)

EnableDirectoryWithContext is the same as EnableDirectory with the addition of the ability to pass a context and additional request options.

See EnableDirectory for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetAppliedSchemaVersion

func (c *CloudDirectory) GetAppliedSchemaVersion(input *GetAppliedSchemaVersionInput) (*GetAppliedSchemaVersionOutput, error)

GetAppliedSchemaVersion API operation for Amazon CloudDirectory.

Returns current applied schema version ARN, including the minor version in use.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudDirectory's API operation GetAppliedSchemaVersion for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServiceException "InternalServiceException" 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 (http://status.aws.amazon.com/) site to see if there are any operational issues with the service.

  • ErrCodeInvalidArnException "InvalidArnException" Indicates that the provided ARN value is not valid.

  • ErrCodeRetryableConflictException "RetryableConflictException" 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.

  • ErrCodeValidationException "ValidationException" Indicates that your request is malformed in some manner. See the exception message.

  • ErrCodeAccessDeniedException "AccessDeniedException" Access denied. Check your permissions.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource could not be found.

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/GetAppliedSchemaVersion

GetAppliedSchemaVersionRequest

func (c *CloudDirectory) GetAppliedSchemaVersionRequest(input *GetAppliedSchemaVersionInput) (req *request.Request, output *GetAppliedSchemaVersionOutput)

GetAppliedSchemaVersionRequest generates a "aws/request.Request" representing the client's request for the GetAppliedSchemaVersion operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetAppliedSchemaVersion for more information on using the GetAppliedSchemaVersion API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetAppliedSchemaVersionRequest method. req, resp := client.GetAppliedSchemaVersionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/GetAppliedSchemaVersion

GetAppliedSchemaVersionWithContext

func (c *CloudDirectory) GetAppliedSchemaVersionWithContext(ctx aws.Context, input *GetAppliedSchemaVersionInput, opts ...request.Option) (*GetAppliedSchemaVersionOutput, error)

GetAppliedSchemaVersionWithContext is the same as GetAppliedSchemaVersion with the addition of the ability to pass a context and additional request options.

See GetAppliedSchemaVersion for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetDirectory

func (c *CloudDirectory) GetDirectory(input *GetDirectoryInput) (*GetDirectoryOutput, error)

GetDirectory API operation for Amazon CloudDirectory.

Retrieves metadata about a directory.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudDirectory's API operation GetDirectory for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServiceException "InternalServiceException" 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 (http://status.aws.amazon.com/) site to see if there are any operational issues with the service.

  • ErrCodeInvalidArnException "InvalidArnException" Indicates that the provided ARN value is not valid.

  • ErrCodeRetryableConflictException "RetryableConflictException" 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.

  • ErrCodeValidationException "ValidationException" Indicates that your request is malformed in some manner. See the exception message.

  • ErrCodeAccessDeniedException "AccessDeniedException" Access denied. Check your permissions.

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/GetDirectory

GetDirectoryRequest

func (c *CloudDirectory) GetDirectoryRequest(input *GetDirectoryInput) (req *request.Request, output *GetDirectoryOutput)

GetDirectoryRequest generates a "aws/request.Request" representing the client's request for the GetDirectory operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetDirectory for more information on using the GetDirectory API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetDirectoryRequest method. req, resp := client.GetDirectoryRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/GetDirectory

GetDirectoryWithContext

func (c *CloudDirectory) GetDirectoryWithContext(ctx aws.Context, input *GetDirectoryInput, opts ...request.Option) (*GetDirectoryOutput, error)

GetDirectoryWithContext is the same as GetDirectory with the addition of the ability to pass a context and additional request options.

See GetDirectory for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetFacet

func (c *CloudDirectory) GetFacet(input *GetFacetInput) (*GetFacetOutput, error)

GetFacet API operation for Amazon CloudDirectory.

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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudDirectory's API operation GetFacet for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServiceException "InternalServiceException" 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 (http://status.aws.amazon.com/) site to see if there are any operational issues with the service.

  • ErrCodeInvalidArnException "InvalidArnException" Indicates that the provided ARN value is not valid.

  • ErrCodeRetryableConflictException "RetryableConflictException" 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.

  • ErrCodeValidationException "ValidationException" Indicates that your request is malformed in some manner. See the exception message.

  • ErrCodeAccessDeniedException "AccessDeniedException" Access denied. Check your permissions.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource could not be found.

  • ErrCodeFacetNotFoundException "FacetNotFoundException" The specified Facet could not be found.

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/GetFacet

GetFacetRequest

func (c *CloudDirectory) GetFacetRequest(input *GetFacetInput) (req *request.Request, output *GetFacetOutput)

GetFacetRequest generates a "aws/request.Request" representing the client's request for the GetFacet operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetFacet for more information on using the GetFacet API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetFacetRequest method. req, resp := client.GetFacetRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/GetFacet

GetFacetWithContext

func (c *CloudDirectory) GetFacetWithContext(ctx aws.Context, input *GetFacetInput, opts ...request.Option) (*GetFacetOutput, error)

GetFacetWithContext is the same as GetFacet with the addition of the ability to pass a context and additional request options.

See GetFacet for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetLinkAttributes

func (c *CloudDirectory) GetLinkAttributes(input *GetLinkAttributesInput) (*GetLinkAttributesOutput, error)

GetLinkAttributes API operation for Amazon CloudDirectory.

Retrieves attributes that are associated with a typed link.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudDirectory's API operation GetLinkAttributes for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServiceException "InternalServiceException" 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 (http://status.aws.amazon.com/) site to see if there are any operational issues with the service.

  • ErrCodeInvalidArnException "InvalidArnException" Indicates that the provided ARN value is not valid.

  • ErrCodeRetryableConflictException "RetryableConflictException" 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.

  • ErrCodeValidationException "ValidationException" Indicates that your request is malformed in some manner. See the exception message.

  • ErrCodeAccessDeniedException "AccessDeniedException" Access denied. Check your permissions.

  • ErrCodeDirectoryNotEnabledException "DirectoryNotEnabledException" Operations are only permitted on enabled directories.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource could not be found.

  • ErrCodeFacetValidationException "FacetValidationException" The Facet that you provided was not well formed or could not be validated with the schema.

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/GetLinkAttributes

GetLinkAttributesRequest

func (c *CloudDirectory) GetLinkAttributesRequest(input *GetLinkAttributesInput) (req *request.Request, output *GetLinkAttributesOutput)

GetLinkAttributesRequest generates a "aws/request.Request" representing the client's request for the GetLinkAttributes operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetLinkAttributes for more information on using the GetLinkAttributes API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetLinkAttributesRequest method. req, resp := client.GetLinkAttributesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/GetLinkAttributes

GetLinkAttributesWithContext

func (c *CloudDirectory) GetLinkAttributesWithContext(ctx aws.Context, input *GetLinkAttributesInput, opts ...request.Option) (*GetLinkAttributesOutput, error)

GetLinkAttributesWithContext is the same as GetLinkAttributes with the addition of the ability to pass a context and additional request options.

See GetLinkAttributes for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetObjectAttributes

func (c *CloudDirectory) GetObjectAttributes(input *GetObjectAttributesInput) (*GetObjectAttributesOutput, error)

GetObjectAttributes API operation for Amazon CloudDirectory.

Retrieves attributes within a facet that are associated with an object.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudDirectory's API operation GetObjectAttributes for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServiceException "InternalServiceException" 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 (http://status.aws.amazon.com/) site to see if there are any operational issues with the service.

  • ErrCodeInvalidArnException "InvalidArnException" Indicates that the provided ARN value is not valid.

  • ErrCodeRetryableConflictException "RetryableConflictException" 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.

  • ErrCodeValidationException "ValidationException" Indicates that your request is malformed in some manner. See the exception message.

  • ErrCodeAccessDeniedException "AccessDeniedException" Access denied. Check your permissions.

  • ErrCodeDirectoryNotEnabledException "DirectoryNotEnabledException" Operations are only permitted on enabled directories.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource could not be found.

  • ErrCodeFacetValidationException "FacetValidationException" The Facet that you provided was not well formed or could not be validated with the schema.

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/GetObjectAttributes

GetObjectAttributesRequest

func (c *CloudDirectory) GetObjectAttributesRequest(input *GetObjectAttributesInput) (req *request.Request, output *GetObjectAttributesOutput)

GetObjectAttributesRequest generates a "aws/request.Request" representing the client's request for the GetObjectAttributes operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetObjectAttributes for more information on using the GetObjectAttributes API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetObjectAttributesRequest method. req, resp := client.GetObjectAttributesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/GetObjectAttributes

GetObjectAttributesWithContext

func (c *CloudDirectory) GetObjectAttributesWithContext(ctx aws.Context, input *GetObjectAttributesInput, opts ...request.Option) (*GetObjectAttributesOutput, error)

GetObjectAttributesWithContext is the same as GetObjectAttributes with the addition of the ability to pass a context and additional request options.

See GetObjectAttributes for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetObjectInformation

func (c *CloudDirectory) GetObjectInformation(input *GetObjectInformationInput) (*GetObjectInformationOutput, error)

GetObjectInformation API operation for Amazon CloudDirectory.

Retrieves metadata about an object.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudDirectory's API operation GetObjectInformation for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServiceException "InternalServiceException" 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 (http://status.aws.amazon.com/) site to see if there are any operational issues with the service.

  • ErrCodeInvalidArnException "InvalidArnException" Indicates that the provided ARN value is not valid.

  • ErrCodeRetryableConflictException "RetryableConflictException" 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.

  • ErrCodeValidationException "ValidationException" Indicates that your request is malformed in some manner. See the exception message.

  • ErrCodeAccessDeniedException "AccessDeniedException" Access denied. Check your permissions.

  • ErrCodeDirectoryNotEnabledException "DirectoryNotEnabledException" Operations are only permitted on enabled directories.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource could not be found.

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/GetObjectInformation

GetObjectInformationRequest

func (c *CloudDirectory) GetObjectInformationRequest(input *GetObjectInformationInput) (req *request.Request, output *GetObjectInformationOutput)

GetObjectInformationRequest generates a "aws/request.Request" representing the client's request for the GetObjectInformation operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetObjectInformation for more information on using the GetObjectInformation API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetObjectInformationRequest method. req, resp := client.GetObjectInformationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/GetObjectInformation

GetObjectInformationWithContext

func (c *CloudDirectory) GetObjectInformationWithContext(ctx aws.Context, input *GetObjectInformationInput, opts ...request.Option) (*GetObjectInformationOutput, error)

GetObjectInformationWithContext is the same as GetObjectInformation with the addition of the ability to pass a context and additional request options.

See GetObjectInformation for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetSchemaAsJson

func (c *CloudDirectory) GetSchemaAsJson(input *GetSchemaAsJsonInput) (*GetSchemaAsJsonOutput, error)

GetSchemaAsJson API operation for Amazon CloudDirectory.

Retrieves a JSON representation of the schema. See JSON Schema Format (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/schemas_jsonformat.html#schemas_json) for more information.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudDirectory's API operation GetSchemaAsJson for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServiceException "InternalServiceException" 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 (http://status.aws.amazon.com/) site to see if there are any operational issues with the service.

  • ErrCodeInvalidArnException "InvalidArnException" Indicates that the provided ARN value is not valid.

  • ErrCodeRetryableConflictException "RetryableConflictException" 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.

  • ErrCodeValidationException "ValidationException" Indicates that your request is malformed in some manner. See the exception message.

  • ErrCodeAccessDeniedException "AccessDeniedException" Access denied. Check your permissions.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource could not be found.

  • ErrCodeValidationException "ValidationException" Indicates that your request is malformed in some manner. See the exception message.

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/GetSchemaAsJson

GetSchemaAsJsonRequest

func (c *CloudDirectory) GetSchemaAsJsonRequest(input *GetSchemaAsJsonInput) (req *request.Request, output *GetSchemaAsJsonOutput)

GetSchemaAsJsonRequest generates a "aws/request.Request" representing the client's request for the GetSchemaAsJson operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetSchemaAsJson for more information on using the GetSchemaAsJson API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetSchemaAsJsonRequest method. req, resp := client.GetSchemaAsJsonRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/GetSchemaAsJson

GetSchemaAsJsonWithContext

func (c *CloudDirectory) GetSchemaAsJsonWithContext(ctx aws.Context, input *GetSchemaAsJsonInput, opts ...request.Option) (*GetSchemaAsJsonOutput, error)

GetSchemaAsJsonWithContext is the same as GetSchemaAsJson with the addition of the ability to pass a context and additional request options.

See GetSchemaAsJson for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetTypedLinkFacetInformation

func (c *CloudDirectory) GetTypedLinkFacetInformation(input *GetTypedLinkFacetInformationInput) (*GetTypedLinkFacetInformationOutput, error)

GetTypedLinkFacetInformation API operation for Amazon CloudDirectory.

Returns the identity attribute order for a specific TypedLinkFacet. For more information, see Typed Links (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/directory_objects_links.html#directory_objects_links_typedlink).

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudDirectory's API operation GetTypedLinkFacetInformation for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServiceException "InternalServiceException" 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 (http://status.aws.amazon.com/) site to see if there are any operational issues with the service.

  • ErrCodeInvalidArnException "InvalidArnException" Indicates that the provided ARN value is not valid.

  • ErrCodeRetryableConflictException "RetryableConflictException" 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.

  • ErrCodeValidationException "ValidationException" Indicates that your request is malformed in some manner. See the exception message.

  • ErrCodeAccessDeniedException "AccessDeniedException" Access denied. Check your permissions.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource could not be found.

  • ErrCodeInvalidNextTokenException "InvalidNextTokenException" Indicates that the NextToken value is not valid.

  • ErrCodeFacetNotFoundException "FacetNotFoundException" The specified Facet could not be found.

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/GetTypedLinkFacetInformation

GetTypedLinkFacetInformationRequest

func (c *CloudDirectory) GetTypedLinkFacetInformationRequest(input *GetTypedLinkFacetInformationInput) (req *request.Request, output *GetTypedLinkFacetInformationOutput)

GetTypedLinkFacetInformationRequest generates a "aws/request.Request" representing the client's request for the GetTypedLinkFacetInformation operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetTypedLinkFacetInformation for more information on using the GetTypedLinkFacetInformation API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetTypedLinkFacetInformationRequest method. req, resp := client.GetTypedLinkFacetInformationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/GetTypedLinkFacetInformation

GetTypedLinkFacetInformationWithContext

func (c *CloudDirectory) GetTypedLinkFacetInformationWithContext(ctx aws.Context, input *GetTypedLinkFacetInformationInput, opts ...request.Option) (*GetTypedLinkFacetInformationOutput, error)

GetTypedLinkFacetInformationWithContext is the same as GetTypedLinkFacetInformation with the addition of the ability to pass a context and additional request options.

See GetTypedLinkFacetInformation for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ListAppliedSchemaArns

func (c *CloudDirectory) ListAppliedSchemaArns(input *ListAppliedSchemaArnsInput) (*ListAppliedSchemaArnsOutput, error)

ListAppliedSchemaArns API operation for Amazon CloudDirectory.

Lists schema major versions applied to a directory. If SchemaArn is provided, lists the minor version.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudDirectory's API operation ListAppliedSchemaArns for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServiceException "InternalServiceException" 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 (http://status.aws.amazon.com/) site to see if there are any operational issues with the service.

  • ErrCodeInvalidArnException "InvalidArnException" Indicates that the provided ARN value is not valid.

  • ErrCodeRetryableConflictException "RetryableConflictException" 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.

  • ErrCodeValidationException "ValidationException" Indicates that your request is malformed in some manner. See the exception message.

  • ErrCodeAccessDeniedException "AccessDeniedException" Access denied. Check your permissions.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource could not be found.

  • ErrCodeInvalidNextTokenException "InvalidNextTokenException" Indicates that the NextToken value is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListAppliedSchemaArns

ListAppliedSchemaArnsPages

func (c *CloudDirectory) ListAppliedSchemaArnsPages(input *ListAppliedSchemaArnsInput, fn func(*ListAppliedSchemaArnsOutput, bool) bool) error

ListAppliedSchemaArnsPages iterates over the pages of a ListAppliedSchemaArns operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListAppliedSchemaArns method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListAppliedSchemaArns operation. pageNum := 0 err := client.ListAppliedSchemaArnsPages(params, func(page *ListAppliedSchemaArnsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })

See Also

For more information about using this API, see AWS API Documentation.

ListAppliedSchemaArnsPagesWithContext

func (c *CloudDirectory) ListAppliedSchemaArnsPagesWithContext(ctx aws.Context, input *ListAppliedSchemaArnsInput, fn func(*ListAppliedSchemaArnsOutput, bool) bool, opts ...request.Option) error

ListAppliedSchemaArnsPagesWithContext same as ListAppliedSchemaArnsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ListAppliedSchemaArnsRequest

func (c *CloudDirectory) ListAppliedSchemaArnsRequest(input *ListAppliedSchemaArnsInput) (req *request.Request, output *ListAppliedSchemaArnsOutput)

ListAppliedSchemaArnsRequest generates a "aws/request.Request" representing the client's request for the ListAppliedSchemaArns operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListAppliedSchemaArns for more information on using the ListAppliedSchemaArns API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListAppliedSchemaArnsRequest method. req, resp := client.ListAppliedSchemaArnsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListAppliedSchemaArns

ListAppliedSchemaArnsWithContext

func (c *CloudDirectory) ListAppliedSchemaArnsWithContext(ctx aws.Context, input *ListAppliedSchemaArnsInput, opts ...request.Option) (*ListAppliedSchemaArnsOutput, error)

ListAppliedSchemaArnsWithContext is the same as ListAppliedSchemaArns with the addition of the ability to pass a context and additional request options.

See ListAppliedSchemaArns for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ListAttachedIndices

func (c *CloudDirectory) ListAttachedIndices(input *ListAttachedIndicesInput) (*ListAttachedIndicesOutput, error)

ListAttachedIndices API operation for Amazon CloudDirectory.

Lists indices attached to the specified object.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudDirectory's API operation ListAttachedIndices for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServiceException "InternalServiceException" 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 (http://status.aws.amazon.com/) site to see if there are any operational issues with the service.

  • ErrCodeInvalidArnException "InvalidArnException" Indicates that the provided ARN value is not valid.

  • ErrCodeRetryableConflictException "RetryableConflictException" 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.

  • ErrCodeValidationException "ValidationException" Indicates that your request is malformed in some manner. See the exception message.

  • ErrCodeAccessDeniedException "AccessDeniedException" Access denied. Check your permissions.

  • ErrCodeDirectoryNotEnabledException "DirectoryNotEnabledException" Operations are only permitted on enabled directories.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource could not be found.

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListAttachedIndices

ListAttachedIndicesPages

func (c *CloudDirectory) ListAttachedIndicesPages(input *ListAttachedIndicesInput, fn func(*ListAttachedIndicesOutput, bool) bool) error

ListAttachedIndicesPages iterates over the pages of a ListAttachedIndices operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListAttachedIndices method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListAttachedIndices operation. pageNum := 0 err := client.ListAttachedIndicesPages(params, func(page *ListAttachedIndicesOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })

See Also

For more information about using this API, see AWS API Documentation.

ListAttachedIndicesPagesWithContext

func (c *CloudDirectory) ListAttachedIndicesPagesWithContext(ctx aws.Context, input *ListAttachedIndicesInput, fn func(*ListAttachedIndicesOutput, bool) bool, opts ...request.Option) error

ListAttachedIndicesPagesWithContext same as ListAttachedIndicesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ListAttachedIndicesRequest

func (c *CloudDirectory) ListAttachedIndicesRequest(input *ListAttachedIndicesInput) (req *request.Request, output *ListAttachedIndicesOutput)

ListAttachedIndicesRequest generates a "aws/request.Request" representing the client's request for the ListAttachedIndices operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListAttachedIndices for more information on using the ListAttachedIndices API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListAttachedIndicesRequest method. req, resp := client.ListAttachedIndicesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListAttachedIndices

ListAttachedIndicesWithContext

func (c *CloudDirectory) ListAttachedIndicesWithContext(ctx aws.Context, input *ListAttachedIndicesInput, opts ...request.Option) (*ListAttachedIndicesOutput, error)

ListAttachedIndicesWithContext is the same as ListAttachedIndices with the addition of the ability to pass a context and additional request options.

See ListAttachedIndices for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ListDevelopmentSchemaArns

func (c *CloudDirectory) ListDevelopmentSchemaArns(input *ListDevelopmentSchemaArnsInput) (*ListDevelopmentSchemaArnsOutput, error)

ListDevelopmentSchemaArns API operation for Amazon CloudDirectory.

Retrieves each Amazon Resource Name (ARN) of schemas in the development state.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudDirectory's API operation ListDevelopmentSchemaArns for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServiceException "InternalServiceException" 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 (http://status.aws.amazon.com/) site to see if there are any operational issues with the service.

  • ErrCodeInvalidArnException "InvalidArnException" Indicates that the provided ARN value is not valid.

  • ErrCodeRetryableConflictException "RetryableConflictException" 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.

  • ErrCodeValidationException "ValidationException" Indicates that your request is malformed in some manner. See the exception message.

  • ErrCodeAccessDeniedException "AccessDeniedException" Access denied. Check your permissions.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource could not be found.

  • ErrCodeInvalidNextTokenException "InvalidNextTokenException" Indicates that the NextToken value is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListDevelopmentSchemaArns

ListDevelopmentSchemaArnsPages

func (c *CloudDirectory) ListDevelopmentSchemaArnsPages(input *ListDevelopmentSchemaArnsInput, fn func(*ListDevelopmentSchemaArnsOutput, bool) bool) error

ListDevelopmentSchemaArnsPages iterates over the pages of a ListDevelopmentSchemaArns operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListDevelopmentSchemaArns method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListDevelopmentSchemaArns operation. pageNum := 0 err := client.ListDevelopmentSchemaArnsPages(params, func(page *ListDevelopmentSchemaArnsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })

See Also

For more information about using this API, see AWS API Documentation.

ListDevelopmentSchemaArnsPagesWithContext

func (c *CloudDirectory) ListDevelopmentSchemaArnsPagesWithContext(ctx aws.Context, input *ListDevelopmentSchemaArnsInput, fn func(*ListDevelopmentSchemaArnsOutput, bool) bool, opts ...request.Option) error

ListDevelopmentSchemaArnsPagesWithContext same as ListDevelopmentSchemaArnsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ListDevelopmentSchemaArnsRequest

func (c *CloudDirectory) ListDevelopmentSchemaArnsRequest(input *ListDevelopmentSchemaArnsInput) (req *request.Request, output *ListDevelopmentSchemaArnsOutput)

ListDevelopmentSchemaArnsRequest generates a "aws/request.Request" representing the client's request for the ListDevelopmentSchemaArns operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListDevelopmentSchemaArns for more information on using the ListDevelopmentSchemaArns API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListDevelopmentSchemaArnsRequest method. req, resp := client.ListDevelopmentSchemaArnsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListDevelopmentSchemaArns

ListDevelopmentSchemaArnsWithContext

func (c *CloudDirectory) ListDevelopmentSchemaArnsWithContext(ctx aws.Context, input *ListDevelopmentSchemaArnsInput, opts ...request.Option) (*ListDevelopmentSchemaArnsOutput, error)

ListDevelopmentSchemaArnsWithContext is the same as ListDevelopmentSchemaArns with the addition of the ability to pass a context and additional request options.

See ListDevelopmentSchemaArns for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ListDirectories

func (c *CloudDirectory) ListDirectories(input *ListDirectoriesInput) (*ListDirectoriesOutput, error)

ListDirectories API operation for Amazon CloudDirectory.

Lists directories created within an account.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudDirectory's API operation ListDirectories for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServiceException "InternalServiceException" 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 (http://status.aws.amazon.com/) site to see if there are any operational issues with the service.

  • ErrCodeInvalidArnException "InvalidArnException" Indicates that the provided ARN value is not valid.

  • ErrCodeRetryableConflictException "RetryableConflictException" 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.

  • ErrCodeValidationException "ValidationException" Indicates that your request is malformed in some manner. See the exception message.

  • ErrCodeAccessDeniedException "AccessDeniedException" Access denied. Check your permissions.

  • ErrCodeInvalidNextTokenException "InvalidNextTokenException" Indicates that the NextToken value is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListDirectories

ListDirectoriesPages

func (c *CloudDirectory) ListDirectoriesPages(input *ListDirectoriesInput, fn func(*ListDirectoriesOutput, bool) bool) error

ListDirectoriesPages iterates over the pages of a ListDirectories operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListDirectories method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListDirectories operation. pageNum := 0 err := client.ListDirectoriesPages(params, func(page *ListDirectoriesOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })

See Also

For more information about using this API, see AWS API Documentation.

ListDirectoriesPagesWithContext

func (c *CloudDirectory) ListDirectoriesPagesWithContext(ctx aws.Context, input *ListDirectoriesInput, fn func(*ListDirectoriesOutput, bool) bool, opts ...request.Option) error

ListDirectoriesPagesWithContext same as ListDirectoriesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ListDirectoriesRequest

func (c *CloudDirectory) ListDirectoriesRequest(input *ListDirectoriesInput) (req *request.Request, output *ListDirectoriesOutput)

ListDirectoriesRequest generates a "aws/request.Request" representing the client's request for the ListDirectories operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListDirectories for more information on using the ListDirectories API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListDirectoriesRequest method. req, resp := client.ListDirectoriesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListDirectories

ListDirectoriesWithContext

func (c *CloudDirectory) ListDirectoriesWithContext(ctx aws.Context, input *ListDirectoriesInput, opts ...request.Option) (*ListDirectoriesOutput, error)

ListDirectoriesWithContext is the same as ListDirectories with the addition of the ability to pass a context and additional request options.

See ListDirectories for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ListFacetAttributes

func (c *CloudDirectory) ListFacetAttributes(input *ListFacetAttributesInput) (*ListFacetAttributesOutput, error)

ListFacetAttributes API operation for Amazon CloudDirectory.

Retrieves attributes attached to the facet.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudDirectory's API operation ListFacetAttributes for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServiceException "InternalServiceException" 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 (http://status.aws.amazon.com/) site to see if there are any operational issues with the service.

  • ErrCodeInvalidArnException "InvalidArnException" Indicates that the provided ARN value is not valid.

  • ErrCodeRetryableConflictException "RetryableConflictException" 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.

  • ErrCodeValidationException "ValidationException" Indicates that your request is malformed in some manner. See the exception message.

  • ErrCodeAccessDeniedException "AccessDeniedException" Access denied. Check your permissions.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource could not be found.

  • ErrCodeFacetNotFoundException "FacetNotFoundException" The specified Facet could not be found.

  • ErrCodeInvalidNextTokenException "InvalidNextTokenException" Indicates that the NextToken value is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListFacetAttributes

ListFacetAttributesPages

func (c *CloudDirectory) ListFacetAttributesPages(input *ListFacetAttributesInput, fn func(*ListFacetAttributesOutput, bool) bool) error

ListFacetAttributesPages iterates over the pages of a ListFacetAttributes operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListFacetAttributes method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListFacetAttributes operation. pageNum := 0 err := client.ListFacetAttributesPages(params, func(page *ListFacetAttributesOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })

See Also

For more information about using this API, see AWS API Documentation.

ListFacetAttributesPagesWithContext

func (c *CloudDirectory) ListFacetAttributesPagesWithContext(ctx aws.Context, input *ListFacetAttributesInput, fn func(*ListFacetAttributesOutput, bool) bool, opts ...request.Option) error

ListFacetAttributesPagesWithContext same as ListFacetAttributesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ListFacetAttributesRequest

func (c *CloudDirectory) ListFacetAttributesRequest(input *ListFacetAttributesInput) (req *request.Request, output *ListFacetAttributesOutput)

ListFacetAttributesRequest generates a "aws/request.Request" representing the client's request for the ListFacetAttributes operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListFacetAttributes for more information on using the ListFacetAttributes API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListFacetAttributesRequest method. req, resp := client.ListFacetAttributesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListFacetAttributes

ListFacetAttributesWithContext

func (c *CloudDirectory) ListFacetAttributesWithContext(ctx aws.Context, input *ListFacetAttributesInput, opts ...request.Option) (*ListFacetAttributesOutput, error)

ListFacetAttributesWithContext is the same as ListFacetAttributes with the addition of the ability to pass a context and additional request options.

See ListFacetAttributes for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ListFacetNames

func (c *CloudDirectory) ListFacetNames(input *ListFacetNamesInput) (*ListFacetNamesOutput, error)

ListFacetNames API operation for Amazon CloudDirectory.

Retrieves the names of facets that exist in a schema.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudDirectory's API operation ListFacetNames for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServiceException "InternalServiceException" 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 (http://status.aws.amazon.com/) site to see if there are any operational issues with the service.

  • ErrCodeInvalidArnException "InvalidArnException" Indicates that the provided ARN value is not valid.

  • ErrCodeRetryableConflictException "RetryableConflictException" 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.

  • ErrCodeValidationException "ValidationException" Indicates that your request is malformed in some manner. See the exception message.

  • ErrCodeAccessDeniedException "AccessDeniedException" Access denied. Check your permissions.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource could not be found.

  • ErrCodeInvalidNextTokenException "InvalidNextTokenException" Indicates that the NextToken value is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListFacetNames

ListFacetNamesPages

func (c *CloudDirectory) ListFacetNamesPages(input *ListFacetNamesInput, fn func(*ListFacetNamesOutput, bool) bool) error

ListFacetNamesPages iterates over the pages of a ListFacetNames operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListFacetNames method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListFacetNames operation. pageNum := 0 err := client.ListFacetNamesPages(params, func(page *ListFacetNamesOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })

See Also

For more information about using this API, see AWS API Documentation.

ListFacetNamesPagesWithContext

func (c *CloudDirectory) ListFacetNamesPagesWithContext(ctx aws.Context, input *ListFacetNamesInput, fn func(*ListFacetNamesOutput, bool) bool, opts ...request.Option) error

ListFacetNamesPagesWithContext same as ListFacetNamesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ListFacetNamesRequest

func (c *CloudDirectory) ListFacetNamesRequest(input *ListFacetNamesInput) (req *request.Request, output *ListFacetNamesOutput)

ListFacetNamesRequest generates a "aws/request.Request" representing the client's request for the ListFacetNames operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListFacetNames for more information on using the ListFacetNames API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListFacetNamesRequest method. req, resp := client.ListFacetNamesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListFacetNames

ListFacetNamesWithContext

func (c *CloudDirectory) ListFacetNamesWithContext(ctx aws.Context, input *ListFacetNamesInput, opts ...request.Option) (*ListFacetNamesOutput, error)

ListFacetNamesWithContext is the same as ListFacetNames with the addition of the ability to pass a context and additional request options.

See ListFacetNames for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

func (c *CloudDirectory) ListIncomingTypedLinks(input *ListIncomingTypedLinksInput) (*ListIncomingTypedLinksOutput, error)

ListIncomingTypedLinks API operation for Amazon CloudDirectory.

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 (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/directory_objects_links.html#directory_objects_links_typedlink).

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudDirectory's API operation ListIncomingTypedLinks for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServiceException "InternalServiceException" 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 (http://status.aws.amazon.com/) site to see if there are any operational issues with the service.

  • ErrCodeInvalidArnException "InvalidArnException" Indicates that the provided ARN value is not valid.

  • ErrCodeRetryableConflictException "RetryableConflictException" 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.

  • ErrCodeValidationException "ValidationException" Indicates that your request is malformed in some manner. See the exception message.

  • ErrCodeAccessDeniedException "AccessDeniedException" Access denied. Check your permissions.

  • ErrCodeDirectoryNotEnabledException "DirectoryNotEnabledException" Operations are only permitted on enabled directories.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource could not be found.

  • ErrCodeInvalidNextTokenException "InvalidNextTokenException" Indicates that the NextToken value is not valid.

  • ErrCodeFacetValidationException "FacetValidationException" The Facet that you provided was not well formed or could not be validated with the schema.

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListIncomingTypedLinks

ListIncomingTypedLinksRequest

func (c *CloudDirectory) ListIncomingTypedLinksRequest(input *ListIncomingTypedLinksInput) (req *request.Request, output *ListIncomingTypedLinksOutput)

ListIncomingTypedLinksRequest generates a "aws/request.Request" representing the client's request for the ListIncomingTypedLinks operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListIncomingTypedLinks for more information on using the ListIncomingTypedLinks API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListIncomingTypedLinksRequest method. req, resp := client.ListIncomingTypedLinksRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListIncomingTypedLinks

ListIncomingTypedLinksWithContext

func (c *CloudDirectory) ListIncomingTypedLinksWithContext(ctx aws.Context, input *ListIncomingTypedLinksInput, opts ...request.Option) (*ListIncomingTypedLinksOutput, error)

ListIncomingTypedLinksWithContext is the same as ListIncomingTypedLinks with the addition of the ability to pass a context and additional request options.

See ListIncomingTypedLinks for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ListIndex

func (c *CloudDirectory) ListIndex(input *ListIndexInput) (*ListIndexOutput, error)

ListIndex API operation for Amazon CloudDirectory.

Lists objects attached to the specified index.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudDirectory's API operation ListIndex for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServiceException "InternalServiceException" 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 (http://status.aws.amazon.com/) site to see if there are any operational issues with the service.

  • ErrCodeInvalidArnException "InvalidArnException" Indicates that the provided ARN value is not valid.

  • ErrCodeRetryableConflictException "RetryableConflictException" 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.

  • ErrCodeFacetValidationException "FacetValidationException" The Facet that you provided was not well formed or could not be validated with the schema.

  • ErrCodeValidationException "ValidationException" Indicates that your request is malformed in some manner. See the exception message.

  • ErrCodeAccessDeniedException "AccessDeniedException" Access denied. Check your permissions.

  • ErrCodeDirectoryNotEnabledException "DirectoryNotEnabledException" Operations are only permitted on enabled directories.

  • ErrCodeInvalidNextTokenException "InvalidNextTokenException" Indicates that the NextToken value is not valid.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource could not be found.

  • ErrCodeNotIndexException "NotIndexException" Indicates that the requested operation can only operate on index objects.

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListIndex

ListIndexPages

func (c *CloudDirectory) ListIndexPages(input *ListIndexInput, fn func(*ListIndexOutput, bool) bool) error

ListIndexPages iterates over the pages of a ListIndex operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListIndex method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListIndex operation. pageNum := 0 err := client.ListIndexPages(params, func(page *ListIndexOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })

See Also

For more information about using this API, see AWS API Documentation.

ListIndexPagesWithContext

func (c *CloudDirectory) ListIndexPagesWithContext(ctx aws.Context, input *ListIndexInput, fn func(*ListIndexOutput, bool) bool, opts ...request.Option) error

ListIndexPagesWithContext same as ListIndexPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ListIndexRequest

func (c *CloudDirectory) ListIndexRequest(input *ListIndexInput) (req *request.Request, output *ListIndexOutput)

ListIndexRequest generates a "aws/request.Request" representing the client's request for the ListIndex operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListIndex for more information on using the ListIndex API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListIndexRequest method. req, resp := client.ListIndexRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListIndex

ListIndexWithContext

func (c *CloudDirectory) ListIndexWithContext(ctx aws.Context, input *ListIndexInput, opts ...request.Option) (*ListIndexOutput, error)

ListIndexWithContext is the same as ListIndex with the addition of the ability to pass a context and additional request options.

See ListIndex for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ListManagedSchemaArns

func (c *CloudDirectory) ListManagedSchemaArns(input *ListManagedSchemaArnsInput) (*ListManagedSchemaArnsOutput, error)

ListManagedSchemaArns API operation for Amazon CloudDirectory.

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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudDirectory's API operation ListManagedSchemaArns for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServiceException "InternalServiceException" 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 (http://status.aws.amazon.com/) site to see if there are any operational issues with the service.

  • ErrCodeInvalidArnException "InvalidArnException" Indicates that the provided ARN value is not valid.

  • ErrCodeValidationException "ValidationException" Indicates that your request is malformed in some manner. See the exception message.

  • ErrCodeAccessDeniedException "AccessDeniedException" Access denied. Check your permissions.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource could not be found.

  • ErrCodeInvalidNextTokenException "InvalidNextTokenException" Indicates that the NextToken value is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListManagedSchemaArns

ListManagedSchemaArnsPages

func (c *CloudDirectory) ListManagedSchemaArnsPages(input *ListManagedSchemaArnsInput, fn func(*ListManagedSchemaArnsOutput, bool) bool) error

ListManagedSchemaArnsPages iterates over the pages of a ListManagedSchemaArns operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListManagedSchemaArns method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListManagedSchemaArns operation. pageNum := 0 err := client.ListManagedSchemaArnsPages(params, func(page *ListManagedSchemaArnsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })

See Also

For more information about using this API, see AWS API Documentation.

ListManagedSchemaArnsPagesWithContext

func (c *CloudDirectory) ListManagedSchemaArnsPagesWithContext(ctx aws.Context, input *ListManagedSchemaArnsInput, fn func(*ListManagedSchemaArnsOutput, bool) bool, opts ...request.Option) error

ListManagedSchemaArnsPagesWithContext same as ListManagedSchemaArnsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ListManagedSchemaArnsRequest

func (c *CloudDirectory) ListManagedSchemaArnsRequest(input *ListManagedSchemaArnsInput) (req *request.Request, output *ListManagedSchemaArnsOutput)

ListManagedSchemaArnsRequest generates a "aws/request.Request" representing the client's request for the ListManagedSchemaArns operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListManagedSchemaArns for more information on using the ListManagedSchemaArns API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListManagedSchemaArnsRequest method. req, resp := client.ListManagedSchemaArnsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListManagedSchemaArns

ListManagedSchemaArnsWithContext

func (c *CloudDirectory) ListManagedSchemaArnsWithContext(ctx aws.Context, input *ListManagedSchemaArnsInput, opts ...request.Option) (*ListManagedSchemaArnsOutput, error)

ListManagedSchemaArnsWithContext is the same as ListManagedSchemaArns with the addition of the ability to pass a context and additional request options.

See ListManagedSchemaArns for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ListObjectAttributes

func (c *CloudDirectory) ListObjectAttributes(input *ListObjectAttributesInput) (*ListObjectAttributesOutput, error)

ListObjectAttributes API operation for Amazon CloudDirectory.

Lists all attributes that are associated with an object.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudDirectory's API operation ListObjectAttributes for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServiceException "InternalServiceException" 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 (http://status.aws.amazon.com/) site to see if there are any operational issues with the service.

  • ErrCodeInvalidArnException "InvalidArnException" Indicates that the provided ARN value is not valid.

  • ErrCodeRetryableConflictException "RetryableConflictException" 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.

  • ErrCodeValidationException "ValidationException" Indicates that your request is malformed in some manner. See the exception message.

  • ErrCodeAccessDeniedException "AccessDeniedException" Access denied. Check your permissions.

  • ErrCodeDirectoryNotEnabledException "DirectoryNotEnabledException" Operations are only permitted on enabled directories.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource could not be found.

  • ErrCodeInvalidNextTokenException "InvalidNextTokenException" Indicates that the NextToken value is not valid.

  • ErrCodeFacetValidationException "FacetValidationException" The Facet that you provided was not well formed or could not be validated with the schema.

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListObjectAttributes

ListObjectAttributesPages

func (c *CloudDirectory) ListObjectAttributesPages(input *ListObjectAttributesInput, fn func(*ListObjectAttributesOutput, bool) bool) error

ListObjectAttributesPages iterates over the pages of a ListObjectAttributes operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListObjectAttributes method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListObjectAttributes operation. pageNum := 0 err := client.ListObjectAttributesPages(params, func(page *ListObjectAttributesOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })

See Also

For more information about using this API, see AWS API Documentation.

ListObjectAttributesPagesWithContext

func (c *CloudDirectory) ListObjectAttributesPagesWithContext(ctx aws.Context, input *ListObjectAttributesInput, fn func(*ListObjectAttributesOutput, bool) bool, opts ...request.Option) error

ListObjectAttributesPagesWithContext same as ListObjectAttributesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ListObjectAttributesRequest

func (c *CloudDirectory) ListObjectAttributesRequest(input *ListObjectAttributesInput) (req *request.Request, output *ListObjectAttributesOutput)

ListObjectAttributesRequest generates a "aws/request.Request" representing the client's request for the ListObjectAttributes operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListObjectAttributes for more information on using the ListObjectAttributes API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListObjectAttributesRequest method. req, resp := client.ListObjectAttributesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListObjectAttributes

ListObjectAttributesWithContext

func (c *CloudDirectory) ListObjectAttributesWithContext(ctx aws.Context, input *ListObjectAttributesInput, opts ...request.Option) (*ListObjectAttributesOutput, error)

ListObjectAttributesWithContext is the same as ListObjectAttributes with the addition of the ability to pass a context and additional request options.

See ListObjectAttributes for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ListObjectChildren

func (c *CloudDirectory) ListObjectChildren(input *ListObjectChildrenInput) (*ListObjectChildrenOutput, error)

ListObjectChildren API operation for Amazon CloudDirectory.

Returns a paginated list of child objects that are associated with a given object.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudDirectory's API operation ListObjectChildren for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServiceException "InternalServiceException" 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 (http://status.aws.amazon.com/) site to see if there are any operational issues with the service.

  • ErrCodeInvalidArnException "InvalidArnException" Indicates that the provided ARN value is not valid.

  • ErrCodeRetryableConflictException "RetryableConflictException" 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.

  • ErrCodeValidationException "ValidationException" Indicates that your request is malformed in some manner. See the exception message.

  • ErrCodeAccessDeniedException "AccessDeniedException" Access denied. Check your permissions.

  • ErrCodeDirectoryNotEnabledException "DirectoryNotEnabledException" Operations are only permitted on enabled directories.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource could not be found.

  • ErrCodeInvalidNextTokenException "InvalidNextTokenException" Indicates that the NextToken value is not valid.

  • ErrCodeNotNodeException "NotNodeException" Occurs when any invalid operations are performed on an object that is not a node, such as calling ListObjectChildren for a leaf node object.

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListObjectChildren

ListObjectChildrenPages

func (c *CloudDirectory) ListObjectChildrenPages(input *ListObjectChildrenInput, fn func(*ListObjectChildrenOutput, bool) bool) error

ListObjectChildrenPages iterates over the pages of a ListObjectChildren operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListObjectChildren method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListObjectChildren operation. pageNum := 0 err := client.ListObjectChildrenPages(params, func(page *ListObjectChildrenOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })

See Also

For more information about using this API, see AWS API Documentation.

ListObjectChildrenPagesWithContext

func (c *CloudDirectory) ListObjectChildrenPagesWithContext(ctx aws.Context, input *ListObjectChildrenInput, fn func(*ListObjectChildrenOutput, bool) bool, opts ...request.Option) error

ListObjectChildrenPagesWithContext same as ListObjectChildrenPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ListObjectChildrenRequest

func (c *CloudDirectory) ListObjectChildrenRequest(input *ListObjectChildrenInput) (req *request.Request, output *ListObjectChildrenOutput)

ListObjectChildrenRequest generates a "aws/request.Request" representing the client's request for the ListObjectChildren operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListObjectChildren for more information on using the ListObjectChildren API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListObjectChildrenRequest method. req, resp := client.ListObjectChildrenRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListObjectChildren

ListObjectChildrenWithContext

func (c *CloudDirectory) ListObjectChildrenWithContext(ctx aws.Context, input *ListObjectChildrenInput, opts ...request.Option) (*ListObjectChildrenOutput, error)

ListObjectChildrenWithContext is the same as ListObjectChildren with the addition of the ability to pass a context and additional request options.

See ListObjectChildren for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ListObjectParentPaths

func (c *CloudDirectory) ListObjectParentPaths(input *ListObjectParentPathsInput) (*ListObjectParentPathsOutput, error)

ListObjectParentPaths API operation for Amazon CloudDirectory.

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 (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/key_concepts_directorystructure.html).

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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudDirectory's API operation ListObjectParentPaths for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServiceException "InternalServiceException" 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 (http://status.aws.amazon.com/) site to see if there are any operational issues with the service.

  • ErrCodeInvalidArnException "InvalidArnException" Indicates that the provided ARN value is not valid.

  • ErrCodeRetryableConflictException "RetryableConflictException" 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.

  • ErrCodeValidationException "ValidationException" Indicates that your request is malformed in some manner. See the exception message.

  • ErrCodeAccessDeniedException "AccessDeniedException" Access denied. Check your permissions.

  • ErrCodeDirectoryNotEnabledException "DirectoryNotEnabledException" Operations are only permitted on enabled directories.

  • ErrCodeInvalidNextTokenException "InvalidNextTokenException" Indicates that the NextToken value is not valid.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource could not be found.

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListObjectParentPaths

ListObjectParentPathsPages

func (c *CloudDirectory) ListObjectParentPathsPages(input *ListObjectParentPathsInput, fn func(*ListObjectParentPathsOutput, bool) bool) error

ListObjectParentPathsPages iterates over the pages of a ListObjectParentPaths operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListObjectParentPaths method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListObjectParentPaths operation. pageNum := 0 err := client.ListObjectParentPathsPages(params, func(page *ListObjectParentPathsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })

See Also

For more information about using this API, see AWS API Documentation.

ListObjectParentPathsPagesWithContext

func (c *CloudDirectory) ListObjectParentPathsPagesWithContext(ctx aws.Context, input *ListObjectParentPathsInput, fn func(*ListObjectParentPathsOutput, bool) bool, opts ...request.Option) error

ListObjectParentPathsPagesWithContext same as ListObjectParentPathsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ListObjectParentPathsRequest

func (c *CloudDirectory) ListObjectParentPathsRequest(input *ListObjectParentPathsInput) (req *request.Request, output *ListObjectParentPathsOutput)

ListObjectParentPathsRequest generates a "aws/request.Request" representing the client's request for the ListObjectParentPaths operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListObjectParentPaths for more information on using the ListObjectParentPaths API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListObjectParentPathsRequest method. req, resp := client.ListObjectParentPathsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListObjectParentPaths

ListObjectParentPathsWithContext

func (c *CloudDirectory) ListObjectParentPathsWithContext(ctx aws.Context, input *ListObjectParentPathsInput, opts ...request.Option) (*ListObjectParentPathsOutput, error)

ListObjectParentPathsWithContext is the same as ListObjectParentPaths with the addition of the ability to pass a context and additional request options.

See ListObjectParentPaths for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ListObjectParents

func (c *CloudDirectory) ListObjectParents(input *ListObjectParentsInput) (*ListObjectParentsOutput, error)

ListObjectParents API operation for Amazon CloudDirectory.

Lists parent objects that are associated with a given object in pagination fashion.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudDirectory's API operation ListObjectParents for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServiceException "InternalServiceException" 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 (http://status.aws.amazon.com/) site to see if there are any operational issues with the service.

  • ErrCodeInvalidArnException "InvalidArnException" Indicates that the provided ARN value is not valid.

  • ErrCodeRetryableConflictException "RetryableConflictException" 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.

  • ErrCodeValidationException "ValidationException" Indicates that your request is malformed in some manner. See the exception message.

  • ErrCodeAccessDeniedException "AccessDeniedException" Access denied. Check your permissions.

  • ErrCodeDirectoryNotEnabledException "DirectoryNotEnabledException" Operations are only permitted on enabled directories.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource could not be found.

  • ErrCodeInvalidNextTokenException "InvalidNextTokenException" Indicates that the NextToken value is not valid.

  • ErrCodeCannotListParentOfRootException "CannotListParentOfRootException" Cannot list the parents of a Directory root.

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListObjectParents

ListObjectParentsPages

func (c *CloudDirectory) ListObjectParentsPages(input *ListObjectParentsInput, fn func(*ListObjectParentsOutput, bool) bool) error

ListObjectParentsPages iterates over the pages of a ListObjectParents operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListObjectParents method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListObjectParents operation. pageNum := 0 err := client.ListObjectParentsPages(params, func(page *ListObjectParentsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })

See Also

For more information about using this API, see AWS API Documentation.

ListObjectParentsPagesWithContext

func (c *CloudDirectory) ListObjectParentsPagesWithContext(ctx aws.Context, input *ListObjectParentsInput, fn func(*ListObjectParentsOutput, bool) bool, opts ...request.Option) error

ListObjectParentsPagesWithContext same as ListObjectParentsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ListObjectParentsRequest

func (c *CloudDirectory) ListObjectParentsRequest(input *ListObjectParentsInput) (req *request.Request, output *ListObjectParentsOutput)

ListObjectParentsRequest generates a "aws/request.Request" representing the client's request for the ListObjectParents operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListObjectParents for more information on using the ListObjectParents API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListObjectParentsRequest method. req, resp := client.ListObjectParentsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListObjectParents

ListObjectParentsWithContext

func (c *CloudDirectory) ListObjectParentsWithContext(ctx aws.Context, input *ListObjectParentsInput, opts ...request.Option) (*ListObjectParentsOutput, error)

ListObjectParentsWithContext is the same as ListObjectParents with the addition of the ability to pass a context and additional request options.

See ListObjectParents for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ListObjectPolicies

func (c *CloudDirectory) ListObjectPolicies(input *ListObjectPoliciesInput) (*ListObjectPoliciesOutput, error)

ListObjectPolicies API operation for Amazon CloudDirectory.

Returns policies attached to an object in pagination fashion.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudDirectory's API operation ListObjectPolicies for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServiceException "InternalServiceException" 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 (http://status.aws.amazon.com/) site to see if there are any operational issues with the service.

  • ErrCodeInvalidArnException "InvalidArnException" Indicates that the provided ARN value is not valid.

  • ErrCodeRetryableConflictException "RetryableConflictException" 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.

  • ErrCodeValidationException "ValidationException" Indicates that your request is malformed in some manner. See the exception message.

  • ErrCodeAccessDeniedException "AccessDeniedException" Access denied. Check your permissions.

  • ErrCodeDirectoryNotEnabledException "DirectoryNotEnabledException" Operations are only permitted on enabled directories.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource could not be found.

  • ErrCodeInvalidNextTokenException "InvalidNextTokenException" Indicates that the NextToken value is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListObjectPolicies

ListObjectPoliciesPages

func (c *CloudDirectory) ListObjectPoliciesPages(input *ListObjectPoliciesInput, fn func(*ListObjectPoliciesOutput, bool) bool) error

ListObjectPoliciesPages iterates over the pages of a ListObjectPolicies operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListObjectPolicies method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListObjectPolicies operation. pageNum := 0 err := client.ListObjectPoliciesPages(params, func(page *ListObjectPoliciesOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })

See Also

For more information about using this API, see AWS API Documentation.

ListObjectPoliciesPagesWithContext

func (c *CloudDirectory) ListObjectPoliciesPagesWithContext(ctx aws.Context, input *ListObjectPoliciesInput, fn func(*ListObjectPoliciesOutput, bool) bool, opts ...request.Option) error

ListObjectPoliciesPagesWithContext same as ListObjectPoliciesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ListObjectPoliciesRequest

func (c *CloudDirectory) ListObjectPoliciesRequest(input *ListObjectPoliciesInput) (req *request.Request, output *ListObjectPoliciesOutput)

ListObjectPoliciesRequest generates a "aws/request.Request" representing the client's request for the ListObjectPolicies operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListObjectPolicies for more information on using the ListObjectPolicies API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListObjectPoliciesRequest method. req, resp := client.ListObjectPoliciesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListObjectPolicies

ListObjectPoliciesWithContext

func (c *CloudDirectory) ListObjectPoliciesWithContext(ctx aws.Context, input *ListObjectPoliciesInput, opts ...request.Option) (*ListObjectPoliciesOutput, error)

ListObjectPoliciesWithContext is the same as ListObjectPolicies with the addition of the ability to pass a context and additional request options.

See ListObjectPolicies for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

func (c *CloudDirectory) ListOutgoingTypedLinks(input *ListOutgoingTypedLinksInput) (*ListOutgoingTypedLinksOutput, error)

ListOutgoingTypedLinks API operation for Amazon CloudDirectory.

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 (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/directory_objects_links.html#directory_objects_links_typedlink).

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudDirectory's API operation ListOutgoingTypedLinks for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServiceException "InternalServiceException" 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 (http://status.aws.amazon.com/) site to see if there are any operational issues with the service.

  • ErrCodeInvalidArnException "InvalidArnException" Indicates that the provided ARN value is not valid.

  • ErrCodeRetryableConflictException "RetryableConflictException" 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.

  • ErrCodeValidationException "ValidationException" Indicates that your request is malformed in some manner. See the exception message.

  • ErrCodeAccessDeniedException "AccessDeniedException" Access denied. Check your permissions.

  • ErrCodeDirectoryNotEnabledException "DirectoryNotEnabledException" Operations are only permitted on enabled directories.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource could not be found.

  • ErrCodeInvalidNextTokenException "InvalidNextTokenException" Indicates that the NextToken value is not valid.

  • ErrCodeFacetValidationException "FacetValidationException" The Facet that you provided was not well formed or could not be validated with the schema.

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListOutgoingTypedLinks

ListOutgoingTypedLinksRequest

func (c *CloudDirectory) ListOutgoingTypedLinksRequest(input *ListOutgoingTypedLinksInput) (req *request.Request, output *ListOutgoingTypedLinksOutput)

ListOutgoingTypedLinksRequest generates a "aws/request.Request" representing the client's request for the ListOutgoingTypedLinks operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListOutgoingTypedLinks for more information on using the ListOutgoingTypedLinks API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListOutgoingTypedLinksRequest method. req, resp := client.ListOutgoingTypedLinksRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListOutgoingTypedLinks

ListOutgoingTypedLinksWithContext

func (c *CloudDirectory) ListOutgoingTypedLinksWithContext(ctx aws.Context, input *ListOutgoingTypedLinksInput, opts ...request.Option) (*ListOutgoingTypedLinksOutput, error)

ListOutgoingTypedLinksWithContext is the same as ListOutgoingTypedLinks with the addition of the ability to pass a context and additional request options.

See ListOutgoingTypedLinks for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ListPolicyAttachments

func (c *CloudDirectory) ListPolicyAttachments(input *ListPolicyAttachmentsInput) (*ListPolicyAttachmentsOutput, error)

ListPolicyAttachments API operation for Amazon CloudDirectory.

Returns all of the ObjectIdentifiers to which a given policy is attached.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudDirectory's API operation ListPolicyAttachments for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServiceException "InternalServiceException" 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 (http://status.aws.amazon.com/) site to see if there are any operational issues with the service.

  • ErrCodeInvalidArnException "InvalidArnException" Indicates that the provided ARN value is not valid.

  • ErrCodeRetryableConflictException "RetryableConflictException" 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.

  • ErrCodeValidationException "ValidationException" Indicates that your request is malformed in some manner. See the exception message.

  • ErrCodeAccessDeniedException "AccessDeniedException" Access denied. Check your permissions.

  • ErrCodeDirectoryNotEnabledException "DirectoryNotEnabledException" Operations are only permitted on enabled directories.

  • ErrCodeInvalidNextTokenException "InvalidNextTokenException" Indicates that the NextToken value is not valid.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource could not be found.

  • ErrCodeNotPolicyException "NotPolicyException" Indicates that the requested operation can only operate on policy objects.

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListPolicyAttachments

ListPolicyAttachmentsPages

func (c *CloudDirectory) ListPolicyAttachmentsPages(input *ListPolicyAttachmentsInput, fn func(*ListPolicyAttachmentsOutput, bool) bool) error

ListPolicyAttachmentsPages iterates over the pages of a ListPolicyAttachments operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListPolicyAttachments method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListPolicyAttachments operation. pageNum := 0 err := client.ListPolicyAttachmentsPages(params, func(page *ListPolicyAttachmentsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })

See Also

For more information about using this API, see AWS API Documentation.

ListPolicyAttachmentsPagesWithContext

func (c *CloudDirectory) ListPolicyAttachmentsPagesWithContext(ctx aws.Context, input *ListPolicyAttachmentsInput, fn func(*ListPolicyAttachmentsOutput, bool) bool, opts ...request.Option) error

ListPolicyAttachmentsPagesWithContext same as ListPolicyAttachmentsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ListPolicyAttachmentsRequest

func (c *CloudDirectory) ListPolicyAttachmentsRequest(input *ListPolicyAttachmentsInput) (req *request.Request, output *ListPolicyAttachmentsOutput)

ListPolicyAttachmentsRequest generates a "aws/request.Request" representing the client's request for the ListPolicyAttachments operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListPolicyAttachments for more information on using the ListPolicyAttachments API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListPolicyAttachmentsRequest method. req, resp := client.ListPolicyAttachmentsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListPolicyAttachments

ListPolicyAttachmentsWithContext

func (c *CloudDirectory) ListPolicyAttachmentsWithContext(ctx aws.Context, input *ListPolicyAttachmentsInput, opts ...request.Option) (*ListPolicyAttachmentsOutput, error)

ListPolicyAttachmentsWithContext is the same as ListPolicyAttachments with the addition of the ability to pass a context and additional request options.

See ListPolicyAttachments for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ListPublishedSchemaArns

func (c *CloudDirectory) ListPublishedSchemaArns(input *ListPublishedSchemaArnsInput) (*ListPublishedSchemaArnsOutput, error)

ListPublishedSchemaArns API operation for Amazon CloudDirectory.

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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudDirectory's API operation ListPublishedSchemaArns for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServiceException "InternalServiceException" 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 (http://status.aws.amazon.com/) site to see if there are any operational issues with the service.

  • ErrCodeInvalidArnException "InvalidArnException" Indicates that the provided ARN value is not valid.

  • ErrCodeRetryableConflictException "RetryableConflictException" 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.

  • ErrCodeValidationException "ValidationException" Indicates that your request is malformed in some manner. See the exception message.

  • ErrCodeAccessDeniedException "AccessDeniedException" Access denied. Check your permissions.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource could not be found.

  • ErrCodeInvalidNextTokenException "InvalidNextTokenException" Indicates that the NextToken value is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListPublishedSchemaArns

ListPublishedSchemaArnsPages

func (c *CloudDirectory) ListPublishedSchemaArnsPages(input *ListPublishedSchemaArnsInput, fn func(*ListPublishedSchemaArnsOutput, bool) bool) error

ListPublishedSchemaArnsPages iterates over the pages of a ListPublishedSchemaArns operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListPublishedSchemaArns method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListPublishedSchemaArns operation. pageNum := 0 err := client.ListPublishedSchemaArnsPages(params, func(page *ListPublishedSchemaArnsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })

See Also

For more information about using this API, see AWS API Documentation.

ListPublishedSchemaArnsPagesWithContext

func (c *CloudDirectory) ListPublishedSchemaArnsPagesWithContext(ctx aws.Context, input *ListPublishedSchemaArnsInput, fn func(*ListPublishedSchemaArnsOutput, bool) bool, opts ...request.Option) error

ListPublishedSchemaArnsPagesWithContext same as ListPublishedSchemaArnsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ListPublishedSchemaArnsRequest

func (c *CloudDirectory) ListPublishedSchemaArnsRequest(input *ListPublishedSchemaArnsInput) (req *request.Request, output *ListPublishedSchemaArnsOutput)

ListPublishedSchemaArnsRequest generates a "aws/request.Request" representing the client's request for the ListPublishedSchemaArns operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListPublishedSchemaArns for more information on using the ListPublishedSchemaArns API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListPublishedSchemaArnsRequest method. req, resp := client.ListPublishedSchemaArnsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListPublishedSchemaArns

ListPublishedSchemaArnsWithContext

func (c *CloudDirectory) ListPublishedSchemaArnsWithContext(ctx aws.Context, input *ListPublishedSchemaArnsInput, opts ...request.Option) (*ListPublishedSchemaArnsOutput, error)

ListPublishedSchemaArnsWithContext is the same as ListPublishedSchemaArns with the addition of the ability to pass a context and additional request options.

See ListPublishedSchemaArns for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ListTagsForResource

func (c *CloudDirectory) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)

ListTagsForResource API operation for Amazon CloudDirectory.

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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudDirectory's API operation ListTagsForResource for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServiceException "InternalServiceException" 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 (http://status.aws.amazon.com/) site to see if there are any operational issues with the service.

  • ErrCodeInvalidArnException "InvalidArnException" Indicates that the provided ARN value is not valid.

  • ErrCodeRetryableConflictException "RetryableConflictException" 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.

  • ErrCodeValidationException "ValidationException" Indicates that your request is malformed in some manner. See the exception message.

  • ErrCodeAccessDeniedException "AccessDeniedException" Access denied. Check your permissions.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource could not be found.

  • ErrCodeInvalidTaggingRequestException "InvalidTaggingRequestException" 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.

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListTagsForResource

ListTagsForResourcePages

func (c *CloudDirectory) ListTagsForResourcePages(input *ListTagsForResourceInput, fn func(*ListTagsForResourceOutput, bool) bool) error

ListTagsForResourcePages iterates over the pages of a ListTagsForResource operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListTagsForResource method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListTagsForResource operation. pageNum := 0 err := client.ListTagsForResourcePages(params, func(page *ListTagsForResourceOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })

See Also

For more information about using this API, see AWS API Documentation.

ListTagsForResourcePagesWithContext

func (c *CloudDirectory) ListTagsForResourcePagesWithContext(ctx aws.Context, input *ListTagsForResourceInput, fn func(*ListTagsForResourceOutput, bool) bool, opts ...request.Option) error

ListTagsForResourcePagesWithContext same as ListTagsForResourcePages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ListTagsForResourceRequest

func (c *CloudDirectory) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)

ListTagsForResourceRequest generates a "aws/request.Request" representing the client's request for the ListTagsForResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListTagsForResource for more information on using the ListTagsForResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListTagsForResourceRequest method. req, resp := client.ListTagsForResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListTagsForResource

ListTagsForResourceWithContext

func (c *CloudDirectory) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)

ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of the ability to pass a context and additional request options.

See ListTagsForResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ListTypedLinkFacetAttributes

func (c *CloudDirectory) ListTypedLinkFacetAttributes(input *ListTypedLinkFacetAttributesInput) (*ListTypedLinkFacetAttributesOutput, error)

ListTypedLinkFacetAttributes API operation for Amazon CloudDirectory.

Returns a paginated list of all attribute definitions for a particular TypedLinkFacet. For more information, see Typed Links (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/directory_objects_links.html#directory_objects_links_typedlink).

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudDirectory's API operation ListTypedLinkFacetAttributes for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServiceException "InternalServiceException" 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 (http://status.aws.amazon.com/) site to see if there are any operational issues with the service.

  • ErrCodeInvalidArnException "InvalidArnException" Indicates that the provided ARN value is not valid.

  • ErrCodeRetryableConflictException "RetryableConflictException" 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.

  • ErrCodeValidationException "ValidationException" Indicates that your request is malformed in some manner. See the exception message.

  • ErrCodeAccessDeniedException "AccessDeniedException" Access denied. Check your permissions.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource could not be found.

  • ErrCodeFacetNotFoundException "FacetNotFoundException" The specified Facet could not be found.

  • ErrCodeInvalidNextTokenException "InvalidNextTokenException" Indicates that the NextToken value is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListTypedLinkFacetAttributes

ListTypedLinkFacetAttributesPages

func (c *CloudDirectory) ListTypedLinkFacetAttributesPages(input *ListTypedLinkFacetAttributesInput, fn func(*ListTypedLinkFacetAttributesOutput, bool) bool) error

ListTypedLinkFacetAttributesPages iterates over the pages of a ListTypedLinkFacetAttributes operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListTypedLinkFacetAttributes method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListTypedLinkFacetAttributes operation. pageNum := 0 err := client.ListTypedLinkFacetAttributesPages(params, func(page *ListTypedLinkFacetAttributesOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })

See Also

For more information about using this API, see AWS API Documentation.

ListTypedLinkFacetAttributesPagesWithContext

func (c *CloudDirectory) ListTypedLinkFacetAttributesPagesWithContext(ctx aws.Context, input *ListTypedLinkFacetAttributesInput, fn func(*ListTypedLinkFacetAttributesOutput, bool) bool, opts ...request.Option) error

ListTypedLinkFacetAttributesPagesWithContext same as ListTypedLinkFacetAttributesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ListTypedLinkFacetAttributesRequest

func (c *CloudDirectory) ListTypedLinkFacetAttributesRequest(input *ListTypedLinkFacetAttributesInput) (req *request.Request, output *ListTypedLinkFacetAttributesOutput)

ListTypedLinkFacetAttributesRequest generates a "aws/request.Request" representing the client's request for the ListTypedLinkFacetAttributes operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListTypedLinkFacetAttributes for more information on using the ListTypedLinkFacetAttributes API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListTypedLinkFacetAttributesRequest method. req, resp := client.ListTypedLinkFacetAttributesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListTypedLinkFacetAttributes

ListTypedLinkFacetAttributesWithContext

func (c *CloudDirectory) ListTypedLinkFacetAttributesWithContext(ctx aws.Context, input *ListTypedLinkFacetAttributesInput, opts ...request.Option) (*ListTypedLinkFacetAttributesOutput, error)

ListTypedLinkFacetAttributesWithContext is the same as ListTypedLinkFacetAttributes with the addition of the ability to pass a context and additional request options.

See ListTypedLinkFacetAttributes for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ListTypedLinkFacetNames

func (c *CloudDirectory) ListTypedLinkFacetNames(input *ListTypedLinkFacetNamesInput) (*ListTypedLinkFacetNamesOutput, error)

ListTypedLinkFacetNames API operation for Amazon CloudDirectory.

Returns a paginated list of TypedLink facet names for a particular schema. For more information, see Typed Links (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/directory_objects_links.html#directory_objects_links_typedlink).

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudDirectory's API operation ListTypedLinkFacetNames for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServiceException "InternalServiceException" 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 (http://status.aws.amazon.com/) site to see if there are any operational issues with the service.

  • ErrCodeInvalidArnException "InvalidArnException" Indicates that the provided ARN value is not valid.

  • ErrCodeRetryableConflictException "RetryableConflictException" 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.

  • ErrCodeValidationException "ValidationException" Indicates that your request is malformed in some manner. See the exception message.

  • ErrCodeAccessDeniedException "AccessDeniedException" Access denied. Check your permissions.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource could not be found.

  • ErrCodeInvalidNextTokenException "InvalidNextTokenException" Indicates that the NextToken value is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListTypedLinkFacetNames

ListTypedLinkFacetNamesPages

func (c *CloudDirectory) ListTypedLinkFacetNamesPages(input *ListTypedLinkFacetNamesInput, fn func(*ListTypedLinkFacetNamesOutput, bool) bool) error

ListTypedLinkFacetNamesPages iterates over the pages of a ListTypedLinkFacetNames operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListTypedLinkFacetNames method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListTypedLinkFacetNames operation. pageNum := 0 err := client.ListTypedLinkFacetNamesPages(params, func(page *ListTypedLinkFacetNamesOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })

See Also

For more information about using this API, see AWS API Documentation.

ListTypedLinkFacetNamesPagesWithContext

func (c *CloudDirectory) ListTypedLinkFacetNamesPagesWithContext(ctx aws.Context, input *ListTypedLinkFacetNamesInput, fn func(*ListTypedLinkFacetNamesOutput, bool) bool, opts ...request.Option) error

ListTypedLinkFacetNamesPagesWithContext same as ListTypedLinkFacetNamesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ListTypedLinkFacetNamesRequest

func (c *CloudDirectory) ListTypedLinkFacetNamesRequest(input *ListTypedLinkFacetNamesInput) (req *request.Request, output *ListTypedLinkFacetNamesOutput)

ListTypedLinkFacetNamesRequest generates a "aws/request.Request" representing the client's request for the ListTypedLinkFacetNames operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListTypedLinkFacetNames for more information on using the ListTypedLinkFacetNames API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListTypedLinkFacetNamesRequest method. req, resp := client.ListTypedLinkFacetNamesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListTypedLinkFacetNames

ListTypedLinkFacetNamesWithContext

func (c *CloudDirectory) ListTypedLinkFacetNamesWithContext(ctx aws.Context, input *ListTypedLinkFacetNamesInput, opts ...request.Option) (*ListTypedLinkFacetNamesOutput, error)

ListTypedLinkFacetNamesWithContext is the same as ListTypedLinkFacetNames with the addition of the ability to pass a context and additional request options.

See ListTypedLinkFacetNames for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

LookupPolicy

func (c *CloudDirectory) LookupPolicy(input *LookupPolicyInput) (*LookupPolicyOutput, error)

LookupPolicy API operation for Amazon CloudDirectory.

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 (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/key_concepts_directory.html#key_concepts_policies).

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudDirectory's API operation LookupPolicy for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServiceException "InternalServiceException" 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 (http://status.aws.amazon.com/) site to see if there are any operational issues with the service.

  • ErrCodeInvalidArnException "InvalidArnException" Indicates that the provided ARN value is not valid.

  • ErrCodeRetryableConflictException "RetryableConflictException" 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.

  • ErrCodeValidationException "ValidationException" Indicates that your request is malformed in some manner. See the exception message.

  • ErrCodeAccessDeniedException "AccessDeniedException" Access denied. Check your permissions.

  • ErrCodeDirectoryNotEnabledException "DirectoryNotEnabledException" Operations are only permitted on enabled directories.

  • ErrCodeInvalidNextTokenException "InvalidNextTokenException" Indicates that the NextToken value is not valid.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource could not be found.

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/LookupPolicy

LookupPolicyPages

func (c *CloudDirectory) LookupPolicyPages(input *LookupPolicyInput, fn func(*LookupPolicyOutput, bool) bool) error

LookupPolicyPages iterates over the pages of a LookupPolicy operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See LookupPolicy method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a LookupPolicy operation. pageNum := 0 err := client.LookupPolicyPages(params, func(page *LookupPolicyOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })

See Also

For more information about using this API, see AWS API Documentation.

LookupPolicyPagesWithContext

func (c *CloudDirectory) LookupPolicyPagesWithContext(ctx aws.Context, input *LookupPolicyInput, fn func(*LookupPolicyOutput, bool) bool, opts ...request.Option) error

LookupPolicyPagesWithContext same as LookupPolicyPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

LookupPolicyRequest

func (c *CloudDirectory) LookupPolicyRequest(input *LookupPolicyInput) (req *request.Request, output *LookupPolicyOutput)

LookupPolicyRequest generates a "aws/request.Request" representing the client's request for the LookupPolicy operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See LookupPolicy for more information on using the LookupPolicy API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the LookupPolicyRequest method. req, resp := client.LookupPolicyRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/LookupPolicy

LookupPolicyWithContext

func (c *CloudDirectory) LookupPolicyWithContext(ctx aws.Context, input *LookupPolicyInput, opts ...request.Option) (*LookupPolicyOutput, error)

LookupPolicyWithContext is the same as LookupPolicy with the addition of the ability to pass a context and additional request options.

See LookupPolicy for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

PublishSchema

func (c *CloudDirectory) PublishSchema(input *PublishSchemaInput) (*PublishSchemaOutput, error)

PublishSchema API operation for Amazon CloudDirectory.

Publishes a development schema with a major version and a recommended minor version.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudDirectory's API operation PublishSchema for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServiceException "InternalServiceException" 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 (http://status.aws.amazon.com/) site to see if there are any operational issues with the service.

  • ErrCodeInvalidArnException "InvalidArnException" Indicates that the provided ARN value is not valid.

  • ErrCodeRetryableConflictException "RetryableConflictException" 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.

  • ErrCodeValidationException "ValidationException" Indicates that your request is malformed in some manner. See the exception message.

  • ErrCodeAccessDeniedException "AccessDeniedException" Access denied. Check your permissions.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource could not be found.

  • ErrCodeSchemaAlreadyPublishedException "SchemaAlreadyPublishedException" Indicates that a schema is already published.

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/PublishSchema

PublishSchemaRequest

func (c *CloudDirectory) PublishSchemaRequest(input *PublishSchemaInput) (req *request.Request, output *PublishSchemaOutput)

PublishSchemaRequest generates a "aws/request.Request" representing the client's request for the PublishSchema operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PublishSchema for more information on using the PublishSchema API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PublishSchemaRequest method. req, resp := client.PublishSchemaRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/PublishSchema

PublishSchemaWithContext

func (c *CloudDirectory) PublishSchemaWithContext(ctx aws.Context, input *PublishSchemaInput, opts ...request.Option) (*PublishSchemaOutput, error)

PublishSchemaWithContext is the same as PublishSchema with the addition of the ability to pass a context and additional request options.

See PublishSchema for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

PutSchemaFromJson

func (c *CloudDirectory) PutSchemaFromJson(input *PutSchemaFromJsonInput) (*PutSchemaFromJsonOutput, error)

PutSchemaFromJson API operation for Amazon CloudDirectory.

Allows a schema to be updated using JSON upload. Only available for development schemas. See JSON Schema Format (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/schemas_jsonformat.html#schemas_json) for more information.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudDirectory's API operation PutSchemaFromJson for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServiceException "InternalServiceException" 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 (http://status.aws.amazon.com/) site to see if there are any operational issues with the service.

  • ErrCodeInvalidArnException "InvalidArnException" Indicates that the provided ARN value is not valid.

  • ErrCodeRetryableConflictException "RetryableConflictException" 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.

  • ErrCodeValidationException "ValidationException" Indicates that your request is malformed in some manner. See the exception message.

  • ErrCodeAccessDeniedException "AccessDeniedException" Access denied. Check your permissions.

  • ErrCodeInvalidSchemaDocException "InvalidSchemaDocException" Indicates that the provided SchemaDoc value is not valid.

  • ErrCodeInvalidRuleException "InvalidRuleException" Occurs when any of the rule parameter keys or values are invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/PutSchemaFromJson

PutSchemaFromJsonRequest

func (c *CloudDirectory) PutSchemaFromJsonRequest(input *PutSchemaFromJsonInput) (req *request.Request, output *PutSchemaFromJsonOutput)

PutSchemaFromJsonRequest generates a "aws/request.Request" representing the client's request for the PutSchemaFromJson operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutSchemaFromJson for more information on using the PutSchemaFromJson API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutSchemaFromJsonRequest method. req, resp := client.PutSchemaFromJsonRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/PutSchemaFromJson

PutSchemaFromJsonWithContext

func (c *CloudDirectory) PutSchemaFromJsonWithContext(ctx aws.Context, input *PutSchemaFromJsonInput, opts ...request.Option) (*PutSchemaFromJsonOutput, error)

PutSchemaFromJsonWithContext is the same as PutSchemaFromJson with the addition of the ability to pass a context and additional request options.

See PutSchemaFromJson for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

RemoveFacetFromObject

func (c *CloudDirectory) RemoveFacetFromObject(input *RemoveFacetFromObjectInput) (*RemoveFacetFromObjectOutput, error)

RemoveFacetFromObject API operation for Amazon CloudDirectory.

Removes the specified facet from the specified object.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudDirectory's API operation RemoveFacetFromObject for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServiceException "InternalServiceException" 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 (http://status.aws.amazon.com/) site to see if there are any operational issues with the service.

  • ErrCodeInvalidArnException "InvalidArnException" Indicates that the provided ARN value is not valid.

  • ErrCodeRetryableConflictException "RetryableConflictException" 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.

  • ErrCodeValidationException "ValidationException" Indicates that your request is malformed in some manner. See the exception message.

  • ErrCodeAccessDeniedException "AccessDeniedException" Access denied. Check your permissions.

  • ErrCodeDirectoryNotEnabledException "DirectoryNotEnabledException" Operations are only permitted on enabled directories.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource could not be found.

  • ErrCodeFacetValidationException "FacetValidationException" The Facet that you provided was not well formed or could not be validated with the schema.

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/RemoveFacetFromObject

RemoveFacetFromObjectRequest

func (c *CloudDirectory) RemoveFacetFromObjectRequest(input *RemoveFacetFromObjectInput) (req *request.Request, output *RemoveFacetFromObjectOutput)

RemoveFacetFromObjectRequest generates a "aws/request.Request" representing the client's request for the RemoveFacetFromObject operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See RemoveFacetFromObject for more information on using the RemoveFacetFromObject API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the RemoveFacetFromObjectRequest method. req, resp := client.RemoveFacetFromObjectRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/RemoveFacetFromObject

RemoveFacetFromObjectWithContext

func (c *CloudDirectory) RemoveFacetFromObjectWithContext(ctx aws.Context, input *RemoveFacetFromObjectInput, opts ...request.Option) (*RemoveFacetFromObjectOutput, error)

RemoveFacetFromObjectWithContext is the same as RemoveFacetFromObject with the addition of the ability to pass a context and additional request options.

See RemoveFacetFromObject for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

TagResource

func (c *CloudDirectory) TagResource(input *TagResourceInput) (*TagResourceOutput, error)

TagResource API operation for Amazon CloudDirectory.

An API operation for adding tags to a resource.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudDirectory's API operation TagResource for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServiceException "InternalServiceException" 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 (http://status.aws.amazon.com/) site to see if there are any operational issues with the service.

  • ErrCodeInvalidArnException "InvalidArnException" Indicates that the provided ARN value is not valid.

  • ErrCodeRetryableConflictException "RetryableConflictException" 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.

  • ErrCodeValidationException "ValidationException" Indicates that your request is malformed in some manner. See the exception message.

  • ErrCodeAccessDeniedException "AccessDeniedException" Access denied. Check your permissions.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource could not be found.

  • ErrCodeInvalidTaggingRequestException "InvalidTaggingRequestException" 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.

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/TagResource

TagResourceRequest

func (c *CloudDirectory) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)

TagResourceRequest generates a "aws/request.Request" representing the client's request for the TagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See TagResource for more information on using the TagResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the TagResourceRequest method. req, resp := client.TagResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/TagResource

TagResourceWithContext

func (c *CloudDirectory) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)

TagResourceWithContext is the same as TagResource with the addition of the ability to pass a context and additional request options.

See TagResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

UntagResource

func (c *CloudDirectory) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)

UntagResource API operation for Amazon CloudDirectory.

An API operation for removing tags from a resource.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudDirectory's API operation UntagResource for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServiceException "InternalServiceException" 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 (http://status.aws.amazon.com/) site to see if there are any operational issues with the service.

  • ErrCodeInvalidArnException "InvalidArnException" Indicates that the provided ARN value is not valid.

  • ErrCodeRetryableConflictException "RetryableConflictException" 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.

  • ErrCodeValidationException "ValidationException" Indicates that your request is malformed in some manner. See the exception message.

  • ErrCodeAccessDeniedException "AccessDeniedException" Access denied. Check your permissions.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource could not be found.

  • ErrCodeInvalidTaggingRequestException "InvalidTaggingRequestException" 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.

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/UntagResource

UntagResourceRequest

func (c *CloudDirectory) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)

UntagResourceRequest generates a "aws/request.Request" representing the client's request for the UntagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UntagResource for more information on using the UntagResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UntagResourceRequest method. req, resp := client.UntagResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/UntagResource

UntagResourceWithContext

func (c *CloudDirectory) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)

UntagResourceWithContext is the same as UntagResource with the addition of the ability to pass a context and additional request options.

See UntagResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

UpdateFacet

func (c *CloudDirectory) UpdateFacet(input *UpdateFacetInput) (*UpdateFacetOutput, error)

UpdateFacet API operation for Amazon CloudDirectory.

Does the following:

Adds new Attributes, Rules, or ObjectTypes.

Updates existing Attributes, Rules, or ObjectTypes.

Deletes existing Attributes, Rules, or ObjectTypes.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudDirectory's API operation UpdateFacet for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServiceException "InternalServiceException" 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 (http://status.aws.amazon.com/) site to see if there are any operational issues with the service.

  • ErrCodeInvalidArnException "InvalidArnException" Indicates that the provided ARN value is not valid.

  • ErrCodeRetryableConflictException "RetryableConflictException" 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.

  • ErrCodeValidationException "ValidationException" Indicates that your request is malformed in some manner. See the exception message.

  • ErrCodeAccessDeniedException "AccessDeniedException" Access denied. Check your permissions.

  • ErrCodeInvalidFacetUpdateException "InvalidFacetUpdateException" An attempt to modify a Facet resulted in an invalid schema exception.

  • ErrCodeFacetValidationException "FacetValidationException" The Facet that you provided was not well formed or could not be validated with the schema.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource could not be found.

  • ErrCodeFacetNotFoundException "FacetNotFoundException" The specified Facet could not be found.

  • ErrCodeInvalidRuleException "InvalidRuleException" Occurs when any of the rule parameter keys or values are invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/UpdateFacet

UpdateFacetRequest

func (c *CloudDirectory) UpdateFacetRequest(input *UpdateFacetInput) (req *request.Request, output *UpdateFacetOutput)

UpdateFacetRequest generates a "aws/request.Request" representing the client's request for the UpdateFacet operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateFacet for more information on using the UpdateFacet API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateFacetRequest method. req, resp := client.UpdateFacetRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/UpdateFacet

UpdateFacetWithContext

func (c *CloudDirectory) UpdateFacetWithContext(ctx aws.Context, input *UpdateFacetInput, opts ...request.Option) (*UpdateFacetOutput, error)

UpdateFacetWithContext is the same as UpdateFacet with the addition of the ability to pass a context and additional request options.

See UpdateFacet for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

UpdateLinkAttributes

func (c *CloudDirectory) UpdateLinkAttributes(input *UpdateLinkAttributesInput) (*UpdateLinkAttributesOutput, error)

UpdateLinkAttributes API operation for Amazon CloudDirectory.

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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudDirectory's API operation UpdateLinkAttributes for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServiceException "InternalServiceException" 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 (http://status.aws.amazon.com/) site to see if there are any operational issues with the service.

  • ErrCodeInvalidArnException "InvalidArnException" Indicates that the provided ARN value is not valid.

  • ErrCodeRetryableConflictException "RetryableConflictException" 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.

  • ErrCodeValidationException "ValidationException" Indicates that your request is malformed in some manner. See the exception message.

  • ErrCodeAccessDeniedException "AccessDeniedException" Access denied. Check your permissions.

  • ErrCodeDirectoryNotEnabledException "DirectoryNotEnabledException" Operations are only permitted on enabled directories.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource could not be found.

  • ErrCodeFacetValidationException "FacetValidationException" The Facet that you provided was not well formed or could not be validated with the schema.

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/UpdateLinkAttributes

UpdateLinkAttributesRequest

func (c *CloudDirectory) UpdateLinkAttributesRequest(input *UpdateLinkAttributesInput) (req *request.Request, output *UpdateLinkAttributesOutput)

UpdateLinkAttributesRequest generates a "aws/request.Request" representing the client's request for the UpdateLinkAttributes operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateLinkAttributes for more information on using the UpdateLinkAttributes API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateLinkAttributesRequest method. req, resp := client.UpdateLinkAttributesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/UpdateLinkAttributes

UpdateLinkAttributesWithContext

func (c *CloudDirectory) UpdateLinkAttributesWithContext(ctx aws.Context, input *UpdateLinkAttributesInput, opts ...request.Option) (*UpdateLinkAttributesOutput, error)

UpdateLinkAttributesWithContext is the same as UpdateLinkAttributes with the addition of the ability to pass a context and additional request options.

See UpdateLinkAttributes for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

UpdateObjectAttributes

func (c *CloudDirectory) UpdateObjectAttributes(input *UpdateObjectAttributesInput) (*UpdateObjectAttributesOutput, error)

UpdateObjectAttributes API operation for Amazon CloudDirectory.

Updates a given object's attributes.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudDirectory's API operation UpdateObjectAttributes for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServiceException "InternalServiceException" 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 (http://status.aws.amazon.com/) site to see if there are any operational issues with the service.

  • ErrCodeInvalidArnException "InvalidArnException" Indicates that the provided ARN value is not valid.

  • ErrCodeRetryableConflictException "RetryableConflictException" 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.

  • ErrCodeValidationException "ValidationException" Indicates that your request is malformed in some manner. See the exception message.

  • ErrCodeAccessDeniedException "AccessDeniedException" Access denied. Check your permissions.

  • ErrCodeDirectoryNotEnabledException "DirectoryNotEnabledException" Operations are only permitted on enabled directories.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource could not be found.

  • ErrCodeLinkNameAlreadyInUseException "LinkNameAlreadyInUseException" Indicates that a link could not be created due to a naming conflict. Choose a different name and then try again.

  • ErrCodeFacetValidationException "FacetValidationException" The Facet that you provided was not well formed or could not be validated with the schema.

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/UpdateObjectAttributes

UpdateObjectAttributesRequest

func (c *CloudDirectory) UpdateObjectAttributesRequest(input *UpdateObjectAttributesInput) (req *request.Request, output *UpdateObjectAttributesOutput)

UpdateObjectAttributesRequest generates a "aws/request.Request" representing the client's request for the UpdateObjectAttributes operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateObjectAttributes for more information on using the UpdateObjectAttributes API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateObjectAttributesRequest method. req, resp := client.UpdateObjectAttributesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/UpdateObjectAttributes

UpdateObjectAttributesWithContext

func (c *CloudDirectory) UpdateObjectAttributesWithContext(ctx aws.Context, input *UpdateObjectAttributesInput, opts ...request.Option) (*UpdateObjectAttributesOutput, error)

UpdateObjectAttributesWithContext is the same as UpdateObjectAttributes with the addition of the ability to pass a context and additional request options.

See UpdateObjectAttributes for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

UpdateSchema

func (c *CloudDirectory) UpdateSchema(input *UpdateSchemaInput) (*UpdateSchemaOutput, error)

UpdateSchema API operation for Amazon CloudDirectory.

Updates the schema name with a new name. Only development schema names can be updated.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudDirectory's API operation UpdateSchema for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServiceException "InternalServiceException" 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 (http://status.aws.amazon.com/) site to see if there are any operational issues with the service.

  • ErrCodeInvalidArnException "InvalidArnException" Indicates that the provided ARN value is not valid.

  • ErrCodeRetryableConflictException "RetryableConflictException" 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.

  • ErrCodeValidationException "ValidationException" Indicates that your request is malformed in some manner. See the exception message.

  • ErrCodeAccessDeniedException "AccessDeniedException" Access denied. Check your permissions.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource could not be found.

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/UpdateSchema

UpdateSchemaRequest

func (c *CloudDirectory) UpdateSchemaRequest(input *UpdateSchemaInput) (req *request.Request, output *UpdateSchemaOutput)

UpdateSchemaRequest generates a "aws/request.Request" representing the client's request for the UpdateSchema operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateSchema for more information on using the UpdateSchema API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateSchemaRequest method. req, resp := client.UpdateSchemaRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/UpdateSchema

UpdateSchemaWithContext

func (c *CloudDirectory) UpdateSchemaWithContext(ctx aws.Context, input *UpdateSchemaInput, opts ...request.Option) (*UpdateSchemaOutput, error)

UpdateSchemaWithContext is the same as UpdateSchema with the addition of the ability to pass a context and additional request options.

See UpdateSchema for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

UpdateTypedLinkFacet

func (c *CloudDirectory) UpdateTypedLinkFacet(input *UpdateTypedLinkFacetInput) (*UpdateTypedLinkFacetOutput, error)

UpdateTypedLinkFacet API operation for Amazon CloudDirectory.

Updates a TypedLinkFacet. For more information, see Typed Links (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/directory_objects_links.html#directory_objects_links_typedlink).

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudDirectory's API operation UpdateTypedLinkFacet for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServiceException "InternalServiceException" 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 (http://status.aws.amazon.com/) site to see if there are any operational issues with the service.

  • ErrCodeInvalidArnException "InvalidArnException" Indicates that the provided ARN value is not valid.

  • ErrCodeRetryableConflictException "RetryableConflictException" 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.

  • ErrCodeValidationException "ValidationException" Indicates that your request is malformed in some manner. See the exception message.

  • ErrCodeAccessDeniedException "AccessDeniedException" Access denied. Check your permissions.

  • ErrCodeFacetValidationException "FacetValidationException" The Facet that you provided was not well formed or could not be validated with the schema.

  • ErrCodeInvalidFacetUpdateException "InvalidFacetUpdateException" An attempt to modify a Facet resulted in an invalid schema exception.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource could not be found.

  • ErrCodeFacetNotFoundException "FacetNotFoundException" The specified Facet could not be found.

  • ErrCodeInvalidRuleException "InvalidRuleException" Occurs when any of the rule parameter keys or values are invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/UpdateTypedLinkFacet

UpdateTypedLinkFacetRequest

func (c *CloudDirectory) UpdateTypedLinkFacetRequest(input *UpdateTypedLinkFacetInput) (req *request.Request, output *UpdateTypedLinkFacetOutput)

UpdateTypedLinkFacetRequest generates a "aws/request.Request" representing the client's request for the UpdateTypedLinkFacet operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateTypedLinkFacet for more information on using the UpdateTypedLinkFacet API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateTypedLinkFacetRequest method. req, resp := client.UpdateTypedLinkFacetRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/UpdateTypedLinkFacet

UpdateTypedLinkFacetWithContext

func (c *CloudDirectory) UpdateTypedLinkFacetWithContext(ctx aws.Context, input *UpdateTypedLinkFacetInput, opts ...request.Option) (*UpdateTypedLinkFacetOutput, error)

UpdateTypedLinkFacetWithContext is the same as UpdateTypedLinkFacet with the addition of the ability to pass a context and additional request options.

See UpdateTypedLinkFacet for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

UpgradeAppliedSchema

func (c *CloudDirectory) UpgradeAppliedSchema(input *UpgradeAppliedSchemaInput) (*UpgradeAppliedSchemaOutput, error)

UpgradeAppliedSchema API operation for Amazon CloudDirectory.

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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudDirectory's API operation UpgradeAppliedSchema for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServiceException "InternalServiceException" 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 (http://status.aws.amazon.com/) site to see if there are any operational issues with the service.

  • ErrCodeInvalidArnException "InvalidArnException" Indicates that the provided ARN value is not valid.

  • ErrCodeRetryableConflictException "RetryableConflictException" 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.

  • ErrCodeValidationException "ValidationException" Indicates that your request is malformed in some manner. See the exception message.

  • ErrCodeIncompatibleSchemaException "IncompatibleSchemaException" 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.

  • ErrCodeAccessDeniedException "AccessDeniedException" Access denied. Check your permissions.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource could not be found.

  • ErrCodeInvalidAttachmentException "InvalidAttachmentException" 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.

  • ErrCodeSchemaAlreadyExistsException "SchemaAlreadyExistsException" Indicates that a schema could not be created due to a naming conflict. Please select a different name and then try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/UpgradeAppliedSchema

UpgradeAppliedSchemaRequest

func (c *CloudDirectory) UpgradeAppliedSchemaRequest(input *UpgradeAppliedSchemaInput) (req *request.Request, output *UpgradeAppliedSchemaOutput)

UpgradeAppliedSchemaRequest generates a "aws/request.Request" representing the client's request for the UpgradeAppliedSchema operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpgradeAppliedSchema for more information on using the UpgradeAppliedSchema API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpgradeAppliedSchemaRequest method. req, resp := client.UpgradeAppliedSchemaRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/UpgradeAppliedSchema

UpgradeAppliedSchemaWithContext

func (c *CloudDirectory) UpgradeAppliedSchemaWithContext(ctx aws.Context, input *UpgradeAppliedSchemaInput, opts ...request.Option) (*UpgradeAppliedSchemaOutput, error)

UpgradeAppliedSchemaWithContext is the same as UpgradeAppliedSchema with the addition of the ability to pass a context and additional request options.

See UpgradeAppliedSchema for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

UpgradePublishedSchema

func (c *CloudDirectory) UpgradePublishedSchema(input *UpgradePublishedSchemaInput) (*UpgradePublishedSchemaOutput, error)

UpgradePublishedSchema API operation for Amazon CloudDirectory.

Upgrades a published schema under a new minor version revision using the current contents of DevelopmentSchemaArn.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon CloudDirectory's API operation UpgradePublishedSchema for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServiceException "InternalServiceException" 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 (http://status.aws.amazon.com/) site to see if there are any operational issues with the service.

  • ErrCodeInvalidArnException "InvalidArnException" Indicates that the provided ARN value is not valid.

  • ErrCodeRetryableConflictException "RetryableConflictException" 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.

  • ErrCodeValidationException "ValidationException" Indicates that your request is malformed in some manner. See the exception message.

  • ErrCodeIncompatibleSchemaException "IncompatibleSchemaException" 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.

  • ErrCodeAccessDeniedException "AccessDeniedException" Access denied. Check your permissions.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource could not be found.

  • ErrCodeInvalidAttachmentException "InvalidAttachmentException" 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.

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/UpgradePublishedSchema

UpgradePublishedSchemaRequest

func (c *CloudDirectory) UpgradePublishedSchemaRequest(input *UpgradePublishedSchemaInput) (req *request.Request, output *UpgradePublishedSchemaOutput)

UpgradePublishedSchemaRequest generates a "aws/request.Request" representing the client's request for the UpgradePublishedSchema operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpgradePublishedSchema for more information on using the UpgradePublishedSchema API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpgradePublishedSchemaRequest method. req, resp := client.UpgradePublishedSchemaRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/UpgradePublishedSchema

UpgradePublishedSchemaWithContext

func (c *CloudDirectory) UpgradePublishedSchemaWithContext(ctx aws.Context, input *UpgradePublishedSchemaInput, opts ...request.Option) (*UpgradePublishedSchemaOutput, error)

UpgradePublishedSchemaWithContext is the same as UpgradePublishedSchema with the addition of the ability to pass a context and additional request options.

See UpgradePublishedSchema for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

On this page: