@aws-sdk/client-clouddirectory 3.775.0 → 3.777.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 +13 -10
- package/dist-types/commands/ApplySchemaCommand.d.ts +7 -7
- package/dist-types/commands/AttachObjectCommand.d.ts +10 -10
- package/dist-types/commands/AttachPolicyCommand.d.ts +11 -8
- package/dist-types/commands/AttachToIndexCommand.d.ts +9 -9
- package/dist-types/commands/AttachTypedLinkCommand.d.ts +27 -27
- package/dist-types/commands/BatchReadCommand.d.ts +7 -7
- package/dist-types/commands/BatchWriteCommand.d.ts +6 -6
- package/dist-types/commands/CreateDirectoryCommand.d.ts +9 -9
- package/dist-types/commands/CreateFacetCommand.d.ts +9 -6
- package/dist-types/commands/CreateIndexCommand.d.ts +9 -9
- package/dist-types/commands/CreateObjectCommand.d.ts +8 -8
- package/dist-types/commands/CreateSchemaCommand.d.ts +5 -5
- package/dist-types/commands/CreateTypedLinkFacetCommand.d.ts +14 -11
- package/dist-types/commands/DeleteDirectoryCommand.d.ts +5 -5
- package/dist-types/commands/DeleteFacetCommand.d.ts +8 -5
- package/dist-types/commands/DeleteObjectCommand.d.ts +9 -6
- package/dist-types/commands/DeleteSchemaCommand.d.ts +5 -5
- package/dist-types/commands/DeleteTypedLinkFacetCommand.d.ts +8 -5
- package/dist-types/commands/DetachFromIndexCommand.d.ts +9 -9
- package/dist-types/commands/DetachObjectCommand.d.ts +8 -8
- package/dist-types/commands/DetachPolicyCommand.d.ts +11 -8
- package/dist-types/commands/DetachTypedLinkCommand.d.ts +19 -16
- package/dist-types/commands/DisableDirectoryCommand.d.ts +5 -5
- package/dist-types/commands/EnableDirectoryCommand.d.ts +5 -5
- package/dist-types/commands/GetAppliedSchemaVersionCommand.d.ts +1 -0
- package/dist-types/commands/GetDirectoryCommand.d.ts +9 -9
- package/dist-types/commands/GetFacetCommand.d.ts +8 -8
- package/dist-types/commands/GetLinkAttributesCommand.d.ts +1 -0
- package/dist-types/commands/GetObjectAttributesCommand.d.ts +1 -0
- package/dist-types/commands/GetObjectInformationCommand.d.ts +11 -11
- package/dist-types/commands/GetSchemaAsJsonCommand.d.ts +6 -6
- package/dist-types/commands/GetTypedLinkFacetInformationCommand.d.ts +6 -6
- package/dist-types/commands/ListAppliedSchemaArnsCommand.d.ts +5 -5
- package/dist-types/commands/ListAttachedIndicesCommand.d.ts +9 -9
- package/dist-types/commands/ListDevelopmentSchemaArnsCommand.d.ts +5 -5
- package/dist-types/commands/ListDirectoriesCommand.d.ts +25 -25
- package/dist-types/commands/ListFacetAttributesCommand.d.ts +117 -117
- package/dist-types/commands/ListFacetNamesCommand.d.ts +5 -5
- package/dist-types/commands/ListIncomingTypedLinksCommand.d.ts +41 -41
- package/dist-types/commands/ListIndexCommand.d.ts +14 -14
- package/dist-types/commands/ListManagedSchemaArnsCommand.d.ts +1 -0
- package/dist-types/commands/ListObjectAttributesCommand.d.ts +19 -19
- package/dist-types/commands/ListObjectChildrenCommand.d.ts +8 -8
- package/dist-types/commands/ListObjectParentPathsCommand.d.ts +1 -0
- package/dist-types/commands/ListObjectParentsCommand.d.ts +1 -0
- package/dist-types/commands/ListObjectPoliciesCommand.d.ts +1 -0
- package/dist-types/commands/ListOutgoingTypedLinksCommand.d.ts +1 -0
- package/dist-types/commands/ListPolicyAttachmentsCommand.d.ts +1 -0
- package/dist-types/commands/ListPublishedSchemaArnsCommand.d.ts +1 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -0
- package/dist-types/commands/ListTypedLinkFacetAttributesCommand.d.ts +1 -0
- package/dist-types/commands/ListTypedLinkFacetNamesCommand.d.ts +1 -0
- package/dist-types/commands/LookupPolicyCommand.d.ts +1 -0
- package/dist-types/commands/PublishSchemaCommand.d.ts +1 -0
- package/dist-types/commands/PutSchemaFromJsonCommand.d.ts +1 -0
- package/dist-types/commands/RemoveFacetFromObjectCommand.d.ts +1 -0
- package/dist-types/commands/TagResourceCommand.d.ts +1 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -0
- package/dist-types/commands/UpdateFacetCommand.d.ts +1 -0
- package/dist-types/commands/UpdateLinkAttributesCommand.d.ts +1 -0
- package/dist-types/commands/UpdateObjectAttributesCommand.d.ts +1 -0
- package/dist-types/commands/UpdateSchemaCommand.d.ts +1 -0
- package/dist-types/commands/UpdateTypedLinkFacetCommand.d.ts +1 -0
- package/dist-types/commands/UpgradeAppliedSchemaCommand.d.ts +1 -0
- package/dist-types/commands/UpgradePublishedSchemaCommand.d.ts +1 -0
- package/package.json +2 -2
|
@@ -104,26 +104,29 @@ declare const AddFacetToObjectCommand_base: {
|
|
|
104
104
|
* @throws {@link CloudDirectoryServiceException}
|
|
105
105
|
* <p>Base exception class for all service exceptions from CloudDirectory service.</p>
|
|
106
106
|
*
|
|
107
|
-
*
|
|
107
|
+
*
|
|
108
108
|
* @example To add a facet to an object
|
|
109
109
|
* ```javascript
|
|
110
110
|
* //
|
|
111
111
|
* const input = {
|
|
112
|
-
*
|
|
113
|
-
*
|
|
114
|
-
*
|
|
115
|
-
*
|
|
112
|
+
* DirectoryArn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY",
|
|
113
|
+
* ObjectAttributeList: [],
|
|
114
|
+
* ObjectReference: {
|
|
115
|
+
* Selector: "$AQGG_ADlfNZBzYHY_JgDt3TWmspn1fxfQmSQaaVKSbvEiQ"
|
|
116
116
|
* },
|
|
117
|
-
*
|
|
118
|
-
*
|
|
119
|
-
*
|
|
117
|
+
* SchemaFacet: {
|
|
118
|
+
* FacetName: "node1",
|
|
119
|
+
* SchemaArn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY/schema/org/1"
|
|
120
120
|
* }
|
|
121
121
|
* };
|
|
122
122
|
* const command = new AddFacetToObjectCommand(input);
|
|
123
|
-
* await client.send(command);
|
|
124
|
-
*
|
|
123
|
+
* const response = await client.send(command);
|
|
124
|
+
* /* response is
|
|
125
|
+
* { /* empty *\/ }
|
|
126
|
+
* *\/
|
|
125
127
|
* ```
|
|
126
128
|
*
|
|
129
|
+
* @public
|
|
127
130
|
*/
|
|
128
131
|
export declare class AddFacetToObjectCommand extends AddFacetToObjectCommand_base {
|
|
129
132
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -87,25 +87,25 @@ declare const ApplySchemaCommand_base: {
|
|
|
87
87
|
* @throws {@link CloudDirectoryServiceException}
|
|
88
88
|
* <p>Base exception class for all service exceptions from CloudDirectory service.</p>
|
|
89
89
|
*
|
|
90
|
-
*
|
|
90
|
+
*
|
|
91
91
|
* @example To apply a schema
|
|
92
92
|
* ```javascript
|
|
93
93
|
* //
|
|
94
94
|
* const input = {
|
|
95
|
-
*
|
|
96
|
-
*
|
|
95
|
+
* DirectoryArn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AfMr4qym1kZTvwqOafAYfqI",
|
|
96
|
+
* PublishedSchemaArn: "arn:aws:clouddirectory:us-west-2:45132example:schema/published/org/1"
|
|
97
97
|
* };
|
|
98
98
|
* const command = new ApplySchemaCommand(input);
|
|
99
99
|
* const response = await client.send(command);
|
|
100
|
-
* /* response
|
|
100
|
+
* /* response is
|
|
101
101
|
* {
|
|
102
|
-
*
|
|
103
|
-
*
|
|
102
|
+
* AppliedSchemaArn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AfMr4qym1kZTvwqOafAYfqI/schema/org/1",
|
|
103
|
+
* DirectoryArn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AfMr4qym1kZTvwqOafAYfqI"
|
|
104
104
|
* }
|
|
105
105
|
* *\/
|
|
106
|
-
* // example id: to-apply-a-schema-1507061899015
|
|
107
106
|
* ```
|
|
108
107
|
*
|
|
108
|
+
* @public
|
|
109
109
|
*/
|
|
110
110
|
export declare class ApplySchemaCommand extends ApplySchemaCommand_base {
|
|
111
111
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -108,30 +108,30 @@ declare const AttachObjectCommand_base: {
|
|
|
108
108
|
* @throws {@link CloudDirectoryServiceException}
|
|
109
109
|
* <p>Base exception class for all service exceptions from CloudDirectory service.</p>
|
|
110
110
|
*
|
|
111
|
-
*
|
|
111
|
+
*
|
|
112
112
|
* @example To attach an object
|
|
113
113
|
* ```javascript
|
|
114
114
|
* //
|
|
115
115
|
* const input = {
|
|
116
|
-
*
|
|
117
|
-
*
|
|
116
|
+
* ChildReference: {
|
|
117
|
+
* Selector: "$AQGG_ADlfNZBzYHY_JgDt3TWSvfuEnDqTdmeCuTs6YBNUA"
|
|
118
118
|
* },
|
|
119
|
-
*
|
|
120
|
-
*
|
|
121
|
-
*
|
|
122
|
-
*
|
|
119
|
+
* DirectoryArn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY",
|
|
120
|
+
* LinkName: "link2",
|
|
121
|
+
* ParentReference: {
|
|
122
|
+
* Selector: "$AQGG_ADlfNZBzYHY_JgDt3TWcU7IARvOTeaR09zme1sVsw"
|
|
123
123
|
* }
|
|
124
124
|
* };
|
|
125
125
|
* const command = new AttachObjectCommand(input);
|
|
126
126
|
* const response = await client.send(command);
|
|
127
|
-
* /* response
|
|
127
|
+
* /* response is
|
|
128
128
|
* {
|
|
129
|
-
*
|
|
129
|
+
* AttachedObjectIdentifier: "AQGG_ADlfNZBzYHY_JgDt3TWSvfuEnDqTdmeCuTs6YBNUA"
|
|
130
130
|
* }
|
|
131
131
|
* *\/
|
|
132
|
-
* // example id: to-attach-an-object-1507060976164
|
|
133
132
|
* ```
|
|
134
133
|
*
|
|
134
|
+
* @public
|
|
135
135
|
*/
|
|
136
136
|
export declare class AttachObjectCommand extends AttachObjectCommand_base {
|
|
137
137
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -87,24 +87,27 @@ declare const AttachPolicyCommand_base: {
|
|
|
87
87
|
* @throws {@link CloudDirectoryServiceException}
|
|
88
88
|
* <p>Base exception class for all service exceptions from CloudDirectory service.</p>
|
|
89
89
|
*
|
|
90
|
-
*
|
|
90
|
+
*
|
|
91
91
|
* @example To attach a policy to an object
|
|
92
92
|
* ```javascript
|
|
93
93
|
* //
|
|
94
94
|
* const input = {
|
|
95
|
-
*
|
|
96
|
-
*
|
|
97
|
-
*
|
|
95
|
+
* DirectoryArn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY",
|
|
96
|
+
* ObjectReference: {
|
|
97
|
+
* Selector: "$AQGG_ADlfNZBzYHY_JgDt3TWQoovm1s3Ts2v0NKrzdVnPw"
|
|
98
98
|
* },
|
|
99
|
-
*
|
|
100
|
-
*
|
|
99
|
+
* PolicyReference: {
|
|
100
|
+
* Selector: "$AQGG_ADlfNZBzYHY_JgDt3TWgcBsTVmcQEWs6jlygfhuew"
|
|
101
101
|
* }
|
|
102
102
|
* };
|
|
103
103
|
* const command = new AttachPolicyCommand(input);
|
|
104
|
-
* await client.send(command);
|
|
105
|
-
*
|
|
104
|
+
* const response = await client.send(command);
|
|
105
|
+
* /* response is
|
|
106
|
+
* { /* empty *\/ }
|
|
107
|
+
* *\/
|
|
106
108
|
* ```
|
|
107
109
|
*
|
|
110
|
+
* @public
|
|
108
111
|
*/
|
|
109
112
|
export declare class AttachPolicyCommand extends AttachPolicyCommand_base {
|
|
110
113
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -99,29 +99,29 @@ declare const AttachToIndexCommand_base: {
|
|
|
99
99
|
* @throws {@link CloudDirectoryServiceException}
|
|
100
100
|
* <p>Base exception class for all service exceptions from CloudDirectory service.</p>
|
|
101
101
|
*
|
|
102
|
-
*
|
|
102
|
+
*
|
|
103
103
|
* @example To attach a index to an object
|
|
104
104
|
* ```javascript
|
|
105
105
|
* //
|
|
106
106
|
* const input = {
|
|
107
|
-
*
|
|
108
|
-
*
|
|
109
|
-
*
|
|
107
|
+
* DirectoryArn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY",
|
|
108
|
+
* IndexReference: {
|
|
109
|
+
* Selector: "$AQGG_ADlfNZBzYHY_JgDt3TW45F26R1HTY2z-stwKBte_Q"
|
|
110
110
|
* },
|
|
111
|
-
*
|
|
112
|
-
*
|
|
111
|
+
* TargetReference: {
|
|
112
|
+
* Selector: "$AQGG_ADlfNZBzYHY_JgDt3TWcU7IARvOTeaR09zme1sVsw"
|
|
113
113
|
* }
|
|
114
114
|
* };
|
|
115
115
|
* const command = new AttachToIndexCommand(input);
|
|
116
116
|
* const response = await client.send(command);
|
|
117
|
-
* /* response
|
|
117
|
+
* /* response is
|
|
118
118
|
* {
|
|
119
|
-
*
|
|
119
|
+
* AttachedObjectIdentifier: "AQGG_ADlfNZBzYHY_JgDt3TWcU7IARvOTeaR09zme1sVsw"
|
|
120
120
|
* }
|
|
121
121
|
* *\/
|
|
122
|
-
* // example id: to-attach-a-index-to-an-object-1506532855758
|
|
123
122
|
* ```
|
|
124
123
|
*
|
|
124
|
+
* @public
|
|
125
125
|
*/
|
|
126
126
|
export declare class AttachToIndexCommand extends AttachToIndexCommand_base {
|
|
127
127
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -132,60 +132,60 @@ declare const AttachTypedLinkCommand_base: {
|
|
|
132
132
|
* @throws {@link CloudDirectoryServiceException}
|
|
133
133
|
* <p>Base exception class for all service exceptions from CloudDirectory service.</p>
|
|
134
134
|
*
|
|
135
|
-
*
|
|
135
|
+
*
|
|
136
136
|
* @example To attach a typed link to an object
|
|
137
137
|
* ```javascript
|
|
138
138
|
* //
|
|
139
139
|
* const input = {
|
|
140
|
-
*
|
|
140
|
+
* Attributes: [
|
|
141
141
|
* {
|
|
142
|
-
*
|
|
143
|
-
*
|
|
144
|
-
*
|
|
142
|
+
* AttributeName: "22",
|
|
143
|
+
* Value: {
|
|
144
|
+
* BinaryValue: "c3Ry"
|
|
145
145
|
* }
|
|
146
146
|
* }
|
|
147
147
|
* ],
|
|
148
|
-
*
|
|
149
|
-
*
|
|
150
|
-
*
|
|
148
|
+
* DirectoryArn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY",
|
|
149
|
+
* SourceObjectReference: {
|
|
150
|
+
* Selector: "$AQGG_ADlfNZBzYHY_JgDt3TWSvfuEnDqTdmeCuTs6YBNUA"
|
|
151
151
|
* },
|
|
152
|
-
*
|
|
153
|
-
*
|
|
152
|
+
* TargetObjectReference: {
|
|
153
|
+
* Selector: "$AQGG_ADlfNZBzYHY_JgDt3TWcU7IARvOTeaR09zme1sVsw"
|
|
154
154
|
* },
|
|
155
|
-
*
|
|
156
|
-
*
|
|
157
|
-
*
|
|
155
|
+
* TypedLinkFacet: {
|
|
156
|
+
* SchemaArn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY/schema/org/1",
|
|
157
|
+
* TypedLinkName: "exampletypedlink8"
|
|
158
158
|
* }
|
|
159
159
|
* };
|
|
160
160
|
* const command = new AttachTypedLinkCommand(input);
|
|
161
161
|
* const response = await client.send(command);
|
|
162
|
-
* /* response
|
|
162
|
+
* /* response is
|
|
163
163
|
* {
|
|
164
|
-
*
|
|
165
|
-
*
|
|
164
|
+
* TypedLinkSpecifier: {
|
|
165
|
+
* IdentityAttributeValues: [
|
|
166
166
|
* {
|
|
167
|
-
*
|
|
168
|
-
*
|
|
169
|
-
*
|
|
167
|
+
* AttributeName: "22",
|
|
168
|
+
* Value: {
|
|
169
|
+
* BinaryValue: "c3Ry"
|
|
170
170
|
* }
|
|
171
171
|
* }
|
|
172
172
|
* ],
|
|
173
|
-
*
|
|
174
|
-
*
|
|
173
|
+
* SourceObjectReference: {
|
|
174
|
+
* Selector: "$AQGG_ADlfNZBzYHY_JgDt3TWSvfuEnDqTdmeCuTs6YBNUA"
|
|
175
175
|
* },
|
|
176
|
-
*
|
|
177
|
-
*
|
|
176
|
+
* TargetObjectReference: {
|
|
177
|
+
* Selector: "$AQGG_ADlfNZBzYHY_JgDt3TWcU7IARvOTeaR09zme1sVsw"
|
|
178
178
|
* },
|
|
179
|
-
*
|
|
180
|
-
*
|
|
181
|
-
*
|
|
179
|
+
* TypedLinkFacet: {
|
|
180
|
+
* SchemaArn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY/schema/org/1",
|
|
181
|
+
* TypedLinkName: "exampletypedlink8"
|
|
182
182
|
* }
|
|
183
183
|
* }
|
|
184
184
|
* }
|
|
185
185
|
* *\/
|
|
186
|
-
* // example id: to-attach-a-typed-link-to-an-object-1506559900588
|
|
187
186
|
* ```
|
|
188
187
|
*
|
|
188
|
+
* @public
|
|
189
189
|
*/
|
|
190
190
|
export declare class AttachTypedLinkCommand extends AttachTypedLinkCommand_base {
|
|
191
191
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -477,25 +477,25 @@ declare const BatchReadCommand_base: {
|
|
|
477
477
|
* @throws {@link CloudDirectoryServiceException}
|
|
478
478
|
* <p>Base exception class for all service exceptions from CloudDirectory service.</p>
|
|
479
479
|
*
|
|
480
|
-
*
|
|
480
|
+
*
|
|
481
481
|
* @example To run a batch read command
|
|
482
482
|
* ```javascript
|
|
483
483
|
* //
|
|
484
484
|
* const input = {
|
|
485
|
-
*
|
|
486
|
-
*
|
|
487
|
-
*
|
|
485
|
+
* ConsistencyLevel: "EVENTUAL",
|
|
486
|
+
* DirectoryArn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY",
|
|
487
|
+
* Operations: []
|
|
488
488
|
* };
|
|
489
489
|
* const command = new BatchReadCommand(input);
|
|
490
490
|
* const response = await client.send(command);
|
|
491
|
-
* /* response
|
|
491
|
+
* /* response is
|
|
492
492
|
* {
|
|
493
|
-
*
|
|
493
|
+
* Responses: []
|
|
494
494
|
* }
|
|
495
495
|
* *\/
|
|
496
|
-
* // example id: to-run-a-batch-read-command-1506123433380
|
|
497
496
|
* ```
|
|
498
497
|
*
|
|
498
|
+
* @public
|
|
499
499
|
*/
|
|
500
500
|
export declare class BatchReadCommand extends BatchReadCommand_base {
|
|
501
501
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -343,24 +343,24 @@ declare const BatchWriteCommand_base: {
|
|
|
343
343
|
* @throws {@link CloudDirectoryServiceException}
|
|
344
344
|
* <p>Base exception class for all service exceptions from CloudDirectory service.</p>
|
|
345
345
|
*
|
|
346
|
-
*
|
|
346
|
+
*
|
|
347
347
|
* @example To run a batch write command
|
|
348
348
|
* ```javascript
|
|
349
349
|
* //
|
|
350
350
|
* const input = {
|
|
351
|
-
*
|
|
352
|
-
*
|
|
351
|
+
* DirectoryArn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY",
|
|
352
|
+
* Operations: []
|
|
353
353
|
* };
|
|
354
354
|
* const command = new BatchWriteCommand(input);
|
|
355
355
|
* const response = await client.send(command);
|
|
356
|
-
* /* response
|
|
356
|
+
* /* response is
|
|
357
357
|
* {
|
|
358
|
-
*
|
|
358
|
+
* Responses: []
|
|
359
359
|
* }
|
|
360
360
|
* *\/
|
|
361
|
-
* // example id: to-run-a-batch-write-command-1506122878964
|
|
362
361
|
* ```
|
|
363
362
|
*
|
|
363
|
+
* @public
|
|
364
364
|
*/
|
|
365
365
|
export declare class BatchWriteCommand extends BatchWriteCommand_base {
|
|
366
366
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -87,27 +87,27 @@ declare const CreateDirectoryCommand_base: {
|
|
|
87
87
|
* @throws {@link CloudDirectoryServiceException}
|
|
88
88
|
* <p>Base exception class for all service exceptions from CloudDirectory service.</p>
|
|
89
89
|
*
|
|
90
|
-
*
|
|
90
|
+
*
|
|
91
91
|
* @example To create a new Cloud Directory
|
|
92
92
|
* ```javascript
|
|
93
93
|
* //
|
|
94
94
|
* const input = {
|
|
95
|
-
*
|
|
96
|
-
*
|
|
95
|
+
* Name: "ExampleCD",
|
|
96
|
+
* SchemaArn: "arn:aws:clouddirectory:us-west-2:45132example:schema/published/person/1"
|
|
97
97
|
* };
|
|
98
98
|
* const command = new CreateDirectoryCommand(input);
|
|
99
99
|
* const response = await client.send(command);
|
|
100
|
-
* /* response
|
|
100
|
+
* /* response is
|
|
101
101
|
* {
|
|
102
|
-
*
|
|
103
|
-
*
|
|
104
|
-
*
|
|
105
|
-
*
|
|
102
|
+
* AppliedSchemaArn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AfMr4qym1kZTvwqOafAYfqI/schema/person/1",
|
|
103
|
+
* DirectoryArn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AfMr4qym1kZTvwqOafAYfqI",
|
|
104
|
+
* Name: "ExampleCD",
|
|
105
|
+
* ObjectIdentifier: "AQHzK-KsptZGU78KjmnwGH6i-4guCM3uQFOTA9_NjeHDrg"
|
|
106
106
|
* }
|
|
107
107
|
* *\/
|
|
108
|
-
* // example id: to-create-a-new-cloud-directory-1506119878996
|
|
109
108
|
* ```
|
|
110
109
|
*
|
|
110
|
+
* @public
|
|
111
111
|
*/
|
|
112
112
|
export declare class CreateDirectoryCommand extends CreateDirectoryCommand_base {
|
|
113
113
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -117,20 +117,23 @@ declare const CreateFacetCommand_base: {
|
|
|
117
117
|
* @throws {@link CloudDirectoryServiceException}
|
|
118
118
|
* <p>Base exception class for all service exceptions from CloudDirectory service.</p>
|
|
119
119
|
*
|
|
120
|
-
*
|
|
120
|
+
*
|
|
121
121
|
* @example To create a facet
|
|
122
122
|
* ```javascript
|
|
123
123
|
* //
|
|
124
124
|
* const input = {
|
|
125
|
-
*
|
|
126
|
-
*
|
|
127
|
-
*
|
|
125
|
+
* Name: "node1",
|
|
126
|
+
* ObjectType: "NODE",
|
|
127
|
+
* SchemaArn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY/schema/org/1"
|
|
128
128
|
* };
|
|
129
129
|
* const command = new CreateFacetCommand(input);
|
|
130
|
-
* await client.send(command);
|
|
131
|
-
*
|
|
130
|
+
* const response = await client.send(command);
|
|
131
|
+
* /* response is
|
|
132
|
+
* { /* empty *\/ }
|
|
133
|
+
* *\/
|
|
132
134
|
* ```
|
|
133
135
|
*
|
|
136
|
+
* @public
|
|
134
137
|
*/
|
|
135
138
|
export declare class CreateFacetCommand extends CreateFacetCommand_base {
|
|
136
139
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -102,27 +102,27 @@ declare const CreateIndexCommand_base: {
|
|
|
102
102
|
* @throws {@link CloudDirectoryServiceException}
|
|
103
103
|
* <p>Base exception class for all service exceptions from CloudDirectory service.</p>
|
|
104
104
|
*
|
|
105
|
-
*
|
|
105
|
+
*
|
|
106
106
|
* @example To create an index
|
|
107
107
|
* ```javascript
|
|
108
108
|
* //
|
|
109
109
|
* const input = {
|
|
110
|
-
*
|
|
111
|
-
*
|
|
112
|
-
*
|
|
113
|
-
*
|
|
114
|
-
*
|
|
110
|
+
* DirectoryArn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AXQXDXvdgkOWktRXV4HnRa8",
|
|
111
|
+
* IsUnique: true,
|
|
112
|
+
* LinkName: "Examplelink",
|
|
113
|
+
* OrderedIndexedAttributeList: [],
|
|
114
|
+
* ParentReference: { /* empty *\/ }
|
|
115
115
|
* };
|
|
116
116
|
* const command = new CreateIndexCommand(input);
|
|
117
117
|
* const response = await client.send(command);
|
|
118
|
-
* /* response
|
|
118
|
+
* /* response is
|
|
119
119
|
* {
|
|
120
|
-
*
|
|
120
|
+
* ObjectIdentifier: "AQF0Fw173YJDlpLUV1eB50WvYsWFtVoUSmOzZjz_BLULIA"
|
|
121
121
|
* }
|
|
122
122
|
* *\/
|
|
123
|
-
* // example id: to-create-an-index-1505339563796
|
|
124
123
|
* ```
|
|
125
124
|
*
|
|
125
|
+
* @public
|
|
126
126
|
*/
|
|
127
127
|
export declare class CreateIndexCommand extends CreateIndexCommand_base {
|
|
128
128
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -119,29 +119,29 @@ declare const CreateObjectCommand_base: {
|
|
|
119
119
|
* @throws {@link CloudDirectoryServiceException}
|
|
120
120
|
* <p>Base exception class for all service exceptions from CloudDirectory service.</p>
|
|
121
121
|
*
|
|
122
|
-
*
|
|
122
|
+
*
|
|
123
123
|
* @example To create an object
|
|
124
124
|
* ```javascript
|
|
125
125
|
* //
|
|
126
126
|
* const input = {
|
|
127
|
-
*
|
|
128
|
-
*
|
|
127
|
+
* DirectoryArn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AXQXDXvdgkOWktRXV4HnRa8",
|
|
128
|
+
* SchemaFacets: [
|
|
129
129
|
* {
|
|
130
|
-
*
|
|
131
|
-
*
|
|
130
|
+
* FacetName: "Organization_Person",
|
|
131
|
+
* SchemaArn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AXQXDXvdgkOWktRXV4HnRa8/schema/ExampleOrgPersonSchema/1"
|
|
132
132
|
* }
|
|
133
133
|
* ]
|
|
134
134
|
* };
|
|
135
135
|
* const command = new CreateObjectCommand(input);
|
|
136
136
|
* const response = await client.send(command);
|
|
137
|
-
* /* response
|
|
137
|
+
* /* response is
|
|
138
138
|
* {
|
|
139
|
-
*
|
|
139
|
+
* ObjectIdentifier: "AQF0Fw173YJDlpLUV1eB50WvScvjsYXcS3K2nP1HwDuuYQ"
|
|
140
140
|
* }
|
|
141
141
|
* *\/
|
|
142
|
-
* // example id: to-create-an-object-1494010287120
|
|
143
142
|
* ```
|
|
144
143
|
*
|
|
144
|
+
* @public
|
|
145
145
|
*/
|
|
146
146
|
export declare class CreateObjectCommand extends CreateObjectCommand_base {
|
|
147
147
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -97,23 +97,23 @@ declare const CreateSchemaCommand_base: {
|
|
|
97
97
|
* @throws {@link CloudDirectoryServiceException}
|
|
98
98
|
* <p>Base exception class for all service exceptions from CloudDirectory service.</p>
|
|
99
99
|
*
|
|
100
|
-
*
|
|
100
|
+
*
|
|
101
101
|
* @example To create a schema
|
|
102
102
|
* ```javascript
|
|
103
103
|
* //
|
|
104
104
|
* const input = {
|
|
105
|
-
*
|
|
105
|
+
* Name: "Customers"
|
|
106
106
|
* };
|
|
107
107
|
* const command = new CreateSchemaCommand(input);
|
|
108
108
|
* const response = await client.send(command);
|
|
109
|
-
* /* response
|
|
109
|
+
* /* response is
|
|
110
110
|
* {
|
|
111
|
-
*
|
|
111
|
+
* SchemaArn: "arn:aws:clouddirectory:us-west-2:45132example:schema/development/Customers"
|
|
112
112
|
* }
|
|
113
113
|
* *\/
|
|
114
|
-
* // example id: to-create-a-schema-1506530911949
|
|
115
114
|
* ```
|
|
116
115
|
*
|
|
116
|
+
* @public
|
|
117
117
|
*/
|
|
118
118
|
export declare class CreateSchemaCommand extends CreateSchemaCommand_base {
|
|
119
119
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -113,31 +113,34 @@ declare const CreateTypedLinkFacetCommand_base: {
|
|
|
113
113
|
* @throws {@link CloudDirectoryServiceException}
|
|
114
114
|
* <p>Base exception class for all service exceptions from CloudDirectory service.</p>
|
|
115
115
|
*
|
|
116
|
-
*
|
|
116
|
+
*
|
|
117
117
|
* @example To create a typed link facet
|
|
118
118
|
* ```javascript
|
|
119
119
|
* //
|
|
120
120
|
* const input = {
|
|
121
|
-
*
|
|
122
|
-
*
|
|
121
|
+
* Facet: {
|
|
122
|
+
* Attributes: [
|
|
123
123
|
* {
|
|
124
|
-
*
|
|
125
|
-
*
|
|
126
|
-
*
|
|
124
|
+
* Name: "1",
|
|
125
|
+
* RequiredBehavior: "REQUIRED_ALWAYS",
|
|
126
|
+
* Type: "BINARY"
|
|
127
127
|
* }
|
|
128
128
|
* ],
|
|
129
|
-
*
|
|
129
|
+
* IdentityAttributeOrder: [
|
|
130
130
|
* "1"
|
|
131
131
|
* ],
|
|
132
|
-
*
|
|
132
|
+
* Name: "FacetExample"
|
|
133
133
|
* },
|
|
134
|
-
*
|
|
134
|
+
* SchemaArn: "arn:aws:clouddirectory:us-west-2:45132example:schema/development/typedlinkschema"
|
|
135
135
|
* };
|
|
136
136
|
* const command = new CreateTypedLinkFacetCommand(input);
|
|
137
|
-
* await client.send(command);
|
|
138
|
-
*
|
|
137
|
+
* const response = await client.send(command);
|
|
138
|
+
* /* response is
|
|
139
|
+
* { /* empty *\/ }
|
|
140
|
+
* *\/
|
|
139
141
|
* ```
|
|
140
142
|
*
|
|
143
|
+
* @public
|
|
141
144
|
*/
|
|
142
145
|
export declare class CreateTypedLinkFacetCommand extends CreateTypedLinkFacetCommand_base {
|
|
143
146
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -85,23 +85,23 @@ declare const DeleteDirectoryCommand_base: {
|
|
|
85
85
|
* @throws {@link CloudDirectoryServiceException}
|
|
86
86
|
* <p>Base exception class for all service exceptions from CloudDirectory service.</p>
|
|
87
87
|
*
|
|
88
|
-
*
|
|
88
|
+
*
|
|
89
89
|
* @example To delete a directory
|
|
90
90
|
* ```javascript
|
|
91
91
|
* //
|
|
92
92
|
* const input = {
|
|
93
|
-
*
|
|
93
|
+
* DirectoryArn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AXQXDXvdgkOWktRXV4HnRa8"
|
|
94
94
|
* };
|
|
95
95
|
* const command = new DeleteDirectoryCommand(input);
|
|
96
96
|
* const response = await client.send(command);
|
|
97
|
-
* /* response
|
|
97
|
+
* /* response is
|
|
98
98
|
* {
|
|
99
|
-
*
|
|
99
|
+
* DirectoryArn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AXQXDXvdgkOWktRXV4HnRa8"
|
|
100
100
|
* }
|
|
101
101
|
* *\/
|
|
102
|
-
* // example id: to-delete-a-directory-1507570867859
|
|
103
102
|
* ```
|
|
104
103
|
*
|
|
104
|
+
* @public
|
|
105
105
|
*/
|
|
106
106
|
export declare class DeleteDirectoryCommand extends DeleteDirectoryCommand_base {
|
|
107
107
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -84,19 +84,22 @@ declare const DeleteFacetCommand_base: {
|
|
|
84
84
|
* @throws {@link CloudDirectoryServiceException}
|
|
85
85
|
* <p>Base exception class for all service exceptions from CloudDirectory service.</p>
|
|
86
86
|
*
|
|
87
|
-
*
|
|
87
|
+
*
|
|
88
88
|
* @example To delete a facet
|
|
89
89
|
* ```javascript
|
|
90
90
|
* //
|
|
91
91
|
* const input = {
|
|
92
|
-
*
|
|
93
|
-
*
|
|
92
|
+
* Name: "Organization",
|
|
93
|
+
* SchemaArn: "arn:aws:clouddirectory:us-west-2:45132example:schema/development/exampleorgtest"
|
|
94
94
|
* };
|
|
95
95
|
* const command = new DeleteFacetCommand(input);
|
|
96
|
-
* await client.send(command);
|
|
97
|
-
*
|
|
96
|
+
* const response = await client.send(command);
|
|
97
|
+
* /* response is
|
|
98
|
+
* { /* empty *\/ }
|
|
99
|
+
* *\/
|
|
98
100
|
* ```
|
|
99
101
|
*
|
|
102
|
+
* @public
|
|
100
103
|
*/
|
|
101
104
|
export declare class DeleteFacetCommand extends DeleteFacetCommand_base {
|
|
102
105
|
/** @internal type navigation helper, not in runtime. */
|