@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
|
@@ -26,6 +26,32 @@ export interface AddFacetToObjectCommandOutput extends AddFacetToObjectResponse,
|
|
|
26
26
|
* import { CloudDirectoryClient, AddFacetToObjectCommand } from "@aws-sdk/client-clouddirectory"; // ES Modules import
|
|
27
27
|
* // const { CloudDirectoryClient, AddFacetToObjectCommand } = require("@aws-sdk/client-clouddirectory"); // CommonJS import
|
|
28
28
|
* const client = new CloudDirectoryClient(config);
|
|
29
|
+
* const input = { // AddFacetToObjectRequest
|
|
30
|
+
* DirectoryArn: "STRING_VALUE", // required
|
|
31
|
+
* SchemaFacet: { // SchemaFacet
|
|
32
|
+
* SchemaArn: "STRING_VALUE",
|
|
33
|
+
* FacetName: "STRING_VALUE",
|
|
34
|
+
* },
|
|
35
|
+
* ObjectAttributeList: [ // AttributeKeyAndValueList
|
|
36
|
+
* { // AttributeKeyAndValue
|
|
37
|
+
* Key: { // AttributeKey
|
|
38
|
+
* SchemaArn: "STRING_VALUE", // required
|
|
39
|
+
* FacetName: "STRING_VALUE", // required
|
|
40
|
+
* Name: "STRING_VALUE", // required
|
|
41
|
+
* },
|
|
42
|
+
* Value: { // TypedAttributeValue Union: only one key present
|
|
43
|
+
* StringValue: "STRING_VALUE",
|
|
44
|
+
* BinaryValue: "BLOB_VALUE",
|
|
45
|
+
* BooleanValue: true || false,
|
|
46
|
+
* NumberValue: "STRING_VALUE",
|
|
47
|
+
* DatetimeValue: new Date("TIMESTAMP"),
|
|
48
|
+
* },
|
|
49
|
+
* },
|
|
50
|
+
* ],
|
|
51
|
+
* ObjectReference: { // ObjectReference
|
|
52
|
+
* Selector: "STRING_VALUE",
|
|
53
|
+
* },
|
|
54
|
+
* };
|
|
29
55
|
* const command = new AddFacetToObjectCommand(input);
|
|
30
56
|
* const response = await client.send(command);
|
|
31
57
|
* ```
|
|
@@ -27,6 +27,10 @@ export interface ApplySchemaCommandOutput extends ApplySchemaResponse, __Metadat
|
|
|
27
27
|
* import { CloudDirectoryClient, ApplySchemaCommand } from "@aws-sdk/client-clouddirectory"; // ES Modules import
|
|
28
28
|
* // const { CloudDirectoryClient, ApplySchemaCommand } = require("@aws-sdk/client-clouddirectory"); // CommonJS import
|
|
29
29
|
* const client = new CloudDirectoryClient(config);
|
|
30
|
+
* const input = { // ApplySchemaRequest
|
|
31
|
+
* PublishedSchemaArn: "STRING_VALUE", // required
|
|
32
|
+
* DirectoryArn: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
30
34
|
* const command = new ApplySchemaCommand(input);
|
|
31
35
|
* const response = await client.send(command);
|
|
32
36
|
* ```
|
|
@@ -36,6 +36,16 @@ export interface AttachObjectCommandOutput extends AttachObjectResponse, __Metad
|
|
|
36
36
|
* import { CloudDirectoryClient, AttachObjectCommand } from "@aws-sdk/client-clouddirectory"; // ES Modules import
|
|
37
37
|
* // const { CloudDirectoryClient, AttachObjectCommand } = require("@aws-sdk/client-clouddirectory"); // CommonJS import
|
|
38
38
|
* const client = new CloudDirectoryClient(config);
|
|
39
|
+
* const input = { // AttachObjectRequest
|
|
40
|
+
* DirectoryArn: "STRING_VALUE", // required
|
|
41
|
+
* ParentReference: { // ObjectReference
|
|
42
|
+
* Selector: "STRING_VALUE",
|
|
43
|
+
* },
|
|
44
|
+
* ChildReference: {
|
|
45
|
+
* Selector: "STRING_VALUE",
|
|
46
|
+
* },
|
|
47
|
+
* LinkName: "STRING_VALUE", // required
|
|
48
|
+
* };
|
|
39
49
|
* const command = new AttachObjectCommand(input);
|
|
40
50
|
* const response = await client.send(command);
|
|
41
51
|
* ```
|
|
@@ -27,6 +27,15 @@ export interface AttachPolicyCommandOutput extends AttachPolicyResponse, __Metad
|
|
|
27
27
|
* import { CloudDirectoryClient, AttachPolicyCommand } from "@aws-sdk/client-clouddirectory"; // ES Modules import
|
|
28
28
|
* // const { CloudDirectoryClient, AttachPolicyCommand } = require("@aws-sdk/client-clouddirectory"); // CommonJS import
|
|
29
29
|
* const client = new CloudDirectoryClient(config);
|
|
30
|
+
* const input = { // AttachPolicyRequest
|
|
31
|
+
* DirectoryArn: "STRING_VALUE", // required
|
|
32
|
+
* PolicyReference: { // ObjectReference
|
|
33
|
+
* Selector: "STRING_VALUE",
|
|
34
|
+
* },
|
|
35
|
+
* ObjectReference: {
|
|
36
|
+
* Selector: "STRING_VALUE",
|
|
37
|
+
* },
|
|
38
|
+
* };
|
|
30
39
|
* const command = new AttachPolicyCommand(input);
|
|
31
40
|
* const response = await client.send(command);
|
|
32
41
|
* ```
|
|
@@ -26,6 +26,15 @@ export interface AttachToIndexCommandOutput extends AttachToIndexResponse, __Met
|
|
|
26
26
|
* import { CloudDirectoryClient, AttachToIndexCommand } from "@aws-sdk/client-clouddirectory"; // ES Modules import
|
|
27
27
|
* // const { CloudDirectoryClient, AttachToIndexCommand } = require("@aws-sdk/client-clouddirectory"); // CommonJS import
|
|
28
28
|
* const client = new CloudDirectoryClient(config);
|
|
29
|
+
* const input = { // AttachToIndexRequest
|
|
30
|
+
* DirectoryArn: "STRING_VALUE", // required
|
|
31
|
+
* IndexReference: { // ObjectReference
|
|
32
|
+
* Selector: "STRING_VALUE",
|
|
33
|
+
* },
|
|
34
|
+
* TargetReference: {
|
|
35
|
+
* Selector: "STRING_VALUE",
|
|
36
|
+
* },
|
|
37
|
+
* };
|
|
29
38
|
* const command = new AttachToIndexCommand(input);
|
|
30
39
|
* const response = await client.send(command);
|
|
31
40
|
* ```
|
|
@@ -26,6 +26,31 @@ export interface AttachTypedLinkCommandOutput extends AttachTypedLinkResponse, _
|
|
|
26
26
|
* import { CloudDirectoryClient, AttachTypedLinkCommand } from "@aws-sdk/client-clouddirectory"; // ES Modules import
|
|
27
27
|
* // const { CloudDirectoryClient, AttachTypedLinkCommand } = require("@aws-sdk/client-clouddirectory"); // CommonJS import
|
|
28
28
|
* const client = new CloudDirectoryClient(config);
|
|
29
|
+
* const input = { // AttachTypedLinkRequest
|
|
30
|
+
* DirectoryArn: "STRING_VALUE", // required
|
|
31
|
+
* SourceObjectReference: { // ObjectReference
|
|
32
|
+
* Selector: "STRING_VALUE",
|
|
33
|
+
* },
|
|
34
|
+
* TargetObjectReference: {
|
|
35
|
+
* Selector: "STRING_VALUE",
|
|
36
|
+
* },
|
|
37
|
+
* TypedLinkFacet: { // TypedLinkSchemaAndFacetName
|
|
38
|
+
* SchemaArn: "STRING_VALUE", // required
|
|
39
|
+
* TypedLinkName: "STRING_VALUE", // required
|
|
40
|
+
* },
|
|
41
|
+
* Attributes: [ // AttributeNameAndValueList // required
|
|
42
|
+
* { // AttributeNameAndValue
|
|
43
|
+
* AttributeName: "STRING_VALUE", // required
|
|
44
|
+
* Value: { // TypedAttributeValue Union: only one key present
|
|
45
|
+
* StringValue: "STRING_VALUE",
|
|
46
|
+
* BinaryValue: "BLOB_VALUE",
|
|
47
|
+
* BooleanValue: true || false,
|
|
48
|
+
* NumberValue: "STRING_VALUE",
|
|
49
|
+
* DatetimeValue: new Date("TIMESTAMP"),
|
|
50
|
+
* },
|
|
51
|
+
* },
|
|
52
|
+
* ],
|
|
53
|
+
* };
|
|
29
54
|
* const command = new AttachTypedLinkCommand(input);
|
|
30
55
|
* const response = await client.send(command);
|
|
31
56
|
* ```
|
|
@@ -26,6 +26,190 @@ export interface BatchReadCommandOutput extends BatchReadResponse, __MetadataBea
|
|
|
26
26
|
* import { CloudDirectoryClient, BatchReadCommand } from "@aws-sdk/client-clouddirectory"; // ES Modules import
|
|
27
27
|
* // const { CloudDirectoryClient, BatchReadCommand } = require("@aws-sdk/client-clouddirectory"); // CommonJS import
|
|
28
28
|
* const client = new CloudDirectoryClient(config);
|
|
29
|
+
* const input = { // BatchReadRequest
|
|
30
|
+
* DirectoryArn: "STRING_VALUE", // required
|
|
31
|
+
* Operations: [ // BatchReadOperationList // required
|
|
32
|
+
* { // BatchReadOperation
|
|
33
|
+
* ListObjectAttributes: { // BatchListObjectAttributes
|
|
34
|
+
* ObjectReference: { // ObjectReference
|
|
35
|
+
* Selector: "STRING_VALUE",
|
|
36
|
+
* },
|
|
37
|
+
* NextToken: "STRING_VALUE",
|
|
38
|
+
* MaxResults: Number("int"),
|
|
39
|
+
* FacetFilter: { // SchemaFacet
|
|
40
|
+
* SchemaArn: "STRING_VALUE",
|
|
41
|
+
* FacetName: "STRING_VALUE",
|
|
42
|
+
* },
|
|
43
|
+
* },
|
|
44
|
+
* ListObjectChildren: { // BatchListObjectChildren
|
|
45
|
+
* ObjectReference: {
|
|
46
|
+
* Selector: "STRING_VALUE",
|
|
47
|
+
* },
|
|
48
|
+
* NextToken: "STRING_VALUE",
|
|
49
|
+
* MaxResults: Number("int"),
|
|
50
|
+
* },
|
|
51
|
+
* ListAttachedIndices: { // BatchListAttachedIndices
|
|
52
|
+
* TargetReference: {
|
|
53
|
+
* Selector: "STRING_VALUE",
|
|
54
|
+
* },
|
|
55
|
+
* NextToken: "STRING_VALUE",
|
|
56
|
+
* MaxResults: Number("int"),
|
|
57
|
+
* },
|
|
58
|
+
* ListObjectParentPaths: { // BatchListObjectParentPaths
|
|
59
|
+
* ObjectReference: {
|
|
60
|
+
* Selector: "STRING_VALUE",
|
|
61
|
+
* },
|
|
62
|
+
* NextToken: "STRING_VALUE",
|
|
63
|
+
* MaxResults: Number("int"),
|
|
64
|
+
* },
|
|
65
|
+
* GetObjectInformation: { // BatchGetObjectInformation
|
|
66
|
+
* ObjectReference: {
|
|
67
|
+
* Selector: "STRING_VALUE",
|
|
68
|
+
* },
|
|
69
|
+
* },
|
|
70
|
+
* GetObjectAttributes: { // BatchGetObjectAttributes
|
|
71
|
+
* ObjectReference: "<ObjectReference>", // required
|
|
72
|
+
* SchemaFacet: {
|
|
73
|
+
* SchemaArn: "STRING_VALUE",
|
|
74
|
+
* FacetName: "STRING_VALUE",
|
|
75
|
+
* },
|
|
76
|
+
* AttributeNames: [ // AttributeNameList // required
|
|
77
|
+
* "STRING_VALUE",
|
|
78
|
+
* ],
|
|
79
|
+
* },
|
|
80
|
+
* ListObjectParents: { // BatchListObjectParents
|
|
81
|
+
* ObjectReference: "<ObjectReference>", // required
|
|
82
|
+
* NextToken: "STRING_VALUE",
|
|
83
|
+
* MaxResults: Number("int"),
|
|
84
|
+
* },
|
|
85
|
+
* ListObjectPolicies: { // BatchListObjectPolicies
|
|
86
|
+
* ObjectReference: "<ObjectReference>", // required
|
|
87
|
+
* NextToken: "STRING_VALUE",
|
|
88
|
+
* MaxResults: Number("int"),
|
|
89
|
+
* },
|
|
90
|
+
* ListPolicyAttachments: { // BatchListPolicyAttachments
|
|
91
|
+
* PolicyReference: "<ObjectReference>", // required
|
|
92
|
+
* NextToken: "STRING_VALUE",
|
|
93
|
+
* MaxResults: Number("int"),
|
|
94
|
+
* },
|
|
95
|
+
* LookupPolicy: { // BatchLookupPolicy
|
|
96
|
+
* ObjectReference: "<ObjectReference>", // required
|
|
97
|
+
* NextToken: "STRING_VALUE",
|
|
98
|
+
* MaxResults: Number("int"),
|
|
99
|
+
* },
|
|
100
|
+
* ListIndex: { // BatchListIndex
|
|
101
|
+
* RangesOnIndexedValues: [ // ObjectAttributeRangeList
|
|
102
|
+
* { // ObjectAttributeRange
|
|
103
|
+
* AttributeKey: { // AttributeKey
|
|
104
|
+
* SchemaArn: "STRING_VALUE", // required
|
|
105
|
+
* FacetName: "STRING_VALUE", // required
|
|
106
|
+
* Name: "STRING_VALUE", // required
|
|
107
|
+
* },
|
|
108
|
+
* Range: { // TypedAttributeValueRange
|
|
109
|
+
* StartMode: "FIRST" || "LAST" || "LAST_BEFORE_MISSING_VALUES" || "INCLUSIVE" || "EXCLUSIVE", // required
|
|
110
|
+
* StartValue: { // TypedAttributeValue Union: only one key present
|
|
111
|
+
* StringValue: "STRING_VALUE",
|
|
112
|
+
* BinaryValue: "BLOB_VALUE",
|
|
113
|
+
* BooleanValue: true || false,
|
|
114
|
+
* NumberValue: "STRING_VALUE",
|
|
115
|
+
* DatetimeValue: new Date("TIMESTAMP"),
|
|
116
|
+
* },
|
|
117
|
+
* EndMode: "FIRST" || "LAST" || "LAST_BEFORE_MISSING_VALUES" || "INCLUSIVE" || "EXCLUSIVE", // required
|
|
118
|
+
* EndValue: {// Union: only one key present
|
|
119
|
+
* StringValue: "STRING_VALUE",
|
|
120
|
+
* BinaryValue: "BLOB_VALUE",
|
|
121
|
+
* BooleanValue: true || false,
|
|
122
|
+
* NumberValue: "STRING_VALUE",
|
|
123
|
+
* DatetimeValue: new Date("TIMESTAMP"),
|
|
124
|
+
* },
|
|
125
|
+
* },
|
|
126
|
+
* },
|
|
127
|
+
* ],
|
|
128
|
+
* IndexReference: "<ObjectReference>", // required
|
|
129
|
+
* MaxResults: Number("int"),
|
|
130
|
+
* NextToken: "STRING_VALUE",
|
|
131
|
+
* },
|
|
132
|
+
* ListOutgoingTypedLinks: { // BatchListOutgoingTypedLinks
|
|
133
|
+
* ObjectReference: "<ObjectReference>", // required
|
|
134
|
+
* FilterAttributeRanges: [ // TypedLinkAttributeRangeList
|
|
135
|
+
* { // TypedLinkAttributeRange
|
|
136
|
+
* AttributeName: "STRING_VALUE",
|
|
137
|
+
* Range: {
|
|
138
|
+
* StartMode: "FIRST" || "LAST" || "LAST_BEFORE_MISSING_VALUES" || "INCLUSIVE" || "EXCLUSIVE", // required
|
|
139
|
+
* StartValue: {// Union: only one key present
|
|
140
|
+
* StringValue: "STRING_VALUE",
|
|
141
|
+
* BinaryValue: "BLOB_VALUE",
|
|
142
|
+
* BooleanValue: true || false,
|
|
143
|
+
* NumberValue: "STRING_VALUE",
|
|
144
|
+
* DatetimeValue: new Date("TIMESTAMP"),
|
|
145
|
+
* },
|
|
146
|
+
* EndMode: "FIRST" || "LAST" || "LAST_BEFORE_MISSING_VALUES" || "INCLUSIVE" || "EXCLUSIVE", // required
|
|
147
|
+
* EndValue: {// Union: only one key present
|
|
148
|
+
* StringValue: "STRING_VALUE",
|
|
149
|
+
* BinaryValue: "BLOB_VALUE",
|
|
150
|
+
* BooleanValue: true || false,
|
|
151
|
+
* NumberValue: "STRING_VALUE",
|
|
152
|
+
* DatetimeValue: new Date("TIMESTAMP"),
|
|
153
|
+
* },
|
|
154
|
+
* },
|
|
155
|
+
* },
|
|
156
|
+
* ],
|
|
157
|
+
* FilterTypedLink: { // TypedLinkSchemaAndFacetName
|
|
158
|
+
* SchemaArn: "STRING_VALUE", // required
|
|
159
|
+
* TypedLinkName: "STRING_VALUE", // required
|
|
160
|
+
* },
|
|
161
|
+
* NextToken: "STRING_VALUE",
|
|
162
|
+
* MaxResults: Number("int"),
|
|
163
|
+
* },
|
|
164
|
+
* ListIncomingTypedLinks: { // BatchListIncomingTypedLinks
|
|
165
|
+
* ObjectReference: "<ObjectReference>", // required
|
|
166
|
+
* FilterAttributeRanges: [
|
|
167
|
+
* {
|
|
168
|
+
* AttributeName: "STRING_VALUE",
|
|
169
|
+
* Range: {
|
|
170
|
+
* StartMode: "FIRST" || "LAST" || "LAST_BEFORE_MISSING_VALUES" || "INCLUSIVE" || "EXCLUSIVE", // required
|
|
171
|
+
* StartValue: {// Union: only one key present
|
|
172
|
+
* StringValue: "STRING_VALUE",
|
|
173
|
+
* BinaryValue: "BLOB_VALUE",
|
|
174
|
+
* BooleanValue: true || false,
|
|
175
|
+
* NumberValue: "STRING_VALUE",
|
|
176
|
+
* DatetimeValue: new Date("TIMESTAMP"),
|
|
177
|
+
* },
|
|
178
|
+
* EndMode: "FIRST" || "LAST" || "LAST_BEFORE_MISSING_VALUES" || "INCLUSIVE" || "EXCLUSIVE", // required
|
|
179
|
+
* EndValue: "<TypedAttributeValue>",
|
|
180
|
+
* },
|
|
181
|
+
* },
|
|
182
|
+
* ],
|
|
183
|
+
* FilterTypedLink: {
|
|
184
|
+
* SchemaArn: "STRING_VALUE", // required
|
|
185
|
+
* TypedLinkName: "STRING_VALUE", // required
|
|
186
|
+
* },
|
|
187
|
+
* NextToken: "STRING_VALUE",
|
|
188
|
+
* MaxResults: Number("int"),
|
|
189
|
+
* },
|
|
190
|
+
* GetLinkAttributes: { // BatchGetLinkAttributes
|
|
191
|
+
* TypedLinkSpecifier: { // TypedLinkSpecifier
|
|
192
|
+
* TypedLinkFacet: {
|
|
193
|
+
* SchemaArn: "STRING_VALUE", // required
|
|
194
|
+
* TypedLinkName: "STRING_VALUE", // required
|
|
195
|
+
* },
|
|
196
|
+
* SourceObjectReference: "<ObjectReference>", // required
|
|
197
|
+
* TargetObjectReference: "<ObjectReference>", // required
|
|
198
|
+
* IdentityAttributeValues: [ // AttributeNameAndValueList // required
|
|
199
|
+
* { // AttributeNameAndValue
|
|
200
|
+
* AttributeName: "STRING_VALUE", // required
|
|
201
|
+
* Value: "<TypedAttributeValue>", // required
|
|
202
|
+
* },
|
|
203
|
+
* ],
|
|
204
|
+
* },
|
|
205
|
+
* AttributeNames: [ // required
|
|
206
|
+
* "STRING_VALUE",
|
|
207
|
+
* ],
|
|
208
|
+
* },
|
|
209
|
+
* },
|
|
210
|
+
* ],
|
|
211
|
+
* ConsistencyLevel: "SERIALIZABLE" || "EVENTUAL",
|
|
212
|
+
* };
|
|
29
213
|
* const command = new BatchReadCommand(input);
|
|
30
214
|
* const response = await client.send(command);
|
|
31
215
|
* ```
|
|
@@ -27,6 +27,215 @@ export interface BatchWriteCommandOutput extends BatchWriteResponse, __MetadataB
|
|
|
27
27
|
* import { CloudDirectoryClient, BatchWriteCommand } from "@aws-sdk/client-clouddirectory"; // ES Modules import
|
|
28
28
|
* // const { CloudDirectoryClient, BatchWriteCommand } = require("@aws-sdk/client-clouddirectory"); // CommonJS import
|
|
29
29
|
* const client = new CloudDirectoryClient(config);
|
|
30
|
+
* const input = { // BatchWriteRequest
|
|
31
|
+
* DirectoryArn: "STRING_VALUE", // required
|
|
32
|
+
* Operations: [ // BatchWriteOperationList // required
|
|
33
|
+
* { // BatchWriteOperation
|
|
34
|
+
* CreateObject: { // BatchCreateObject
|
|
35
|
+
* SchemaFacet: [ // SchemaFacetList // required
|
|
36
|
+
* { // SchemaFacet
|
|
37
|
+
* SchemaArn: "STRING_VALUE",
|
|
38
|
+
* FacetName: "STRING_VALUE",
|
|
39
|
+
* },
|
|
40
|
+
* ],
|
|
41
|
+
* ObjectAttributeList: [ // AttributeKeyAndValueList // required
|
|
42
|
+
* { // AttributeKeyAndValue
|
|
43
|
+
* Key: { // AttributeKey
|
|
44
|
+
* SchemaArn: "STRING_VALUE", // required
|
|
45
|
+
* FacetName: "STRING_VALUE", // required
|
|
46
|
+
* Name: "STRING_VALUE", // required
|
|
47
|
+
* },
|
|
48
|
+
* Value: { // TypedAttributeValue Union: only one key present
|
|
49
|
+
* StringValue: "STRING_VALUE",
|
|
50
|
+
* BinaryValue: "BLOB_VALUE",
|
|
51
|
+
* BooleanValue: true || false,
|
|
52
|
+
* NumberValue: "STRING_VALUE",
|
|
53
|
+
* DatetimeValue: new Date("TIMESTAMP"),
|
|
54
|
+
* },
|
|
55
|
+
* },
|
|
56
|
+
* ],
|
|
57
|
+
* ParentReference: { // ObjectReference
|
|
58
|
+
* Selector: "STRING_VALUE",
|
|
59
|
+
* },
|
|
60
|
+
* LinkName: "STRING_VALUE",
|
|
61
|
+
* BatchReferenceName: "STRING_VALUE",
|
|
62
|
+
* },
|
|
63
|
+
* AttachObject: { // BatchAttachObject
|
|
64
|
+
* ParentReference: {
|
|
65
|
+
* Selector: "STRING_VALUE",
|
|
66
|
+
* },
|
|
67
|
+
* ChildReference: {
|
|
68
|
+
* Selector: "STRING_VALUE",
|
|
69
|
+
* },
|
|
70
|
+
* LinkName: "STRING_VALUE", // required
|
|
71
|
+
* },
|
|
72
|
+
* DetachObject: { // BatchDetachObject
|
|
73
|
+
* ParentReference: {
|
|
74
|
+
* Selector: "STRING_VALUE",
|
|
75
|
+
* },
|
|
76
|
+
* LinkName: "STRING_VALUE", // required
|
|
77
|
+
* BatchReferenceName: "STRING_VALUE",
|
|
78
|
+
* },
|
|
79
|
+
* UpdateObjectAttributes: { // BatchUpdateObjectAttributes
|
|
80
|
+
* ObjectReference: {
|
|
81
|
+
* Selector: "STRING_VALUE",
|
|
82
|
+
* },
|
|
83
|
+
* AttributeUpdates: [ // ObjectAttributeUpdateList // required
|
|
84
|
+
* { // ObjectAttributeUpdate
|
|
85
|
+
* ObjectAttributeKey: {
|
|
86
|
+
* SchemaArn: "STRING_VALUE", // required
|
|
87
|
+
* FacetName: "STRING_VALUE", // required
|
|
88
|
+
* Name: "STRING_VALUE", // required
|
|
89
|
+
* },
|
|
90
|
+
* ObjectAttributeAction: { // ObjectAttributeAction
|
|
91
|
+
* ObjectAttributeActionType: "CREATE_OR_UPDATE" || "DELETE",
|
|
92
|
+
* ObjectAttributeUpdateValue: {// Union: only one key present
|
|
93
|
+
* StringValue: "STRING_VALUE",
|
|
94
|
+
* BinaryValue: "BLOB_VALUE",
|
|
95
|
+
* BooleanValue: true || false,
|
|
96
|
+
* NumberValue: "STRING_VALUE",
|
|
97
|
+
* DatetimeValue: new Date("TIMESTAMP"),
|
|
98
|
+
* },
|
|
99
|
+
* },
|
|
100
|
+
* },
|
|
101
|
+
* ],
|
|
102
|
+
* },
|
|
103
|
+
* DeleteObject: { // BatchDeleteObject
|
|
104
|
+
* ObjectReference: "<ObjectReference>", // required
|
|
105
|
+
* },
|
|
106
|
+
* AddFacetToObject: { // BatchAddFacetToObject
|
|
107
|
+
* SchemaFacet: {
|
|
108
|
+
* SchemaArn: "STRING_VALUE",
|
|
109
|
+
* FacetName: "STRING_VALUE",
|
|
110
|
+
* },
|
|
111
|
+
* ObjectAttributeList: [ // required
|
|
112
|
+
* {
|
|
113
|
+
* Key: {
|
|
114
|
+
* SchemaArn: "STRING_VALUE", // required
|
|
115
|
+
* FacetName: "STRING_VALUE", // required
|
|
116
|
+
* Name: "STRING_VALUE", // required
|
|
117
|
+
* },
|
|
118
|
+
* Value: {// Union: only one key present
|
|
119
|
+
* StringValue: "STRING_VALUE",
|
|
120
|
+
* BinaryValue: "BLOB_VALUE",
|
|
121
|
+
* BooleanValue: true || false,
|
|
122
|
+
* NumberValue: "STRING_VALUE",
|
|
123
|
+
* DatetimeValue: new Date("TIMESTAMP"),
|
|
124
|
+
* },
|
|
125
|
+
* },
|
|
126
|
+
* ],
|
|
127
|
+
* ObjectReference: "<ObjectReference>", // required
|
|
128
|
+
* },
|
|
129
|
+
* RemoveFacetFromObject: { // BatchRemoveFacetFromObject
|
|
130
|
+
* SchemaFacet: {
|
|
131
|
+
* SchemaArn: "STRING_VALUE",
|
|
132
|
+
* FacetName: "STRING_VALUE",
|
|
133
|
+
* },
|
|
134
|
+
* ObjectReference: "<ObjectReference>", // required
|
|
135
|
+
* },
|
|
136
|
+
* AttachPolicy: { // BatchAttachPolicy
|
|
137
|
+
* PolicyReference: "<ObjectReference>", // required
|
|
138
|
+
* ObjectReference: "<ObjectReference>", // required
|
|
139
|
+
* },
|
|
140
|
+
* DetachPolicy: { // BatchDetachPolicy
|
|
141
|
+
* PolicyReference: "<ObjectReference>", // required
|
|
142
|
+
* ObjectReference: "<ObjectReference>", // required
|
|
143
|
+
* },
|
|
144
|
+
* CreateIndex: { // BatchCreateIndex
|
|
145
|
+
* OrderedIndexedAttributeList: [ // AttributeKeyList // required
|
|
146
|
+
* {
|
|
147
|
+
* SchemaArn: "STRING_VALUE", // required
|
|
148
|
+
* FacetName: "STRING_VALUE", // required
|
|
149
|
+
* Name: "STRING_VALUE", // required
|
|
150
|
+
* },
|
|
151
|
+
* ],
|
|
152
|
+
* IsUnique: true || false, // required
|
|
153
|
+
* ParentReference: "<ObjectReference>",
|
|
154
|
+
* LinkName: "STRING_VALUE",
|
|
155
|
+
* BatchReferenceName: "STRING_VALUE",
|
|
156
|
+
* },
|
|
157
|
+
* AttachToIndex: { // BatchAttachToIndex
|
|
158
|
+
* IndexReference: "<ObjectReference>", // required
|
|
159
|
+
* TargetReference: "<ObjectReference>", // required
|
|
160
|
+
* },
|
|
161
|
+
* DetachFromIndex: { // BatchDetachFromIndex
|
|
162
|
+
* IndexReference: "<ObjectReference>", // required
|
|
163
|
+
* TargetReference: "<ObjectReference>", // required
|
|
164
|
+
* },
|
|
165
|
+
* AttachTypedLink: { // BatchAttachTypedLink
|
|
166
|
+
* SourceObjectReference: "<ObjectReference>", // required
|
|
167
|
+
* TargetObjectReference: "<ObjectReference>", // required
|
|
168
|
+
* TypedLinkFacet: { // TypedLinkSchemaAndFacetName
|
|
169
|
+
* SchemaArn: "STRING_VALUE", // required
|
|
170
|
+
* TypedLinkName: "STRING_VALUE", // required
|
|
171
|
+
* },
|
|
172
|
+
* Attributes: [ // AttributeNameAndValueList // required
|
|
173
|
+
* { // AttributeNameAndValue
|
|
174
|
+
* AttributeName: "STRING_VALUE", // required
|
|
175
|
+
* Value: {// Union: only one key present
|
|
176
|
+
* StringValue: "STRING_VALUE",
|
|
177
|
+
* BinaryValue: "BLOB_VALUE",
|
|
178
|
+
* BooleanValue: true || false,
|
|
179
|
+
* NumberValue: "STRING_VALUE",
|
|
180
|
+
* DatetimeValue: new Date("TIMESTAMP"),
|
|
181
|
+
* },
|
|
182
|
+
* },
|
|
183
|
+
* ],
|
|
184
|
+
* },
|
|
185
|
+
* DetachTypedLink: { // BatchDetachTypedLink
|
|
186
|
+
* TypedLinkSpecifier: { // TypedLinkSpecifier
|
|
187
|
+
* TypedLinkFacet: {
|
|
188
|
+
* SchemaArn: "STRING_VALUE", // required
|
|
189
|
+
* TypedLinkName: "STRING_VALUE", // required
|
|
190
|
+
* },
|
|
191
|
+
* SourceObjectReference: "<ObjectReference>", // required
|
|
192
|
+
* TargetObjectReference: "<ObjectReference>", // required
|
|
193
|
+
* IdentityAttributeValues: [ // required
|
|
194
|
+
* {
|
|
195
|
+
* AttributeName: "STRING_VALUE", // required
|
|
196
|
+
* Value: {// Union: only one key present
|
|
197
|
+
* StringValue: "STRING_VALUE",
|
|
198
|
+
* BinaryValue: "BLOB_VALUE",
|
|
199
|
+
* BooleanValue: true || false,
|
|
200
|
+
* NumberValue: "STRING_VALUE",
|
|
201
|
+
* DatetimeValue: new Date("TIMESTAMP"),
|
|
202
|
+
* },
|
|
203
|
+
* },
|
|
204
|
+
* ],
|
|
205
|
+
* },
|
|
206
|
+
* },
|
|
207
|
+
* UpdateLinkAttributes: { // BatchUpdateLinkAttributes
|
|
208
|
+
* TypedLinkSpecifier: {
|
|
209
|
+
* TypedLinkFacet: {
|
|
210
|
+
* SchemaArn: "STRING_VALUE", // required
|
|
211
|
+
* TypedLinkName: "STRING_VALUE", // required
|
|
212
|
+
* },
|
|
213
|
+
* SourceObjectReference: "<ObjectReference>", // required
|
|
214
|
+
* TargetObjectReference: "<ObjectReference>", // required
|
|
215
|
+
* IdentityAttributeValues: [ // required
|
|
216
|
+
* {
|
|
217
|
+
* AttributeName: "STRING_VALUE", // required
|
|
218
|
+
* Value: "<TypedAttributeValue>", // required
|
|
219
|
+
* },
|
|
220
|
+
* ],
|
|
221
|
+
* },
|
|
222
|
+
* AttributeUpdates: [ // LinkAttributeUpdateList // required
|
|
223
|
+
* { // LinkAttributeUpdate
|
|
224
|
+
* AttributeKey: {
|
|
225
|
+
* SchemaArn: "STRING_VALUE", // required
|
|
226
|
+
* FacetName: "STRING_VALUE", // required
|
|
227
|
+
* Name: "STRING_VALUE", // required
|
|
228
|
+
* },
|
|
229
|
+
* AttributeAction: { // LinkAttributeAction
|
|
230
|
+
* AttributeActionType: "CREATE_OR_UPDATE" || "DELETE",
|
|
231
|
+
* AttributeUpdateValue: "<TypedAttributeValue>",
|
|
232
|
+
* },
|
|
233
|
+
* },
|
|
234
|
+
* ],
|
|
235
|
+
* },
|
|
236
|
+
* },
|
|
237
|
+
* ],
|
|
238
|
+
* };
|
|
30
239
|
* const command = new BatchWriteCommand(input);
|
|
31
240
|
* const response = await client.send(command);
|
|
32
241
|
* ```
|
|
@@ -29,6 +29,10 @@ export interface CreateDirectoryCommandOutput extends CreateDirectoryResponse, _
|
|
|
29
29
|
* import { CloudDirectoryClient, CreateDirectoryCommand } from "@aws-sdk/client-clouddirectory"; // ES Modules import
|
|
30
30
|
* // const { CloudDirectoryClient, CreateDirectoryCommand } = require("@aws-sdk/client-clouddirectory"); // CommonJS import
|
|
31
31
|
* const client = new CloudDirectoryClient(config);
|
|
32
|
+
* const input = { // CreateDirectoryRequest
|
|
33
|
+
* Name: "STRING_VALUE", // required
|
|
34
|
+
* SchemaArn: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
32
36
|
* const command = new CreateDirectoryCommand(input);
|
|
33
37
|
* const response = await client.send(command);
|
|
34
38
|
* ```
|
|
@@ -27,6 +27,41 @@ export interface CreateFacetCommandOutput extends CreateFacetResponse, __Metadat
|
|
|
27
27
|
* import { CloudDirectoryClient, CreateFacetCommand } from "@aws-sdk/client-clouddirectory"; // ES Modules import
|
|
28
28
|
* // const { CloudDirectoryClient, CreateFacetCommand } = require("@aws-sdk/client-clouddirectory"); // CommonJS import
|
|
29
29
|
* const client = new CloudDirectoryClient(config);
|
|
30
|
+
* const input = { // CreateFacetRequest
|
|
31
|
+
* SchemaArn: "STRING_VALUE", // required
|
|
32
|
+
* Name: "STRING_VALUE", // required
|
|
33
|
+
* Attributes: [ // FacetAttributeList
|
|
34
|
+
* { // FacetAttribute
|
|
35
|
+
* Name: "STRING_VALUE", // required
|
|
36
|
+
* AttributeDefinition: { // FacetAttributeDefinition
|
|
37
|
+
* Type: "STRING" || "BINARY" || "BOOLEAN" || "NUMBER" || "DATETIME" || "VARIANT", // required
|
|
38
|
+
* DefaultValue: { // TypedAttributeValue Union: only one key present
|
|
39
|
+
* StringValue: "STRING_VALUE",
|
|
40
|
+
* BinaryValue: "BLOB_VALUE",
|
|
41
|
+
* BooleanValue: true || false,
|
|
42
|
+
* NumberValue: "STRING_VALUE",
|
|
43
|
+
* DatetimeValue: new Date("TIMESTAMP"),
|
|
44
|
+
* },
|
|
45
|
+
* IsImmutable: true || false,
|
|
46
|
+
* Rules: { // RuleMap
|
|
47
|
+
* "<keys>": { // Rule
|
|
48
|
+
* Type: "BINARY_LENGTH" || "NUMBER_COMPARISON" || "STRING_FROM_SET" || "STRING_LENGTH",
|
|
49
|
+
* Parameters: { // RuleParameterMap
|
|
50
|
+
* "<keys>": "STRING_VALUE",
|
|
51
|
+
* },
|
|
52
|
+
* },
|
|
53
|
+
* },
|
|
54
|
+
* },
|
|
55
|
+
* AttributeReference: { // FacetAttributeReference
|
|
56
|
+
* TargetFacetName: "STRING_VALUE", // required
|
|
57
|
+
* TargetAttributeName: "STRING_VALUE", // required
|
|
58
|
+
* },
|
|
59
|
+
* RequiredBehavior: "REQUIRED_ALWAYS" || "NOT_REQUIRED",
|
|
60
|
+
* },
|
|
61
|
+
* ],
|
|
62
|
+
* ObjectType: "NODE" || "LEAF_NODE" || "POLICY" || "INDEX",
|
|
63
|
+
* FacetStyle: "STATIC" || "DYNAMIC",
|
|
64
|
+
* };
|
|
30
65
|
* const command = new CreateFacetCommand(input);
|
|
31
66
|
* const response = await client.send(command);
|
|
32
67
|
* ```
|
|
@@ -26,6 +26,21 @@ export interface CreateIndexCommandOutput extends CreateIndexResponse, __Metadat
|
|
|
26
26
|
* import { CloudDirectoryClient, CreateIndexCommand } from "@aws-sdk/client-clouddirectory"; // ES Modules import
|
|
27
27
|
* // const { CloudDirectoryClient, CreateIndexCommand } = require("@aws-sdk/client-clouddirectory"); // CommonJS import
|
|
28
28
|
* const client = new CloudDirectoryClient(config);
|
|
29
|
+
* const input = { // CreateIndexRequest
|
|
30
|
+
* DirectoryArn: "STRING_VALUE", // required
|
|
31
|
+
* OrderedIndexedAttributeList: [ // AttributeKeyList // required
|
|
32
|
+
* { // AttributeKey
|
|
33
|
+
* SchemaArn: "STRING_VALUE", // required
|
|
34
|
+
* FacetName: "STRING_VALUE", // required
|
|
35
|
+
* Name: "STRING_VALUE", // required
|
|
36
|
+
* },
|
|
37
|
+
* ],
|
|
38
|
+
* IsUnique: true || false, // required
|
|
39
|
+
* ParentReference: { // ObjectReference
|
|
40
|
+
* Selector: "STRING_VALUE",
|
|
41
|
+
* },
|
|
42
|
+
* LinkName: "STRING_VALUE",
|
|
43
|
+
* };
|
|
29
44
|
* const command = new CreateIndexCommand(input);
|
|
30
45
|
* const response = await client.send(command);
|
|
31
46
|
* ```
|
|
@@ -29,6 +29,35 @@ export interface CreateObjectCommandOutput extends CreateObjectResponse, __Metad
|
|
|
29
29
|
* import { CloudDirectoryClient, CreateObjectCommand } from "@aws-sdk/client-clouddirectory"; // ES Modules import
|
|
30
30
|
* // const { CloudDirectoryClient, CreateObjectCommand } = require("@aws-sdk/client-clouddirectory"); // CommonJS import
|
|
31
31
|
* const client = new CloudDirectoryClient(config);
|
|
32
|
+
* const input = { // CreateObjectRequest
|
|
33
|
+
* DirectoryArn: "STRING_VALUE", // required
|
|
34
|
+
* SchemaFacets: [ // SchemaFacetList // required
|
|
35
|
+
* { // SchemaFacet
|
|
36
|
+
* SchemaArn: "STRING_VALUE",
|
|
37
|
+
* FacetName: "STRING_VALUE",
|
|
38
|
+
* },
|
|
39
|
+
* ],
|
|
40
|
+
* ObjectAttributeList: [ // AttributeKeyAndValueList
|
|
41
|
+
* { // AttributeKeyAndValue
|
|
42
|
+
* Key: { // AttributeKey
|
|
43
|
+
* SchemaArn: "STRING_VALUE", // required
|
|
44
|
+
* FacetName: "STRING_VALUE", // required
|
|
45
|
+
* Name: "STRING_VALUE", // required
|
|
46
|
+
* },
|
|
47
|
+
* Value: { // TypedAttributeValue Union: only one key present
|
|
48
|
+
* StringValue: "STRING_VALUE",
|
|
49
|
+
* BinaryValue: "BLOB_VALUE",
|
|
50
|
+
* BooleanValue: true || false,
|
|
51
|
+
* NumberValue: "STRING_VALUE",
|
|
52
|
+
* DatetimeValue: new Date("TIMESTAMP"),
|
|
53
|
+
* },
|
|
54
|
+
* },
|
|
55
|
+
* ],
|
|
56
|
+
* ParentReference: { // ObjectReference
|
|
57
|
+
* Selector: "STRING_VALUE",
|
|
58
|
+
* },
|
|
59
|
+
* LinkName: "STRING_VALUE",
|
|
60
|
+
* };
|
|
32
61
|
* const command = new CreateObjectCommand(input);
|
|
33
62
|
* const response = await client.send(command);
|
|
34
63
|
* ```
|
|
@@ -46,6 +46,9 @@ export interface CreateSchemaCommandOutput extends CreateSchemaResponse, __Metad
|
|
|
46
46
|
* import { CloudDirectoryClient, CreateSchemaCommand } from "@aws-sdk/client-clouddirectory"; // ES Modules import
|
|
47
47
|
* // const { CloudDirectoryClient, CreateSchemaCommand } = require("@aws-sdk/client-clouddirectory"); // CommonJS import
|
|
48
48
|
* const client = new CloudDirectoryClient(config);
|
|
49
|
+
* const input = { // CreateSchemaRequest
|
|
50
|
+
* Name: "STRING_VALUE", // required
|
|
51
|
+
* };
|
|
49
52
|
* const command = new CreateSchemaCommand(input);
|
|
50
53
|
* const response = await client.send(command);
|
|
51
54
|
* ```
|