/var/runtime/node_modules/@aws-sdk/client-clouddirectory/dist-cjs
This explorer reads the filesystem of the server it runs on, so /workspace/user isn't present here. Browsing and the terminal still work against this server's own disk from /.
"use strict";var __defProp = Object.defineProperty;var __getOwnPropDesc = Object.getOwnPropertyDescriptor;var __getOwnPropNames = Object.getOwnPropertyNames;var __hasOwnProp = Object.prototype.hasOwnProperty;var __name = (target, value) => __defProp(target, "name", { value, configurable: true });var __export = (target, all) => { for (var name in all) __defProp(target, name, { get: all[name], enumerable: true });};var __copyProps = (to, from, except, desc) => { if (from && typeof from === "object" || typeof from === "function") { for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); } return to;};var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); // src/index.tsvar index_exports = {};__export(index_exports, { AccessDeniedException: () => AccessDeniedException, AddFacetToObjectCommand: () => AddFacetToObjectCommand, ApplySchemaCommand: () => ApplySchemaCommand, AttachObjectCommand: () => AttachObjectCommand, AttachPolicyCommand: () => AttachPolicyCommand, AttachToIndexCommand: () => AttachToIndexCommand, AttachTypedLinkCommand: () => AttachTypedLinkCommand, BatchReadCommand: () => BatchReadCommand, BatchReadExceptionType: () => BatchReadExceptionType, BatchWriteCommand: () => BatchWriteCommand, BatchWriteException: () => BatchWriteException, BatchWriteExceptionType: () => BatchWriteExceptionType, CannotListParentOfRootException: () => CannotListParentOfRootException, CloudDirectory: () => CloudDirectory, CloudDirectoryClient: () => CloudDirectoryClient, CloudDirectoryServiceException: () => CloudDirectoryServiceException, ConsistencyLevel: () => ConsistencyLevel, CreateDirectoryCommand: () => CreateDirectoryCommand, CreateFacetCommand: () => CreateFacetCommand, CreateIndexCommand: () => CreateIndexCommand, CreateObjectCommand: () => CreateObjectCommand, CreateSchemaCommand: () => CreateSchemaCommand, CreateTypedLinkFacetCommand: () => CreateTypedLinkFacetCommand, DeleteDirectoryCommand: () => DeleteDirectoryCommand, DeleteFacetCommand: () => DeleteFacetCommand, DeleteObjectCommand: () => DeleteObjectCommand, DeleteSchemaCommand: () => DeleteSchemaCommand, DeleteTypedLinkFacetCommand: () => DeleteTypedLinkFacetCommand, DetachFromIndexCommand: () => DetachFromIndexCommand, DetachObjectCommand: () => DetachObjectCommand, DetachPolicyCommand: () => DetachPolicyCommand, DetachTypedLinkCommand: () => DetachTypedLinkCommand, DirectoryAlreadyExistsException: () => DirectoryAlreadyExistsException, DirectoryDeletedException: () => DirectoryDeletedException, DirectoryNotDisabledException: () => DirectoryNotDisabledException, DirectoryNotEnabledException: () => DirectoryNotEnabledException, DirectoryState: () => DirectoryState, DisableDirectoryCommand: () => DisableDirectoryCommand, EnableDirectoryCommand: () => EnableDirectoryCommand, FacetAlreadyExistsException: () => FacetAlreadyExistsException, FacetAttributeType: () => FacetAttributeType, FacetInUseException: () => FacetInUseException, FacetNotFoundException: () => FacetNotFoundException, FacetStyle: () => FacetStyle, FacetValidationException: () => FacetValidationException, GetAppliedSchemaVersionCommand: () => GetAppliedSchemaVersionCommand, GetDirectoryCommand: () => GetDirectoryCommand, GetFacetCommand: () => GetFacetCommand, GetLinkAttributesCommand: () => GetLinkAttributesCommand, GetObjectAttributesCommand: () => GetObjectAttributesCommand, GetObjectInformationCommand: () => GetObjectInformationCommand, GetSchemaAsJsonCommand: () => GetSchemaAsJsonCommand, GetTypedLinkFacetInformationCommand: () => GetTypedLinkFacetInformationCommand, IncompatibleSchemaException: () => IncompatibleSchemaException, IndexedAttributeMissingException: () => IndexedAttributeMissingException, InternalServiceException: () => InternalServiceException, InvalidArnException: () => InvalidArnException, InvalidAttachmentException: () => InvalidAttachmentException, InvalidFacetUpdateException: () => InvalidFacetUpdateException, InvalidNextTokenException: () => InvalidNextTokenException, InvalidRuleException: () => InvalidRuleException, InvalidSchemaDocException: () => InvalidSchemaDocException, InvalidTaggingRequestException: () => InvalidTaggingRequestException, LimitExceededException: () => LimitExceededException, LinkNameAlreadyInUseException: () => LinkNameAlreadyInUseException, ListAppliedSchemaArnsCommand: () => ListAppliedSchemaArnsCommand, ListAttachedIndicesCommand: () => ListAttachedIndicesCommand, ListDevelopmentSchemaArnsCommand: () => ListDevelopmentSchemaArnsCommand, ListDirectoriesCommand: () => ListDirectoriesCommand, ListFacetAttributesCommand: () => ListFacetAttributesCommand, ListFacetNamesCommand: () => ListFacetNamesCommand, ListIncomingTypedLinksCommand: () => ListIncomingTypedLinksCommand, ListIndexCommand: () => ListIndexCommand, ListManagedSchemaArnsCommand: () => ListManagedSchemaArnsCommand, ListObjectAttributesCommand: () => ListObjectAttributesCommand, ListObjectChildrenCommand: () => ListObjectChildrenCommand, ListObjectParentPathsCommand: () => ListObjectParentPathsCommand, ListObjectParentsCommand: () => ListObjectParentsCommand, ListObjectPoliciesCommand: () => ListObjectPoliciesCommand, ListOutgoingTypedLinksCommand: () => ListOutgoingTypedLinksCommand, ListPolicyAttachmentsCommand: () => ListPolicyAttachmentsCommand, ListPublishedSchemaArnsCommand: () => ListPublishedSchemaArnsCommand, ListTagsForResourceCommand: () => ListTagsForResourceCommand, ListTypedLinkFacetAttributesCommand: () => ListTypedLinkFacetAttributesCommand, ListTypedLinkFacetNamesCommand: () => ListTypedLinkFacetNamesCommand, LookupPolicyCommand: () => LookupPolicyCommand, NotIndexException: () => NotIndexException, NotNodeException: () => NotNodeException, NotPolicyException: () => NotPolicyException, ObjectAlreadyDetachedException: () => ObjectAlreadyDetachedException, ObjectNotDetachedException: () => ObjectNotDetachedException, ObjectType: () => ObjectType, PublishSchemaCommand: () => PublishSchemaCommand, PutSchemaFromJsonCommand: () => PutSchemaFromJsonCommand, RangeMode: () => RangeMode, RemoveFacetFromObjectCommand: () => RemoveFacetFromObjectCommand, RequiredAttributeBehavior: () => RequiredAttributeBehavior, ResourceNotFoundException: () => ResourceNotFoundException, RetryableConflictException: () => RetryableConflictException, RuleType: () => RuleType, SchemaAlreadyExistsException: () => SchemaAlreadyExistsException, SchemaAlreadyPublishedException: () => SchemaAlreadyPublishedException, StillContainsLinksException: () => StillContainsLinksException, TagResourceCommand: () => TagResourceCommand, TypedAttributeValue: () => TypedAttributeValue, UnsupportedIndexTypeException: () => UnsupportedIndexTypeException, UntagResourceCommand: () => UntagResourceCommand, UpdateActionType: () => UpdateActionType, UpdateFacetCommand: () => UpdateFacetCommand, UpdateLinkAttributesCommand: () => UpdateLinkAttributesCommand, UpdateObjectAttributesCommand: () => UpdateObjectAttributesCommand, UpdateSchemaCommand: () => UpdateSchemaCommand, UpdateTypedLinkFacetCommand: () => UpdateTypedLinkFacetCommand, UpgradeAppliedSchemaCommand: () => UpgradeAppliedSchemaCommand, UpgradePublishedSchemaCommand: () => UpgradePublishedSchemaCommand, ValidationException: () => ValidationException, __Client: () => import_smithy_client.Client, paginateListAppliedSchemaArns: () => paginateListAppliedSchemaArns, paginateListAttachedIndices: () => paginateListAttachedIndices, paginateListDevelopmentSchemaArns: () => paginateListDevelopmentSchemaArns, paginateListDirectories: () => paginateListDirectories, paginateListFacetAttributes: () => paginateListFacetAttributes, paginateListFacetNames: () => paginateListFacetNames, paginateListIndex: () => paginateListIndex, paginateListManagedSchemaArns: () => paginateListManagedSchemaArns, paginateListObjectAttributes: () => paginateListObjectAttributes, paginateListObjectChildren: () => paginateListObjectChildren, paginateListObjectParentPaths: () => paginateListObjectParentPaths, paginateListObjectParents: () => paginateListObjectParents, paginateListObjectPolicies: () => paginateListObjectPolicies, paginateListPolicyAttachments: () => paginateListPolicyAttachments, paginateListPublishedSchemaArns: () => paginateListPublishedSchemaArns, paginateListTagsForResource: () => paginateListTagsForResource, paginateListTypedLinkFacetAttributes: () => paginateListTypedLinkFacetAttributes, paginateListTypedLinkFacetNames: () => paginateListTypedLinkFacetNames, paginateLookupPolicy: () => paginateLookupPolicy});module.exports = __toCommonJS(index_exports); // src/CloudDirectoryClient.tsvar import_middleware_host_header = require("@aws-sdk/middleware-host-header");var import_middleware_logger = require("@aws-sdk/middleware-logger");var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");var import_config_resolver = require("@smithy/config-resolver");var import_core = require("@smithy/core");var import_middleware_content_length = require("@smithy/middleware-content-length");var import_middleware_endpoint = require("@smithy/middleware-endpoint");var import_middleware_retry = require("@smithy/middleware-retry"); var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider"); // src/endpoint/EndpointParameters.tsvar resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => { return Object.assign(options, { useDualstackEndpoint: options.useDualstackEndpoint ?? false, useFipsEndpoint: options.useFipsEndpoint ?? false, defaultSigningName: "clouddirectory" });}, "resolveClientEndpointParameters");var commonParams = { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, Endpoint: { type: "builtInParams", name: "endpoint" }, Region: { type: "builtInParams", name: "region" }, UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }}; // src/CloudDirectoryClient.tsvar import_runtimeConfig = require("././runtimeConfig"); // src/runtimeExtensions.tsvar import_region_config_resolver = require("@aws-sdk/region-config-resolver");var import_protocol_http = require("@smithy/protocol-http");var import_smithy_client = require("@smithy/smithy-client"); // src/auth/httpAuthExtensionConfiguration.tsvar getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => { const _httpAuthSchemes = runtimeConfig.httpAuthSchemes; let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider; let _credentials = runtimeConfig.credentials; return { setHttpAuthScheme(httpAuthScheme) { const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId); if (index === -1) { _httpAuthSchemes.push(httpAuthScheme); } else { _httpAuthSchemes.splice(index, 1, httpAuthScheme); } }, httpAuthSchemes() { return _httpAuthSchemes; }, setHttpAuthSchemeProvider(httpAuthSchemeProvider) { _httpAuthSchemeProvider = httpAuthSchemeProvider; }, httpAuthSchemeProvider() { return _httpAuthSchemeProvider; }, setCredentials(credentials) { _credentials = credentials; }, credentials() { return _credentials; } };}, "getHttpAuthExtensionConfiguration");var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => { return { httpAuthSchemes: config.httpAuthSchemes(), httpAuthSchemeProvider: config.httpAuthSchemeProvider(), credentials: config.credentials() };}, "resolveHttpAuthRuntimeConfig"); // src/runtimeExtensions.tsvar resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => { const extensionConfiguration = Object.assign( (0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig), (0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig), (0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig) ); extensions.forEach((extension) => extension.configure(extensionConfiguration)); return Object.assign( runtimeConfig, (0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration), (0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration), (0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration) );}, "resolveRuntimeExtensions"); // src/CloudDirectoryClient.tsvar CloudDirectoryClient = class extends import_smithy_client.Client { static { __name(this, "CloudDirectoryClient"); } /** * The resolved configuration of CloudDirectoryClient class. This is resolved and normalized from the {@link CloudDirectoryClientConfig | constructor configuration interface}. */ config; constructor(...[configuration]) { const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {}); super(_config_0); this.initConfig = _config_0; const _config_1 = resolveClientEndpointParameters(_config_0); const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1); const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2); const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3); const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4); const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5); const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6); const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []); this.config = _config_8; this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config)); this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config)); this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config)); this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config)); this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config)); this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config)); this.middlewareStack.use( (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, { httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultCloudDirectoryHttpAuthSchemeParametersProvider, identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({ "aws.auth#sigv4": config.credentials }), "identityProviderConfigProvider") }) ); this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config)); } /** * Destroy underlying resources, like sockets. It's usually not necessary to do this. * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed. * Otherwise, sockets might stay open for quite a long time before the server terminates them. */ destroy() { super.destroy(); }}; // src/CloudDirectory.ts // src/commands/AddFacetToObjectCommand.ts var import_middleware_serde = require("@smithy/middleware-serde"); // src/protocols/Aws_restJson1.tsvar import_core2 = require("@aws-sdk/core"); // src/models/CloudDirectoryServiceException.ts var CloudDirectoryServiceException = class _CloudDirectoryServiceException extends import_smithy_client.ServiceException { static { __name(this, "CloudDirectoryServiceException"); } /** * @internal */ constructor(options) { super(options); Object.setPrototypeOf(this, _CloudDirectoryServiceException.prototype); }}; // src/models/models_0.tsvar AccessDeniedException = class _AccessDeniedException extends CloudDirectoryServiceException { static { __name(this, "AccessDeniedException"); } name = "AccessDeniedException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "AccessDeniedException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _AccessDeniedException.prototype); this.Message = opts.Message; }};var TypedAttributeValue;((TypedAttributeValue2) => { TypedAttributeValue2.visit = /* @__PURE__ */ __name((value, visitor) => { if (value.StringValue !== void 0) return visitor.StringValue(value.StringValue); if (value.BinaryValue !== void 0) return visitor.BinaryValue(value.BinaryValue); if (value.BooleanValue !== void 0) return visitor.BooleanValue(value.BooleanValue); if (value.NumberValue !== void 0) return visitor.NumberValue(value.NumberValue); if (value.DatetimeValue !== void 0) return visitor.DatetimeValue(value.DatetimeValue); return visitor._(value.$unknown[0], value.$unknown[1]); }, "visit");})(TypedAttributeValue || (TypedAttributeValue = {}));var DirectoryNotEnabledException = class _DirectoryNotEnabledException extends CloudDirectoryServiceException { static { __name(this, "DirectoryNotEnabledException"); } name = "DirectoryNotEnabledException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "DirectoryNotEnabledException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _DirectoryNotEnabledException.prototype); this.Message = opts.Message; }};var FacetValidationException = class _FacetValidationException extends CloudDirectoryServiceException { static { __name(this, "FacetValidationException"); } name = "FacetValidationException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "FacetValidationException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _FacetValidationException.prototype); this.Message = opts.Message; }};var InternalServiceException = class _InternalServiceException extends CloudDirectoryServiceException { static { __name(this, "InternalServiceException"); } name = "InternalServiceException"; $fault = "server"; Message; /** * @internal */ constructor(opts) { super({ name: "InternalServiceException", $fault: "server", ...opts }); Object.setPrototypeOf(this, _InternalServiceException.prototype); this.Message = opts.Message; }};var InvalidArnException = class _InvalidArnException extends CloudDirectoryServiceException { static { __name(this, "InvalidArnException"); } name = "InvalidArnException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "InvalidArnException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _InvalidArnException.prototype); this.Message = opts.Message; }};var LimitExceededException = class _LimitExceededException extends CloudDirectoryServiceException { static { __name(this, "LimitExceededException"); } name = "LimitExceededException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "LimitExceededException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _LimitExceededException.prototype); this.Message = opts.Message; }};var ResourceNotFoundException = class _ResourceNotFoundException extends CloudDirectoryServiceException { static { __name(this, "ResourceNotFoundException"); } name = "ResourceNotFoundException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "ResourceNotFoundException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ResourceNotFoundException.prototype); this.Message = opts.Message; }};var RetryableConflictException = class _RetryableConflictException extends CloudDirectoryServiceException { static { __name(this, "RetryableConflictException"); } name = "RetryableConflictException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "RetryableConflictException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _RetryableConflictException.prototype); this.Message = opts.Message; }};var ValidationException = class _ValidationException extends CloudDirectoryServiceException { static { __name(this, "ValidationException"); } name = "ValidationException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "ValidationException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ValidationException.prototype); this.Message = opts.Message; }};var InvalidAttachmentException = class _InvalidAttachmentException extends CloudDirectoryServiceException { static { __name(this, "InvalidAttachmentException"); } name = "InvalidAttachmentException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "InvalidAttachmentException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _InvalidAttachmentException.prototype); this.Message = opts.Message; }};var SchemaAlreadyExistsException = class _SchemaAlreadyExistsException extends CloudDirectoryServiceException { static { __name(this, "SchemaAlreadyExistsException"); } name = "SchemaAlreadyExistsException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "SchemaAlreadyExistsException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _SchemaAlreadyExistsException.prototype); this.Message = opts.Message; }};var LinkNameAlreadyInUseException = class _LinkNameAlreadyInUseException extends CloudDirectoryServiceException { static { __name(this, "LinkNameAlreadyInUseException"); } name = "LinkNameAlreadyInUseException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "LinkNameAlreadyInUseException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _LinkNameAlreadyInUseException.prototype); this.Message = opts.Message; }};var NotPolicyException = class _NotPolicyException extends CloudDirectoryServiceException { static { __name(this, "NotPolicyException"); } name = "NotPolicyException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "NotPolicyException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _NotPolicyException.prototype); this.Message = opts.Message; }};var IndexedAttributeMissingException = class _IndexedAttributeMissingException extends CloudDirectoryServiceException { static { __name(this, "IndexedAttributeMissingException"); } name = "IndexedAttributeMissingException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "IndexedAttributeMissingException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _IndexedAttributeMissingException.prototype); this.Message = opts.Message; }};var NotIndexException = class _NotIndexException extends CloudDirectoryServiceException { static { __name(this, "NotIndexException"); } name = "NotIndexException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "NotIndexException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _NotIndexException.prototype); this.Message = opts.Message; }};var ConsistencyLevel = { EVENTUAL: "EVENTUAL", SERIALIZABLE: "SERIALIZABLE"};var RangeMode = { EXCLUSIVE: "EXCLUSIVE", FIRST: "FIRST", INCLUSIVE: "INCLUSIVE", LAST: "LAST", LAST_BEFORE_MISSING_VALUES: "LAST_BEFORE_MISSING_VALUES"};var BatchReadExceptionType = { AccessDeniedException: "AccessDeniedException", CannotListParentOfRootException: "CannotListParentOfRootException", DirectoryNotEnabledException: "DirectoryNotEnabledException", FacetValidationException: "FacetValidationException", InternalServiceException: "InternalServiceException", InvalidArnException: "InvalidArnException", InvalidNextTokenException: "InvalidNextTokenException", LimitExceededException: "LimitExceededException", NotIndexException: "NotIndexException", NotNodeException: "NotNodeException", NotPolicyException: "NotPolicyException", ResourceNotFoundException: "ResourceNotFoundException", ValidationException: "ValidationException"};var BatchWriteExceptionType = { AccessDeniedException: "AccessDeniedException", DirectoryNotEnabledException: "DirectoryNotEnabledException", FacetValidationException: "FacetValidationException", IndexedAttributeMissingException: "IndexedAttributeMissingException", InternalServiceException: "InternalServiceException", InvalidArnException: "InvalidArnException", InvalidAttachmentException: "InvalidAttachmentException", LimitExceededException: "LimitExceededException", LinkNameAlreadyInUseException: "LinkNameAlreadyInUseException", NotIndexException: "NotIndexException", NotNodeException: "NotNodeException", NotPolicyException: "NotPolicyException", ObjectAlreadyDetachedException: "ObjectAlreadyDetachedException", ObjectNotDetachedException: "ObjectNotDetachedException", ResourceNotFoundException: "ResourceNotFoundException", StillContainsLinksException: "StillContainsLinksException", UnsupportedIndexTypeException: "UnsupportedIndexTypeException", ValidationException: "ValidationException"};var BatchWriteException = class _BatchWriteException extends CloudDirectoryServiceException { static { __name(this, "BatchWriteException"); } name = "BatchWriteException"; $fault = "client"; Index; Type; Message; /** * @internal */ constructor(opts) { super({ name: "BatchWriteException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _BatchWriteException.prototype); this.Index = opts.Index; this.Type = opts.Type; this.Message = opts.Message; }};var UpdateActionType = { CREATE_OR_UPDATE: "CREATE_OR_UPDATE", DELETE: "DELETE"};var DirectoryAlreadyExistsException = class _DirectoryAlreadyExistsException extends CloudDirectoryServiceException { static { __name(this, "DirectoryAlreadyExistsException"); } name = "DirectoryAlreadyExistsException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "DirectoryAlreadyExistsException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _DirectoryAlreadyExistsException.prototype); this.Message = opts.Message; }};var RuleType = { BINARY_LENGTH: "BINARY_LENGTH", NUMBER_COMPARISON: "NUMBER_COMPARISON", STRING_FROM_SET: "STRING_FROM_SET", STRING_LENGTH: "STRING_LENGTH"};var FacetAttributeType = { BINARY: "BINARY", BOOLEAN: "BOOLEAN", DATETIME: "DATETIME", NUMBER: "NUMBER", STRING: "STRING", VARIANT: "VARIANT"};var RequiredAttributeBehavior = { NOT_REQUIRED: "NOT_REQUIRED", REQUIRED_ALWAYS: "REQUIRED_ALWAYS"};var FacetStyle = { DYNAMIC: "DYNAMIC", STATIC: "STATIC"};var ObjectType = { INDEX: "INDEX", LEAF_NODE: "LEAF_NODE", NODE: "NODE", POLICY: "POLICY"};var FacetAlreadyExistsException = class _FacetAlreadyExistsException extends CloudDirectoryServiceException { static { __name(this, "FacetAlreadyExistsException"); } name = "FacetAlreadyExistsException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "FacetAlreadyExistsException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _FacetAlreadyExistsException.prototype); this.Message = opts.Message; }};var InvalidRuleException = class _InvalidRuleException extends CloudDirectoryServiceException { static { __name(this, "InvalidRuleException"); } name = "InvalidRuleException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "InvalidRuleException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _InvalidRuleException.prototype); this.Message = opts.Message; }};var UnsupportedIndexTypeException = class _UnsupportedIndexTypeException extends CloudDirectoryServiceException { static { __name(this, "UnsupportedIndexTypeException"); } name = "UnsupportedIndexTypeException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "UnsupportedIndexTypeException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _UnsupportedIndexTypeException.prototype); this.Message = opts.Message; }};var DirectoryDeletedException = class _DirectoryDeletedException extends CloudDirectoryServiceException { static { __name(this, "DirectoryDeletedException"); } name = "DirectoryDeletedException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "DirectoryDeletedException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _DirectoryDeletedException.prototype); this.Message = opts.Message; }};var DirectoryNotDisabledException = class _DirectoryNotDisabledException extends CloudDirectoryServiceException { static { __name(this, "DirectoryNotDisabledException"); } name = "DirectoryNotDisabledException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "DirectoryNotDisabledException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _DirectoryNotDisabledException.prototype); this.Message = opts.Message; }};var FacetInUseException = class _FacetInUseException extends CloudDirectoryServiceException { static { __name(this, "FacetInUseException"); } name = "FacetInUseException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "FacetInUseException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _FacetInUseException.prototype); this.Message = opts.Message; }};var FacetNotFoundException = class _FacetNotFoundException extends CloudDirectoryServiceException { static { __name(this, "FacetNotFoundException"); } name = "FacetNotFoundException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "FacetNotFoundException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _FacetNotFoundException.prototype); this.Message = opts.Message; }};var ObjectNotDetachedException = class _ObjectNotDetachedException extends CloudDirectoryServiceException { static { __name(this, "ObjectNotDetachedException"); } name = "ObjectNotDetachedException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "ObjectNotDetachedException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ObjectNotDetachedException.prototype); this.Message = opts.Message; }};var StillContainsLinksException = class _StillContainsLinksException extends CloudDirectoryServiceException { static { __name(this, "StillContainsLinksException"); } name = "StillContainsLinksException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "StillContainsLinksException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _StillContainsLinksException.prototype); this.Message = opts.Message; }};var ObjectAlreadyDetachedException = class _ObjectAlreadyDetachedException extends CloudDirectoryServiceException { static { __name(this, "ObjectAlreadyDetachedException"); } name = "ObjectAlreadyDetachedException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "ObjectAlreadyDetachedException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ObjectAlreadyDetachedException.prototype); this.Message = opts.Message; }};var NotNodeException = class _NotNodeException extends CloudDirectoryServiceException { static { __name(this, "NotNodeException"); } name = "NotNodeException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "NotNodeException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _NotNodeException.prototype); this.Message = opts.Message; }};var DirectoryState = { DELETED: "DELETED", DISABLED: "DISABLED", ENABLED: "ENABLED"};var InvalidNextTokenException = class _InvalidNextTokenException extends CloudDirectoryServiceException { static { __name(this, "InvalidNextTokenException"); } name = "InvalidNextTokenException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "InvalidNextTokenException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _InvalidNextTokenException.prototype); this.Message = opts.Message; }};var CannotListParentOfRootException = class _CannotListParentOfRootException extends CloudDirectoryServiceException { static { __name(this, "CannotListParentOfRootException"); } name = "CannotListParentOfRootException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "CannotListParentOfRootException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _CannotListParentOfRootException.prototype); this.Message = opts.Message; }};var InvalidTaggingRequestException = class _InvalidTaggingRequestException extends CloudDirectoryServiceException { static { __name(this, "InvalidTaggingRequestException"); } name = "InvalidTaggingRequestException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "InvalidTaggingRequestException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _InvalidTaggingRequestException.prototype); this.Message = opts.Message; }};var SchemaAlreadyPublishedException = class _SchemaAlreadyPublishedException extends CloudDirectoryServiceException { static { __name(this, "SchemaAlreadyPublishedException"); } name = "SchemaAlreadyPublishedException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "SchemaAlreadyPublishedException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _SchemaAlreadyPublishedException.prototype); this.Message = opts.Message; }};var InvalidSchemaDocException = class _InvalidSchemaDocException extends CloudDirectoryServiceException { static { __name(this, "InvalidSchemaDocException"); } name = "InvalidSchemaDocException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "InvalidSchemaDocException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _InvalidSchemaDocException.prototype); this.Message = opts.Message; }};var InvalidFacetUpdateException = class _InvalidFacetUpdateException extends CloudDirectoryServiceException { static { __name(this, "InvalidFacetUpdateException"); } name = "InvalidFacetUpdateException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "InvalidFacetUpdateException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _InvalidFacetUpdateException.prototype); this.Message = opts.Message; }};var IncompatibleSchemaException = class _IncompatibleSchemaException extends CloudDirectoryServiceException { static { __name(this, "IncompatibleSchemaException"); } name = "IncompatibleSchemaException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "IncompatibleSchemaException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _IncompatibleSchemaException.prototype); this.Message = opts.Message; }}; // src/protocols/Aws_restJson1.tsvar se_AddFacetToObjectCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, { "content-type": "application/json", [_xadp]: input[_DA] }); b.bp("/amazonclouddirectory/2017-01-11/object/facets"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { ObjectAttributeList: /* @__PURE__ */ __name((_) => se_AttributeKeyAndValueList(_, context), "ObjectAttributeList"), ObjectReference: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ObjectReference"), SchemaFacet: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "SchemaFacet") }) ); b.m("PUT").h(headers).b(body); return b.build();}, "se_AddFacetToObjectCommand");var se_ApplySchemaCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, { "content-type": "application/json", [_xadp]: input[_DA] }); b.bp("/amazonclouddirectory/2017-01-11/schema/apply"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { PublishedSchemaArn: [] }) ); b.m("PUT").h(headers).b(body); return b.build();}, "se_ApplySchemaCommand");var se_AttachObjectCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, { "content-type": "application/json", [_xadp]: input[_DA] }); b.bp("/amazonclouddirectory/2017-01-11/object/attach"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { ChildReference: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ChildReference"), LinkName: [], ParentReference: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ParentReference") }) ); b.m("PUT").h(headers).b(body); return b.build();}, "se_AttachObjectCommand");var se_AttachPolicyCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, { "content-type": "application/json", [_xadp]: input[_DA] }); b.bp("/amazonclouddirectory/2017-01-11/policy/attach"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { ObjectReference: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ObjectReference"), PolicyReference: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "PolicyReference") }) ); b.m("PUT").h(headers).b(body); return b.build();}, "se_AttachPolicyCommand");var se_AttachToIndexCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, { "content-type": "application/json", [_xadp]: input[_DA] }); b.bp("/amazonclouddirectory/2017-01-11/index/attach"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { IndexReference: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "IndexReference"), TargetReference: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "TargetReference") }) ); b.m("PUT").h(headers).b(body); return b.build();}, "se_AttachToIndexCommand");var se_AttachTypedLinkCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, { "content-type": "application/json", [_xadp]: input[_DA] }); b.bp("/amazonclouddirectory/2017-01-11/typedlink/attach"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { Attributes: /* @__PURE__ */ __name((_) => se_AttributeNameAndValueList(_, context), "Attributes"), SourceObjectReference: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "SourceObjectReference"), TargetObjectReference: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "TargetObjectReference"), TypedLinkFacet: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "TypedLinkFacet") }) ); b.m("PUT").h(headers).b(body); return b.build();}, "se_AttachTypedLinkCommand");var se_BatchReadCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, { "content-type": "application/json", [_xadp]: input[_DA], [_xacl]: input[_CL] }); b.bp("/amazonclouddirectory/2017-01-11/batchread"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { Operations: /* @__PURE__ */ __name((_) => se_BatchReadOperationList(_, context), "Operations") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_BatchReadCommand");var se_BatchWriteCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, { "content-type": "application/json", [_xadp]: input[_DA] }); b.bp("/amazonclouddirectory/2017-01-11/batchwrite"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { Operations: /* @__PURE__ */ __name((_) => se_BatchWriteOperationList(_, context), "Operations") }) ); b.m("PUT").h(headers).b(body); return b.build();}, "se_BatchWriteCommand");var se_CreateDirectoryCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, { "content-type": "application/json", [_xadp]: input[_SA] }); b.bp("/amazonclouddirectory/2017-01-11/directory/create"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { Name: [] }) ); b.m("PUT").h(headers).b(body); return b.build();}, "se_CreateDirectoryCommand");var se_CreateFacetCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, { "content-type": "application/json", [_xadp]: input[_SA] }); b.bp("/amazonclouddirectory/2017-01-11/facet/create"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { Attributes: /* @__PURE__ */ __name((_) => se_FacetAttributeList(_, context), "Attributes"), FacetStyle: [], Name: [], ObjectType: [] }) ); b.m("PUT").h(headers).b(body); return b.build();}, "se_CreateFacetCommand");var se_CreateIndexCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, { "content-type": "application/json", [_xadp]: input[_DA] }); b.bp("/amazonclouddirectory/2017-01-11/index"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { IsUnique: [], LinkName: [], OrderedIndexedAttributeList: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "OrderedIndexedAttributeList"), ParentReference: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ParentReference") }) ); b.m("PUT").h(headers).b(body); return b.build();}, "se_CreateIndexCommand");var se_CreateObjectCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, { "content-type": "application/json", [_xadp]: input[_DA] }); b.bp("/amazonclouddirectory/2017-01-11/object"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { LinkName: [], ObjectAttributeList: /* @__PURE__ */ __name((_) => se_AttributeKeyAndValueList(_, context), "ObjectAttributeList"), ParentReference: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ParentReference"), SchemaFacets: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "SchemaFacets") }) ); b.m("PUT").h(headers).b(body); return b.build();}, "se_CreateObjectCommand");var se_CreateSchemaCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/amazonclouddirectory/2017-01-11/schema/create"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { Name: [] }) ); b.m("PUT").h(headers).b(body); return b.build();}, "se_CreateSchemaCommand");var se_CreateTypedLinkFacetCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, { "content-type": "application/json", [_xadp]: input[_SA] }); b.bp("/amazonclouddirectory/2017-01-11/typedlink/facet/create"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { Facet: /* @__PURE__ */ __name((_) => se_TypedLinkFacet(_, context), "Facet") }) ); b.m("PUT").h(headers).b(body); return b.build();}, "se_CreateTypedLinkFacetCommand");var se_DeleteDirectoryCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, { [_xadp]: input[_DA] }); b.bp("/amazonclouddirectory/2017-01-11/directory"); let body; b.m("PUT").h(headers).b(body); return b.build();}, "se_DeleteDirectoryCommand");var se_DeleteFacetCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, { "content-type": "application/json", [_xadp]: input[_SA] }); b.bp("/amazonclouddirectory/2017-01-11/facet/delete"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { Name: [] }) ); b.m("PUT").h(headers).b(body); return b.build();}, "se_DeleteFacetCommand");var se_DeleteObjectCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, { "content-type": "application/json", [_xadp]: input[_DA] }); b.bp("/amazonclouddirectory/2017-01-11/object/delete"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { ObjectReference: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ObjectReference") }) ); b.m("PUT").h(headers).b(body); return b.build();}, "se_DeleteObjectCommand");var se_DeleteSchemaCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, { [_xadp]: input[_SA] }); b.bp("/amazonclouddirectory/2017-01-11/schema"); let body; b.m("PUT").h(headers).b(body); return b.build();}, "se_DeleteSchemaCommand");var se_DeleteTypedLinkFacetCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, { "content-type": "application/json", [_xadp]: input[_SA] }); b.bp("/amazonclouddirectory/2017-01-11/typedlink/facet/delete"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { Name: [] }) ); b.m("PUT").h(headers).b(body); return b.build();}, "se_DeleteTypedLinkFacetCommand");var se_DetachFromIndexCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, { "content-type": "application/json", [_xadp]: input[_DA] }); b.bp("/amazonclouddirectory/2017-01-11/index/detach"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { IndexReference: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "IndexReference"), TargetReference: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "TargetReference") }) ); b.m("PUT").h(headers).b(body); return b.build();}, "se_DetachFromIndexCommand");var se_DetachObjectCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, { "content-type": "application/json", [_xadp]: input[_DA] }); b.bp("/amazonclouddirectory/2017-01-11/object/detach"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { LinkName: [], ParentReference: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ParentReference") }) ); b.m("PUT").h(headers).b(body); return b.build();}, "se_DetachObjectCommand");var se_DetachPolicyCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, { "content-type": "application/json", [_xadp]: input[_DA] }); b.bp("/amazonclouddirectory/2017-01-11/policy/detach"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { ObjectReference: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ObjectReference"), PolicyReference: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "PolicyReference") }) ); b.m("PUT").h(headers).b(body); return b.build();}, "se_DetachPolicyCommand");var se_DetachTypedLinkCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, { "content-type": "application/json", [_xadp]: input[_DA] }); b.bp("/amazonclouddirectory/2017-01-11/typedlink/detach"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { TypedLinkSpecifier: /* @__PURE__ */ __name((_) => se_TypedLinkSpecifier(_, context), "TypedLinkSpecifier") }) ); b.m("PUT").h(headers).b(body); return b.build();}, "se_DetachTypedLinkCommand");var se_DisableDirectoryCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, { [_xadp]: input[_DA] }); b.bp("/amazonclouddirectory/2017-01-11/directory/disable"); let body; b.m("PUT").h(headers).b(body); return b.build();}, "se_DisableDirectoryCommand");var se_EnableDirectoryCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, { [_xadp]: input[_DA] }); b.bp("/amazonclouddirectory/2017-01-11/directory/enable"); let body; b.m("PUT").h(headers).b(body); return b.build();}, "se_EnableDirectoryCommand");var se_GetAppliedSchemaVersionCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/amazonclouddirectory/2017-01-11/schema/getappliedschema"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { SchemaArn: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_GetAppliedSchemaVersionCommand");var se_GetDirectoryCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, { [_xadp]: input[_DA] }); b.bp("/amazonclouddirectory/2017-01-11/directory/get"); let body; b.m("POST").h(headers).b(body); return b.build();}, "se_GetDirectoryCommand");var se_GetFacetCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, { "content-type": "application/json", [_xadp]: input[_SA] }); b.bp("/amazonclouddirectory/2017-01-11/facet"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { Name: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_GetFacetCommand");var se_GetLinkAttributesCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, { "content-type": "application/json", [_xadp]: input[_DA] }); b.bp("/amazonclouddirectory/2017-01-11/typedlink/attributes/get"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { AttributeNames: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "AttributeNames"), ConsistencyLevel: [], TypedLinkSpecifier: /* @__PURE__ */ __name((_) => se_TypedLinkSpecifier(_, context), "TypedLinkSpecifier") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_GetLinkAttributesCommand");var se_GetObjectAttributesCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, { "content-type": "application/json", [_xadp]: input[_DA], [_xacl]: input[_CL] }); b.bp("/amazonclouddirectory/2017-01-11/object/attributes/get"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { AttributeNames: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "AttributeNames"), ObjectReference: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ObjectReference"), SchemaFacet: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "SchemaFacet") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_GetObjectAttributesCommand");var se_GetObjectInformationCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, { "content-type": "application/json", [_xadp]: input[_DA], [_xacl]: input[_CL] }); b.bp("/amazonclouddirectory/2017-01-11/object/information"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { ObjectReference: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ObjectReference") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_GetObjectInformationCommand");var se_GetSchemaAsJsonCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, { [_xadp]: input[_SA] }); b.bp("/amazonclouddirectory/2017-01-11/schema/json"); let body; b.m("POST").h(headers).b(body); return b.build();}, "se_GetSchemaAsJsonCommand");var se_GetTypedLinkFacetInformationCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, { "content-type": "application/json", [_xadp]: input[_SA] }); b.bp("/amazonclouddirectory/2017-01-11/typedlink/facet/get"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { Name: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_GetTypedLinkFacetInformationCommand");var se_ListAppliedSchemaArnsCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/amazonclouddirectory/2017-01-11/schema/applied"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { DirectoryArn: [], MaxResults: [], NextToken: [], SchemaArn: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_ListAppliedSchemaArnsCommand");var se_ListAttachedIndicesCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, { "content-type": "application/json", [_xadp]: input[_DA], [_xacl]: input[_CL] }); b.bp("/amazonclouddirectory/2017-01-11/object/indices"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { MaxResults: [], NextToken: [], TargetReference: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "TargetReference") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_ListAttachedIndicesCommand");var se_ListDevelopmentSchemaArnsCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/amazonclouddirectory/2017-01-11/schema/development"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { MaxResults: [], NextToken: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_ListDevelopmentSchemaArnsCommand");var se_ListDirectoriesCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/amazonclouddirectory/2017-01-11/directory/list"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { MaxResults: [], NextToken: [], state: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_ListDirectoriesCommand");var se_ListFacetAttributesCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, { "content-type": "application/json", [_xadp]: input[_SA] }); b.bp("/amazonclouddirectory/2017-01-11/facet/attributes"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { MaxResults: [], Name: [], NextToken: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_ListFacetAttributesCommand");var se_ListFacetNamesCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, { "content-type": "application/json", [_xadp]: input[_SA] }); b.bp("/amazonclouddirectory/2017-01-11/facet/list"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { MaxResults: [], NextToken: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_ListFacetNamesCommand");var se_ListIncomingTypedLinksCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, { "content-type": "application/json", [_xadp]: input[_DA] }); b.bp("/amazonclouddirectory/2017-01-11/typedlink/incoming"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { ConsistencyLevel: [], FilterAttributeRanges: /* @__PURE__ */ __name((_) => se_TypedLinkAttributeRangeList(_, context), "FilterAttributeRanges"), FilterTypedLink: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "FilterTypedLink"), MaxResults: [], NextToken: [], ObjectReference: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ObjectReference") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_ListIncomingTypedLinksCommand");var se_ListIndexCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, { "content-type": "application/json", [_xadp]: input[_DA], [_xacl]: input[_CL] }); b.bp("/amazonclouddirectory/2017-01-11/index/targets"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { IndexReference: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "IndexReference"), MaxResults: [], NextToken: [], RangesOnIndexedValues: /* @__PURE__ */ __name((_) => se_ObjectAttributeRangeList(_, context), "RangesOnIndexedValues") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_ListIndexCommand");var se_ListManagedSchemaArnsCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/amazonclouddirectory/2017-01-11/schema/managed"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { MaxResults: [], NextToken: [], SchemaArn: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_ListManagedSchemaArnsCommand");var se_ListObjectAttributesCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, { "content-type": "application/json", [_xadp]: input[_DA], [_xacl]: input[_CL] }); b.bp("/amazonclouddirectory/2017-01-11/object/attributes"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { FacetFilter: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "FacetFilter"), MaxResults: [], NextToken: [], ObjectReference: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ObjectReference") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_ListObjectAttributesCommand");var se_ListObjectChildrenCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, { "content-type": "application/json", [_xadp]: input[_DA], [_xacl]: input[_CL] }); b.bp("/amazonclouddirectory/2017-01-11/object/children"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { MaxResults: [], NextToken: [], ObjectReference: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ObjectReference") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_ListObjectChildrenCommand");var se_ListObjectParentPathsCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, { "content-type": "application/json", [_xadp]: input[_DA] }); b.bp("/amazonclouddirectory/2017-01-11/object/parentpaths"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { MaxResults: [], NextToken: [], ObjectReference: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ObjectReference") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_ListObjectParentPathsCommand");var se_ListObjectParentsCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, { "content-type": "application/json", [_xadp]: input[_DA], [_xacl]: input[_CL] }); b.bp("/amazonclouddirectory/2017-01-11/object/parent"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { IncludeAllLinksToEachParent: [], MaxResults: [], NextToken: [], ObjectReference: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ObjectReference") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_ListObjectParentsCommand");var se_ListObjectPoliciesCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, { "content-type": "application/json", [_xadp]: input[_DA], [_xacl]: input[_CL] }); b.bp("/amazonclouddirectory/2017-01-11/object/policy"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { MaxResults: [], NextToken: [], ObjectReference: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ObjectReference") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_ListObjectPoliciesCommand");var se_ListOutgoingTypedLinksCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, { "content-type": "application/json", [_xadp]: input[_DA] }); b.bp("/amazonclouddirectory/2017-01-11/typedlink/outgoing"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { ConsistencyLevel: [], FilterAttributeRanges: /* @__PURE__ */ __name((_) => se_TypedLinkAttributeRangeList(_, context), "FilterAttributeRanges"), FilterTypedLink: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "FilterTypedLink"), MaxResults: [], NextToken: [], ObjectReference: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ObjectReference") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_ListOutgoingTypedLinksCommand");var se_ListPolicyAttachmentsCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, { "content-type": "application/json", [_xadp]: input[_DA], [_xacl]: input[_CL] }); b.bp("/amazonclouddirectory/2017-01-11/policy/attachment"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { MaxResults: [], NextToken: [], PolicyReference: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "PolicyReference") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_ListPolicyAttachmentsCommand");var se_ListPublishedSchemaArnsCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/amazonclouddirectory/2017-01-11/schema/published"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { MaxResults: [], NextToken: [], SchemaArn: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_ListPublishedSchemaArnsCommand");var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/amazonclouddirectory/2017-01-11/tags"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { MaxResults: [], NextToken: [], ResourceArn: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_ListTagsForResourceCommand");var se_ListTypedLinkFacetAttributesCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, { "content-type": "application/json", [_xadp]: input[_SA] }); b.bp("/amazonclouddirectory/2017-01-11/typedlink/facet/attributes"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { MaxResults: [], Name: [], NextToken: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_ListTypedLinkFacetAttributesCommand");var se_ListTypedLinkFacetNamesCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, { "content-type": "application/json", [_xadp]: input[_SA] }); b.bp("/amazonclouddirectory/2017-01-11/typedlink/facet/list"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { MaxResults: [], NextToken: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_ListTypedLinkFacetNamesCommand");var se_LookupPolicyCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, { "content-type": "application/json", [_xadp]: input[_DA] }); b.bp("/amazonclouddirectory/2017-01-11/policy/lookup"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { MaxResults: [], NextToken: [], ObjectReference: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ObjectReference") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_LookupPolicyCommand");var se_PublishSchemaCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, { "content-type": "application/json", [_xadp]: input[_DSA] }); b.bp("/amazonclouddirectory/2017-01-11/schema/publish"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { MinorVersion: [], Name: [], Version: [] }) ); b.m("PUT").h(headers).b(body); return b.build();}, "se_PublishSchemaCommand");var se_PutSchemaFromJsonCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, { "content-type": "application/json", [_xadp]: input[_SA] }); b.bp("/amazonclouddirectory/2017-01-11/schema/json"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { Document: [] }) ); b.m("PUT").h(headers).b(body); return b.build();}, "se_PutSchemaFromJsonCommand");var se_RemoveFacetFromObjectCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, { "content-type": "application/json", [_xadp]: input[_DA] }); b.bp("/amazonclouddirectory/2017-01-11/object/facets/delete"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { ObjectReference: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ObjectReference"), SchemaFacet: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "SchemaFacet") }) ); b.m("PUT").h(headers).b(body); return b.build();}, "se_RemoveFacetFromObjectCommand");var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/amazonclouddirectory/2017-01-11/tags/add"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { ResourceArn: [], Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags") }) ); b.m("PUT").h(headers).b(body); return b.build();}, "se_TagResourceCommand");var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/amazonclouddirectory/2017-01-11/tags/remove"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { ResourceArn: [], TagKeys: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "TagKeys") }) ); b.m("PUT").h(headers).b(body); return b.build();}, "se_UntagResourceCommand");var se_UpdateFacetCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, { "content-type": "application/json", [_xadp]: input[_SA] }); b.bp("/amazonclouddirectory/2017-01-11/facet"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { AttributeUpdates: /* @__PURE__ */ __name((_) => se_FacetAttributeUpdateList(_, context), "AttributeUpdates"), Name: [], ObjectType: [] }) ); b.m("PUT").h(headers).b(body); return b.build();}, "se_UpdateFacetCommand");var se_UpdateLinkAttributesCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, { "content-type": "application/json", [_xadp]: input[_DA] }); b.bp("/amazonclouddirectory/2017-01-11/typedlink/attributes/update"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { AttributeUpdates: /* @__PURE__ */ __name((_) => se_LinkAttributeUpdateList(_, context), "AttributeUpdates"), TypedLinkSpecifier: /* @__PURE__ */ __name((_) => se_TypedLinkSpecifier(_, context), "TypedLinkSpecifier") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_UpdateLinkAttributesCommand");var se_UpdateObjectAttributesCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, { "content-type": "application/json", [_xadp]: input[_DA] }); b.bp("/amazonclouddirectory/2017-01-11/object/update"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { AttributeUpdates: /* @__PURE__ */ __name((_) => se_ObjectAttributeUpdateList(_, context), "AttributeUpdates"), ObjectReference: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ObjectReference") }) ); b.m("PUT").h(headers).b(body); return b.build();}, "se_UpdateObjectAttributesCommand");var se_UpdateSchemaCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, { "content-type": "application/json", [_xadp]: input[_SA] }); b.bp("/amazonclouddirectory/2017-01-11/schema/update"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { Name: [] }) ); b.m("PUT").h(headers).b(body); return b.build();}, "se_UpdateSchemaCommand");var se_UpdateTypedLinkFacetCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, { "content-type": "application/json", [_xadp]: input[_SA] }); b.bp("/amazonclouddirectory/2017-01-11/typedlink/facet"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { AttributeUpdates: /* @__PURE__ */ __name((_) => se_TypedLinkFacetAttributeUpdateList(_, context), "AttributeUpdates"), IdentityAttributeOrder: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "IdentityAttributeOrder"), Name: [] }) ); b.m("PUT").h(headers).b(body); return b.build();}, "se_UpdateTypedLinkFacetCommand");var se_UpgradeAppliedSchemaCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/amazonclouddirectory/2017-01-11/schema/upgradeapplied"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { DirectoryArn: [], DryRun: [], PublishedSchemaArn: [] }) ); b.m("PUT").h(headers).b(body); return b.build();}, "se_UpgradeAppliedSchemaCommand");var se_UpgradePublishedSchemaCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/amazonclouddirectory/2017-01-11/schema/upgradepublished"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { DevelopmentSchemaArn: [], DryRun: [], MinorVersion: [], PublishedSchemaArn: [] }) ); b.m("PUT").h(headers).b(body); return b.build();}, "se_UpgradePublishedSchemaCommand");var de_AddFacetToObjectCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); await (0, import_smithy_client.collectBody)(output.body, context); return contents;}, "de_AddFacetToObjectCommand");var de_ApplySchemaCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { AppliedSchemaArn: import_smithy_client.expectString, DirectoryArn: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_ApplySchemaCommand");var de_AttachObjectCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { AttachedObjectIdentifier: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_AttachObjectCommand");var de_AttachPolicyCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); await (0, import_smithy_client.collectBody)(output.body, context); return contents;}, "de_AttachPolicyCommand");var de_AttachToIndexCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { AttachedObjectIdentifier: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_AttachToIndexCommand");var de_AttachTypedLinkCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { TypedLinkSpecifier: /* @__PURE__ */ __name((_) => de_TypedLinkSpecifier(_, context), "TypedLinkSpecifier") }); Object.assign(contents, doc); return contents;}, "de_AttachTypedLinkCommand");var de_BatchReadCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { Responses: /* @__PURE__ */ __name((_) => de_BatchReadOperationResponseList(_, context), "Responses") }); Object.assign(contents, doc); return contents;}, "de_BatchReadCommand");var de_BatchWriteCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { Responses: /* @__PURE__ */ __name((_) => de_BatchWriteOperationResponseList(_, context), "Responses") }); Object.assign(contents, doc); return contents;}, "de_BatchWriteCommand");var de_CreateDirectoryCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { AppliedSchemaArn: import_smithy_client.expectString, DirectoryArn: import_smithy_client.expectString, Name: import_smithy_client.expectString, ObjectIdentifier: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_CreateDirectoryCommand");var de_CreateFacetCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); await (0, import_smithy_client.collectBody)(output.body, context); return contents;}, "de_CreateFacetCommand");var de_CreateIndexCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { ObjectIdentifier: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_CreateIndexCommand");var de_CreateObjectCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { ObjectIdentifier: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_CreateObjectCommand");var de_CreateSchemaCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { SchemaArn: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_CreateSchemaCommand");var de_CreateTypedLinkFacetCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); await (0, import_smithy_client.collectBody)(output.body, context); return contents;}, "de_CreateTypedLinkFacetCommand");var de_DeleteDirectoryCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { DirectoryArn: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_DeleteDirectoryCommand");var de_DeleteFacetCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); await (0, import_smithy_client.collectBody)(output.body, context); return contents;}, "de_DeleteFacetCommand");var de_DeleteObjectCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); await (0, import_smithy_client.collectBody)(output.body, context); return contents;}, "de_DeleteObjectCommand");var de_DeleteSchemaCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { SchemaArn: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_DeleteSchemaCommand");var de_DeleteTypedLinkFacetCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); await (0, import_smithy_client.collectBody)(output.body, context); return contents;}, "de_DeleteTypedLinkFacetCommand");var de_DetachFromIndexCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { DetachedObjectIdentifier: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_DetachFromIndexCommand");var de_DetachObjectCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { DetachedObjectIdentifier: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_DetachObjectCommand");var de_DetachPolicyCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); await (0, import_smithy_client.collectBody)(output.body, context); return contents;}, "de_DetachPolicyCommand");var de_DetachTypedLinkCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); await (0, import_smithy_client.collectBody)(output.body, context); return contents;}, "de_DetachTypedLinkCommand");var de_DisableDirectoryCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { DirectoryArn: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_DisableDirectoryCommand");var de_EnableDirectoryCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { DirectoryArn: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_EnableDirectoryCommand");var de_GetAppliedSchemaVersionCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { AppliedSchemaArn: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_GetAppliedSchemaVersionCommand");var de_GetDirectoryCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { Directory: /* @__PURE__ */ __name((_) => de_Directory(_, context), "Directory") }); Object.assign(contents, doc); return contents;}, "de_GetDirectoryCommand");var de_GetFacetCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { Facet: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_GetFacetCommand");var de_GetLinkAttributesCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { Attributes: /* @__PURE__ */ __name((_) => de_AttributeKeyAndValueList(_, context), "Attributes") }); Object.assign(contents, doc); return contents;}, "de_GetLinkAttributesCommand");var de_GetObjectAttributesCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { Attributes: /* @__PURE__ */ __name((_) => de_AttributeKeyAndValueList(_, context), "Attributes") }); Object.assign(contents, doc); return contents;}, "de_GetObjectAttributesCommand");var de_GetObjectInformationCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { ObjectIdentifier: import_smithy_client.expectString, SchemaFacets: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_GetObjectInformationCommand");var de_GetSchemaAsJsonCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { Document: import_smithy_client.expectString, Name: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_GetSchemaAsJsonCommand");var de_GetTypedLinkFacetInformationCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { IdentityAttributeOrder: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_GetTypedLinkFacetInformationCommand");var de_ListAppliedSchemaArnsCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { NextToken: import_smithy_client.expectString, SchemaArns: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_ListAppliedSchemaArnsCommand");var de_ListAttachedIndicesCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { IndexAttachments: /* @__PURE__ */ __name((_) => de_IndexAttachmentList(_, context), "IndexAttachments"), NextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_ListAttachedIndicesCommand");var de_ListDevelopmentSchemaArnsCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { NextToken: import_smithy_client.expectString, SchemaArns: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_ListDevelopmentSchemaArnsCommand");var de_ListDirectoriesCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { Directories: /* @__PURE__ */ __name((_) => de_DirectoryList(_, context), "Directories"), NextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_ListDirectoriesCommand");var de_ListFacetAttributesCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { Attributes: /* @__PURE__ */ __name((_) => de_FacetAttributeList(_, context), "Attributes"), NextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_ListFacetAttributesCommand");var de_ListFacetNamesCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { FacetNames: import_smithy_client._json, NextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_ListFacetNamesCommand");var de_ListIncomingTypedLinksCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { LinkSpecifiers: /* @__PURE__ */ __name((_) => de_TypedLinkSpecifierList(_, context), "LinkSpecifiers"), NextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_ListIncomingTypedLinksCommand");var de_ListIndexCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { IndexAttachments: /* @__PURE__ */ __name((_) => de_IndexAttachmentList(_, context), "IndexAttachments"), NextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_ListIndexCommand");var de_ListManagedSchemaArnsCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { NextToken: import_smithy_client.expectString, SchemaArns: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_ListManagedSchemaArnsCommand");var de_ListObjectAttributesCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { Attributes: /* @__PURE__ */ __name((_) => de_AttributeKeyAndValueList(_, context), "Attributes"), NextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_ListObjectAttributesCommand");var de_ListObjectChildrenCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { Children: import_smithy_client._json, NextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_ListObjectChildrenCommand");var de_ListObjectParentPathsCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { NextToken: import_smithy_client.expectString, PathToObjectIdentifiersList: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_ListObjectParentPathsCommand");var de_ListObjectParentsCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { NextToken: import_smithy_client.expectString, ParentLinks: import_smithy_client._json, Parents: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_ListObjectParentsCommand");var de_ListObjectPoliciesCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { AttachedPolicyIds: import_smithy_client._json, NextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_ListObjectPoliciesCommand");var de_ListOutgoingTypedLinksCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { NextToken: import_smithy_client.expectString, TypedLinkSpecifiers: /* @__PURE__ */ __name((_) => de_TypedLinkSpecifierList(_, context), "TypedLinkSpecifiers") }); Object.assign(contents, doc); return contents;}, "de_ListOutgoingTypedLinksCommand");var de_ListPolicyAttachmentsCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { NextToken: import_smithy_client.expectString, ObjectIdentifiers: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_ListPolicyAttachmentsCommand");var de_ListPublishedSchemaArnsCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { NextToken: import_smithy_client.expectString, SchemaArns: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_ListPublishedSchemaArnsCommand");var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { NextToken: import_smithy_client.expectString, Tags: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_ListTagsForResourceCommand");var de_ListTypedLinkFacetAttributesCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { Attributes: /* @__PURE__ */ __name((_) => de_TypedLinkAttributeDefinitionList(_, context), "Attributes"), NextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_ListTypedLinkFacetAttributesCommand");var de_ListTypedLinkFacetNamesCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { FacetNames: import_smithy_client._json, NextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_ListTypedLinkFacetNamesCommand");var de_LookupPolicyCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { NextToken: import_smithy_client.expectString, PolicyToPathList: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_LookupPolicyCommand");var de_PublishSchemaCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { PublishedSchemaArn: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_PublishSchemaCommand");var de_PutSchemaFromJsonCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { Arn: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_PutSchemaFromJsonCommand");var de_RemoveFacetFromObjectCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); await (0, import_smithy_client.collectBody)(output.body, context); return contents;}, "de_RemoveFacetFromObjectCommand");var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); await (0, import_smithy_client.collectBody)(output.body, context); return contents;}, "de_TagResourceCommand");var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); await (0, import_smithy_client.collectBody)(output.body, context); return contents;}, "de_UntagResourceCommand");var de_UpdateFacetCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); await (0, import_smithy_client.collectBody)(output.body, context); return contents;}, "de_UpdateFacetCommand");var de_UpdateLinkAttributesCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); await (0, import_smithy_client.collectBody)(output.body, context); return contents;}, "de_UpdateLinkAttributesCommand");var de_UpdateObjectAttributesCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { ObjectIdentifier: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_UpdateObjectAttributesCommand");var de_UpdateSchemaCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { SchemaArn: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_UpdateSchemaCommand");var de_UpdateTypedLinkFacetCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); await (0, import_smithy_client.collectBody)(output.body, context); return contents;}, "de_UpdateTypedLinkFacetCommand");var de_UpgradeAppliedSchemaCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { DirectoryArn: import_smithy_client.expectString, UpgradedSchemaArn: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_UpgradeAppliedSchemaCommand");var de_UpgradePublishedSchemaCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { UpgradedSchemaArn: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_UpgradePublishedSchemaCommand");var de_CommandError = /* @__PURE__ */ __name(async (output, context) => { const parsedOutput = { ...output, body: await (0, import_core2.parseJsonErrorBody)(output.body, context) }; const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body); switch (errorCode) { case "AccessDeniedException": case "com.amazonaws.clouddirectory#AccessDeniedException": throw await de_AccessDeniedExceptionRes(parsedOutput, context); case "DirectoryNotEnabledException": case "com.amazonaws.clouddirectory#DirectoryNotEnabledException": throw await de_DirectoryNotEnabledExceptionRes(parsedOutput, context); case "FacetValidationException": case "com.amazonaws.clouddirectory#FacetValidationException": throw await de_FacetValidationExceptionRes(parsedOutput, context); case "InternalServiceException": case "com.amazonaws.clouddirectory#InternalServiceException": throw await de_InternalServiceExceptionRes(parsedOutput, context); case "InvalidArnException": case "com.amazonaws.clouddirectory#InvalidArnException": throw await de_InvalidArnExceptionRes(parsedOutput, context); case "LimitExceededException": case "com.amazonaws.clouddirectory#LimitExceededException": throw await de_LimitExceededExceptionRes(parsedOutput, context); case "ResourceNotFoundException": case "com.amazonaws.clouddirectory#ResourceNotFoundException": throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); case "RetryableConflictException": case "com.amazonaws.clouddirectory#RetryableConflictException": throw await de_RetryableConflictExceptionRes(parsedOutput, context); case "ValidationException": case "com.amazonaws.clouddirectory#ValidationException": throw await de_ValidationExceptionRes(parsedOutput, context); case "InvalidAttachmentException": case "com.amazonaws.clouddirectory#InvalidAttachmentException": throw await de_InvalidAttachmentExceptionRes(parsedOutput, context); case "SchemaAlreadyExistsException": case "com.amazonaws.clouddirectory#SchemaAlreadyExistsException": throw await de_SchemaAlreadyExistsExceptionRes(parsedOutput, context); case "LinkNameAlreadyInUseException": case "com.amazonaws.clouddirectory#LinkNameAlreadyInUseException": throw await de_LinkNameAlreadyInUseExceptionRes(parsedOutput, context); case "NotPolicyException": case "com.amazonaws.clouddirectory#NotPolicyException": throw await de_NotPolicyExceptionRes(parsedOutput, context); case "IndexedAttributeMissingException": case "com.amazonaws.clouddirectory#IndexedAttributeMissingException": throw await de_IndexedAttributeMissingExceptionRes(parsedOutput, context); case "NotIndexException": case "com.amazonaws.clouddirectory#NotIndexException": throw await de_NotIndexExceptionRes(parsedOutput, context); case "BatchWriteException": case "com.amazonaws.clouddirectory#BatchWriteException": throw await de_BatchWriteExceptionRes(parsedOutput, context); case "DirectoryAlreadyExistsException": case "com.amazonaws.clouddirectory#DirectoryAlreadyExistsException": throw await de_DirectoryAlreadyExistsExceptionRes(parsedOutput, context); case "FacetAlreadyExistsException": case "com.amazonaws.clouddirectory#FacetAlreadyExistsException": throw await de_FacetAlreadyExistsExceptionRes(parsedOutput, context); case "InvalidRuleException": case "com.amazonaws.clouddirectory#InvalidRuleException": throw await de_InvalidRuleExceptionRes(parsedOutput, context); case "UnsupportedIndexTypeException": case "com.amazonaws.clouddirectory#UnsupportedIndexTypeException": throw await de_UnsupportedIndexTypeExceptionRes(parsedOutput, context); case "DirectoryDeletedException": case "com.amazonaws.clouddirectory#DirectoryDeletedException": throw await de_DirectoryDeletedExceptionRes(parsedOutput, context); case "DirectoryNotDisabledException": case "com.amazonaws.clouddirectory#DirectoryNotDisabledException": throw await de_DirectoryNotDisabledExceptionRes(parsedOutput, context); case "FacetInUseException": case "com.amazonaws.clouddirectory#FacetInUseException": throw await de_FacetInUseExceptionRes(parsedOutput, context); case "FacetNotFoundException": case "com.amazonaws.clouddirectory#FacetNotFoundException": throw await de_FacetNotFoundExceptionRes(parsedOutput, context); case "ObjectNotDetachedException": case "com.amazonaws.clouddirectory#ObjectNotDetachedException": throw await de_ObjectNotDetachedExceptionRes(parsedOutput, context); case "StillContainsLinksException": case "com.amazonaws.clouddirectory#StillContainsLinksException": throw await de_StillContainsLinksExceptionRes(parsedOutput, context); case "ObjectAlreadyDetachedException": case "com.amazonaws.clouddirectory#ObjectAlreadyDetachedException": throw await de_ObjectAlreadyDetachedExceptionRes(parsedOutput, context); case "NotNodeException": case "com.amazonaws.clouddirectory#NotNodeException": throw await de_NotNodeExceptionRes(parsedOutput, context); case "InvalidNextTokenException": case "com.amazonaws.clouddirectory#InvalidNextTokenException": throw await de_InvalidNextTokenExceptionRes(parsedOutput, context); case "CannotListParentOfRootException": case "com.amazonaws.clouddirectory#CannotListParentOfRootException": throw await de_CannotListParentOfRootExceptionRes(parsedOutput, context); case "InvalidTaggingRequestException": case "com.amazonaws.clouddirectory#InvalidTaggingRequestException": throw await de_InvalidTaggingRequestExceptionRes(parsedOutput, context); case "SchemaAlreadyPublishedException": case "com.amazonaws.clouddirectory#SchemaAlreadyPublishedException": throw await de_SchemaAlreadyPublishedExceptionRes(parsedOutput, context); case "InvalidSchemaDocException": case "com.amazonaws.clouddirectory#InvalidSchemaDocException": throw await de_InvalidSchemaDocExceptionRes(parsedOutput, context); case "InvalidFacetUpdateException": case "com.amazonaws.clouddirectory#InvalidFacetUpdateException": throw await de_InvalidFacetUpdateExceptionRes(parsedOutput, context); case "IncompatibleSchemaException": case "com.amazonaws.clouddirectory#IncompatibleSchemaException": throw await de_IncompatibleSchemaExceptionRes(parsedOutput, context); default: const parsedBody = parsedOutput.body; return throwDefaultError({ output, parsedBody, errorCode }); }}, "de_CommandError");var throwDefaultError = (0, import_smithy_client.withBaseException)(CloudDirectoryServiceException);var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { Message: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new AccessDeniedException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_AccessDeniedExceptionRes");var de_BatchWriteExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { Index: import_smithy_client.expectInt32, Message: import_smithy_client.expectString, Type: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new BatchWriteException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_BatchWriteExceptionRes");var de_CannotListParentOfRootExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { Message: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new CannotListParentOfRootException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_CannotListParentOfRootExceptionRes");var de_DirectoryAlreadyExistsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { Message: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new DirectoryAlreadyExistsException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_DirectoryAlreadyExistsExceptionRes");var de_DirectoryDeletedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { Message: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new DirectoryDeletedException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_DirectoryDeletedExceptionRes");var de_DirectoryNotDisabledExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { Message: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new DirectoryNotDisabledException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_DirectoryNotDisabledExceptionRes");var de_DirectoryNotEnabledExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { Message: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new DirectoryNotEnabledException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_DirectoryNotEnabledExceptionRes");var de_FacetAlreadyExistsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { Message: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new FacetAlreadyExistsException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_FacetAlreadyExistsExceptionRes");var de_FacetInUseExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { Message: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new FacetInUseException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_FacetInUseExceptionRes");var de_FacetNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { Message: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new FacetNotFoundException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_FacetNotFoundExceptionRes");var de_FacetValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { Message: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new FacetValidationException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_FacetValidationExceptionRes");var de_IncompatibleSchemaExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { Message: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new IncompatibleSchemaException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_IncompatibleSchemaExceptionRes");var de_IndexedAttributeMissingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { Message: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new IndexedAttributeMissingException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_IndexedAttributeMissingExceptionRes");var de_InternalServiceExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { Message: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new InternalServiceException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_InternalServiceExceptionRes");var de_InvalidArnExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { Message: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new InvalidArnException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_InvalidArnExceptionRes");var de_InvalidAttachmentExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { Message: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new InvalidAttachmentException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_InvalidAttachmentExceptionRes");var de_InvalidFacetUpdateExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { Message: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new InvalidFacetUpdateException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_InvalidFacetUpdateExceptionRes");var de_InvalidNextTokenExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { Message: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new InvalidNextTokenException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_InvalidNextTokenExceptionRes");var de_InvalidRuleExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { Message: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new InvalidRuleException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_InvalidRuleExceptionRes");var de_InvalidSchemaDocExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { Message: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new InvalidSchemaDocException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_InvalidSchemaDocExceptionRes");var de_InvalidTaggingRequestExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { Message: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new InvalidTaggingRequestException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_InvalidTaggingRequestExceptionRes");var de_LimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { Message: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new LimitExceededException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_LimitExceededExceptionRes");var de_LinkNameAlreadyInUseExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { Message: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new LinkNameAlreadyInUseException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_LinkNameAlreadyInUseExceptionRes");var de_NotIndexExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { Message: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new NotIndexException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_NotIndexExceptionRes");var de_NotNodeExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { Message: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new NotNodeException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_NotNodeExceptionRes");var de_NotPolicyExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { Message: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new NotPolicyException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_NotPolicyExceptionRes");var de_ObjectAlreadyDetachedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { Message: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new ObjectAlreadyDetachedException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_ObjectAlreadyDetachedExceptionRes");var de_ObjectNotDetachedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { Message: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new ObjectNotDetachedException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_ObjectNotDetachedExceptionRes");var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { Message: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new ResourceNotFoundException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_ResourceNotFoundExceptionRes");var de_RetryableConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { Message: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new RetryableConflictException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_RetryableConflictExceptionRes");var de_SchemaAlreadyExistsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { Message: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new SchemaAlreadyExistsException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_SchemaAlreadyExistsExceptionRes");var de_SchemaAlreadyPublishedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { Message: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new SchemaAlreadyPublishedException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_SchemaAlreadyPublishedExceptionRes");var de_StillContainsLinksExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { Message: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new StillContainsLinksException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_StillContainsLinksExceptionRes");var de_UnsupportedIndexTypeExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { Message: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new UnsupportedIndexTypeException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_UnsupportedIndexTypeExceptionRes");var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { Message: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new ValidationException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_ValidationExceptionRes");var se_AttributeKeyAndValue = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { Key: import_smithy_client._json, Value: /* @__PURE__ */ __name((_) => se_TypedAttributeValue(_, context), "Value") });}, "se_AttributeKeyAndValue");var se_AttributeKeyAndValueList = /* @__PURE__ */ __name((input, context) => { return input.filter((e) => e != null).map((entry) => { return se_AttributeKeyAndValue(entry, context); });}, "se_AttributeKeyAndValueList");var se_AttributeNameAndValue = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { AttributeName: [], Value: /* @__PURE__ */ __name((_) => se_TypedAttributeValue(_, context), "Value") });}, "se_AttributeNameAndValue");var se_AttributeNameAndValueList = /* @__PURE__ */ __name((input, context) => { return input.filter((e) => e != null).map((entry) => { return se_AttributeNameAndValue(entry, context); });}, "se_AttributeNameAndValueList");var se_BatchAddFacetToObject = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { ObjectAttributeList: /* @__PURE__ */ __name((_) => se_AttributeKeyAndValueList(_, context), "ObjectAttributeList"), ObjectReference: import_smithy_client._json, SchemaFacet: import_smithy_client._json });}, "se_BatchAddFacetToObject");var se_BatchAttachTypedLink = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { Attributes: /* @__PURE__ */ __name((_) => se_AttributeNameAndValueList(_, context), "Attributes"), SourceObjectReference: import_smithy_client._json, TargetObjectReference: import_smithy_client._json, TypedLinkFacet: import_smithy_client._json });}, "se_BatchAttachTypedLink");var se_BatchCreateObject = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { BatchReferenceName: [], LinkName: [], ObjectAttributeList: /* @__PURE__ */ __name((_) => se_AttributeKeyAndValueList(_, context), "ObjectAttributeList"), ParentReference: import_smithy_client._json, SchemaFacet: import_smithy_client._json });}, "se_BatchCreateObject");var se_BatchDetachTypedLink = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { TypedLinkSpecifier: /* @__PURE__ */ __name((_) => se_TypedLinkSpecifier(_, context), "TypedLinkSpecifier") });}, "se_BatchDetachTypedLink");var se_BatchGetLinkAttributes = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { AttributeNames: import_smithy_client._json, TypedLinkSpecifier: /* @__PURE__ */ __name((_) => se_TypedLinkSpecifier(_, context), "TypedLinkSpecifier") });}, "se_BatchGetLinkAttributes");var se_BatchListIncomingTypedLinks = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { FilterAttributeRanges: /* @__PURE__ */ __name((_) => se_TypedLinkAttributeRangeList(_, context), "FilterAttributeRanges"), FilterTypedLink: import_smithy_client._json, MaxResults: [], NextToken: [], ObjectReference: import_smithy_client._json });}, "se_BatchListIncomingTypedLinks");var se_BatchListIndex = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { IndexReference: import_smithy_client._json, MaxResults: [], NextToken: [], RangesOnIndexedValues: /* @__PURE__ */ __name((_) => se_ObjectAttributeRangeList(_, context), "RangesOnIndexedValues") });}, "se_BatchListIndex");var se_BatchListOutgoingTypedLinks = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { FilterAttributeRanges: /* @__PURE__ */ __name((_) => se_TypedLinkAttributeRangeList(_, context), "FilterAttributeRanges"), FilterTypedLink: import_smithy_client._json, MaxResults: [], NextToken: [], ObjectReference: import_smithy_client._json });}, "se_BatchListOutgoingTypedLinks");var se_BatchReadOperation = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { GetLinkAttributes: /* @__PURE__ */ __name((_) => se_BatchGetLinkAttributes(_, context), "GetLinkAttributes"), GetObjectAttributes: import_smithy_client._json, GetObjectInformation: import_smithy_client._json, ListAttachedIndices: import_smithy_client._json, ListIncomingTypedLinks: /* @__PURE__ */ __name((_) => se_BatchListIncomingTypedLinks(_, context), "ListIncomingTypedLinks"), ListIndex: /* @__PURE__ */ __name((_) => se_BatchListIndex(_, context), "ListIndex"), ListObjectAttributes: import_smithy_client._json, ListObjectChildren: import_smithy_client._json, ListObjectParentPaths: import_smithy_client._json, ListObjectParents: import_smithy_client._json, ListObjectPolicies: import_smithy_client._json, ListOutgoingTypedLinks: /* @__PURE__ */ __name((_) => se_BatchListOutgoingTypedLinks(_, context), "ListOutgoingTypedLinks"), ListPolicyAttachments: import_smithy_client._json, LookupPolicy: import_smithy_client._json });}, "se_BatchReadOperation");var se_BatchReadOperationList = /* @__PURE__ */ __name((input, context) => { return input.filter((e) => e != null).map((entry) => { return se_BatchReadOperation(entry, context); });}, "se_BatchReadOperationList");var se_BatchUpdateLinkAttributes = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { AttributeUpdates: /* @__PURE__ */ __name((_) => se_LinkAttributeUpdateList(_, context), "AttributeUpdates"), TypedLinkSpecifier: /* @__PURE__ */ __name((_) => se_TypedLinkSpecifier(_, context), "TypedLinkSpecifier") });}, "se_BatchUpdateLinkAttributes");var se_BatchUpdateObjectAttributes = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { AttributeUpdates: /* @__PURE__ */ __name((_) => se_ObjectAttributeUpdateList(_, context), "AttributeUpdates"), ObjectReference: import_smithy_client._json });}, "se_BatchUpdateObjectAttributes");var se_BatchWriteOperation = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { AddFacetToObject: /* @__PURE__ */ __name((_) => se_BatchAddFacetToObject(_, context), "AddFacetToObject"), AttachObject: import_smithy_client._json, AttachPolicy: import_smithy_client._json, AttachToIndex: import_smithy_client._json, AttachTypedLink: /* @__PURE__ */ __name((_) => se_BatchAttachTypedLink(_, context), "AttachTypedLink"), CreateIndex: import_smithy_client._json, CreateObject: /* @__PURE__ */ __name((_) => se_BatchCreateObject(_, context), "CreateObject"), DeleteObject: import_smithy_client._json, DetachFromIndex: import_smithy_client._json, DetachObject: import_smithy_client._json, DetachPolicy: import_smithy_client._json, DetachTypedLink: /* @__PURE__ */ __name((_) => se_BatchDetachTypedLink(_, context), "DetachTypedLink"), RemoveFacetFromObject: import_smithy_client._json, UpdateLinkAttributes: /* @__PURE__ */ __name((_) => se_BatchUpdateLinkAttributes(_, context), "UpdateLinkAttributes"), UpdateObjectAttributes: /* @__PURE__ */ __name((_) => se_BatchUpdateObjectAttributes(_, context), "UpdateObjectAttributes") });}, "se_BatchWriteOperation");var se_BatchWriteOperationList = /* @__PURE__ */ __name((input, context) => { return input.filter((e) => e != null).map((entry) => { return se_BatchWriteOperation(entry, context); });}, "se_BatchWriteOperationList");var se_FacetAttribute = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { AttributeDefinition: /* @__PURE__ */ __name((_) => se_FacetAttributeDefinition(_, context), "AttributeDefinition"), AttributeReference: import_smithy_client._json, Name: [], RequiredBehavior: [] });}, "se_FacetAttribute");var se_FacetAttributeDefinition = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { DefaultValue: /* @__PURE__ */ __name((_) => se_TypedAttributeValue(_, context), "DefaultValue"), IsImmutable: [], Rules: import_smithy_client._json, Type: [] });}, "se_FacetAttributeDefinition");var se_FacetAttributeList = /* @__PURE__ */ __name((input, context) => { return input.filter((e) => e != null).map((entry) => { return se_FacetAttribute(entry, context); });}, "se_FacetAttributeList");var se_FacetAttributeUpdate = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { Action: [], Attribute: /* @__PURE__ */ __name((_) => se_FacetAttribute(_, context), "Attribute") });}, "se_FacetAttributeUpdate");var se_FacetAttributeUpdateList = /* @__PURE__ */ __name((input, context) => { return input.filter((e) => e != null).map((entry) => { return se_FacetAttributeUpdate(entry, context); });}, "se_FacetAttributeUpdateList");var se_LinkAttributeAction = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { AttributeActionType: [], AttributeUpdateValue: /* @__PURE__ */ __name((_) => se_TypedAttributeValue(_, context), "AttributeUpdateValue") });}, "se_LinkAttributeAction");var se_LinkAttributeUpdate = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { AttributeAction: /* @__PURE__ */ __name((_) => se_LinkAttributeAction(_, context), "AttributeAction"), AttributeKey: import_smithy_client._json });}, "se_LinkAttributeUpdate");var se_LinkAttributeUpdateList = /* @__PURE__ */ __name((input, context) => { return input.filter((e) => e != null).map((entry) => { return se_LinkAttributeUpdate(entry, context); });}, "se_LinkAttributeUpdateList");var se_ObjectAttributeAction = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { ObjectAttributeActionType: [], ObjectAttributeUpdateValue: /* @__PURE__ */ __name((_) => se_TypedAttributeValue(_, context), "ObjectAttributeUpdateValue") });}, "se_ObjectAttributeAction");var se_ObjectAttributeRange = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { AttributeKey: import_smithy_client._json, Range: /* @__PURE__ */ __name((_) => se_TypedAttributeValueRange(_, context), "Range") });}, "se_ObjectAttributeRange");var se_ObjectAttributeRangeList = /* @__PURE__ */ __name((input, context) => { return input.filter((e) => e != null).map((entry) => { return se_ObjectAttributeRange(entry, context); });}, "se_ObjectAttributeRangeList");var se_ObjectAttributeUpdate = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { ObjectAttributeAction: /* @__PURE__ */ __name((_) => se_ObjectAttributeAction(_, context), "ObjectAttributeAction"), ObjectAttributeKey: import_smithy_client._json });}, "se_ObjectAttributeUpdate");var se_ObjectAttributeUpdateList = /* @__PURE__ */ __name((input, context) => { return input.filter((e) => e != null).map((entry) => { return se_ObjectAttributeUpdate(entry, context); });}, "se_ObjectAttributeUpdateList");var se_TypedAttributeValue = /* @__PURE__ */ __name((input, context) => { return TypedAttributeValue.visit(input, { BinaryValue: /* @__PURE__ */ __name((value) => ({ BinaryValue: context.base64Encoder(value) }), "BinaryValue"), BooleanValue: /* @__PURE__ */ __name((value) => ({ BooleanValue: value }), "BooleanValue"), DatetimeValue: /* @__PURE__ */ __name((value) => ({ DatetimeValue: value.getTime() / 1e3 }), "DatetimeValue"), NumberValue: /* @__PURE__ */ __name((value) => ({ NumberValue: value }), "NumberValue"), StringValue: /* @__PURE__ */ __name((value) => ({ StringValue: value }), "StringValue"), _: /* @__PURE__ */ __name((name, value) => ({ [name]: value }), "_") });}, "se_TypedAttributeValue");var se_TypedAttributeValueRange = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { EndMode: [], EndValue: /* @__PURE__ */ __name((_) => se_TypedAttributeValue(_, context), "EndValue"), StartMode: [], StartValue: /* @__PURE__ */ __name((_) => se_TypedAttributeValue(_, context), "StartValue") });}, "se_TypedAttributeValueRange");var se_TypedLinkAttributeDefinition = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { DefaultValue: /* @__PURE__ */ __name((_) => se_TypedAttributeValue(_, context), "DefaultValue"), IsImmutable: [], Name: [], RequiredBehavior: [], Rules: import_smithy_client._json, Type: [] });}, "se_TypedLinkAttributeDefinition");var se_TypedLinkAttributeDefinitionList = /* @__PURE__ */ __name((input, context) => { return input.filter((e) => e != null).map((entry) => { return se_TypedLinkAttributeDefinition(entry, context); });}, "se_TypedLinkAttributeDefinitionList");var se_TypedLinkAttributeRange = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { AttributeName: [], Range: /* @__PURE__ */ __name((_) => se_TypedAttributeValueRange(_, context), "Range") });}, "se_TypedLinkAttributeRange");var se_TypedLinkAttributeRangeList = /* @__PURE__ */ __name((input, context) => { return input.filter((e) => e != null).map((entry) => { return se_TypedLinkAttributeRange(entry, context); });}, "se_TypedLinkAttributeRangeList");var se_TypedLinkFacet = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { Attributes: /* @__PURE__ */ __name((_) => se_TypedLinkAttributeDefinitionList(_, context), "Attributes"), IdentityAttributeOrder: import_smithy_client._json, Name: [] });}, "se_TypedLinkFacet");var se_TypedLinkFacetAttributeUpdate = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { Action: [], Attribute: /* @__PURE__ */ __name((_) => se_TypedLinkAttributeDefinition(_, context), "Attribute") });}, "se_TypedLinkFacetAttributeUpdate");var se_TypedLinkFacetAttributeUpdateList = /* @__PURE__ */ __name((input, context) => { return input.filter((e) => e != null).map((entry) => { return se_TypedLinkFacetAttributeUpdate(entry, context); });}, "se_TypedLinkFacetAttributeUpdateList");var se_TypedLinkSpecifier = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { IdentityAttributeValues: /* @__PURE__ */ __name((_) => se_AttributeNameAndValueList(_, context), "IdentityAttributeValues"), SourceObjectReference: import_smithy_client._json, TargetObjectReference: import_smithy_client._json, TypedLinkFacet: import_smithy_client._json });}, "se_TypedLinkSpecifier");var de_AttributeKeyAndValue = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { Key: import_smithy_client._json, Value: /* @__PURE__ */ __name((_) => de_TypedAttributeValue((0, import_core2.awsExpectUnion)(_), context), "Value") });}, "de_AttributeKeyAndValue");var de_AttributeKeyAndValueList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_AttributeKeyAndValue(entry, context); }); return retVal;}, "de_AttributeKeyAndValueList");var de_AttributeNameAndValue = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { AttributeName: import_smithy_client.expectString, Value: /* @__PURE__ */ __name((_) => de_TypedAttributeValue((0, import_core2.awsExpectUnion)(_), context), "Value") });}, "de_AttributeNameAndValue");var de_AttributeNameAndValueList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_AttributeNameAndValue(entry, context); }); return retVal;}, "de_AttributeNameAndValueList");var de_BatchAttachTypedLinkResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { TypedLinkSpecifier: /* @__PURE__ */ __name((_) => de_TypedLinkSpecifier(_, context), "TypedLinkSpecifier") });}, "de_BatchAttachTypedLinkResponse");var de_BatchGetLinkAttributesResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { Attributes: /* @__PURE__ */ __name((_) => de_AttributeKeyAndValueList(_, context), "Attributes") });}, "de_BatchGetLinkAttributesResponse");var de_BatchGetObjectAttributesResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { Attributes: /* @__PURE__ */ __name((_) => de_AttributeKeyAndValueList(_, context), "Attributes") });}, "de_BatchGetObjectAttributesResponse");var de_BatchListAttachedIndicesResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { IndexAttachments: /* @__PURE__ */ __name((_) => de_IndexAttachmentList(_, context), "IndexAttachments"), NextToken: import_smithy_client.expectString });}, "de_BatchListAttachedIndicesResponse");var de_BatchListIncomingTypedLinksResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { LinkSpecifiers: /* @__PURE__ */ __name((_) => de_TypedLinkSpecifierList(_, context), "LinkSpecifiers"), NextToken: import_smithy_client.expectString });}, "de_BatchListIncomingTypedLinksResponse");var de_BatchListIndexResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { IndexAttachments: /* @__PURE__ */ __name((_) => de_IndexAttachmentList(_, context), "IndexAttachments"), NextToken: import_smithy_client.expectString });}, "de_BatchListIndexResponse");var de_BatchListObjectAttributesResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { Attributes: /* @__PURE__ */ __name((_) => de_AttributeKeyAndValueList(_, context), "Attributes"), NextToken: import_smithy_client.expectString });}, "de_BatchListObjectAttributesResponse");var de_BatchListOutgoingTypedLinksResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { NextToken: import_smithy_client.expectString, TypedLinkSpecifiers: /* @__PURE__ */ __name((_) => de_TypedLinkSpecifierList(_, context), "TypedLinkSpecifiers") });}, "de_BatchListOutgoingTypedLinksResponse");var de_BatchReadOperationResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { ExceptionResponse: import_smithy_client._json, SuccessfulResponse: /* @__PURE__ */ __name((_) => de_BatchReadSuccessfulResponse(_, context), "SuccessfulResponse") });}, "de_BatchReadOperationResponse");var de_BatchReadOperationResponseList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_BatchReadOperationResponse(entry, context); }); return retVal;}, "de_BatchReadOperationResponseList");var de_BatchReadSuccessfulResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { GetLinkAttributes: /* @__PURE__ */ __name((_) => de_BatchGetLinkAttributesResponse(_, context), "GetLinkAttributes"), GetObjectAttributes: /* @__PURE__ */ __name((_) => de_BatchGetObjectAttributesResponse(_, context), "GetObjectAttributes"), GetObjectInformation: import_smithy_client._json, ListAttachedIndices: /* @__PURE__ */ __name((_) => de_BatchListAttachedIndicesResponse(_, context), "ListAttachedIndices"), ListIncomingTypedLinks: /* @__PURE__ */ __name((_) => de_BatchListIncomingTypedLinksResponse(_, context), "ListIncomingTypedLinks"), ListIndex: /* @__PURE__ */ __name((_) => de_BatchListIndexResponse(_, context), "ListIndex"), ListObjectAttributes: /* @__PURE__ */ __name((_) => de_BatchListObjectAttributesResponse(_, context), "ListObjectAttributes"), ListObjectChildren: import_smithy_client._json, ListObjectParentPaths: import_smithy_client._json, ListObjectParents: import_smithy_client._json, ListObjectPolicies: import_smithy_client._json, ListOutgoingTypedLinks: /* @__PURE__ */ __name((_) => de_BatchListOutgoingTypedLinksResponse(_, context), "ListOutgoingTypedLinks"), ListPolicyAttachments: import_smithy_client._json, LookupPolicy: import_smithy_client._json });}, "de_BatchReadSuccessfulResponse");var de_BatchWriteOperationResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { AddFacetToObject: import_smithy_client._json, AttachObject: import_smithy_client._json, AttachPolicy: import_smithy_client._json, AttachToIndex: import_smithy_client._json, AttachTypedLink: /* @__PURE__ */ __name((_) => de_BatchAttachTypedLinkResponse(_, context), "AttachTypedLink"), CreateIndex: import_smithy_client._json, CreateObject: import_smithy_client._json, DeleteObject: import_smithy_client._json, DetachFromIndex: import_smithy_client._json, DetachObject: import_smithy_client._json, DetachPolicy: import_smithy_client._json, DetachTypedLink: import_smithy_client._json, RemoveFacetFromObject: import_smithy_client._json, UpdateLinkAttributes: import_smithy_client._json, UpdateObjectAttributes: import_smithy_client._json });}, "de_BatchWriteOperationResponse");var de_BatchWriteOperationResponseList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_BatchWriteOperationResponse(entry, context); }); return retVal;}, "de_BatchWriteOperationResponseList");var de_Directory = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { CreationDateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationDateTime"), DirectoryArn: import_smithy_client.expectString, Name: import_smithy_client.expectString, State: import_smithy_client.expectString });}, "de_Directory");var de_DirectoryList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_Directory(entry, context); }); return retVal;}, "de_DirectoryList");var de_FacetAttribute = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { AttributeDefinition: /* @__PURE__ */ __name((_) => de_FacetAttributeDefinition(_, context), "AttributeDefinition"), AttributeReference: import_smithy_client._json, Name: import_smithy_client.expectString, RequiredBehavior: import_smithy_client.expectString });}, "de_FacetAttribute");var de_FacetAttributeDefinition = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { DefaultValue: /* @__PURE__ */ __name((_) => de_TypedAttributeValue((0, import_core2.awsExpectUnion)(_), context), "DefaultValue"), IsImmutable: import_smithy_client.expectBoolean, Rules: import_smithy_client._json, Type: import_smithy_client.expectString });}, "de_FacetAttributeDefinition");var de_FacetAttributeList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_FacetAttribute(entry, context); }); return retVal;}, "de_FacetAttributeList");var de_IndexAttachment = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { IndexedAttributes: /* @__PURE__ */ __name((_) => de_AttributeKeyAndValueList(_, context), "IndexedAttributes"), ObjectIdentifier: import_smithy_client.expectString });}, "de_IndexAttachment");var de_IndexAttachmentList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_IndexAttachment(entry, context); }); return retVal;}, "de_IndexAttachmentList");var de_TypedAttributeValue = /* @__PURE__ */ __name((output, context) => { if (output.BinaryValue != null) { return { BinaryValue: context.base64Decoder(output.BinaryValue) }; } if ((0, import_smithy_client.expectBoolean)(output.BooleanValue) !== void 0) { return { BooleanValue: (0, import_smithy_client.expectBoolean)(output.BooleanValue) }; } if (output.DatetimeValue != null) { return { DatetimeValue: (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(output.DatetimeValue))) }; } if ((0, import_smithy_client.expectString)(output.NumberValue) !== void 0) { return { NumberValue: (0, import_smithy_client.expectString)(output.NumberValue) }; } if ((0, import_smithy_client.expectString)(output.StringValue) !== void 0) { return { StringValue: (0, import_smithy_client.expectString)(output.StringValue) }; } return { $unknown: Object.entries(output)[0] };}, "de_TypedAttributeValue");var de_TypedLinkAttributeDefinition = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { DefaultValue: /* @__PURE__ */ __name((_) => de_TypedAttributeValue((0, import_core2.awsExpectUnion)(_), context), "DefaultValue"), IsImmutable: import_smithy_client.expectBoolean, Name: import_smithy_client.expectString, RequiredBehavior: import_smithy_client.expectString, Rules: import_smithy_client._json, Type: import_smithy_client.expectString });}, "de_TypedLinkAttributeDefinition");var de_TypedLinkAttributeDefinitionList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_TypedLinkAttributeDefinition(entry, context); }); return retVal;}, "de_TypedLinkAttributeDefinitionList");var de_TypedLinkSpecifier = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { IdentityAttributeValues: /* @__PURE__ */ __name((_) => de_AttributeNameAndValueList(_, context), "IdentityAttributeValues"), SourceObjectReference: import_smithy_client._json, TargetObjectReference: import_smithy_client._json, TypedLinkFacet: import_smithy_client._json });}, "de_TypedLinkSpecifier");var de_TypedLinkSpecifierList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_TypedLinkSpecifier(entry, context); }); return retVal;}, "de_TypedLinkSpecifierList");var deserializeMetadata = /* @__PURE__ */ __name((output) => ({ httpStatusCode: output.statusCode, requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"], extendedRequestId: output.headers["x-amz-id-2"], cfId: output.headers["x-amz-cf-id"]}), "deserializeMetadata");var _CL = "ConsistencyLevel";var _DA = "DirectoryArn";var _DSA = "DevelopmentSchemaArn";var _SA = "SchemaArn";var _xacl = "x-amz-consistency-level";var _xadp = "x-amz-data-partition"; // src/commands/AddFacetToObjectCommand.tsvar AddFacetToObjectCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AmazonCloudDirectory_20170111", "AddFacetToObject", {}).n("CloudDirectoryClient", "AddFacetToObjectCommand").f(void 0, void 0).ser(se_AddFacetToObjectCommand).de(de_AddFacetToObjectCommand).build() { static { __name(this, "AddFacetToObjectCommand"); }}; // src/commands/ApplySchemaCommand.ts var ApplySchemaCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AmazonCloudDirectory_20170111", "ApplySchema", {}).n("CloudDirectoryClient", "ApplySchemaCommand").f(void 0, void 0).ser(se_ApplySchemaCommand).de(de_ApplySchemaCommand).build() { static { __name(this, "ApplySchemaCommand"); }}; // src/commands/AttachObjectCommand.ts var AttachObjectCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AmazonCloudDirectory_20170111", "AttachObject", {}).n("CloudDirectoryClient", "AttachObjectCommand").f(void 0, void 0).ser(se_AttachObjectCommand).de(de_AttachObjectCommand).build() { static { __name(this, "AttachObjectCommand"); }}; // src/commands/AttachPolicyCommand.ts var AttachPolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AmazonCloudDirectory_20170111", "AttachPolicy", {}).n("CloudDirectoryClient", "AttachPolicyCommand").f(void 0, void 0).ser(se_AttachPolicyCommand).de(de_AttachPolicyCommand).build() { static { __name(this, "AttachPolicyCommand"); }}; // src/commands/AttachToIndexCommand.ts var AttachToIndexCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AmazonCloudDirectory_20170111", "AttachToIndex", {}).n("CloudDirectoryClient", "AttachToIndexCommand").f(void 0, void 0).ser(se_AttachToIndexCommand).de(de_AttachToIndexCommand).build() { static { __name(this, "AttachToIndexCommand"); }}; // src/commands/AttachTypedLinkCommand.ts var AttachTypedLinkCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AmazonCloudDirectory_20170111", "AttachTypedLink", {}).n("CloudDirectoryClient", "AttachTypedLinkCommand").f(void 0, void 0).ser(se_AttachTypedLinkCommand).de(de_AttachTypedLinkCommand).build() { static { __name(this, "AttachTypedLinkCommand"); }}; // src/commands/BatchReadCommand.ts var BatchReadCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AmazonCloudDirectory_20170111", "BatchRead", {}).n("CloudDirectoryClient", "BatchReadCommand").f(void 0, void 0).ser(se_BatchReadCommand).de(de_BatchReadCommand).build() { static { __name(this, "BatchReadCommand"); }}; // src/commands/BatchWriteCommand.ts var BatchWriteCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AmazonCloudDirectory_20170111", "BatchWrite", {}).n("CloudDirectoryClient", "BatchWriteCommand").f(void 0, void 0).ser(se_BatchWriteCommand).de(de_BatchWriteCommand).build() { static { __name(this, "BatchWriteCommand"); }}; // src/commands/CreateDirectoryCommand.ts var CreateDirectoryCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AmazonCloudDirectory_20170111", "CreateDirectory", {}).n("CloudDirectoryClient", "CreateDirectoryCommand").f(void 0, void 0).ser(se_CreateDirectoryCommand).de(de_CreateDirectoryCommand).build() { static { __name(this, "CreateDirectoryCommand"); }}; // src/commands/CreateFacetCommand.ts var CreateFacetCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AmazonCloudDirectory_20170111", "CreateFacet", {}).n("CloudDirectoryClient", "CreateFacetCommand").f(void 0, void 0).ser(se_CreateFacetCommand).de(de_CreateFacetCommand).build() { static { __name(this, "CreateFacetCommand"); }}; // src/commands/CreateIndexCommand.ts var CreateIndexCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AmazonCloudDirectory_20170111", "CreateIndex", {}).n("CloudDirectoryClient", "CreateIndexCommand").f(void 0, void 0).ser(se_CreateIndexCommand).de(de_CreateIndexCommand).build() { static { __name(this, "CreateIndexCommand"); }}; // src/commands/CreateObjectCommand.ts var CreateObjectCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AmazonCloudDirectory_20170111", "CreateObject", {}).n("CloudDirectoryClient", "CreateObjectCommand").f(void 0, void 0).ser(se_CreateObjectCommand).de(de_CreateObjectCommand).build() { static { __name(this, "CreateObjectCommand"); }}; // src/commands/CreateSchemaCommand.ts var CreateSchemaCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AmazonCloudDirectory_20170111", "CreateSchema", {}).n("CloudDirectoryClient", "CreateSchemaCommand").f(void 0, void 0).ser(se_CreateSchemaCommand).de(de_CreateSchemaCommand).build() { static { __name(this, "CreateSchemaCommand"); }}; // src/commands/CreateTypedLinkFacetCommand.ts var CreateTypedLinkFacetCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AmazonCloudDirectory_20170111", "CreateTypedLinkFacet", {}).n("CloudDirectoryClient", "CreateTypedLinkFacetCommand").f(void 0, void 0).ser(se_CreateTypedLinkFacetCommand).de(de_CreateTypedLinkFacetCommand).build() { static { __name(this, "CreateTypedLinkFacetCommand"); }}; // src/commands/DeleteDirectoryCommand.ts var DeleteDirectoryCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AmazonCloudDirectory_20170111", "DeleteDirectory", {}).n("CloudDirectoryClient", "DeleteDirectoryCommand").f(void 0, void 0).ser(se_DeleteDirectoryCommand).de(de_DeleteDirectoryCommand).build() { static { __name(this, "DeleteDirectoryCommand"); }}; // src/commands/DeleteFacetCommand.ts var DeleteFacetCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AmazonCloudDirectory_20170111", "DeleteFacet", {}).n("CloudDirectoryClient", "DeleteFacetCommand").f(void 0, void 0).ser(se_DeleteFacetCommand).de(de_DeleteFacetCommand).build() { static { __name(this, "DeleteFacetCommand"); }}; // src/commands/DeleteObjectCommand.ts var DeleteObjectCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AmazonCloudDirectory_20170111", "DeleteObject", {}).n("CloudDirectoryClient", "DeleteObjectCommand").f(void 0, void 0).ser(se_DeleteObjectCommand).de(de_DeleteObjectCommand).build() { static { __name(this, "DeleteObjectCommand"); }}; // src/commands/DeleteSchemaCommand.ts var DeleteSchemaCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AmazonCloudDirectory_20170111", "DeleteSchema", {}).n("CloudDirectoryClient", "DeleteSchemaCommand").f(void 0, void 0).ser(se_DeleteSchemaCommand).de(de_DeleteSchemaCommand).build() { static { __name(this, "DeleteSchemaCommand"); }}; // src/commands/DeleteTypedLinkFacetCommand.ts var DeleteTypedLinkFacetCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AmazonCloudDirectory_20170111", "DeleteTypedLinkFacet", {}).n("CloudDirectoryClient", "DeleteTypedLinkFacetCommand").f(void 0, void 0).ser(se_DeleteTypedLinkFacetCommand).de(de_DeleteTypedLinkFacetCommand).build() { static { __name(this, "DeleteTypedLinkFacetCommand"); }}; // src/commands/DetachFromIndexCommand.ts var DetachFromIndexCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AmazonCloudDirectory_20170111", "DetachFromIndex", {}).n("CloudDirectoryClient", "DetachFromIndexCommand").f(void 0, void 0).ser(se_DetachFromIndexCommand).de(de_DetachFromIndexCommand).build() { static { __name(this, "DetachFromIndexCommand"); }}; // src/commands/DetachObjectCommand.ts var DetachObjectCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AmazonCloudDirectory_20170111", "DetachObject", {}).n("CloudDirectoryClient", "DetachObjectCommand").f(void 0, void 0).ser(se_DetachObjectCommand).de(de_DetachObjectCommand).build() { static { __name(this, "DetachObjectCommand"); }}; // src/commands/DetachPolicyCommand.ts var DetachPolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AmazonCloudDirectory_20170111", "DetachPolicy", {}).n("CloudDirectoryClient", "DetachPolicyCommand").f(void 0, void 0).ser(se_DetachPolicyCommand).de(de_DetachPolicyCommand).build() { static { __name(this, "DetachPolicyCommand"); }}; // src/commands/DetachTypedLinkCommand.ts var DetachTypedLinkCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AmazonCloudDirectory_20170111", "DetachTypedLink", {}).n("CloudDirectoryClient", "DetachTypedLinkCommand").f(void 0, void 0).ser(se_DetachTypedLinkCommand).de(de_DetachTypedLinkCommand).build() { static { __name(this, "DetachTypedLinkCommand"); }}; // src/commands/DisableDirectoryCommand.ts var DisableDirectoryCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AmazonCloudDirectory_20170111", "DisableDirectory", {}).n("CloudDirectoryClient", "DisableDirectoryCommand").f(void 0, void 0).ser(se_DisableDirectoryCommand).de(de_DisableDirectoryCommand).build() { static { __name(this, "DisableDirectoryCommand"); }}; // src/commands/EnableDirectoryCommand.ts var EnableDirectoryCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AmazonCloudDirectory_20170111", "EnableDirectory", {}).n("CloudDirectoryClient", "EnableDirectoryCommand").f(void 0, void 0).ser(se_EnableDirectoryCommand).de(de_EnableDirectoryCommand).build() { static { __name(this, "EnableDirectoryCommand"); }}; // src/commands/GetAppliedSchemaVersionCommand.ts var GetAppliedSchemaVersionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AmazonCloudDirectory_20170111", "GetAppliedSchemaVersion", {}).n("CloudDirectoryClient", "GetAppliedSchemaVersionCommand").f(void 0, void 0).ser(se_GetAppliedSchemaVersionCommand).de(de_GetAppliedSchemaVersionCommand).build() { static { __name(this, "GetAppliedSchemaVersionCommand"); }}; // src/commands/GetDirectoryCommand.ts var GetDirectoryCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AmazonCloudDirectory_20170111", "GetDirectory", {}).n("CloudDirectoryClient", "GetDirectoryCommand").f(void 0, void 0).ser(se_GetDirectoryCommand).de(de_GetDirectoryCommand).build() { static { __name(this, "GetDirectoryCommand"); }}; // src/commands/GetFacetCommand.ts var GetFacetCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AmazonCloudDirectory_20170111", "GetFacet", {}).n("CloudDirectoryClient", "GetFacetCommand").f(void 0, void 0).ser(se_GetFacetCommand).de(de_GetFacetCommand).build() { static { __name(this, "GetFacetCommand"); }}; // src/commands/GetLinkAttributesCommand.ts var GetLinkAttributesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AmazonCloudDirectory_20170111", "GetLinkAttributes", {}).n("CloudDirectoryClient", "GetLinkAttributesCommand").f(void 0, void 0).ser(se_GetLinkAttributesCommand).de(de_GetLinkAttributesCommand).build() { static { __name(this, "GetLinkAttributesCommand"); }}; // src/commands/GetObjectAttributesCommand.ts var GetObjectAttributesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AmazonCloudDirectory_20170111", "GetObjectAttributes", {}).n("CloudDirectoryClient", "GetObjectAttributesCommand").f(void 0, void 0).ser(se_GetObjectAttributesCommand).de(de_GetObjectAttributesCommand).build() { static { __name(this, "GetObjectAttributesCommand"); }}; // src/commands/GetObjectInformationCommand.ts var GetObjectInformationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AmazonCloudDirectory_20170111", "GetObjectInformation", {}).n("CloudDirectoryClient", "GetObjectInformationCommand").f(void 0, void 0).ser(se_GetObjectInformationCommand).de(de_GetObjectInformationCommand).build() { static { __name(this, "GetObjectInformationCommand"); }}; // src/commands/GetSchemaAsJsonCommand.ts var GetSchemaAsJsonCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AmazonCloudDirectory_20170111", "GetSchemaAsJson", {}).n("CloudDirectoryClient", "GetSchemaAsJsonCommand").f(void 0, void 0).ser(se_GetSchemaAsJsonCommand).de(de_GetSchemaAsJsonCommand).build() { static { __name(this, "GetSchemaAsJsonCommand"); }}; // src/commands/GetTypedLinkFacetInformationCommand.ts var GetTypedLinkFacetInformationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AmazonCloudDirectory_20170111", "GetTypedLinkFacetInformation", {}).n("CloudDirectoryClient", "GetTypedLinkFacetInformationCommand").f(void 0, void 0).ser(se_GetTypedLinkFacetInformationCommand).de(de_GetTypedLinkFacetInformationCommand).build() { static { __name(this, "GetTypedLinkFacetInformationCommand"); }}; // src/commands/ListAppliedSchemaArnsCommand.ts var ListAppliedSchemaArnsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AmazonCloudDirectory_20170111", "ListAppliedSchemaArns", {}).n("CloudDirectoryClient", "ListAppliedSchemaArnsCommand").f(void 0, void 0).ser(se_ListAppliedSchemaArnsCommand).de(de_ListAppliedSchemaArnsCommand).build() { static { __name(this, "ListAppliedSchemaArnsCommand"); }}; // src/commands/ListAttachedIndicesCommand.ts var ListAttachedIndicesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AmazonCloudDirectory_20170111", "ListAttachedIndices", {}).n("CloudDirectoryClient", "ListAttachedIndicesCommand").f(void 0, void 0).ser(se_ListAttachedIndicesCommand).de(de_ListAttachedIndicesCommand).build() { static { __name(this, "ListAttachedIndicesCommand"); }}; // src/commands/ListDevelopmentSchemaArnsCommand.ts var ListDevelopmentSchemaArnsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AmazonCloudDirectory_20170111", "ListDevelopmentSchemaArns", {}).n("CloudDirectoryClient", "ListDevelopmentSchemaArnsCommand").f(void 0, void 0).ser(se_ListDevelopmentSchemaArnsCommand).de(de_ListDevelopmentSchemaArnsCommand).build() { static { __name(this, "ListDevelopmentSchemaArnsCommand"); }}; // src/commands/ListDirectoriesCommand.ts var ListDirectoriesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AmazonCloudDirectory_20170111", "ListDirectories", {}).n("CloudDirectoryClient", "ListDirectoriesCommand").f(void 0, void 0).ser(se_ListDirectoriesCommand).de(de_ListDirectoriesCommand).build() { static { __name(this, "ListDirectoriesCommand"); }}; // src/commands/ListFacetAttributesCommand.ts var ListFacetAttributesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AmazonCloudDirectory_20170111", "ListFacetAttributes", {}).n("CloudDirectoryClient", "ListFacetAttributesCommand").f(void 0, void 0).ser(se_ListFacetAttributesCommand).de(de_ListFacetAttributesCommand).build() { static { __name(this, "ListFacetAttributesCommand"); }}; // src/commands/ListFacetNamesCommand.ts var ListFacetNamesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AmazonCloudDirectory_20170111", "ListFacetNames", {}).n("CloudDirectoryClient", "ListFacetNamesCommand").f(void 0, void 0).ser(se_ListFacetNamesCommand).de(de_ListFacetNamesCommand).build() { static { __name(this, "ListFacetNamesCommand"); }}; // src/commands/ListIncomingTypedLinksCommand.ts var ListIncomingTypedLinksCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AmazonCloudDirectory_20170111", "ListIncomingTypedLinks", {}).n("CloudDirectoryClient", "ListIncomingTypedLinksCommand").f(void 0, void 0).ser(se_ListIncomingTypedLinksCommand).de(de_ListIncomingTypedLinksCommand).build() { static { __name(this, "ListIncomingTypedLinksCommand"); }}; // src/commands/ListIndexCommand.ts var ListIndexCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AmazonCloudDirectory_20170111", "ListIndex", {}).n("CloudDirectoryClient", "ListIndexCommand").f(void 0, void 0).ser(se_ListIndexCommand).de(de_ListIndexCommand).build() { static { __name(this, "ListIndexCommand"); }}; // src/commands/ListManagedSchemaArnsCommand.ts var ListManagedSchemaArnsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AmazonCloudDirectory_20170111", "ListManagedSchemaArns", {}).n("CloudDirectoryClient", "ListManagedSchemaArnsCommand").f(void 0, void 0).ser(se_ListManagedSchemaArnsCommand).de(de_ListManagedSchemaArnsCommand).build() { static { __name(this, "ListManagedSchemaArnsCommand"); }}; // src/commands/ListObjectAttributesCommand.ts var ListObjectAttributesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AmazonCloudDirectory_20170111", "ListObjectAttributes", {}).n("CloudDirectoryClient", "ListObjectAttributesCommand").f(void 0, void 0).ser(se_ListObjectAttributesCommand).de(de_ListObjectAttributesCommand).build() { static { __name(this, "ListObjectAttributesCommand"); }}; // src/commands/ListObjectChildrenCommand.ts var ListObjectChildrenCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AmazonCloudDirectory_20170111", "ListObjectChildren", {}).n("CloudDirectoryClient", "ListObjectChildrenCommand").f(void 0, void 0).ser(se_ListObjectChildrenCommand).de(de_ListObjectChildrenCommand).build() { static { __name(this, "ListObjectChildrenCommand"); }}; // src/commands/ListObjectParentPathsCommand.ts var ListObjectParentPathsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AmazonCloudDirectory_20170111", "ListObjectParentPaths", {}).n("CloudDirectoryClient", "ListObjectParentPathsCommand").f(void 0, void 0).ser(se_ListObjectParentPathsCommand).de(de_ListObjectParentPathsCommand).build() { static { __name(this, "ListObjectParentPathsCommand"); }}; // src/commands/ListObjectParentsCommand.ts var ListObjectParentsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AmazonCloudDirectory_20170111", "ListObjectParents", {}).n("CloudDirectoryClient", "ListObjectParentsCommand").f(void 0, void 0).ser(se_ListObjectParentsCommand).de(de_ListObjectParentsCommand).build() { static { __name(this, "ListObjectParentsCommand"); }}; // src/commands/ListObjectPoliciesCommand.ts var ListObjectPoliciesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AmazonCloudDirectory_20170111", "ListObjectPolicies", {}).n("CloudDirectoryClient", "ListObjectPoliciesCommand").f(void 0, void 0).ser(se_ListObjectPoliciesCommand).de(de_ListObjectPoliciesCommand).build() { static { __name(this, "ListObjectPoliciesCommand"); }}; // src/commands/ListOutgoingTypedLinksCommand.ts var ListOutgoingTypedLinksCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AmazonCloudDirectory_20170111", "ListOutgoingTypedLinks", {}).n("CloudDirectoryClient", "ListOutgoingTypedLinksCommand").f(void 0, void 0).ser(se_ListOutgoingTypedLinksCommand).de(de_ListOutgoingTypedLinksCommand).build() { static { __name(this, "ListOutgoingTypedLinksCommand"); }}; // src/commands/ListPolicyAttachmentsCommand.ts var ListPolicyAttachmentsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AmazonCloudDirectory_20170111", "ListPolicyAttachments", {}).n("CloudDirectoryClient", "ListPolicyAttachmentsCommand").f(void 0, void 0).ser(se_ListPolicyAttachmentsCommand).de(de_ListPolicyAttachmentsCommand).build() { static { __name(this, "ListPolicyAttachmentsCommand"); }}; // src/commands/ListPublishedSchemaArnsCommand.ts var ListPublishedSchemaArnsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AmazonCloudDirectory_20170111", "ListPublishedSchemaArns", {}).n("CloudDirectoryClient", "ListPublishedSchemaArnsCommand").f(void 0, void 0).ser(se_ListPublishedSchemaArnsCommand).de(de_ListPublishedSchemaArnsCommand).build() { static { __name(this, "ListPublishedSchemaArnsCommand"); }}; // src/commands/ListTagsForResourceCommand.ts var ListTagsForResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AmazonCloudDirectory_20170111", "ListTagsForResource", {}).n("CloudDirectoryClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() { static { __name(this, "ListTagsForResourceCommand"); }}; // src/commands/ListTypedLinkFacetAttributesCommand.ts var ListTypedLinkFacetAttributesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AmazonCloudDirectory_20170111", "ListTypedLinkFacetAttributes", {}).n("CloudDirectoryClient", "ListTypedLinkFacetAttributesCommand").f(void 0, void 0).ser(se_ListTypedLinkFacetAttributesCommand).de(de_ListTypedLinkFacetAttributesCommand).build() { static { __name(this, "ListTypedLinkFacetAttributesCommand"); }}; // src/commands/ListTypedLinkFacetNamesCommand.ts var ListTypedLinkFacetNamesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AmazonCloudDirectory_20170111", "ListTypedLinkFacetNames", {}).n("CloudDirectoryClient", "ListTypedLinkFacetNamesCommand").f(void 0, void 0).ser(se_ListTypedLinkFacetNamesCommand).de(de_ListTypedLinkFacetNamesCommand).build() { static { __name(this, "ListTypedLinkFacetNamesCommand"); }}; // src/commands/LookupPolicyCommand.ts var LookupPolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AmazonCloudDirectory_20170111", "LookupPolicy", {}).n("CloudDirectoryClient", "LookupPolicyCommand").f(void 0, void 0).ser(se_LookupPolicyCommand).de(de_LookupPolicyCommand).build() { static { __name(this, "LookupPolicyCommand"); }}; // src/commands/PublishSchemaCommand.ts var PublishSchemaCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AmazonCloudDirectory_20170111", "PublishSchema", {}).n("CloudDirectoryClient", "PublishSchemaCommand").f(void 0, void 0).ser(se_PublishSchemaCommand).de(de_PublishSchemaCommand).build() { static { __name(this, "PublishSchemaCommand"); }}; // src/commands/PutSchemaFromJsonCommand.ts var PutSchemaFromJsonCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AmazonCloudDirectory_20170111", "PutSchemaFromJson", {}).n("CloudDirectoryClient", "PutSchemaFromJsonCommand").f(void 0, void 0).ser(se_PutSchemaFromJsonCommand).de(de_PutSchemaFromJsonCommand).build() { static { __name(this, "PutSchemaFromJsonCommand"); }}; // src/commands/RemoveFacetFromObjectCommand.ts var RemoveFacetFromObjectCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AmazonCloudDirectory_20170111", "RemoveFacetFromObject", {}).n("CloudDirectoryClient", "RemoveFacetFromObjectCommand").f(void 0, void 0).ser(se_RemoveFacetFromObjectCommand).de(de_RemoveFacetFromObjectCommand).build() { static { __name(this, "RemoveFacetFromObjectCommand"); }}; // src/commands/TagResourceCommand.ts var TagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AmazonCloudDirectory_20170111", "TagResource", {}).n("CloudDirectoryClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() { static { __name(this, "TagResourceCommand"); }}; // src/commands/UntagResourceCommand.ts var UntagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AmazonCloudDirectory_20170111", "UntagResource", {}).n("CloudDirectoryClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() { static { __name(this, "UntagResourceCommand"); }}; // src/commands/UpdateFacetCommand.ts var UpdateFacetCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AmazonCloudDirectory_20170111", "UpdateFacet", {}).n("CloudDirectoryClient", "UpdateFacetCommand").f(void 0, void 0).ser(se_UpdateFacetCommand).de(de_UpdateFacetCommand).build() { static { __name(this, "UpdateFacetCommand"); }}; // src/commands/UpdateLinkAttributesCommand.ts var UpdateLinkAttributesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AmazonCloudDirectory_20170111", "UpdateLinkAttributes", {}).n("CloudDirectoryClient", "UpdateLinkAttributesCommand").f(void 0, void 0).ser(se_UpdateLinkAttributesCommand).de(de_UpdateLinkAttributesCommand).build() { static { __name(this, "UpdateLinkAttributesCommand"); }}; // src/commands/UpdateObjectAttributesCommand.ts var UpdateObjectAttributesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AmazonCloudDirectory_20170111", "UpdateObjectAttributes", {}).n("CloudDirectoryClient", "UpdateObjectAttributesCommand").f(void 0, void 0).ser(se_UpdateObjectAttributesCommand).de(de_UpdateObjectAttributesCommand).build() { static { __name(this, "UpdateObjectAttributesCommand"); }}; // src/commands/UpdateSchemaCommand.ts var UpdateSchemaCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AmazonCloudDirectory_20170111", "UpdateSchema", {}).n("CloudDirectoryClient", "UpdateSchemaCommand").f(void 0, void 0).ser(se_UpdateSchemaCommand).de(de_UpdateSchemaCommand).build() { static { __name(this, "UpdateSchemaCommand"); }}; // src/commands/UpdateTypedLinkFacetCommand.ts var UpdateTypedLinkFacetCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AmazonCloudDirectory_20170111", "UpdateTypedLinkFacet", {}).n("CloudDirectoryClient", "UpdateTypedLinkFacetCommand").f(void 0, void 0).ser(se_UpdateTypedLinkFacetCommand).de(de_UpdateTypedLinkFacetCommand).build() { static { __name(this, "UpdateTypedLinkFacetCommand"); }}; // src/commands/UpgradeAppliedSchemaCommand.ts var UpgradeAppliedSchemaCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AmazonCloudDirectory_20170111", "UpgradeAppliedSchema", {}).n("CloudDirectoryClient", "UpgradeAppliedSchemaCommand").f(void 0, void 0).ser(se_UpgradeAppliedSchemaCommand).de(de_UpgradeAppliedSchemaCommand).build() { static { __name(this, "UpgradeAppliedSchemaCommand"); }}; // src/commands/UpgradePublishedSchemaCommand.ts var UpgradePublishedSchemaCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AmazonCloudDirectory_20170111", "UpgradePublishedSchema", {}).n("CloudDirectoryClient", "UpgradePublishedSchemaCommand").f(void 0, void 0).ser(se_UpgradePublishedSchemaCommand).de(de_UpgradePublishedSchemaCommand).build() { static { __name(this, "UpgradePublishedSchemaCommand"); }}; // src/CloudDirectory.tsvar commands = { AddFacetToObjectCommand, ApplySchemaCommand, AttachObjectCommand, AttachPolicyCommand, AttachToIndexCommand, AttachTypedLinkCommand, BatchReadCommand, BatchWriteCommand, CreateDirectoryCommand, CreateFacetCommand, CreateIndexCommand, CreateObjectCommand, CreateSchemaCommand, CreateTypedLinkFacetCommand, DeleteDirectoryCommand, DeleteFacetCommand, DeleteObjectCommand, DeleteSchemaCommand, DeleteTypedLinkFacetCommand, DetachFromIndexCommand, DetachObjectCommand, DetachPolicyCommand, DetachTypedLinkCommand, DisableDirectoryCommand, EnableDirectoryCommand, GetAppliedSchemaVersionCommand, GetDirectoryCommand, GetFacetCommand, GetLinkAttributesCommand, GetObjectAttributesCommand, GetObjectInformationCommand, GetSchemaAsJsonCommand, GetTypedLinkFacetInformationCommand, ListAppliedSchemaArnsCommand, ListAttachedIndicesCommand, ListDevelopmentSchemaArnsCommand, ListDirectoriesCommand, ListFacetAttributesCommand, ListFacetNamesCommand, ListIncomingTypedLinksCommand, ListIndexCommand, ListManagedSchemaArnsCommand, ListObjectAttributesCommand, ListObjectChildrenCommand, ListObjectParentPathsCommand, ListObjectParentsCommand, ListObjectPoliciesCommand, ListOutgoingTypedLinksCommand, ListPolicyAttachmentsCommand, ListPublishedSchemaArnsCommand, ListTagsForResourceCommand, ListTypedLinkFacetAttributesCommand, ListTypedLinkFacetNamesCommand, LookupPolicyCommand, PublishSchemaCommand, PutSchemaFromJsonCommand, RemoveFacetFromObjectCommand, TagResourceCommand, UntagResourceCommand, UpdateFacetCommand, UpdateLinkAttributesCommand, UpdateObjectAttributesCommand, UpdateSchemaCommand, UpdateTypedLinkFacetCommand, UpgradeAppliedSchemaCommand, UpgradePublishedSchemaCommand};var CloudDirectory = class extends CloudDirectoryClient { static { __name(this, "CloudDirectory"); }};(0, import_smithy_client.createAggregatedClient)(commands, CloudDirectory); // src/pagination/ListAppliedSchemaArnsPaginator.ts var paginateListAppliedSchemaArns = (0, import_core.createPaginator)(CloudDirectoryClient, ListAppliedSchemaArnsCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListAttachedIndicesPaginator.ts var paginateListAttachedIndices = (0, import_core.createPaginator)(CloudDirectoryClient, ListAttachedIndicesCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListDevelopmentSchemaArnsPaginator.ts var paginateListDevelopmentSchemaArns = (0, import_core.createPaginator)(CloudDirectoryClient, ListDevelopmentSchemaArnsCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListDirectoriesPaginator.ts var paginateListDirectories = (0, import_core.createPaginator)(CloudDirectoryClient, ListDirectoriesCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListFacetAttributesPaginator.ts var paginateListFacetAttributes = (0, import_core.createPaginator)(CloudDirectoryClient, ListFacetAttributesCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListFacetNamesPaginator.ts var paginateListFacetNames = (0, import_core.createPaginator)(CloudDirectoryClient, ListFacetNamesCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListIndexPaginator.ts var paginateListIndex = (0, import_core.createPaginator)(CloudDirectoryClient, ListIndexCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListManagedSchemaArnsPaginator.ts var paginateListManagedSchemaArns = (0, import_core.createPaginator)(CloudDirectoryClient, ListManagedSchemaArnsCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListObjectAttributesPaginator.ts var paginateListObjectAttributes = (0, import_core.createPaginator)(CloudDirectoryClient, ListObjectAttributesCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListObjectChildrenPaginator.ts var paginateListObjectChildren = (0, import_core.createPaginator)(CloudDirectoryClient, ListObjectChildrenCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListObjectParentPathsPaginator.ts var paginateListObjectParentPaths = (0, import_core.createPaginator)(CloudDirectoryClient, ListObjectParentPathsCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListObjectParentsPaginator.ts var paginateListObjectParents = (0, import_core.createPaginator)(CloudDirectoryClient, ListObjectParentsCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListObjectPoliciesPaginator.ts var paginateListObjectPolicies = (0, import_core.createPaginator)(CloudDirectoryClient, ListObjectPoliciesCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListPolicyAttachmentsPaginator.ts var paginateListPolicyAttachments = (0, import_core.createPaginator)(CloudDirectoryClient, ListPolicyAttachmentsCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListPublishedSchemaArnsPaginator.ts var paginateListPublishedSchemaArns = (0, import_core.createPaginator)(CloudDirectoryClient, ListPublishedSchemaArnsCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListTagsForResourcePaginator.ts var paginateListTagsForResource = (0, import_core.createPaginator)(CloudDirectoryClient, ListTagsForResourceCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListTypedLinkFacetAttributesPaginator.ts var paginateListTypedLinkFacetAttributes = (0, import_core.createPaginator)(CloudDirectoryClient, ListTypedLinkFacetAttributesCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListTypedLinkFacetNamesPaginator.ts var paginateListTypedLinkFacetNames = (0, import_core.createPaginator)(CloudDirectoryClient, ListTypedLinkFacetNamesCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/LookupPolicyPaginator.ts var paginateLookupPolicy = (0, import_core.createPaginator)(CloudDirectoryClient, LookupPolicyCommand, "NextToken", "NextToken", "MaxResults");// Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = { CloudDirectoryServiceException, __Client, CloudDirectoryClient, CloudDirectory, $Command, AddFacetToObjectCommand, ApplySchemaCommand, AttachObjectCommand, AttachPolicyCommand, AttachToIndexCommand, AttachTypedLinkCommand, BatchReadCommand, BatchWriteCommand, CreateDirectoryCommand, CreateFacetCommand, CreateIndexCommand, CreateObjectCommand, CreateSchemaCommand, CreateTypedLinkFacetCommand, DeleteDirectoryCommand, DeleteFacetCommand, DeleteObjectCommand, DeleteSchemaCommand, DeleteTypedLinkFacetCommand, DetachFromIndexCommand, DetachObjectCommand, DetachPolicyCommand, DetachTypedLinkCommand, DisableDirectoryCommand, EnableDirectoryCommand, GetAppliedSchemaVersionCommand, GetDirectoryCommand, GetFacetCommand, GetLinkAttributesCommand, GetObjectAttributesCommand, GetObjectInformationCommand, GetSchemaAsJsonCommand, GetTypedLinkFacetInformationCommand, ListAppliedSchemaArnsCommand, ListAttachedIndicesCommand, ListDevelopmentSchemaArnsCommand, ListDirectoriesCommand, ListFacetAttributesCommand, ListFacetNamesCommand, ListIncomingTypedLinksCommand, ListIndexCommand, ListManagedSchemaArnsCommand, ListObjectAttributesCommand, ListObjectChildrenCommand, ListObjectParentPathsCommand, ListObjectParentsCommand, ListObjectPoliciesCommand, ListOutgoingTypedLinksCommand, ListPolicyAttachmentsCommand, ListPublishedSchemaArnsCommand, ListTagsForResourceCommand, ListTypedLinkFacetAttributesCommand, ListTypedLinkFacetNamesCommand, LookupPolicyCommand, PublishSchemaCommand, PutSchemaFromJsonCommand, RemoveFacetFromObjectCommand, TagResourceCommand, UntagResourceCommand, UpdateFacetCommand, UpdateLinkAttributesCommand, UpdateObjectAttributesCommand, UpdateSchemaCommand, UpdateTypedLinkFacetCommand, UpgradeAppliedSchemaCommand, UpgradePublishedSchemaCommand, paginateListAppliedSchemaArns, paginateListAttachedIndices, paginateListDevelopmentSchemaArns, paginateListDirectories, paginateListFacetAttributes, paginateListFacetNames, paginateListIndex, paginateListManagedSchemaArns, paginateListObjectAttributes, paginateListObjectChildren, paginateListObjectParentPaths, paginateListObjectParents, paginateListObjectPolicies, paginateListPolicyAttachments, paginateListPublishedSchemaArns, paginateListTagsForResource, paginateListTypedLinkFacetAttributes, paginateListTypedLinkFacetNames, paginateLookupPolicy, AccessDeniedException, TypedAttributeValue, DirectoryNotEnabledException, FacetValidationException, InternalServiceException, InvalidArnException, LimitExceededException, ResourceNotFoundException, RetryableConflictException, ValidationException, InvalidAttachmentException, SchemaAlreadyExistsException, LinkNameAlreadyInUseException, NotPolicyException, IndexedAttributeMissingException, NotIndexException, ConsistencyLevel, RangeMode, BatchReadExceptionType, BatchWriteExceptionType, BatchWriteException, UpdateActionType, DirectoryAlreadyExistsException, RuleType, FacetAttributeType, RequiredAttributeBehavior, FacetStyle, ObjectType, FacetAlreadyExistsException, InvalidRuleException, UnsupportedIndexTypeException, DirectoryDeletedException, DirectoryNotDisabledException, FacetInUseException, FacetNotFoundException, ObjectNotDetachedException, StillContainsLinksException, ObjectAlreadyDetachedException, NotNodeException, DirectoryState, InvalidNextTokenException, CannotListParentOfRootException, InvalidTaggingRequestException, SchemaAlreadyPublishedException, InvalidSchemaDocException, InvalidFacetUpdateException, IncompatibleSchemaException});