aws-sdk-directoryservice 1.83.0 → 1.84.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b71caf27144df09c8b51f56313b1a5c121185635b990ce3b365ee184b404bc4c
4
- data.tar.gz: eab37adb0947d86ca8f5675b8b2747486ec4d82da396975ca804ca92b68f7df6
3
+ metadata.gz: ab5ac9509f3969a852edeab48f440d2e6e7932c0c760402333ada1405edcf71b
4
+ data.tar.gz: 9a7277c7838c834c1c8400542a68b8aa2ee58cce40b1ef83791297387314390c
5
5
  SHA512:
6
- metadata.gz: 67cb917fcb0086d226aa3597c33c7dbec08542998da70e959835878d9fe8e23f8d9bd5e6ce2dc4c9e402beb5a1b330b63dd0ee883bf87c57964eaf6b7dc6ab39
7
- data.tar.gz: 58867ce5be8408997a0ffcd9d5a403474012fd025ab730f48aa6d6dd93652eeacd277f65458960402802c56b3ffcf0123edd6b1ead77519ed2e29ac9907be067
6
+ metadata.gz: 5d40d854172ec703381c8926b6ba59ec445af1f49b2e940b01dd61f094e97d19a2797065050152c56ebae22908b13f1a9389ba0fe186aed4826c408be000f47e
7
+ data.tar.gz: 66a95ebcc7615e478ae72362123378a08f9c77cf45eaac6840b2840674723726a527e234c53830dcc42baf33e7919b3b29c0ad7032a6cc31bc80c03af4e8de45
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.84.0 (2025-05-02)
5
+ ------------------
6
+
7
+ * Feature - Doc only update - fixed typos.
8
+
4
9
  1.83.0 (2025-05-01)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.83.0
1
+ 1.84.0
@@ -612,6 +612,25 @@ module Aws::DirectoryService
612
612
  #
613
613
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
614
614
  #
615
+ #
616
+ # @example Example: To add a CIDR address block that routes traffic for Microsoft AD
617
+ #
618
+ # # The following example adds a CIDR address block to correctly route traffic to and from your Microsoft AD on AWS.
619
+ #
620
+ # resp = client.add_ip_routes({
621
+ # directory_id: "d-92654abfed",
622
+ # ip_routes: [
623
+ # {
624
+ # cidr_ip: "12.12.12.12/32",
625
+ # description: "my IpRoute",
626
+ # },
627
+ # ],
628
+ # })
629
+ #
630
+ # resp.to_h outputs the following:
631
+ # {
632
+ # }
633
+ #
615
634
  # @example Request syntax with placeholder values
616
635
  #
617
636
  # resp = client.add_ip_routes({
@@ -683,6 +702,25 @@ module Aws::DirectoryService
683
702
  #
684
703
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
685
704
  #
705
+ #
706
+ # @example Example: To add tags to a directory
707
+ #
708
+ # # The following example adds or overwrites one or more tags for the specified directory.
709
+ #
710
+ # resp = client.add_tags_to_resource({
711
+ # resource_id: "d-92654abfed",
712
+ # tags: [
713
+ # {
714
+ # key: "environment",
715
+ # value: "production",
716
+ # },
717
+ # ],
718
+ # })
719
+ #
720
+ # resp.to_h outputs the following:
721
+ # {
722
+ # }
723
+ #
686
724
  # @example Request syntax with placeholder values
687
725
  #
688
726
  # resp = client.add_tags_to_resource({
@@ -719,6 +757,20 @@ module Aws::DirectoryService
719
757
  #
720
758
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
721
759
  #
760
+ #
761
+ # @example Example: To cancel a Microsoft AD schema extension that is in progress
762
+ #
763
+ # # The following example cancels an in-progress schema extension to a Microsoft AD directory.
764
+ #
765
+ # resp = client.cancel_schema_extension({
766
+ # directory_id: "d-92654abfed",
767
+ # schema_extension_id: "e-926731d2a0",
768
+ # })
769
+ #
770
+ # resp.to_h outputs the following:
771
+ # {
772
+ # }
773
+ #
722
774
  # @example Request syntax with placeholder values
723
775
  #
724
776
  # resp = client.cancel_schema_extension({
@@ -774,6 +826,35 @@ module Aws::DirectoryService
774
826
  #
775
827
  # * {Types::ConnectDirectoryResult#directory_id #directory_id} => String
776
828
  #
829
+ #
830
+ # @example Example: To connect to an on-premises directory
831
+ #
832
+ # # The following example creates an AD Connector to connect to an on-premises directory.
833
+ #
834
+ # resp = client.connect_directory({
835
+ # connect_settings: {
836
+ # customer_dns_ips: [
837
+ # "172.30.21.228",
838
+ # ],
839
+ # customer_user_name: "Administrator",
840
+ # subnet_ids: [
841
+ # "subnet-ba0146de",
842
+ # "subnet-bef46bc8",
843
+ # ],
844
+ # vpc_id: "vpc-45025421",
845
+ # },
846
+ # description: "Connector to corp",
847
+ # name: "corp.example.com",
848
+ # password: "Str0ngP@ssw0rd",
849
+ # short_name: "corp",
850
+ # size: "Small",
851
+ # })
852
+ #
853
+ # resp.to_h outputs the following:
854
+ # {
855
+ # directory_id: "d-92654abfed",
856
+ # }
857
+ #
777
858
  # @example Request syntax with placeholder values
778
859
  #
