@aws-sdk/client-clouddirectory 3.300.0 → 3.303.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.
Files changed (71) hide show
  1. package/dist-cjs/models/models_0.js +83 -94
  2. package/dist-es/models/models_0.js +83 -94
  3. package/dist-types/commands/AddFacetToObjectCommand.d.ts +7 -7
  4. package/dist-types/commands/ApplySchemaCommand.d.ts +1 -1
  5. package/dist-types/commands/AttachObjectCommand.d.ts +2 -2
  6. package/dist-types/commands/AttachPolicyCommand.d.ts +2 -2
  7. package/dist-types/commands/AttachToIndexCommand.d.ts +2 -2
  8. package/dist-types/commands/AttachTypedLinkCommand.d.ts +6 -6
  9. package/dist-types/commands/BatchReadCommand.d.ts +47 -79
  10. package/dist-types/commands/BatchWriteCommand.d.ts +60 -108
  11. package/dist-types/commands/CreateDirectoryCommand.d.ts +1 -1
  12. package/dist-types/commands/CreateFacetCommand.d.ts +9 -9
  13. package/dist-types/commands/CreateIndexCommand.d.ts +4 -4
  14. package/dist-types/commands/CreateObjectCommand.d.ts +8 -8
  15. package/dist-types/commands/CreateSchemaCommand.d.ts +1 -1
  16. package/dist-types/commands/CreateTypedLinkFacetCommand.d.ts +9 -9
  17. package/dist-types/commands/DeleteDirectoryCommand.d.ts +1 -1
  18. package/dist-types/commands/DeleteFacetCommand.d.ts +1 -1
  19. package/dist-types/commands/DeleteObjectCommand.d.ts +2 -2
  20. package/dist-types/commands/DeleteSchemaCommand.d.ts +1 -1
  21. package/dist-types/commands/DeleteTypedLinkFacetCommand.d.ts +1 -1
  22. package/dist-types/commands/DetachFromIndexCommand.d.ts +2 -2
  23. package/dist-types/commands/DetachObjectCommand.d.ts +2 -2
  24. package/dist-types/commands/DetachPolicyCommand.d.ts +2 -2
  25. package/dist-types/commands/DetachTypedLinkCommand.d.ts +7 -7
  26. package/dist-types/commands/DisableDirectoryCommand.d.ts +1 -1
  27. package/dist-types/commands/EnableDirectoryCommand.d.ts +1 -1
  28. package/dist-types/commands/GetAppliedSchemaVersionCommand.d.ts +1 -1
  29. package/dist-types/commands/GetDirectoryCommand.d.ts +1 -1
  30. package/dist-types/commands/GetFacetCommand.d.ts +1 -1
  31. package/dist-types/commands/GetLinkAttributesCommand.d.ts +8 -8
  32. package/dist-types/commands/GetObjectAttributesCommand.d.ts +4 -4
  33. package/dist-types/commands/GetObjectInformationCommand.d.ts +2 -2
  34. package/dist-types/commands/GetSchemaAsJsonCommand.d.ts +1 -1
  35. package/dist-types/commands/GetTypedLinkFacetInformationCommand.d.ts +1 -1
  36. package/dist-types/commands/ListAppliedSchemaArnsCommand.d.ts +1 -1
  37. package/dist-types/commands/ListAttachedIndicesCommand.d.ts +2 -2
  38. package/dist-types/commands/ListDevelopmentSchemaArnsCommand.d.ts +1 -1
  39. package/dist-types/commands/ListDirectoriesCommand.d.ts +1 -1
  40. package/dist-types/commands/ListFacetAttributesCommand.d.ts +1 -1
  41. package/dist-types/commands/ListFacetNamesCommand.d.ts +1 -1
  42. package/dist-types/commands/ListIncomingTypedLinksCommand.d.ts +8 -8
  43. package/dist-types/commands/ListIndexCommand.d.ts +8 -8
  44. package/dist-types/commands/ListManagedSchemaArnsCommand.d.ts +1 -1
  45. package/dist-types/commands/ListObjectAttributesCommand.d.ts +3 -3
  46. package/dist-types/commands/ListObjectChildrenCommand.d.ts +2 -2
  47. package/dist-types/commands/ListObjectParentPathsCommand.d.ts +2 -2
  48. package/dist-types/commands/ListObjectParentsCommand.d.ts +2 -2
  49. package/dist-types/commands/ListObjectPoliciesCommand.d.ts +2 -2
  50. package/dist-types/commands/ListOutgoingTypedLinksCommand.d.ts +8 -8
  51. package/dist-types/commands/ListPolicyAttachmentsCommand.d.ts +2 -2
  52. package/dist-types/commands/ListPublishedSchemaArnsCommand.d.ts +1 -1
  53. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  54. package/dist-types/commands/ListTypedLinkFacetAttributesCommand.d.ts +1 -1
  55. package/dist-types/commands/ListTypedLinkFacetNamesCommand.d.ts +1 -1
  56. package/dist-types/commands/LookupPolicyCommand.d.ts +2 -2
  57. package/dist-types/commands/PublishSchemaCommand.d.ts +1 -1
  58. package/dist-types/commands/PutSchemaFromJsonCommand.d.ts +1 -1
  59. package/dist-types/commands/RemoveFacetFromObjectCommand.d.ts +3 -3
  60. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  61. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  62. package/dist-types/commands/UpdateFacetCommand.d.ts +10 -10
  63. package/dist-types/commands/UpdateLinkAttributesCommand.d.ts +12 -12
  64. package/dist-types/commands/UpdateObjectAttributesCommand.d.ts +7 -7
  65. package/dist-types/commands/UpdateSchemaCommand.d.ts +1 -1
  66. package/dist-types/commands/UpdateTypedLinkFacetCommand.d.ts +9 -9
  67. package/dist-types/commands/UpgradeAppliedSchemaCommand.d.ts +1 -1
  68. package/dist-types/commands/UpgradePublishedSchemaCommand.d.ts +1 -1
  69. package/dist-types/models/models_0.d.ts +138 -83
  70. package/dist-types/ts3.4/models/models_0.d.ts +101 -83
  71. package/package.json +34 -34
