aws-sdk-directoryservice 1.33.0 → 1.38.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
@@ -43,7 +43,7 @@ module Aws::DirectoryService
43
43
  include Aws::Structure
44
44
  end
45
45
 
46
- # You do not have sufficient access to perform this action.
46
+ # Client authentication is not available in this region at this time.
47
47
  #
48
48
  # @!attribute [rw] message
49
49
  # The descriptive message for the exception.
@@ -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,17 @@ 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
+ # The function that the registered certificate performs. Valid values
348
+ # include `ClientLDAPS` or `ClientCertAuth`. The default value is
349
+ # `ClientLDAPS`.
350
+ # @return [String]
351
+ #
352
+ # @!attribute [rw] client_cert_auth_settings
353
+ # A `ClientCertAuthSettings` object that contains client certificate
354
+ # authentication settings.
355
+ # @return [Types::ClientCertAuthSettings]
356
+ #
305
357
  # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/Certificate AWS API Documentation
306
358
  #
307
359
  class Certificate < Struct.new(
@@ -310,7 +362,9 @@ module Aws::DirectoryService
310
362
  :state_reason,
311
363
  :common_name,
312
364
  :registered_date_time,
313
- :expiry_date_time)
365
+ :expiry_date_time,
366
+ :type,
367
+ :client_cert_auth_settings)
314
368
  SENSITIVE = []
315
369
  include Aws::Structure
316
370
  end
@@ -392,13 +446,20 @@ module Aws::DirectoryService
392
446
  # The date and time when the certificate will expire.
393
447
  # @return [Time]
394
448
  #
449
+ # @!attribute [rw] type
450
+ # The function that the registered certificate performs. Valid values
451
+ # include `ClientLDAPS` or `ClientCertAuth`. The default value is
452
+ # `ClientLDAPS`.
453
+ # @return [String]
454
+ #
395
455
  # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CertificateInfo AWS API Documentation
396
456
  #
397
457
  class CertificateInfo < Struct.new(
398
458
  :certificate_id,
399
459
  :common_name,
400
460
  :state,
401
- :expiry_date_time)
461
+ :expiry_date_time,
462
+ :type)
402
463
  SENSITIVE = []
403
464
  include Aws::Structure
404
465
  end
@@ -423,6 +484,31 @@ module Aws::DirectoryService
423
484
  include Aws::Structure
424
485
  end
425
486
 
487
+ # Contains information about the client certificate authentication
488
+ # settings for the `RegisterCertificate` and `DescribeCertificate`
489
+ # operations.
490
+ #
491
+ # @note When making an API call, you may pass ClientCertAuthSettings
492
+ # data as a hash:
493
+ #
494
+ # {
495
+ # ocsp_url: "OCSPUrl",
496
+ # }
497
+ #
498
+ # @!attribute [rw] ocsp_url
499
+ # Specifies the URL of the default OCSP server used to check for
500
+ # revocation status. A secondary value to any OCSP address found in
501
+ # the AIA extension of the user certificate.
502
+ # @return [String]
503
+ #
504
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ClientCertAuthSettings AWS API Documentation
505
+ #
506
+ class ClientCertAuthSettings < Struct.new(
507
+ :ocsp_url)
508
+ SENSITIVE = []
509
+ include Aws::Structure
510
+ end
511
+
426
512
  # A client exception has occurred.
427
513
  #
428
514
  # @!attribute [rw] message
@@ -784,6 +870,36 @@ module Aws::DirectoryService
784
870
  #
785
871
  # If you need to change the password for the administrator account,
786
872
  # you can use the ResetUserPassword API call.
