aws-sdk-directoryservice 1.22.0 → 1.23.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -30,6 +30,20 @@ module Aws::DirectoryService
30
30
  AvailabilityZones = Shapes::ListShape.new(name: 'AvailabilityZones')
31
31
  CancelSchemaExtensionRequest = Shapes::StructureShape.new(name: 'CancelSchemaExtensionRequest')
32
32
  CancelSchemaExtensionResult = Shapes::StructureShape.new(name: 'CancelSchemaExtensionResult')
33
+ Certificate = Shapes::StructureShape.new(name: 'Certificate')
34
+ CertificateAlreadyExistsException = Shapes::StructureShape.new(name: 'CertificateAlreadyExistsException')
35
+ CertificateCN = Shapes::StringShape.new(name: 'CertificateCN')
36
+ CertificateData = Shapes::StringShape.new(name: 'CertificateData')
37
+ CertificateDoesNotExistException = Shapes::StructureShape.new(name: 'CertificateDoesNotExistException')
38
+ CertificateExpiryDateTime = Shapes::TimestampShape.new(name: 'CertificateExpiryDateTime')
39
+ CertificateId = Shapes::StringShape.new(name: 'CertificateId')
40
+ CertificateInUseException = Shapes::StructureShape.new(name: 'CertificateInUseException')
41
+ CertificateInfo = Shapes::StructureShape.new(name: 'CertificateInfo')
42
+ CertificateLimitExceededException = Shapes::StructureShape.new(name: 'CertificateLimitExceededException')
43
+ CertificateRegisteredDateTime = Shapes::TimestampShape.new(name: 'CertificateRegisteredDateTime')
44
+ CertificateState = Shapes::StringShape.new(name: 'CertificateState')
45
+ CertificateStateReason = Shapes::StringShape.new(name: 'CertificateStateReason')
46
+ CertificatesInfo = Shapes::ListShape.new(name: 'CertificatesInfo')
33
47
  CidrIp = Shapes::StringShape.new(name: 'CidrIp')
34
48
  CidrIps = Shapes::ListShape.new(name: 'CidrIps')
35
49
  ClientException = Shapes::StructureShape.new(name: 'ClientException')
@@ -74,8 +88,12 @@ module Aws::DirectoryService
74
88
  DeleteSnapshotResult = Shapes::StructureShape.new(name: 'DeleteSnapshotResult')
75
89
  DeleteTrustRequest = Shapes::StructureShape.new(name: 'DeleteTrustRequest')
76
90
  DeleteTrustResult = Shapes::StructureShape.new(name: 'DeleteTrustResult')
91
+ DeregisterCertificateRequest = Shapes::StructureShape.new(name: 'DeregisterCertificateRequest')
92
+ DeregisterCertificateResult = Shapes::StructureShape.new(name: 'DeregisterCertificateResult')
77
93
  DeregisterEventTopicRequest = Shapes::StructureShape.new(name: 'DeregisterEventTopicRequest')
78
94
  DeregisterEventTopicResult = Shapes::StructureShape.new(name: 'DeregisterEventTopicResult')
95
+ DescribeCertificateRequest = Shapes::StructureShape.new(name: 'DescribeCertificateRequest')
96
+ DescribeCertificateResult = Shapes::StructureShape.new(name: 'DescribeCertificateResult')
79
97
  DescribeConditionalForwardersRequest = Shapes::StructureShape.new(name: 'DescribeConditionalForwardersRequest')
80
98
  DescribeConditionalForwardersResult = Shapes::StructureShape.new(name: 'DescribeConditionalForwardersResult')
81
99
  DescribeDirectoriesRequest = Shapes::StructureShape.new(name: 'DescribeDirectoriesRequest')
@@ -84,6 +102,8 @@ module Aws::DirectoryService
84
102
  DescribeDomainControllersResult = Shapes::StructureShape.new(name: 'DescribeDomainControllersResult')
85
103
  DescribeEventTopicsRequest = Shapes::StructureShape.new(name: 'DescribeEventTopicsRequest')
86
104
  DescribeEventTopicsResult = Shapes::StructureShape.new(name: 'DescribeEventTopicsResult')
105
+ DescribeLDAPSSettingsRequest = Shapes::StructureShape.new(name: 'DescribeLDAPSSettingsRequest')
106
+ DescribeLDAPSSettingsResult = Shapes::StructureShape.new(name: 'DescribeLDAPSSettingsResult')
87
107
  DescribeSharedDirectoriesRequest = Shapes::StructureShape.new(name: 'DescribeSharedDirectoriesRequest')
88
108
  DescribeSharedDirectoriesResult = Shapes::StructureShape.new(name: 'DescribeSharedDirectoriesResult')
89
109
  DescribeSnapshotsRequest = Shapes::StructureShape.new(name: 'DescribeSnapshotsRequest')
@@ -97,6 +117,7 @@ module Aws::DirectoryService
97
117
  DirectoryConnectSettingsDescription = Shapes::StructureShape.new(name: 'DirectoryConnectSettingsDescription')
