aws-sdk-directoryservice 1.0.0.rc7 → 1.0.0.rc8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 038f5610b45d8a860657303d6856c61800ff8583
4
- data.tar.gz: 9c58a91bd7aa9f2c2a55a9f49f2fd1a4392c322b
3
+ metadata.gz: acd1b972a9739e6c144b3846ad5392931b37bfdf
4
+ data.tar.gz: dfd133c185740f15a3d88ce98e3c8210b69e81c6
5
5
  SHA512:
6
- metadata.gz: e2659d8d98a8bbfe7248c148ba5d9044a477a757949b403f45eb0014a1032b1c752faf6a586caa9b8f2de33091a153e0c47a23e624e294a9ad2d9df34493c8a8
7
- data.tar.gz: 9797a8c6cbde492c6ebafc86bc48f529c219e195b21c2e60b54ad67e55318410f12a657b6f1eb0628c2f36826f620cc38afdfadd991226b290ce55a2a401f9ed
6
+ metadata.gz: a26987247225e5b10c85e48c68382a9f22243081b33469502748031238fee92cd21d6fc87b3119583a6cae810753f6120bcc3f78c95f77b614641cf98baed590
7
+ data.tar.gz: bd8baad4f2b8f51d28768643d8a5b4c0c67dfaae810ffd59e8d9d40ccd06cef47133dc27fd4771361efeb306ac4ba4afb9415fb2c08f6135fff28711a891487b
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-directoryservice/customizations'
42
42
  # @service
43
43
  module Aws::DirectoryService
44
44
 
45
- GEM_VERSION = '1.0.0.rc7'
45
+ GEM_VERSION = '1.0.0.rc8'
46
46
 
47
47
  end
@@ -1038,6 +1038,7 @@ module Aws::DirectoryService
1038
1038
  # resp.directory_descriptions[0].radius_status #=> String, one of "Creating", "Completed", "Failed"
1039
1039
  # resp.directory_descriptions[0].stage_reason #=> String
1040
1040
  # resp.directory_descriptions[0].sso_enabled #=> Boolean
1041
+ # resp.directory_descriptions[0].desired_number_of_domain_controllers #=> Integer
1041
1042
  # resp.next_token #=> String
1042
1043
  #
1043
1044
  # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeDirectories AWS API Documentation
@@ -1049,6 +1050,61 @@ module Aws::DirectoryService
1049
1050
  req.send_request(options)
1050
1051
  end
1051
1052
 
1053
+ # Provides information about any domain controllers in your directory.
1054
+ #
1055
+ # @option params [required, String] :directory_id
1056
+ # Identifier of the directory for which to retrieve the domain
1057
+ # controller information.
1058
+ #
1059
+ # @option params [Array<String>] :domain_controller_ids
1060
+ # A list of identifiers for the domain controllers whose information
1061
+ # will be provided.
1062
+ #
1063
+ # @option params [String] :next_token
1064
+ # The *DescribeDomainControllers.NextToken* value from a previous call
1065
+ # to DescribeDomainControllers. Pass null if this is the first call.
1066
+ #
1067
+ # @option params [Integer] :limit
1068
+ # The maximum number of items to return.
1069
+ #
1070
+ # @return [Types::DescribeDomainControllersResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1071
+ #
1072
+ # * {Types::DescribeDomainControllersResult#domain_controllers #domain_controllers} => Array&lt;Types::DomainController&gt;
1073
+ # * {Types::DescribeDomainControllersResult#next_token #next_token} => String
1074
+ #
1075
+ # @example Request syntax with placeholder values
1076
+ #
1077
+ # resp = client.describe_domain_controllers({
1078
+ # directory_id: "DirectoryId", # required
1079
+ # domain_controller_ids: ["DomainControllerId"],
1080
+ # next_token: "NextToken",
1081
+ # limit: 1,
1082
+ # })
1083
+ #
1084
+ # @example Response structure
1085
+ #
1086
+ # resp.domain_controllers #=> Array
1087
+ # resp.domain_controllers[0].directory_id #=> String
1088
+ # resp.domain_controllers[0].domain_controller_id #=> String
1089
+ # resp.domain_controllers[0].dns_ip_addr #=> String
1090
+ # resp.domain_controllers[0].vpc_id #=> String
1091
+ # resp.domain_controllers[0].subnet_id #=> String
1092
+ # resp.domain_controllers[0].availability_zone #=> String
1093
+ # resp.domain_controllers[0].status #=> String, one of "Creating", "Active", "Impaired", "Restoring", "Deleting", "Deleted", "Failed"
1094
+ # resp.domain_controllers[0].status_reason #=> String
1095
+ # resp.domain_controllers[0].launch_time #=> Time
1096
+ # resp.domain_controllers[0].status_last_updated_date_time #=> Time
1097
+ # resp.next_token #=> String
1098
+ #
1099
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeDomainControllers AWS API Documentation
1100
+ #
1101
+ # @overload describe_domain_controllers(params = {})
1102
+ # @param [Hash] params ({})
1103
+ def describe_domain_controllers(params = {}, options = {})
1104
+ req = build_request(:describe_domain_controllers, params)
1105
+ req.send_request(options)
1106
+ end
1107
+
1052
1108
  # Obtains information about which SNS topics receive status messages