873
+ #
874
+ # The regex pattern for this string is made up of the following
875
+ # conditions:
876
+ #
877
+ # * Length (?=^.\\\{8,64\\}$) – Must be between 8 and 64 characters
878
+ #
879
+ # ^
880
+ #
881
+ # AND any 3 of the following password complexity rules required by
882
+ # Active Directory:
883
+ #
884
+ # * Numbers and upper case and lowercase
885
+ # (?=.*\\d)(?=.*\[A-Z\])(?=.*\[a-z\])
886
+ #
887
+ # * Numbers and special characters and lower case
888
+ # (?=.*\\d)(?=.*\[^A-Za-z0-9\\s\])(?=.*\[a-z\])
889
+ #
890
+ # * Special characters and upper case and lower case
891
+ # (?=.*\[^A-Za-z0-9\\s\])(?=.*\[A-Z\])(?=.*\[a-z\])
892
+ #
893
+ # * Numbers and upper case and special characters
894
+ # (?=.*\\d)(?=.*\[A-Z\])(?=.*\[^A-Za-z0-9\\s\])
895
+ #
896
+ # For additional information about how Active Directory passwords are
897
+ # enforced, see [Password must meet complexity requirements][1] on the
898
+ # Microsoft website.
899
+ #
900
+ #
901
+ #
902
+ # [1]: https://docs.microsoft.com/en-us/windows/security/threat-protection/security-policy-settings/password-must-meet-complexity-requirements
787
903
  # @return [String]
788
904
  #
789
905
  # @!attribute [rw] description
@@ -1629,6 +1745,58 @@ module Aws::DirectoryService
1629
1745
  include Aws::Structure
1630
1746
  end
1631
1747
 
1748
+ # @note When making an API call, you may pass DescribeRegionsRequest
1749
+ # data as a hash:
1750
+ #
1751
+ # {
1752
+ # directory_id: "DirectoryId", # required
1753
+ # region_name: "RegionName",
1754
+ # next_token: "NextToken",
1755
+ # }
1756
+ #
1757
+ # @!attribute [rw] directory_id
1758
+ # The identifier of the directory.
1759
+ # @return [String]
1760
+ #
1761
+ # @!attribute [rw] region_name
1762
+ # The name of the Region. For example, `us-east-1`.
1763
+ # @return [String]
1764
+ #
1765
+ # @!attribute [rw] next_token
1766
+ # The `DescribeRegionsResult.NextToken` value from a previous call to
1767
+ # DescribeRegions. Pass null if this is the first call.
1768
+ # @return [String]
1769
+ #
1770
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeRegionsRequest AWS API Documentation
1771
+ #
1772
+ class DescribeRegionsRequest < Struct.new(
1773
+ :directory_id,
1774
+ :region_name,
1775
+ :next_token)
1776
+ SENSITIVE = []
1777
+ include Aws::Structure
1778
+ end
1779
+
1780
+ # @!attribute [rw] regions_description
1781
+ # List of Region information related to the directory for each
1782
+ # replicated Region.
1783
+ # @return [Array<Types::RegionDescription>]
1784
+ #
1785
+ # @!attribute [rw] next_token
1786
+ # If not null, more results are available. Pass this value for the
1787
+ # `NextToken` parameter in a subsequent call to DescribeRegions to
1788
+ # retrieve the next set of items.
1789
+ # @return [String]
1790
+ #
1791
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeRegionsResult AWS API Documentation
1792
+ #
1793
+ class DescribeRegionsResult < Struct.new(
1794
+ :regions_description,
1795
+ :next_token)
1796
+ SENSITIVE = []
1797
+ include Aws::Structure
1798
+ end
1799
+
1632
1800
  # @note When making an API call, you may pass DescribeSharedDirectoriesRequest
1633
1801
  # data as a hash:
1634
1802
  #
@@ -1831,6 +1999,27 @@ module Aws::DirectoryService
1831
1999
  include Aws::Structure
1832
2000
  end
1833
2001
 
2002
+ # The Region you specified is the same Region where the AWS Managed
2003
+ # Microsoft AD directory was created. Specify a different Region and try
2004
+ # again.
2005
+ #
2006
+ # @!attribute [rw] message
2007
+ # The descriptive message for the exception.
2008
+ # @return [String]
2009
+ #
2010
+ # @!attribute [rw] request_id
2011
+ # The AWS request identifier.
2012
+ # @return [String]
2013
+ #
2014
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DirectoryAlreadyInRegionException AWS API Documentation
2015
+ #
2016
+ class DirectoryAlreadyInRegionException < Struct.new(
2017
+ :message,
2018
+ :request_id)
2019
+ SENSITIVE = []
2020
+ include Aws::Structure
2021
+ end
2022
+
1834
2023
  # The specified directory has already been shared with this AWS account.
1835
2024
  #
1836
2025
  # @!attribute [rw] message
@@ -2062,6 +2251,10 @@ module Aws::DirectoryService
2062
2251
  # owner account.