98
118
  DirectoryDescription = Shapes::StructureShape.new(name: 'DirectoryDescription')
99
119
  DirectoryDescriptions = Shapes::ListShape.new(name: 'DirectoryDescriptions')
120
+ DirectoryDoesNotExistException = Shapes::StructureShape.new(name: 'DirectoryDoesNotExistException')
100
121
  DirectoryEdition = Shapes::StringShape.new(name: 'DirectoryEdition')
101
122
  DirectoryId = Shapes::StringShape.new(name: 'DirectoryId')
102
123
  DirectoryIds = Shapes::ListShape.new(name: 'DirectoryIds')
@@ -111,6 +132,8 @@ module Aws::DirectoryService
111
132
  DirectoryUnavailableException = Shapes::StructureShape.new(name: 'DirectoryUnavailableException')
112
133
  DirectoryVpcSettings = Shapes::StructureShape.new(name: 'DirectoryVpcSettings')
113
134
  DirectoryVpcSettingsDescription = Shapes::StructureShape.new(name: 'DirectoryVpcSettingsDescription')
135
+ DisableLDAPSRequest = Shapes::StructureShape.new(name: 'DisableLDAPSRequest')
136
+ DisableLDAPSResult = Shapes::StructureShape.new(name: 'DisableLDAPSResult')
114
137
  DisableRadiusRequest = Shapes::StructureShape.new(name: 'DisableRadiusRequest')
115
138
  DisableRadiusResult = Shapes::StructureShape.new(name: 'DisableRadiusResult')
116
139
  DisableSsoRequest = Shapes::StructureShape.new(name: 'DisableSsoRequest')
@@ -123,6 +146,8 @@ module Aws::DirectoryService
123
146
  DomainControllerStatus = Shapes::StringShape.new(name: 'DomainControllerStatus')
124
147
  DomainControllerStatusReason = Shapes::StringShape.new(name: 'DomainControllerStatusReason')
125
148
  DomainControllers = Shapes::ListShape.new(name: 'DomainControllers')
149
+ EnableLDAPSRequest = Shapes::StructureShape.new(name: 'EnableLDAPSRequest')
150
+ EnableLDAPSResult = Shapes::StructureShape.new(name: 'EnableLDAPSResult')
126
151
  EnableRadiusRequest = Shapes::StructureShape.new(name: 'EnableRadiusRequest')
127
152
  EnableRadiusResult = Shapes::StructureShape.new(name: 'EnableRadiusResult')
128
153
  EnableSsoRequest = Shapes::StructureShape.new(name: 'EnableSsoRequest')
@@ -138,6 +163,8 @@ module Aws::DirectoryService
138
163
  GetSnapshotLimitsRequest = Shapes::StructureShape.new(name: 'GetSnapshotLimitsRequest')
139
164
  GetSnapshotLimitsResult = Shapes::StructureShape.new(name: 'GetSnapshotLimitsResult')
140
165
  InsufficientPermissionsException = Shapes::StructureShape.new(name: 'InsufficientPermissionsException')
166
+ InvalidCertificateException = Shapes::StructureShape.new(name: 'InvalidCertificateException')
167
+ InvalidLDAPSStatusException = Shapes::StructureShape.new(name: 'InvalidLDAPSStatusException')
141
168
  InvalidNextTokenException = Shapes::StructureShape.new(name: 'InvalidNextTokenException')
142
169
  InvalidParameterException = Shapes::StructureShape.new(name: 'InvalidParameterException')
143
170
  InvalidPasswordException = Shapes::StructureShape.new(name: 'InvalidPasswordException')
@@ -151,10 +178,17 @@ module Aws::DirectoryService
151
178
  IpRouteStatusReason = Shapes::StringShape.new(name: 'IpRouteStatusReason')
152
179
  IpRoutes = Shapes::ListShape.new(name: 'IpRoutes')
153
180
  IpRoutesInfo = Shapes::ListShape.new(name: 'IpRoutesInfo')
181
+ LDAPSSettingInfo = Shapes::StructureShape.new(name: 'LDAPSSettingInfo')
182
+ LDAPSSettingsInfo = Shapes::ListShape.new(name: 'LDAPSSettingsInfo')
183
+ LDAPSStatus = Shapes::StringShape.new(name: 'LDAPSStatus')
184
+ LDAPSStatusReason = Shapes::StringShape.new(name: 'LDAPSStatusReason')
185
+ LDAPSType = Shapes::StringShape.new(name: 'LDAPSType')
154
186
  LastUpdatedDateTime = Shapes::TimestampShape.new(name: 'LastUpdatedDateTime')
155
187
  LaunchTime = Shapes::TimestampShape.new(name: 'LaunchTime')
156
188
  LdifContent = Shapes::StringShape.new(name: 'LdifContent')
157
189
  Limit = Shapes::IntegerShape.new(name: 'Limit')
190
+ ListCertificatesRequest = Shapes::StructureShape.new(name: 'ListCertificatesRequest')
191
+ ListCertificatesResult = Shapes::StructureShape.new(name: 'ListCertificatesResult')
158
192
  ListIpRoutesRequest = Shapes::StructureShape.new(name: 'ListIpRoutesRequest')