1053
1109
  # from the specified directory.
1054
1110
  #
@@ -1748,6 +1804,38 @@ module Aws::DirectoryService
1748
1804
  req.send_request(options)
1749
1805
  end
1750
1806
 
1807
+ # Adds or removes domain controllers to or from the directory. Based on
1808
+ # the difference between current value and new value (provided through
1809
+ # this API call), domain controllers will be added or removed. It may
1810
+ # take up to 45 minutes for any new domain controllers to become fully
1811
+ # active once the requested number of domain controllers is updated.
1812
+ # During this time, you cannot make another update request.
1813
+ #
1814
+ # @option params [required, String] :directory_id
1815
+ # Identifier of the directory to which the domain controllers will be
1816
+ # added or removed.
1817
+ #
1818
+ # @option params [required, Integer] :desired_number
1819
+ # The number of domain controllers desired in the directory.
1820
+ #
1821
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1822
+ #
1823
+ # @example Request syntax with placeholder values
1824
+ #
1825
+ # resp = client.update_number_of_domain_controllers({
1826
+ # directory_id: "DirectoryId", # required
1827
+ # desired_number: 1, # required
1828
+ # })
1829
+ #
1830
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/UpdateNumberOfDomainControllers AWS API Documentation
1831
+ #
1832
+ # @overload update_number_of_domain_controllers(params = {})
1833
+ # @param [Hash] params ({})
1834
+ def update_number_of_domain_controllers(params = {}, options = {})
1835
+ req = build_request(:update_number_of_domain_controllers, params)
1836
+ req.send_request(options)
1837
+ end
1838
+
1751
1839
  # Updates the Remote Authentication Dial In User Service (RADIUS) server
1752
1840
  # information for an AD Connector directory.
1753
1841
  #
@@ -1831,7 +1919,7 @@ module Aws::DirectoryService
1831
1919
  params: params,
1832
1920
  config: config)
1833
1921
  context[:gem_name] = 'aws-sdk-directoryservice'
1834
- context[:gem_version] = '1.0.0.rc7'
1922
+ context[:gem_version] = '1.0.0.rc8'
1835
1923
  Seahorse::Client::Request.new(handlers, context)
1836
1924
  end
1837
1925
 
@@ -71,6 +71,8 @@ module Aws::DirectoryService
71
71
  DescribeConditionalForwardersResult = Shapes::StructureShape.new(name: 'DescribeConditionalForwardersResult')
72
72
  DescribeDirectoriesRequest = Shapes::StructureShape.new(name: 'DescribeDirectoriesRequest')
73
73
  DescribeDirectoriesResult = Shapes::StructureShape.new(name: 'DescribeDirectoriesResult')