@@ -26,98 +26,88 @@ 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 = {
29
+ * const input = { // BatchReadRequest
30
30
  * DirectoryArn: "STRING_VALUE", // required
31
- * Operations: [ // required
32
- * {
33
- * ListObjectAttributes: {
34
- * ObjectReference: {
31
+ * Operations: [ // BatchReadOperationList // required
32
+ * { // BatchReadOperation
33
+ * ListObjectAttributes: { // BatchListObjectAttributes
34
+ * ObjectReference: { // ObjectReference
35
35
  * Selector: "STRING_VALUE",
36
36
  * },
37
37
  * NextToken: "STRING_VALUE",
38
38
  * MaxResults: Number("int"),
39
- * FacetFilter: {
39
+ * FacetFilter: { // SchemaFacet
40
40
  * SchemaArn: "STRING_VALUE",
41
41
  * FacetName: "STRING_VALUE",
42
42
  * },
43
43
  * },
44
- * ListObjectChildren: {
44
+ * ListObjectChildren: { // BatchListObjectChildren
45
45
  * ObjectReference: {
46
46
  * Selector: "STRING_VALUE",
47
47
  * },
48
48
  * NextToken: "STRING_VALUE",
49
49
  * MaxResults: Number("int"),
50
50
  * },
51
- * ListAttachedIndices: {
51
+ * ListAttachedIndices: { // BatchListAttachedIndices
52
52
  * TargetReference: {
53
53
  * Selector: "STRING_VALUE",
54
54
  * },
55
55
  * NextToken: "STRING_VALUE",
56
56
  * MaxResults: Number("int"),
57
57
  * },
58
- * ListObjectParentPaths: {
58
+ * ListObjectParentPaths: { // BatchListObjectParentPaths
59
59
  * ObjectReference: {
60
60
  * Selector: "STRING_VALUE",
61
61
  * },
62
62
  * NextToken: "STRING_VALUE",
63
63
  * MaxResults: Number("int"),
64
64
  * },
65
- * GetObjectInformation: {
65
+ * GetObjectInformation: { // BatchGetObjectInformation
66
66
  * ObjectReference: {
67
67
  * Selector: "STRING_VALUE",
68
68
  * },
69
69
  * },
70
- * GetObjectAttributes: {
71
- * ObjectReference: {
72
- * Selector: "STRING_VALUE",
73
- * },
70
+ * GetObjectAttributes: { // BatchGetObjectAttributes
71
+ * ObjectReference: "<ObjectReference>", // required
74
72
  * SchemaFacet: {
75
73
  * SchemaArn: "STRING_VALUE",
76
74
  * FacetName: "STRING_VALUE",
77
75
  * },
78
- * AttributeNames: [ // required
76
+ * AttributeNames: [ // AttributeNameList // required
79
77
  * "STRING_VALUE",
80
78
  * ],
81
79
  * },
82
- * ListObjectParents: {
83
- * ObjectReference: {
84
- * Selector: "STRING_VALUE",
85
- * },
80
+ * ListObjectParents: { // BatchListObjectParents
81
+ * ObjectReference: "<ObjectReference>", // required
86
82
  * NextToken: "STRING_VALUE",
87
83
  * MaxResults: Number("int"),
88
84
  * },
89
- * ListObjectPolicies: {
90
- * ObjectReference: {
91
- * Selector: "STRING_VALUE",
92
- * },
85
+ * ListObjectPolicies: { // BatchListObjectPolicies
86
+ * ObjectReference: "<ObjectReference>", // required
93
87
  * NextToken: "STRING_VALUE",
94
88
  * MaxResults: Number("int"),
95
89
  * },
96
- * ListPolicyAttachments: {
97
- * PolicyReference: {
98
- * Selector: "STRING_VALUE",
99
- * },
90
+ * ListPolicyAttachments: { // BatchListPolicyAttachments
91
+ * PolicyReference: "<ObjectReference>", // required
100
92
  * NextToken: "STRING_VALUE",
101
93
  * MaxResults: Number("int"),
102
94
  * },
103
- * LookupPolicy: {
104
- * ObjectReference: {
105
- * Selector: "STRING_VALUE",
106
- * },
95
+ * LookupPolicy: { // BatchLookupPolicy
96
+ * ObjectReference: "<ObjectReference>", // required
107
97
  * NextToken: "STRING_VALUE",
108
98
  * MaxResults: Number("int"),
109
99
  * },
110
- * ListIndex: {
111
- * RangesOnIndexedValues: [
112
- * {
113
- * AttributeKey: {
100
+ * ListIndex: { // BatchListIndex
101
+ * RangesOnIndexedValues: [ // ObjectAttributeRangeList
102
+ * { // ObjectAttributeRange
103
+ * AttributeKey: { // AttributeKey
114
104
  * SchemaArn: "STRING_VALUE", // required
115
105
  * FacetName: "STRING_VALUE", // required
116
106
  * Name: "STRING_VALUE", // required
117
107
  * },
118
- * Range: {
108
+ * Range: { // TypedAttributeValueRange
119
109
  * StartMode: "FIRST" || "LAST" || "LAST_BEFORE_MISSING_VALUES" || "INCLUSIVE" || "EXCLUSIVE", // required
120
- * StartValue: { // Union: only one key present
110
+ * StartValue: { // TypedAttributeValue Union: only one key present
121
111
  * StringValue: "STRING_VALUE",
122
112
  * BinaryValue: "BLOB_VALUE",
123
113
  * BooleanValue: true || false,
@@ -125,7 +115,7 @@ export interface BatchReadCommandOutput extends BatchReadResponse, __MetadataBea
125
115
  * DatetimeValue: new Date("TIMESTAMP"),
126
116
  * },
127
117
  * EndMode: "FIRST" || "LAST" || "LAST_BEFORE_MISSING_VALUES" || "INCLUSIVE" || "EXCLUSIVE", // required
128
- * EndValue: { // Union: only one key present
118
+ * EndValue: {// Union: only one key present
129
119
  * StringValue: "STRING_VALUE",
130
120
  * BinaryValue: "BLOB_VALUE",
131
121
  * BooleanValue: true || false,
@@ -135,22 +125,18 @@ export interface BatchReadCommandOutput extends BatchReadResponse, __MetadataBea
135
125
  * },
136
126
  * },
137
127
  * ],
138
- * IndexReference: {
139
- * Selector: "STRING_VALUE",
140
- * },
128
+ * IndexReference: "<ObjectReference>", // required
141
129
  * MaxResults: Number("int"),
142
130
  * NextToken: "STRING_VALUE",
143
131
  * },
144
- * ListOutgoingTypedLinks: {
145
- * ObjectReference: {
146
- * Selector: "STRING_VALUE",
147
- * },
148
- * FilterAttributeRanges: [
149
- * {
132
+ * ListOutgoingTypedLinks: { // BatchListOutgoingTypedLinks
133
+ * ObjectReference: "<ObjectReference>", // required
134
+ * FilterAttributeRanges: [ // TypedLinkAttributeRangeList
135
+ * { // TypedLinkAttributeRange
150
136
  * AttributeName: "STRING_VALUE",
151
137
  * Range: {
152
138
  * StartMode: "FIRST" || "LAST" || "LAST_BEFORE_MISSING_VALUES" || "INCLUSIVE" || "EXCLUSIVE", // required
153
- * StartValue: { // Union: only one key present
139
+ * StartValue: {// Union: only one key present
154
140
  * StringValue: "STRING_VALUE",
155
141
  * BinaryValue: "BLOB_VALUE",
156
142
  * BooleanValue: true || false,
@@ -158,7 +144,7 @@ export interface BatchReadCommandOutput extends BatchReadResponse, __MetadataBea
158
144
  * DatetimeValue: new Date("TIMESTAMP"),
159
145
  * },
160
146
  * EndMode: "FIRST" || "LAST" || "LAST_BEFORE_MISSING_VALUES" || "INCLUSIVE" || "EXCLUSIVE", // required
161
- * EndValue: { // Union: only one key present
147
+ * EndValue: {// Union: only one key present
162
148
  * StringValue: "STRING_VALUE",
163
149
  * BinaryValue: "BLOB_VALUE",
164
150
  * BooleanValue: true || false,
@@ -168,23 +154,21 @@ export interface BatchReadCommandOutput extends BatchReadResponse, __MetadataBea
168
154
  * },
169
155
  * },
170
156
  * ],
171
- * FilterTypedLink: {
157
+ * FilterTypedLink: { // TypedLinkSchemaAndFacetName
172
158
  * SchemaArn: "STRING_VALUE", // required
173
159
  * TypedLinkName: "STRING_VALUE", // required
174
160
  * },
175
161
  * NextToken: "STRING_VALUE",
176
162
  * MaxResults: Number("int"),
177
163
  * },
178
- * ListIncomingTypedLinks: {
179
- * ObjectReference: {
180
- * Selector: "STRING_VALUE",
181
- * },
164
+ * ListIncomingTypedLinks: { // BatchListIncomingTypedLinks
165
+ * ObjectReference: "<ObjectReference>", // required
182
166
  * FilterAttributeRanges: [
183
167
  * {
184
168
  * AttributeName: "STRING_VALUE",
185
169
  * Range: {
186
170
  * StartMode: "FIRST" || "LAST" || "LAST_BEFORE_MISSING_VALUES" || "INCLUSIVE" || "EXCLUSIVE", // required
187
- * StartValue: { // Union: only one key present
171
+ * StartValue: {// Union: only one key present
188
172
  * StringValue: "STRING_VALUE",
189
173
  * BinaryValue: "BLOB_VALUE",
190
174
  * BooleanValue: true || false,
@@ -192,13 +176,7 @@ export interface BatchReadCommandOutput extends BatchReadResponse, __MetadataBea
192
176
  * DatetimeValue: new Date("TIMESTAMP"),
193
177
  * },
194
178
  * 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
- * },
179
+ * EndValue: "<TypedAttributeValue>",
202
180
  * },
203
181
  * },
204
182
  * ],
@@ -209,28 +187,18 @@ export interface BatchReadCommandOutput extends BatchReadResponse, __MetadataBea
209
187
  * NextToken: "STRING_VALUE",
210
188
  * MaxResults: Number("int"),
211
189
  * },
212
- * GetLinkAttributes: {
213
- * TypedLinkSpecifier: {
190
+ * GetLinkAttributes: { // BatchGetLinkAttributes
191
+ * TypedLinkSpecifier: { // TypedLinkSpecifier
214
192
  * TypedLinkFacet: {
215
193
  * SchemaArn: "STRING_VALUE", // required
216
194
  * TypedLinkName: "STRING_VALUE", // required
217
195
  * },
218
- * SourceObjectReference: {
219
- * Selector: "STRING_VALUE",
220
- * },
221
- * TargetObjectReference: {
222
- * Selector: "STRING_VALUE",
223
- * },
224
- * IdentityAttributeValues: [ // required
225
- * {
196
+ * SourceObjectReference: "<ObjectReference>", // required
197
+ * TargetObjectReference: "<ObjectReference>", // required
198
+ * IdentityAttributeValues: [ // AttributeNameAndValueList // required
199
+ * { // AttributeNameAndValue
226
200
  * 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
- * },
201
+ * Value: "<TypedAttributeValue>", // required
234
202
  * },
235
203
  * ],
236
204
  * },
@@ -27,25 +27,25 @@ 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 = {
30
+ * const input = { // BatchWriteRequest
31
31
  * DirectoryArn: "STRING_VALUE", // required
32
- * Operations: [ // required
33
- * {
34
- * CreateObject: {
35
- * SchemaFacet: [ // required
36
- * {
32
+ * Operations: [ // BatchWriteOperationList // required
33
+ * { // BatchWriteOperation
34
+ * CreateObject: { // BatchCreateObject
35
+ * SchemaFacet: [ // SchemaFacetList // required
36
+ * { // SchemaFacet
37
37
  * SchemaArn: "STRING_VALUE",
38
38
  * FacetName: "STRING_VALUE",
39
39
  * },
40
40
  * ],
41
- * ObjectAttributeList: [ // required
42
- * {
43
- * Key: {
41
+ * ObjectAttributeList: [ // AttributeKeyAndValueList // required
42
+ * { // AttributeKeyAndValue
43
+ * Key: { // AttributeKey
44
44
  * SchemaArn: "STRING_VALUE", // required
45
45
  * FacetName: "STRING_VALUE", // required
46
46
  * Name: "STRING_VALUE", // required
47
47
  * },
48
- * Value: { // Union: only one key present
48
+ * Value: { // TypedAttributeValue Union: only one key present
49
49
  * StringValue: "STRING_VALUE",
50
50
  * BinaryValue: "BLOB_VALUE",
51
51
  * BooleanValue: true || false,
@@ -54,13 +54,13 @@ export interface BatchWriteCommandOutput extends BatchWriteResponse, __MetadataB
54
54
  * },
55
55
  * },
56
56
  * ],
57
- * ParentReference: {
57
+ * ParentReference: { // ObjectReference
58
58
  * Selector: "STRING_VALUE",
59
59
  * },
60
60
  * LinkName: "STRING_VALUE",
61
61
  * BatchReferenceName: "STRING_VALUE",
62
62
  * },
63
- * AttachObject: {
63
+ * AttachObject: { // BatchAttachObject
64
64
  * ParentReference: {
65
65
  * Selector: "STRING_VALUE",
66
66
  * },
@@ -69,27 +69,27 @@ export interface BatchWriteCommandOutput extends BatchWriteResponse, __MetadataB
69
69
  * },
70
70
  * LinkName: "STRING_VALUE", // required
71
71
  * },
72
- * DetachObject: {
72
+ * DetachObject: { // BatchDetachObject
73
73
  * ParentReference: {
74
74
  * Selector: "STRING_VALUE",
75
75
  * },
76
76
  * LinkName: "STRING_VALUE", // required
77
77
  * BatchReferenceName: "STRING_VALUE",
78
78
  * },
79
- * UpdateObjectAttributes: {
79
+ * UpdateObjectAttributes: { // BatchUpdateObjectAttributes
80
80
  * ObjectReference: {
81
81
  * Selector: "STRING_VALUE",
82
82
  * },
83
- * AttributeUpdates: [ // required
84
- * {
83
+ * AttributeUpdates: [ // ObjectAttributeUpdateList // required
84
+ * { // ObjectAttributeUpdate
85
85
  * ObjectAttributeKey: {
86
86
  * SchemaArn: "STRING_VALUE", // required
87
87
  * FacetName: "STRING_VALUE", // required
88
88
  * Name: "STRING_VALUE", // required
89
89
  * },
90
- * ObjectAttributeAction: {
90
+ * ObjectAttributeAction: { // ObjectAttributeAction
91
91
  * ObjectAttributeActionType: "CREATE_OR_UPDATE" || "DELETE",
92
- * ObjectAttributeUpdateValue: { // Union: only one key present
92
+ * ObjectAttributeUpdateValue: {// Union: only one key present
93
93
  * StringValue: "STRING_VALUE",
94
94
  * BinaryValue: "BLOB_VALUE",
95
95
  * BooleanValue: true || false,
@@ -100,12 +100,10 @@ export interface BatchWriteCommandOutput extends BatchWriteResponse, __MetadataB
100
100
  * },
101
101
  * ],
102
102
  * },
103
- * DeleteObject: {
104
- * ObjectReference: {
105
- * Selector: "STRING_VALUE",
106
- * },
103
+ * DeleteObject: { // BatchDeleteObject
104
+ * ObjectReference: "<ObjectReference>", // required
107
105
  * },
108
- * AddFacetToObject: {
106
+ * AddFacetToObject: { // BatchAddFacetToObject
109
107
  * SchemaFacet: {
110
108
  * SchemaArn: "STRING_VALUE",
111
109
  * FacetName: "STRING_VALUE",
@@ -117,7 +115,7 @@ export interface BatchWriteCommandOutput extends BatchWriteResponse, __MetadataB
117
115
  * FacetName: "STRING_VALUE", // required
118
116
  * Name: "STRING_VALUE", // required
119
117
  * },
120
- * Value: { // Union: only one key present
118
+ * Value: {// Union: only one key present
121
119
  * StringValue: "STRING_VALUE",
122
120
  * BinaryValue: "BLOB_VALUE",
123
121
  * BooleanValue: true || false,
@@ -126,37 +124,25 @@ export interface BatchWriteCommandOutput extends BatchWriteResponse, __MetadataB
126
124
  * },
127
125
  * },
128
126
  * ],
129
- * ObjectReference: {
130
- * Selector: "STRING_VALUE",
131
- * },
127
+ * ObjectReference: "<ObjectReference>", // required
132
128
  * },
133
- * RemoveFacetFromObject: {
129
+ * RemoveFacetFromObject: { // BatchRemoveFacetFromObject
134
130
  * SchemaFacet: {
135
131
  * SchemaArn: "STRING_VALUE",
136
132
  * FacetName: "STRING_VALUE",
137
133
  * },
138
- * ObjectReference: {
139
- * Selector: "STRING_VALUE",
140
- * },
134
+ * ObjectReference: "<ObjectReference>", // required
141
135
  * },
142
- * AttachPolicy: {
143
- * PolicyReference: {
144
- * Selector: "STRING_VALUE",
145
- * },
146
- * ObjectReference: {
147
- * Selector: "STRING_VALUE",
148
- * },
136
+ * AttachPolicy: { // BatchAttachPolicy
137
+ * PolicyReference: "<ObjectReference>", // required
138
+ * ObjectReference: "<ObjectReference>", // required
149
139
  * },
150
- * DetachPolicy: {
151
- * PolicyReference: {
152
- * Selector: "STRING_VALUE",
153
- * },
154
- * ObjectReference: {
155
- * Selector: "STRING_VALUE",
156
- * },
140
+ * DetachPolicy: { // BatchDetachPolicy
141
+ * PolicyReference: "<ObjectReference>", // required
142
+ * ObjectReference: "<ObjectReference>", // required
157
143
  * },
158
- * CreateIndex: {
159
- * OrderedIndexedAttributeList: [ // required
144
+ * CreateIndex: { // BatchCreateIndex
145
+ * OrderedIndexedAttributeList: [ // AttributeKeyList // required
160
146
  * {
161
147
  * SchemaArn: "STRING_VALUE", // required
162
148
  * FacetName: "STRING_VALUE", // required
@@ -164,43 +150,29 @@ export interface BatchWriteCommandOutput extends BatchWriteResponse, __MetadataB
164
150
  * },
165
151
  * ],
166
152
  * IsUnique: true || false, // required
167
- * ParentReference: {
168
- * Selector: "STRING_VALUE",
169
- * },
153
+ * ParentReference: "<ObjectReference>",
170
154
  * LinkName: "STRING_VALUE",
171
155
  * BatchReferenceName: "STRING_VALUE",
172
156
  * },
173
- * AttachToIndex: {
174
- * IndexReference: {
175
- * Selector: "STRING_VALUE",
176
- * },
177
- * TargetReference: {
178
- * Selector: "STRING_VALUE",
179
- * },
157
+ * AttachToIndex: { // BatchAttachToIndex
158
+ * IndexReference: "<ObjectReference>", // required
159
+ * TargetReference: "<ObjectReference>", // required
180
160
  * },
181
- * DetachFromIndex: {
182
- * IndexReference: {
183
- * Selector: "STRING_VALUE",
184
- * },
185
- * TargetReference: {
186
- * Selector: "STRING_VALUE",
187
- * },
161
+ * DetachFromIndex: { // BatchDetachFromIndex
162
+ * IndexReference: "<ObjectReference>", // required
163
+ * TargetReference: "<ObjectReference>", // required
188
164
  * },
189
- * AttachTypedLink: {
190
- * SourceObjectReference: {
191
- * Selector: "STRING_VALUE",
192
- * },
193
- * TargetObjectReference: {
194
- * Selector: "STRING_VALUE",
195
- * },
196
- * TypedLinkFacet: {
165
+ * AttachTypedLink: { // BatchAttachTypedLink
166
+ * SourceObjectReference: "<ObjectReference>", // required
167
+ * TargetObjectReference: "<ObjectReference>", // required
168
+ * TypedLinkFacet: { // TypedLinkSchemaAndFacetName
197
169
  * SchemaArn: "STRING_VALUE", // required
198
170
  * TypedLinkName: "STRING_VALUE", // required
199
171
  * },
200
- * Attributes: [ // required
201
- * {
172
+ * Attributes: [ // AttributeNameAndValueList // required
173
+ * { // AttributeNameAndValue
202
174
  * AttributeName: "STRING_VALUE", // required
203
- * Value: { // Union: only one key present
175
+ * Value: {// Union: only one key present
204
176
  * StringValue: "STRING_VALUE",
205
177
  * BinaryValue: "BLOB_VALUE",
206
178
  * BooleanValue: true || false,
@@ -210,22 +182,18 @@ export interface BatchWriteCommandOutput extends BatchWriteResponse, __MetadataB
210
182
  * },
211
183
  * ],
212
184
  * },
213
- * DetachTypedLink: {
214
- * TypedLinkSpecifier: {
185
+ * DetachTypedLink: { // BatchDetachTypedLink
186
+ * TypedLinkSpecifier: { // TypedLinkSpecifier
215
187
  * TypedLinkFacet: {
216
188
  * SchemaArn: "STRING_VALUE", // required
217
189
  * TypedLinkName: "STRING_VALUE", // required
218
190
  * },
219
- * SourceObjectReference: {
220
- * Selector: "STRING_VALUE",
221
- * },
222
- * TargetObjectReference: {
223
- * Selector: "STRING_VALUE",
224
- * },
191
+ * SourceObjectReference: "<ObjectReference>", // required
192
+ * TargetObjectReference: "<ObjectReference>", // required
225
193
  * IdentityAttributeValues: [ // required
226
194
  * {
227
195
  * AttributeName: "STRING_VALUE", // required
228
- * Value: { // Union: only one key present
196
+ * Value: {// Union: only one key present
229
197
  * StringValue: "STRING_VALUE",
230
198
  * BinaryValue: "BLOB_VALUE",
231
199
  * BooleanValue: true || false,
@@ -236,47 +204,31 @@ export interface BatchWriteCommandOutput extends BatchWriteResponse, __MetadataB
236
204
  * ],
237
205
  * },
238
206
  * },
239
- * UpdateLinkAttributes: {
207
+ * UpdateLinkAttributes: { // BatchUpdateLinkAttributes
240
208
  * TypedLinkSpecifier: {
241
209
  * TypedLinkFacet: {
242
210
  * SchemaArn: "STRING_VALUE", // required
243
211
  * TypedLinkName: "STRING_VALUE", // required
244
212
  * },
245
- * SourceObjectReference: {
246
- * Selector: "STRING_VALUE",
247
- * },
248
- * TargetObjectReference: {
249
- * Selector: "STRING_VALUE",
250
- * },
213
+ * SourceObjectReference: "<ObjectReference>", // required
214
+ * TargetObjectReference: "<ObjectReference>", // required
251
215
  * IdentityAttributeValues: [ // required
252
216
  * {
253
217
  * 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
- * },
218
+ * Value: "<TypedAttributeValue>", // required
261
219
  * },
262
220
  * ],
263
221
  * },
264
- * AttributeUpdates: [ // required
265
- * {
222
+ * AttributeUpdates: [ // LinkAttributeUpdateList // required
223
+ * { // LinkAttributeUpdate
266
224
  * AttributeKey: {
267
225
  * SchemaArn: "STRING_VALUE", // required
268
226
  * FacetName: "STRING_VALUE", // required
269
227
  * Name: "STRING_VALUE", // required
270
228
  * },
271
- * AttributeAction: {
229
+ * AttributeAction: { // LinkAttributeAction
272
230
  * 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
- * },
231
+ * AttributeUpdateValue: "<TypedAttributeValue>",
280
232
  * },
281
233
  * },
282
234
  * ],
@@ -29,7 +29,7 @@ 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 = {
32
+ * const input = { // CreateDirectoryRequest
33
33
  * Name: "STRING_VALUE", // required
34
34
  * SchemaArn: "STRING_VALUE", // required
35
35
  * };
@@ -27,15 +27,15 @@ 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 = {
30
+ * const input = { // CreateFacetRequest
31
31
  * SchemaArn: "STRING_VALUE", // required
32
32
  * Name: "STRING_VALUE", // required
33
- * Attributes: [
34
- * {
33
+ * Attributes: [ // FacetAttributeList
34
+ * { // FacetAttribute
35
35
  * Name: "STRING_VALUE", // required
36
- * AttributeDefinition: {
36
+ * AttributeDefinition: { // FacetAttributeDefinition
37
37
  * Type: "STRING" || "BINARY" || "BOOLEAN" || "NUMBER" || "DATETIME" || "VARIANT", // required
38
- * DefaultValue: { // Union: only one key present
38
+ * DefaultValue: { // TypedAttributeValue Union: only one key present
39
39
  * StringValue: "STRING_VALUE",
40
40
  * BinaryValue: "BLOB_VALUE",
41
41
  * BooleanValue: true || false,
@@ -43,16 +43,16 @@ export interface CreateFacetCommandOutput extends CreateFacetResponse, __Metadat
43
43
  * DatetimeValue: new Date("TIMESTAMP"),
44
44
  * },
45
45
  * IsImmutable: true || false,
46
- * Rules: {
47
- * "<keys>": {
46
+ * Rules: { // RuleMap
47
+ * "<keys>": { // Rule
48
48
  * Type: "BINARY_LENGTH" || "NUMBER_COMPARISON" || "STRING_FROM_SET" || "STRING_LENGTH",
49
- * Parameters: {
49
+ * Parameters: { // RuleParameterMap
50
50
  * "<keys>": "STRING_VALUE",
51
51
  * },
52
52
  * },
53
53
  * },
54
54
  * },
55
- * AttributeReference: {
55
+ * AttributeReference: { // FacetAttributeReference
56
56
  * TargetFacetName: "STRING_VALUE", // required
57
57
  * TargetAttributeName: "STRING_VALUE", // required
58
58
  * },
@@ -26,17 +26,17 @@ 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 = {
29
+ * const input = { // CreateIndexRequest
30
30
  * DirectoryArn: "STRING_VALUE", // required
31
- * OrderedIndexedAttributeList: [ // required
32
- * {
31
+ * OrderedIndexedAttributeList: [ // AttributeKeyList // required
32
+ * { // AttributeKey
33
33
  * SchemaArn: "STRING_VALUE", // required
34
34
  * FacetName: "STRING_VALUE", // required
35
35
  * Name: "STRING_VALUE", // required
36
36
  * },
37
37
  * ],
38
38
  * IsUnique: true || false, // required
39
- * ParentReference: {
39
+ * ParentReference: { // ObjectReference
40
40
  * Selector: "STRING_VALUE",
41
41
  * },
42
42
  * LinkName: "STRING_VALUE",