779
860
  # resp = client.connect_directory({
@@ -831,6 +912,22 @@ module Aws::DirectoryService
831
912
  # * {Types::CreateAliasResult#directory_id #directory_id} => String
832
913
  # * {Types::CreateAliasResult#alias #alias} => String
833
914
  #
915
+ #
916
+ # @example Example: To create an alias for a directory
917
+ #
918
+ # # The following example creates an alias for a directory.
919
+ #
920
+ # resp = client.create_alias({
921
+ # alias: "salesorg",
922
+ # directory_id: "d-92654abfed",
923
+ # })
924
+ #
925
+ # resp.to_h outputs the following:
926
+ # {
927
+ # alias: "salesorg",
928
+ # directory_id: "d-92654abfed",
929
+ # }
930
+ #
834
931
  # @example Request syntax with placeholder values
835
932
  #
836
933
  # resp = client.create_alias({
@@ -879,6 +976,42 @@ module Aws::DirectoryService
879
976
  #
880
977
  # * {Types::CreateComputerResult#computer #computer} => Types::Computer
881
978
  #
979
+ #
980
+ # @example Example: To create a computer account
981
+ #
982
+ # # The following example creates a computer account in the specified directory, and joins the computer to the directory.
983
+ #
984
+ # resp = client.create_computer({
985
+ # computer_attributes: [
986
+ # {
987
+ # name: "ip",
988
+ # value: "192.168.101.100",
989
+ # },
990
+ # ],
991
+ # computer_name: "labcomputer",
992
+ # directory_id: "d-92654abfed",
993
+ # organizational_unit_distinguished_name: "OU=Computers,OU=example,DC=corp,DC=example,DC=com",
994
+ # password: "Str0ngP@ssw0rd",
995
+ # })
996
+ #
997
+ # resp.to_h outputs the following:
998
+ # {
999
+ # computer: {
1000
+ # computer_attributes: [
1001
+ # {
1002
+ # name: "DistinguishedName",
1003
+ # value: "CN=labcomputer,OU=Computers,OU=nickcorp,DC=seattle,DC=nickcorp,DC=com",
1004
+ # },
1005
+ # {
1006
+ # name: "WindowsSamName",
1007
+ # value: "labcomputer$",
1008
+ # },
1009
+ # ],
1010
+ # computer_id: "S-1-5-21-1932691875-1648176379-1176097576-1124",
1011
+ # computer_name: "labcomputer",
1012
+ # },
1013
+ # }
1014
+ #
882
1015
  # @example Request syntax with placeholder values
883
1016
  #
884
1017
  # resp = client.create_computer({
@@ -930,6 +1063,23 @@ module Aws::DirectoryService
930
1063
  #
931
1064
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
932
1065
  #
1066
+ #
1067
+ # @example Example: To create a conditional forwarder
1068
+ #
1069
+ # # The following example creates a conditional forwarder associated with your AWS directory.
1070
+ #
1071
+ # resp = client.create_conditional_forwarder({
1072
+ # directory_id: "d-92654abfed",
1073
+ # dns_ip_addrs: [
1074
+ # "172.30.21.228",
1075
+ # ],
1076
+ # remote_domain_name: "sales.example.com",
1077
+ # })
1078
+ #
1079
+ # resp.to_h outputs the following:
1080
+ # {
1081
+ # }
1082
+ #
933
1083
  # @example Request syntax with placeholder values
934
1084
  #
935
1085
  # resp = client.create_conditional_forwarder({
@@ -1023,6 +1173,31 @@ module Aws::DirectoryService
1023
1173
  #
1024
1174
  # * {Types::CreateDirectoryResult#directory_id #directory_id} => String
1025
1175
  #
1176
+ #
1177
+ # @example Example: To create a Simple AD directory
1178
+ #
1179
+ # # The following example creates a Simple AD directory.
1180
+ #
1181
+ # resp = client.create_directory({
1182
+ # description: "Regional directory for example.com",
1183
+ # name: "seattle.example.com",
1184
+ # password: "Str0ngP@ssw0rd",
1185
+ # short_name: "seattle",
1186
+ # size: "Small",
1187
+ # vpc_settings: {
1188
+ # subnet_ids: [
1189
+ # "subnet-ba0146de",
1190
+ # "subnet-bef46bc8",
1191
+ # ],
1192
+ # vpc_id: "vpc-45025421",
1193
+ # },
1194
+ # })
1195
+ #
1196
+ # resp.to_h outputs the following:
1197
+ # {
1198
+ # directory_id: "d-92654abfed",
1199
+ # }
1200
+ #
1026
1201
  # @example Request syntax with placeholder values
1027
1202
  #
1028
1203
  # resp = client.create_directory({
@@ -1138,6 +1313,30 @@ module Aws::DirectoryService
1138
1313
  #
1139
1314
  # * {Types::CreateMicrosoftADResult#directory_id #directory_id} => String
1140
1315
  #
1316
+ #
1317
+ # @example Example: To create a Microsoft AD directory
1318
+ #
1319
+ # # The following example creates a Microsoft AD directory in the AWS cloud.
1320
+ #
1321
+ # resp = client.create_microsoft_ad({
1322
+ # description: "Corporate AD directory",
1323
+ # name: "ad.example.com",
1324
+ # password: "Str0ngP@ssw0rd",
1325
+ # short_name: "ad",
1326
+ # vpc_settings: {
1327
+ # subnet_ids: [
1328
+ # "subnet-ba0146de",
1329
+ # "subnet-bef46bc8",
1330
+ # ],
1331
+ # vpc_id: "vpc-45025421",
1332
+ # },
1333
+ # })
1334
+ #
1335
+ # resp.to_h outputs the following:
1336
+ # {
1337
+ # directory_id: "d-92654abfed",
1338
+ # }
1339
+ #
1141
1340
  # @example Request syntax with placeholder values