74
+ DescribeDomainControllersRequest = Shapes::StructureShape.new(name: 'DescribeDomainControllersRequest')
75
+ DescribeDomainControllersResult = Shapes::StructureShape.new(name: 'DescribeDomainControllersResult')
74
76
  DescribeEventTopicsRequest = Shapes::StructureShape.new(name: 'DescribeEventTopicsRequest')
75
77
  DescribeEventTopicsResult = Shapes::StructureShape.new(name: 'DescribeEventTopicsResult')
76
78
  DescribeSnapshotsRequest = Shapes::StructureShape.new(name: 'DescribeSnapshotsRequest')
@@ -78,6 +80,7 @@ module Aws::DirectoryService
78
80
  DescribeTrustsRequest = Shapes::StructureShape.new(name: 'DescribeTrustsRequest')
79
81
  DescribeTrustsResult = Shapes::StructureShape.new(name: 'DescribeTrustsResult')
80
82
  Description = Shapes::StringShape.new(name: 'Description')
83
+ DesiredNumberOfDomainControllers = Shapes::IntegerShape.new(name: 'DesiredNumberOfDomainControllers')
81
84
  DirectoryConnectSettings = Shapes::StructureShape.new(name: 'DirectoryConnectSettings')
82
85
  DirectoryConnectSettingsDescription = Shapes::StructureShape.new(name: 'DirectoryConnectSettingsDescription')
83
86
  DirectoryDescription = Shapes::StructureShape.new(name: 'DirectoryDescription')
@@ -99,6 +102,13 @@ module Aws::DirectoryService
99
102
  DisableSsoRequest = Shapes::StructureShape.new(name: 'DisableSsoRequest')
100
103
  DisableSsoResult = Shapes::StructureShape.new(name: 'DisableSsoResult')
101
104
  DnsIpAddrs = Shapes::ListShape.new(name: 'DnsIpAddrs')
105
+ DomainController = Shapes::StructureShape.new(name: 'DomainController')
106
+ DomainControllerId = Shapes::StringShape.new(name: 'DomainControllerId')
107
+ DomainControllerIds = Shapes::ListShape.new(name: 'DomainControllerIds')
108
+ DomainControllerLimitExceededException = Shapes::StructureShape.new(name: 'DomainControllerLimitExceededException')
109
+ DomainControllerStatus = Shapes::StringShape.new(name: 'DomainControllerStatus')
110
+ DomainControllerStatusReason = Shapes::StringShape.new(name: 'DomainControllerStatusReason')
111
+ DomainControllers = Shapes::ListShape.new(name: 'DomainControllers')
102
112
  EnableRadiusRequest = Shapes::StructureShape.new(name: 'EnableRadiusRequest')
103
113
  EnableRadiusResult = Shapes::StructureShape.new(name: 'EnableRadiusResult')
104
114
  EnableSsoRequest = Shapes::StructureShape.new(name: 'EnableSsoRequest')
@@ -210,6 +220,8 @@ module Aws::DirectoryService
210
220
  UnsupportedOperationException = Shapes::StructureShape.new(name: 'UnsupportedOperationException')
211
221
  UpdateConditionalForwarderRequest = Shapes::StructureShape.new(name: 'UpdateConditionalForwarderRequest')
212
222
  UpdateConditionalForwarderResult = Shapes::StructureShape.new(name: 'UpdateConditionalForwarderResult')
223
+ UpdateNumberOfDomainControllersRequest = Shapes::StructureShape.new(name: 'UpdateNumberOfDomainControllersRequest')
224
+ UpdateNumberOfDomainControllersResult = Shapes::StructureShape.new(name: 'UpdateNumberOfDomainControllersResult')
213
225
  UpdateRadiusRequest = Shapes::StructureShape.new(name: 'UpdateRadiusRequest')
214
226
  UpdateRadiusResult = Shapes::StructureShape.new(name: 'UpdateRadiusResult')
215
227
  UpdateSecurityGroupForDirectoryControllers = Shapes::BooleanShape.new(name: 'UpdateSecurityGroupForDirectoryControllers')