159
193
  ListIpRoutesResult = Shapes::StructureShape.new(name: 'ListIpRoutesResult')
160
194
  ListLogSubscriptionsRequest = Shapes::StructureShape.new(name: 'ListLogSubscriptionsRequest')
@@ -168,10 +202,12 @@ module Aws::DirectoryService
168
202
  LogSubscriptions = Shapes::ListShape.new(name: 'LogSubscriptions')
169
203
  ManualSnapshotsLimitReached = Shapes::BooleanShape.new(name: 'ManualSnapshotsLimitReached')
170
204
  NextToken = Shapes::StringShape.new(name: 'NextToken')
205
+ NoAvailableCertificateException = Shapes::StructureShape.new(name: 'NoAvailableCertificateException')
171
206
  Notes = Shapes::StringShape.new(name: 'Notes')
172
207
  OrganizationalUnitDN = Shapes::StringShape.new(name: 'OrganizationalUnitDN')
173
208
  OrganizationsException = Shapes::StructureShape.new(name: 'OrganizationsException')
174
209
  OwnerDirectoryDescription = Shapes::StructureShape.new(name: 'OwnerDirectoryDescription')
210
+ PageLimit = Shapes::IntegerShape.new(name: 'PageLimit')
175
211
  Password = Shapes::StringShape.new(name: 'Password')
176
212
  PortNumber = Shapes::IntegerShape.new(name: 'PortNumber')
177
213
  RadiusAuthenticationProtocol = Shapes::StringShape.new(name: 'RadiusAuthenticationProtocol')
@@ -181,6 +217,8 @@ module Aws::DirectoryService
181
217
  RadiusSharedSecret = Shapes::StringShape.new(name: 'RadiusSharedSecret')
182
218
  RadiusStatus = Shapes::StringShape.new(name: 'RadiusStatus')
183
219
  RadiusTimeout = Shapes::IntegerShape.new(name: 'RadiusTimeout')
220
+ RegisterCertificateRequest = Shapes::StructureShape.new(name: 'RegisterCertificateRequest')
221
+ RegisterCertificateResult = Shapes::StructureShape.new(name: 'RegisterCertificateResult')
184
222
  RegisterEventTopicRequest = Shapes::StructureShape.new(name: 'RegisterEventTopicRequest')
185
223
  RegisterEventTopicResult = Shapes::StructureShape.new(name: 'RegisterEventTopicResult')
186
224
  RejectSharedDirectoryRequest = Shapes::StructureShape.new(name: 'RejectSharedDirectoryRequest')
@@ -319,6 +357,37 @@ module Aws::DirectoryService
319
357
 
320
358
  CancelSchemaExtensionResult.struct_class = Types::CancelSchemaExtensionResult
321
359
 
360
+ Certificate.add_member(:certificate_id, Shapes::ShapeRef.new(shape: CertificateId, location_name: "CertificateId"))
361
+ Certificate.add_member(:state, Shapes::ShapeRef.new(shape: CertificateState, location_name: "State"))
362
+ Certificate.add_member(:state_reason, Shapes::ShapeRef.new(shape: CertificateStateReason, location_name: "StateReason"))
363
+ Certificate.add_member(:common_name, Shapes::ShapeRef.new(shape: CertificateCN, location_name: "CommonName"))
364
+ Certificate.add_member(:registered_date_time, Shapes::ShapeRef.new(shape: CertificateRegisteredDateTime, location_name: "RegisteredDateTime"))
365
+ Certificate.add_member(:expiry_date_time, Shapes::ShapeRef.new(shape: CertificateExpiryDateTime, location_name: "ExpiryDateTime"))
366
+ Certificate.struct_class = Types::Certificate
367
+
368
+ CertificateAlreadyExistsException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
369
+ CertificateAlreadyExistsException.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "RequestId"))
370
+ CertificateAlreadyExistsException.struct_class = Types::CertificateAlreadyExistsException
371
+
372
+ CertificateDoesNotExistException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
373
+ CertificateDoesNotExistException.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "RequestId"))
374
+ CertificateDoesNotExistException.struct_class = Types::CertificateDoesNotExistException
375
+
376
+ CertificateInUseException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
377
+ CertificateInUseException.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "RequestId"))
378
+ CertificateInUseException.struct_class = Types::CertificateInUseException
379
+
380
+ CertificateInfo.add_member(:certificate_id, Shapes::ShapeRef.new(shape: CertificateId, location_name: "CertificateId"))
381
+ CertificateInfo.add_member(:common_name, Shapes::ShapeRef.new(shape: CertificateCN, location_name: "CommonName"))
382
+ CertificateInfo.add_member(:state, Shapes::ShapeRef.new(shape: CertificateState, location_name: "State"))
383
+ CertificateInfo.struct_class = Types::CertificateInfo
384
+
385
+ CertificateLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
386
+ CertificateLimitExceededException.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "RequestId"))
387
+ CertificateLimitExceededException.struct_class = Types::CertificateLimitExceededException
388
+
389
+ CertificatesInfo.member = Shapes::ShapeRef.new(shape: CertificateInfo)
390
+
322
391
  CidrIps.member = Shapes::ShapeRef.new(shape: CidrIp)