1142
1341
  #
1143
1342
  # resp = client.create_microsoft_ad({
@@ -1188,6 +1387,21 @@ module Aws::DirectoryService
1188
1387
  #
1189
1388
  # * {Types::CreateSnapshotResult#snapshot_id #snapshot_id} => String
1190
1389
  #
1390
+ #
1391
+ # @example Example: To create a snapshot of a directory
1392
+ #
1393
+ # # The following example creates a snapshot of a Simple AD or Microsoft AD directory in the AWS cloud.
1394
+ #
1395
+ # resp = client.create_snapshot({
1396
+ # directory_id: "d-92654abfed",
1397
+ # name: "ad.example.com",
1398
+ # })
1399
+ #
1400
+ # resp.to_h outputs the following:
1401
+ # {
1402
+ # snapshot_id: "s-9267f8d3f0",
1403
+ # }
1404
+ #
1191
1405
  # @example Request syntax with placeholder values
1192
1406
  #
1193
1407
  # resp = client.create_snapshot({
@@ -1249,6 +1463,27 @@ module Aws::DirectoryService
1249
1463
  #
1250
1464
  # * {Types::CreateTrustResult#trust_id #trust_id} => String
1251
1465
  #
1466
+ #
1467
+ # @example Example: To create a trust
1468
+ #
1469
+ # # The following example creates a trust between Microsoft AD in the AWS cloud and an external domain.
1470
+ #
1471
+ # resp = client.create_trust({
1472
+ # conditional_forwarder_ip_addrs: [
1473
+ # "172.30.21.228",
1474
+ # ],
1475
+ # directory_id: "d-92654abfed",
1476
+ # remote_domain_name: "europe.example.com",
1477
+ # trust_direction: "One-Way: Outgoing",
1478
+ # trust_password: "Str0ngP@ssw0rd",
1479
+ # trust_type: "Forest",
1480
+ # })
1481
+ #
1482
+ # resp.to_h outputs the following:
1483
+ # {
1484
+ # trust_id: "t-9267353743",
1485
+ # }
1486
+ #
1252
1487
  # @example Request syntax with placeholder values
1253
1488
  #
1254
1489
  # resp = client.create_trust({
@@ -1286,6 +1521,20 @@ module Aws::DirectoryService
1286
1521
  #
1287
1522
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1288
1523
  #
1524
+ #
1525
+ # @example Example: To delete a conditional forwarder
1526
+ #
1527
+ # # The following example deletes a conditional forwarder.
1528
+ #
1529
+ # resp = client.delete_conditional_forwarder({
1530
+ # directory_id: "d-92654abfed",
1531
+ # remote_domain_name: "sales.example.com",
1532
+ # })
1533
+ #
1534
+ # resp.to_h outputs the following:
1535
+ # {
1536
+ # }
1537
+ #
1289
1538
  # @example Request syntax with placeholder values
1290
1539
  #
1291
1540
  # resp = client.delete_conditional_forwarder({
@@ -1321,6 +1570,20 @@ module Aws::DirectoryService
1321
1570
  #
1322
1571
  # * {Types::DeleteDirectoryResult#directory_id #directory_id} => String
1323
1572
  #
1573
+ #
1574
+ # @example Example: To delete a directory
1575
+ #
1576
+ # # The following example deletes a directory from your AWS account.
1577
+ #
1578
+ # resp = client.delete_directory({
1579
+ # directory_id: "d-92654abfed",
1580
+ # })
1581
+ #
1582
+ # resp.to_h outputs the following:
1583
+ # {
1584
+ # directory_id: "d-92654abfed",
1585
+ # }
1586
+ #
1324
1587
  # @example Request syntax with placeholder values
1325
1588
  #
1326
1589
  # resp = client.delete_directory({
@@ -1371,6 +1634,20 @@ module Aws::DirectoryService
1371
1634
  #
1372
1635
  # * {Types::DeleteSnapshotResult#snapshot_id #snapshot_id} => String
1373
1636
  #
1637
+ #
1638
+ # @example Example: To delete a snapshot
1639
+ #
1640
+ # # The following example deletes a directory snapshot.
1641
+ #
1642
+ # resp = client.delete_snapshot({
1643
+ # snapshot_id: "s-9267f8d3f0",
1644
+ # })
1645
+ #
1646
+ # resp.to_h outputs the following:
1647
+ # {
1648
+ # snapshot_id: "s-9267f8d3f0",
1649
+ # }
1650
+ #
1374
1651
  # @example Request syntax with placeholder values
1375
1652
  #
1376
1653
  # resp = client.delete_snapshot({
@@ -1403,6 +1680,21 @@ module Aws::DirectoryService
1403
1680
  #
1404
1681
  # * {Types::DeleteTrustResult#trust_id #trust_id} => String
1405
1682
  #