@@ -382,6 +394,16 @@ module Aws::DirectoryService
382
394
  DescribeDirectoriesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
383
395
  DescribeDirectoriesResult.struct_class = Types::DescribeDirectoriesResult
384
396
 
397
+ DescribeDomainControllersRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "DirectoryId"))
398
+ DescribeDomainControllersRequest.add_member(:domain_controller_ids, Shapes::ShapeRef.new(shape: DomainControllerIds, location_name: "DomainControllerIds"))
399
+ DescribeDomainControllersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
400
+ DescribeDomainControllersRequest.add_member(:limit, Shapes::ShapeRef.new(shape: Limit, location_name: "Limit"))
401
+ DescribeDomainControllersRequest.struct_class = Types::DescribeDomainControllersRequest
402
+
403
+ DescribeDomainControllersResult.add_member(:domain_controllers, Shapes::ShapeRef.new(shape: DomainControllers, location_name: "DomainControllers"))
404
+ DescribeDomainControllersResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
405
+ DescribeDomainControllersResult.struct_class = Types::DescribeDomainControllersResult
406
+
385
407
  DescribeEventTopicsRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, location_name: "DirectoryId"))
386
408
  DescribeEventTopicsRequest.add_member(:topic_names, Shapes::ShapeRef.new(shape: TopicNames, location_name: "TopicNames"))
387
409
  DescribeEventTopicsRequest.struct_class = Types::DescribeEventTopicsRequest
@@ -441,6 +463,7 @@ module Aws::DirectoryService
441
463
  DirectoryDescription.add_member(:radius_status, Shapes::ShapeRef.new(shape: RadiusStatus, location_name: "RadiusStatus"))
442
464
  DirectoryDescription.add_member(:stage_reason, Shapes::ShapeRef.new(shape: StageReason, location_name: "StageReason"))
443
465
  DirectoryDescription.add_member(:sso_enabled, Shapes::ShapeRef.new(shape: SsoEnabled, location_name: "SsoEnabled"))
466
+ DirectoryDescription.add_member(:desired_number_of_domain_controllers, Shapes::ShapeRef.new(shape: DesiredNumberOfDomainControllers, location_name: "DesiredNumberOfDomainControllers"))
444
467
  DirectoryDescription.struct_class = Types::DirectoryDescription
445
468
 
446
469
  DirectoryDescriptions.member = Shapes::ShapeRef.new(shape: DirectoryDescription)
@@ -482,6 +505,22 @@ module Aws::DirectoryService
482
505
 
483
506
  DnsIpAddrs.member = Shapes::ShapeRef.new(shape: IpAddr)
484
507
 
508
+ DomainController.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, location_name: "DirectoryId"))
509
+ DomainController.add_member(:domain_controller_id, Shapes::ShapeRef.new(shape: DomainControllerId, location_name: "DomainControllerId"))
510
+ DomainController.add_member(:dns_ip_addr, Shapes::ShapeRef.new(shape: IpAddr, location_name: "DnsIpAddr"))
511
+ DomainController.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, location_name: "VpcId"))
512
+ DomainController.add_member(:subnet_id, Shapes::ShapeRef.new(shape: SubnetId, location_name: "SubnetId"))
513
+ DomainController.add_member(:availability_zone, Shapes::ShapeRef.new(shape: AvailabilityZone, location_name: "AvailabilityZone"))
514
+ DomainController.add_member(:status, Shapes::ShapeRef.new(shape: DomainControllerStatus, location_name: "Status"))
515
+ DomainController.add_member(:status_reason, Shapes::ShapeRef.new(shape: DomainControllerStatusReason, location_name: "StatusReason"))
516
+ DomainController.add_member(:launch_time, Shapes::ShapeRef.new(shape: LaunchTime, location_name: "LaunchTime"))
517
+ DomainController.add_member(:status_last_updated_date_time, Shapes::ShapeRef.new(shape: LastUpdatedDateTime, location_name: "StatusLastUpdatedDateTime"))
518
+ DomainController.struct_class = Types::DomainController
519
+
520
+ DomainControllerIds.member = Shapes::ShapeRef.new(shape: DomainControllerId)
521
+
522
+ DomainControllers.member = Shapes::ShapeRef.new(shape: DomainController)
523
+
485
524
  EnableRadiusRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "DirectoryId"))