323
392
 
324
393
  ClientException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
@@ -453,12 +522,25 @@ module Aws::DirectoryService
453
522
  DeleteTrustResult.add_member(:trust_id, Shapes::ShapeRef.new(shape: TrustId, location_name: "TrustId"))
454
523
  DeleteTrustResult.struct_class = Types::DeleteTrustResult
455
524
 
525
+ DeregisterCertificateRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "DirectoryId"))
526
+ DeregisterCertificateRequest.add_member(:certificate_id, Shapes::ShapeRef.new(shape: CertificateId, required: true, location_name: "CertificateId"))
527
+ DeregisterCertificateRequest.struct_class = Types::DeregisterCertificateRequest
528
+
529
+ DeregisterCertificateResult.struct_class = Types::DeregisterCertificateResult
530
+
456
531
  DeregisterEventTopicRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "DirectoryId"))
457
532
  DeregisterEventTopicRequest.add_member(:topic_name, Shapes::ShapeRef.new(shape: TopicName, required: true, location_name: "TopicName"))
458
533
  DeregisterEventTopicRequest.struct_class = Types::DeregisterEventTopicRequest
459
534
 
460
535
  DeregisterEventTopicResult.struct_class = Types::DeregisterEventTopicResult
461
536
 
537
+ DescribeCertificateRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "DirectoryId"))
538
+ DescribeCertificateRequest.add_member(:certificate_id, Shapes::ShapeRef.new(shape: CertificateId, required: true, location_name: "CertificateId"))
539
+ DescribeCertificateRequest.struct_class = Types::DescribeCertificateRequest
540
+
541
+ DescribeCertificateResult.add_member(:certificate, Shapes::ShapeRef.new(shape: Certificate, location_name: "Certificate"))
542
+ DescribeCertificateResult.struct_class = Types::DescribeCertificateResult
543
+
462
544
  DescribeConditionalForwardersRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "DirectoryId"))
463
545
  DescribeConditionalForwardersRequest.add_member(:remote_domain_names, Shapes::ShapeRef.new(shape: RemoteDomainNames, location_name: "RemoteDomainNames"))
464
546
  DescribeConditionalForwardersRequest.struct_class = Types::DescribeConditionalForwardersRequest
@@ -492,6 +574,16 @@ module Aws::DirectoryService
492
574
  DescribeEventTopicsResult.add_member(:event_topics, Shapes::ShapeRef.new(shape: EventTopics, location_name: "EventTopics"))
493
575
  DescribeEventTopicsResult.struct_class = Types::DescribeEventTopicsResult
494
576
 
577
+ DescribeLDAPSSettingsRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "DirectoryId"))
578
+ DescribeLDAPSSettingsRequest.add_member(:type, Shapes::ShapeRef.new(shape: LDAPSType, location_name: "Type"))
579
+ DescribeLDAPSSettingsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
580
+ DescribeLDAPSSettingsRequest.add_member(:limit, Shapes::ShapeRef.new(shape: PageLimit, location_name: "Limit"))
581
+ DescribeLDAPSSettingsRequest.struct_class = Types::DescribeLDAPSSettingsRequest
582
+
583
+ DescribeLDAPSSettingsResult.add_member(:ldaps_settings_info, Shapes::ShapeRef.new(shape: LDAPSSettingsInfo, location_name: "LDAPSSettingsInfo"))
584
+ DescribeLDAPSSettingsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
585
+ DescribeLDAPSSettingsResult.struct_class = Types::DescribeLDAPSSettingsResult
586
+
495
587
  DescribeSharedDirectoriesRequest.add_member(:owner_directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "OwnerDirectoryId"))
496
588
  DescribeSharedDirectoriesRequest.add_member(:shared_directory_ids, Shapes::ShapeRef.new(shape: DirectoryIds, location_name: "SharedDirectoryIds"))
497
589
  DescribeSharedDirectoriesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
@@ -568,6 +660,10 @@ module Aws::DirectoryService
568
660
 
569
661
  DirectoryDescriptions.member = Shapes::ShapeRef.new(shape: DirectoryDescription)
570
662
 
663
+ DirectoryDoesNotExistException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
664
+ DirectoryDoesNotExistException.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "RequestId"))
665
+ DirectoryDoesNotExistException.struct_class = Types::DirectoryDoesNotExistException
666
+
571
667
  DirectoryIds.member = Shapes::ShapeRef.new(shape: DirectoryId)
572
668
 
573
669
  DirectoryLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
@@ -603,6 +699,12 @@ module Aws::DirectoryService
603
699
  DirectoryVpcSettingsDescription.add_member(:availability_zones, Shapes::ShapeRef.new(shape: AvailabilityZones, location_name: "AvailabilityZones"))
604
700
  DirectoryVpcSettingsDescription.struct_class = Types::DirectoryVpcSettingsDescription