1683
+ #
1684
+ # @example Example: To delete a trust
1685
+ #
1686
+ # # The following example deletes an existing trust between your Microsoft AD in the AWS cloud and an external domain.
1687
+ #
1688
+ # resp = client.delete_trust({
1689
+ # delete_associated_conditional_forwarder: true,
1690
+ # trust_id: "t-9267353743",
1691
+ # })
1692
+ #
1693
+ # resp.to_h outputs the following:
1694
+ # {
1695
+ # trust_id: "t-9267353743",
1696
+ # }
1697
+ #
1406
1698
  # @example Request syntax with placeholder values
1407
1699
  #
1408
1700
  # resp = client.delete_trust({
@@ -1463,6 +1755,20 @@ module Aws::DirectoryService
1463
1755
  #
1464
1756
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1465
1757
  #
1758
+ #
1759
+ # @example Example: To remove an event topic
1760
+ #
1761
+ # # The following example removes the specified directory as a publisher to the specified SNS topic.
1762
+ #
1763
+ # resp = client.deregister_event_topic({
1764
+ # directory_id: "d-92654abfed",
1765
+ # topic_name: "snstopicexample",
1766
+ # })
1767
+ #
1768
+ # resp.to_h outputs the following:
1769
+ # {
1770
+ # }
1771
+ #
1466
1772
  # @example Request syntax with placeholder values
1467
1773
  #
1468
1774
  # resp = client.deregister_event_topic({
@@ -1595,6 +1901,24 @@ module Aws::DirectoryService
1595
1901
  #
1596
1902
  # * {Types::DescribeConditionalForwardersResult#conditional_forwarders #conditional_forwarders} => Array<Types::ConditionalForwarder>
1597
1903
  #
1904
+ #
1905
+ # @example Example: To describe conditional forwarders
1906
+ #
1907
+ # # The following example obtains information about the conditional forwarders for a specified directory.
1908
+ #
1909
+ # resp = client.describe_conditional_forwarders({
1910
+ # directory_id: "d-92654abfed",
1911
+ # remote_domain_names: [
1912
+ # "sales.example.com",
1913
+ # ],
1914
+ # })
1915
+ #
1916
+ # resp.to_h outputs the following:
1917
+ # {
1918
+ # conditional_forwarders: [
1919
+ # ],
1920
+ # }
1921
+ #
1598
1922
  # @example Request syntax with placeholder values
1599
1923
  #
1600
1924
  # resp = client.describe_conditional_forwarders({
@@ -1657,6 +1981,51 @@ module Aws::DirectoryService
1657
1981
  #
1658
1982
  # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1659
1983
  #
1984
+ #
1985
+ # @example Example: To describe one or more directories
1986
+ #
1987
+ # # The following example obtains information about a specified directory.
1988
+ #
1989
+ # resp = client.describe_directories({
1990
+ # directory_ids: [
1991
+ # "d-92654abfed",
1992
+ # ],
1993
+ # limit: 0,
1994
+ # })
1995
+ #
1996
+ # resp.to_h outputs the following:
1997
+ # {
1998
+ # directory_descriptions: [
1999
+ # {
2000
+ # access_url: "myaccess.awsapps.com",
2001
+ # alias: "myaccess",
2002
+ # directory_id: "d-92654abfed",
2003
+ # dns_ip_addrs: [
2004
+ # "172.30.21.228",
2005
+ # "172.30.9.82",
2006
+ # ],
2007
+ # launch_time: Time.parse(1469737584.772),
2008
+ # name: "corp.example.com",
2009
+ # short_name: "example",
2010
+ # sso_enabled: true,
2011
+ # stage: "Active",
2012
+ # stage_last_updated_date_time: Time.parse(1469739131.71),
2013
+ # type: "MicrosoftAD",
2014
+ # vpc_settings: {
2015
+ # availability_zones: [
2016
+ # "us-west-2a",
2017
+ # "us-west-2b",
2018
+ # ],
2019
+ # subnet_ids: [
2020
+ # "subnet-ba0146de",
2021
+ # "subnet-bef46bc8",
2022
+ # ],
2023
+ # vpc_id: "vpc-45025421",
2024
+ # },
2025
+ # },
2026
+ # ],
2027
+ # }
2028
+ #
1660
2029
  # @example Request syntax with placeholder values
1661
2030
  #
1662
2031
  # resp = client.describe_directories({
@@ -1856,6 +2225,30 @@ module Aws::DirectoryService
1856
2225
  #
1857
2226
  # * {Types::DescribeEventTopicsResult#event_topics #event_topics} => Array<Types::EventTopic>
1858
2227
  #
2228
+ #
2229
+ # @example Example: To describe event topics
2230
+ #
2231
+ # # The following example obtains information about which SNS topics receive status messages from the specified directory.
2232
+ #
2233
+ # resp = client.describe_event_topics({
2234
+ # directory_id: "d-92654abfed",
2235
+ # topic_names: [
2236
+ # "snstopicexample",
2237
+ # ],
2238
+ # })
2239
+ #
2240
+ # resp.to_h outputs the following:
2241
+ # {
2242
+ # event_topics: [
2243
+ # {
2244
+ # directory_id: "d-92654abfed",
2245
+ # status: "Registered",
2246
+ # topic_arn: "arn:aws:sns:us-east-2:123456789012:snstopicexample",
2247
+ # topic_name: "snstopicexample",
2248
+ # },
2249
+ # ],
2250
+ # }
2251
+ #
1859
2252
  # @example Request syntax with placeholder values
1860
2253
  #
1861
2254
  # resp = client.describe_event_topics({
@@ -2127,6 +2520,32 @@ module Aws::DirectoryService
2127
2520
  #
