-
Notifications
You must be signed in to change notification settings - Fork 597
/
types.go
1722 lines (1262 loc) · 49.5 KB
/
types.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Code generated by smithy-go-codegen DO NOT EDIT.
package types
import (
smithydocument "github.com/aws/smithy-go/document"
"time"
)
// A unique identifier for an attribute.
type AttributeKey struct {
// The name of the facet that the attribute exists within.
//
// This member is required.
FacetName *string
// The name of the attribute.
//
// This member is required.
Name *string
// The Amazon Resource Name (ARN) of the schema that contains the facet and
// attribute.
//
// This member is required.
SchemaArn *string
noSmithyDocumentSerde
}
// The combination of an attribute key and an attribute value.
type AttributeKeyAndValue struct {
// The key of the attribute.
//
// This member is required.
Key *AttributeKey
// The value of the attribute.
//
// This member is required.
Value TypedAttributeValue
noSmithyDocumentSerde
}
// Identifies the attribute name and value for a typed link.
type AttributeNameAndValue struct {
// The attribute name of the typed link.
//
// This member is required.
AttributeName *string
// The value for the typed link.
//
// This member is required.
Value TypedAttributeValue
noSmithyDocumentSerde
}
// Represents the output of a batch add facet to object operation.
type BatchAddFacetToObject struct {
// The attributes to set on the object.
//
// This member is required.
ObjectAttributeList []AttributeKeyAndValue
// A reference to the object being mutated.
//
// This member is required.
ObjectReference *ObjectReference
// Represents the facet being added to the object.
//
// This member is required.
SchemaFacet *SchemaFacet
noSmithyDocumentSerde
}
// The result of a batch add facet to object operation.
type BatchAddFacetToObjectResponse struct {
noSmithyDocumentSerde
}
// Represents the output of an AttachObject operation.
type BatchAttachObject struct {
// The child object reference that is to be attached to the object.
//
// This member is required.
ChildReference *ObjectReference
// The name of the link.
//
// This member is required.
LinkName *string
// The parent object reference.
//
// This member is required.
ParentReference *ObjectReference
noSmithyDocumentSerde
}
// Represents the output batch AttachObject response operation.
type BatchAttachObjectResponse struct {
// The ObjectIdentifier of the object that has been attached.
AttachedObjectIdentifier *string
noSmithyDocumentSerde
}
// Attaches a policy object to a regular object inside a BatchRead operation. For
// more information, see AttachPolicy and BatchReadRequest$Operations .
type BatchAttachPolicy struct {
// The reference that identifies the object to which the policy will be attached.
//
// This member is required.
ObjectReference *ObjectReference
// The reference that is associated with the policy object.
//
// This member is required.
PolicyReference *ObjectReference
noSmithyDocumentSerde
}
// Represents the output of an AttachPolicy response operation.
type BatchAttachPolicyResponse struct {
noSmithyDocumentSerde
}
// Attaches the specified object to the specified index inside a BatchRead
// operation. For more information, see AttachToIndex and
// BatchReadRequest$Operations .
type BatchAttachToIndex struct {
// A reference to the index that you are attaching the object to.
//
// This member is required.
IndexReference *ObjectReference
// A reference to the object that you are attaching to the index.
//
// This member is required.
TargetReference *ObjectReference
noSmithyDocumentSerde
}
// Represents the output of a AttachToIndex response operation.
type BatchAttachToIndexResponse struct {
// The ObjectIdentifier of the object that was attached to the index.
AttachedObjectIdentifier *string
noSmithyDocumentSerde
}
// Attaches a typed link to a specified source and target object inside a BatchRead
// operation. For more information, see AttachTypedLink and
// BatchReadRequest$Operations .
type BatchAttachTypedLink struct {
// A set of attributes that are associated with the typed link.
//
// This member is required.
Attributes []AttributeNameAndValue
// Identifies the source object that the typed link will attach to.
//
// This member is required.
SourceObjectReference *ObjectReference
// Identifies the target object that the typed link will attach to.
//
// This member is required.
TargetObjectReference *ObjectReference
// Identifies the typed link facet that is associated with the typed link.
//
// This member is required.
TypedLinkFacet *TypedLinkSchemaAndFacetName
noSmithyDocumentSerde
}
// Represents the output of a AttachTypedLink response operation.
type BatchAttachTypedLinkResponse struct {
// Returns a typed link specifier as output.
TypedLinkSpecifier *TypedLinkSpecifier
noSmithyDocumentSerde
}
// Creates an index object inside of a BatchRead operation. For more information,
// see CreateIndex and BatchReadRequest$Operations .
type BatchCreateIndex struct {
// Indicates whether the attribute that is being indexed has unique values or not.
//
// This member is required.
IsUnique bool
// Specifies the attributes that should be indexed on. Currently only a single
// attribute is supported.
//
// This member is required.
OrderedIndexedAttributeList []AttributeKey
// The batch reference name. See Transaction Support (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/transaction_support.html)
// for more information.
BatchReferenceName *string
// The name of the link between the parent object and the index object.
LinkName *string
// A reference to the parent object that contains the index object.
ParentReference *ObjectReference
noSmithyDocumentSerde
}
// Represents the output of a CreateIndex response operation.
type BatchCreateIndexResponse struct {
// The ObjectIdentifier of the index created by this operation.
ObjectIdentifier *string
noSmithyDocumentSerde
}
// Represents the output of a CreateObject operation.
type BatchCreateObject struct {
// An attribute map, which contains an attribute ARN as the key and attribute
// value as the map value.
//
// This member is required.
ObjectAttributeList []AttributeKeyAndValue
// A list of FacetArns that will be associated with the object. For more
// information, see arns .
//
// This member is required.
SchemaFacet []SchemaFacet
// The batch reference name. See Transaction Support (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/transaction_support.html)
// for more information.
BatchReferenceName *string
// The name of the link.
LinkName *string
// If specified, the parent reference to which this object will be attached.
ParentReference *ObjectReference
noSmithyDocumentSerde
}
// Represents the output of a CreateObject response operation.
type BatchCreateObjectResponse struct {
// The ID that is associated with the object.
ObjectIdentifier *string
noSmithyDocumentSerde
}
// Represents the output of a DeleteObject operation.
type BatchDeleteObject struct {
// The reference that identifies the object.
//
// This member is required.
ObjectReference *ObjectReference
noSmithyDocumentSerde
}
// Represents the output of a DeleteObject response operation.
type BatchDeleteObjectResponse struct {
noSmithyDocumentSerde
}
// Detaches the specified object from the specified index inside a BatchRead
// operation. For more information, see DetachFromIndex and
// BatchReadRequest$Operations .
type BatchDetachFromIndex struct {
// A reference to the index object.
//
// This member is required.
IndexReference *ObjectReference
// A reference to the object being detached from the index.
//
// This member is required.
TargetReference *ObjectReference
noSmithyDocumentSerde
}
// Represents the output of a DetachFromIndex response operation.
type BatchDetachFromIndexResponse struct {
// The ObjectIdentifier of the object that was detached from the index.
DetachedObjectIdentifier *string
noSmithyDocumentSerde
}
// Represents the output of a DetachObject operation.
type BatchDetachObject struct {
// The name of the link.
//
// This member is required.
LinkName *string
// Parent reference from which the object with the specified link name is detached.
//
// This member is required.
ParentReference *ObjectReference
// The batch reference name. See Transaction Support (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/transaction_support.html)
// for more information.
BatchReferenceName *string
noSmithyDocumentSerde
}
// Represents the output of a DetachObject response operation.
type BatchDetachObjectResponse struct {
// The ObjectIdentifier of the detached object.
DetachedObjectIdentifier *string
noSmithyDocumentSerde
}
// Detaches the specified policy from the specified directory inside a BatchWrite
// operation. For more information, see DetachPolicy and
// BatchWriteRequest$Operations .
type BatchDetachPolicy struct {
// Reference that identifies the object whose policy object will be detached.
//
// This member is required.
ObjectReference *ObjectReference
// Reference that identifies the policy object.
//
// This member is required.
PolicyReference *ObjectReference
noSmithyDocumentSerde
}
// Represents the output of a DetachPolicy response operation.
type BatchDetachPolicyResponse struct {
noSmithyDocumentSerde
}
// Detaches a typed link from a specified source and target object inside a
// BatchRead operation. For more information, see DetachTypedLink and
// BatchReadRequest$Operations .
type BatchDetachTypedLink struct {
// Used to accept a typed link specifier as input.
//
// This member is required.
TypedLinkSpecifier *TypedLinkSpecifier
noSmithyDocumentSerde
}
// Represents the output of a DetachTypedLink response operation.
type BatchDetachTypedLinkResponse struct {
noSmithyDocumentSerde
}
// Retrieves attributes that are associated with a typed link inside a BatchRead
// operation. For more information, see GetLinkAttributes and
// BatchReadRequest$Operations .
type BatchGetLinkAttributes struct {
// A list of attribute names whose values will be retrieved.
//
// This member is required.
AttributeNames []string
// Allows a typed link specifier to be accepted as input.
//
// This member is required.
TypedLinkSpecifier *TypedLinkSpecifier
noSmithyDocumentSerde
}
// Represents the output of a GetLinkAttributes response operation.
type BatchGetLinkAttributesResponse struct {
// The attributes that are associated with the typed link.
Attributes []AttributeKeyAndValue
noSmithyDocumentSerde
}
// Retrieves attributes within a facet that are associated with an object inside
// an BatchRead operation. For more information, see GetObjectAttributes and
// BatchReadRequest$Operations .
type BatchGetObjectAttributes struct {
// List of attribute names whose values will be retrieved.
//
// This member is required.
AttributeNames []string
// Reference that identifies the object whose attributes will be retrieved.
//
// This member is required.
ObjectReference *ObjectReference
// Identifier for the facet whose attributes will be retrieved. See SchemaFacet
// for details.
//
// This member is required.
SchemaFacet *SchemaFacet
noSmithyDocumentSerde
}
// Represents the output of a GetObjectAttributes response operation.
type BatchGetObjectAttributesResponse struct {
// The attribute values that are associated with an object.
Attributes []AttributeKeyAndValue
noSmithyDocumentSerde
}
// Retrieves metadata about an object inside a BatchRead operation. For more
// information, see GetObjectInformation and BatchReadRequest$Operations .
type BatchGetObjectInformation struct {
// A reference to the object.
//
// This member is required.
ObjectReference *ObjectReference
noSmithyDocumentSerde
}
// Represents the output of a GetObjectInformation response operation.
type BatchGetObjectInformationResponse struct {
// The ObjectIdentifier of the specified object.
ObjectIdentifier *string
// The facets attached to the specified object.
SchemaFacets []SchemaFacet
noSmithyDocumentSerde
}
// Lists indices attached to an object inside a BatchRead operation. For more
// information, see ListAttachedIndices and BatchReadRequest$Operations .
type BatchListAttachedIndices struct {
// A reference to the object that has indices attached.
//
// This member is required.
TargetReference *ObjectReference
// The maximum number of results to retrieve.
MaxResults *int32
// The pagination token.
NextToken *string
noSmithyDocumentSerde
}
// Represents the output of a ListAttachedIndices response operation.
type BatchListAttachedIndicesResponse struct {
// The indices attached to the specified object.
IndexAttachments []IndexAttachment
// The pagination token.
NextToken *string
noSmithyDocumentSerde
}
// Returns a paginated list of all the incoming TypedLinkSpecifier information for
// an object inside a BatchRead operation. For more information, see
// ListIncomingTypedLinks and BatchReadRequest$Operations .
type BatchListIncomingTypedLinks struct {
// The reference that identifies the object whose attributes will be listed.
//
// This member is required.
ObjectReference *ObjectReference
// Provides range filters for multiple attributes. When providing ranges to typed
// link selection, any inexact ranges must be specified at the end. Any attributes
// that do not have a range specified are presumed to match the entire range.
FilterAttributeRanges []TypedLinkAttributeRange
// Filters are interpreted in the order of the attributes on the typed link facet,
// not the order in which they are supplied to any API calls.
FilterTypedLink *TypedLinkSchemaAndFacetName
// The maximum number of results to retrieve.
MaxResults *int32
// The pagination token.
NextToken *string
noSmithyDocumentSerde
}
// Represents the output of a ListIncomingTypedLinks response operation.
type BatchListIncomingTypedLinksResponse struct {
// Returns one or more typed link specifiers as output.
LinkSpecifiers []TypedLinkSpecifier
// The pagination token.
NextToken *string
noSmithyDocumentSerde
}
// Lists objects attached to the specified index inside a BatchRead operation. For
// more information, see ListIndex and BatchReadRequest$Operations .
type BatchListIndex struct {
// The reference to the index to list.
//
// This member is required.
IndexReference *ObjectReference
// The maximum number of results to retrieve.
MaxResults *int32
// The pagination token.
NextToken *string
// Specifies the ranges of indexed values that you want to query.
RangesOnIndexedValues []ObjectAttributeRange
noSmithyDocumentSerde
}
// Represents the output of a ListIndex response operation.
type BatchListIndexResponse struct {
// The objects and indexed values attached to the index.
IndexAttachments []IndexAttachment
// The pagination token.
NextToken *string
noSmithyDocumentSerde
}
// Represents the output of a ListObjectAttributes operation.
type BatchListObjectAttributes struct {
// Reference of the object whose attributes need to be listed.
//
// This member is required.
ObjectReference *ObjectReference
// Used to filter the list of object attributes that are associated with a certain
// facet.
FacetFilter *SchemaFacet
// The maximum number of items to be retrieved in a single call. This is an
// approximate number.
MaxResults *int32
// The pagination token.
NextToken *string
noSmithyDocumentSerde
}
// Represents the output of a ListObjectAttributes response operation.
type BatchListObjectAttributesResponse struct {
// The attributes map that is associated with the object. AttributeArn is the key;
// attribute value is the value.
Attributes []AttributeKeyAndValue
// The pagination token.
NextToken *string
noSmithyDocumentSerde
}
// Represents the output of a ListObjectChildren operation.
type BatchListObjectChildren struct {
// Reference of the object for which child objects are being listed.
//
// This member is required.
ObjectReference *ObjectReference
// Maximum number of items to be retrieved in a single call. This is an
// approximate number.
MaxResults *int32
// The pagination token.
NextToken *string
noSmithyDocumentSerde
}
// Represents the output of a ListObjectChildren response operation.
type BatchListObjectChildrenResponse struct {
// The children structure, which is a map with the key as the LinkName and
// ObjectIdentifier as the value.
Children map[string]string
// The pagination token.
NextToken *string
noSmithyDocumentSerde
}
// Retrieves all available parent paths for any object type such as node, leaf
// node, policy node, and index node objects inside a BatchRead operation. For
// more information, see ListObjectParentPaths and BatchReadRequest$Operations .
type BatchListObjectParentPaths struct {
// The reference that identifies the object whose attributes will be listed.
//
// This member is required.
ObjectReference *ObjectReference
// The maximum number of results to retrieve.
MaxResults *int32
// The pagination token.
NextToken *string
noSmithyDocumentSerde
}
// Represents the output of a ListObjectParentPaths response operation.
type BatchListObjectParentPathsResponse struct {
// The pagination token.
NextToken *string
// Returns the path to the ObjectIdentifiers that are associated with the
// directory.
PathToObjectIdentifiersList []PathToObjectIdentifiers
noSmithyDocumentSerde
}
// Lists parent objects that are associated with a given object in pagination
// fashion.
type BatchListObjectParents struct {
// The reference that identifies an object.
//
// This member is required.
ObjectReference *ObjectReference
// The maximum number of items to be retrieved in a single call. This is an
// approximate number.
MaxResults *int32
// The pagination token.
NextToken *string
noSmithyDocumentSerde
}
// Represents the output of a ListObjectParents response operation.
type BatchListObjectParentsResponse struct {
// The pagination token.
NextToken *string
// Returns a list of parent reference and LinkName Tuples.
ParentLinks []ObjectIdentifierAndLinkNameTuple
noSmithyDocumentSerde
}
// Returns policies attached to an object in pagination fashion inside a BatchRead
// operation. For more information, see ListObjectPolicies and
// BatchReadRequest$Operations .
type BatchListObjectPolicies struct {
// The reference that identifies the object whose attributes will be listed.
//
// This member is required.
ObjectReference *ObjectReference
// The maximum number of results to retrieve.
MaxResults *int32
// The pagination token.
NextToken *string
noSmithyDocumentSerde
}
// Represents the output of a ListObjectPolicies response operation.
type BatchListObjectPoliciesResponse struct {
// A list of policy ObjectIdentifiers , that are attached to the object.
AttachedPolicyIds []string
// The pagination token.
NextToken *string
noSmithyDocumentSerde
}
// Returns a paginated list of all the outgoing TypedLinkSpecifier information for
// an object inside a BatchRead operation. For more information, see
// ListOutgoingTypedLinks and BatchReadRequest$Operations .
type BatchListOutgoingTypedLinks struct {
// The reference that identifies the object whose attributes will be listed.
//
// This member is required.
ObjectReference *ObjectReference
// Provides range filters for multiple attributes. When providing ranges to typed
// link selection, any inexact ranges must be specified at the end. Any attributes
// that do not have a range specified are presumed to match the entire range.
FilterAttributeRanges []TypedLinkAttributeRange
// Filters are interpreted in the order of the attributes defined on the typed
// link facet, not the order they are supplied to any API calls.
FilterTypedLink *TypedLinkSchemaAndFacetName
// The maximum number of results to retrieve.
MaxResults *int32
// The pagination token.
NextToken *string
noSmithyDocumentSerde
}
// Represents the output of a ListOutgoingTypedLinks response operation.
type BatchListOutgoingTypedLinksResponse struct {
// The pagination token.
NextToken *string
// Returns a typed link specifier as output.
TypedLinkSpecifiers []TypedLinkSpecifier
noSmithyDocumentSerde
}
// Returns all of the ObjectIdentifiers to which a given policy is attached inside
// a BatchRead operation. For more information, see ListPolicyAttachments and
// BatchReadRequest$Operations .
type BatchListPolicyAttachments struct {
// The reference that identifies the policy object.
//
// This member is required.
PolicyReference *ObjectReference
// The maximum number of results to retrieve.
MaxResults *int32
// The pagination token.
NextToken *string
noSmithyDocumentSerde
}
// Represents the output of a ListPolicyAttachments response operation.
type BatchListPolicyAttachmentsResponse struct {
// The pagination token.
NextToken *string
// A list of ObjectIdentifiers to which the policy is attached.
ObjectIdentifiers []string
noSmithyDocumentSerde
}
// Lists all policies from the root of the Directory to the object specified
// inside a BatchRead operation. For more information, see LookupPolicy and
// BatchReadRequest$Operations .
type BatchLookupPolicy struct {
// Reference that identifies the object whose policies will be looked up.
//
// This member is required.
ObjectReference *ObjectReference
// The maximum number of results to retrieve.
MaxResults *int32
// The pagination token.
NextToken *string
noSmithyDocumentSerde
}
// Represents the output of a LookupPolicy response operation.
type BatchLookupPolicyResponse struct {
// The pagination token.
NextToken *string
// Provides list of path to policies. Policies contain PolicyId , ObjectIdentifier
// , and PolicyType . For more information, see Policies (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/key_concepts_directory.html#key_concepts_policies)
// .
PolicyToPathList []PolicyToPath
noSmithyDocumentSerde
}
// The batch read exception structure, which contains the exception type and
// message.
type BatchReadException struct {
// An exception message that is associated with the failure.
Message *string
// A type of exception, such as InvalidArnException .
Type BatchReadExceptionType
noSmithyDocumentSerde
}
// Represents the output of a BatchRead operation.
type BatchReadOperation struct {
// Retrieves attributes that are associated with a typed link.
GetLinkAttributes *BatchGetLinkAttributes
// Retrieves attributes within a facet that are associated with an object.
GetObjectAttributes *BatchGetObjectAttributes
// Retrieves metadata about an object.
GetObjectInformation *BatchGetObjectInformation
// Lists indices attached to an object.
ListAttachedIndices *BatchListAttachedIndices
// Returns a paginated list of all the incoming TypedLinkSpecifier information for
// an object. It also supports filtering by typed link facet and identity
// attributes. For more information, see Typed Links (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/directory_objects_links.html#directory_objects_links_typedlink)
// .
ListIncomingTypedLinks *BatchListIncomingTypedLinks
// Lists objects attached to the specified index.
ListIndex *BatchListIndex
// Lists all attributes that are associated with an object.
ListObjectAttributes *BatchListObjectAttributes
// Returns a paginated list of child objects that are associated with a given
// object.
ListObjectChildren *BatchListObjectChildren
// Retrieves all available parent paths for any object type such as node, leaf
// node, policy node, and index node objects. For more information about objects,
// see Directory Structure (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/key_concepts_directorystructure.html)
// .
ListObjectParentPaths *BatchListObjectParentPaths
// Lists parent objects that are associated with a given object in pagination
// fashion.
ListObjectParents *BatchListObjectParents
// Returns policies attached to an object in pagination fashion.
ListObjectPolicies *BatchListObjectPolicies
// Returns a paginated list of all the outgoing TypedLinkSpecifier information for
// an object. It also supports filtering by typed link facet and identity
// attributes. For more information, see Typed Links (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/directory_objects_links.html#directory_objects_links_typedlink)
// .
ListOutgoingTypedLinks *BatchListOutgoingTypedLinks
// Returns all of the ObjectIdentifiers to which a given policy is attached.
ListPolicyAttachments *BatchListPolicyAttachments
// Lists all policies from the root of the Directory to the object specified. If
// there are no policies present, an empty list is returned. If policies are
// present, and if some objects don't have the policies attached, it returns the
// ObjectIdentifier for such objects. If policies are present, it returns
// ObjectIdentifier , policyId , and policyType . Paths that don't lead to the root
// from the target object are ignored. For more information, see Policies (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/key_concepts_directory.html#key_concepts_policies)
// .
LookupPolicy *BatchLookupPolicy
noSmithyDocumentSerde
}
// Represents the output of a BatchRead response operation.
type BatchReadOperationResponse struct {
// Identifies which operation in a batch has failed.
ExceptionResponse *BatchReadException
// Identifies which operation in a batch has succeeded.
SuccessfulResponse *BatchReadSuccessfulResponse
noSmithyDocumentSerde
}
// Represents the output of a BatchRead success response operation.
type BatchReadSuccessfulResponse struct {
// The list of attributes to retrieve from the typed link.
GetLinkAttributes *BatchGetLinkAttributesResponse
// Retrieves attributes within a facet that are associated with an object.
GetObjectAttributes *BatchGetObjectAttributesResponse
// Retrieves metadata about an object.
GetObjectInformation *BatchGetObjectInformationResponse
// Lists indices attached to an object.
ListAttachedIndices *BatchListAttachedIndicesResponse
// Returns a paginated list of all the incoming TypedLinkSpecifier information for
// an object. It also supports filtering by typed link facet and identity
// attributes. For more information, see Typed Links (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/directory_objects_links.html#directory_objects_links_typedlink)
// .
ListIncomingTypedLinks *BatchListIncomingTypedLinksResponse
// Lists objects attached to the specified index.
ListIndex *BatchListIndexResponse
// Lists all attributes that are associated with an object.
ListObjectAttributes *BatchListObjectAttributesResponse
// Returns a paginated list of child objects that are associated with a given
// object.
ListObjectChildren *BatchListObjectChildrenResponse
// Retrieves all available parent paths for any object type such as node, leaf
// node, policy node, and index node objects. For more information about objects,
// see Directory Structure (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/key_concepts_directorystructure.html)
// .
ListObjectParentPaths *BatchListObjectParentPathsResponse
// The list of parent objects to retrieve.
ListObjectParents *BatchListObjectParentsResponse
// Returns policies attached to an object in pagination fashion.
ListObjectPolicies *BatchListObjectPoliciesResponse
// Returns a paginated list of all the outgoing TypedLinkSpecifier information for
// an object. It also supports filtering by typed link facet and identity
// attributes. For more information, see Typed Links (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/directory_objects_links.html#directory_objects_links_typedlink)
// .
ListOutgoingTypedLinks *BatchListOutgoingTypedLinksResponse
// Returns all of the ObjectIdentifiers to which a given policy is attached.
ListPolicyAttachments *BatchListPolicyAttachmentsResponse
// Lists all policies from the root of the Directory to the object specified. If
// there are no policies present, an empty list is returned. If policies are
// present, and if some objects don't have the policies attached, it returns the
// ObjectIdentifier for such objects. If policies are present, it returns
// ObjectIdentifier , policyId , and policyType . Paths that don't lead to the root
// from the target object are ignored. For more information, see Policies (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/key_concepts_directory.html#key_concepts_policies)
// .
LookupPolicy *BatchLookupPolicyResponse
noSmithyDocumentSerde
}
// A batch operation to remove a facet from an object.
type BatchRemoveFacetFromObject struct {