605
701
 
702
+ DisableLDAPSRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "DirectoryId"))
703
+ DisableLDAPSRequest.add_member(:type, Shapes::ShapeRef.new(shape: LDAPSType, location_name: "Type"))
704
+ DisableLDAPSRequest.struct_class = Types::DisableLDAPSRequest
705
+
706
+ DisableLDAPSResult.struct_class = Types::DisableLDAPSResult
707
+
606
708
  DisableRadiusRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "DirectoryId"))
607
709
  DisableRadiusRequest.struct_class = Types::DisableRadiusRequest
608
710
 
@@ -637,6 +739,12 @@ module Aws::DirectoryService
637
739
 
638
740
  DomainControllers.member = Shapes::ShapeRef.new(shape: DomainController)
639
741
 
742
+ EnableLDAPSRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "DirectoryId"))
743
+ EnableLDAPSRequest.add_member(:type, Shapes::ShapeRef.new(shape: LDAPSType, location_name: "Type"))
744
+ EnableLDAPSRequest.struct_class = Types::EnableLDAPSRequest
745
+
746
+ EnableLDAPSResult.struct_class = Types::EnableLDAPSResult
747
+
640
748
  EnableRadiusRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "DirectoryId"))
641
749
  EnableRadiusRequest.add_member(:radius_settings, Shapes::ShapeRef.new(shape: RadiusSettings, required: true, location_name: "RadiusSettings"))
642
750
  EnableRadiusRequest.struct_class = Types::EnableRadiusRequest
@@ -682,6 +790,14 @@ module Aws::DirectoryService
682
790
  InsufficientPermissionsException.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "RequestId"))
683
791
  InsufficientPermissionsException.struct_class = Types::InsufficientPermissionsException
684
792
 
793
+ InvalidCertificateException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
794
+ InvalidCertificateException.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "RequestId"))
795
+ InvalidCertificateException.struct_class = Types::InvalidCertificateException
796
+
797
+ InvalidLDAPSStatusException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
798
+ InvalidLDAPSStatusException.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "RequestId"))
799
+ InvalidLDAPSStatusException.struct_class = Types::InvalidLDAPSStatusException
800
+
685
801
  InvalidNextTokenException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
686
802
  InvalidNextTokenException.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "RequestId"))
687
803
  InvalidNextTokenException.struct_class = Types::InvalidNextTokenException
@@ -720,6 +836,22 @@ module Aws::DirectoryService
720
836
 
721
837
  IpRoutesInfo.member = Shapes::ShapeRef.new(shape: IpRouteInfo)
722
838
 
839
+ LDAPSSettingInfo.add_member(:ldaps_status, Shapes::ShapeRef.new(shape: LDAPSStatus, location_name: "LDAPSStatus"))
840
+ LDAPSSettingInfo.add_member(:ldaps_status_reason, Shapes::ShapeRef.new(shape: LDAPSStatusReason, location_name: "LDAPSStatusReason"))
841
+ LDAPSSettingInfo.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: LastUpdatedDateTime, location_name: "LastUpdatedDateTime"))
842
+ LDAPSSettingInfo.struct_class = Types::LDAPSSettingInfo
843
+
844
+ LDAPSSettingsInfo.member = Shapes::ShapeRef.new(shape: LDAPSSettingInfo)
845
+
846
+ ListCertificatesRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "DirectoryId"))
847
+ ListCertificatesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
848
+ ListCertificatesRequest.add_member(:limit, Shapes::ShapeRef.new(shape: PageLimit, location_name: "Limit"))
849
+ ListCertificatesRequest.struct_class = Types::ListCertificatesRequest
850
+
851
+ ListCertificatesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
852
+ ListCertificatesResult.add_member(:certificates_info, Shapes::ShapeRef.new(shape: CertificatesInfo, location_name: "CertificatesInfo"))
853
+ ListCertificatesResult.struct_class = Types::ListCertificatesResult
854
+
723
855
  ListIpRoutesRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "DirectoryId"))
724
856
  ListIpRoutesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
725
857
  ListIpRoutesRequest.add_member(:limit, Shapes::ShapeRef.new(shape: Limit, location_name: "Limit"))
@@ -763,6 +895,10 @@ module Aws::DirectoryService
763
895
 
764
896
  LogSubscriptions.member = Shapes::ShapeRef.new(shape: LogSubscription)
765
897
 
898
+ NoAvailableCertificateException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
899
+ NoAvailableCertificateException.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "RequestId"))
900
+ NoAvailableCertificateException.struct_class = Types::NoAvailableCertificateException
901
+
766
902
  OrganizationsException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
767
903
  OrganizationsException.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "RequestId"))
768
904
  OrganizationsException.struct_class = Types::OrganizationsException
@@ -785,6 +921,13 @@ module Aws::DirectoryService
785
921
  RadiusSettings.add_member(:use_same_username, Shapes::ShapeRef.new(shape: UseSameUsername, location_name: "UseSameUsername"))
786
922
  RadiusSettings.struct_class = Types::RadiusSettings