2128
2521
  # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2129
2522
  #
2523
+ #
2524
+ # @example Example: To describe snapshots
2525
+ #
2526
+ # # The following example obtains information about a specified directory snapshot.
2527
+ #
2528
+ # resp = client.describe_snapshots({
2529
+ # directory_id: "d-92654abfed",
2530
+ # limit: 0,
2531
+ # snapshot_ids: [
2532
+ # "s-9267f6da4e",
2533
+ # ],
2534
+ # })
2535
+ #
2536
+ # resp.to_h outputs the following:
2537
+ # {
2538
+ # snapshots: [
2539
+ # {
2540
+ # directory_id: "d-92673c8a8f",
2541
+ # snapshot_id: "s-9267f6da4e",
2542
+ # start_time: Time.parse(1481289211.615),
2543
+ # status: "Completed",
2544
+ # type: "Auto",
2545
+ # },
2546
+ # ],
2547
+ # }
2548
+ #
2130
2549
  # @example Request syntax with placeholder values
2131
2550
  #
2132
2551
  # resp = client.describe_snapshots({
@@ -2187,6 +2606,37 @@ module Aws::DirectoryService
2187
2606
  #
2188
2607
  # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2189
2608
  #
2609
+ #
2610
+ # @example Example: To describe a trust
2611
+ #
2612
+ # # The following example obtains information about the trust relationship for a specified directory.
2613
+ #
2614
+ # resp = client.describe_trusts({
2615
+ # directory_id: "d-92654abfed",
2616
+ # limit: 0,
2617
+ # trust_ids: [
2618
+ # "t-9267353df0",
2619
+ # ],
2620
+ # })
2621
+ #
2622
+ # resp.to_h outputs the following:
2623
+ # {
2624
+ # trusts: [
2625
+ # {
2626
+ # created_date_time: Time.parse(1481749250.657),
2627
+ # directory_id: "d-92654abfed",
2628
+ # last_updated_date_time: Time.parse(1481749260.156),
2629
+ # remote_domain_name: "sales.example.com",
2630
+ # state_last_updated_date_time: Time.parse(1481749260.156),
2631
+ # trust_direction: "One-Way: Outgoing",
2632
+ # trust_id: "t-9267353df0",
2633
+ # trust_state: "Failed",
2634
+ # trust_state_reason: "The specified domain either does not exist or could not be contacted. Name: sales.example.com",
2635
+ # trust_type: "Forest",
2636
+ # },
2637
+ # ],
2638
+ # }
2639
+ #
2190
2640
  # @example Request syntax with placeholder values
2191
2641
  #
2192
2642
  # resp = client.describe_trusts({
@@ -2303,7 +2753,12 @@ module Aws::DirectoryService
2303
2753
  end
2304
2754
 
2305
2755
  # Deactivates access to directory data via the Directory Service Data
2306
- # API for the specified directory.
2756
+ # API for the specified directory. For more information, see [Directory
2757
+ # Service Data API Reference][1].
2758
+ #
2759
+ #
2760
+ #
2761
+ # [1]: https://docs.aws.amazon.com/directoryservicedata/latest/DirectoryServiceDataAPIReference/Welcome.html
2307
2762
  #
2308
2763
  # @option params [required, String] :directory_id
2309
2764
  # The directory identifier.
@@ -2361,6 +2816,20 @@ module Aws::DirectoryService
2361
2816
  #
2362
2817
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2363
2818
  #
2819
+ #
2820
+ # @example Example: To disable radius
2821
+ #
2822
+ # # The following example disables multi-factor authentication (MFA) with the Remote Authentication Dial In User Service
2823
+ # # (RADIUS) server for an AD Connector directory.
2824
+ #
2825
+ # resp = client.disable_radius({
2826
+ # directory_id: "d-92654abfed",
2827
+ # })
2828
+ #
2829
+ # resp.to_h outputs the following:
2830
+ # {
2831
+ # }
2832
+ #
2364
2833
  # @example Request syntax with placeholder values
2365
2834
  #
2366
2835
  # resp = client.disable_radius({
@@ -2399,6 +2868,21 @@ module Aws::DirectoryService
2399
2868
  #
2400
2869
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2401
2870
  #
2871
+ #
2872
+ # @example Example: To disable SSO
2873
+ #
2874
+ # # The following example disables single sign-on for a specified directory.
2875
+ #
2876
+ # resp = client.disable_sso({
2877
+ # directory_id: "d-92654abfed",
2878
+ # password: "Str0ngP@ssw0rd",
2879
+ # user_name: "Admin",
2880
+ # })
2881
+ #
2882
+ # resp.to_h outputs the following:
2883
+ # {
2884
+ # }
2885
+ #
2402
2886
  # @example Request syntax with placeholder values
2403
2887
  #
2404
2888
  # resp = client.disable_sso({
@@ -2447,7 +2931,12 @@ module Aws::DirectoryService
2447
2931
  end
2448
2932
 
2449
2933
  # Enables access to directory data via the Directory Service Data API
2450
- # for the specified directory.
2934
+ # for the specified directory. For more information, see [Directory
2935
+ # Service Data API Reference][1].
2936
+ #
2937
+ #
2938
+ #
2939
+ # [1]: https://docs.aws.amazon.com/directoryservicedata/latest/DirectoryServiceDataAPIReference/Welcome.html
2451
2940
  #
2452
2941
  # @option params [required, String] :directory_id