2063
2252
  # @return [Types::OwnerDirectoryDescription]
2064
2253
  #
2254
+ # @!attribute [rw] regions_info
2255
+ # Lists the Regions where the directory has replicated.
2256
+ # @return [Types::RegionsInfo]
2257
+ #
2065
2258
  # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DirectoryDescription AWS API Documentation
2066
2259
  #
2067
2260
  class DirectoryDescription < Struct.new(
@@ -2088,7 +2281,8 @@ module Aws::DirectoryService
2088
2281
  :stage_reason,
2089
2282
  :sso_enabled,
2090
2283
  :desired_number_of_domain_controllers,
2091
- :owner_directory_description)
2284
+ :owner_directory_description,
2285
+ :regions_info)
2092
2286
  SENSITIVE = [:share_notes]
2093
2287
  include Aws::Structure
2094
2288
  end
@@ -2288,6 +2482,36 @@ module Aws::DirectoryService
2288
2482
  include Aws::Structure
2289
2483
  end
2290
2484
 
2485
+ # @note When making an API call, you may pass DisableClientAuthenticationRequest
2486
+ # data as a hash:
2487
+ #
2488
+ # {
2489
+ # directory_id: "DirectoryId", # required
2490
+ # type: "SmartCard", # required, accepts SmartCard
2491
+ # }
2492
+ #
2493
+ # @!attribute [rw] directory_id
2494
+ # The identifier of the directory
2495
+ # @return [String]
2496
+ #
2497
+ # @!attribute [rw] type
2498
+ # The type of client authentication to disable. Currently, only the
2499
+ # parameter, `SmartCard` is supported.
2500
+ # @return [String]
2501
+ #
2502
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DisableClientAuthenticationRequest AWS API Documentation
2503
+ #
2504
+ class DisableClientAuthenticationRequest < Struct.new(
2505
+ :directory_id,
2506
+ :type)
2507
+ SENSITIVE = []
2508
+ include Aws::Structure
2509
+ end
2510
+
2511
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DisableClientAuthenticationResult AWS API Documentation
2512
+ #
2513
+ class DisableClientAuthenticationResult < Aws::EmptyStructure; end
2514
+
2291
2515
  # @note When making an API call, you may pass DisableLDAPSRequest
2292
2516
  # data as a hash:
2293
2517
  #
@@ -2476,6 +2700,38 @@ module Aws::DirectoryService
2476
2700
  include Aws::Structure
2477
2701
  end
2478
2702
 
2703
+ # @note When making an API call, you may pass EnableClientAuthenticationRequest
2704
+ # data as a hash:
2705
+ #
2706
+ # {
2707
+ # directory_id: "DirectoryId", # required
2708
+ # type: "SmartCard", # required, accepts SmartCard
2709
+ # }
2710
+ #
2711
+ # @!attribute [rw] directory_id
2712
+ # The identifier of the specified directory.
2713
+ # @return [String]
2714
+ #
2715
+ # @!attribute [rw] type
2716
+ # The type of client authentication to enable. Currently only the
2717
+ # value `SmartCard` is supported. Smart card authentication in AD
2718
+ # Connector requires that you enable Kerberos Constrained Delegation
2719
+ # for the Service User to the LDAP service in the on-premises AD.
2720
+ # @return [String]
2721
+ #
2722
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/EnableClientAuthenticationRequest AWS API Documentation
2723
+ #
2724
+ class EnableClientAuthenticationRequest < Struct.new(
2725
+ :directory_id,
2726
+ :type)
2727
+ SENSITIVE = []
2728
+ include Aws::Structure
2729
+ end
2730
+
2731
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/EnableClientAuthenticationResult AWS API Documentation
2732
+ #
2733
+ class EnableClientAuthenticationResult < Aws::EmptyStructure; end
2734
+
2479
2735
  # @note When making an API call, you may pass EnableLDAPSRequest
2480
2736
  # data as a hash:
2481
2737
  #
@@ -2772,6 +3028,25 @@ module Aws::DirectoryService
2772
3028
  include Aws::Structure
2773
3029
  end
2774
3030
 