486
525
  EnableRadiusRequest.add_member(:radius_settings, Shapes::ShapeRef.new(shape: RadiusSettings, required: true, location_name: "RadiusSettings"))
487
526
  EnableRadiusRequest.struct_class = Types::EnableRadiusRequest
@@ -669,6 +708,12 @@ module Aws::DirectoryService
669
708
 
670
709
  UpdateConditionalForwarderResult.struct_class = Types::UpdateConditionalForwarderResult
671
710
 
711
+ UpdateNumberOfDomainControllersRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "DirectoryId"))
712
+ UpdateNumberOfDomainControllersRequest.add_member(:desired_number, Shapes::ShapeRef.new(shape: DesiredNumberOfDomainControllers, required: true, location_name: "DesiredNumber"))
713
+ UpdateNumberOfDomainControllersRequest.struct_class = Types::UpdateNumberOfDomainControllersRequest
714
+
715
+ UpdateNumberOfDomainControllersResult.struct_class = Types::UpdateNumberOfDomainControllersResult
716
+
672
717
  UpdateRadiusRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "DirectoryId"))
673
718
  UpdateRadiusRequest.add_member(:radius_settings, Shapes::ShapeRef.new(shape: RadiusSettings, required: true, location_name: "RadiusSettings"))
674
719
  UpdateRadiusRequest.struct_class = Types::UpdateRadiusRequest
@@ -932,6 +977,26 @@ module Aws::DirectoryService
932
977
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
933
978
  end)
934
979
 
980
+ api.add_operation(:describe_domain_controllers, Seahorse::Model::Operation.new.tap do |o|
981
+ o.name = "DescribeDomainControllers"
982
+ o.http_method = "POST"
983
+ o.http_request_uri = "/"
984
+ o.input = Shapes::ShapeRef.new(shape: DescribeDomainControllersRequest)
985
+ o.output = Shapes::ShapeRef.new(shape: DescribeDomainControllersResult)
986
+ o.errors << Shapes::ShapeRef.new(shape: EntityDoesNotExistException)
987
+ o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
988
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
989
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
990
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
991
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
992
+ o[:pager] = Aws::Pager.new(
993
+ limit_key: "limit",
994
+ tokens: {
995
+ "next_token" => "next_token"
996
+ }
997
+ )
998
+ end)
999
+
935
1000
  api.add_operation(:describe_event_topics, Seahorse::Model::Operation.new.tap do |o|
936
1001
  o.name = "DescribeEventTopics"
937
1002
  o.http_method = "POST"
@@ -1158,6 +1223,21 @@ module Aws::DirectoryService
1158
1223
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1159
1224
  end)
1160
1225
 
