@aws-sdk/client-clouddirectory 3.429.0 → 3.431.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.se_ListPublishedSchemaArnsCommand = exports.se_ListPolicyAttachmentsCommand = exports.se_ListOutgoingTypedLinksCommand = exports.se_ListObjectPoliciesCommand = exports.se_ListObjectParentsCommand = exports.se_ListObjectParentPathsCommand = exports.se_ListObjectChildrenCommand = exports.se_ListObjectAttributesCommand = exports.se_ListManagedSchemaArnsCommand = exports.se_ListIndexCommand = exports.se_ListIncomingTypedLinksCommand = exports.se_ListFacetNamesCommand = exports.se_ListFacetAttributesCommand = exports.se_ListDirectoriesCommand = exports.se_ListDevelopmentSchemaArnsCommand = exports.se_ListAttachedIndicesCommand = exports.se_ListAppliedSchemaArnsCommand = exports.se_GetTypedLinkFacetInformationCommand = exports.se_GetSchemaAsJsonCommand = exports.se_GetObjectInformationCommand = exports.se_GetObjectAttributesCommand = exports.se_GetLinkAttributesCommand = exports.se_GetFacetCommand = exports.se_GetDirectoryCommand = exports.se_GetAppliedSchemaVersionCommand = exports.se_EnableDirectoryCommand = exports.se_DisableDirectoryCommand = exports.se_DetachTypedLinkCommand = exports.se_DetachPolicyCommand = exports.se_DetachObjectCommand = exports.se_DetachFromIndexCommand = exports.se_DeleteTypedLinkFacetCommand = exports.se_DeleteSchemaCommand = exports.se_DeleteObjectCommand = exports.se_DeleteFacetCommand = exports.se_DeleteDirectoryCommand = exports.se_CreateTypedLinkFacetCommand = exports.se_CreateSchemaCommand = exports.se_CreateObjectCommand = exports.se_CreateIndexCommand = exports.se_CreateFacetCommand = exports.se_CreateDirectoryCommand = exports.se_BatchWriteCommand = exports.se_BatchReadCommand = exports.se_AttachTypedLinkCommand = exports.se_AttachToIndexCommand = exports.se_AttachPolicyCommand = exports.se_AttachObjectCommand = exports.se_ApplySchemaCommand = exports.se_AddFacetToObjectCommand = void 0;
4
4
  exports.de_ListAppliedSchemaArnsCommand = exports.de_GetTypedLinkFacetInformationCommand = exports.de_GetSchemaAsJsonCommand = exports.de_GetObjectInformationCommand = exports.de_GetObjectAttributesCommand = exports.de_GetLinkAttributesCommand = exports.de_GetFacetCommand = exports.de_GetDirectoryCommand = exports.de_GetAppliedSchemaVersionCommand = exports.de_EnableDirectoryCommand = exports.de_DisableDirectoryCommand = exports.de_DetachTypedLinkCommand = exports.de_DetachPolicyCommand = exports.de_DetachObjectCommand = exports.de_DetachFromIndexCommand = exports.de_DeleteTypedLinkFacetCommand = exports.de_DeleteSchemaCommand = exports.de_DeleteObjectCommand = exports.de_DeleteFacetCommand = exports.de_DeleteDirectoryCommand = exports.de_CreateTypedLinkFacetCommand = exports.de_CreateSchemaCommand = exports.de_CreateObjectCommand = exports.de_CreateIndexCommand = exports.de_CreateFacetCommand = exports.de_CreateDirectoryCommand = exports.de_BatchWriteCommand = exports.de_BatchReadCommand = exports.de_AttachTypedLinkCommand = exports.de_AttachToIndexCommand = exports.de_AttachPolicyCommand = exports.de_AttachObjectCommand = exports.de_ApplySchemaCommand = exports.de_AddFacetToObjectCommand = exports.se_UpgradePublishedSchemaCommand = exports.se_UpgradeAppliedSchemaCommand = exports.se_UpdateTypedLinkFacetCommand = exports.se_UpdateSchemaCommand = exports.se_UpdateObjectAttributesCommand = exports.se_UpdateLinkAttributesCommand = exports.se_UpdateFacetCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_RemoveFacetFromObjectCommand = exports.se_PutSchemaFromJsonCommand = exports.se_PublishSchemaCommand = exports.se_LookupPolicyCommand = exports.se_ListTypedLinkFacetNamesCommand = exports.se_ListTypedLinkFacetAttributesCommand = exports.se_ListTagsForResourceCommand = void 0;