787
923
 
924
+ RegisterCertificateRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "DirectoryId"))
925
+ RegisterCertificateRequest.add_member(:certificate_data, Shapes::ShapeRef.new(shape: CertificateData, required: true, location_name: "CertificateData"))
926
+ RegisterCertificateRequest.struct_class = Types::RegisterCertificateRequest
927
+
928
+ RegisterCertificateResult.add_member(:certificate_id, Shapes::ShapeRef.new(shape: CertificateId, location_name: "CertificateId"))
929
+ RegisterCertificateResult.struct_class = Types::RegisterCertificateResult
930
+
788
931
  RegisterEventTopicRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "DirectoryId"))
789
932
  RegisterEventTopicRequest.add_member(:topic_name, Shapes::ShapeRef.new(shape: TopicName, required: true, location_name: "TopicName"))
790
933
  RegisterEventTopicRequest.struct_class = Types::RegisterEventTopicRequest
@@ -1240,6 +1383,22 @@ module Aws::DirectoryService
1240
1383
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
1241
1384
  end)
1242
1385
 
1386
+ api.add_operation(:deregister_certificate, Seahorse::Model::Operation.new.tap do |o|
1387
+ o.name = "DeregisterCertificate"
1388
+ o.http_method = "POST"
1389
+ o.http_request_uri = "/"
1390
+ o.input = Shapes::ShapeRef.new(shape: DeregisterCertificateRequest)
1391
+ o.output = Shapes::ShapeRef.new(shape: DeregisterCertificateResult)
1392
+ o.errors << Shapes::ShapeRef.new(shape: DirectoryUnavailableException)
1393
+ o.errors << Shapes::ShapeRef.new(shape: DirectoryDoesNotExistException)
1394
+ o.errors << Shapes::ShapeRef.new(shape: CertificateDoesNotExistException)
1395
+ o.errors << Shapes::ShapeRef.new(shape: CertificateInUseException)
1396
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
1397
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1398
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
1399
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1400
+ end)
1401
+
1243
1402
  api.add_operation(:deregister_event_topic, Seahorse::Model::Operation.new.tap do |o|
1244
1403
  o.name = "DeregisterEventTopic"
1245
1404
  o.http_method = "POST"
@@ -1252,6 +1411,20 @@ module Aws::DirectoryService
1252
1411
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1253
1412
  end)
1254
1413
 
1414
+ api.add_operation(:describe_certificate, Seahorse::Model::Operation.new.tap do |o|
1415
+ o.name = "DescribeCertificate"
1416
+ o.http_method = "POST"
1417
+ o.http_request_uri = "/"
1418
+ o.input = Shapes::ShapeRef.new(shape: DescribeCertificateRequest)
1419
+ o.output = Shapes::ShapeRef.new(shape: DescribeCertificateResult)
1420
+ o.errors << Shapes::ShapeRef.new(shape: DirectoryDoesNotExistException)
1421
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
1422
+ o.errors << Shapes::ShapeRef.new(shape: CertificateDoesNotExistException)
1423
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1424
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
1425
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1426
+ end)
1427
+
1255
1428
  api.add_operation(:describe_conditional_forwarders, Seahorse::Model::Operation.new.tap do |o|
1256
1429
  o.name = "DescribeConditionalForwarders"
1257
1430
  o.http_method = "POST"
@@ -1311,6 +1484,20 @@ module Aws::DirectoryService
1311
1484
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1312
1485
  end)
1313
1486
 
1487
+ api.add_operation(:describe_ldaps_settings, Seahorse::Model::Operation.new.tap do |o|
1488
+ o.name = "DescribeLDAPSSettings"
1489
+ o.http_method = "POST"
1490
+ o.http_request_uri = "/"
1491
+ o.input = Shapes::ShapeRef.new(shape: DescribeLDAPSSettingsRequest)
1492
+ o.output = Shapes::ShapeRef.new(shape: DescribeLDAPSSettingsResult)
1493
+ o.errors << Shapes::ShapeRef.new(shape: DirectoryDoesNotExistException)
1494
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
1495
+ o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
1496
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1497
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
1498
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1499
+ end)
1500
+
1314
1501
  api.add_operation(:describe_shared_directories, Seahorse::Model::Operation.new.tap do |o|
1315
1502
  o.name = "DescribeSharedDirectories"
1316
1503
  o.http_method = "POST"
@@ -1352,6 +1539,21 @@ module Aws::DirectoryService
1352
1539
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
1353
1540
  end)
1354
1541
 