1226
+ api.add_operation(:update_number_of_domain_controllers, Seahorse::Model::Operation.new.tap do |o|
1227
+ o.name = "UpdateNumberOfDomainControllers"
1228
+ o.http_method = "POST"
1229
+ o.http_request_uri = "/"
1230
+ o.input = Shapes::ShapeRef.new(shape: UpdateNumberOfDomainControllersRequest)
1231
+ o.output = Shapes::ShapeRef.new(shape: UpdateNumberOfDomainControllersResult)
1232
+ o.errors << Shapes::ShapeRef.new(shape: EntityDoesNotExistException)
1233
+ o.errors << Shapes::ShapeRef.new(shape: DirectoryUnavailableException)
1234
+ o.errors << Shapes::ShapeRef.new(shape: DomainControllerLimitExceededException)
1235
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1236
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
1237
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
1238
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1239
+ end)
1240
+
1161
1241
  api.add_operation(:update_radius, Seahorse::Model::Operation.new.tap do |o|
1162
1242
  o.name = "UpdateRadius"
1163
1243
  o.http_method = "POST"
@@ -1017,6 +1017,63 @@ module Aws::DirectoryService
1017
1017
  include Aws::Structure
1018
1018
  end
1019
1019
 
1020
+ # @note When making an API call, you may pass DescribeDomainControllersRequest
1021
+ # data as a hash:
1022
+ #
1023
+ # {
1024
+ # directory_id: "DirectoryId", # required
1025
+ # domain_controller_ids: ["DomainControllerId"],
1026
+ # next_token: "NextToken",
1027
+ # limit: 1,
1028
+ # }
1029
+ #
1030
+ # @!attribute [rw] directory_id
1031
+ # Identifier of the directory for which to retrieve the domain
1032
+ # controller information.
1033
+ # @return [String]
1034
+ #
1035
+ # @!attribute [rw] domain_controller_ids
1036
+ # A list of identifiers for the domain controllers whose information
1037
+ # will be provided.
1038
+ # @return [Array<String>]
1039
+ #
1040
+ # @!attribute [rw] next_token
1041
+ # The *DescribeDomainControllers.NextToken* value from a previous call
1042
+ # to DescribeDomainControllers. Pass null if this is the first call.
1043
+ # @return [String]
1044
+ #
1045
+ # @!attribute [rw] limit
1046
+ # The maximum number of items to return.
1047
+ # @return [Integer]
1048
+ #
1049
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeDomainControllersRequest AWS API Documentation
1050
+ #
1051
+ class DescribeDomainControllersRequest < Struct.new(
1052
+ :directory_id,
1053
+ :domain_controller_ids,
1054
+ :next_token,
1055
+ :limit)
1056
+ include Aws::Structure
1057
+ end
1058
+
1059
+ # @!attribute [rw] domain_controllers
1060
+ # List of the DomainController objects that were retrieved.
1061
+ # @return [Array<Types::DomainController>]
1062
+ #
1063
+ # @!attribute [rw] next_token
1064
+ # If not null, more results are available. Pass this value for the
1065
+ # `NextToken` parameter in a subsequent call to
1066
+ # DescribeDomainControllers retrieve the next set of items.
1067
+ # @return [String]
1068
+ #
1069
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeDomainControllersResult AWS API Documentation
1070
+ #
1071
+ class DescribeDomainControllersResult < Struct.new(
1072
+ :domain_controllers,
1073
+ :next_token)
1074
+ include Aws::Structure
1075
+ end
1076
+
1020
1077
  # Describes event topics.
1021
1078
  #
1022
1079
  # @note When making an API call, you may pass DescribeEventTopicsRequest
@@ -1379,6 +1436,11 @@ module Aws::DirectoryService
1379
1436
  # information, see EnableSso and DisableSso.
1380
1437
  # @return [Boolean]
1381
1438
  #
1439
+ # @!attribute [rw] desired_number_of_domain_controllers
1440
+ # The desired number of domain controllers in the directory if the
1441
+ # directory is Microsoft AD.
1442
+ # @return [Integer]
1443
+ #
1382
1444
  # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DirectoryDescription AWS API Documentation
1383
1445
  #
1384
1446
  class DirectoryDescription < Struct.new(
@@ -1399,7 +1461,8 @@ module Aws::DirectoryService
1399
1461
  :radius_settings,
1400
1462
  :radius_status,
1401
1463
  :stage_reason,
1402
- :sso_enabled)
1464
+ :sso_enabled,
1465
+ :desired_number_of_domain_controllers)
1403
1466
  include Aws::Structure
1404
1467
  end
1405
1468
 
@@ -1594,6 +1657,66 @@ module Aws::DirectoryService
1594
1657
  #
1595
1658
  class DisableSsoResult < Aws::EmptyStructure; end
1596
1659
 