2453
2942
  # The directory identifier.
@@ -2510,6 +2999,32 @@ module Aws::DirectoryService
2510
2999
  #
2511
3000
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2512
3001
  #
3002
+ #
3003
+ # @example Example: To enable radius
3004
+ #
3005
+ # # The following example enables multi-factor authentication (MFA) with the Remote Authentication Dial In User Service
3006
+ # # (RADIUS) server for an AD Connector directory.
3007
+ #
3008
+ # resp = client.enable_radius({
3009
+ # directory_id: "d-92654abfed",
3010
+ # radius_settings: {
3011
+ # authentication_protocol: "PAP",
3012
+ # display_label: "MyRadius",
3013
+ # radius_port: 1200,
3014
+ # radius_retries: 2,
3015
+ # radius_servers: [
3016
+ # "172.168.111.12",
3017
+ # ],
3018
+ # radius_timeout: 1,
3019
+ # shared_secret: "123456789",
3020
+ # use_same_username: true,
3021
+ # },
3022
+ # })
3023
+ #
3024
+ # resp.to_h outputs the following:
3025
+ # {
3026
+ # }
3027
+ #
2513
3028
  # @example Request syntax with placeholder values
2514
3029
  #
2515
3030
  # resp = client.enable_radius({
@@ -2561,6 +3076,21 @@ module Aws::DirectoryService
2561
3076
  #
2562
3077
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2563
3078
  #
3079
+ #
3080
+ # @example Example: To enable SSO
3081
+ #
3082
+ # # To enable single sign-on for a specified directory.
3083
+ #
3084
+ # resp = client.enable_sso({
3085
+ # directory_id: "d-92654abfed",
3086
+ # password: "Str0ngP@ssw0rd",
3087
+ # user_name: "Admin",
3088
+ # })
3089
+ #
3090
+ # resp.to_h outputs the following:
3091
+ # {
3092
+ # }
3093
+ #
2564
3094
  # @example Request syntax with placeholder values
2565
3095
  #
2566
3096
  # resp = client.enable_sso({
@@ -2584,6 +3114,29 @@ module Aws::DirectoryService
2584
3114
  #
2585
3115
  # * {Types::GetDirectoryLimitsResult#directory_limits #directory_limits} => Types::DirectoryLimits
2586
3116
  #
3117
+ #
3118
+ # @example Example: To get directory limits
3119
+ #
3120
+ # # The following example obtains directory limit information for the current region.
3121
+ #
3122
+ # resp = client.get_directory_limits({
3123
+ # })
3124
+ #
3125
+ # resp.to_h outputs the following:
3126
+ # {
3127
+ # directory_limits: {
3128
+ # cloud_only_directories_current_count: 2,
3129
+ # cloud_only_directories_limit: 10,
3130
+ # cloud_only_directories_limit_reached: false,
3131
+ # cloud_only_microsoft_ad_current_count: 2,
3132
+ # cloud_only_microsoft_ad_limit: 10,
3133
+ # cloud_only_microsoft_ad_limit_reached: false,
3134
+ # connected_directories_current_count: 1,
3135
+ # connected_directories_limit: 10,
3136
+ # connected_directories_limit_reached: false,
3137
+ # },
3138
+ # }
3139
+ #
2587
3140
  # @example Response structure
2588
3141
  #
2589
3142
  # resp.directory_limits.cloud_only_directories_limit #=> Integer
@@ -2614,6 +3167,24 @@ module Aws::DirectoryService
2614
3167
  #
2615
3168
  # * {Types::GetSnapshotLimitsResult#snapshot_limits #snapshot_limits} => Types::SnapshotLimits
2616
3169
  #
3170
+ #
3171
+ # @example Example: To get snapshot limits
3172
+ #
3173
+ # # The following example obtains the manual snapshot limits for a specified directory.
3174
+ #
3175
+ # resp = client.get_snapshot_limits({
3176
+ # directory_id: "d-92654abfed",
3177
+ # })
3178
+ #
3179
+ # resp.to_h outputs the following:
3180
+ # {
3181
+ # snapshot_limits: {
3182
+ # manual_snapshots_current_count: 1,
3183
+ # manual_snapshots_limit: 5,
3184
+ # manual_snapshots_limit_reached: false,
3185
+ # },
3186
+ # }
3187
+ #
2617
3188
  # @example Request syntax with placeholder values
2618
3189
  #
2619
3190
  # resp = client.get_snapshot_limits({
@@ -2705,6 +3276,29 @@ module Aws::DirectoryService
2705
3276
  #
2706
3277
  # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2707
3278
  #
3279
+ #
3280
+ # @example Example: To list IP routes
3281
+ #
3282
+ # # The following example lists the address blocks that have been added to a specified directory.
3283
+ #
3284
+ # resp = client.list_ip_routes({
3285
+ # directory_id: "d-92654abfed",
3286
+ # limit: 0,
3287
+ # })
3288
+ #
3289
+ # resp.to_h outputs the following:
3290
+ # {
3291
+ # ip_routes_info: [
3292
+ # {
3293
+ # added_date_time: Time.parse(1481577631.63),
3294
+ # cidr_ip: "12.12.12.12/32",
3295
+ # description: "example",
3296
+ # directory_id: "d-92654abfed",
3297
+ # ip_route_status_msg: "Added",
3298
+ # },
3299
+ # ],
3300
+ # }
3301
+ #
2708
3302
  # @example Request syntax with placeholder values
2709
3303
  #