3031
+ # Client authentication is already enabled.
3032
+ #
3033
+ # @!attribute [rw] message
3034
+ # The descriptive message for the exception.
3035
+ # @return [String]
3036
+ #
3037
+ # @!attribute [rw] request_id
3038
+ # The AWS request identifier.
3039
+ # @return [String]
3040
+ #
3041
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/InvalidClientAuthStatusException AWS API Documentation
3042
+ #
3043
+ class InvalidClientAuthStatusException < Struct.new(
3044
+ :message,
3045
+ :request_id)
3046
+ SENSITIVE = []
3047
+ include Aws::Structure
3048
+ end
3049
+
2775
3050
  # The LDAP activities could not be performed because they are limited by
2776
3051
  # the LDAPS status.
2777
3052
  #
@@ -3271,8 +3546,8 @@ module Aws::DirectoryService
3271
3546
  include Aws::Structure
3272
3547
  end
3273
3548
 
3274
- # The LDAP activities could not be performed because at least one valid
3275
- # certificate must be registered with the system.
3549
+ # Client authentication setup could not be completed because at least
3550
+ # one valid certificate must be registered in the system.
3276
3551
  #
3277
3552
  # @!attribute [rw] message
3278
3553
  # The descriptive message for the exception.
@@ -3370,9 +3645,9 @@ module Aws::DirectoryService
3370
3645
  # }
3371
3646
  #
3372
3647
  # @!attribute [rw] radius_servers
3373
- # An array of strings that contains the IP addresses of the RADIUS
3374
- # server endpoints, or the IP addresses of your RADIUS server load
3375
- # balancer.
3648
+ # An array of strings that contains the fully qualified domain name
3649
+ # (FQDN) or IP addresses of the RADIUS server endpoints, or the FQDN
3650
+ # or IP addresses of your RADIUS server load balancer.
3376
3651
  # @return [Array<String>]
3377
3652
  #
3378
3653
  # @!attribute [rw] radius_port
@@ -3422,12 +3697,115 @@ module Aws::DirectoryService
3422
3697
  include Aws::Structure
3423
3698
  end
3424
3699
 
3700
+ # The replicated Region information for a directory.
3701
+ #
3702
+ # @!attribute [rw] directory_id
3703
+ # The identifier of the directory.
3704
+ # @return [String]
3705
+ #
3706
+ # @!attribute [rw] region_name
3707
+ # The name of the Region. For example, `us-east-1`.
3708
+ # @return [String]
3709
+ #
3710
+ # @!attribute [rw] region_type
3711
+ # Specifies whether the Region is the primary Region or an additional
3712
+ # Region.
3713
+ # @return [String]
3714
+ #
3715
+ # @!attribute [rw] status
3716
+ # The status of the replication process for the specified Region.
3717
+ # @return [String]
3718
+ #
3719
+ # @!attribute [rw] vpc_settings
3720
+ # Contains VPC information for the CreateDirectory or
3721
+ # CreateMicrosoftAD operation.
3722
+ # @return [Types::DirectoryVpcSettings]
3723
+ #
3724
+ # @!attribute [rw] desired_number_of_domain_controllers
3725
+ # The desired number of domain controllers in the specified Region for
3726
+ # the specified directory.
3727
+ # @return [Integer]
3728
+ #
3729
+ # @!attribute [rw] launch_time
3730
+ # Specifies when the Region replication began.
3731
+ # @return [Time]
3732
+ #
3733
+ # @!attribute [rw] status_last_updated_date_time
3734
+ # The date and time that the Region status was last updated.
3735
+ # @return [Time]
3736
+ #
3737
+ # @!attribute [rw] last_updated_date_time
3738
+ # The date and time that the Region description was last updated.
3739
+ # @return [Time]
3740
+ #
3741
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RegionDescription AWS API Documentation
3742
+ #
3743
+ class RegionDescription < Struct.new(
3744
+ :directory_id,
3745
+ :region_name,
3746
+ :region_type,
3747
+ :status,
3748
+ :vpc_settings,
3749
+ :desired_number_of_domain_controllers,
3750
+ :launch_time,
3751
+ :status_last_updated_date_time,
3752
+ :last_updated_date_time)
3753
+ SENSITIVE = []
3754
+ include Aws::Structure
3755
+ end
3756
+
3757
+ # You have reached the limit for maximum number of simultaneous Region
3758
+ # replications per directory.
3759
+ #
3760
+ # @!attribute [rw] message
3761
+ # The descriptive message for the exception.
3762
+ # @return [String]
3763
+ #
3764
+ # @!attribute [rw] request_id
3765
+ # The AWS request identifier.
3766
+ # @return [String]
3767
+ #
3768
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RegionLimitExceededException AWS API Documentation
3769
+ #
3770
+ class RegionLimitExceededException < Struct.new(
3771
+ :message,
3772
+ :request_id)
3773
+ SENSITIVE = []
3774
+ include Aws::Structure
3775
+ end
3776
+
3777
+ # Provides information about the Regions that are configured for
3778
+ # multi-Region replication.
3779
+ #
3780
+ # @!attribute [rw] primary_region
3781
+ # The Region where the AWS Managed Microsoft AD directory was
3782
+ # originally created.
3783
+ # @return [String]
3784
+ #
3785
+ # @!attribute [rw] additional_regions
3786
+ # Lists the Regions where the directory has been replicated, excluding
3787
+ # the primary Region.
3788
+ # @return [Array<String>]
3789
+ #
3790
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RegionsInfo AWS API Documentation
3791
+ #
3792
+ class RegionsInfo < Struct.new(
3793
+ :primary_region,
3794
+ :additional_regions)
3795
+ SENSITIVE = []
3796
+ include Aws::Structure
3797
+ end
3798
+
3425
3799
  # @note When making an API call, you may pass RegisterCertificateRequest