1660
+ # Contains information about the domain controllers for a specified
1661
+ # directory.
1662
+ #
1663
+ # @!attribute [rw] directory_id
1664
+ # Identifier of the directory where the domain controller resides.
1665
+ # @return [String]
1666
+ #
1667
+ # @!attribute [rw] domain_controller_id
1668
+ # Identifies a specific domain controller in the directory.
1669
+ # @return [String]
1670
+ #
1671
+ # @!attribute [rw] dns_ip_addr
1672
+ # The IP address of the domain controller.
1673
+ # @return [String]
1674
+ #
1675
+ # @!attribute [rw] vpc_id
1676
+ # The identifier of the VPC that contains the domain controller.
1677
+ # @return [String]
1678
+ #
1679
+ # @!attribute [rw] subnet_id
1680
+ # Identifier of the subnet in the VPC that contains the domain
1681
+ # controller.
1682
+ # @return [String]
1683
+ #
1684
+ # @!attribute [rw] availability_zone
1685
+ # The Availability Zone where the domain controller is located.
1686
+ # @return [String]
1687
+ #
1688
+ # @!attribute [rw] status
1689
+ # The status of the domain controller.
1690
+ # @return [String]
1691
+ #
1692
+ # @!attribute [rw] status_reason
1693
+ # A description of the domain controller state.
1694
+ # @return [String]
1695
+ #
1696
+ # @!attribute [rw] launch_time
1697
+ # Specifies when the domain controller was created.
1698
+ # @return [Time]
1699
+ #
1700
+ # @!attribute [rw] status_last_updated_date_time
1701
+ # The date and time that the status was last updated.
1702
+ # @return [Time]
1703
+ #
1704
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DomainController AWS API Documentation
1705
+ #
1706
+ class DomainController < Struct.new(
1707
+ :directory_id,
1708
+ :domain_controller_id,
1709
+ :dns_ip_addr,
1710
+ :vpc_id,
1711
+ :subnet_id,
1712
+ :availability_zone,
1713
+ :status,
1714
+ :status_reason,
1715
+ :launch_time,
1716
+ :status_last_updated_date_time)
1717
+ include Aws::Structure
1718
+ end
1719
+
1597
1720
  # Contains the inputs for the EnableRadius operation.
1598
1721
  #
1599
1722
  # @note When making an API call, you may pass EnableRadiusRequest
@@ -2475,6 +2598,35 @@ module Aws::DirectoryService
2475
2598
  #
2476
2599
  class UpdateConditionalForwarderResult < Aws::EmptyStructure; end
2477
2600
 
2601
+ # @note When making an API call, you may pass UpdateNumberOfDomainControllersRequest
2602
+ # data as a hash:
2603
+ #
2604
+ # {
2605
+ # directory_id: "DirectoryId", # required
2606
+ # desired_number: 1, # required
2607
+ # }
2608
+ #
2609
+ # @!attribute [rw] directory_id
2610
+ # Identifier of the directory to which the domain controllers will be
2611
+ # added or removed.
2612
+ # @return [String]
2613
+ #
2614
+ # @!attribute [rw] desired_number
2615
+ # The number of domain controllers desired in the directory.
2616
+ # @return [Integer]
2617
+ #
2618
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/UpdateNumberOfDomainControllersRequest AWS API Documentation
2619
+ #
2620
+ class UpdateNumberOfDomainControllersRequest < Struct.new(
2621
+ :directory_id,
2622
+ :desired_number)
2623
+ include Aws::Structure
2624
+ end
2625
+
2626
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/UpdateNumberOfDomainControllersResult AWS API Documentation
2627
+ #
2628
+ class UpdateNumberOfDomainControllersResult < Aws::EmptyStructure; end
2629
+
2478
2630
  # Contains the inputs for the UpdateRadius operation.
2479
2631
  #
2480
2632
  # @note When making an API call, you may pass UpdateRadiusRequest
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-directoryservice
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.rc7
4
+ version: 1.0.0.rc8
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: 2017-06-29 00:00:00.000000000 Z
11
+ date: 2017-07-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 3.0.0.rc14
19
+ version: 3.0.0.rc16
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 3.0.0.rc14
26
+ version: 3.0.0.rc16
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: aws-sigv4
29
29
  requirement: !ruby/object:Gem::Requirement