2710
3304
  # resp = client.list_ip_routes({
@@ -2801,6 +3395,31 @@ module Aws::DirectoryService
2801
3395
  #
2802
3396
  # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2803
3397
  #
3398
+ #
3399
+ # @example Example: To list schema extensions
3400
+ #
3401
+ # # The following example lists all schema extensions applied to a specified Microsoft AD Directory.
3402
+ #
3403
+ # resp = client.list_schema_extensions({
3404
+ # directory_id: "d-92654abfed",
3405
+ # limit: 0,
3406
+ # })
3407
+ #
3408
+ # resp.to_h outputs the following:
3409
+ # {
3410
+ # schema_extensions_info: [
3411
+ # {
3412
+ # description: "example text",
3413
+ # directory_id: "d-92654abfed",
3414
+ # end_date_time: Time.parse(1481586088.301),
3415
+ # schema_extension_id: "e-926731d2a0",
3416
+ # schema_extension_status: "Cancelled",
3417
+ # schema_extension_status_reason: "Cancellation is complete. No schema updates were applied to your directory.",
3418
+ # start_date_time: Time.parse(1481584463.548),
3419
+ # },
3420
+ # ],
3421
+ # }
3422
+ #
2804
3423
  # @example Request syntax with placeholder values
2805
3424
  #
2806
3425
  # resp = client.list_schema_extensions({
@@ -2848,6 +3467,26 @@ module Aws::DirectoryService
2848
3467
  #
2849
3468
  # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2850
3469
  #
3470
+ #
3471
+ # @example Example: To list tags for a directory
3472
+ #
3473
+ # # The following example lists all tags associated with a specified directory.
3474
+ #
3475
+ # resp = client.list_tags_for_resource({
3476
+ # limit: 0,
3477
+ # resource_id: "d-92654abfed",
3478
+ # })
3479
+ #
3480
+ # resp.to_h outputs the following:
3481
+ # {
3482
+ # tags: [
3483
+ # {
3484
+ # key: "environment",
3485
+ # value: "production",
3486
+ # },
3487
+ # ],
3488
+ # }
3489
+ #
2851
3490
  # @example Request syntax with placeholder values
2852
3491
  #
2853
3492
  # resp = client.list_tags_for_resource({
@@ -2936,6 +3575,20 @@ module Aws::DirectoryService
2936
3575
  #
2937
3576
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2938
3577
  #
3578
+ #
3579
+ # @example Example: To register an event topic
3580
+ #
3581
+ # # The following example associates a directory with an SNS topic.
3582
+ #
3583
+ # resp = client.register_event_topic({
3584
+ # directory_id: "d-92654abfed",
3585
+ # topic_name: "snstopicexample",
3586
+ # })
3587
+ #
3588
+ # resp.to_h outputs the following:
3589
+ # {
3590
+ # }
3591
+ #
2939
3592
  # @example Request syntax with placeholder values
2940
3593
  #
2941
3594
  # resp = client.register_event_topic({
@@ -2993,6 +3646,22 @@ module Aws::DirectoryService
2993
3646
  #
2994
3647
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2995
3648
  #
3649
+ #
3650
+ # @example Example: To remove IP routes
3651
+ #
3652
+ # # The following example removes IP address blocks from a specified directory.
3653
+ #
3654
+ # resp = client.remove_ip_routes({
3655
+ # cidr_ips: [
3656
+ # "12.12.12.12/32",
3657
+ # ],
3658
+ # directory_id: "d-92654abfed",
3659
+ # })
3660
+ #
3661
+ # resp.to_h outputs the following:
3662
+ # {
3663
+ # }
3664
+ #
2996
3665
  # @example Request syntax with placeholder values
2997
3666
  #
2998
3667
  # resp = client.remove_ip_routes({
@@ -3044,6 +3713,22 @@ module Aws::DirectoryService
3044
3713
  #
3045
3714
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3046
3715
  #
3716
+ #
3717
+ # @example Example: To remove tags from a directory
3718
+ #
3719
+ # # The following example removes a tag from a specified directory.
3720
+ #
3721
+ # resp = client.remove_tags_from_resource({
3722
+ # resource_id: "d-92654abfed",
3723
+ # tag_keys: [
3724
+ # "environment",
3725
+ # ],
3726
+ # })
3727
+ #
3728
+ # resp.to_h outputs the following:
3729
+ # {
3730
+ # }
3731
+ #
3047
3732
  # @example Request syntax with placeholder values
3048
3733
  #
3049
3734
  # resp = client.remove_tags_from_resource({
@@ -3128,6 +3813,19 @@ module Aws::DirectoryService
3128
3813
  #
3129
3814
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3130
3815
  #
3816
+ #
3817
+ # @example Example: To restore a snapshot
3818
+ #
3819
+ # # The following example restores a directory using an existing directory snapshot.
3820
+ #
3821
+ # resp = client.restore_from_snapshot({
3822
+ # snapshot_id: "s-9267f6da4e",
3823
+ # })
3824
+ #
3825
+ # resp.to_h outputs the following:
3826
+ # {
3827
+ # }
3828
+ #
3131
3829
  # @example Request syntax with placeholder values
3132
3830
  #
3133
3831
  # resp = client.restore_from_snapshot({
@@ -3236,6 +3934,23 @@ module Aws::DirectoryService
3236
3934
  #
3237
3935
  # * {Types::StartSchemaExtensionResult#schema_extension_id #schema_extension_id} => String
