aws-sdk-directoryservice 1.35.0 → 1.36.0
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eebbbdcffc97de8c09d60e84108ece87f99bf7b342938ade8034f8995d0d7e9a
|
4
|
+
data.tar.gz: aedbccb9c7780c2fb411d8f01f6c990d3b207a2a3cbc9c2ece0c830d25608d83
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7418e57eeab0ac6784e9d296e12ed6a397f41580f27c5843fea858dc8d44e27b4ed1820cddf4adbb3d8f54224e2606c59e08f0c2c5dd87daa87e7e6a8d1b1a64
|
7
|
+
data.tar.gz: e73b538172fe694f0513000f6ca7a819963671493dbf9b43ca5252e84d0937a40b4f6a3747fa716eee437f46247eebf046fcd855779d1baac9a853e93a650c58
|
@@ -1350,6 +1350,8 @@ module Aws::DirectoryService
|
|
1350
1350
|
# resp.certificate.common_name #=> String
|
1351
1351
|
# resp.certificate.registered_date_time #=> Time
|
1352
1352
|
# resp.certificate.expiry_date_time #=> Time
|
1353
|
+
# resp.certificate.type #=> String, one of "ClientCertAuth", "ClientLDAPS"
|
1354
|
+
# resp.certificate.client_cert_auth_settings.ocsp_url #=> String
|
1353
1355
|
#
|
1354
1356
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeCertificate AWS API Documentation
|
1355
1357
|
#
|
@@ -1689,7 +1691,7 @@ module Aws::DirectoryService
|
|
1689
1691
|
# The name of the Region. For example, `us-east-1`.
|
1690
1692
|
#
|
1691
1693
|
# @option params [String] :next_token
|
1692
|
-
# The
|
1694
|
+
# The `DescribeRegionsResult.NextToken` value from a previous call to
|
1693
1695
|
# DescribeRegions. Pass null if this is the first call.
|
1694
1696
|
#
|
1695
1697
|
# @return [Types::DescribeRegionsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -1908,6 +1910,33 @@ module Aws::DirectoryService
|
|
1908
1910
|
req.send_request(options)
|
1909
1911
|
end
|
1910
1912
|
|
1913
|
+
# Disable client authentication for smart cards.
|
1914
|
+
#
|
1915
|
+
# @option params [required, String] :directory_id
|
1916
|
+
# Disable client authentication in a specified directory for smart
|
1917
|
+
# cards.
|
1918
|
+
#
|
1919
|
+
# @option params [required, String] :type
|
1920
|
+
# Disable the type of client authentication request.
|
1921
|
+
#
|
1922
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1923
|
+
#
|
1924
|
+
# @example Request syntax with placeholder values
|
1925
|
+
#
|
1926
|
+
# resp = client.disable_client_authentication({
|
1927
|
+
# directory_id: "DirectoryId", # required
|
1928
|
+
# type: "SmartCard", # required, accepts SmartCard
|
1929
|
+
# })
|
1930
|
+
#
|
1931
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DisableClientAuthentication AWS API Documentation
|
1932
|
+
#
|
1933
|
+
# @overload disable_client_authentication(params = {})
|
1934
|
+
# @param [Hash] params ({})
|
1935
|
+
def disable_client_authentication(params = {}, options = {})
|
1936
|
+
req = build_request(:disable_client_authentication, params)
|
1937
|
+
req.send_request(options)
|
1938
|
+
end
|
1939
|
+
|
1911
1940
|
# Deactivates LDAP secure calls for the specified directory.
|
1912
1941
|
#
|
1913
1942
|
# @option params [required, String] :directory_id
|
@@ -1999,6 +2028,32 @@ module Aws::DirectoryService
|
|
1999
2028
|
req.send_request(options)
|
2000
2029
|
end
|
2001
2030
|
|
2031
|
+
# Enable client authentication for smardtcards.
|
2032
|
+
#
|
2033
|
+
# @option params [required, String] :directory_id
|
2034
|
+
# Enable client authentication in a specified directory for smart cards.
|
2035
|
+
#
|
2036
|
+
# @option params [required, String] :type
|
2037
|
+
# Enable the type of client authentication request.
|
2038
|
+
#
|
2039
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2040
|
+
#
|
2041
|
+
# @example Request syntax with placeholder values
|
2042
|
+
#
|
2043
|
+
# resp = client.enable_client_authentication({
|
2044
|
+
# directory_id: "DirectoryId", # required
|
2045
|
+
# type: "SmartCard", # required, accepts SmartCard
|
2046
|
+
# })
|
2047
|
+
#
|
2048
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/EnableClientAuthentication AWS API Documentation
|
2049
|
+
#
|
2050
|
+
# @overload enable_client_authentication(params = {})
|
2051
|
+
# @param [Hash] params ({})
|
2052
|
+
def enable_client_authentication(params = {}, options = {})
|
2053
|
+
req = build_request(:enable_client_authentication, params)
|
2054
|
+
req.send_request(options)
|
2055
|
+
end
|
2056
|
+
|
2002
2057
|
# Activates the switch for the specific directory to always use LDAP
|
2003
2058
|
# secure calls.
|
2004
2059
|
#
|
@@ -2200,6 +2255,7 @@ module Aws::DirectoryService
|
|
2200
2255
|
# resp.certificates_info[0].common_name #=> String
|
2201
2256
|
# resp.certificates_info[0].state #=> String, one of "Registering", "Registered", "RegisterFailed", "Deregistering", "Deregistered", "DeregisterFailed"
|
2202
2257
|
# resp.certificates_info[0].expiry_date_time #=> Time
|
2258
|
+
# resp.certificates_info[0].type #=> String, one of "ClientCertAuth", "ClientLDAPS"
|
2203
2259
|
#
|
2204
2260
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ListCertificates AWS API Documentation
|
2205
2261
|
#
|
@@ -2397,6 +2453,13 @@ module Aws::DirectoryService
|
|
2397
2453
|
# @option params [required, String] :certificate_data
|
2398
2454
|
# The certificate PEM string that needs to be registered.
|
2399
2455
|
#
|
2456
|
+
# @option params [String] :type
|
2457
|
+
# The certificate type to register for the request.
|
2458
|
+
#
|
2459
|
+
# @option params [Types::ClientCertAuthSettings] :client_cert_auth_settings
|
2460
|
+
# Contains information about the client certificate authentication
|
2461
|
+
# settings, such as `ClientLDAPS` or `ClientCertAuth`.
|
2462
|
+
#
|
2400
2463
|
# @return [Types::RegisterCertificateResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2401
2464
|
#
|
2402
2465
|
# * {Types::RegisterCertificateResult#certificate_id #certificate_id} => String
|
@@ -2406,6 +2469,10 @@ module Aws::DirectoryService
|
|
2406
2469
|
# resp = client.register_certificate({
|
2407
2470
|
# directory_id: "DirectoryId", # required
|
2408
2471
|
# certificate_data: "CertificateData", # required
|
2472
|
+
# type: "ClientCertAuth", # accepts ClientCertAuth, ClientLDAPS
|
2473
|
+
# client_cert_auth_settings: {
|
2474
|
+
# ocsp_url: "OCSPUrl",
|
2475
|
+
# },
|
2409
2476
|
# })
|
2410
2477
|
#
|
2411
2478
|
# @example Response structure
|
@@ -2980,7 +3047,7 @@ module Aws::DirectoryService
|
|
2980
3047
|
params: params,
|
2981
3048
|
config: config)
|
2982
3049
|
context[:gem_name] = 'aws-sdk-directoryservice'
|
2983
|
-
context[:gem_version] = '1.
|
3050
|
+
context[:gem_version] = '1.36.0'
|
2984
3051
|
Seahorse::Client::Request.new(handlers, context)
|
2985
3052
|
end
|
2986
3053
|
|
@@ -48,9 +48,12 @@ module Aws::DirectoryService
|
|
48
48
|
CertificateRegisteredDateTime = Shapes::TimestampShape.new(name: 'CertificateRegisteredDateTime')
|
49
49
|
CertificateState = Shapes::StringShape.new(name: 'CertificateState')
|
50
50
|
CertificateStateReason = Shapes::StringShape.new(name: 'CertificateStateReason')
|
51
|
+
CertificateType = Shapes::StringShape.new(name: 'CertificateType')
|
51
52
|
CertificatesInfo = Shapes::ListShape.new(name: 'CertificatesInfo')
|
52
53
|
CidrIp = Shapes::StringShape.new(name: 'CidrIp')
|
53
54
|
CidrIps = Shapes::ListShape.new(name: 'CidrIps')
|
55
|
+
ClientAuthenticationType = Shapes::StringShape.new(name: 'ClientAuthenticationType')
|
56
|
+
ClientCertAuthSettings = Shapes::StructureShape.new(name: 'ClientCertAuthSettings')
|
54
57
|
ClientException = Shapes::StructureShape.new(name: 'ClientException')
|
55
58
|
CloudOnlyDirectoriesLimitReached = Shapes::BooleanShape.new(name: 'CloudOnlyDirectoriesLimitReached')
|
56
59
|
Computer = Shapes::StructureShape.new(name: 'Computer')
|
@@ -140,6 +143,8 @@ module Aws::DirectoryService
|
|
140
143
|
DirectoryUnavailableException = Shapes::StructureShape.new(name: 'DirectoryUnavailableException')
|
141
144
|
DirectoryVpcSettings = Shapes::StructureShape.new(name: 'DirectoryVpcSettings')
|
142
145
|
DirectoryVpcSettingsDescription = Shapes::StructureShape.new(name: 'DirectoryVpcSettingsDescription')
|
146
|
+
DisableClientAuthenticationRequest = Shapes::StructureShape.new(name: 'DisableClientAuthenticationRequest')
|
147
|
+
DisableClientAuthenticationResult = Shapes::StructureShape.new(name: 'DisableClientAuthenticationResult')
|
143
148
|
DisableLDAPSRequest = Shapes::StructureShape.new(name: 'DisableLDAPSRequest')
|
144
149
|
DisableLDAPSResult = Shapes::StructureShape.new(name: 'DisableLDAPSResult')
|
145
150
|
DisableRadiusRequest = Shapes::StructureShape.new(name: 'DisableRadiusRequest')
|
@@ -154,6 +159,8 @@ module Aws::DirectoryService
|
|
154
159
|
DomainControllerStatus = Shapes::StringShape.new(name: 'DomainControllerStatus')
|
155
160
|
DomainControllerStatusReason = Shapes::StringShape.new(name: 'DomainControllerStatusReason')
|
156
161
|
DomainControllers = Shapes::ListShape.new(name: 'DomainControllers')
|
162
|
+
EnableClientAuthenticationRequest = Shapes::StructureShape.new(name: 'EnableClientAuthenticationRequest')
|
163
|
+
EnableClientAuthenticationResult = Shapes::StructureShape.new(name: 'EnableClientAuthenticationResult')
|
157
164
|
EnableLDAPSRequest = Shapes::StructureShape.new(name: 'EnableLDAPSRequest')
|
158
165
|
EnableLDAPSResult = Shapes::StructureShape.new(name: 'EnableLDAPSResult')
|
159
166
|
EnableRadiusRequest = Shapes::StructureShape.new(name: 'EnableRadiusRequest')
|
@@ -172,6 +179,7 @@ module Aws::DirectoryService
|
|
172
179
|
GetSnapshotLimitsResult = Shapes::StructureShape.new(name: 'GetSnapshotLimitsResult')
|
173
180
|
InsufficientPermissionsException = Shapes::StructureShape.new(name: 'InsufficientPermissionsException')
|
174
181
|
InvalidCertificateException = Shapes::StructureShape.new(name: 'InvalidCertificateException')
|
182
|
+
InvalidClientAuthStatusException = Shapes::StructureShape.new(name: 'InvalidClientAuthStatusException')
|
175
183
|
InvalidLDAPSStatusException = Shapes::StructureShape.new(name: 'InvalidLDAPSStatusException')
|
176
184
|
InvalidNextTokenException = Shapes::StructureShape.new(name: 'InvalidNextTokenException')
|
177
185
|
InvalidParameterException = Shapes::StructureShape.new(name: 'InvalidParameterException')
|
@@ -212,6 +220,7 @@ module Aws::DirectoryService
|
|
212
220
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
213
221
|
NoAvailableCertificateException = Shapes::StructureShape.new(name: 'NoAvailableCertificateException')
|
214
222
|
Notes = Shapes::StringShape.new(name: 'Notes')
|
223
|
+
OCSPUrl = Shapes::StringShape.new(name: 'OCSPUrl')
|
215
224
|
OrganizationalUnitDN = Shapes::StringShape.new(name: 'OrganizationalUnitDN')
|
216
225
|
OrganizationsException = Shapes::StructureShape.new(name: 'OrganizationsException')
|
217
226
|
OwnerDirectoryDescription = Shapes::StructureShape.new(name: 'OwnerDirectoryDescription')
|
@@ -388,6 +397,8 @@ module Aws::DirectoryService
|
|
388
397
|
Certificate.add_member(:common_name, Shapes::ShapeRef.new(shape: CertificateCN, location_name: "CommonName"))
|
389
398
|
Certificate.add_member(:registered_date_time, Shapes::ShapeRef.new(shape: CertificateRegisteredDateTime, location_name: "RegisteredDateTime"))
|
390
399
|
Certificate.add_member(:expiry_date_time, Shapes::ShapeRef.new(shape: CertificateExpiryDateTime, location_name: "ExpiryDateTime"))
|
400
|
+
Certificate.add_member(:type, Shapes::ShapeRef.new(shape: CertificateType, location_name: "Type"))
|
401
|
+
Certificate.add_member(:client_cert_auth_settings, Shapes::ShapeRef.new(shape: ClientCertAuthSettings, location_name: "ClientCertAuthSettings"))
|
391
402
|
Certificate.struct_class = Types::Certificate
|
392
403
|
|
393
404
|
CertificateAlreadyExistsException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
|
@@ -406,6 +417,7 @@ module Aws::DirectoryService
|
|
406
417
|
CertificateInfo.add_member(:common_name, Shapes::ShapeRef.new(shape: CertificateCN, location_name: "CommonName"))
|
407
418
|
CertificateInfo.add_member(:state, Shapes::ShapeRef.new(shape: CertificateState, location_name: "State"))
|
408
419
|
CertificateInfo.add_member(:expiry_date_time, Shapes::ShapeRef.new(shape: CertificateExpiryDateTime, location_name: "ExpiryDateTime"))
|
420
|
+
CertificateInfo.add_member(:type, Shapes::ShapeRef.new(shape: CertificateType, location_name: "Type"))
|
409
421
|
CertificateInfo.struct_class = Types::CertificateInfo
|
410
422
|
|
411
423
|
CertificateLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
|
@@ -416,6 +428,9 @@ module Aws::DirectoryService
|
|
416
428
|
|
417
429
|
CidrIps.member = Shapes::ShapeRef.new(shape: CidrIp)
|
418
430
|
|
431
|
+
ClientCertAuthSettings.add_member(:ocsp_url, Shapes::ShapeRef.new(shape: OCSPUrl, location_name: "OCSPUrl"))
|
432
|
+
ClientCertAuthSettings.struct_class = Types::ClientCertAuthSettings
|
433
|
+
|
419
434
|
ClientException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
|
420
435
|
ClientException.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "RequestId"))
|
421
436
|
ClientException.struct_class = Types::ClientException
|
@@ -739,6 +754,12 @@ module Aws::DirectoryService
|
|
739
754
|
DirectoryVpcSettingsDescription.add_member(:availability_zones, Shapes::ShapeRef.new(shape: AvailabilityZones, location_name: "AvailabilityZones"))
|
740
755
|
DirectoryVpcSettingsDescription.struct_class = Types::DirectoryVpcSettingsDescription
|
741
756
|
|
757
|
+
DisableClientAuthenticationRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "DirectoryId"))
|
758
|
+
DisableClientAuthenticationRequest.add_member(:type, Shapes::ShapeRef.new(shape: ClientAuthenticationType, required: true, location_name: "Type"))
|
759
|
+
DisableClientAuthenticationRequest.struct_class = Types::DisableClientAuthenticationRequest
|
760
|
+
|
761
|
+
DisableClientAuthenticationResult.struct_class = Types::DisableClientAuthenticationResult
|
762
|
+
|
742
763
|
DisableLDAPSRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "DirectoryId"))
|
743
764
|
DisableLDAPSRequest.add_member(:type, Shapes::ShapeRef.new(shape: LDAPSType, required: true, location_name: "Type"))
|
744
765
|
DisableLDAPSRequest.struct_class = Types::DisableLDAPSRequest
|
@@ -779,6 +800,12 @@ module Aws::DirectoryService
|
|
779
800
|
|
780
801
|
DomainControllers.member = Shapes::ShapeRef.new(shape: DomainController)
|
781
802
|
|
803
|
+
EnableClientAuthenticationRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "DirectoryId"))
|
804
|
+
EnableClientAuthenticationRequest.add_member(:type, Shapes::ShapeRef.new(shape: ClientAuthenticationType, required: true, location_name: "Type"))
|
805
|
+
EnableClientAuthenticationRequest.struct_class = Types::EnableClientAuthenticationRequest
|
806
|
+
|
807
|
+
EnableClientAuthenticationResult.struct_class = Types::EnableClientAuthenticationResult
|
808
|
+
|
782
809
|
EnableLDAPSRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "DirectoryId"))
|
783
810
|
EnableLDAPSRequest.add_member(:type, Shapes::ShapeRef.new(shape: LDAPSType, required: true, location_name: "Type"))
|
784
811
|
EnableLDAPSRequest.struct_class = Types::EnableLDAPSRequest
|
@@ -834,6 +861,10 @@ module Aws::DirectoryService
|
|
834
861
|
InvalidCertificateException.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "RequestId"))
|
835
862
|
InvalidCertificateException.struct_class = Types::InvalidCertificateException
|
836
863
|
|
864
|
+
InvalidClientAuthStatusException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
|
865
|
+
InvalidClientAuthStatusException.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "RequestId"))
|
866
|
+
InvalidClientAuthStatusException.struct_class = Types::InvalidClientAuthStatusException
|
867
|
+
|
837
868
|
InvalidLDAPSStatusException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
|
838
869
|
InvalidLDAPSStatusException.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "RequestId"))
|
839
870
|
InvalidLDAPSStatusException.struct_class = Types::InvalidLDAPSStatusException
|
@@ -984,6 +1015,8 @@ module Aws::DirectoryService
|
|
984
1015
|
|
985
1016
|
RegisterCertificateRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "DirectoryId"))
|
986
1017
|
RegisterCertificateRequest.add_member(:certificate_data, Shapes::ShapeRef.new(shape: CertificateData, required: true, location_name: "CertificateData"))
|
1018
|
+
RegisterCertificateRequest.add_member(:type, Shapes::ShapeRef.new(shape: CertificateType, location_name: "Type"))
|
1019
|
+
RegisterCertificateRequest.add_member(:client_cert_auth_settings, Shapes::ShapeRef.new(shape: ClientCertAuthSettings, location_name: "ClientCertAuthSettings"))
|
987
1020
|
RegisterCertificateRequest.struct_class = Types::RegisterCertificateRequest
|
988
1021
|
|
989
1022
|
RegisterCertificateResult.add_member(:certificate_id, Shapes::ShapeRef.new(shape: CertificateId, location_name: "CertificateId"))
|
@@ -1638,6 +1671,20 @@ module Aws::DirectoryService
|
|
1638
1671
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
1639
1672
|
end)
|
1640
1673
|
|
1674
|
+
api.add_operation(:disable_client_authentication, Seahorse::Model::Operation.new.tap do |o|
|
1675
|
+
o.name = "DisableClientAuthentication"
|
1676
|
+
o.http_method = "POST"
|
1677
|
+
o.http_request_uri = "/"
|
1678
|
+
o.input = Shapes::ShapeRef.new(shape: DisableClientAuthenticationRequest)
|
1679
|
+
o.output = Shapes::ShapeRef.new(shape: DisableClientAuthenticationResult)
|
1680
|
+
o.errors << Shapes::ShapeRef.new(shape: DirectoryDoesNotExistException)
|
1681
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
1682
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidClientAuthStatusException)
|
1683
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1684
|
+
o.errors << Shapes::ShapeRef.new(shape: ClientException)
|
1685
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1686
|
+
end)
|
1687
|
+
|
1641
1688
|
api.add_operation(:disable_ldaps, Seahorse::Model::Operation.new.tap do |o|
|
1642
1689
|
o.name = "DisableLDAPS"
|
1643
1690
|
o.http_method = "POST"
|
@@ -1677,6 +1724,21 @@ module Aws::DirectoryService
|
|
1677
1724
|
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1678
1725
|
end)
|
1679
1726
|
|
1727
|
+
api.add_operation(:enable_client_authentication, Seahorse::Model::Operation.new.tap do |o|
|
1728
|
+
o.name = "EnableClientAuthentication"
|
1729
|
+
o.http_method = "POST"
|
1730
|
+
o.http_request_uri = "/"
|
1731
|
+
o.input = Shapes::ShapeRef.new(shape: EnableClientAuthenticationRequest)
|
1732
|
+
o.output = Shapes::ShapeRef.new(shape: EnableClientAuthenticationResult)
|
1733
|
+
o.errors << Shapes::ShapeRef.new(shape: DirectoryDoesNotExistException)
|
1734
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
1735
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidClientAuthStatusException)
|
1736
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1737
|
+
o.errors << Shapes::ShapeRef.new(shape: NoAvailableCertificateException)
|
1738
|
+
o.errors << Shapes::ShapeRef.new(shape: ClientException)
|
1739
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1740
|
+
end)
|
1741
|
+
|
1680
1742
|
api.add_operation(:enable_ldaps, Seahorse::Model::Operation.new.tap do |o|
|
1681
1743
|
o.name = "EnableLDAPS"
|
1682
1744
|
o.http_method = "POST"
|
@@ -45,6 +45,7 @@ module Aws::DirectoryService
|
|
45
45
|
# * {EntityDoesNotExistException}
|
46
46
|
# * {InsufficientPermissionsException}
|
47
47
|
# * {InvalidCertificateException}
|
48
|
+
# * {InvalidClientAuthStatusException}
|
48
49
|
# * {InvalidLDAPSStatusException}
|
49
50
|
# * {InvalidNextTokenException}
|
50
51
|
# * {InvalidParameterException}
|
@@ -427,6 +428,26 @@ module Aws::DirectoryService
|
|
427
428
|
end
|
428
429
|
end
|
429
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
|
+
|
430
451
|
class InvalidLDAPSStatusException < ServiceError
|
431
452
|
|
432
453
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -343,6 +343,15 @@ module Aws::DirectoryService
|
|
343
343
|
# The date and time when the certificate will expire.
|
344
344
|
# @return [Time]
|
345
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
|
+
#
|
346
355
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/Certificate AWS API Documentation
|
347
356
|
#
|
348
357
|
class Certificate < Struct.new(
|
@@ -351,7 +360,9 @@ module Aws::DirectoryService
|
|
351
360
|
:state_reason,
|
352
361
|
:common_name,
|
353
362
|
:registered_date_time,
|
354
|
-
:expiry_date_time
|
363
|
+
:expiry_date_time,
|
364
|
+
:type,
|
365
|
+
:client_cert_auth_settings)
|
355
366
|
SENSITIVE = []
|
356
367
|
include Aws::Structure
|
357
368
|
end
|
@@ -433,13 +444,18 @@ module Aws::DirectoryService
|
|
433
444
|
# The date and time when the certificate will expire.
|
434
445
|
# @return [Time]
|
435
446
|
#
|
447
|
+
# @!attribute [rw] type
|
448
|
+
# Displays the type of certificate.
|
449
|
+
# @return [String]
|
450
|
+
#
|
436
451
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CertificateInfo AWS API Documentation
|
437
452
|
#
|
438
453
|
class CertificateInfo < Struct.new(
|
439
454
|
:certificate_id,
|
440
455
|
:common_name,
|
441
456
|
:state,
|
442
|
-
:expiry_date_time
|
457
|
+
:expiry_date_time,
|
458
|
+
:type)
|
443
459
|
SENSITIVE = []
|
444
460
|
include Aws::Structure
|
445
461
|
end
|
@@ -464,6 +480,29 @@ module Aws::DirectoryService
|
|
464
480
|
include Aws::Structure
|
465
481
|
end
|
466
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
|
+
|
467
506
|
# A client exception has occurred.
|
468
507
|
#
|
469
508
|
# @!attribute [rw] message
|
@@ -1718,7 +1757,7 @@ module Aws::DirectoryService
|
|
1718
1757
|
# @return [String]
|
1719
1758
|
#
|
1720
1759
|
# @!attribute [rw] next_token
|
1721
|
-
# The
|
1760
|
+
# The `DescribeRegionsResult.NextToken` value from a previous call to
|
1722
1761
|
# DescribeRegions. Pass null if this is the first call.
|
1723
1762
|
# @return [String]
|
1724
1763
|
#
|
@@ -1733,13 +1772,13 @@ module Aws::DirectoryService
|
|
1733
1772
|
end
|
1734
1773
|
|
1735
1774
|
# @!attribute [rw] regions_description
|
1736
|
-
# List of
|
1737
|
-
# Region.
|
1775
|
+
# List of Region information related to the directory for each
|
1776
|
+
# replicated Region.
|
1738
1777
|
# @return [Array<Types::RegionDescription>]
|
1739
1778
|
#
|
1740
1779
|
# @!attribute [rw] next_token
|
1741
1780
|
# If not null, more results are available. Pass this value for the
|
1742
|
-
#
|
1781
|
+
# `NextToken` parameter in a subsequent call to DescribeRegions to
|
1743
1782
|
# retrieve the next set of items.
|
1744
1783
|
# @return [String]
|
1745
1784
|
#
|
@@ -2437,6 +2476,36 @@ module Aws::DirectoryService
|
|
2437
2476
|
include Aws::Structure
|
2438
2477
|
end
|
2439
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
|
+
|
2440
2509
|
# @note When making an API call, you may pass DisableLDAPSRequest
|
2441
2510
|
# data as a hash:
|
2442
2511
|
#
|
@@ -2625,6 +2694,36 @@ module Aws::DirectoryService
|
|
2625
2694
|
include Aws::Structure
|
2626
2695
|
end
|
2627
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
|
+
|
2628
2727
|
# @note When making an API call, you may pass EnableLDAPSRequest
|
2629
2728
|
# data as a hash:
|
2630
2729
|
#
|
@@ -2921,6 +3020,25 @@ module Aws::DirectoryService
|
|
2921
3020
|
include Aws::Structure
|
2922
3021
|
end
|
2923
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
|
+
|
2924
3042
|
# The LDAP activities could not be performed because they are limited by
|
2925
3043
|
# the LDAPS status.
|
2926
3044
|
#
|
@@ -3571,7 +3689,7 @@ module Aws::DirectoryService
|
|
3571
3689
|
include Aws::Structure
|
3572
3690
|
end
|
3573
3691
|
|
3574
|
-
# The replicated
|
3692
|
+
# The replicated Region information for a directory.
|
3575
3693
|
#
|
3576
3694
|
# @!attribute [rw] directory_id
|
3577
3695
|
# The identifier of the directory.
|
@@ -3582,7 +3700,7 @@ module Aws::DirectoryService
|
|
3582
3700
|
# @return [String]
|
3583
3701
|
#
|
3584
3702
|
# @!attribute [rw] region_type
|
3585
|
-
# Specifies
|
3703
|
+
# Specifies whether the Region is the primary Region or an additional
|
3586
3704
|
# Region.
|
3587
3705
|
# @return [String]
|
3588
3706
|
#
|
@@ -3628,7 +3746,7 @@ module Aws::DirectoryService
|
|
3628
3746
|
include Aws::Structure
|
3629
3747
|
end
|
3630
3748
|
|
3631
|
-
# You have reached the limit for maximum number of simultaneous
|
3749
|
+
# You have reached the limit for maximum number of simultaneous Region
|
3632
3750
|
# replications per directory.
|
3633
3751
|
#
|
3634
3752
|
# @!attribute [rw] message
|
@@ -3652,7 +3770,7 @@ module Aws::DirectoryService
|
|
3652
3770
|
# multi-Region replication.
|
3653
3771
|
#
|
3654
3772
|
# @!attribute [rw] primary_region
|
3655
|
-
# The Region
|
3773
|
+
# The Region where the AWS Managed Microsoft AD directory was
|
3656
3774
|
# originally created.
|
3657
3775
|
# @return [String]
|
3658
3776
|
#
|
@@ -3676,6 +3794,10 @@ module Aws::DirectoryService
|
|
3676
3794
|
# {
|
3677
3795
|
# directory_id: "DirectoryId", # required
|
3678
3796
|
# certificate_data: "CertificateData", # required
|
3797
|
+
# type: "ClientCertAuth", # accepts ClientCertAuth, ClientLDAPS
|
3798
|
+
# client_cert_auth_settings: {
|
3799
|
+
# ocsp_url: "OCSPUrl",
|
3800
|
+
# },
|
3679
3801
|
# }
|
3680
3802
|
#
|
3681
3803
|
# @!attribute [rw] directory_id
|
@@ -3686,11 +3808,22 @@ module Aws::DirectoryService
|
|
3686
3808
|
# The certificate PEM string that needs to be registered.
|
3687
3809
|
# @return [String]
|
3688
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
|
+
#
|
3689
3820
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RegisterCertificateRequest AWS API Documentation
|
3690
3821
|
#
|
3691
3822
|
class RegisterCertificateRequest < Struct.new(
|
3692
3823
|
:directory_id,
|
3693
|
-
:certificate_data
|
3824
|
+
:certificate_data,
|
3825
|
+
:type,
|
3826
|
+
:client_cert_auth_settings)
|
3694
3827
|
SENSITIVE = []
|
3695
3828
|
include Aws::Structure
|
3696
3829
|
end
|
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.
|
4
|
+
version: 1.36.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-12-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|