aws-sdk-directoryservice 1.31.0 → 1.36.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.
@@ -34,6 +34,7 @@ module Aws::DirectoryService
|
|
34
34
|
# * {CertificateInUseException}
|
35
35
|
# * {CertificateLimitExceededException}
|
36
36
|
# * {ClientException}
|
37
|
+
# * {DirectoryAlreadyInRegionException}
|
37
38
|
# * {DirectoryAlreadySharedException}
|
38
39
|
# * {DirectoryDoesNotExistException}
|
39
40
|
# * {DirectoryLimitExceededException}
|
@@ -44,6 +45,7 @@ module Aws::DirectoryService
|
|
44
45
|
# * {EntityDoesNotExistException}
|
45
46
|
# * {InsufficientPermissionsException}
|
46
47
|
# * {InvalidCertificateException}
|
48
|
+
# * {InvalidClientAuthStatusException}
|
47
49
|
# * {InvalidLDAPSStatusException}
|
48
50
|
# * {InvalidNextTokenException}
|
49
51
|
# * {InvalidParameterException}
|
@@ -52,6 +54,7 @@ module Aws::DirectoryService
|
|
52
54
|
# * {IpRouteLimitExceededException}
|
53
55
|
# * {NoAvailableCertificateException}
|
54
56
|
# * {OrganizationsException}
|
57
|
+
# * {RegionLimitExceededException}
|
55
58
|
# * {ServiceException}
|
56
59
|
# * {ShareLimitExceededException}
|
57
60
|
# * {SnapshotLimitExceededException}
|
@@ -205,6 +208,26 @@ module Aws::DirectoryService
|
|
205
208
|
end
|
206
209
|
end
|
207
210
|
|
211
|
+
class DirectoryAlreadyInRegionException < ServiceError
|
212
|
+
|
213
|
+
# @param [Seahorse::Client::RequestContext] context
|
214
|
+
# @param [String] message
|
215
|
+
# @param [Aws::DirectoryService::Types::DirectoryAlreadyInRegionException] data
|
216
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
217
|
+
super(context, message, data)
|
218
|
+
end
|
219
|
+
|
220
|
+
# @return [String]
|
221
|
+
def message
|
222
|
+
@message || @data[:message]
|
223
|
+
end
|
224
|
+
|
225
|
+
# @return [String]
|
226
|
+
def request_id
|
227
|
+
@data[:request_id]
|
228
|
+
end
|
229
|
+
end
|
230
|
+
|
208
231
|
class DirectoryAlreadySharedException < ServiceError
|
209
232
|
|
210
233
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -405,6 +428,26 @@ module Aws::DirectoryService
|
|
405
428
|
end
|
406
429
|
end
|
407
430
|
|
431
|
+
class InvalidClientAuthStatusException < ServiceError
|
432
|
+
|
433
|
+
# @param [Seahorse::Client::RequestContext] context
|
434
|
+
# @param [String] message
|
435
|
+
# @param [Aws::DirectoryService::Types::InvalidClientAuthStatusException] data
|
436
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
437
|
+
super(context, message, data)
|
438
|
+
end
|
439
|
+
|
440
|
+
# @return [String]
|
441
|
+
def message
|
442
|
+
@message || @data[:message]
|
443
|
+
end
|
444
|
+
|
445
|
+
# @return [String]
|
446
|
+
def request_id
|
447
|
+
@data[:request_id]
|
448
|
+
end
|
449
|
+
end
|
450
|
+
|
408
451
|
class InvalidLDAPSStatusException < ServiceError
|
409
452
|
|
410
453
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -565,6 +608,26 @@ module Aws::DirectoryService
|
|
565
608
|
end
|
566
609
|
end
|
567
610
|
|
611
|
+
class RegionLimitExceededException < ServiceError
|
612
|
+
|
613
|
+
# @param [Seahorse::Client::RequestContext] context
|
614
|
+
# @param [String] message
|
615
|
+
# @param [Aws::DirectoryService::Types::RegionLimitExceededException] data
|
616
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
617
|
+
super(context, message, data)
|
618
|
+
end
|
619
|
+
|
620
|
+
# @return [String]
|
621
|
+
def message
|
622
|
+
@message || @data[:message]
|
623
|
+
end
|
624
|
+
|
625
|
+
# @return [String]
|
626
|
+
def request_id
|
627
|
+
@data[:request_id]
|
628
|
+
end
|
629
|
+
end
|
630
|
+
|
568
631
|
class ServiceException < ServiceError
|
569
632
|
|
570
633
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -166,6 +166,47 @@ module Aws::DirectoryService
|
|
166
166
|
#
|
167
167
|
class AddIpRoutesResult < Aws::EmptyStructure; end
|
168
168
|
|
169
|
+
# @note When making an API call, you may pass AddRegionRequest
|
170
|
+
# data as a hash:
|
171
|
+
#
|
172
|
+
# {
|
173
|
+
# directory_id: "DirectoryId", # required
|
174
|
+
# region_name: "RegionName", # required
|
175
|
+
# vpc_settings: { # required
|
176
|
+
# vpc_id: "VpcId", # required
|
177
|
+
# subnet_ids: ["SubnetId"], # required
|
178
|
+
# },
|
179
|
+
# }
|
180
|
+
#
|
181
|
+
# @!attribute [rw] directory_id
|
182
|
+
# The identifier of the directory to which you want to add Region
|
183
|
+
# replication.
|
184
|
+
# @return [String]
|
185
|
+
#
|
186
|
+
# @!attribute [rw] region_name
|
187
|
+
# The name of the Region where you want to add domain controllers for
|
188
|
+
# replication. For example, `us-east-1`.
|
189
|
+
# @return [String]
|
190
|
+
#
|
191
|
+
# @!attribute [rw] vpc_settings
|
192
|
+
# Contains VPC information for the CreateDirectory or
|
193
|
+
# CreateMicrosoftAD operation.
|
194
|
+
# @return [Types::DirectoryVpcSettings]
|
195
|
+
#
|
196
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/AddRegionRequest AWS API Documentation
|
197
|
+
#
|
198
|
+
class AddRegionRequest < Struct.new(
|
199
|
+
:directory_id,
|
200
|
+
:region_name,
|
201
|
+
:vpc_settings)
|
202
|
+
SENSITIVE = []
|
203
|
+
include Aws::Structure
|
204
|
+
end
|
205
|
+
|
206
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/AddRegionResult AWS API Documentation
|
207
|
+
#
|
208
|
+
class AddRegionResult < Aws::EmptyStructure; end
|
209
|
+
|
169
210
|
# @note When making an API call, you may pass AddTagsToResourceRequest
|
170
211
|
# data as a hash:
|
171
212
|
#
|
@@ -302,6 +343,15 @@ module Aws::DirectoryService
|
|
302
343
|
# The date and time when the certificate will expire.
|
303
344
|
# @return [Time]
|
304
345
|
#
|
346
|
+
# @!attribute [rw] type
|
347
|
+
# Select `ClientCertAuth` for smart card integration.
|
348
|
+
# @return [String]
|
349
|
+
#
|
350
|
+
# @!attribute [rw] client_cert_auth_settings
|
351
|
+
# Provides information about the client certificate authentication
|
352
|
+
# settings. The default value is `ClientLDAPS`.
|
353
|
+
# @return [Types::ClientCertAuthSettings]
|
354
|
+
#
|
305
355
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/Certificate AWS API Documentation
|
306
356
|
#
|
307
357
|
class Certificate < Struct.new(
|
@@ -310,7 +360,9 @@ module Aws::DirectoryService
|
|
310
360
|
:state_reason,
|
311
361
|
:common_name,
|
312
362
|
:registered_date_time,
|
313
|
-
:expiry_date_time
|
363
|
+
:expiry_date_time,
|
364
|
+
:type,
|
365
|
+
:client_cert_auth_settings)
|
314
366
|
SENSITIVE = []
|
315
367
|
include Aws::Structure
|
316
368
|
end
|
@@ -392,13 +444,18 @@ module Aws::DirectoryService
|
|
392
444
|
# The date and time when the certificate will expire.
|
393
445
|
# @return [Time]
|
394
446
|
#
|
447
|
+
# @!attribute [rw] type
|
448
|
+
# Displays the type of certificate.
|
449
|
+
# @return [String]
|
450
|
+
#
|
395
451
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CertificateInfo AWS API Documentation
|
396
452
|
#
|
397
453
|
class CertificateInfo < Struct.new(
|
398
454
|
:certificate_id,
|
399
455
|
:common_name,
|
400
456
|
:state,
|
401
|
-
:expiry_date_time
|
457
|
+
:expiry_date_time,
|
458
|
+
:type)
|
402
459
|
SENSITIVE = []
|
403
460
|
include Aws::Structure
|
404
461
|
end
|
@@ -423,6 +480,29 @@ module Aws::DirectoryService
|
|
423
480
|
include Aws::Structure
|
424
481
|
end
|
425
482
|
|
483
|
+
# Contains information about the client certificate authentication
|
484
|
+
# settings, such as `ClientLDAPS` or `ClientCertAuth`.
|
485
|
+
#
|
486
|
+
# @note When making an API call, you may pass ClientCertAuthSettings
|
487
|
+
# data as a hash:
|
488
|
+
#
|
489
|
+
# {
|
490
|
+
# ocsp_url: "OCSPUrl",
|
491
|
+
# }
|
492
|
+
#
|
493
|
+
# @!attribute [rw] ocsp_url
|
494
|
+
# Specifies the URL of the default OCSP server used to check for
|
495
|
+
# revocation status.
|
496
|
+
# @return [String]
|
497
|
+
#
|
498
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ClientCertAuthSettings AWS API Documentation
|
499
|
+
#
|
500
|
+
class ClientCertAuthSettings < Struct.new(
|
501
|
+
:ocsp_url)
|
502
|
+
SENSITIVE = []
|
503
|
+
include Aws::Structure
|
504
|
+
end
|
505
|
+
|
426
506
|
# A client exception has occurred.
|
427
507
|
#
|
428
508
|
# @!attribute [rw] message
|
@@ -784,6 +864,36 @@ module Aws::DirectoryService
|
|
784
864
|
#
|
785
865
|
# If you need to change the password for the administrator account,
|
786
866
|
# you can use the ResetUserPassword API call.
|
867
|
+
#
|
868
|
+
# The regex pattern for this string is made up of the following
|
869
|
+
# conditions:
|
870
|
+
#
|
871
|
+
# * Length (?=^.\\\{8,64\\}$) – Must be between 8 and 64 characters
|
872
|
+
#
|
873
|
+
# ^
|
874
|
+
#
|
875
|
+
# AND any 3 of the following password complexity rules required by
|
876
|
+
# Active Directory:
|
877
|
+
#
|
878
|
+
# * Numbers and upper case and lowercase
|
879
|
+
# (?=.*\\d)(?=.*\[A-Z\])(?=.*\[a-z\])
|
880
|
+
#
|
881
|
+
# * Numbers and special characters and lower case
|
882
|
+
# (?=.*\\d)(?=.*\[^A-Za-z0-9\\s\])(?=.*\[a-z\])
|
883
|
+
#
|
884
|
+
# * Special characters and upper case and lower case
|
885
|
+
# (?=.*\[^A-Za-z0-9\\s\])(?=.*\[A-Z\])(?=.*\[a-z\])
|
886
|
+
#
|
887
|
+
# * Numbers and upper case and special characters
|
888
|
+
# (?=.*\\d)(?=.*\[A-Z\])(?=.*\[^A-Za-z0-9\\s\])
|
889
|
+
#
|
890
|
+
# For additional information about how Active Directory passwords are
|
891
|
+
# enforced, see [Password must meet complexity requirements][1] on the
|
892
|
+
# Microsoft website.
|
893
|
+
#
|
894
|
+
#
|
895
|
+
#
|
896
|
+
# [1]: https://docs.microsoft.com/en-us/windows/security/threat-protection/security-policy-settings/password-must-meet-complexity-requirements
|
787
897
|
# @return [String]
|
788
898
|
#
|
789
899
|
# @!attribute [rw] description
|
@@ -1629,6 +1739,58 @@ module Aws::DirectoryService
|
|
1629
1739
|
include Aws::Structure
|
1630
1740
|
end
|
1631
1741
|
|
1742
|
+
# @note When making an API call, you may pass DescribeRegionsRequest
|
1743
|
+
# data as a hash:
|
1744
|
+
#
|
1745
|
+
# {
|
1746
|
+
# directory_id: "DirectoryId", # required
|
1747
|
+
# region_name: "RegionName",
|
1748
|
+
# next_token: "NextToken",
|
1749
|
+
# }
|
1750
|
+
#
|
1751
|
+
# @!attribute [rw] directory_id
|
1752
|
+
# The identifier of the directory.
|
1753
|
+
# @return [String]
|
1754
|
+
#
|
1755
|
+
# @!attribute [rw] region_name
|
1756
|
+
# The name of the Region. For example, `us-east-1`.
|
1757
|
+
# @return [String]
|
1758
|
+
#
|
1759
|
+
# @!attribute [rw] next_token
|
1760
|
+
# The `DescribeRegionsResult.NextToken` value from a previous call to
|
1761
|
+
# DescribeRegions. Pass null if this is the first call.
|
1762
|
+
# @return [String]
|
1763
|
+
#
|
1764
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeRegionsRequest AWS API Documentation
|
1765
|
+
#
|
1766
|
+
class DescribeRegionsRequest < Struct.new(
|
1767
|
+
:directory_id,
|
1768
|
+
:region_name,
|
1769
|
+
:next_token)
|
1770
|
+
SENSITIVE = []
|
1771
|
+
include Aws::Structure
|
1772
|
+
end
|
1773
|
+
|
1774
|
+
# @!attribute [rw] regions_description
|
1775
|
+
# List of Region information related to the directory for each
|
1776
|
+
# replicated Region.
|
1777
|
+
# @return [Array<Types::RegionDescription>]
|
1778
|
+
#
|
1779
|
+
# @!attribute [rw] next_token
|
1780
|
+
# If not null, more results are available. Pass this value for the
|
1781
|
+
# `NextToken` parameter in a subsequent call to DescribeRegions to
|
1782
|
+
# retrieve the next set of items.
|
1783
|
+
# @return [String]
|
1784
|
+
#
|
1785
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeRegionsResult AWS API Documentation
|
1786
|
+
#
|
1787
|
+
class DescribeRegionsResult < Struct.new(
|
1788
|
+
:regions_description,
|
1789
|
+
:next_token)
|
1790
|
+
SENSITIVE = []
|
1791
|
+
include Aws::Structure
|
1792
|
+
end
|
1793
|
+
|
1632
1794
|
# @note When making an API call, you may pass DescribeSharedDirectoriesRequest
|
1633
1795
|
# data as a hash:
|
1634
1796
|
#
|
@@ -1831,6 +1993,27 @@ module Aws::DirectoryService
|
|
1831
1993
|
include Aws::Structure
|
1832
1994
|
end
|
1833
1995
|
|
1996
|
+
# The Region you specified is the same Region where the AWS Managed
|
1997
|
+
# Microsoft AD directory was created. Specify a different Region and try
|
1998
|
+
# again.
|
1999
|
+
#
|
2000
|
+
# @!attribute [rw] message
|
2001
|
+
# The descriptive message for the exception.
|
2002
|
+
# @return [String]
|
2003
|
+
#
|
2004
|
+
# @!attribute [rw] request_id
|
2005
|
+
# The AWS request identifier.
|
2006
|
+
# @return [String]
|
2007
|
+
#
|
2008
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DirectoryAlreadyInRegionException AWS API Documentation
|
2009
|
+
#
|
2010
|
+
class DirectoryAlreadyInRegionException < Struct.new(
|
2011
|
+
:message,
|
2012
|
+
:request_id)
|
2013
|
+
SENSITIVE = []
|
2014
|
+
include Aws::Structure
|
2015
|
+
end
|
2016
|
+
|
1834
2017
|
# The specified directory has already been shared with this AWS account.
|
1835
2018
|
#
|
1836
2019
|
# @!attribute [rw] message
|
@@ -2062,6 +2245,10 @@ module Aws::DirectoryService
|
|
2062
2245
|
# owner account.
|
2063
2246
|
# @return [Types::OwnerDirectoryDescription]
|
2064
2247
|
#
|
2248
|
+
# @!attribute [rw] regions_info
|
2249
|
+
# Lists the Regions where the directory has replicated.
|
2250
|
+
# @return [Types::RegionsInfo]
|
2251
|
+
#
|
2065
2252
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DirectoryDescription AWS API Documentation
|
2066
2253
|
#
|
2067
2254
|
class DirectoryDescription < Struct.new(
|
@@ -2088,7 +2275,8 @@ module Aws::DirectoryService
|
|
2088
2275
|
:stage_reason,
|
2089
2276
|
:sso_enabled,
|
2090
2277
|
:desired_number_of_domain_controllers,
|
2091
|
-
:owner_directory_description
|
2278
|
+
:owner_directory_description,
|
2279
|
+
:regions_info)
|
2092
2280
|
SENSITIVE = [:share_notes]
|
2093
2281
|
include Aws::Structure
|
2094
2282
|
end
|
@@ -2288,6 +2476,36 @@ module Aws::DirectoryService
|
|
2288
2476
|
include Aws::Structure
|
2289
2477
|
end
|
2290
2478
|
|
2479
|
+
# @note When making an API call, you may pass DisableClientAuthenticationRequest
|
2480
|
+
# data as a hash:
|
2481
|
+
#
|
2482
|
+
# {
|
2483
|
+
# directory_id: "DirectoryId", # required
|
2484
|
+
# type: "SmartCard", # required, accepts SmartCard
|
2485
|
+
# }
|
2486
|
+
#
|
2487
|
+
# @!attribute [rw] directory_id
|
2488
|
+
# Disable client authentication in a specified directory for smart
|
2489
|
+
# cards.
|
2490
|
+
# @return [String]
|
2491
|
+
#
|
2492
|
+
# @!attribute [rw] type
|
2493
|
+
# Disable the type of client authentication request.
|
2494
|
+
# @return [String]
|
2495
|
+
#
|
2496
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DisableClientAuthenticationRequest AWS API Documentation
|
2497
|
+
#
|
2498
|
+
class DisableClientAuthenticationRequest < Struct.new(
|
2499
|
+
:directory_id,
|
2500
|
+
:type)
|
2501
|
+
SENSITIVE = []
|
2502
|
+
include Aws::Structure
|
2503
|
+
end
|
2504
|
+
|
2505
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DisableClientAuthenticationResult AWS API Documentation
|
2506
|
+
#
|
2507
|
+
class DisableClientAuthenticationResult < Aws::EmptyStructure; end
|
2508
|
+
|
2291
2509
|
# @note When making an API call, you may pass DisableLDAPSRequest
|
2292
2510
|
# data as a hash:
|
2293
2511
|
#
|
@@ -2476,6 +2694,36 @@ module Aws::DirectoryService
|
|
2476
2694
|
include Aws::Structure
|
2477
2695
|
end
|
2478
2696
|
|
2697
|
+
# @note When making an API call, you may pass EnableClientAuthenticationRequest
|
2698
|
+
# data as a hash:
|
2699
|
+
#
|
2700
|
+
# {
|
2701
|
+
# directory_id: "DirectoryId", # required
|
2702
|
+
# type: "SmartCard", # required, accepts SmartCard
|
2703
|
+
# }
|
2704
|
+
#
|
2705
|
+
# @!attribute [rw] directory_id
|
2706
|
+
# Enable client authentication in a specified directory for smart
|
2707
|
+
# cards.
|
2708
|
+
# @return [String]
|
2709
|
+
#
|
2710
|
+
# @!attribute [rw] type
|
2711
|
+
# Enable the type of client authentication request.
|
2712
|
+
# @return [String]
|
2713
|
+
#
|
2714
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/EnableClientAuthenticationRequest AWS API Documentation
|
2715
|
+
#
|
2716
|
+
class EnableClientAuthenticationRequest < Struct.new(
|
2717
|
+
:directory_id,
|
2718
|
+
:type)
|
2719
|
+
SENSITIVE = []
|
2720
|
+
include Aws::Structure
|
2721
|
+
end
|
2722
|
+
|
2723
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/EnableClientAuthenticationResult AWS API Documentation
|
2724
|
+
#
|
2725
|
+
class EnableClientAuthenticationResult < Aws::EmptyStructure; end
|
2726
|
+
|
2479
2727
|
# @note When making an API call, you may pass EnableLDAPSRequest
|
2480
2728
|
# data as a hash:
|
2481
2729
|
#
|
@@ -2772,6 +3020,25 @@ module Aws::DirectoryService
|
|
2772
3020
|
include Aws::Structure
|
2773
3021
|
end
|
2774
3022
|
|
3023
|
+
# The client authorization was invalid.
|
3024
|
+
#
|
3025
|
+
# @!attribute [rw] message
|
3026
|
+
# The descriptive message for the exception.
|
3027
|
+
# @return [String]
|
3028
|
+
#
|
3029
|
+
# @!attribute [rw] request_id
|
3030
|
+
# The AWS request identifier.
|
3031
|
+
# @return [String]
|
3032
|
+
#
|
3033
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/InvalidClientAuthStatusException AWS API Documentation
|
3034
|
+
#
|
3035
|
+
class InvalidClientAuthStatusException < Struct.new(
|
3036
|
+
:message,
|
3037
|
+
:request_id)
|
3038
|
+
SENSITIVE = []
|
3039
|
+
include Aws::Structure
|
3040
|
+
end
|
3041
|
+
|
2775
3042
|
# The LDAP activities could not be performed because they are limited by
|
2776
3043
|
# the LDAPS status.
|
2777
3044
|
#
|
@@ -3370,9 +3637,9 @@ module Aws::DirectoryService
|
|
3370
3637
|
# }
|
3371
3638
|
#
|
3372
3639
|
# @!attribute [rw] radius_servers
|
3373
|
-
# An array of strings that contains the
|
3374
|
-
#
|
3375
|
-
# balancer.
|
3640
|
+
# An array of strings that contains the fully qualified domain name
|
3641
|
+
# (FQDN) or IP addresses of the RADIUS server endpoints, or the FQDN
|
3642
|
+
# or IP addresses of your RADIUS server load balancer.
|
3376
3643
|
# @return [Array<String>]
|
3377
3644
|
#
|
3378
3645
|
# @!attribute [rw] radius_port
|
@@ -3422,12 +3689,115 @@ module Aws::DirectoryService
|
|
3422
3689
|
include Aws::Structure
|
3423
3690
|
end
|
3424
3691
|
|
3692
|
+
# The replicated Region information for a directory.
|
3693
|
+
#
|
3694
|
+
# @!attribute [rw] directory_id
|
3695
|
+
# The identifier of the directory.
|
3696
|
+
# @return [String]
|
3697
|
+
#
|
3698
|
+
# @!attribute [rw] region_name
|
3699
|
+
# The name of the Region. For example, `us-east-1`.
|
3700
|
+
# @return [String]
|
3701
|
+
#
|
3702
|
+
# @!attribute [rw] region_type
|
3703
|
+
# Specifies whether the Region is the primary Region or an additional
|
3704
|
+
# Region.
|
3705
|
+
# @return [String]
|
3706
|
+
#
|
3707
|
+
# @!attribute [rw] status
|
3708
|
+
# The status of the replication process for the specified Region.
|
3709
|
+
# @return [String]
|
3710
|
+
#
|
3711
|
+
# @!attribute [rw] vpc_settings
|
3712
|
+
# Contains VPC information for the CreateDirectory or
|
3713
|
+
# CreateMicrosoftAD operation.
|
3714
|
+
# @return [Types::DirectoryVpcSettings]
|
3715
|
+
#
|
3716
|
+
# @!attribute [rw] desired_number_of_domain_controllers
|
3717
|
+
# The desired number of domain controllers in the specified Region for
|
3718
|
+
# the specified directory.
|
3719
|
+
# @return [Integer]
|
3720
|
+
#
|
3721
|
+
# @!attribute [rw] launch_time
|
3722
|
+
# Specifies when the Region replication began.
|
3723
|
+
# @return [Time]
|
3724
|
+
#
|
3725
|
+
# @!attribute [rw] status_last_updated_date_time
|
3726
|
+
# The date and time that the Region status was last updated.
|
3727
|
+
# @return [Time]
|
3728
|
+
#
|
3729
|
+
# @!attribute [rw] last_updated_date_time
|
3730
|
+
# The date and time that the Region description was last updated.
|
3731
|
+
# @return [Time]
|
3732
|
+
#
|
3733
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RegionDescription AWS API Documentation
|
3734
|
+
#
|
3735
|
+
class RegionDescription < Struct.new(
|
3736
|
+
:directory_id,
|
3737
|
+
:region_name,
|
3738
|
+
:region_type,
|
3739
|
+
:status,
|
3740
|
+
:vpc_settings,
|
3741
|
+
:desired_number_of_domain_controllers,
|
3742
|
+
:launch_time,
|
3743
|
+
:status_last_updated_date_time,
|
3744
|
+
:last_updated_date_time)
|
3745
|
+
SENSITIVE = []
|
3746
|
+
include Aws::Structure
|
3747
|
+
end
|
3748
|
+
|
3749
|
+
# You have reached the limit for maximum number of simultaneous Region
|
3750
|
+
# replications per directory.
|
3751
|
+
#
|
3752
|
+
# @!attribute [rw] message
|
3753
|
+
# The descriptive message for the exception.
|
3754
|
+
# @return [String]
|
3755
|
+
#
|
3756
|
+
# @!attribute [rw] request_id
|
3757
|
+
# The AWS request identifier.
|
3758
|
+
# @return [String]
|
3759
|
+
#
|
3760
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RegionLimitExceededException AWS API Documentation
|
3761
|
+
#
|
3762
|
+
class RegionLimitExceededException < Struct.new(
|
3763
|
+
:message,
|
3764
|
+
:request_id)
|
3765
|
+
SENSITIVE = []
|
3766
|
+
include Aws::Structure
|
3767
|
+
end
|
3768
|
+
|
3769
|
+
# Provides information about the Regions that are configured for
|
3770
|
+
# multi-Region replication.
|
3771
|
+
#
|
3772
|
+
# @!attribute [rw] primary_region
|
3773
|
+
# The Region where the AWS Managed Microsoft AD directory was
|
3774
|
+
# originally created.
|
3775
|
+
# @return [String]
|
3776
|
+
#
|
3777
|
+
# @!attribute [rw] additional_regions
|
3778
|
+
# Lists the Regions where the directory has been replicated, excluding
|
3779
|
+
# the primary Region.
|
3780
|
+
# @return [Array<String>]
|
3781
|
+
#
|
3782
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RegionsInfo AWS API Documentation
|
3783
|
+
#
|
3784
|
+
class RegionsInfo < Struct.new(
|
3785
|
+
:primary_region,
|
3786
|
+
:additional_regions)
|
3787
|
+
SENSITIVE = []
|
3788
|
+
include Aws::Structure
|
3789
|
+
end
|
3790
|
+
|
3425
3791
|
# @note When making an API call, you may pass RegisterCertificateRequest
|
3426
3792
|
# data as a hash:
|
3427
3793
|
#
|
3428
3794
|
# {
|
3429
3795
|
# directory_id: "DirectoryId", # required
|
3430
3796
|
# certificate_data: "CertificateData", # required
|
3797
|
+
# type: "ClientCertAuth", # accepts ClientCertAuth, ClientLDAPS
|
3798
|
+
# client_cert_auth_settings: {
|
3799
|
+
# ocsp_url: "OCSPUrl",
|
3800
|
+
# },
|
3431
3801
|
# }
|
3432
3802
|
#
|
3433
3803
|
# @!attribute [rw] directory_id
|
@@ -3438,11 +3808,22 @@ module Aws::DirectoryService
|
|
3438
3808
|
# The certificate PEM string that needs to be registered.
|
3439
3809
|
# @return [String]
|
3440
3810
|
#
|
3811
|
+
# @!attribute [rw] type
|
3812
|
+
# The certificate type to register for the request.
|
3813
|
+
# @return [String]
|
3814
|
+
#
|
3815
|
+
# @!attribute [rw] client_cert_auth_settings
|
3816
|
+
# Contains information about the client certificate authentication
|
3817
|
+
# settings, such as `ClientLDAPS` or `ClientCertAuth`.
|
3818
|
+
# @return [Types::ClientCertAuthSettings]
|
3819
|
+
#
|
3441
3820
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RegisterCertificateRequest AWS API Documentation
|
3442
3821
|
#
|
3443
3822
|
class RegisterCertificateRequest < Struct.new(
|
3444
3823
|
:directory_id,
|
3445
|
-
:certificate_data
|
3824
|
+
:certificate_data,
|
3825
|
+
:type,
|
3826
|
+
:client_cert_auth_settings)
|
3446
3827
|
SENSITIVE = []
|
3447
3828
|
include Aws::Structure
|
3448
3829
|
end
|
@@ -3558,6 +3939,30 @@ module Aws::DirectoryService
|
|
3558
3939
|
#
|
3559
3940
|
class RemoveIpRoutesResult < Aws::EmptyStructure; end
|
3560
3941
|
|
3942
|
+
# @note When making an API call, you may pass RemoveRegionRequest
|
3943
|
+
# data as a hash:
|
3944
|
+
#
|
3945
|
+
# {
|
3946
|
+
# directory_id: "DirectoryId", # required
|
3947
|
+
# }
|
3948
|
+
#
|
3949
|
+
# @!attribute [rw] directory_id
|
3950
|
+
# The identifier of the directory for which you want to remove Region
|
3951
|
+
# replication.
|
3952
|
+
# @return [String]
|
3953
|
+
#
|
3954
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RemoveRegionRequest AWS API Documentation
|
3955
|
+
#
|
3956
|
+
class RemoveRegionRequest < Struct.new(
|
3957
|
+
:directory_id)
|
3958
|
+
SENSITIVE = []
|
3959
|
+
include Aws::Structure
|
3960
|
+
end
|
3961
|
+
|
3962
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RemoveRegionResult AWS API Documentation
|
3963
|
+
#
|
3964
|
+
class RemoveRegionResult < Aws::EmptyStructure; end
|
3965
|
+
|
3561
3966
|
# @note When making an API call, you may pass RemoveTagsFromResourceRequest
|
3562
3967
|
# data as a hash:
|
3563
3968
|
#
|