1542
+ api.add_operation(:disable_ldaps, Seahorse::Model::Operation.new.tap do |o|
1543
+ o.name = "DisableLDAPS"
1544
+ o.http_method = "POST"
1545
+ o.http_request_uri = "/"
1546
+ o.input = Shapes::ShapeRef.new(shape: DisableLDAPSRequest)
1547
+ o.output = Shapes::ShapeRef.new(shape: DisableLDAPSResult)
1548
+ o.errors << Shapes::ShapeRef.new(shape: DirectoryUnavailableException)
1549
+ o.errors << Shapes::ShapeRef.new(shape: DirectoryDoesNotExistException)
1550
+ o.errors << Shapes::ShapeRef.new(shape: InvalidLDAPSStatusException)
1551
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
1552
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1553
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
1554
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1555
+ end)
1556
+
1355
1557
  api.add_operation(:disable_radius, Seahorse::Model::Operation.new.tap do |o|
1356
1558
  o.name = "DisableRadius"
1357
1559
  o.http_method = "POST"
@@ -1376,6 +1578,22 @@ module Aws::DirectoryService
1376
1578
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1377
1579
  end)
1378
1580
 
1581
+ api.add_operation(:enable_ldaps, Seahorse::Model::Operation.new.tap do |o|
1582
+ o.name = "EnableLDAPS"
1583
+ o.http_method = "POST"
1584
+ o.http_request_uri = "/"
1585
+ o.input = Shapes::ShapeRef.new(shape: EnableLDAPSRequest)
1586
+ o.output = Shapes::ShapeRef.new(shape: EnableLDAPSResult)
1587
+ o.errors << Shapes::ShapeRef.new(shape: DirectoryUnavailableException)
1588
+ o.errors << Shapes::ShapeRef.new(shape: DirectoryDoesNotExistException)
1589
+ o.errors << Shapes::ShapeRef.new(shape: NoAvailableCertificateException)
1590
+ o.errors << Shapes::ShapeRef.new(shape: InvalidLDAPSStatusException)
1591
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
1592
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1593
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
1594
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1595
+ end)
1596
+
1379
1597
  api.add_operation(:enable_radius, Seahorse::Model::Operation.new.tap do |o|
1380
1598
  o.name = "EnableRadius"
1381
1599
  o.http_method = "POST"
@@ -1424,6 +1642,20 @@ module Aws::DirectoryService
1424
1642
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1425
1643
  end)
1426
1644
 
1645
+ api.add_operation(:list_certificates, Seahorse::Model::Operation.new.tap do |o|
1646
+ o.name = "ListCertificates"
1647
+ o.http_method = "POST"
1648
+ o.http_request_uri = "/"
1649
+ o.input = Shapes::ShapeRef.new(shape: ListCertificatesRequest)
1650
+ o.output = Shapes::ShapeRef.new(shape: ListCertificatesResult)
1651
+ o.errors << Shapes::ShapeRef.new(shape: DirectoryDoesNotExistException)
1652
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
1653
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1654
+ o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
1655
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
1656
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1657
+ end)
1658
+
1427
1659
  api.add_operation(:list_ip_routes, Seahorse::Model::Operation.new.tap do |o|
1428
1660
  o.name = "ListIpRoutes"
1429
1661
  o.http_method = "POST"
@@ -1474,6 +1706,23 @@ module Aws::DirectoryService
1474
1706
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1475
1707
  end)
1476
1708
 
