aws-sdk-clouddirectory 1.67.0 → 1.68.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-clouddirectory/client.rb +976 -1
- data/lib/aws-sdk-clouddirectory/endpoint_provider.rb +2 -2
- data/lib/aws-sdk-clouddirectory.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 59d439afa6f81cf24528f44a71dabc7bcb2dad259ae584c242f891df3648b209
|
4
|
+
data.tar.gz: 0d72e9d9e2997154938fea5852d7e38b2cf7a32b34945e717c6d0d0b1989f20b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 46fb8115c572a7de0a10dbe5c5fdd370fa4a2376eccb5f262efba345d4f016827008a884b58d2b70f9e55fde585dc033201ba8f21e8cd6702fae1d4668a06291
|
7
|
+
data.tar.gz: db950638f6151445efd0603c6f2cb99dfebcec9e3fea330b7be143be823be66543079fa62bf47806072772cf33a9bb1024d9a4114318c9052b23fe109ca0a025
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.68.0
|
@@ -466,6 +466,26 @@ module Aws::CloudDirectory
|
|
466
466
|
#
|
467
467
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
468
468
|
#
|
469
|
+
#
|
470
|
+
# @example Example: To add a facet to an object
|
471
|
+
#
|
472
|
+
# resp = client.add_facet_to_object({
|
473
|
+
# directory_arn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY",
|
474
|
+
# object_attribute_list: [
|
475
|
+
# ],
|
476
|
+
# object_reference: {
|
477
|
+
# selector: "$AQGG_ADlfNZBzYHY_JgDt3TWmspn1fxfQmSQaaVKSbvEiQ",
|
478
|
+
# },
|
479
|
+
# schema_facet: {
|
480
|
+
# facet_name: "node1",
|
481
|
+
# schema_arn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY/schema/org/1",
|
482
|
+
# },
|
483
|
+
# })
|
484
|
+
#
|
485
|
+
# resp.to_h outputs the following:
|
486
|
+
# {
|
487
|
+
# }
|
488
|
+
#
|
469
489
|
# @example Request syntax with placeholder values
|
470
490
|
#
|
471
491
|
# resp = client.add_facet_to_object({
|
@@ -521,6 +541,20 @@ module Aws::CloudDirectory
|
|
521
541
|
# * {Types::ApplySchemaResponse#applied_schema_arn #applied_schema_arn} => String
|
522
542
|
# * {Types::ApplySchemaResponse#directory_arn #directory_arn} => String
|
523
543
|
#
|
544
|
+
#
|
545
|
+
# @example Example: To apply a schema
|
546
|
+
#
|
547
|
+
# resp = client.apply_schema({
|
548
|
+
# directory_arn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AfMr4qym1kZTvwqOafAYfqI",
|
549
|
+
# published_schema_arn: "arn:aws:clouddirectory:us-west-2:45132example:schema/published/org/1",
|
550
|
+
# })
|
551
|
+
#
|
552
|
+
# resp.to_h outputs the following:
|
553
|
+
# {
|
554
|
+
# applied_schema_arn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AfMr4qym1kZTvwqOafAYfqI/schema/org/1",
|
555
|
+
# directory_arn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AfMr4qym1kZTvwqOafAYfqI",
|
556
|
+
# }
|
557
|
+
#
|
524
558
|
# @example Request syntax with placeholder values
|
525
559
|
#
|
526
560
|
# resp = client.apply_schema({
|
@@ -566,6 +600,25 @@ module Aws::CloudDirectory
|
|
566
600
|
#
|
567
601
|
# * {Types::AttachObjectResponse#attached_object_identifier #attached_object_identifier} => String
|
568
602
|
#
|
603
|
+
#
|
604
|
+
# @example Example: To attach an object
|
605
|
+
#
|
606
|
+
# resp = client.attach_object({
|
607
|
+
# child_reference: {
|
608
|
+
# selector: "$AQGG_ADlfNZBzYHY_JgDt3TWSvfuEnDqTdmeCuTs6YBNUA",
|
609
|
+
# },
|
610
|
+
# directory_arn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY",
|
611
|
+
# link_name: "link2",
|
612
|
+
# parent_reference: {
|
613
|
+
# selector: "$AQGG_ADlfNZBzYHY_JgDt3TWcU7IARvOTeaR09zme1sVsw",
|
614
|
+
# },
|
615
|
+
# })
|
616
|
+
#
|
617
|
+
# resp.to_h outputs the following:
|
618
|
+
# {
|
619
|
+
# attached_object_identifier: "AQGG_ADlfNZBzYHY_JgDt3TWSvfuEnDqTdmeCuTs6YBNUA",
|
620
|
+
# }
|
621
|
+
#
|
569
622
|
# @example Request syntax with placeholder values
|
570
623
|
#
|
571
624
|
# resp = client.attach_object({
|
@@ -608,6 +661,23 @@ module Aws::CloudDirectory
|
|
608
661
|
#
|
609
662
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
610
663
|
#
|
664
|
+
#
|
665
|
+
# @example Example: To attach a policy to an object
|
666
|
+
#
|
667
|
+
# resp = client.attach_policy({
|
668
|
+
# directory_arn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY",
|
669
|
+
# object_reference: {
|
670
|
+
# selector: "$AQGG_ADlfNZBzYHY_JgDt3TWQoovm1s3Ts2v0NKrzdVnPw",
|
671
|
+
# },
|
672
|
+
# policy_reference: {
|
673
|
+
# selector: "$AQGG_ADlfNZBzYHY_JgDt3TWgcBsTVmcQEWs6jlygfhuew",
|
674
|
+
# },
|
675
|
+
# })
|
676
|
+
#
|
677
|
+
# resp.to_h outputs the following:
|
678
|
+
# {
|
679
|
+
# }
|
680
|
+
#
|
611
681
|
# @example Request syntax with placeholder values
|
612
682
|
#
|
613
683
|
# resp = client.attach_policy({
|
@@ -645,6 +715,24 @@ module Aws::CloudDirectory
|
|
645
715
|
#
|
646
716
|
# * {Types::AttachToIndexResponse#attached_object_identifier #attached_object_identifier} => String
|
647
717
|
#
|
718
|
+
#
|
719
|
+
# @example Example: To attach a index to an object
|
720
|
+
#
|
721
|
+
# resp = client.attach_to_index({
|
722
|
+
# directory_arn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY",
|
723
|
+
# index_reference: {
|
724
|
+
# selector: "$AQGG_ADlfNZBzYHY_JgDt3TW45F26R1HTY2z-stwKBte_Q",
|
725
|
+
# },
|
726
|
+
# target_reference: {
|
727
|
+
# selector: "$AQGG_ADlfNZBzYHY_JgDt3TWcU7IARvOTeaR09zme1sVsw",
|
728
|
+
# },
|
729
|
+
# })
|
730
|
+
#
|
731
|
+
# resp.to_h outputs the following:
|
732
|
+
# {
|
733
|
+
# attached_object_identifier: "AQGG_ADlfNZBzYHY_JgDt3TWcU7IARvOTeaR09zme1sVsw",
|
734
|
+
# }
|
735
|
+
#
|
648
736
|
# @example Request syntax with placeholder values
|
649
737
|
#
|
650
738
|
# resp = client.attach_to_index({
|
@@ -698,6 +786,55 @@ module Aws::CloudDirectory
|
|
698
786
|
#
|
699
787
|
# * {Types::AttachTypedLinkResponse#typed_link_specifier #typed_link_specifier} => Types::TypedLinkSpecifier
|
700
788
|
#
|
789
|
+
#
|
790
|
+
# @example Example: To attach a typed link to an object
|
791
|
+
#
|
792
|
+
# resp = client.attach_typed_link({
|
793
|
+
# attributes: [
|
794
|
+
# {
|
795
|
+
# attribute_name: "22",
|
796
|
+
# value: {
|
797
|
+
# binary_value: "c3Ry",
|
798
|
+
# },
|
799
|
+
# },
|
800
|
+
# ],
|
801
|
+
# directory_arn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY",
|
802
|
+
# source_object_reference: {
|
803
|
+
# selector: "$AQGG_ADlfNZBzYHY_JgDt3TWSvfuEnDqTdmeCuTs6YBNUA",
|
804
|
+
# },
|
805
|
+
# target_object_reference: {
|
806
|
+
# selector: "$AQGG_ADlfNZBzYHY_JgDt3TWcU7IARvOTeaR09zme1sVsw",
|
807
|
+
# },
|
808
|
+
# typed_link_facet: {
|
809
|
+
# schema_arn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY/schema/org/1",
|
810
|
+
# typed_link_name: "exampletypedlink8",
|
811
|
+
# },
|
812
|
+
# })
|
813
|
+
#
|
814
|
+
# resp.to_h outputs the following:
|
815
|
+
# {
|
816
|
+
# typed_link_specifier: {
|
817
|
+
# identity_attribute_values: [
|
818
|
+
# {
|
819
|
+
# attribute_name: "22",
|
820
|
+
# value: {
|
821
|
+
# binary_value: "c3Ry",
|
822
|
+
# },
|
823
|
+
# },
|
824
|
+
# ],
|
825
|
+
# source_object_reference: {
|
826
|
+
# selector: "$AQGG_ADlfNZBzYHY_JgDt3TWSvfuEnDqTdmeCuTs6YBNUA",
|
827
|
+
# },
|
828
|
+
# target_object_reference: {
|
829
|
+
# selector: "$AQGG_ADlfNZBzYHY_JgDt3TWcU7IARvOTeaR09zme1sVsw",
|
830
|
+
# },
|
831
|
+
# typed_link_facet: {
|
832
|
+
# schema_arn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY/schema/org/1",
|
833
|
+
# typed_link_name: "exampletypedlink8",
|
834
|
+
# },
|
835
|
+
# },
|
836
|
+
# }
|
837
|
+
#
|
701
838
|
# @example Request syntax with placeholder values
|
702
839
|
#
|
703
840
|
# resp = client.attach_typed_link({
|
@@ -767,6 +904,22 @@ module Aws::CloudDirectory
|
|
767
904
|
#
|
768
905
|
# * {Types::BatchReadResponse#responses #responses} => Array<Types::BatchReadOperationResponse>
|
769
906
|
#
|
907
|
+
#
|
908
|
+
# @example Example: To run a batch read command
|
909
|
+
#
|
910
|
+
# resp = client.batch_read({
|
911
|
+
# consistency_level: "EVENTUAL",
|
912
|
+
# directory_arn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY",
|
913
|
+
# operations: [
|
914
|
+
# ],
|
915
|
+
# })
|
916
|
+
#
|
917
|
+
# resp.to_h outputs the following:
|
918
|
+
# {
|
919
|
+
# responses: [
|
920
|
+
# ],
|
921
|
+
# }
|
922
|
+
#
|
770
923
|
# @example Request syntax with placeholder values
|
771
924
|
#
|
772
925
|
# resp = client.batch_read({
|
@@ -1118,6 +1271,21 @@ module Aws::CloudDirectory
|
|
1118
1271
|
#
|
1119
1272
|
# * {Types::BatchWriteResponse#responses #responses} => Array<Types::BatchWriteOperationResponse>
|
1120
1273
|
#
|
1274
|
+
#
|
1275
|
+
# @example Example: To run a batch write command
|
1276
|
+
#
|
1277
|
+
# resp = client.batch_write({
|
1278
|
+
# directory_arn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY",
|
1279
|
+
# operations: [
|
1280
|
+
# ],
|
1281
|
+
# })
|
1282
|
+
#
|
1283
|
+
# resp.to_h outputs the following:
|
1284
|
+
# {
|
1285
|
+
# responses: [
|
1286
|
+
# ],
|
1287
|
+
# }
|
1288
|
+
#
|
1121
1289
|
# @example Request syntax with placeholder values
|
1122
1290
|
#
|
1123
1291
|
# resp = client.batch_write({
|
@@ -1434,6 +1602,22 @@ module Aws::CloudDirectory
|
|
1434
1602
|
# * {Types::CreateDirectoryResponse#object_identifier #object_identifier} => String
|
1435
1603
|
# * {Types::CreateDirectoryResponse#applied_schema_arn #applied_schema_arn} => String
|
1436
1604
|
#
|
1605
|
+
#
|
1606
|
+
# @example Example: To create a new Cloud Directory
|
1607
|
+
#
|
1608
|
+
# resp = client.create_directory({
|
1609
|
+
# name: "ExampleCD",
|
1610
|
+
# schema_arn: "arn:aws:clouddirectory:us-west-2:45132example:schema/published/person/1",
|
1611
|
+
# })
|
1612
|
+
#
|
1613
|
+
# resp.to_h outputs the following:
|
1614
|
+
# {
|
1615
|
+
# applied_schema_arn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AfMr4qym1kZTvwqOafAYfqI/schema/person/1",
|
1616
|
+
# directory_arn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AfMr4qym1kZTvwqOafAYfqI",
|
1617
|
+
# name: "ExampleCD",
|
1618
|
+
# object_identifier: "AQHzK-KsptZGU78KjmnwGH6i-4guCM3uQFOTA9_NjeHDrg",
|
1619
|
+
# }
|
1620
|
+
#
|
1437
1621
|
# @example Request syntax with placeholder values
|
1438
1622
|
#
|
1439
1623
|
# resp = client.create_directory({
|
@@ -1506,6 +1690,19 @@ module Aws::CloudDirectory
|
|
1506
1690
|
#
|
1507
1691
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1508
1692
|
#
|
1693
|
+
#
|
1694
|
+
# @example Example: To create a facet
|
1695
|
+
#
|
1696
|
+
# resp = client.create_facet({
|
1697
|
+
# name: "node1",
|
1698
|
+
# object_type: "NODE",
|
1699
|
+
# schema_arn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY/schema/org/1",
|
1700
|
+
# })
|
1701
|
+
#
|
1702
|
+
# resp.to_h outputs the following:
|
1703
|
+
# {
|
1704
|
+
# }
|
1705
|
+
#
|
1509
1706
|
# @example Request syntax with placeholder values
|
1510
1707
|
#
|
1511
1708
|
# resp = client.create_facet({
|
@@ -1581,6 +1778,24 @@ module Aws::CloudDirectory
|
|
1581
1778
|
#
|
1582
1779
|
# * {Types::CreateIndexResponse#object_identifier #object_identifier} => String
|
1583
1780
|
#
|
1781
|
+
#
|
1782
|
+
# @example Example: To create an index
|
1783
|
+
#
|
1784
|
+
# resp = client.create_index({
|
1785
|
+
# directory_arn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AXQXDXvdgkOWktRXV4HnRa8",
|
1786
|
+
# is_unique: true,
|
1787
|
+
# link_name: "Examplelink",
|
1788
|
+
# ordered_indexed_attribute_list: [
|
1789
|
+
# ],
|
1790
|
+
# parent_reference: {
|
1791
|
+
# },
|
1792
|
+
# })
|
1793
|
+
#
|
1794
|
+
# resp.to_h outputs the following:
|
1795
|
+
# {
|
1796
|
+
# object_identifier: "AQF0Fw173YJDlpLUV1eB50WvYsWFtVoUSmOzZjz_BLULIA",
|
1797
|
+
# }
|
1798
|
+
#
|
1584
1799
|
# @example Request syntax with placeholder values
|
1585
1800
|
#
|
1586
1801
|
# resp = client.create_index({
|
@@ -1641,6 +1856,24 @@ module Aws::CloudDirectory
|
|
1641
1856
|
#
|
1642
1857
|
# * {Types::CreateObjectResponse#object_identifier #object_identifier} => String
|
1643
1858
|
#
|
1859
|
+
#
|
1860
|
+
# @example Example: To create an object
|
1861
|
+
#
|
1862
|
+
# resp = client.create_object({
|
1863
|
+
# directory_arn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AXQXDXvdgkOWktRXV4HnRa8",
|
1864
|
+
# schema_facets: [
|
1865
|
+
# {
|
1866
|
+
# facet_name: "Organization_Person",
|
1867
|
+
# schema_arn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AXQXDXvdgkOWktRXV4HnRa8/schema/ExampleOrgPersonSchema/1",
|
1868
|
+
# },
|
1869
|
+
# ],
|
1870
|
+
# })
|
1871
|
+
#
|
1872
|
+
# resp.to_h outputs the following:
|
1873
|
+
# {
|
1874
|
+
# object_identifier: "AQF0Fw173YJDlpLUV1eB50WvScvjsYXcS3K2nP1HwDuuYQ",
|
1875
|
+
# }
|
1876
|
+
#
|
1644
1877
|
# @example Request syntax with placeholder values
|
1645
1878
|
#
|
1646
1879
|
# resp = client.create_object({
|
@@ -1709,6 +1942,18 @@ module Aws::CloudDirectory
|
|
1709
1942
|
#
|
1710
1943
|
# * {Types::CreateSchemaResponse#schema_arn #schema_arn} => String
|
1711
1944
|
#
|
1945
|
+
#
|
1946
|
+
# @example Example: To create a schema
|
1947
|
+
#
|
1948
|
+
# resp = client.create_schema({
|
1949
|
+
# name: "Customers",
|
1950
|
+
# })
|
1951
|
+
#
|
1952
|
+
# resp.to_h outputs the following:
|
1953
|
+
# {
|
1954
|
+
# schema_arn: "arn:aws:clouddirectory:us-west-2:45132example:schema/development/Customers",
|
1955
|
+
# }
|
1956
|
+
#
|
1712
1957
|
# @example Request syntax with placeholder values
|
1713
1958
|
#
|
1714
1959
|
# resp = client.create_schema({
|
@@ -1743,6 +1988,30 @@ module Aws::CloudDirectory
|
|
1743
1988
|
#
|
1744
1989
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1745
1990
|
#
|
1991
|
+
#
|
1992
|
+
# @example Example: To create a typed link facet
|
1993
|
+
#
|
1994
|
+
# resp = client.create_typed_link_facet({
|
1995
|
+
# facet: {
|
1996
|
+
# attributes: [
|
1997
|
+
# {
|
1998
|
+
# name: "1",
|
1999
|
+
# required_behavior: "REQUIRED_ALWAYS",
|
2000
|
+
# type: "BINARY",
|
2001
|
+
# },
|
2002
|
+
# ],
|
2003
|
+
# identity_attribute_order: [
|
2004
|
+
# "1",
|
2005
|
+
# ],
|
2006
|
+
# name: "FacetExample",
|
2007
|
+
# },
|
2008
|
+
# schema_arn: "arn:aws:clouddirectory:us-west-2:45132example:schema/development/typedlinkschema",
|
2009
|
+
# })
|
2010
|
+
#
|
2011
|
+
# resp.to_h outputs the following:
|
2012
|
+
# {
|
2013
|
+
# }
|
2014
|
+
#
|
1746
2015
|
# @example Request syntax with placeholder values
|
1747
2016
|
#
|
1748
2017
|
# resp = client.create_typed_link_facet({
|
@@ -1796,6 +2065,18 @@ module Aws::CloudDirectory
|
|
1796
2065
|
#
|
1797
2066
|
# * {Types::DeleteDirectoryResponse#directory_arn #directory_arn} => String
|
1798
2067
|
#
|
2068
|
+
#
|
2069
|
+
# @example Example: To delete a directory
|
2070
|
+
#
|
2071
|
+
# resp = client.delete_directory({
|
2072
|
+
# directory_arn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AXQXDXvdgkOWktRXV4HnRa8",
|
2073
|
+
# })
|
2074
|
+
#
|
2075
|
+
# resp.to_h outputs the following:
|
2076
|
+
# {
|
2077
|
+
# directory_arn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AXQXDXvdgkOWktRXV4HnRa8",
|
2078
|
+
# }
|
2079
|
+
#
|
1799
2080
|
# @example Request syntax with placeholder values
|
1800
2081
|
#
|
1801
2082
|
# resp = client.delete_directory({
|
@@ -1828,6 +2109,18 @@ module Aws::CloudDirectory
|
|
1828
2109
|
#
|
1829
2110
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1830
2111
|
#
|
2112
|
+
#
|
2113
|
+
# @example Example: To delete a facet
|
2114
|
+
#
|
2115
|
+
# resp = client.delete_facet({
|
2116
|
+
# name: "Organization",
|
2117
|
+
# schema_arn: "arn:aws:clouddirectory:us-west-2:45132example:schema/development/exampleorgtest",
|
2118
|
+
# })
|
2119
|
+
#
|
2120
|
+
# resp.to_h outputs the following:
|
2121
|
+
# {
|
2122
|
+
# }
|
2123
|
+
#
|
1831
2124
|
# @example Request syntax with placeholder values
|
1832
2125
|
#
|
1833
2126
|
# resp = client.delete_facet({
|
@@ -1862,6 +2155,20 @@ module Aws::CloudDirectory
|
|
1862
2155
|
#
|
1863
2156
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1864
2157
|
#
|
2158
|
+
#
|
2159
|
+
# @example Example: To delete an object
|
2160
|
+
#
|
2161
|
+
# resp = client.delete_object({
|
2162
|
+
# directory_arn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AfMr4qym1kZTvwqOafAYfqI",
|
2163
|
+
# object_reference: {
|
2164
|
+
# selector: "$AQHzK-KsptZGU78KjmnwGH6i8H-voMZDSNCqfx-fRUcBFg",
|
2165
|
+
# },
|
2166
|
+
# })
|
2167
|
+
#
|
2168
|
+
# resp.to_h outputs the following:
|
2169
|
+
# {
|
2170
|
+
# }
|
2171
|
+
#
|
1865
2172
|
# @example Request syntax with placeholder values
|
1866
2173
|
#
|
1867
2174
|
# resp = client.delete_object({
|
@@ -1891,6 +2198,18 @@ module Aws::CloudDirectory
|
|
1891
2198
|
#
|
1892
2199
|
# * {Types::DeleteSchemaResponse#schema_arn #schema_arn} => String
|
1893
2200
|
#
|
2201
|
+
#
|
2202
|
+
# @example Example: To delete a schema
|
2203
|
+
#
|
2204
|
+
# resp = client.delete_schema({
|
2205
|
+
# schema_arn: "arn:aws:clouddirectory:us-west-2:45132example:schema/development/exampleorgtest",
|
2206
|
+
# })
|
2207
|
+
#
|
2208
|
+
# resp.to_h outputs the following:
|
2209
|
+
# {
|
2210
|
+
# schema_arn: "arn:aws:clouddirectory:us-west-2:45132example:schema/development/exampleorgtest",
|
2211
|
+
# }
|
2212
|
+
#
|
1894
2213
|
# @example Request syntax with placeholder values
|
1895
2214
|
#
|
1896
2215
|
# resp = client.delete_schema({
|
@@ -1925,6 +2244,18 @@ module Aws::CloudDirectory
|
|
1925
2244
|
#
|
1926
2245
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1927
2246
|
#
|
2247
|
+
#
|
2248
|
+
# @example Example: To delete a typed link facet
|
2249
|
+
#
|
2250
|
+
# resp = client.delete_typed_link_facet({
|
2251
|
+
# name: "ExampleFacet",
|
2252
|
+
# schema_arn: "arn:aws:clouddirectory:us-west-2:45132example:schema/development/typedlinkschematest",
|
2253
|
+
# })
|
2254
|
+
#
|
2255
|
+
# resp.to_h outputs the following:
|
2256
|
+
# {
|
2257
|
+
# }
|
2258
|
+
#
|
1928
2259
|
# @example Request syntax with placeholder values
|
1929
2260
|
#
|
1930
2261
|
# resp = client.delete_typed_link_facet({
|
@@ -1957,6 +2288,24 @@ module Aws::CloudDirectory
|
|
1957
2288
|
#
|
1958
2289
|
# * {Types::DetachFromIndexResponse#detached_object_identifier #detached_object_identifier} => String
|
1959
2290
|
#
|
2291
|
+
#
|
2292
|
+
# @example Example: To detach an object from an index
|
2293
|
+
#
|
2294
|
+
# resp = client.detach_from_index({
|
2295
|
+
# directory_arn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY",
|
2296
|
+
# index_reference: {
|
2297
|
+
# selector: "$AQGG_ADlfNZBzYHY_JgDt3TW45F26R1HTY2z-stwKBte_Q",
|
2298
|
+
# },
|
2299
|
+
# target_reference: {
|
2300
|
+
# selector: "$AQGG_ADlfNZBzYHY_JgDt3TWcU7IARvOTeaR09zme1sVsw",
|
2301
|
+
# },
|
2302
|
+
# })
|
2303
|
+
#
|
2304
|
+
# resp.to_h outputs the following:
|
2305
|
+
# {
|
2306
|
+
# detached_object_identifier: "AQGG_ADlfNZBzYHY_JgDt3TWcU7IARvOTeaR09zme1sVsw",
|
2307
|
+
# }
|
2308
|
+
#
|
1960
2309
|
# @example Request syntax with placeholder values
|
1961
2310
|
#
|
1962
2311
|
# resp = client.detach_from_index({
|
@@ -2000,6 +2349,22 @@ module Aws::CloudDirectory
|
|
2000
2349
|
#
|
2001
2350
|
# * {Types::DetachObjectResponse#detached_object_identifier #detached_object_identifier} => String
|
2002
2351
|
#
|
2352
|
+
#
|
2353
|
+
# @example Example: To detach an object from its parent object
|
2354
|
+
#
|
2355
|
+
# resp = client.detach_object({
|
2356
|
+
# directory_arn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY",
|
2357
|
+
# link_name: "link2",
|
2358
|
+
# parent_reference: {
|
2359
|
+
# selector: "$AQGG_ADlfNZBzYHY_JgDt3TWcU7IARvOTeaR09zme1sVsw",
|
2360
|
+
# },
|
2361
|
+
# })
|
2362
|
+
#
|
2363
|
+
# resp.to_h outputs the following:
|
2364
|
+
# {
|
2365
|
+
# detached_object_identifier: "AQGG_ADlfNZBzYHY_JgDt3TWSvfuEnDqTdmeCuTs6YBNUA",
|
2366
|
+
# }
|
2367
|
+
#
|
2003
2368
|
# @example Request syntax with placeholder values
|
2004
2369
|
#
|
2005
2370
|
# resp = client.detach_object({
|
@@ -2038,6 +2403,23 @@ module Aws::CloudDirectory
|
|
2038
2403
|
#
|
2039
2404
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2040
2405
|
#
|
2406
|
+
#
|
2407
|
+
# @example Example: To detach a policy from an object
|
2408
|
+
#
|
2409
|
+
# resp = client.detach_policy({
|
2410
|
+
# directory_arn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY",
|
2411
|
+
# object_reference: {
|
2412
|
+
# selector: "$AQGG_ADlfNZBzYHY_JgDt3TWQoovm1s3Ts2v0NKrzdVnPw",
|
2413
|
+
# },
|
2414
|
+
# policy_reference: {
|
2415
|
+
# selector: "$AQGG_ADlfNZBzYHY_JgDt3TWgcBsTVmcQEWs6jlygfhuew",
|
2416
|
+
# },
|
2417
|
+
# })
|
2418
|
+
#
|
2419
|
+
# resp.to_h outputs the following:
|
2420
|
+
# {
|
2421
|
+
# }
|
2422
|
+
#
|
2041
2423
|
# @example Request syntax with placeholder values
|
2042
2424
|
#
|
2043
2425
|
# resp = client.detach_policy({
|
@@ -2075,6 +2457,33 @@ module Aws::CloudDirectory
|
|
2075
2457
|
#
|
2076
2458
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2077
2459
|
#
|
2460
|
+
#
|
2461
|
+
# @example Example: To detach a typed link from an object
|
2462
|
+
#
|
2463
|
+
# resp = client.detach_typed_link({
|
2464
|
+
# directory_arn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY",
|
2465
|
+
# typed_link_specifier: {
|
2466
|
+
# identity_attribute_values: [
|
2467
|
+
# {
|
2468
|
+
# attribute_name: "22",
|
2469
|
+
# value: {
|
2470
|
+
# binary_value: "c3Ry",
|
2471
|
+
# },
|
2472
|
+
# },
|
2473
|
+
# ],
|
2474
|
+
# source_object_reference: {
|
2475
|
+
# selector: "$AQGG_ADlfNZBzYHY_JgDt3TWSvfuEnDqTdmeCuTs6YBNUA",
|
2476
|
+
# },
|
2477
|
+
# target_object_reference: {
|
2478
|
+
# selector: "$AQGG_ADlfNZBzYHY_JgDt3TWcU7IARvOTeaR09zme1sVsw",
|
2479
|
+
# },
|
2480
|
+
# typed_link_facet: {
|
2481
|
+
# schema_arn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY/schema/org/1",
|
2482
|
+
# typed_link_name: "exampletypedlink8",
|
2483
|
+
# },
|
2484
|
+
# },
|
2485
|
+
# })
|
2486
|
+
#
|
2078
2487
|
# @example Request syntax with placeholder values
|
2079
2488
|
#
|
2080
2489
|
# resp = client.detach_typed_link({
|
@@ -2125,6 +2534,18 @@ module Aws::CloudDirectory
|
|
2125
2534
|
#
|
2126
2535
|
# * {Types::DisableDirectoryResponse#directory_arn #directory_arn} => String
|
2127
2536
|
#
|
2537
|
+
#
|
2538
|
+
# @example Example: To disable a directory
|
2539
|
+
#
|
2540
|
+
# resp = client.disable_directory({
|
2541
|
+
# directory_arn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AXQXDXvdgkOWktRXV4HnRa8",
|
2542
|
+
# })
|
2543
|
+
#
|
2544
|
+
# resp.to_h outputs the following:
|
2545
|
+
# {
|
2546
|
+
# directory_arn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AXQXDXvdgkOWktRXV4HnRa8",
|
2547
|
+
# }
|
2548
|
+
#
|
2128
2549
|
# @example Request syntax with placeholder values
|
2129
2550
|
#
|
2130
2551
|
# resp = client.disable_directory({
|
@@ -2154,6 +2575,18 @@ module Aws::CloudDirectory
|
|
2154
2575
|
#
|
2155
2576
|
# * {Types::EnableDirectoryResponse#directory_arn #directory_arn} => String
|
2156
2577
|
#
|
2578
|
+
#
|
2579
|
+
# @example Example: To enable a disabled directory
|
2580
|
+
#
|
2581
|
+
# resp = client.enable_directory({
|
2582
|
+
# directory_arn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AXQXDXvdgkOWktRXV4HnRa8",
|
2583
|
+
# })
|
2584
|
+
#
|
2585
|
+
# resp.to_h outputs the following:
|
2586
|
+
# {
|
2587
|
+
# directory_arn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AXQXDXvdgkOWktRXV4HnRa8",
|
2588
|
+
# }
|
2589
|
+
#
|
2157
2590
|
# @example Request syntax with placeholder values
|
2158
2591
|
#
|
2159
2592
|
# resp = client.enable_directory({
|
@@ -2211,6 +2644,23 @@ module Aws::CloudDirectory
|
|
2211
2644
|
#
|
2212
2645
|
# * {Types::GetDirectoryResponse#directory #directory} => Types::Directory
|
2213
2646
|
#
|
2647
|
+
#
|
2648
|
+
# @example Example: To get information about a directory
|
2649
|
+
#
|
2650
|
+
# resp = client.get_directory({
|
2651
|
+
# directory_arn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY",
|
2652
|
+
# })
|
2653
|
+
#
|
2654
|
+
# resp.to_h outputs the following:
|
2655
|
+
# {
|
2656
|
+
# directory: {
|
2657
|
+
# creation_date_time: Time.parse(1506115781.186),
|
2658
|
+
# directory_arn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY",
|
2659
|
+
# name: "ExampleCD",
|
2660
|
+
# state: "ENABLED",
|
2661
|
+
# },
|
2662
|
+
# }
|
2663
|
+
#
|
2214
2664
|
# @example Request syntax with placeholder values
|
2215
2665
|
#
|
2216
2666
|
# resp = client.get_directory({
|
@@ -2248,6 +2698,22 @@ module Aws::CloudDirectory
|
|
2248
2698
|
#
|
2249
2699
|
# * {Types::GetFacetResponse#facet #facet} => Types::Facet
|
2250
2700
|
#
|
2701
|
+
#
|
2702
|
+
# @example Example: To get information about a facet
|
2703
|
+
#
|
2704
|
+
# resp = client.get_facet({
|
2705
|
+
# name: "node2",
|
2706
|
+
# schema_arn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY/schema/org/1",
|
2707
|
+
# })
|
2708
|
+
#
|
2709
|
+
# resp.to_h outputs the following:
|
2710
|
+
# {
|
2711
|
+
# facet: {
|
2712
|
+
# name: "node2",
|
2713
|
+
# object_type: "NODE",
|
2714
|
+
# },
|
2715
|
+
# }
|
2716
|
+
#
|
2251
2717
|
# @example Request syntax with placeholder values
|
2252
2718
|
#
|
2253
2719
|
# resp = client.get_facet({
|
@@ -2426,6 +2892,28 @@ module Aws::CloudDirectory
|
|
2426
2892
|
# * {Types::GetObjectInformationResponse#schema_facets #schema_facets} => Array<Types::SchemaFacet>
|
2427
2893
|
# * {Types::GetObjectInformationResponse#object_identifier #object_identifier} => String
|
2428
2894
|
#
|
2895
|
+
#
|
2896
|
+
# @example Example: To get information about an object
|
2897
|
+
#
|
2898
|
+
# resp = client.get_object_information({
|
2899
|
+
# consistency_level: "SERIALIZABLE",
|
2900
|
+
# directory_arn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY",
|
2901
|
+
# object_reference: {
|
2902
|
+
# selector: "$AQGG_ADlfNZBzYHY_JgDt3TWmspn1fxfQmSQaaVKSbvEiQ",
|
2903
|
+
# },
|
2904
|
+
# })
|
2905
|
+
#
|
2906
|
+
# resp.to_h outputs the following:
|
2907
|
+
# {
|
2908
|
+
# object_identifier: "AQGG_ADlfNZBzYHY_JgDt3TWmspn1fxfQmSQaaVKSbvEiQ",
|
2909
|
+
# schema_facets: [
|
2910
|
+
# {
|
2911
|
+
# facet_name: "node2",
|
2912
|
+
# schema_arn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY/schema/org/1",
|
2913
|
+
# },
|
2914
|
+
# ],
|
2915
|
+
# }
|
2916
|
+
#
|
2429
2917
|
# @example Request syntax with placeholder values
|
2430
2918
|
#
|
2431
2919
|
# resp = client.get_object_information({
|
@@ -2467,6 +2955,19 @@ module Aws::CloudDirectory
|
|
2467
2955
|
# * {Types::GetSchemaAsJsonResponse#name #name} => String
|
2468
2956
|
# * {Types::GetSchemaAsJsonResponse#document #document} => String
|
2469
2957
|
#
|
2958
|
+
#
|
2959
|
+
# @example Example: To get schema information and display it in JSON format
|
2960
|
+
#
|
2961
|
+
# resp = client.get_schema_as_json({
|
2962
|
+
# schema_arn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY/schema/org/1",
|
2963
|
+
# })
|
2964
|
+
#
|
2965
|
+
# resp.to_h outputs the following:
|
2966
|
+
# {
|
2967
|
+
# document: "{\"sourceSchemaArn\":\"arn:aws:clouddirectory:us-west-2:45132example:schema/published/org/1\",\"facets\":{\"node2\":{\"facetAttributes\":{},\"objectType\":\"NODE\"},\"Organization\":{\"facetAttributes\":{\"account_id\":{\"attributeDefinition\":{\"attributeType\":\"STRING\",\"isImmutable\":false,\"attributeRules\":{\"nameLength\":{\"parameters\":{\"min\":\"1\",\"max\":\"1024\"},\"ruleType\":\"STRING_LENGTH\"}}},\"requiredBehavior\":\"NOT_REQUIRED\"},\"account_name\":{\"attributeDefinition\":{\"attributeType\":\"STRING\",\"isImmutable\":false,\"attributeRules\":{\"nameLength\":{\"parameters\":{\"min\":\"1\",\"max\":\"1024\"},\"ruleType\":\"STRING_LENGTH\"}}},\"requiredBehavior\":\"NOT_REQUIRED\"},\"telephone_number\":{\"attributeDefinition\":{\"attributeType\":\"STRING\",\"isImmutable\":false,\"attributeRules\":{\"nameLength\":{\"parameters\":{\"min\":\"1\",\"max\":\"1024\"},\"ruleType\":\"STRING_LENGTH\"}}},\"requiredBehavior\":\"NOT_REQUIRED\"},\"description\":{\"attributeDefinition\":{\"attributeType\":\"STRING\",\"isImmutable\":false,\"attributeRules\":{\"nameLength\":{\"parameters\":{\"min\":\"1\",\"max\":\"1024\"},\"ruleType\":\"STRING_LENGTH\"}}},\"requiredBehavior\":\"NOT_REQUIRED\"},\"mailing_address_country\":{\"attributeDefinition\":{\"attributeType\":\"STRING\",\"isImmutable\":false,\"attributeRules\":{\"nameLength\":{\"parameters\":{\"min\":\"1\",\"max\":\"1024\"},\"ruleType\":\"STRING_LENGTH\"}}},\"requiredBehavior\":\"NOT_REQUIRED\"},\"mailing_address_state\":{\"attributeDefinition\":{\"attributeType\":\"STRING\",\"isImmutable\":false,\"attributeRules\":{\"nameLength\":{\"parameters\":{\"min\":\"1\",\"max\":\"1024\"},\"ruleType\":\"STRING_LENGTH\"}}},\"requiredBehavior\":\"NOT_REQUIRED\"},\"mailing_address_street2\":{\"attributeDefinition\":{\"attributeType\":\"STRING\",\"isImmutable\":false,\"attributeRules\":{\"nameLength\":{\"parameters\":{\"min\":\"1\",\"max\":\"1024\"},\"ruleType\":\"STRING_LENGTH\"}}},\"requiredBehavior\":\"NOT_REQUIRED\"},\"mailing_address_street1\":{\"attributeDefinition\":{\"attributeType\":\"STRING\",\"isImmutable\":false,\"attributeRules\":{\"nameLength\":{\"parameters\":{\"min\":\"1\",\"max\":\"1024\"},\"ruleType\":\"STRING_LENGTH\"}}},\"requiredBehavior\":\"NOT_REQUIRED\"},\"web_site\":{\"attributeDefinition\":{\"attributeType\":\"STRING\",\"isImmutable\":false,\"attributeRules\":{\"nameLength\":{\"parameters\":{\"min\":\"1\",\"max\":\"1024\"},\"ruleType\":\"STRING_LENGTH\"}}},\"requiredBehavior\":\"NOT_REQUIRED\"},\"email\":{\"attributeDefinition\":{\"attributeType\":\"STRING\",\"isImmutable\":false,\"attributeRules\":{\"nameLength\":{\"parameters\":{\"min\":\"1\",\"max\":\"1024\"},\"ruleType\":\"STRING_LENGTH\"}}},\"requiredBehavior\":\"NOT_REQUIRED\"},\"mailing_address_city\":{\"attributeDefinition\":{\"attributeType\":\"STRING\",\"isImmutable\":false,\"attributeRules\":{\"nameLength\":{\"parameters\":{\"min\":\"1\",\"max\":\"1024\"},\"ruleType\":\"STRING_LENGTH\"}}},\"requiredBehavior\":\"NOT_REQUIRED\"},\"organization_status\":{\"attributeDefinition\":{\"attributeType\":\"STRING\",\"isImmutable\":false,\"attributeRules\":{\"nameLength\":{\"parameters\":{\"min\":\"1\",\"max\":\"1024\"},\"ruleType\":\"STRING_LENGTH\"}}},\"requiredBehavior\":\"NOT_REQUIRED\"},\"mailing_address_postal_code\":{\"attributeDefinition\":{\"attributeType\":\"STRING\",\"isImmutable\":false,\"attributeRules\":{\"nameLength\":{\"parameters\":{\"min\":\"1\",\"max\":\"1024\"},\"ruleType\":\"STRING_LENGTH\"}}},\"requiredBehavior\":\"NOT_REQUIRED\"}},\"objectType\":\"LEAF_NODE\"},\"nodex\":{\"facetAttributes\":{},\"objectType\":\"NODE\"},\"Legal_Entity\":{\"facetAttributes\":{\"industry_vertical\":{\"attributeDefinition\":{\"attributeType\":\"STRING\",\"isImmutable\":false,\"attributeRules\":{\"nameLength\":{\"parameters\":{\"min\":\"1\",\"max\":\"1024\"},\"ruleType\":\"STRING_LENGTH\"}}},\"requiredBehavior\":\"NOT_REQUIRED\"},\"registered_company_name\":{\"attributeDefinition\":{\"attributeType\":\"STRING\",\"isImmutable\":false,\"attributeRules\":{\"nameLength\":{\"parameters\":{\"min\":\"1\",\"max\":\"1024\"},\"ruleType\":\"STRING_LENGTH\"}}},\"requiredBehavior\":\"NOT_REQUIRED\"},\"billing_currency\":{\"attributeDefinition\":{\"attributeType\":\"STRING\",\"isImmutable\":false,\"attributeRules\":{\"nameLength\":{\"parameters\":{\"min\":\"1\",\"max\":\"1024\"},\"ruleType\":\"STRING_LENGTH\"}}},\"requiredBehavior\":\"NOT_REQUIRED\"},\"mailing_address_country\":{\"attributeDefinition\":{\"attributeType\":\"STRING\",\"isImmutable\":false,\"attributeRules\":{\"nameLength\":{\"parameters\":{\"min\":\"1\",\"max\":\"1024\"},\"ruleType\":\"STRING_LENGTH\"}}},\"requiredBehavior\":\"NOT_REQUIRED\"},\"mailing_address_state\":{\"attributeDefinition\":{\"attributeType\":\"STRING\",\"isImmutable\":false,\"attributeRules\":{\"nameLength\":{\"parameters\":{\"min\":\"1\",\"max\":\"1024\"},\"ruleType\":\"STRING_LENGTH\"}}},\"requiredBehavior\":\"NOT_REQUIRED\"},\"mailing_address_street2\":{\"attributeDefinition\":{\"attributeType\":\"STRING\",\"isImmutable\":false,\"attributeRules\":{\"nameLength\":{\"parameters\":{\"min\":\"1\",\"max\":\"1024\"},\"ruleType\":\"STRING_LENGTH\"}}},\"requiredBehavior\":\"NOT_REQUIRED\"},\"mailing_address_street1\":{\"attributeDefinition\":{\"attributeType\":\"STRING\",\"isImmutable\":false,\"attributeRules\":{\"nameLength\":{\"parameters\":{\"min\":\"1\",\"max\":\"1024\"},\"ruleType\":\"STRING_LENGTH\"}}},\"requiredBehavior\":\"NOT_REQUIRED\"},\"tax_id\":{\"attributeDefinition\":{\"attributeType\":\"STRING\",\"isImmutable\":false,\"attributeRules\":{\"nameLength\":{\"parameters\":{\"min\":\"1\",\"max\":\"1024\"},\"ruleType\":\"STRING_LENGTH\"}}},\"requiredBehavior\":\"NOT_REQUIRED\"},\"mailing_address_city\":{\"attributeDefinition\":{\"attributeType\":\"STRING\",\"isImmutable\":false,\"attributeRules\":{\"nameLength\":{\"parameters\":{\"min\":\"1\",\"max\":\"1024\"},\"ruleType\":\"STRING_LENGTH\"}}},\"requiredBehavior\":\"NOT_REQUIRED\"},\"mailing_address_postal_code\":{\"attributeDefinition\":{\"attributeType\":\"STRING\",\"isImmutable\":false,\"attributeRules\":{\"nameLength\":{\"parameters\":{\"min\":\"1\",\"max\":\"1024\"},\"ruleType\":\"STRING_LENGTH\"}}},\"requiredBehavior\":\"NOT_REQUIRED\"}},\"objectType\":\"LEAF_NODE\"},\"policyfacet\":{\"facetAttributes\":{},\"objectType\":\"POLICY\"},\"node1\":{\"facetAttributes\":{},\"objectType\":\"NODE\"}},\"typedLinkFacets\":{\"exampletypedlink\":{\"facetAttributes\":{\"1\":{\"attributeDefinition\":{\"attributeType\":\"BINARY\",\"isImmutable\":false,\"attributeRules\":{}},\"requiredBehavior\":\"REQUIRED_ALWAYS\"}},\"identityAttributeOrder\":[\"1\"]},\"exampletypedlink8\":{\"facetAttributes\":{\"22\":{\"attributeDefinition\":{\"attributeType\":\"BINARY\",\"isImmutable\":false,\"attributeRules\":{}},\"requiredBehavior\":\"REQUIRED_ALWAYS\"}},\"identityAttributeOrder\":[\"22\"]}}}",
|
2968
|
+
# name: "org",
|
2969
|
+
# }
|
2970
|
+
#
|
2470
2971
|
# @example Request syntax with placeholder values
|
2471
2972
|
#
|
2472
2973
|
# resp = client.get_schema_as_json({
|
@@ -2505,6 +3006,21 @@ module Aws::CloudDirectory
|
|
2505
3006
|
#
|
2506
3007
|
# * {Types::GetTypedLinkFacetInformationResponse#identity_attribute_order #identity_attribute_order} => Array<String>
|
2507
3008
|
#
|
3009
|
+
#
|
3010
|
+
# @example Example: To get information about a typed link facet
|
3011
|
+
#
|
3012
|
+
# resp = client.get_typed_link_facet_information({
|
3013
|
+
# name: "exampletypedlink8",
|
3014
|
+
# schema_arn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY/schema/org/1",
|
3015
|
+
# })
|
3016
|
+
#
|
3017
|
+
# resp.to_h outputs the following:
|
3018
|
+
# {
|
3019
|
+
# identity_attribute_order: [
|
3020
|
+
# "22",
|
3021
|
+
# ],
|
3022
|
+
# }
|
3023
|
+
#
|
2508
3024
|
# @example Request syntax with placeholder values
|
2509
3025
|
#
|
2510
3026
|
# resp = client.get_typed_link_facet_information({
|
@@ -2549,6 +3065,20 @@ module Aws::CloudDirectory
|
|
2549
3065
|
#
|
2550
3066
|
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2551
3067
|
#
|
3068
|
+
#
|
3069
|
+
# @example Example: To list applied schema ARNs for a specified directory
|
3070
|
+
#
|
3071
|
+
# resp = client.list_applied_schema_arns({
|
3072
|
+
# directory_arn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY",
|
3073
|
+
# })
|
3074
|
+
#
|
3075
|
+
# resp.to_h outputs the following:
|
3076
|
+
# {
|
3077
|
+
# schema_arns: [
|
3078
|
+
# "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY/schema/org/1",
|
3079
|
+
# ],
|
3080
|
+
# }
|
3081
|
+
#
|
2552
3082
|
# @example Request syntax with placeholder values
|
2553
3083
|
#
|
2554
3084
|
# resp = client.list_applied_schema_arns({
|
@@ -2597,6 +3127,27 @@ module Aws::CloudDirectory
|
|
2597
3127
|
#
|
2598
3128
|
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2599
3129
|
#
|
3130
|
+
#
|
3131
|
+
# @example Example: To list the indices attached to an object
|
3132
|
+
#
|
3133
|
+
# resp = client.list_attached_indices({
|
3134
|
+
# directory_arn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY",
|
3135
|
+
# target_reference: {
|
3136
|
+
# selector: "$AQGG_ADlfNZBzYHY_JgDt3TWcU7IARvOTeaR09zme1sVsw",
|
3137
|
+
# },
|
3138
|
+
# })
|
3139
|
+
#
|
3140
|
+
# resp.to_h outputs the following:
|
3141
|
+
# {
|
3142
|
+
# index_attachments: [
|
3143
|
+
# {
|
3144
|
+
# indexed_attributes: [
|
3145
|
+
# ],
|
3146
|
+
# object_identifier: "AQGG_ADlfNZBzYHY_JgDt3TW45F26R1HTY2z-stwKBte_Q",
|
3147
|
+
# },
|
3148
|
+
# ],
|
3149
|
+
# }
|
3150
|
+
#
|
2600
3151
|
# @example Request syntax with placeholder values
|
2601
3152
|
#
|
2602
3153
|
# resp = client.list_attached_indices({
|
@@ -2649,6 +3200,24 @@ module Aws::CloudDirectory
|
|
2649
3200
|
#
|
2650
3201
|
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2651
3202
|
#
|
3203
|
+
#
|
3204
|
+
# @example Example: To list all development schema arns in your AWS account
|
3205
|
+
#
|
3206
|
+
# resp = client.list_development_schema_arns({
|
3207
|
+
# })
|
3208
|
+
#
|
3209
|
+
# resp.to_h outputs the following:
|
3210
|
+
# {
|
3211
|
+
# schema_arns: [
|
3212
|
+
# "arn:aws:clouddirectory:us-west-2:45132example:schema/development/typedlinkschematest",
|
3213
|
+
# "arn:aws:clouddirectory:us-west-2:45132example:schema/development/testCDschema",
|
3214
|
+
# "arn:aws:clouddirectory:us-west-2:45132example:schema/development/Customers",
|
3215
|
+
# "arn:aws:clouddirectory:us-west-2:45132example:schema/development/CourseCatalog",
|
3216
|
+
# "arn:aws:clouddirectory:us-west-2:45132example:schema/development/Consumers",
|
3217
|
+
# "arn:aws:clouddirectory:us-west-2:45132example:schema/development/exampleorg",
|
3218
|
+
# ],
|
3219
|
+
# }
|
3220
|
+
#
|
2652
3221
|
# @example Request syntax with placeholder values
|
2653
3222
|
#
|
2654
3223
|
# resp = client.list_development_schema_arns({
|
@@ -2690,6 +3259,48 @@ module Aws::CloudDirectory
|
|
2690
3259
|
#
|
2691
3260
|
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2692
3261
|
#
|
3262
|
+
#
|
3263
|
+
# @example Example: To list all directories in your AWS account
|
3264
|
+
#
|
3265
|
+
# resp = client.list_directories({
|
3266
|
+
# })
|
3267
|
+
#
|
3268
|
+
# resp.to_h outputs the following:
|
3269
|
+
# {
|
3270
|
+
# directories: [
|
3271
|
+
# {
|
3272
|
+
# creation_date_time: Time.parse(1506121791.167),
|
3273
|
+
# directory_arn: "arn:aws:clouddirectory:us-west-2:45132example:directory/Ae89hOKmw0bRpvYgW8EAsus",
|
3274
|
+
# name: "ExampleCD4",
|
3275
|
+
# state: "ENABLED",
|
3276
|
+
# },
|
3277
|
+
# {
|
3278
|
+
# creation_date_time: Time.parse(1485473189.746),
|
3279
|
+
# directory_arn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AXQXDXvdgkOWktRXV4HnRa8",
|
3280
|
+
# name: "testCD",
|
3281
|
+
# state: "DELETED",
|
3282
|
+
# },
|
3283
|
+
# {
|
3284
|
+
# creation_date_time: Time.parse(1506115781.186),
|
3285
|
+
# directory_arn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY",
|
3286
|
+
# name: "ExampleCD",
|
3287
|
+
# state: "ENABLED",
|
3288
|
+
# },
|
3289
|
+
# {
|
3290
|
+
# creation_date_time: Time.parse(1506118003.859),
|
3291
|
+
# directory_arn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AfMr4qym1kZTvwqOafAYfqI",
|
3292
|
+
# name: "ExampleCD2",
|
3293
|
+
# state: "ENABLED",
|
3294
|
+
# },
|
3295
|
+
# {
|
3296
|
+
# creation_date_time: Time.parse(1485477107.925),
|
3297
|
+
# directory_arn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AWeI1yjiB0SylWVTvQklCD0",
|
3298
|
+
# name: "testCD2",
|
3299
|
+
# state: "DELETED",
|
3300
|
+
# },
|
3301
|
+
# ],
|
3302
|
+
# }
|
3303
|
+
#
|
2693
3304
|
# @example Request syntax with placeholder values
|
2694
3305
|
#
|
2695
3306
|
# resp = client.list_directories({
|
@@ -2737,6 +3348,191 @@ module Aws::CloudDirectory
|
|
2737
3348
|
#
|
2738
3349
|
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2739
3350
|
#
|
3351
|
+
#
|
3352
|
+
# @example Example: To list facet attributes
|
3353
|
+
#
|
3354
|
+
# resp = client.list_facet_attributes({
|
3355
|
+
# name: "Organization",
|
3356
|
+
# schema_arn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY/schema/org/1",
|
3357
|
+
# })
|
3358
|
+
#
|
3359
|
+
# resp.to_h outputs the following:
|
3360
|
+
# {
|
3361
|
+
# attributes: [
|
3362
|
+
# {
|
3363
|
+
# attribute_definition: {
|
3364
|
+
# is_immutable: false,
|
3365
|
+
# rules: {
|
3366
|
+
# "nameLength" => {
|
3367
|
+
# parameters: {
|
3368
|
+
# "max" => "1024",
|
3369
|
+
# "min" => "1",
|
3370
|
+
# },
|
3371
|
+
# type: "STRING_LENGTH",
|
3372
|
+
# },
|
3373
|
+
# },
|
3374
|
+
# type: "STRING",
|
3375
|
+
# },
|
3376
|
+
# name: "account_id",
|
3377
|
+
# required_behavior: "NOT_REQUIRED",
|
3378
|
+
# },
|
3379
|
+
# {
|
3380
|
+
# attribute_definition: {
|
3381
|
+
# is_immutable: false,
|
3382
|
+
# rules: {
|
3383
|
+
# "nameLength" => {
|
3384
|
+
# parameters: {
|
3385
|
+
# "max" => "1024",
|
3386
|
+
# "min" => "1",
|
3387
|
+
# },
|
3388
|
+
# type: "STRING_LENGTH",
|
3389
|
+
# },
|
3390
|
+
# },
|
3391
|
+
# type: "STRING",
|
3392
|
+
# },
|
3393
|
+
# name: "account_name",
|
3394
|
+
# required_behavior: "NOT_REQUIRED",
|
3395
|
+
# },
|
3396
|
+
# {
|
3397
|
+
# attribute_definition: {
|
3398
|
+
# is_immutable: false,
|
3399
|
+
# rules: {
|
3400
|
+
# "nameLength" => {
|
3401
|
+
# parameters: {
|
3402
|
+
# "max" => "1024",
|
3403
|
+
# "min" => "1",
|
3404
|
+
# },
|
3405
|
+
# type: "STRING_LENGTH",
|
3406
|
+
# },
|
3407
|
+
# },
|
3408
|
+
# type: "STRING",
|
3409
|
+
# },
|
3410
|
+
# name: "description",
|
3411
|
+
# required_behavior: "NOT_REQUIRED",
|
3412
|
+
# },
|
3413
|
+
# {
|
3414
|
+
# attribute_definition: {
|
3415
|
+
# is_immutable: false,
|
3416
|
+
# rules: {
|
3417
|
+
# "nameLength" => {
|
3418
|
+
# parameters: {
|
3419
|
+
# "max" => "1024",
|
3420
|
+
# "min" => "1",
|
3421
|
+
# },
|
3422
|
+
# type: "STRING_LENGTH",
|
3423
|
+
# },
|
3424
|
+
# },
|
3425
|
+
# type: "STRING",
|
3426
|
+
# },
|
3427
|
+
# name: "email",
|
3428
|
+
# required_behavior: "NOT_REQUIRED",
|
3429
|
+
# },
|
3430
|
+
# {
|
3431
|
+
# attribute_definition: {
|
3432
|
+
# is_immutable: false,
|
3433
|
+
# rules: {
|
3434
|
+
# "nameLength" => {
|
3435
|
+
# parameters: {
|
3436
|
+
# "max" => "1024",
|
3437
|
+
# "min" => "1",
|
3438
|
+
# },
|
3439
|
+
# type: "STRING_LENGTH",
|
3440
|
+
# },
|
3441
|
+
# },
|
3442
|
+
# type: "STRING",
|
3443
|
+
# },
|
3444
|
+
# name: "mailing_address_city",
|
3445
|
+
# required_behavior: "NOT_REQUIRED",
|
3446
|
+
# },
|
3447
|
+
# {
|
3448
|
+
# attribute_definition: {
|
3449
|
+
# is_immutable: false,
|
3450
|
+
# rules: {
|
3451
|
+
# "nameLength" => {
|
3452
|
+
# parameters: {
|
3453
|
+
# "max" => "1024",
|
3454
|
+
# "min" => "1",
|
3455
|
+
# },
|
3456
|
+
# type: "STRING_LENGTH",
|
3457
|
+
# },
|
3458
|
+
# },
|
3459
|
+
# type: "STRING",
|
3460
|
+
# },
|
3461
|
+
# name: "mailing_address_country",
|
3462
|
+
# required_behavior: "NOT_REQUIRED",
|
3463
|
+
# },
|
3464
|
+
# {
|
3465
|
+
# attribute_definition: {
|
3466
|
+
# is_immutable: false,
|
3467
|
+
# rules: {
|
3468
|
+
# "nameLength" => {
|
3469
|
+
# parameters: {
|
3470
|
+
# "max" => "1024",
|
3471
|
+
# "min" => "1",
|
3472
|
+
# },
|
3473
|
+
# type: "STRING_LENGTH",
|
3474
|
+
# },
|
3475
|
+
# },
|
3476
|
+
# type: "STRING",
|
3477
|
+
# },
|
3478
|
+
# name: "mailing_address_postal_code",
|
3479
|
+
# required_behavior: "NOT_REQUIRED",
|
3480
|
+
# },
|
3481
|
+
# {
|
3482
|
+
# attribute_definition: {
|
3483
|
+
# is_immutable: false,
|
3484
|
+
# rules: {
|
3485
|
+
# "nameLength" => {
|
3486
|
+
# parameters: {
|
3487
|
+
# "max" => "1024",
|
3488
|
+
# "min" => "1",
|
3489
|
+
# },
|
3490
|
+
# type: "STRING_LENGTH",
|
3491
|
+
# },
|
3492
|
+
# },
|
3493
|
+
# type: "STRING",
|
3494
|
+
# },
|
3495
|
+
# name: "mailing_address_state",
|
3496
|
+
# required_behavior: "NOT_REQUIRED",
|
3497
|
+
# },
|
3498
|
+
# {
|
3499
|
+
# attribute_definition: {
|
3500
|
+
# is_immutable: false,
|
3501
|
+
# rules: {
|
3502
|
+
# "nameLength" => {
|
3503
|
+
# parameters: {
|
3504
|
+
# "max" => "1024",
|
3505
|
+
# "min" => "1",
|
3506
|
+
# },
|
3507
|
+
# type: "STRING_LENGTH",
|
3508
|
+
# },
|
3509
|
+
# },
|
3510
|
+
# type: "STRING",
|
3511
|
+
# },
|
3512
|
+
# name: "mailing_address_street1",
|
3513
|
+
# required_behavior: "NOT_REQUIRED",
|
3514
|
+
# },
|
3515
|
+
# {
|
3516
|
+
# attribute_definition: {
|
3517
|
+
# is_immutable: false,
|
3518
|
+
# rules: {
|
3519
|
+
# "nameLength" => {
|
3520
|
+
# parameters: {
|
3521
|
+
# "max" => "1024",
|
3522
|
+
# "min" => "1",
|
3523
|
+
# },
|
3524
|
+
# type: "STRING_LENGTH",
|
3525
|
+
# },
|
3526
|
+
# },
|
3527
|
+
# type: "STRING",
|
3528
|
+
# },
|
3529
|
+
# name: "mailing_address_street2",
|
3530
|
+
# required_behavior: "NOT_REQUIRED",
|
3531
|
+
# },
|
3532
|
+
# ],
|
3533
|
+
# next_token: "V0b3JnYW5pemF0aW9uX3N0YXR1cw==",
|
3534
|
+
# }
|
3535
|
+
#
|
2740
3536
|
# @example Request syntax with placeholder values
|
2741
3537
|
#
|
2742
3538
|
# resp = client.list_facet_attributes({
|
@@ -2793,6 +3589,25 @@ module Aws::CloudDirectory
|
|
2793
3589
|
#
|
2794
3590
|
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2795
3591
|
#
|
3592
|
+
#
|
3593
|
+
# @example Example: To list facet names
|
3594
|
+
#
|
3595
|
+
# resp = client.list_facet_names({
|
3596
|
+
# schema_arn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY/schema/org/1",
|
3597
|
+
# })
|
3598
|
+
#
|
3599
|
+
# resp.to_h outputs the following:
|
3600
|
+
# {
|
3601
|
+
# facet_names: [
|
3602
|
+
# "Legal_Entity",
|
3603
|
+
# "Organization",
|
3604
|
+
# "node1",
|
3605
|
+
# "node2",
|
3606
|
+
# "nodex",
|
3607
|
+
# "policyfacet",
|
3608
|
+
# ],
|
3609
|
+
# }
|
3610
|
+
#
|
2796
3611
|
# @example Request syntax with placeholder values
|
2797
3612
|
#
|
2798
3613
|
# resp = client.list_facet_names({
|
@@ -2856,6 +3671,83 @@ module Aws::CloudDirectory
|
|
2856
3671
|
# * {Types::ListIncomingTypedLinksResponse#link_specifiers #link_specifiers} => Array<Types::TypedLinkSpecifier>
|
2857
3672
|
# * {Types::ListIncomingTypedLinksResponse#next_token #next_token} => String
|
2858
3673
|
#
|
3674
|
+
#
|
3675
|
+
# @example Example: To list incoming typed links
|
3676
|
+
#
|
3677
|
+
# resp = client.list_incoming_typed_links({
|
3678
|
+
# directory_arn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY",
|
3679
|
+
# object_reference: {
|
3680
|
+
# selector: "$AQGG_ADlfNZBzYHY_JgDt3TWcU7IARvOTeaR09zme1sVsw",
|
3681
|
+
# },
|
3682
|
+
# })
|
3683
|
+
#
|
3684
|
+
# resp.to_h outputs the following:
|
3685
|
+
# {
|
3686
|
+
# link_specifiers: [
|
3687
|
+
# {
|
3688
|
+
# identity_attribute_values: [
|
3689
|
+
# {
|
3690
|
+
# attribute_name: "22",
|
3691
|
+
# value: {
|
3692
|
+
# binary_value: "",
|
3693
|
+
# },
|
3694
|
+
# },
|
3695
|
+
# ],
|
3696
|
+
# source_object_reference: {
|
3697
|
+
# selector: "$AQGG_ADlfNZBzYHY_JgDt3TWSvfuEnDqTdmeCuTs6YBNUA",
|
3698
|
+
# },
|
3699
|
+
# target_object_reference: {
|
3700
|
+
# selector: "$AQGG_ADlfNZBzYHY_JgDt3TWcU7IARvOTeaR09zme1sVsw",
|
3701
|
+
# },
|
3702
|
+
# typed_link_facet: {
|
3703
|
+
# schema_arn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY/schema/org/1",
|
3704
|
+
# typed_link_name: "exampletypedlink8",
|
3705
|
+
# },
|
3706
|
+
# },
|
3707
|
+
# {
|
3708
|
+
# identity_attribute_values: [
|
3709
|
+
# {
|
3710
|
+
# attribute_name: "22",
|
3711
|
+
# value: {
|
3712
|
+
# binary_value: "MA==",
|
3713
|
+
# },
|
3714
|
+
# },
|
3715
|
+
# ],
|
3716
|
+
# source_object_reference: {
|
3717
|
+
# selector: "$AQGG_ADlfNZBzYHY_JgDt3TWSvfuEnDqTdmeCuTs6YBNUA",
|
3718
|
+
# },
|
3719
|
+
# target_object_reference: {
|
3720
|
+
# selector: "$AQGG_ADlfNZBzYHY_JgDt3TWcU7IARvOTeaR09zme1sVsw",
|
3721
|
+
# },
|
3722
|
+
# typed_link_facet: {
|
3723
|
+
# schema_arn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY/schema/org/1",
|
3724
|
+
# typed_link_name: "exampletypedlink8",
|
3725
|
+
# },
|
3726
|
+
# },
|
3727
|
+
# {
|
3728
|
+
# identity_attribute_values: [
|
3729
|
+
# {
|
3730
|
+
# attribute_name: "22",
|
3731
|
+
# value: {
|
3732
|
+
# binary_value: "c3Ry",
|
3733
|
+
# },
|
3734
|
+
# },
|
3735
|
+
# ],
|
3736
|
+
# source_object_reference: {
|
3737
|
+
# selector: "$AQGG_ADlfNZBzYHY_JgDt3TWSvfuEnDqTdmeCuTs6YBNUA",
|
3738
|
+
# },
|
3739
|
+
# target_object_reference: {
|
3740
|
+
# selector: "$AQGG_ADlfNZBzYHY_JgDt3TWcU7IARvOTeaR09zme1sVsw",
|
3741
|
+
# },
|
3742
|
+
# typed_link_facet: {
|
3743
|
+
# schema_arn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY/schema/org/1",
|
3744
|
+
# typed_link_name: "exampletypedlink8",
|
3745
|
+
# },
|
3746
|
+
# },
|
3747
|
+
# ],
|
3748
|
+
# next_token: "",
|
3749
|
+
# }
|
3750
|
+
#
|
2859
3751
|
# @example Request syntax with placeholder values
|
2860
3752
|
#
|
2861
3753
|
# resp = client.list_incoming_typed_links({
|
@@ -2953,6 +3845,36 @@ module Aws::CloudDirectory
|
|
2953
3845
|
#
|
2954
3846
|
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2955
3847
|
#
|
3848
|
+
#
|
3849
|
+
# @example Example: To list an index
|
3850
|
+
#
|
3851
|
+
# resp = client.list_index({
|
3852
|
+
# directory_arn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY",
|
3853
|
+
# index_reference: {
|
3854
|
+
# selector: "$AQGG_ADlfNZBzYHY_JgDt3TW45F26R1HTY2z-stwKBte_Q",
|
3855
|
+
# },
|
3856
|
+
# })
|
3857
|
+
#
|
3858
|
+
# resp.to_h outputs the following:
|
3859
|
+
# {
|
3860
|
+
# index_attachments: [
|
3861
|
+
# {
|
3862
|
+
# indexed_attributes: [
|
3863
|
+
# {
|
3864
|
+
# key: {
|
3865
|
+
# facet_name: "Organization",
|
3866
|
+
# name: "description",
|
3867
|
+
# schema_arn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY/schema/org/1",
|
3868
|
+
# },
|
3869
|
+
# value: {
|
3870
|
+
# },
|
3871
|
+
# },
|
3872
|
+
# ],
|
3873
|
+
# object_identifier: "AQGG_ADlfNZBzYHY_JgDt3TWcU7IARvOTeaR09zme1sVsw",
|
3874
|
+
# },
|
3875
|
+
# ],
|
3876
|
+
# }
|
3877
|
+
#
|
2956
3878
|
# @example Request syntax with placeholder values
|
2957
3879
|
#
|
2958
3880
|
# resp = client.list_index({
|
@@ -3093,6 +4015,42 @@ module Aws::CloudDirectory
|
|
3093
4015
|
#
|
3094
4016
|
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3095
4017
|
#
|
4018
|
+
#
|
4019
|
+
# @example Example: To list object attributes
|
4020
|
+
#
|
4021
|
+
# resp = client.list_object_attributes({
|
4022
|
+
# directory_arn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY",
|
4023
|
+
# object_reference: {
|
4024
|
+
# selector: "$AQGG_ADlfNZBzYHY_JgDt3TW45F26R1HTY2z-stwKBte_Q",
|
4025
|
+
# },
|
4026
|
+
# })
|
4027
|
+
#
|
4028
|
+
# resp.to_h outputs the following:
|
4029
|
+
# {
|
4030
|
+
# attributes: [
|
4031
|
+
# {
|
4032
|
+
# key: {
|
4033
|
+
# facet_name: "INDEX",
|
4034
|
+
# name: "index_is_unique",
|
4035
|
+
# schema_arn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY/schema/CloudDirectory/1.0",
|
4036
|
+
# },
|
4037
|
+
# value: {
|
4038
|
+
# boolean_value: true,
|
4039
|
+
# },
|
4040
|
+
# },
|
4041
|
+
# {
|
4042
|
+
# key: {
|
4043
|
+
# facet_name: "INDEX",
|
4044
|
+
# name: "ordered_indexed_attributes",
|
4045
|
+
# schema_arn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY/schema/CloudDirectory/1.0",
|
4046
|
+
# },
|
4047
|
+
# value: {
|
4048
|
+
# string_value: "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY/schema/org/1*Organization*description",
|
4049
|
+
# },
|
4050
|
+
# },
|
4051
|
+
# ],
|
4052
|
+
# }
|
4053
|
+
#
|
3096
4054
|
# @example Request syntax with placeholder values
|
3097
4055
|
#
|
3098
4056
|
# resp = client.list_object_attributes({
|
@@ -3161,6 +4119,23 @@ module Aws::CloudDirectory
|
|
3161
4119
|
#
|
3162
4120
|
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3163
4121
|
#
|
4122
|
+
#
|
4123
|
+
# @example Example: To list an objects children
|
4124
|
+
#
|
4125
|
+
# resp = client.list_object_children({
|
4126
|
+
# directory_arn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY",
|
4127
|
+
# object_reference: {
|
4128
|
+
# selector: "$AQGG_ADlfNZBzYHY_JgDt3TWcU7IARvOTeaR09zme1sVsw",
|
4129
|
+
# },
|
4130
|
+
# })
|
4131
|
+
#
|
4132
|
+
# resp.to_h outputs the following:
|
4133
|
+
# {
|
4134
|
+
# children: {
|
4135
|
+
# "link2" => "AQGG_ADlfNZBzYHY_JgDt3TWSvfuEnDqTdmeCuTs6YBNUA",
|
4136
|
+
# },
|
4137
|
+
# }
|
4138
|
+
#
|
3164
4139
|
# @example Request syntax with placeholder values
|
3165
4140
|
#
|
3166
4141
|
# resp = client.list_object_children({
|
@@ -4412,7 +5387,7 @@ module Aws::CloudDirectory
|
|
4412
5387
|
tracer: tracer
|
4413
5388
|
)
|
4414
5389
|
context[:gem_name] = 'aws-sdk-clouddirectory'
|
4415
|
-
context[:gem_version] = '1.
|
5390
|
+
context[:gem_version] = '1.68.0'
|
4416
5391
|
Seahorse::Client::Request.new(handlers, context)
|
4417
5392
|
end
|
4418
5393
|
|
@@ -32,8 +32,8 @@ module Aws::CloudDirectory
|
|
32
32
|
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
33
|
end
|
34
34
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
-
if Aws::Endpoints::Matchers.boolean_equals?(
|
36
|
-
if Aws::Endpoints::Matchers.string_equals?(
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
|
36
|
+
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov")
|
37
37
|
return Aws::Endpoints::Endpoint.new(url: "https://clouddirectory.#{region}.amazonaws.com", headers: {}, properties: {})
|
38
38
|
end
|
39
39
|
return Aws::Endpoints::Endpoint.new(url: "https://clouddirectory-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-clouddirectory
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.68.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-09-
|
11
|
+
date: 2024-09-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|