5
5
  exports.de_UpgradePublishedSchemaCommand = exports.de_UpgradeAppliedSchemaCommand = exports.de_UpdateTypedLinkFacetCommand = exports.de_UpdateSchemaCommand = exports.de_UpdateObjectAttributesCommand = exports.de_UpdateLinkAttributesCommand = exports.de_UpdateFacetCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_RemoveFacetFromObjectCommand = exports.de_PutSchemaFromJsonCommand = exports.de_PublishSchemaCommand = exports.de_LookupPolicyCommand = exports.de_ListTypedLinkFacetNamesCommand = exports.de_ListTypedLinkFacetAttributesCommand = exports.de_ListTagsForResourceCommand = exports.de_ListPublishedSchemaArnsCommand = exports.de_ListPolicyAttachmentsCommand = exports.de_ListOutgoingTypedLinksCommand = exports.de_ListObjectPoliciesCommand = exports.de_ListObjectParentsCommand = exports.de_ListObjectParentPathsCommand = exports.de_ListObjectChildrenCommand = exports.de_ListObjectAttributesCommand = exports.de_ListManagedSchemaArnsCommand = exports.de_ListIndexCommand = exports.de_ListIncomingTypedLinksCommand = exports.de_ListFacetNamesCommand = exports.de_ListFacetAttributesCommand = exports.de_ListDirectoriesCommand = exports.de_ListDevelopmentSchemaArnsCommand = exports.de_ListAttachedIndicesCommand = void 0;
6
+ const core_1 = require("@aws-sdk/core");
6
7
  const protocol_http_1 = require("@smithy/protocol-http");
7
8
  const smithy_client_1 = require("@smithy/smithy-client");
8
9
  const CloudDirectoryServiceException_1 = require("../models/CloudDirectoryServiceException");
