@aws-sdk/client-clouddirectory 3.298.0 → 3.300.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 +216 -0
- package/dist-types/commands/BatchWriteCommand.d.ts +257 -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 +12 -12
|
@@ -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 = {
|
|
30
|
+
* DirectoryArn: "STRING_VALUE", // required
|
|
31
|
+
* SchemaFacet: {
|
|
32
|
+
* SchemaArn: "STRING_VALUE",
|
|
33
|
+
* FacetName: "STRING_VALUE",
|
|
34
|
+
* },
|
|
35
|
+
* ObjectAttributeList: [
|
|
36
|
+
* {
|
|
37
|
+
* Key: {
|
|
38
|
+
* SchemaArn: "STRING_VALUE", // required
|
|
39
|
+
* FacetName: "STRING_VALUE", // required
|
|
40
|
+
* Name: "STRING_VALUE", // required
|
|
41
|
+
* },
|
|
42
|
+
* Value: { // 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: {
|
|
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 = {
|
|
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 = {
|
|
40
|
+
* DirectoryArn: "STRING_VALUE", // required
|
|
41
|
+
* ParentReference: {
|
|
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 = {
|
|
31
|
+
* DirectoryArn: "STRING_VALUE", // required
|
|
32
|
+
* PolicyReference: {
|
|
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 = {
|
|
30
|
+
* DirectoryArn: "STRING_VALUE", // required
|
|
31
|
+
* IndexReference: {
|
|
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 = {
|
|
30
|
+
* DirectoryArn: "STRING_VALUE", // required
|
|
31
|
+
* SourceObjectReference: {
|
|
32
|
+
* Selector: "STRING_VALUE",
|
|
33
|
+
* },
|
|
34
|
+
* TargetObjectReference: {
|
|
35
|
+
* Selector: "STRING_VALUE",
|
|
36
|
+
* },
|
|
37
|
+
* TypedLinkFacet: {
|
|
38
|
+
* SchemaArn: "STRING_VALUE", // required
|
|
39
|
+
* TypedLinkName: "STRING_VALUE", // required
|
|
40
|
+
* },
|
|
41
|
+
* Attributes: [ // required
|
|
42
|
+
* {
|
|
43
|
+
* AttributeName: "STRING_VALUE", // required
|
|
44
|
+
* Value: { // 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,222 @@ 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 = {
|
|
30
|
+
* DirectoryArn: "STRING_VALUE", // required
|
|
31
|
+
* Operations: [ // required
|
|
32
|
+
* {
|
|
33
|
+
* ListObjectAttributes: {
|
|
34
|
+
* ObjectReference: {
|
|
35
|
+
* Selector: "STRING_VALUE",
|
|
36
|
+
* },
|
|
37
|
+
* NextToken: "STRING_VALUE",
|
|
38
|
+
* MaxResults: Number("int"),
|
|
39
|
+
* FacetFilter: {
|
|
40
|
+
* SchemaArn: "STRING_VALUE",
|
|
41
|
+
* FacetName: "STRING_VALUE",
|
|
42
|
+
* },
|
|
43
|
+
* },
|
|
44
|
+
* ListObjectChildren: {
|
|
45
|
+
* ObjectReference: {
|
|
46
|
+
* Selector: "STRING_VALUE",
|
|
47
|
+
* },
|
|
48
|
+
* NextToken: "STRING_VALUE",
|
|
49
|
+
* MaxResults: Number("int"),
|
|
50
|
+
* },
|
|
51
|
+
* ListAttachedIndices: {
|
|
52
|
+
* TargetReference: {
|
|
53
|
+
* Selector: "STRING_VALUE",
|
|
54
|
+
* },
|
|
55
|
+
* NextToken: "STRING_VALUE",
|
|
56
|
+
* MaxResults: Number("int"),
|
|
57
|
+
* },
|
|
58
|
+
* ListObjectParentPaths: {
|
|
59
|
+
* ObjectReference: {
|
|
60
|
+
* Selector: "STRING_VALUE",
|
|
61
|
+
* },
|
|
62
|
+
* NextToken: "STRING_VALUE",
|
|
63
|
+
* MaxResults: Number("int"),
|
|
64
|
+
* },
|
|
65
|
+
* GetObjectInformation: {
|
|
66
|
+
* ObjectReference: {
|
|
67
|
+
* Selector: "STRING_VALUE",
|
|
68
|
+
* },
|
|
69
|
+
* },
|
|
70
|
+
* GetObjectAttributes: {
|
|
71
|
+
* ObjectReference: {
|
|
72
|
+
* Selector: "STRING_VALUE",
|
|
73
|
+
* },
|
|
74
|
+
* SchemaFacet: {
|
|
75
|
+
* SchemaArn: "STRING_VALUE",
|
|
76
|
+
* FacetName: "STRING_VALUE",
|
|
77
|
+
* },
|
|
78
|
+
* AttributeNames: [ // required
|
|
79
|
+
* "STRING_VALUE",
|
|
80
|
+
* ],
|
|
81
|
+
* },
|
|
82
|
+
* ListObjectParents: {
|
|
83
|
+
* ObjectReference: {
|
|
84
|
+
* Selector: "STRING_VALUE",
|
|
85
|
+
* },
|
|
86
|
+
* NextToken: "STRING_VALUE",
|
|
87
|
+
* MaxResults: Number("int"),
|
|
88
|
+
* },
|
|
89
|
+
* ListObjectPolicies: {
|
|
90
|
+
* ObjectReference: {
|
|
91
|
+
* Selector: "STRING_VALUE",
|
|
92
|
+
* },
|
|
93
|
+
* NextToken: "STRING_VALUE",
|
|
94
|
+
* MaxResults: Number("int"),
|
|
95
|
+
* },
|
|
96
|
+
* ListPolicyAttachments: {
|
|
97
|
+
* PolicyReference: {
|
|
98
|
+
* Selector: "STRING_VALUE",
|
|
99
|
+
* },
|
|
100
|
+
* NextToken: "STRING_VALUE",
|
|
101
|
+
* MaxResults: Number("int"),
|
|
102
|
+
* },
|
|
103
|
+
* LookupPolicy: {
|
|
104
|
+
* ObjectReference: {
|
|
105
|
+
* Selector: "STRING_VALUE",
|
|
106
|
+
* },
|
|
107
|
+
* NextToken: "STRING_VALUE",
|
|
108
|
+
* MaxResults: Number("int"),
|
|
109
|
+
* },
|
|
110
|
+
* ListIndex: {
|
|
111
|
+
* RangesOnIndexedValues: [
|
|
112
|
+
* {
|
|
113
|
+
* AttributeKey: {
|
|
114
|
+
* SchemaArn: "STRING_VALUE", // required
|
|
115
|
+
* FacetName: "STRING_VALUE", // required
|
|
116
|
+
* Name: "STRING_VALUE", // required
|
|
117
|
+
* },
|
|
118
|
+
* Range: {
|
|
119
|
+
* StartMode: "FIRST" || "LAST" || "LAST_BEFORE_MISSING_VALUES" || "INCLUSIVE" || "EXCLUSIVE", // required
|
|
120
|
+
* StartValue: { // Union: only one key present
|
|
121
|
+
* StringValue: "STRING_VALUE",
|
|
122
|
+
* BinaryValue: "BLOB_VALUE",
|
|
123
|
+
* BooleanValue: true || false,
|
|
124
|
+
* NumberValue: "STRING_VALUE",
|
|
125
|
+
* DatetimeValue: new Date("TIMESTAMP"),
|
|
126
|
+
* },
|
|
127
|
+
* EndMode: "FIRST" || "LAST" || "LAST_BEFORE_MISSING_VALUES" || "INCLUSIVE" || "EXCLUSIVE", // required
|
|
128
|
+
* EndValue: { // Union: only one key present
|
|
129
|
+
* StringValue: "STRING_VALUE",
|
|
130
|
+
* BinaryValue: "BLOB_VALUE",
|
|
131
|
+
* BooleanValue: true || false,
|
|
132
|
+
* NumberValue: "STRING_VALUE",
|
|
133
|
+
* DatetimeValue: new Date("TIMESTAMP"),
|
|
134
|
+
* },
|
|
135
|
+
* },
|
|
136
|
+
* },
|
|
137
|
+
* ],
|
|
138
|
+
* IndexReference: {
|
|
139
|
+
* Selector: "STRING_VALUE",
|
|
140
|
+
* },
|
|
141
|
+
* MaxResults: Number("int"),
|
|
142
|
+
* NextToken: "STRING_VALUE",
|
|
143
|
+
* },
|
|
144
|
+
* ListOutgoingTypedLinks: {
|
|
145
|
+
* ObjectReference: {
|
|
146
|
+
* Selector: "STRING_VALUE",
|
|
147
|
+
* },
|
|
148
|
+
* FilterAttributeRanges: [
|
|
149
|
+
* {
|
|
150
|
+
* AttributeName: "STRING_VALUE",
|
|
151
|
+
* Range: {
|
|
152
|
+
* StartMode: "FIRST" || "LAST" || "LAST_BEFORE_MISSING_VALUES" || "INCLUSIVE" || "EXCLUSIVE", // required
|
|
153
|
+
* StartValue: { // Union: only one key present
|
|
154
|
+
* StringValue: "STRING_VALUE",
|
|
155
|
+
* BinaryValue: "BLOB_VALUE",
|
|
156
|
+
* BooleanValue: true || false,
|
|
157
|
+
* NumberValue: "STRING_VALUE",
|
|
158
|
+
* DatetimeValue: new Date("TIMESTAMP"),
|
|
159
|
+
* },
|
|
160
|
+
* EndMode: "FIRST" || "LAST" || "LAST_BEFORE_MISSING_VALUES" || "INCLUSIVE" || "EXCLUSIVE", // required
|
|
161
|
+
* EndValue: { // Union: only one key present
|
|
162
|
+
* StringValue: "STRING_VALUE",
|
|
163
|
+
* BinaryValue: "BLOB_VALUE",
|
|
164
|
+
* BooleanValue: true || false,
|
|
165
|
+
* NumberValue: "STRING_VALUE",
|
|
166
|
+
* DatetimeValue: new Date("TIMESTAMP"),
|
|
167
|
+
* },
|
|
168
|
+
* },
|
|
169
|
+
* },
|
|
170
|
+
* ],
|
|
171
|
+
* FilterTypedLink: {
|
|
172
|
+
* SchemaArn: "STRING_VALUE", // required
|
|
173
|
+
* TypedLinkName: "STRING_VALUE", // required
|
|
174
|
+
* },
|
|
175
|
+
* NextToken: "STRING_VALUE",
|
|
176
|
+
* MaxResults: Number("int"),
|
|
177
|
+
* },
|
|
178
|
+
* ListIncomingTypedLinks: {
|
|
179
|
+
* ObjectReference: {
|
|
180
|
+
* Selector: "STRING_VALUE",
|
|
181
|
+
* },
|
|
182
|
+
* FilterAttributeRanges: [
|
|
183
|
+
* {
|
|
184
|
+
* AttributeName: "STRING_VALUE",
|
|
185
|
+
* Range: {
|
|
186
|
+
* StartMode: "FIRST" || "LAST" || "LAST_BEFORE_MISSING_VALUES" || "INCLUSIVE" || "EXCLUSIVE", // required
|
|
187
|
+
* StartValue: { // Union: only one key present
|
|
188
|
+
* StringValue: "STRING_VALUE",
|
|
189
|
+
* BinaryValue: "BLOB_VALUE",
|
|
190
|
+
* BooleanValue: true || false,
|
|
191
|
+
* NumberValue: "STRING_VALUE",
|
|
192
|
+
* DatetimeValue: new Date("TIMESTAMP"),
|
|
193
|
+
* },
|
|
194
|
+
* EndMode: "FIRST" || "LAST" || "LAST_BEFORE_MISSING_VALUES" || "INCLUSIVE" || "EXCLUSIVE", // required
|
|
195
|
+
* EndValue: { // Union: only one key present
|
|
196
|
+
* StringValue: "STRING_VALUE",
|
|
197
|
+
* BinaryValue: "BLOB_VALUE",
|
|
198
|
+
* BooleanValue: true || false,
|
|
199
|
+
* NumberValue: "STRING_VALUE",
|
|
200
|
+
* DatetimeValue: new Date("TIMESTAMP"),
|
|
201
|
+
* },
|
|
202
|
+
* },
|
|
203
|
+
* },
|
|
204
|
+
* ],
|
|
205
|
+
* FilterTypedLink: {
|
|
206
|
+
* SchemaArn: "STRING_VALUE", // required
|
|
207
|
+
* TypedLinkName: "STRING_VALUE", // required
|
|
208
|
+
* },
|
|
209
|
+
* NextToken: "STRING_VALUE",
|
|
210
|
+
* MaxResults: Number("int"),
|
|
211
|
+
* },
|
|
212
|
+
* GetLinkAttributes: {
|
|
213
|
+
* TypedLinkSpecifier: {
|
|
214
|
+
* TypedLinkFacet: {
|
|
215
|
+
* SchemaArn: "STRING_VALUE", // required
|
|
216
|
+
* TypedLinkName: "STRING_VALUE", // required
|
|
217
|
+
* },
|
|
218
|
+
* SourceObjectReference: {
|
|
219
|
+
* Selector: "STRING_VALUE",
|
|
220
|
+
* },
|
|
221
|
+
* TargetObjectReference: {
|
|
222
|
+
* Selector: "STRING_VALUE",
|
|
223
|
+
* },
|
|
224
|
+
* IdentityAttributeValues: [ // required
|
|
225
|
+
* {
|
|
226
|
+
* AttributeName: "STRING_VALUE", // required
|
|
227
|
+
* Value: { // Union: only one key present
|
|
228
|
+
* StringValue: "STRING_VALUE",
|
|
229
|
+
* BinaryValue: "BLOB_VALUE",
|
|
230
|
+
* BooleanValue: true || false,
|
|
231
|
+
* NumberValue: "STRING_VALUE",
|
|
232
|
+
* DatetimeValue: new Date("TIMESTAMP"),
|
|
233
|
+
* },
|
|
234
|
+
* },
|
|
235
|
+
* ],
|
|
236
|
+
* },
|
|
237
|
+
* AttributeNames: [ // required
|
|
238
|
+
* "STRING_VALUE",
|
|
239
|
+
* ],
|
|
240
|
+
* },
|
|
241
|
+
* },
|
|
242
|
+
* ],
|
|
243
|
+
* ConsistencyLevel: "SERIALIZABLE" || "EVENTUAL",
|
|
244
|
+
* };
|
|
29
245
|
* const command = new BatchReadCommand(input);
|
|
30
246
|
* const response = await client.send(command);
|
|
31
247
|
* ```
|
|
@@ -27,6 +27,263 @@ 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 = {
|
|
31
|
+
* DirectoryArn: "STRING_VALUE", // required
|
|
32
|
+
* Operations: [ // required
|
|
33
|
+
* {
|
|
34
|
+
* CreateObject: {
|
|
35
|
+
* SchemaFacet: [ // required
|
|
36
|
+
* {
|
|
37
|
+
* SchemaArn: "STRING_VALUE",
|
|
38
|
+
* FacetName: "STRING_VALUE",
|
|
39
|
+
* },
|
|
40
|
+
* ],
|
|
41
|
+
* ObjectAttributeList: [ // required
|
|
42
|
+
* {
|
|
43
|
+
* Key: {
|
|
44
|
+
* SchemaArn: "STRING_VALUE", // required
|
|
45
|
+
* FacetName: "STRING_VALUE", // required
|
|
46
|
+
* Name: "STRING_VALUE", // required
|
|
47
|
+
* },
|
|
48
|
+
* Value: { // 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: {
|
|
58
|
+
* Selector: "STRING_VALUE",
|
|
59
|
+
* },
|
|
60
|
+
* LinkName: "STRING_VALUE",
|
|
61
|
+
* BatchReferenceName: "STRING_VALUE",
|
|
62
|
+
* },
|
|
63
|
+
* AttachObject: {
|
|
64
|
+
* ParentReference: {
|
|
65
|
+
* Selector: "STRING_VALUE",
|
|
66
|
+
* },
|
|
67
|
+
* ChildReference: {
|
|
68
|
+
* Selector: "STRING_VALUE",
|
|
69
|
+
* },
|
|
70
|
+
* LinkName: "STRING_VALUE", // required
|
|
71
|
+
* },
|
|
72
|
+
* DetachObject: {
|
|
73
|
+
* ParentReference: {
|
|
74
|
+
* Selector: "STRING_VALUE",
|
|
75
|
+
* },
|
|
76
|
+
* LinkName: "STRING_VALUE", // required
|
|
77
|
+
* BatchReferenceName: "STRING_VALUE",
|
|
78
|
+
* },
|
|
79
|
+
* UpdateObjectAttributes: {
|
|
80
|
+
* ObjectReference: {
|
|
81
|
+
* Selector: "STRING_VALUE",
|
|
82
|
+
* },
|
|
83
|
+
* AttributeUpdates: [ // required
|
|
84
|
+
* {
|
|
85
|
+
* ObjectAttributeKey: {
|
|
86
|
+
* SchemaArn: "STRING_VALUE", // required
|
|
87
|
+
* FacetName: "STRING_VALUE", // required
|
|
88
|
+
* Name: "STRING_VALUE", // required
|
|
89
|
+
* },
|
|
90
|
+
* 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: {
|
|
104
|
+
* ObjectReference: {
|
|
105
|
+
* Selector: "STRING_VALUE",
|
|
106
|
+
* },
|
|
107
|
+
* },
|
|
108
|
+
* AddFacetToObject: {
|
|
109
|
+
* SchemaFacet: {
|
|
110
|
+
* SchemaArn: "STRING_VALUE",
|
|
111
|
+
* FacetName: "STRING_VALUE",
|
|
112
|
+
* },
|
|
113
|
+
* ObjectAttributeList: [ // required
|
|
114
|
+
* {
|
|
115
|
+
* Key: {
|
|
116
|
+
* SchemaArn: "STRING_VALUE", // required
|
|
117
|
+
* FacetName: "STRING_VALUE", // required
|
|
118
|
+
* Name: "STRING_VALUE", // required
|
|
119
|
+
* },
|
|
120
|
+
* Value: { // Union: only one key present
|
|
121
|
+
* StringValue: "STRING_VALUE",
|
|
122
|
+
* BinaryValue: "BLOB_VALUE",
|
|
123
|
+
* BooleanValue: true || false,
|
|
124
|
+
* NumberValue: "STRING_VALUE",
|
|
125
|
+
* DatetimeValue: new Date("TIMESTAMP"),
|
|
126
|
+
* },
|
|
127
|
+
* },
|
|
128
|
+
* ],
|
|
129
|
+
* ObjectReference: {
|
|
130
|
+
* Selector: "STRING_VALUE",
|
|
131
|
+
* },
|
|
132
|
+
* },
|
|
133
|
+
* RemoveFacetFromObject: {
|
|
134
|
+
* SchemaFacet: {
|
|
135
|
+
* SchemaArn: "STRING_VALUE",
|
|
136
|
+
* FacetName: "STRING_VALUE",
|
|
137
|
+
* },
|
|
138
|
+
* ObjectReference: {
|
|
139
|
+
* Selector: "STRING_VALUE",
|
|
140
|
+
* },
|
|
141
|
+
* },
|
|
142
|
+
* AttachPolicy: {
|
|
143
|
+
* PolicyReference: {
|
|
144
|
+
* Selector: "STRING_VALUE",
|
|
145
|
+
* },
|
|
146
|
+
* ObjectReference: {
|
|
147
|
+
* Selector: "STRING_VALUE",
|
|
148
|
+
* },
|
|
149
|
+
* },
|
|
150
|
+
* DetachPolicy: {
|
|
151
|
+
* PolicyReference: {
|
|
152
|
+
* Selector: "STRING_VALUE",
|
|
153
|
+
* },
|
|
154
|
+
* ObjectReference: {
|
|
155
|
+
* Selector: "STRING_VALUE",
|
|
156
|
+
* },
|
|
157
|
+
* },
|
|
158
|
+
* CreateIndex: {
|
|
159
|
+
* OrderedIndexedAttributeList: [ // required
|
|
160
|
+
* {
|
|
161
|
+
* SchemaArn: "STRING_VALUE", // required
|
|
162
|
+
* FacetName: "STRING_VALUE", // required
|
|
163
|
+
* Name: "STRING_VALUE", // required
|
|
164
|
+
* },
|
|
165
|
+
* ],
|
|
166
|
+
* IsUnique: true || false, // required
|
|
167
|
+
* ParentReference: {
|
|
168
|
+
* Selector: "STRING_VALUE",
|
|
169
|
+
* },
|
|
170
|
+
* LinkName: "STRING_VALUE",
|
|
171
|
+
* BatchReferenceName: "STRING_VALUE",
|
|
172
|
+
* },
|
|
173
|
+
* AttachToIndex: {
|
|
174
|
+
* IndexReference: {
|
|
175
|
+
* Selector: "STRING_VALUE",
|
|
176
|
+
* },
|
|
177
|
+
* TargetReference: {
|
|
178
|
+
* Selector: "STRING_VALUE",
|
|
179
|
+
* },
|
|
180
|
+
* },
|
|
181
|
+
* DetachFromIndex: {
|
|
182
|
+
* IndexReference: {
|
|
183
|
+
* Selector: "STRING_VALUE",
|
|
184
|
+
* },
|
|
185
|
+
* TargetReference: {
|
|
186
|
+
* Selector: "STRING_VALUE",
|
|
187
|
+
* },
|
|
188
|
+
* },
|
|
189
|
+
* AttachTypedLink: {
|
|
190
|
+
* SourceObjectReference: {
|
|
191
|
+
* Selector: "STRING_VALUE",
|
|
192
|
+
* },
|
|
193
|
+
* TargetObjectReference: {
|
|
194
|
+
* Selector: "STRING_VALUE",
|
|
195
|
+
* },
|
|
196
|
+
* TypedLinkFacet: {
|
|
197
|
+
* SchemaArn: "STRING_VALUE", // required
|
|
198
|
+
* TypedLinkName: "STRING_VALUE", // required
|
|
199
|
+
* },
|
|
200
|
+
* Attributes: [ // required
|
|
201
|
+
* {
|
|
202
|
+
* AttributeName: "STRING_VALUE", // required
|
|
203
|
+
* Value: { // Union: only one key present
|
|
204
|
+
* StringValue: "STRING_VALUE",
|
|
205
|
+
* BinaryValue: "BLOB_VALUE",
|
|
206
|
+
* BooleanValue: true || false,
|
|
207
|
+
* NumberValue: "STRING_VALUE",
|
|
208
|
+
* DatetimeValue: new Date("TIMESTAMP"),
|
|
209
|
+
* },
|
|
210
|
+
* },
|
|
211
|
+
* ],
|
|
212
|
+
* },
|
|
213
|
+
* DetachTypedLink: {
|
|
214
|
+
* TypedLinkSpecifier: {
|
|
215
|
+
* TypedLinkFacet: {
|
|
216
|
+
* SchemaArn: "STRING_VALUE", // required
|
|
217
|
+
* TypedLinkName: "STRING_VALUE", // required
|
|
218
|
+
* },
|
|
219
|
+
* SourceObjectReference: {
|
|
220
|
+
* Selector: "STRING_VALUE",
|
|
221
|
+
* },
|
|
222
|
+
* TargetObjectReference: {
|
|
223
|
+
* Selector: "STRING_VALUE",
|
|
224
|
+
* },
|
|
225
|
+
* IdentityAttributeValues: [ // required
|
|
226
|
+
* {
|
|
227
|
+
* AttributeName: "STRING_VALUE", // required
|
|
228
|
+
* Value: { // Union: only one key present
|
|
229
|
+
* StringValue: "STRING_VALUE",
|
|
230
|
+
* BinaryValue: "BLOB_VALUE",
|
|
231
|
+
* BooleanValue: true || false,
|
|
232
|
+
* NumberValue: "STRING_VALUE",
|
|
233
|
+
* DatetimeValue: new Date("TIMESTAMP"),
|
|
234
|
+
* },
|
|
235
|
+
* },
|
|
236
|
+
* ],
|
|
237
|
+
* },
|
|
238
|
+
* },
|
|
239
|
+
* UpdateLinkAttributes: {
|
|
240
|
+
* TypedLinkSpecifier: {
|
|
241
|
+
* TypedLinkFacet: {
|
|
242
|
+
* SchemaArn: "STRING_VALUE", // required
|
|
243
|
+
* TypedLinkName: "STRING_VALUE", // required
|
|
244
|
+
* },
|
|
245
|
+
* SourceObjectReference: {
|
|
246
|
+
* Selector: "STRING_VALUE",
|
|
247
|
+
* },
|
|
248
|
+
* TargetObjectReference: {
|
|
249
|
+
* Selector: "STRING_VALUE",
|
|
250
|
+
* },
|
|
251
|
+
* IdentityAttributeValues: [ // required
|
|
252
|
+
* {
|
|
253
|
+
* AttributeName: "STRING_VALUE", // required
|
|
254
|
+
* Value: { // Union: only one key present
|
|
255
|
+
* StringValue: "STRING_VALUE",
|
|
256
|
+
* BinaryValue: "BLOB_VALUE",
|
|
257
|
+
* BooleanValue: true || false,
|
|
258
|
+
* NumberValue: "STRING_VALUE",
|
|
259
|
+
* DatetimeValue: new Date("TIMESTAMP"),
|
|
260
|
+
* },
|
|
261
|
+
* },
|
|
262
|
+
* ],
|
|
263
|
+
* },
|
|
264
|
+
* AttributeUpdates: [ // required
|
|
265
|
+
* {
|
|
266
|
+
* AttributeKey: {
|
|
267
|
+
* SchemaArn: "STRING_VALUE", // required
|
|
268
|
+
* FacetName: "STRING_VALUE", // required
|
|
269
|
+
* Name: "STRING_VALUE", // required
|
|
270
|
+
* },
|
|
271
|
+
* AttributeAction: {
|
|
272
|
+
* AttributeActionType: "CREATE_OR_UPDATE" || "DELETE",
|
|
273
|
+
* AttributeUpdateValue: { // Union: only one key present
|
|
274
|
+
* StringValue: "STRING_VALUE",
|
|
275
|
+
* BinaryValue: "BLOB_VALUE",
|
|
276
|
+
* BooleanValue: true || false,
|
|
277
|
+
* NumberValue: "STRING_VALUE",
|
|
278
|
+
* DatetimeValue: new Date("TIMESTAMP"),
|
|
279
|
+
* },
|
|
280
|
+
* },
|
|
281
|
+
* },
|
|
282
|
+
* ],
|
|
283
|
+
* },
|
|
284
|
+
* },
|
|
285
|
+
* ],
|
|
286
|
+
* };
|
|
30
287
|
* const command = new BatchWriteCommand(input);
|
|
31
288
|
* const response = await client.send(command);
|
|
32
289
|
* ```
|
|
@@ -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 = {
|
|
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 = {
|
|
31
|
+
* SchemaArn: "STRING_VALUE", // required
|
|
32
|
+
* Name: "STRING_VALUE", // required
|
|
33
|
+
* Attributes: [
|
|
34
|
+
* {
|
|
35
|
+
* Name: "STRING_VALUE", // required
|
|
36
|
+
* AttributeDefinition: {
|
|
37
|
+
* Type: "STRING" || "BINARY" || "BOOLEAN" || "NUMBER" || "DATETIME" || "VARIANT", // required
|
|
38
|
+
* DefaultValue: { // 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: {
|
|
47
|
+
* "<keys>": {
|
|
48
|
+
* Type: "BINARY_LENGTH" || "NUMBER_COMPARISON" || "STRING_FROM_SET" || "STRING_LENGTH",
|
|
49
|
+
* Parameters: {
|
|
50
|
+
* "<keys>": "STRING_VALUE",
|
|
51
|
+
* },
|
|
52
|
+
* },
|
|
53
|
+
* },
|
|
54
|
+
* },
|
|
55
|
+
* AttributeReference: {
|
|
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
|
* ```
|