aws-sdk-directoryservice 1.92.0 → 1.93.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-directoryservice/client.rb +113 -1
- data/lib/aws-sdk-directoryservice/client_api.rb +85 -0
- data/lib/aws-sdk-directoryservice/errors.rb +42 -0
- data/lib/aws-sdk-directoryservice/types.rb +166 -0
- data/lib/aws-sdk-directoryservice.rb +1 -1
- data/sig/client.rbs +33 -0
- data/sig/errors.rbs +8 -0
- data/sig/types.rbs +43 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bf5479042d2fd38f695befb28d8180355a846ae18dad5a063658c6dd0f342965
|
4
|
+
data.tar.gz: e9fbfe8e78c1832f4d06f8bec4325376219320c37bf7881ffb389988446ce35d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6dbcb0d168dc4d383407dadc1121d10f7e621b65a9e873ab0f487d373db31be02864f4b4bb1ff830d61cb359a856f88fefa31b9d0b06d5ea66d39dd2d273639a
|
7
|
+
data.tar.gz: 514255231925f26392a23a680ddc1269129cf6f8531989465681294c432ed14ba09521ae8bf3daec139f2aebd62583149a5e7c249b3d89d93b23ab29fc3db513
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.93.0 (2025-08-27)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Add APIs for CA AutoEnrollment support: DescribeCAEnrollmentPolicy, EnableCAEnrollmentPolicy and DisableCAEnrollmentPolicy.
|
8
|
+
|
4
9
|
1.92.0 (2025-08-26)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.93.0
|
@@ -1943,6 +1943,46 @@ module Aws::DirectoryService
|
|
1943
1943
|
req.send_request(options)
|
1944
1944
|
end
|
1945
1945
|
|
1946
|
+
# Retrieves detailed information about the certificate authority (CA)
|
1947
|
+
# enrollment policy for the specified directory. This policy determines
|
1948
|
+
# how client certificates are automatically enrolled and managed through
|
1949
|
+
# Amazon Web Services Private Certificate Authority.
|
1950
|
+
#
|
1951
|
+
# @option params [required, String] :directory_id
|
1952
|
+
# The identifier of the directory for which to retrieve the CA
|
1953
|
+
# enrollment policy information.
|
1954
|
+
#
|
1955
|
+
# @return [Types::DescribeCAEnrollmentPolicyResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1956
|
+
#
|
1957
|
+
# * {Types::DescribeCAEnrollmentPolicyResult#directory_id #directory_id} => String
|
1958
|
+
# * {Types::DescribeCAEnrollmentPolicyResult#pca_connector_arn #pca_connector_arn} => String
|
1959
|
+
# * {Types::DescribeCAEnrollmentPolicyResult#ca_enrollment_policy_status #ca_enrollment_policy_status} => String
|
1960
|
+
# * {Types::DescribeCAEnrollmentPolicyResult#last_updated_date_time #last_updated_date_time} => Time
|
1961
|
+
# * {Types::DescribeCAEnrollmentPolicyResult#ca_enrollment_policy_status_reason #ca_enrollment_policy_status_reason} => String
|
1962
|
+
#
|
1963
|
+
# @example Request syntax with placeholder values
|
1964
|
+
#
|
1965
|
+
# resp = client.describe_ca_enrollment_policy({
|
1966
|
+
# directory_id: "DirectoryId", # required
|
1967
|
+
# })
|
1968
|
+
#
|
1969
|
+
# @example Response structure
|
1970
|
+
#
|
1971
|
+
# resp.directory_id #=> String
|
1972
|
+
# resp.pca_connector_arn #=> String
|
1973
|
+
# resp.ca_enrollment_policy_status #=> String, one of "InProgress", "Success", "Failed", "Disabling", "Disabled", "Impaired"
|
1974
|
+
# resp.last_updated_date_time #=> Time
|
1975
|
+
# resp.ca_enrollment_policy_status_reason #=> String
|
1976
|
+
#
|
1977
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeCAEnrollmentPolicy AWS API Documentation
|
1978
|
+
#
|
1979
|
+
# @overload describe_ca_enrollment_policy(params = {})
|
1980
|
+
# @param [Hash] params ({})
|
1981
|
+
def describe_ca_enrollment_policy(params = {}, options = {})
|
1982
|
+
req = build_request(:describe_ca_enrollment_policy, params)
|
1983
|
+
req.send_request(options)
|
1984
|
+
end
|
1985
|
+
|
1946
1986
|
# Displays information about the certificate registered for secure LDAP
|
1947
1987
|
# or client certificate authentication.
|
1948
1988
|
#
|
@@ -2964,6 +3004,36 @@ module Aws::DirectoryService
|
|
2964
3004
|
req.send_request(options)
|
2965
3005
|
end
|
2966
3006
|
|
3007
|
+
# Disables the certificate authority (CA) enrollment policy for the
|
3008
|
+
# specified directory. This stops automatic certificate enrollment and
|
3009
|
+
# management for domain-joined clients, but does not affect existing
|
3010
|
+
# certificates.
|
3011
|
+
#
|
3012
|
+
# Disabling the CA enrollment policy prevents new certificates from
|
3013
|
+
# being automatically enrolled, but existing certificates remain valid
|
3014
|
+
# and functional until they expire.
|
3015
|
+
#
|
3016
|
+
# @option params [required, String] :directory_id
|
3017
|
+
# The identifier of the directory for which to disable the CA enrollment
|
3018
|
+
# policy.
|
3019
|
+
#
|
3020
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3021
|
+
#
|
3022
|
+
# @example Request syntax with placeholder values
|
3023
|
+
#
|
3024
|
+
# resp = client.disable_ca_enrollment_policy({
|
3025
|
+
# directory_id: "DirectoryId", # required
|
3026
|
+
# })
|
3027
|
+
#
|
3028
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DisableCAEnrollmentPolicy AWS API Documentation
|
3029
|
+
#
|
3030
|
+
# @overload disable_ca_enrollment_policy(params = {})
|
3031
|
+
# @param [Hash] params ({})
|
3032
|
+
def disable_ca_enrollment_policy(params = {}, options = {})
|
3033
|
+
req = build_request(:disable_ca_enrollment_policy, params)
|
3034
|
+
req.send_request(options)
|
3035
|
+
end
|
3036
|
+
|
2967
3037
|
# Disables alternative client authentication methods for the specified
|
2968
3038
|
# directory.
|
2969
3039
|
#
|
@@ -3140,6 +3210,48 @@ module Aws::DirectoryService
|
|
3140
3210
|
req.send_request(options)
|
3141
3211
|
end
|
3142
3212
|
|
3213
|
+
# Enables certificate authority (CA) enrollment policy for the specified
|
3214
|
+
# directory. This allows domain-joined clients to automatically request
|
3215
|
+
# and receive certificates from the specified Amazon Web Services
|
3216
|
+
# Private Certificate Authority.
|
3217
|
+
#
|
3218
|
+
# <note markdown="1"> Before enabling CA enrollment, ensure that the PCA connector is
|
3219
|
+
# properly configured and accessible from the directory. The connector
|
3220
|
+
# must be in an active state and have the necessary permissions.
|
3221
|
+
#
|
3222
|
+
# </note>
|
3223
|
+
#
|
3224
|
+
# @option params [required, String] :directory_id
|
3225
|
+
# The identifier of the directory for which to enable the CA enrollment
|
3226
|
+
# policy.
|
3227
|
+
#
|
3228
|
+
# @option params [required, String] :pca_connector_arn
|
3229
|
+
# The Amazon Resource Name (ARN) of the Private Certificate Authority
|
3230
|
+
# (PCA) connector to use for automatic certificate enrollment. This
|
3231
|
+
# connector must be properly configured and accessible from the
|
3232
|
+
# directory.
|
3233
|
+
#
|
3234
|
+
# The ARN format is:
|
3235
|
+
# `arn:aws:pca-connector-ad:region:account-id:connector/connector-id `
|
3236
|
+
#
|
3237
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3238
|
+
#
|
3239
|
+
# @example Request syntax with placeholder values
|
3240
|
+
#
|
3241
|
+
# resp = client.enable_ca_enrollment_policy({
|
3242
|
+
# directory_id: "DirectoryId", # required
|
3243
|
+
# pca_connector_arn: "PcaConnectorArn", # required
|
3244
|
+
# })
|
3245
|
+
#
|
3246
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/EnableCAEnrollmentPolicy AWS API Documentation
|
3247
|
+
#
|
3248
|
+
# @overload enable_ca_enrollment_policy(params = {})
|
3249
|
+
# @param [Hash] params ({})
|
3250
|
+
def enable_ca_enrollment_policy(params = {}, options = {})
|
3251
|
+
req = build_request(:enable_ca_enrollment_policy, params)
|
3252
|
+
req.send_request(options)
|
3253
|
+
end
|
3254
|
+
|
3143
3255
|
# Enables alternative client authentication methods for the specified
|
3144
3256
|
# directory.
|
3145
3257
|
#
|
@@ -4770,7 +4882,7 @@ module Aws::DirectoryService
|
|
4770
4882
|
tracer: tracer
|
4771
4883
|
)
|
4772
4884
|
context[:gem_name] = 'aws-sdk-directoryservice'
|
4773
|
-
context[:gem_version] = '1.
|
4885
|
+
context[:gem_version] = '1.93.0'
|
4774
4886
|
Seahorse::Client::Request.new(handlers, context)
|
4775
4887
|
end
|
4776
4888
|
|
@@ -59,6 +59,8 @@ module Aws::DirectoryService
|
|
59
59
|
AuthenticationFailedException = Shapes::StructureShape.new(name: 'AuthenticationFailedException')
|
60
60
|
AvailabilityZone = Shapes::StringShape.new(name: 'AvailabilityZone')
|
61
61
|
AvailabilityZones = Shapes::ListShape.new(name: 'AvailabilityZones')
|
62
|
+
CaEnrollmentPolicyStatus = Shapes::StringShape.new(name: 'CaEnrollmentPolicyStatus')
|
63
|
+
CaEnrollmentPolicyStatusReason = Shapes::StringShape.new(name: 'CaEnrollmentPolicyStatusReason')
|
62
64
|
CancelSchemaExtensionRequest = Shapes::StructureShape.new(name: 'CancelSchemaExtensionRequest')
|
63
65
|
CancelSchemaExtensionResult = Shapes::StructureShape.new(name: 'CancelSchemaExtensionResult')
|
64
66
|
Certificate = Shapes::StructureShape.new(name: 'Certificate')
|
@@ -138,6 +140,8 @@ module Aws::DirectoryService
|
|
138
140
|
DeregisterEventTopicResult = Shapes::StructureShape.new(name: 'DeregisterEventTopicResult')
|
139
141
|
DescribeADAssessmentRequest = Shapes::StructureShape.new(name: 'DescribeADAssessmentRequest')
|
140
142
|
DescribeADAssessmentResult = Shapes::StructureShape.new(name: 'DescribeADAssessmentResult')
|
143
|
+
DescribeCAEnrollmentPolicyRequest = Shapes::StructureShape.new(name: 'DescribeCAEnrollmentPolicyRequest')
|
144
|
+
DescribeCAEnrollmentPolicyResult = Shapes::StructureShape.new(name: 'DescribeCAEnrollmentPolicyResult')
|
141
145
|
DescribeCertificateRequest = Shapes::StructureShape.new(name: 'DescribeCertificateRequest')
|
142
146
|
DescribeCertificateResult = Shapes::StructureShape.new(name: 'DescribeCertificateResult')
|
143
147
|
DescribeClientAuthenticationSettingsRequest = Shapes::StructureShape.new(name: 'DescribeClientAuthenticationSettingsRequest')
|
@@ -202,6 +206,9 @@ module Aws::DirectoryService
|
|
202
206
|
DirectoryUnavailableException = Shapes::StructureShape.new(name: 'DirectoryUnavailableException')
|
203
207
|
DirectoryVpcSettings = Shapes::StructureShape.new(name: 'DirectoryVpcSettings')
|
204
208
|
DirectoryVpcSettingsDescription = Shapes::StructureShape.new(name: 'DirectoryVpcSettingsDescription')
|
209
|
+
DisableAlreadyInProgressException = Shapes::StructureShape.new(name: 'DisableAlreadyInProgressException')
|
210
|
+
DisableCAEnrollmentPolicyRequest = Shapes::StructureShape.new(name: 'DisableCAEnrollmentPolicyRequest')
|
211
|
+
DisableCAEnrollmentPolicyResult = Shapes::StructureShape.new(name: 'DisableCAEnrollmentPolicyResult')
|
205
212
|
DisableClientAuthenticationRequest = Shapes::StructureShape.new(name: 'DisableClientAuthenticationRequest')
|
206
213
|
DisableClientAuthenticationResult = Shapes::StructureShape.new(name: 'DisableClientAuthenticationResult')
|
207
214
|
DisableDirectoryDataAccessRequest = Shapes::StructureShape.new(name: 'DisableDirectoryDataAccessRequest')
|
@@ -220,6 +227,9 @@ module Aws::DirectoryService
|
|
220
227
|
DomainControllerStatus = Shapes::StringShape.new(name: 'DomainControllerStatus')
|
221
228
|
DomainControllerStatusReason = Shapes::StringShape.new(name: 'DomainControllerStatusReason')
|
222
229
|
DomainControllers = Shapes::ListShape.new(name: 'DomainControllers')
|
230
|
+
EnableAlreadyInProgressException = Shapes::StructureShape.new(name: 'EnableAlreadyInProgressException')
|
231
|
+
EnableCAEnrollmentPolicyRequest = Shapes::StructureShape.new(name: 'EnableCAEnrollmentPolicyRequest')
|
232
|
+
EnableCAEnrollmentPolicyResult = Shapes::StructureShape.new(name: 'EnableCAEnrollmentPolicyResult')
|
223
233
|
EnableClientAuthenticationRequest = Shapes::StructureShape.new(name: 'EnableClientAuthenticationRequest')
|
224
234
|
EnableClientAuthenticationResult = Shapes::StructureShape.new(name: 'EnableClientAuthenticationResult')
|
225
235
|
EnableDirectoryDataAccessRequest = Shapes::StructureShape.new(name: 'EnableDirectoryDataAccessRequest')
|
@@ -304,6 +314,7 @@ module Aws::DirectoryService
|
|
304
314
|
OwnerDirectoryDescription = Shapes::StructureShape.new(name: 'OwnerDirectoryDescription')
|
305
315
|
PageLimit = Shapes::IntegerShape.new(name: 'PageLimit')
|
306
316
|
Password = Shapes::StringShape.new(name: 'Password')
|
317
|
+
PcaConnectorArn = Shapes::StringShape.new(name: 'PcaConnectorArn')
|
307
318
|
PortNumber = Shapes::IntegerShape.new(name: 'PortNumber')
|
308
319
|
RadiusAuthenticationProtocol = Shapes::StringShape.new(name: 'RadiusAuthenticationProtocol')
|
309
320
|
RadiusDisplayLabel = Shapes::StringShape.new(name: 'RadiusDisplayLabel')
|
@@ -763,6 +774,16 @@ module Aws::DirectoryService
|
|
763
774
|
DescribeADAssessmentResult.add_member(:assessment_reports, Shapes::ShapeRef.new(shape: AssessmentReports, location_name: "AssessmentReports"))
|
764
775
|
DescribeADAssessmentResult.struct_class = Types::DescribeADAssessmentResult
|
765
776
|
|
777
|
+
DescribeCAEnrollmentPolicyRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "DirectoryId"))
|
778
|
+
DescribeCAEnrollmentPolicyRequest.struct_class = Types::DescribeCAEnrollmentPolicyRequest
|
779
|
+
|
780
|
+
DescribeCAEnrollmentPolicyResult.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, location_name: "DirectoryId"))
|
781
|
+
DescribeCAEnrollmentPolicyResult.add_member(:pca_connector_arn, Shapes::ShapeRef.new(shape: PcaConnectorArn, location_name: "PcaConnectorArn"))
|
782
|
+
DescribeCAEnrollmentPolicyResult.add_member(:ca_enrollment_policy_status, Shapes::ShapeRef.new(shape: CaEnrollmentPolicyStatus, location_name: "CaEnrollmentPolicyStatus"))
|
783
|
+
DescribeCAEnrollmentPolicyResult.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: LastUpdatedDateTime, location_name: "LastUpdatedDateTime"))
|
784
|
+
DescribeCAEnrollmentPolicyResult.add_member(:ca_enrollment_policy_status_reason, Shapes::ShapeRef.new(shape: CaEnrollmentPolicyStatusReason, location_name: "CaEnrollmentPolicyStatusReason"))
|
785
|
+
DescribeCAEnrollmentPolicyResult.struct_class = Types::DescribeCAEnrollmentPolicyResult
|
786
|
+
|
766
787
|
DescribeCertificateRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "DirectoryId"))
|
767
788
|
DescribeCertificateRequest.add_member(:certificate_id, Shapes::ShapeRef.new(shape: CertificateId, required: true, location_name: "CertificateId"))
|
768
789
|
DescribeCertificateRequest.struct_class = Types::DescribeCertificateRequest
|
@@ -996,6 +1017,15 @@ module Aws::DirectoryService
|
|
996
1017
|
DirectoryVpcSettingsDescription.add_member(:availability_zones, Shapes::ShapeRef.new(shape: AvailabilityZones, location_name: "AvailabilityZones"))
|
997
1018
|
DirectoryVpcSettingsDescription.struct_class = Types::DirectoryVpcSettingsDescription
|
998
1019
|
|
1020
|
+
DisableAlreadyInProgressException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
|
1021
|
+
DisableAlreadyInProgressException.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "RequestId"))
|
1022
|
+
DisableAlreadyInProgressException.struct_class = Types::DisableAlreadyInProgressException
|
1023
|
+
|
1024
|
+
DisableCAEnrollmentPolicyRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "DirectoryId"))
|
1025
|
+
DisableCAEnrollmentPolicyRequest.struct_class = Types::DisableCAEnrollmentPolicyRequest
|
1026
|
+
|
1027
|
+
DisableCAEnrollmentPolicyResult.struct_class = Types::DisableCAEnrollmentPolicyResult
|
1028
|
+
|
999
1029
|
DisableClientAuthenticationRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "DirectoryId"))
|
1000
1030
|
DisableClientAuthenticationRequest.add_member(:type, Shapes::ShapeRef.new(shape: ClientAuthenticationType, required: true, location_name: "Type"))
|
1001
1031
|
DisableClientAuthenticationRequest.struct_class = Types::DisableClientAuthenticationRequest
|
@@ -1047,6 +1077,16 @@ module Aws::DirectoryService
|
|
1047
1077
|
|
1048
1078
|
DomainControllers.member = Shapes::ShapeRef.new(shape: DomainController)
|
1049
1079
|
|
1080
|
+
EnableAlreadyInProgressException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
|
1081
|
+
EnableAlreadyInProgressException.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "RequestId"))
|
1082
|
+
EnableAlreadyInProgressException.struct_class = Types::EnableAlreadyInProgressException
|
1083
|
+
|
1084
|
+
EnableCAEnrollmentPolicyRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "DirectoryId"))
|
1085
|
+
EnableCAEnrollmentPolicyRequest.add_member(:pca_connector_arn, Shapes::ShapeRef.new(shape: PcaConnectorArn, required: true, location_name: "PcaConnectorArn"))
|
1086
|
+
EnableCAEnrollmentPolicyRequest.struct_class = Types::EnableCAEnrollmentPolicyRequest
|
1087
|
+
|
1088
|
+
EnableCAEnrollmentPolicyResult.struct_class = Types::EnableCAEnrollmentPolicyResult
|
1089
|
+
|
1050
1090
|
EnableClientAuthenticationRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "DirectoryId"))
|
1051
1091
|
EnableClientAuthenticationRequest.add_member(:type, Shapes::ShapeRef.new(shape: ClientAuthenticationType, required: true, location_name: "Type"))
|
1052
1092
|
EnableClientAuthenticationRequest.struct_class = Types::EnableClientAuthenticationRequest
|
@@ -1943,6 +1983,18 @@ module Aws::DirectoryService
|
|
1943
1983
|
o.errors << Shapes::ShapeRef.new(shape: EntityDoesNotExistException)
|
1944
1984
|
end)
|
1945
1985
|
|
1986
|
+
api.add_operation(:describe_ca_enrollment_policy, Seahorse::Model::Operation.new.tap do |o|
|
1987
|
+
o.name = "DescribeCAEnrollmentPolicy"
|
1988
|
+
o.http_method = "POST"
|
1989
|
+
o.http_request_uri = "/"
|
1990
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeCAEnrollmentPolicyRequest)
|
1991
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeCAEnrollmentPolicyResult)
|
1992
|
+
o.errors << Shapes::ShapeRef.new(shape: DirectoryDoesNotExistException)
|
1993
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
1994
|
+
o.errors << Shapes::ShapeRef.new(shape: ClientException)
|
1995
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1996
|
+
end)
|
1997
|
+
|
1946
1998
|
api.add_operation(:describe_certificate, Seahorse::Model::Operation.new.tap do |o|
|
1947
1999
|
o.name = "DescribeCertificate"
|
1948
2000
|
o.http_method = "POST"
|
@@ -2201,6 +2253,22 @@ module Aws::DirectoryService
|
|
2201
2253
|
)
|
2202
2254
|
end)
|
2203
2255
|
|
2256
|
+
api.add_operation(:disable_ca_enrollment_policy, Seahorse::Model::Operation.new.tap do |o|
|
2257
|
+
o.name = "DisableCAEnrollmentPolicy"
|
2258
|
+
o.http_method = "POST"
|
2259
|
+
o.http_request_uri = "/"
|
2260
|
+
o.input = Shapes::ShapeRef.new(shape: DisableCAEnrollmentPolicyRequest)
|
2261
|
+
o.output = Shapes::ShapeRef.new(shape: DisableCAEnrollmentPolicyResult)
|
2262
|
+
o.errors << Shapes::ShapeRef.new(shape: DirectoryDoesNotExistException)
|
2263
|
+
o.errors << Shapes::ShapeRef.new(shape: DirectoryUnavailableException)
|
2264
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
2265
|
+
o.errors << Shapes::ShapeRef.new(shape: DisableAlreadyInProgressException)
|
2266
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityDoesNotExistException)
|
2267
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2268
|
+
o.errors << Shapes::ShapeRef.new(shape: ClientException)
|
2269
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2270
|
+
end)
|
2271
|
+
|
2204
2272
|
api.add_operation(:disable_client_authentication, Seahorse::Model::Operation.new.tap do |o|
|
2205
2273
|
o.name = "DisableClientAuthentication"
|
2206
2274
|
o.http_method = "POST"
|
@@ -2269,6 +2337,23 @@ module Aws::DirectoryService
|
|
2269
2337
|
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2270
2338
|
end)
|
2271
2339
|
|
2340
|
+
api.add_operation(:enable_ca_enrollment_policy, Seahorse::Model::Operation.new.tap do |o|
|
2341
|
+
o.name = "EnableCAEnrollmentPolicy"
|
2342
|
+
o.http_method = "POST"
|
2343
|
+
o.http_request_uri = "/"
|
2344
|
+
o.input = Shapes::ShapeRef.new(shape: EnableCAEnrollmentPolicyRequest)
|
2345
|
+
o.output = Shapes::ShapeRef.new(shape: EnableCAEnrollmentPolicyResult)
|
2346
|
+
o.errors << Shapes::ShapeRef.new(shape: DirectoryDoesNotExistException)
|
2347
|
+
o.errors << Shapes::ShapeRef.new(shape: DirectoryUnavailableException)
|
2348
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
2349
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityAlreadyExistsException)
|
2350
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityDoesNotExistException)
|
2351
|
+
o.errors << Shapes::ShapeRef.new(shape: EnableAlreadyInProgressException)
|
2352
|
+
o.errors << Shapes::ShapeRef.new(shape: ClientException)
|
2353
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2354
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2355
|
+
end)
|
2356
|
+
|
2272
2357
|
api.add_operation(:enable_client_authentication, Seahorse::Model::Operation.new.tap do |o|
|
2273
2358
|
o.name = "EnableClientAuthentication"
|
2274
2359
|
o.http_method = "POST"
|
@@ -42,7 +42,9 @@ module Aws::DirectoryService
|
|
42
42
|
# * {DirectoryLimitExceededException}
|
43
43
|
# * {DirectoryNotSharedException}
|
44
44
|
# * {DirectoryUnavailableException}
|
45
|
+
# * {DisableAlreadyInProgressException}
|
45
46
|
# * {DomainControllerLimitExceededException}
|
47
|
+
# * {EnableAlreadyInProgressException}
|
46
48
|
# * {EntityAlreadyExistsException}
|
47
49
|
# * {EntityDoesNotExistException}
|
48
50
|
# * {IncompatibleSettingsException}
|
@@ -372,6 +374,26 @@ module Aws::DirectoryService
|
|
372
374
|
end
|
373
375
|
end
|
374
376
|
|
377
|
+
class DisableAlreadyInProgressException < ServiceError
|
378
|
+
|
379
|
+
# @param [Seahorse::Client::RequestContext] context
|
380
|
+
# @param [String] message
|
381
|
+
# @param [Aws::DirectoryService::Types::DisableAlreadyInProgressException] data
|
382
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
383
|
+
super(context, message, data)
|
384
|
+
end
|
385
|
+
|
386
|
+
# @return [String]
|
387
|
+
def message
|
388
|
+
@message || @data[:message]
|
389
|
+
end
|
390
|
+
|
391
|
+
# @return [String]
|
392
|
+
def request_id
|
393
|
+
@data[:request_id]
|
394
|
+
end
|
395
|
+
end
|
396
|
+
|
375
397
|
class DomainControllerLimitExceededException < ServiceError
|
376
398
|
|
377
399
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -392,6 +414,26 @@ module Aws::DirectoryService
|
|
392
414
|
end
|
393
415
|
end
|
394
416
|
|
417
|
+
class EnableAlreadyInProgressException < ServiceError
|
418
|
+
|
419
|
+
# @param [Seahorse::Client::RequestContext] context
|
420
|
+
# @param [String] message
|
421
|
+
# @param [Aws::DirectoryService::Types::EnableAlreadyInProgressException] data
|
422
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
423
|
+
super(context, message, data)
|
424
|
+
end
|
425
|
+
|
426
|
+
# @return [String]
|
427
|
+
def message
|
428
|
+
@message || @data[:message]
|
429
|
+
end
|
430
|
+
|
431
|
+
# @return [String]
|
432
|
+
def request_id
|
433
|
+
@data[:request_id]
|
434
|
+
end
|
435
|
+
end
|
436
|
+
|
395
437
|
class EntityAlreadyExistsException < ServiceError
|
396
438
|
|
397
439
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -1613,6 +1613,79 @@ module Aws::DirectoryService
|
|
1613
1613
|
include Aws::Structure
|
1614
1614
|
end
|
1615
1615
|
|
1616
|
+
# Contains the inputs for the DescribeCAEnrollmentPolicy operation.
|
1617
|
+
#
|
1618
|
+
# @!attribute [rw] directory_id
|
1619
|
+
# The identifier of the directory for which to retrieve the CA
|
1620
|
+
# enrollment policy information.
|
1621
|
+
# @return [String]
|
1622
|
+
#
|
1623
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeCAEnrollmentPolicyRequest AWS API Documentation
|
1624
|
+
#
|
1625
|
+
class DescribeCAEnrollmentPolicyRequest < Struct.new(
|
1626
|
+
:directory_id)
|
1627
|
+
SENSITIVE = []
|
1628
|
+
include Aws::Structure
|
1629
|
+
end
|
1630
|
+
|
1631
|
+
# Contains the results of the DescribeCAEnrollmentPolicy operation.
|
1632
|
+
#
|
1633
|
+
# @!attribute [rw] directory_id
|
1634
|
+
# The identifier of the directory associated with this CA enrollment
|
1635
|
+
# policy.
|
1636
|
+
# @return [String]
|
1637
|
+
#
|
1638
|
+
# @!attribute [rw] pca_connector_arn
|
1639
|
+
# The Amazon Resource Name (ARN) of the Amazon Web Services Private
|
1640
|
+
# Certificate Authority (PCA) connector that is configured for
|
1641
|
+
# automatic certificate enrollment in this directory.
|
1642
|
+
# @return [String]
|
1643
|
+
#
|
1644
|
+
# @!attribute [rw] ca_enrollment_policy_status
|
1645
|
+
# The current status of the CA enrollment policy. This indicates if
|
1646
|
+
# automatic certificate enrollment is currently active, inactive, or
|
1647
|
+
# in a transitional state.
|
1648
|
+
#
|
1649
|
+
# Valid values:
|
1650
|
+
#
|
1651
|
+
# * `IN_PROGRESS` - The policy is being activated T
|
1652
|
+
#
|
1653
|
+
# * `SUCCESS` - The policy is active and automatic certificate
|
1654
|
+
# enrollment is operational
|
1655
|
+
#
|
1656
|
+
# * `FAILED` - The policy activation or deactivation failed
|
1657
|
+
#
|
1658
|
+
# * `DISABLING` - The policy is being deactivated
|
1659
|
+
#
|
1660
|
+
# * `DISABLED` - The policy is inactive and automatic certificate
|
1661
|
+
# enrollment is not available
|
1662
|
+
#
|
1663
|
+
# * `IMPAIRED` - Network connectivity is impaired.
|
1664
|
+
# @return [String]
|
1665
|
+
#
|
1666
|
+
# @!attribute [rw] last_updated_date_time
|
1667
|
+
# The date and time when the CA enrollment policy was last modified or
|
1668
|
+
# updated.
|
1669
|
+
# @return [Time]
|
1670
|
+
#
|
1671
|
+
# @!attribute [rw] ca_enrollment_policy_status_reason
|
1672
|
+
# Additional information explaining the current status of the CA
|
1673
|
+
# enrollment policy, particularly useful when the policy is in an
|
1674
|
+
# error or transitional state.
|
1675
|
+
# @return [String]
|
1676
|
+
#
|
1677
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeCAEnrollmentPolicyResult AWS API Documentation
|
1678
|
+
#
|
1679
|
+
class DescribeCAEnrollmentPolicyResult < Struct.new(
|
1680
|
+
:directory_id,
|
1681
|
+
:pca_connector_arn,
|
1682
|
+
:ca_enrollment_policy_status,
|
1683
|
+
:last_updated_date_time,
|
1684
|
+
:ca_enrollment_policy_status_reason)
|
1685
|
+
SENSITIVE = []
|
1686
|
+
include Aws::Structure
|
1687
|
+
end
|
1688
|
+
|
1616
1689
|
# @!attribute [rw] directory_id
|
1617
1690
|
# The identifier of the directory.
|
1618
1691
|
# @return [String]
|
@@ -2816,6 +2889,47 @@ module Aws::DirectoryService
|
|
2816
2889
|
include Aws::Structure
|
2817
2890
|
end
|
2818
2891
|
|
2892
|
+
# A disable operation for CA enrollment policy is already in progress
|
2893
|
+
# for this directory.
|
2894
|
+
#
|
2895
|
+
# @!attribute [rw] message
|
2896
|
+
# The descriptive message for the exception.
|
2897
|
+
# @return [String]
|
2898
|
+
#
|
2899
|
+
# @!attribute [rw] request_id
|
2900
|
+
# The Amazon Web Services request identifier.
|
2901
|
+
# @return [String]
|
2902
|
+
#
|
2903
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DisableAlreadyInProgressException AWS API Documentation
|
2904
|
+
#
|
2905
|
+
class DisableAlreadyInProgressException < Struct.new(
|
2906
|
+
:message,
|
2907
|
+
:request_id)
|
2908
|
+
SENSITIVE = []
|
2909
|
+
include Aws::Structure
|
2910
|
+
end
|
2911
|
+
|
2912
|
+
# Contains the inputs for the DisableCAEnrollmentPolicy operation.
|
2913
|
+
#
|
2914
|
+
# @!attribute [rw] directory_id
|
2915
|
+
# The identifier of the directory for which to disable the CA
|
2916
|
+
# enrollment policy.
|
2917
|
+
# @return [String]
|
2918
|
+
#
|
2919
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DisableCAEnrollmentPolicyRequest AWS API Documentation
|
2920
|
+
#
|
2921
|
+
class DisableCAEnrollmentPolicyRequest < Struct.new(
|
2922
|
+
:directory_id)
|
2923
|
+
SENSITIVE = []
|
2924
|
+
include Aws::Structure
|
2925
|
+
end
|
2926
|
+
|
2927
|
+
# Contains the results of the DisableCAEnrollmentPolicy operation.
|
2928
|
+
#
|
2929
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DisableCAEnrollmentPolicyResult AWS API Documentation
|
2930
|
+
#
|
2931
|
+
class DisableCAEnrollmentPolicyResult < Aws::EmptyStructure; end
|
2932
|
+
|
2819
2933
|
# @!attribute [rw] directory_id
|
2820
2934
|
# The identifier of the directory
|
2821
2935
|
# @return [String]
|
@@ -3018,6 +3132,58 @@ module Aws::DirectoryService
|
|
3018
3132
|
include Aws::Structure
|
3019
3133
|
end
|
3020
3134
|
|
3135
|
+
# An enable operation for CA enrollment policy is already in progress
|
3136
|
+
# for this directory.
|
3137
|
+
#
|
3138
|
+
# @!attribute [rw] message
|
3139
|
+
# The descriptive message for the exception.
|
3140
|
+
# @return [String]
|
3141
|
+
#
|
3142
|
+
# @!attribute [rw] request_id
|
3143
|
+
# The Amazon Web Services request identifier.
|
3144
|
+
# @return [String]
|
3145
|
+
#
|
3146
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/EnableAlreadyInProgressException AWS API Documentation
|
3147
|
+
#
|
3148
|
+
class EnableAlreadyInProgressException < Struct.new(
|
3149
|
+
:message,
|
3150
|
+
:request_id)
|
3151
|
+
SENSITIVE = []
|
3152
|
+
include Aws::Structure
|
3153
|
+
end
|
3154
|
+
|
3155
|
+
# Contains the inputs for the EnableCAEnrollmentPolicy operation.
|
3156
|
+
#
|
3157
|
+
# @!attribute [rw] directory_id
|
3158
|
+
# The identifier of the directory for which to enable the CA
|
3159
|
+
# enrollment policy.
|
3160
|
+
# @return [String]
|
3161
|
+
#
|
3162
|
+
# @!attribute [rw] pca_connector_arn
|
3163
|
+
# The Amazon Resource Name (ARN) of the Private Certificate Authority
|
3164
|
+
# (PCA) connector to use for automatic certificate enrollment. This
|
3165
|
+
# connector must be properly configured and accessible from the
|
3166
|
+
# directory.
|
3167
|
+
#
|
3168
|
+
# The ARN format is:
|
3169
|
+
# `arn:aws:pca-connector-ad:region:account-id:connector/connector-id `
|
3170
|
+
# @return [String]
|
3171
|
+
#
|
3172
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/EnableCAEnrollmentPolicyRequest AWS API Documentation
|
3173
|
+
#
|
3174
|
+
class EnableCAEnrollmentPolicyRequest < Struct.new(
|
3175
|
+
:directory_id,
|
3176
|
+
:pca_connector_arn)
|
3177
|
+
SENSITIVE = []
|
3178
|
+
include Aws::Structure
|
3179
|
+
end
|
3180
|
+
|
3181
|
+
# Contains the results of the EnableCAEnrollmentPolicy operation.
|
3182
|
+
#
|
3183
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/EnableCAEnrollmentPolicyResult AWS API Documentation
|
3184
|
+
#
|
3185
|
+
class EnableCAEnrollmentPolicyResult < Aws::EmptyStructure; end
|
3186
|
+
|
3021
3187
|
# @!attribute [rw] directory_id
|
3022
3188
|
# The identifier of the specified directory.
|
3023
3189
|
# @return [String]
|
data/sig/client.rbs
CHANGED
@@ -405,6 +405,20 @@ module Aws
|
|
405
405
|
) -> _DescribeADAssessmentResponseSuccess
|
406
406
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeADAssessmentResponseSuccess
|
407
407
|
|
408
|
+
interface _DescribeCAEnrollmentPolicyResponseSuccess
|
409
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeCAEnrollmentPolicyResult]
|
410
|
+
def directory_id: () -> ::String
|
411
|
+
def pca_connector_arn: () -> ::String
|
412
|
+
def ca_enrollment_policy_status: () -> ("InProgress" | "Success" | "Failed" | "Disabling" | "Disabled" | "Impaired")
|
413
|
+
def last_updated_date_time: () -> ::Time
|
414
|
+
def ca_enrollment_policy_status_reason: () -> ::String
|
415
|
+
end
|
416
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DirectoryService/Client.html#describe_ca_enrollment_policy-instance_method
|
417
|
+
def describe_ca_enrollment_policy: (
|
418
|
+
directory_id: ::String
|
419
|
+
) -> _DescribeCAEnrollmentPolicyResponseSuccess
|
420
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeCAEnrollmentPolicyResponseSuccess
|
421
|
+
|
408
422
|
interface _DescribeCertificateResponseSuccess
|
409
423
|
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeCertificateResult]
|
410
424
|
def certificate: () -> Types::Certificate
|
@@ -599,6 +613,15 @@ module Aws
|
|
599
613
|
) -> _DescribeUpdateDirectoryResponseSuccess
|
600
614
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeUpdateDirectoryResponseSuccess
|
601
615
|
|
616
|
+
interface _DisableCAEnrollmentPolicyResponseSuccess
|
617
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DisableCAEnrollmentPolicyResult]
|
618
|
+
end
|
619
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DirectoryService/Client.html#disable_ca_enrollment_policy-instance_method
|
620
|
+
def disable_ca_enrollment_policy: (
|
621
|
+
directory_id: ::String
|
622
|
+
) -> _DisableCAEnrollmentPolicyResponseSuccess
|
623
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisableCAEnrollmentPolicyResponseSuccess
|
624
|
+
|
602
625
|
interface _DisableClientAuthenticationResponseSuccess
|
603
626
|
include ::Seahorse::Client::_ResponseSuccess[Types::DisableClientAuthenticationResult]
|
604
627
|
end
|
@@ -648,6 +671,16 @@ module Aws
|
|
648
671
|
) -> _DisableSsoResponseSuccess
|
649
672
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisableSsoResponseSuccess
|
650
673
|
|
674
|
+
interface _EnableCAEnrollmentPolicyResponseSuccess
|
675
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::EnableCAEnrollmentPolicyResult]
|
676
|
+
end
|
677
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DirectoryService/Client.html#enable_ca_enrollment_policy-instance_method
|
678
|
+
def enable_ca_enrollment_policy: (
|
679
|
+
directory_id: ::String,
|
680
|
+
pca_connector_arn: ::String
|
681
|
+
) -> _EnableCAEnrollmentPolicyResponseSuccess
|
682
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _EnableCAEnrollmentPolicyResponseSuccess
|
683
|
+
|
651
684
|
interface _EnableClientAuthenticationResponseSuccess
|
652
685
|
include ::Seahorse::Client::_ResponseSuccess[Types::EnableClientAuthenticationResult]
|
653
686
|
end
|
data/sig/errors.rbs
CHANGED
@@ -71,10 +71,18 @@ module Aws
|
|
71
71
|
def message: () -> ::String
|
72
72
|
def request_id: () -> ::String
|
73
73
|
end
|
74
|
+
class DisableAlreadyInProgressException < ::Aws::Errors::ServiceError
|
75
|
+
def message: () -> ::String
|
76
|
+
def request_id: () -> ::String
|
77
|
+
end
|
74
78
|
class DomainControllerLimitExceededException < ::Aws::Errors::ServiceError
|
75
79
|
def message: () -> ::String
|
76
80
|
def request_id: () -> ::String
|
77
81
|
end
|
82
|
+
class EnableAlreadyInProgressException < ::Aws::Errors::ServiceError
|
83
|
+
def message: () -> ::String
|
84
|
+
def request_id: () -> ::String
|
85
|
+
end
|
78
86
|
class EntityAlreadyExistsException < ::Aws::Errors::ServiceError
|
79
87
|
def message: () -> ::String
|
80
88
|
def request_id: () -> ::String
|
data/sig/types.rbs
CHANGED
@@ -433,6 +433,20 @@ module Aws::DirectoryService
|
|
433
433
|
SENSITIVE: []
|
434
434
|
end
|
435
435
|
|
436
|
+
class DescribeCAEnrollmentPolicyRequest
|
437
|
+
attr_accessor directory_id: ::String
|
438
|
+
SENSITIVE: []
|
439
|
+
end
|
440
|
+
|
441
|
+
class DescribeCAEnrollmentPolicyResult
|
442
|
+
attr_accessor directory_id: ::String
|
443
|
+
attr_accessor pca_connector_arn: ::String
|
444
|
+
attr_accessor ca_enrollment_policy_status: ("InProgress" | "Success" | "Failed" | "Disabling" | "Disabled" | "Impaired")
|
445
|
+
attr_accessor last_updated_date_time: ::Time
|
446
|
+
attr_accessor ca_enrollment_policy_status_reason: ::String
|
447
|
+
SENSITIVE: []
|
448
|
+
end
|
449
|
+
|
436
450
|
class DescribeCertificateRequest
|
437
451
|
attr_accessor directory_id: ::String
|
438
452
|
attr_accessor certificate_id: ::String
|
@@ -745,6 +759,20 @@ module Aws::DirectoryService
|
|
745
759
|
SENSITIVE: []
|
746
760
|
end
|
747
761
|
|
762
|
+
class DisableAlreadyInProgressException
|
763
|
+
attr_accessor message: ::String
|
764
|
+
attr_accessor request_id: ::String
|
765
|
+
SENSITIVE: []
|
766
|
+
end
|
767
|
+
|
768
|
+
class DisableCAEnrollmentPolicyRequest
|
769
|
+
attr_accessor directory_id: ::String
|
770
|
+
SENSITIVE: []
|
771
|
+
end
|
772
|
+
|
773
|
+
class DisableCAEnrollmentPolicyResult < Aws::EmptyStructure
|
774
|
+
end
|
775
|
+
|
748
776
|
class DisableClientAuthenticationRequest
|
749
777
|
attr_accessor directory_id: ::String
|
750
778
|
attr_accessor type: ("SmartCard" | "SmartCardOrPassword")
|
@@ -809,6 +837,21 @@ module Aws::DirectoryService
|
|
809
837
|
SENSITIVE: []
|
810
838
|
end
|
811
839
|
|
840
|
+
class EnableAlreadyInProgressException
|
841
|
+
attr_accessor message: ::String
|
842
|
+
attr_accessor request_id: ::String
|
843
|
+
SENSITIVE: []
|
844
|
+
end
|
845
|
+
|
846
|
+
class EnableCAEnrollmentPolicyRequest
|
847
|
+
attr_accessor directory_id: ::String
|
848
|
+
attr_accessor pca_connector_arn: ::String
|
849
|
+
SENSITIVE: []
|
850
|
+
end
|
851
|
+
|
852
|
+
class EnableCAEnrollmentPolicyResult < Aws::EmptyStructure
|
853
|
+
end
|
854
|
+
|
812
855
|
class EnableClientAuthenticationRequest
|
813
856
|
attr_accessor directory_id: ::String
|
814
857
|
attr_accessor type: ("SmartCard" | "SmartCardOrPassword")
|