@aws-sdk/client-clouddirectory 3.299.0 → 3.301.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.
- package/dist-types/commands/AddFacetToObjectCommand.d.ts +26 -0
- package/dist-types/commands/ApplySchemaCommand.d.ts +4 -0
- package/dist-types/commands/AttachObjectCommand.d.ts +10 -0
- package/dist-types/commands/AttachPolicyCommand.d.ts +9 -0
- package/dist-types/commands/AttachToIndexCommand.d.ts +9 -0
- package/dist-types/commands/AttachTypedLinkCommand.d.ts +25 -0
- package/dist-types/commands/BatchReadCommand.d.ts +184 -0
- package/dist-types/commands/BatchWriteCommand.d.ts +209 -0
- package/dist-types/commands/CreateDirectoryCommand.d.ts +4 -0
- package/dist-types/commands/CreateFacetCommand.d.ts +35 -0
- package/dist-types/commands/CreateIndexCommand.d.ts +15 -0
- package/dist-types/commands/CreateObjectCommand.d.ts +29 -0
- package/dist-types/commands/CreateSchemaCommand.d.ts +3 -0
- package/dist-types/commands/CreateTypedLinkFacetCommand.d.ts +32 -0
- package/dist-types/commands/DeleteDirectoryCommand.d.ts +3 -0
- package/dist-types/commands/DeleteFacetCommand.d.ts +4 -0
- package/dist-types/commands/DeleteObjectCommand.d.ts +6 -0
- package/dist-types/commands/DeleteSchemaCommand.d.ts +3 -0
- package/dist-types/commands/DeleteTypedLinkFacetCommand.d.ts +4 -0
- package/dist-types/commands/DetachFromIndexCommand.d.ts +9 -0
- package/dist-types/commands/DetachObjectCommand.d.ts +7 -0
- package/dist-types/commands/DetachPolicyCommand.d.ts +9 -0
- package/dist-types/commands/DetachTypedLinkCommand.d.ts +27 -0
- package/dist-types/commands/DisableDirectoryCommand.d.ts +3 -0
- package/dist-types/commands/EnableDirectoryCommand.d.ts +3 -0
- package/dist-types/commands/GetAppliedSchemaVersionCommand.d.ts +3 -0
- package/dist-types/commands/GetDirectoryCommand.d.ts +3 -0
- package/dist-types/commands/GetFacetCommand.d.ts +4 -0
- package/dist-types/commands/GetLinkAttributesCommand.d.ts +31 -0
- package/dist-types/commands/GetObjectAttributesCommand.d.ts +14 -0
- package/dist-types/commands/GetObjectInformationCommand.d.ts +7 -0
- package/dist-types/commands/GetSchemaAsJsonCommand.d.ts +3 -0
- package/dist-types/commands/GetTypedLinkFacetInformationCommand.d.ts +4 -0
- package/dist-types/commands/ListAppliedSchemaArnsCommand.d.ts +6 -0
- package/dist-types/commands/ListAttachedIndicesCommand.d.ts +9 -0
- package/dist-types/commands/ListDevelopmentSchemaArnsCommand.d.ts +4 -0
- package/dist-types/commands/ListDirectoriesCommand.d.ts +5 -0
- package/dist-types/commands/ListFacetAttributesCommand.d.ts +6 -0
- package/dist-types/commands/ListFacetNamesCommand.d.ts +5 -0
- package/dist-types/commands/ListIncomingTypedLinksCommand.d.ts +36 -0
- package/dist-types/commands/ListIndexCommand.d.ts +36 -0
- package/dist-types/commands/ListManagedSchemaArnsCommand.d.ts +5 -0
- package/dist-types/commands/ListObjectAttributesCommand.d.ts +13 -0
- package/dist-types/commands/ListObjectChildrenCommand.d.ts +9 -0
- package/dist-types/commands/ListObjectParentPathsCommand.d.ts +8 -0
- package/dist-types/commands/ListObjectParentsCommand.d.ts +10 -0
- package/dist-types/commands/ListObjectPoliciesCommand.d.ts +9 -0
- package/dist-types/commands/ListOutgoingTypedLinksCommand.d.ts +36 -0
- package/dist-types/commands/ListPolicyAttachmentsCommand.d.ts +9 -0
- package/dist-types/commands/ListPublishedSchemaArnsCommand.d.ts +5 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +5 -0
- package/dist-types/commands/ListTypedLinkFacetAttributesCommand.d.ts +6 -0
- package/dist-types/commands/ListTypedLinkFacetNamesCommand.d.ts +5 -0
- package/dist-types/commands/LookupPolicyCommand.d.ts +8 -0
- package/dist-types/commands/PublishSchemaCommand.d.ts +6 -0
- package/dist-types/commands/PutSchemaFromJsonCommand.d.ts +4 -0
- package/dist-types/commands/RemoveFacetFromObjectCommand.d.ts +10 -0
- package/dist-types/commands/TagResourceCommand.d.ts +9 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UpdateFacetCommand.d.ts +37 -0
- package/dist-types/commands/UpdateLinkAttributesCommand.d.ts +46 -0
- package/dist-types/commands/UpdateObjectAttributesCommand.d.ts +25 -0
- package/dist-types/commands/UpdateSchemaCommand.d.ts +4 -0
- package/dist-types/commands/UpdateTypedLinkFacetCommand.d.ts +33 -0
- package/dist-types/commands/UpgradeAppliedSchemaCommand.d.ts +5 -0
- package/dist-types/commands/UpgradePublishedSchemaCommand.d.ts +6 -0
- package/package.json +8 -8
|
@@ -28,6 +28,42 @@ export interface ListOutgoingTypedLinksCommandOutput extends ListOutgoingTypedLi
|
|
|
28
28
|
* import { CloudDirectoryClient, ListOutgoingTypedLinksCommand } from "@aws-sdk/client-clouddirectory"; // ES Modules import
|
|
29
29
|
* // const { CloudDirectoryClient, ListOutgoingTypedLinksCommand } = require("@aws-sdk/client-clouddirectory"); // CommonJS import
|
|
30
30
|
* const client = new CloudDirectoryClient(config);
|
|
31
|
+
* const input = { // ListOutgoingTypedLinksRequest
|
|
32
|
+
* DirectoryArn: "STRING_VALUE", // required
|
|
33
|
+
* ObjectReference: { // ObjectReference
|
|
34
|
+
* Selector: "STRING_VALUE",
|
|
35
|
+
* },
|
|
36
|
+
* FilterAttributeRanges: [ // TypedLinkAttributeRangeList
|
|
37
|
+
* { // TypedLinkAttributeRange
|
|
38
|
+
* AttributeName: "STRING_VALUE",
|
|
39
|
+
* Range: { // TypedAttributeValueRange
|
|
40
|
+
* StartMode: "FIRST" || "LAST" || "LAST_BEFORE_MISSING_VALUES" || "INCLUSIVE" || "EXCLUSIVE", // required
|
|
41
|
+
* StartValue: { // TypedAttributeValue Union: only one key present
|
|
42
|
+
* StringValue: "STRING_VALUE",
|
|
43
|
+
* BinaryValue: "BLOB_VALUE",
|
|
44
|
+
* BooleanValue: true || false,
|
|
45
|
+
* NumberValue: "STRING_VALUE",
|
|
46
|
+
* DatetimeValue: new Date("TIMESTAMP"),
|
|
47
|
+
* },
|
|
48
|
+
* EndMode: "FIRST" || "LAST" || "LAST_BEFORE_MISSING_VALUES" || "INCLUSIVE" || "EXCLUSIVE", // required
|
|
49
|
+
* EndValue: {// Union: only one key present
|
|
50
|
+
* StringValue: "STRING_VALUE",
|
|
51
|
+
* BinaryValue: "BLOB_VALUE",
|
|
52
|
+
* BooleanValue: true || false,
|
|
53
|
+
* NumberValue: "STRING_VALUE",
|
|
54
|
+
* DatetimeValue: new Date("TIMESTAMP"),
|
|
55
|
+
* },
|
|
56
|
+
* },
|
|
57
|
+
* },
|
|
58
|
+
* ],
|
|
59
|
+
* FilterTypedLink: { // TypedLinkSchemaAndFacetName
|
|
60
|
+
* SchemaArn: "STRING_VALUE", // required
|
|
61
|
+
* TypedLinkName: "STRING_VALUE", // required
|
|
62
|
+
* },
|
|
63
|
+
* NextToken: "STRING_VALUE",
|
|
64
|
+
* MaxResults: Number("int"),
|
|
65
|
+
* ConsistencyLevel: "SERIALIZABLE" || "EVENTUAL",
|
|
66
|
+
* };
|
|
31
67
|
* const command = new ListOutgoingTypedLinksCommand(input);
|
|
32
68
|
* const response = await client.send(command);
|
|
33
69
|
* ```
|
|
@@ -26,6 +26,15 @@ export interface ListPolicyAttachmentsCommandOutput extends ListPolicyAttachment
|
|
|
26
26
|
* import { CloudDirectoryClient, ListPolicyAttachmentsCommand } from "@aws-sdk/client-clouddirectory"; // ES Modules import
|
|
27
27
|
* // const { CloudDirectoryClient, ListPolicyAttachmentsCommand } = require("@aws-sdk/client-clouddirectory"); // CommonJS import
|
|
28
28
|
* const client = new CloudDirectoryClient(config);
|
|
29
|
+
* const input = { // ListPolicyAttachmentsRequest
|
|
30
|
+
* DirectoryArn: "STRING_VALUE", // required
|
|
31
|
+
* PolicyReference: { // ObjectReference
|
|
32
|
+
* Selector: "STRING_VALUE",
|
|
33
|
+
* },
|
|
34
|
+
* NextToken: "STRING_VALUE",
|
|
35
|
+
* MaxResults: Number("int"),
|
|
36
|
+
* ConsistencyLevel: "SERIALIZABLE" || "EVENTUAL",
|
|
37
|
+
* };
|
|
29
38
|
* const command = new ListPolicyAttachmentsCommand(input);
|
|
30
39
|
* const response = await client.send(command);
|
|
31
40
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface ListPublishedSchemaArnsCommandOutput extends ListPublishedSchem
|
|
|
26
26
|
* import { CloudDirectoryClient, ListPublishedSchemaArnsCommand } from "@aws-sdk/client-clouddirectory"; // ES Modules import
|
|
27
27
|
* // const { CloudDirectoryClient, ListPublishedSchemaArnsCommand } = require("@aws-sdk/client-clouddirectory"); // CommonJS import
|
|
28
28
|
* const client = new CloudDirectoryClient(config);
|
|
29
|
+
* const input = { // ListPublishedSchemaArnsRequest
|
|
30
|
+
* SchemaArn: "STRING_VALUE",
|
|
31
|
+
* NextToken: "STRING_VALUE",
|
|
32
|
+
* MaxResults: Number("int"),
|
|
33
|
+
* };
|
|
29
34
|
* const command = new ListPublishedSchemaArnsCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -28,6 +28,11 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
28
28
|
* import { CloudDirectoryClient, ListTagsForResourceCommand } from "@aws-sdk/client-clouddirectory"; // ES Modules import
|
|
29
29
|
* // const { CloudDirectoryClient, ListTagsForResourceCommand } = require("@aws-sdk/client-clouddirectory"); // CommonJS import
|
|
30
30
|
* const client = new CloudDirectoryClient(config);
|
|
31
|
+
* const input = { // ListTagsForResourceRequest
|
|
32
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
33
|
+
* NextToken: "STRING_VALUE",
|
|
34
|
+
* MaxResults: Number("int"),
|
|
35
|
+
* };
|
|
31
36
|
* const command = new ListTagsForResourceCommand(input);
|
|
32
37
|
* const response = await client.send(command);
|
|
33
38
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface ListTypedLinkFacetAttributesCommandOutput extends ListTypedLink
|
|
|
26
26
|
* import { CloudDirectoryClient, ListTypedLinkFacetAttributesCommand } from "@aws-sdk/client-clouddirectory"; // ES Modules import
|
|
27
27
|
* // const { CloudDirectoryClient, ListTypedLinkFacetAttributesCommand } = require("@aws-sdk/client-clouddirectory"); // CommonJS import
|
|
28
28
|
* const client = new CloudDirectoryClient(config);
|
|
29
|
+
* const input = { // ListTypedLinkFacetAttributesRequest
|
|
30
|
+
* SchemaArn: "STRING_VALUE", // required
|
|
31
|
+
* Name: "STRING_VALUE", // required
|
|
32
|
+
* NextToken: "STRING_VALUE",
|
|
33
|
+
* MaxResults: Number("int"),
|
|
34
|
+
* };
|
|
29
35
|
* const command = new ListTypedLinkFacetAttributesCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -27,6 +27,11 @@ export interface ListTypedLinkFacetNamesCommandOutput extends ListTypedLinkFacet
|
|
|
27
27
|
* import { CloudDirectoryClient, ListTypedLinkFacetNamesCommand } from "@aws-sdk/client-clouddirectory"; // ES Modules import
|
|
28
28
|
* // const { CloudDirectoryClient, ListTypedLinkFacetNamesCommand } = require("@aws-sdk/client-clouddirectory"); // CommonJS import
|
|
29
29
|
* const client = new CloudDirectoryClient(config);
|
|
30
|
+
* const input = { // ListTypedLinkFacetNamesRequest
|
|
31
|
+
* SchemaArn: "STRING_VALUE", // required
|
|
32
|
+
* NextToken: "STRING_VALUE",
|
|
33
|
+
* MaxResults: Number("int"),
|
|
34
|
+
* };
|
|
30
35
|
* const command = new ListTypedLinkFacetNamesCommand(input);
|
|
31
36
|
* const response = await client.send(command);
|
|
32
37
|
* ```
|
|
@@ -31,6 +31,14 @@ export interface LookupPolicyCommandOutput extends LookupPolicyResponse, __Metad
|
|
|
31
31
|
* import { CloudDirectoryClient, LookupPolicyCommand } from "@aws-sdk/client-clouddirectory"; // ES Modules import
|
|
32
32
|
* // const { CloudDirectoryClient, LookupPolicyCommand } = require("@aws-sdk/client-clouddirectory"); // CommonJS import
|
|
33
33
|
* const client = new CloudDirectoryClient(config);
|
|
34
|
+
* const input = { // LookupPolicyRequest
|
|
35
|
+
* DirectoryArn: "STRING_VALUE", // required
|
|
36
|
+
* ObjectReference: { // ObjectReference
|
|
37
|
+
* Selector: "STRING_VALUE",
|
|
38
|
+
* },
|
|
39
|
+
* NextToken: "STRING_VALUE",
|
|
40
|
+
* MaxResults: Number("int"),
|
|
41
|
+
* };
|
|
34
42
|
* const command = new LookupPolicyCommand(input);
|
|
35
43
|
* const response = await client.send(command);
|
|
36
44
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface PublishSchemaCommandOutput extends PublishSchemaResponse, __Met
|
|
|
26
26
|
* import { CloudDirectoryClient, PublishSchemaCommand } from "@aws-sdk/client-clouddirectory"; // ES Modules import
|
|
27
27
|
* // const { CloudDirectoryClient, PublishSchemaCommand } = require("@aws-sdk/client-clouddirectory"); // CommonJS import
|
|
28
28
|
* const client = new CloudDirectoryClient(config);
|
|
29
|
+
* const input = { // PublishSchemaRequest
|
|
30
|
+
* DevelopmentSchemaArn: "STRING_VALUE", // required
|
|
31
|
+
* Version: "STRING_VALUE", // required
|
|
32
|
+
* MinorVersion: "STRING_VALUE",
|
|
33
|
+
* Name: "STRING_VALUE",
|
|
34
|
+
* };
|
|
29
35
|
* const command = new PublishSchemaCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface PutSchemaFromJsonCommandOutput extends PutSchemaFromJsonRespons
|
|
|
26
26
|
* import { CloudDirectoryClient, PutSchemaFromJsonCommand } from "@aws-sdk/client-clouddirectory"; // ES Modules import
|
|
27
27
|
* // const { CloudDirectoryClient, PutSchemaFromJsonCommand } = require("@aws-sdk/client-clouddirectory"); // CommonJS import
|
|
28
28
|
* const client = new CloudDirectoryClient(config);
|
|
29
|
+
* const input = { // PutSchemaFromJsonRequest
|
|
30
|
+
* SchemaArn: "STRING_VALUE", // required
|
|
31
|
+
* Document: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new PutSchemaFromJsonCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,16 @@ export interface RemoveFacetFromObjectCommandOutput extends RemoveFacetFromObjec
|
|
|
26
26
|
* import { CloudDirectoryClient, RemoveFacetFromObjectCommand } from "@aws-sdk/client-clouddirectory"; // ES Modules import
|
|
27
27
|
* // const { CloudDirectoryClient, RemoveFacetFromObjectCommand } = require("@aws-sdk/client-clouddirectory"); // CommonJS import
|
|
28
28
|
* const client = new CloudDirectoryClient(config);
|
|
29
|
+
* const input = { // RemoveFacetFromObjectRequest
|
|
30
|
+
* DirectoryArn: "STRING_VALUE", // required
|
|
31
|
+
* SchemaFacet: { // SchemaFacet
|
|
32
|
+
* SchemaArn: "STRING_VALUE",
|
|
33
|
+
* FacetName: "STRING_VALUE",
|
|
34
|
+
* },
|
|
35
|
+
* ObjectReference: { // ObjectReference
|
|
36
|
+
* Selector: "STRING_VALUE",
|
|
37
|
+
* },
|
|
38
|
+
* };
|
|
29
39
|
* const command = new RemoveFacetFromObjectCommand(input);
|
|
30
40
|
* const response = await client.send(command);
|
|
31
41
|
* ```
|
|
@@ -26,6 +26,15 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
26
26
|
* import { CloudDirectoryClient, TagResourceCommand } from "@aws-sdk/client-clouddirectory"; // ES Modules import
|
|
27
27
|
* // const { CloudDirectoryClient, TagResourceCommand } = require("@aws-sdk/client-clouddirectory"); // CommonJS import
|
|
28
28
|
* const client = new CloudDirectoryClient(config);
|
|
29
|
+
* const input = { // TagResourceRequest
|
|
30
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
31
|
+
* Tags: [ // TagList // required
|
|
32
|
+
* { // Tag
|
|
33
|
+
* Key: "STRING_VALUE",
|
|
34
|
+
* Value: "STRING_VALUE",
|
|
35
|
+
* },
|
|
36
|
+
* ],
|
|
37
|
+
* };
|
|
29
38
|
* const command = new TagResourceCommand(input);
|
|
30
39
|
* const response = await client.send(command);
|
|
31
40
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
26
26
|
* import { CloudDirectoryClient, UntagResourceCommand } from "@aws-sdk/client-clouddirectory"; // ES Modules import
|
|
27
27
|
* // const { CloudDirectoryClient, UntagResourceCommand } = require("@aws-sdk/client-clouddirectory"); // CommonJS import
|
|
28
28
|
* const client = new CloudDirectoryClient(config);
|
|
29
|
+
* const input = { // UntagResourceRequest
|
|
30
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
31
|
+
* TagKeys: [ // TagKeyList // required
|
|
32
|
+
* "STRING_VALUE",
|
|
33
|
+
* ],
|
|
34
|
+
* };
|
|
29
35
|
* const command = new UntagResourceCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -37,6 +37,43 @@ export interface UpdateFacetCommandOutput extends UpdateFacetResponse, __Metadat
|
|
|
37
37
|
* import { CloudDirectoryClient, UpdateFacetCommand } from "@aws-sdk/client-clouddirectory"; // ES Modules import
|
|
38
38
|
* // const { CloudDirectoryClient, UpdateFacetCommand } = require("@aws-sdk/client-clouddirectory"); // CommonJS import
|
|
39
39
|
* const client = new CloudDirectoryClient(config);
|
|
40
|
+
* const input = { // UpdateFacetRequest
|
|
41
|
+
* SchemaArn: "STRING_VALUE", // required
|
|
42
|
+
* Name: "STRING_VALUE", // required
|
|
43
|
+
* AttributeUpdates: [ // FacetAttributeUpdateList
|
|
44
|
+
* { // FacetAttributeUpdate
|
|
45
|
+
* Attribute: { // FacetAttribute
|
|
46
|
+
* Name: "STRING_VALUE", // required
|
|
47
|
+
* AttributeDefinition: { // FacetAttributeDefinition
|
|
48
|
+
* Type: "STRING" || "BINARY" || "BOOLEAN" || "NUMBER" || "DATETIME" || "VARIANT", // required
|
|
49
|
+
* DefaultValue: { // TypedAttributeValue Union: only one key present
|
|
50
|
+
* StringValue: "STRING_VALUE",
|
|
51
|
+
* BinaryValue: "BLOB_VALUE",
|
|
52
|
+
* BooleanValue: true || false,
|
|
53
|
+
* NumberValue: "STRING_VALUE",
|
|
54
|
+
* DatetimeValue: new Date("TIMESTAMP"),
|
|
55
|
+
* },
|
|
56
|
+
* IsImmutable: true || false,
|
|
57
|
+
* Rules: { // RuleMap
|
|
58
|
+
* "<keys>": { // Rule
|
|
59
|
+
* Type: "BINARY_LENGTH" || "NUMBER_COMPARISON" || "STRING_FROM_SET" || "STRING_LENGTH",
|
|
60
|
+
* Parameters: { // RuleParameterMap
|
|
61
|
+
* "<keys>": "STRING_VALUE",
|
|
62
|
+
* },
|
|
63
|
+
* },
|
|
64
|
+
* },
|
|
65
|
+
* },
|
|
66
|
+
* AttributeReference: { // FacetAttributeReference
|
|
67
|
+
* TargetFacetName: "STRING_VALUE", // required
|
|
68
|
+
* TargetAttributeName: "STRING_VALUE", // required
|
|
69
|
+
* },
|
|
70
|
+
* RequiredBehavior: "REQUIRED_ALWAYS" || "NOT_REQUIRED",
|
|
71
|
+
* },
|
|
72
|
+
* Action: "CREATE_OR_UPDATE" || "DELETE",
|
|
73
|
+
* },
|
|
74
|
+
* ],
|
|
75
|
+
* ObjectType: "NODE" || "LEAF_NODE" || "POLICY" || "INDEX",
|
|
76
|
+
* };
|
|
40
77
|
* const command = new UpdateFacetCommand(input);
|
|
41
78
|
* const response = await client.send(command);
|
|
42
79
|
* ```
|
|
@@ -26,6 +26,52 @@ export interface UpdateLinkAttributesCommandOutput extends UpdateLinkAttributesR
|
|
|
26
26
|
* import { CloudDirectoryClient, UpdateLinkAttributesCommand } from "@aws-sdk/client-clouddirectory"; // ES Modules import
|
|
27
27
|
* // const { CloudDirectoryClient, UpdateLinkAttributesCommand } = require("@aws-sdk/client-clouddirectory"); // CommonJS import
|
|
28
28
|
* const client = new CloudDirectoryClient(config);
|
|
29
|
+
* const input = { // UpdateLinkAttributesRequest
|
|
30
|
+
* DirectoryArn: "STRING_VALUE", // required
|
|
31
|
+
* TypedLinkSpecifier: { // TypedLinkSpecifier
|
|
32
|
+
* TypedLinkFacet: { // TypedLinkSchemaAndFacetName
|
|
33
|
+
* SchemaArn: "STRING_VALUE", // required
|
|
34
|
+
* TypedLinkName: "STRING_VALUE", // required
|
|
35
|
+
* },
|
|
36
|
+
* SourceObjectReference: { // ObjectReference
|
|
37
|
+
* Selector: "STRING_VALUE",
|
|
38
|
+
* },
|
|
39
|
+
* TargetObjectReference: {
|
|
40
|
+
* Selector: "STRING_VALUE",
|
|
41
|
+
* },
|
|
42
|
+
* IdentityAttributeValues: [ // AttributeNameAndValueList // required
|
|
43
|
+
* { // AttributeNameAndValue
|
|
44
|
+
* AttributeName: "STRING_VALUE", // required
|
|
45
|
+
* Value: { // TypedAttributeValue Union: only one key present
|
|
46
|
+
* StringValue: "STRING_VALUE",
|
|
47
|
+
* BinaryValue: "BLOB_VALUE",
|
|
48
|
+
* BooleanValue: true || false,
|
|
49
|
+
* NumberValue: "STRING_VALUE",
|
|
50
|
+
* DatetimeValue: new Date("TIMESTAMP"),
|
|
51
|
+
* },
|
|
52
|
+
* },
|
|
53
|
+
* ],
|
|
54
|
+
* },
|
|
55
|
+
* AttributeUpdates: [ // LinkAttributeUpdateList // required
|
|
56
|
+
* { // LinkAttributeUpdate
|
|
57
|
+
* AttributeKey: { // AttributeKey
|
|
58
|
+
* SchemaArn: "STRING_VALUE", // required
|
|
59
|
+
* FacetName: "STRING_VALUE", // required
|
|
60
|
+
* Name: "STRING_VALUE", // required
|
|
61
|
+
* },
|
|
62
|
+
* AttributeAction: { // LinkAttributeAction
|
|
63
|
+
* AttributeActionType: "CREATE_OR_UPDATE" || "DELETE",
|
|
64
|
+
* AttributeUpdateValue: {// Union: only one key present
|
|
65
|
+
* StringValue: "STRING_VALUE",
|
|
66
|
+
* BinaryValue: "BLOB_VALUE",
|
|
67
|
+
* BooleanValue: true || false,
|
|
68
|
+
* NumberValue: "STRING_VALUE",
|
|
69
|
+
* DatetimeValue: new Date("TIMESTAMP"),
|
|
70
|
+
* },
|
|
71
|
+
* },
|
|
72
|
+
* },
|
|
73
|
+
* ],
|
|
74
|
+
* };
|
|
29
75
|
* const command = new UpdateLinkAttributesCommand(input);
|
|
30
76
|
* const response = await client.send(command);
|
|
31
77
|
* ```
|
|
@@ -26,6 +26,31 @@ export interface UpdateObjectAttributesCommandOutput extends UpdateObjectAttribu
|
|
|
26
26
|
* import { CloudDirectoryClient, UpdateObjectAttributesCommand } from "@aws-sdk/client-clouddirectory"; // ES Modules import
|
|
27
27
|
* // const { CloudDirectoryClient, UpdateObjectAttributesCommand } = require("@aws-sdk/client-clouddirectory"); // CommonJS import
|
|
28
28
|
* const client = new CloudDirectoryClient(config);
|
|
29
|
+
* const input = { // UpdateObjectAttributesRequest
|
|
30
|
+
* DirectoryArn: "STRING_VALUE", // required
|
|
31
|
+
* ObjectReference: { // ObjectReference
|
|
32
|
+
* Selector: "STRING_VALUE",
|
|
33
|
+
* },
|
|
34
|
+
* AttributeUpdates: [ // ObjectAttributeUpdateList // required
|
|
35
|
+
* { // ObjectAttributeUpdate
|
|
36
|
+
* ObjectAttributeKey: { // AttributeKey
|
|
37
|
+
* SchemaArn: "STRING_VALUE", // required
|
|
38
|
+
* FacetName: "STRING_VALUE", // required
|
|
39
|
+
* Name: "STRING_VALUE", // required
|
|
40
|
+
* },
|
|
41
|
+
* ObjectAttributeAction: { // ObjectAttributeAction
|
|
42
|
+
* ObjectAttributeActionType: "CREATE_OR_UPDATE" || "DELETE",
|
|
43
|
+
* ObjectAttributeUpdateValue: { // TypedAttributeValue Union: only one key present
|
|
44
|
+
* StringValue: "STRING_VALUE",
|
|
45
|
+
* BinaryValue: "BLOB_VALUE",
|
|
46
|
+
* BooleanValue: true || false,
|
|
47
|
+
* NumberValue: "STRING_VALUE",
|
|
48
|
+
* DatetimeValue: new Date("TIMESTAMP"),
|
|
49
|
+
* },
|
|
50
|
+
* },
|
|
51
|
+
* },
|
|
52
|
+
* ],
|
|
53
|
+
* };
|
|
29
54
|
* const command = new UpdateObjectAttributesCommand(input);
|
|
30
55
|
* const response = await client.send(command);
|
|
31
56
|
* ```
|
|
@@ -27,6 +27,10 @@ export interface UpdateSchemaCommandOutput extends UpdateSchemaResponse, __Metad
|
|
|
27
27
|
* import { CloudDirectoryClient, UpdateSchemaCommand } from "@aws-sdk/client-clouddirectory"; // ES Modules import
|
|
28
28
|
* // const { CloudDirectoryClient, UpdateSchemaCommand } = require("@aws-sdk/client-clouddirectory"); // CommonJS import
|
|
29
29
|
* const client = new CloudDirectoryClient(config);
|
|
30
|
+
* const input = { // UpdateSchemaRequest
|
|
31
|
+
* SchemaArn: "STRING_VALUE", // required
|
|
32
|
+
* Name: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
30
34
|
* const command = new UpdateSchemaCommand(input);
|
|
31
35
|
* const response = await client.send(command);
|
|
32
36
|
* ```
|
|
@@ -26,6 +26,39 @@ export interface UpdateTypedLinkFacetCommandOutput extends UpdateTypedLinkFacetR
|
|
|
26
26
|
* import { CloudDirectoryClient, UpdateTypedLinkFacetCommand } from "@aws-sdk/client-clouddirectory"; // ES Modules import
|
|
27
27
|
* // const { CloudDirectoryClient, UpdateTypedLinkFacetCommand } = require("@aws-sdk/client-clouddirectory"); // CommonJS import
|
|
28
28
|
* const client = new CloudDirectoryClient(config);
|
|
29
|
+
* const input = { // UpdateTypedLinkFacetRequest
|
|
30
|
+
* SchemaArn: "STRING_VALUE", // required
|
|
31
|
+
* Name: "STRING_VALUE", // required
|
|
32
|
+
* AttributeUpdates: [ // TypedLinkFacetAttributeUpdateList // required
|
|
33
|
+
* { // TypedLinkFacetAttributeUpdate
|
|
34
|
+
* Attribute: { // TypedLinkAttributeDefinition
|
|
35
|
+
* Name: "STRING_VALUE", // required
|
|
36
|
+
* Type: "STRING" || "BINARY" || "BOOLEAN" || "NUMBER" || "DATETIME" || "VARIANT", // required
|
|
37
|
+
* DefaultValue: { // TypedAttributeValue Union: only one key present
|
|
38
|
+
* StringValue: "STRING_VALUE",
|
|
39
|
+
* BinaryValue: "BLOB_VALUE",
|
|
40
|
+
* BooleanValue: true || false,
|
|
41
|
+
* NumberValue: "STRING_VALUE",
|
|
42
|
+
* DatetimeValue: new Date("TIMESTAMP"),
|
|
43
|
+
* },
|
|
44
|
+
* IsImmutable: true || false,
|
|
45
|
+
* Rules: { // RuleMap
|
|
46
|
+
* "<keys>": { // Rule
|
|
47
|
+
* Type: "BINARY_LENGTH" || "NUMBER_COMPARISON" || "STRING_FROM_SET" || "STRING_LENGTH",
|
|
48
|
+
* Parameters: { // RuleParameterMap
|
|
49
|
+
* "<keys>": "STRING_VALUE",
|
|
50
|
+
* },
|
|
51
|
+
* },
|
|
52
|
+
* },
|
|
53
|
+
* RequiredBehavior: "REQUIRED_ALWAYS" || "NOT_REQUIRED", // required
|
|
54
|
+
* },
|
|
55
|
+
* Action: "CREATE_OR_UPDATE" || "DELETE", // required
|
|
56
|
+
* },
|
|
57
|
+
* ],
|
|
58
|
+
* IdentityAttributeOrder: [ // AttributeNameList // required
|
|
59
|
+
* "STRING_VALUE",
|
|
60
|
+
* ],
|
|
61
|
+
* };
|
|
29
62
|
* const command = new UpdateTypedLinkFacetCommand(input);
|
|
30
63
|
* const response = await client.send(command);
|
|
31
64
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface UpgradeAppliedSchemaCommandOutput extends UpgradeAppliedSchemaR
|
|
|
26
26
|
* import { CloudDirectoryClient, UpgradeAppliedSchemaCommand } from "@aws-sdk/client-clouddirectory"; // ES Modules import
|
|
27
27
|
* // const { CloudDirectoryClient, UpgradeAppliedSchemaCommand } = require("@aws-sdk/client-clouddirectory"); // CommonJS import
|
|
28
28
|
* const client = new CloudDirectoryClient(config);
|
|
29
|
+
* const input = { // UpgradeAppliedSchemaRequest
|
|
30
|
+
* PublishedSchemaArn: "STRING_VALUE", // required
|
|
31
|
+
* DirectoryArn: "STRING_VALUE", // required
|
|
32
|
+
* DryRun: true || false,
|
|
33
|
+
* };
|
|
29
34
|
* const command = new UpgradeAppliedSchemaCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface UpgradePublishedSchemaCommandOutput extends UpgradePublishedSch
|
|
|
26
26
|
* import { CloudDirectoryClient, UpgradePublishedSchemaCommand } from "@aws-sdk/client-clouddirectory"; // ES Modules import
|
|
27
27
|
* // const { CloudDirectoryClient, UpgradePublishedSchemaCommand } = require("@aws-sdk/client-clouddirectory"); // CommonJS import
|
|
28
28
|
* const client = new CloudDirectoryClient(config);
|
|
29
|
+
* const input = { // UpgradePublishedSchemaRequest
|
|
30
|
+
* DevelopmentSchemaArn: "STRING_VALUE", // required
|
|
31
|
+
* PublishedSchemaArn: "STRING_VALUE", // required
|
|
32
|
+
* MinorVersion: "STRING_VALUE", // required
|
|
33
|
+
* DryRun: true || false,
|
|
34
|
+
* };
|
|
29
35
|
* const command = new UpgradePublishedSchemaCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
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.
|
|
4
|
+
"version": "3.301.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,9 +21,9 @@
|
|
|
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.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.301.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.301.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.296.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.300.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.299.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
39
39
|
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.300.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.296.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.296.0",
|
|
43
43
|
"@aws-sdk/smithy-client": "3.296.0",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.300.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.296.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.296.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.300.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
56
56
|
"tslib": "^2.5.0"
|
|
57
57
|
},
|