3426
3800
  # data as a hash:
3427
3801
  #
3428
3802
  # {
3429
3803
  # directory_id: "DirectoryId", # required
3430
3804
  # certificate_data: "CertificateData", # required
3805
+ # type: "ClientCertAuth", # accepts ClientCertAuth, ClientLDAPS
3806
+ # client_cert_auth_settings: {
3807
+ # ocsp_url: "OCSPUrl",
3808
+ # },
3431
3809
  # }
3432
3810
  #
3433
3811
  # @!attribute [rw] directory_id
@@ -3438,11 +3816,24 @@ module Aws::DirectoryService
3438
3816
  # The certificate PEM string that needs to be registered.
3439
3817
  # @return [String]
3440
3818
  #
3819
+ # @!attribute [rw] type
3820
+ # The function that the registered certificate performs. Valid values
3821
+ # include `ClientLDAPS` or `ClientCertAuth`. The default value is
3822
+ # `ClientLDAPS`.
3823
+ # @return [String]
3824
+ #
3825
+ # @!attribute [rw] client_cert_auth_settings
3826
+ # A `ClientCertAuthSettings` object that contains client certificate
3827
+ # authentication settings.
3828
+ # @return [Types::ClientCertAuthSettings]
3829
+ #
3441
3830
  # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RegisterCertificateRequest AWS API Documentation
3442
3831
  #
3443
3832
  class RegisterCertificateRequest < Struct.new(
3444
3833
  :directory_id,
3445
- :certificate_data)
3834
+ :certificate_data,
3835
+ :type,
3836
+ :client_cert_auth_settings)
3446
3837
  SENSITIVE = []
3447
3838
  include Aws::Structure
3448
3839
  end
@@ -3558,6 +3949,30 @@ module Aws::DirectoryService
3558
3949
  #
3559
3950
  class RemoveIpRoutesResult < Aws::EmptyStructure; end
3560
3951
 
3952
+ # @note When making an API call, you may pass RemoveRegionRequest
3953
+ # data as a hash:
3954
+ #
3955
+ # {
3956
+ # directory_id: "DirectoryId", # required
3957
+ # }
3958
+ #
3959
+ # @!attribute [rw] directory_id
3960
+ # The identifier of the directory for which you want to remove Region
3961
+ # replication.
3962
+ # @return [String]
3963
+ #
3964
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RemoveRegionRequest AWS API Documentation
3965
+ #
3966
+ class RemoveRegionRequest < Struct.new(
3967
+ :directory_id)
3968
+ SENSITIVE = []
3969
+ include Aws::Structure
3970
+ end
3971
+
3972
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RemoveRegionResult AWS API Documentation
3973
+ #
3974
+ class RemoveRegionResult < Aws::EmptyStructure; end
3975
+
3561
3976
  # @note When making an API call, you may pass RemoveTagsFromResourceRequest
3562
3977
  # data as a hash:
3563
3978
  #