1709
+ api.add_operation(:register_certificate, Seahorse::Model::Operation.new.tap do |o|
1710
+ o.name = "RegisterCertificate"
1711
+ o.http_method = "POST"
1712
+ o.http_request_uri = "/"
1713
+ o.input = Shapes::ShapeRef.new(shape: RegisterCertificateRequest)
1714
+ o.output = Shapes::ShapeRef.new(shape: RegisterCertificateResult)
1715
+ o.errors << Shapes::ShapeRef.new(shape: DirectoryUnavailableException)
1716
+ o.errors << Shapes::ShapeRef.new(shape: DirectoryDoesNotExistException)
1717
+ o.errors << Shapes::ShapeRef.new(shape: InvalidCertificateException)
1718
+ o.errors << Shapes::ShapeRef.new(shape: CertificateLimitExceededException)
1719
+ o.errors << Shapes::ShapeRef.new(shape: CertificateAlreadyExistsException)
1720
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
1721
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1722
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
1723
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1724
+ end)
1725
+
1477
1726
  api.add_operation(:register_event_topic, Seahorse::Model::Operation.new.tap do |o|
1478
1727
  o.name = "RegisterEventTopic"
1479
1728
  o.http_method = "POST"
@@ -52,6 +52,90 @@ module Aws::DirectoryService
52
52
 
53
53
  end
54
54
 
55
+ class CertificateAlreadyExistsException < ServiceError
56
+
57
+ # @param [Seahorse::Client::RequestContext] context
58
+ # @param [String] message
59
+ # @param [Aws::DirectoryService::Types::CertificateAlreadyExistsException] data
60
+ def initialize(context, message, data = Aws::EmptyStructure.new)
61
+ super(context, message, data)
62
+ end
63
+
64
+ # @return [String]
65
+ def message
66
+ @message || @data[:message]
67
+ end
68
+
69
+ # @return [String]
70
+ def request_id
71
+ @data[:request_id]
72
+ end
73
+
74
+ end
75
+
76
+ class CertificateDoesNotExistException < ServiceError
77
+
78
+ # @param [Seahorse::Client::RequestContext] context
79
+ # @param [String] message
80
+ # @param [Aws::DirectoryService::Types::CertificateDoesNotExistException] data
81
+ def initialize(context, message, data = Aws::EmptyStructure.new)
82
+ super(context, message, data)
83
+ end
84
+
85
+ # @return [String]
86
+ def message
87
+ @message || @data[:message]
88
+ end
89
+
90
+ # @return [String]
91
+ def request_id
92
+ @data[:request_id]
93
+ end
94
+
95
+ end
96
+
97
+ class CertificateInUseException < ServiceError
98
+
99
+ # @param [Seahorse::Client::RequestContext] context
100
+ # @param [String] message
101
+ # @param [Aws::DirectoryService::Types::CertificateInUseException] data
102
+ def initialize(context, message, data = Aws::EmptyStructure.new)
103
+ super(context, message, data)
104
+ end
105
+
106
+ # @return [String]
107
+ def message
108
+ @message || @data[:message]
109
+ end
110
+
111
+ # @return [String]
112
+ def request_id
113
+ @data[:request_id]
114
+ end
115
+
116
+ end
117
+
118
+ class CertificateLimitExceededException < ServiceError
119
+
120
+ # @param [Seahorse::Client::RequestContext] context
121
+ # @param [String] message
122
+ # @param [Aws::DirectoryService::Types::CertificateLimitExceededException] data
123
+ def initialize(context, message, data = Aws::EmptyStructure.new)
124
+ super(context, message, data)
125
+ end
126
+
127
+ # @return [String]
128
+ def message
129
+ @message || @data[:message]
130
+ end
131
+
132
+ # @return [String]
133
+ def request_id
134
+ @data[:request_id]
135
+ end
136
+
137
+ end
138
+
55
139
  class ClientException < ServiceError
56
140
 
57
141
  # @param [Seahorse::Client::RequestContext] context
@@ -94,6 +178,27 @@ module Aws::DirectoryService
94
178
 
95
179
  end
96
180
 
181
+ class DirectoryDoesNotExistException < ServiceError
182
+
183
+ # @param [Seahorse::Client::RequestContext] context
184
+ # @param [String] message
185
+ # @param [Aws::DirectoryService::Types::DirectoryDoesNotExistException] data
186
+ def initialize(context, message, data = Aws::EmptyStructure.new)
187
+ super(context, message, data)
188
+ end
189
+
190
+ # @return [String]
191
+ def message
192
+ @message || @data[:message]
193
+ end
194
+
195
+ # @return [String]
196
+ def request_id
197
+ @data[:request_id]
198
+ end
199
+
200
+ end
201
+
97
202
  class DirectoryLimitExceededException < ServiceError
98
203
 
99
204
  # @param [Seahorse::Client::RequestContext] context
@@ -241,6 +346,48 @@ module Aws::DirectoryService
241
346
 
242
347
  end
243
348
 
349
+ class InvalidCertificateException < ServiceError
350
+
351
+ # @param [Seahorse::Client::RequestContext] context
352
+ # @param [String] message
353
+ # @param [Aws::DirectoryService::Types::InvalidCertificateException] data
354
+ def initialize(context, message, data = Aws::EmptyStructure.new)
355
+ super(context, message, data)
356
+ end
357
+
358
+ # @return [String]
359
+ def message
360
+ @message || @data[:message]
361
+ end
362
+
363
+ # @return [String]
364
+ def request_id
365
+ @data[:request_id]
366
+ end
367
+
368
+ end
369
+
370
+ class InvalidLDAPSStatusException < ServiceError
371
+
372
+ # @param [Seahorse::Client::RequestContext] context
373
+ # @param [String] message
374
+ # @param [Aws::DirectoryService::Types::InvalidLDAPSStatusException] data
375
+ def initialize(context, message, data = Aws::EmptyStructure.new)
376
+ super(context, message, data)
377
+ end
378
+
379
+ # @return [String]
380
+ def message
381
+ @message || @data[:message]
382
+ end
383
+
384
+ # @return [String]
385
+ def request_id
386
+ @data[:request_id]
387
+ end
388
+
389
+ end
390
+
244
391
  class InvalidNextTokenException < ServiceError
245
392
 
246
393
  # @param [Seahorse::Client::RequestContext] context
@@ -346,6 +493,27 @@ module Aws::DirectoryService
346
493
 
347
494
  end
348
495
 
496
+ class NoAvailableCertificateException < ServiceError
497
+
498
+ # @param [Seahorse::Client::RequestContext] context
499
+ # @param [String] message
500
+ # @param [Aws::DirectoryService::Types::NoAvailableCertificateException] data
501
+ def initialize(context, message, data = Aws::EmptyStructure.new)
502
+ super(context, message, data)
503
+ end
504
+
505
+ # @return [String]
506
+ def message
507
+ @message || @data[:message]
508
+ end
509
+
510
+ # @return [String]
511
+ def request_id
512
+ @data[:request_id]
513
+ end
514
+
515
+ end
516
+
349
517
  class OrganizationsException < ServiceError
350
518
 
351
519
  # @param [Seahorse::Client::RequestContext] context