@@ -6120,7 +6121,7 @@ const se_TypedLinkSpecifier = (input, context) => {
6120
6121
  const de_AttributeKeyAndValue = (output, context) => {
6121
6122
  return (0, smithy_client_1.take)(output, {
6122
6123
  Key: smithy_client_1._json,
6123
- Value: (_) => de_TypedAttributeValue((0, smithy_client_1.expectUnion)(_), context),
6124
+ Value: (_) => de_TypedAttributeValue((0, core_1.awsExpectUnion)(_), context),
6124
6125
  });
6125
6126
  };
6126
6127
  const de_AttributeKeyAndValueList = (output, context) => {
@@ -6134,7 +6135,7 @@ const de_AttributeKeyAndValueList = (output, context) => {
6134
6135
  const de_AttributeNameAndValue = (output, context) => {
6135
6136
  return (0, smithy_client_1.take)(output, {
6136
6137
  AttributeName: smithy_client_1.expectString,
6137
- Value: (_) => de_TypedAttributeValue((0, smithy_client_1.expectUnion)(_), context),
6138
+ Value: (_) => de_TypedAttributeValue((0, core_1.awsExpectUnion)(_), context),
6138
6139
  });
6139
6140
  };
6140
6141
  const de_AttributeNameAndValueList = (output, context) => {
@@ -6275,7 +6276,7 @@ const de_FacetAttribute = (output, context) => {
6275
6276
  };
6276
6277
  const de_FacetAttributeDefinition = (output, context) => {
6277
6278
  return (0, smithy_client_1.take)(output, {
6278
- DefaultValue: (_) => de_TypedAttributeValue((0, smithy_client_1.expectUnion)(_), context),
6279
+ DefaultValue: (_) => de_TypedAttributeValue((0, core_1.awsExpectUnion)(_), context),
6279
6280
  IsImmutable: smithy_client_1.expectBoolean,
6280
6281
  Rules: smithy_client_1._json,
6281
6282
  Type: smithy_client_1.expectString,
@@ -6327,7 +6328,7 @@ const de_TypedAttributeValue = (output, context) => {
6327
6328
  };
6328
6329
  const de_TypedLinkAttributeDefinition = (output, context) => {
6329
6330
  return (0, smithy_client_1.take)(output, {
6330
- DefaultValue: (_) => de_TypedAttributeValue((0, smithy_client_1.expectUnion)(_), context),
6331
+ DefaultValue: (_) => de_TypedAttributeValue((0, core_1.awsExpectUnion)(_), context),
6331
6332
  IsImmutable: smithy_client_1.expectBoolean,
6332
6333
  Name: smithy_client_1.expectString,
6333
6334
  RequiredBehavior: smithy_client_1.expectString,
@@ -1,5 +1,6 @@
1
+ import { awsExpectUnion as __expectUnion } from "@aws-sdk/core";
1
2
  import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
2
- import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, expectUnion as __expectUnion, map, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@smithy/smithy-client";
3
+ import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, map, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@smithy/smithy-client";
3
4
  import { CloudDirectoryServiceException as __BaseException } from "../models/CloudDirectoryServiceException";
4
5
  import { AccessDeniedException, BatchWriteException, CannotListParentOfRootException, DirectoryAlreadyExistsException, DirectoryDeletedException, DirectoryNotDisabledException, DirectoryNotEnabledException, FacetAlreadyExistsException, FacetInUseException, FacetNotFoundException, FacetValidationException, IncompatibleSchemaException, IndexedAttributeMissingException, InternalServiceException, InvalidArnException, InvalidAttachmentException, InvalidFacetUpdateException, InvalidNextTokenException, InvalidRuleException, InvalidSchemaDocException, InvalidTaggingRequestException, LimitExceededException, LinkNameAlreadyInUseException, NotIndexException, NotNodeException, NotPolicyException, ObjectAlreadyDetachedException, ObjectNotDetachedException, ResourceNotFoundException, RetryableConflictException, SchemaAlreadyExistsException, SchemaAlreadyPublishedException, StillContainsLinksException, TypedAttributeValue, UnsupportedIndexTypeException, ValidationException, } from "../models/models_0";
5
6
  export const se_AddFacetToObjectCommand = async (input, context) => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-clouddirectory",
3
3
  "description": "AWS SDK for JavaScript Clouddirectory Client for Node.js, Browser and React Native",
4
- "version": "3.429.0",
4
+ "version": "3.431.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,28 +21,29 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.429.0",
25
- "@aws-sdk/credential-provider-node": "3.429.0",
26
- "@aws-sdk/middleware-host-header": "3.429.0",
24
+ "@aws-sdk/client-sts": "3.431.0",
25
+ "@aws-sdk/core": "3.431.0",
26
+ "@aws-sdk/credential-provider-node": "3.431.0",
27
+ "@aws-sdk/middleware-host-header": "3.431.0",
27
28
  "@aws-sdk/middleware-logger": "3.428.0",
28
29
  "@aws-sdk/middleware-recursion-detection": "3.428.0",
29
30
  "@aws-sdk/middleware-signing": "3.428.0",
30
31
  "@aws-sdk/middleware-user-agent": "3.428.0",
31
- "@aws-sdk/region-config-resolver": "3.428.0",
32
+ "@aws-sdk/region-config-resolver": "3.430.0",
32
33
  "@aws-sdk/types": "3.428.0",
33
34
  "@aws-sdk/util-endpoints": "3.428.0",
34
35
  "@aws-sdk/util-user-agent-browser": "3.428.0",
35
- "@aws-sdk/util-user-agent-node": "3.428.0",
36
- "@smithy/config-resolver": "^2.0.14",
36
+ "@aws-sdk/util-user-agent-node": "3.430.0",
37
+ "@smithy/config-resolver": "^2.0.15",
37
38
  "@smithy/fetch-http-handler": "^2.2.3",
38
39
  "@smithy/hash-node": "^2.0.11",
39
40
  "@smithy/invalid-dependency": "^2.0.11",
40
41
  "@smithy/middleware-content-length": "^2.0.13",
41
- "@smithy/middleware-endpoint": "^2.1.1",
42
- "@smithy/middleware-retry": "^2.0.16",
42
+ "@smithy/middleware-endpoint": "^2.1.2",
43
+ "@smithy/middleware-retry": "^2.0.17",
43
44
  "@smithy/middleware-serde": "^2.0.11",
44
45
  "@smithy/middleware-stack": "^2.0.5",
45
- "@smithy/node-config-provider": "^2.1.1",
46
+ "@smithy/node-config-provider": "^2.1.2",
46
47
  "@smithy/node-http-handler": "^2.1.7",
47
48
  "@smithy/protocol-http": "^3.0.7",
48
49
  "@smithy/smithy-client": "^2.1.11",
@@ -52,7 +53,7 @@
52
53
  "@smithy/util-body-length-browser": "^2.0.0",
53
54
  "@smithy/util-body-length-node": "^2.1.0",
54
55
  "@smithy/util-defaults-mode-browser": "^2.0.15",
55
- "@smithy/util-defaults-mode-node": "^2.0.19",
56
+ "@smithy/util-defaults-mode-node": "^2.0.20",
56
57
  "@smithy/util-retry": "^2.0.4",
57
58
  "@smithy/util-utf8": "^2.0.0",
58
59
  "tslib": "^2.5.0"