3238
3936
  #
3937
+ #
3938
+ # @example Example: To start a schema extension
3939
+ #
3940
+ # # The following example applies a schema extension to a specified Microsoft AD directory.
3941
+ #
3942
+ # resp = client.start_schema_extension({
3943
+ # create_snapshot_before_schema_extension: true,
3944
+ # description: "Adds maycontain attribute to user class. Precede each line as it would be formatted in an ldif file.",
3945
+ # directory_id: "d-92654abfed",
3946
+ # ldif_content: "dn: CN=User,CN=Schema,CN=Configuration,DC=sales,DC=example,DC=com\nchangetype: modify\nadd: mayContain\nmayContain: drink\n-\n\nDN:\nchangetype: modify\nreplace: schemaupdatenow\nschemaupdatenow: 1\n-",
3947
+ # })
3948
+ #
3949
+ # resp.to_h outputs the following:
3950
+ # {
3951
+ # schema_extension_id: "e-926731dc50",
3952
+ # }
3953
+ #
3239
3954
  # @example Request syntax with placeholder values
3240
3955
  #
3241
3956
  # resp = client.start_schema_extension({
@@ -3313,6 +4028,23 @@ module Aws::DirectoryService
3313
4028
  #
3314
4029
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3315
4030
  #
4031
+ #
4032
+ # @example Example: To update a conditional forwarder
4033
+ #
4034
+ # # The following example updates a conditional forwarder for a specified directory.
4035
+ #
4036
+ # resp = client.update_conditional_forwarder({
4037
+ # directory_id: "d-92654abfed",
4038
+ # dns_ip_addrs: [
4039
+ # "172.168.101.11",
4040
+ # ],
4041
+ # remote_domain_name: "sales.example.com",
4042
+ # })
4043
+ #
4044
+ # resp.to_h outputs the following:
4045
+ # {
4046
+ # }
4047
+ #
3316
4048
  # @example Request syntax with placeholder values
3317
4049
  #
3318
4050
  # resp = client.update_conditional_forwarder({
@@ -3415,6 +4147,32 @@ module Aws::DirectoryService
3415
4147
  #
3416
4148
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3417
4149
  #
4150
+ #
4151
+ # @example Example: To update Radius
4152
+ #
4153
+ # # The following example updates the Remote Authentication Dial In User Service (RADIUS) server settings for an AD
4154
+ # # Connector directory.
4155
+ #
4156
+ # resp = client.update_radius({
4157
+ # directory_id: "d-92654abfed",
4158
+ # radius_settings: {
4159
+ # authentication_protocol: "PAP",
4160
+ # display_label: "MyRadius",
4161
+ # radius_port: 1027,
4162
+ # radius_retries: 1,
4163
+ # radius_servers: [
4164
+ # "172.168.101.113",
4165
+ # ],
4166
+ # radius_timeout: 1,
4167
+ # shared_secret: "12345678",
4168
+ # use_same_username: true,
4169
+ # },
4170
+ # })
4171
+ #
4172
+ # resp.to_h outputs the following:
4173
+ # {
4174
+ # }
4175
+ #
3418
4176
  # @example Request syntax with placeholder values
3419
4177
  #
3420
4178
  # resp = client.update_radius({
@@ -3525,6 +4283,20 @@ module Aws::DirectoryService
3525
4283
  #
3526
4284
  # * {Types::VerifyTrustResult#trust_id #trust_id} => String
3527
4285
  #
4286
+ #
4287
+ # @example Example: To verify a trust
4288
+ #
4289
+ # # The following example verifies a trust relationship between your Microsoft AD in the AWS cloud and an external domain.
4290
+ #
4291
+ # resp = client.verify_trust({
4292
+ # trust_id: "t-9267353df0",
4293
+ # })
4294
+ #
4295
+ # resp.to_h outputs the following:
4296
+ # {
4297
+ # trust_id: "t-9267353df0",
4298
+ # }
4299
+ #
3528
4300
  # @example Request syntax with placeholder values
3529
4301
  #
3530
4302
  # resp = client.verify_trust({
@@ -3562,7 +4334,7 @@ module Aws::DirectoryService
3562
4334
  tracer: tracer
3563
4335
  )
3564
4336
  context[:gem_name] = 'aws-sdk-directoryservice'
3565
- context[:gem_version] = '1.83.0'
4337
+ context[:gem_version] = '1.84.0'
3566
4338
  Seahorse::Client::Request.new(handlers, context)
3567
4339
  end
3568
4340
 
@@ -1375,7 +1375,8 @@ module Aws::DirectoryService
1375
1375
  # Contains the results of the DescribeDirectories operation.
1376
1376
  #
1377
1377
  # @!attribute [rw] directory_descriptions
1378
- # The list of DirectoryDescription objects that were retrieved.
1378
+ # The list of available DirectoryDescription objects that were
1379
+ # retrieved.
1379
1380
  #
1380
1381
  # It is possible that this list contains less than the number of items
1381
1382
  # specified in the `Limit` member of the request. This occurs if there
@@ -54,7 +54,7 @@ module Aws::DirectoryService
54
54
  autoload :EndpointProvider, 'aws-sdk-directoryservice/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-directoryservice/endpoints'
56
56
 
57
- GEM_VERSION = '1.83.0'
57
+ GEM_VERSION = '1.84.0'
58
58
 
59
59
  end
60
60
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-directoryservice
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.83.0
4
+ version: 1.84.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services