aws-sdk-directoryservice 1.49.0 → 1.51.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.
@@ -81,6 +81,7 @@ module Aws::DirectoryService
81
81
  CreateMicrosoftADRequest = Shapes::StructureShape.new(name: 'CreateMicrosoftADRequest')
82
82
  CreateMicrosoftADResult = Shapes::StructureShape.new(name: 'CreateMicrosoftADResult')
83
83
  CreateSnapshotBeforeSchemaExtension = Shapes::BooleanShape.new(name: 'CreateSnapshotBeforeSchemaExtension')
84
+ CreateSnapshotBeforeUpdate = Shapes::BooleanShape.new(name: 'CreateSnapshotBeforeUpdate')
84
85
  CreateSnapshotRequest = Shapes::StructureShape.new(name: 'CreateSnapshotRequest')
85
86
  CreateSnapshotResult = Shapes::StructureShape.new(name: 'CreateSnapshotResult')
86
87
  CreateTrustRequest = Shapes::StructureShape.new(name: 'CreateTrustRequest')
@@ -119,16 +120,29 @@ module Aws::DirectoryService
119
120
  DescribeLDAPSSettingsResult = Shapes::StructureShape.new(name: 'DescribeLDAPSSettingsResult')
120
121
  DescribeRegionsRequest = Shapes::StructureShape.new(name: 'DescribeRegionsRequest')
121
122
  DescribeRegionsResult = Shapes::StructureShape.new(name: 'DescribeRegionsResult')
123
+ DescribeSettingsRequest = Shapes::StructureShape.new(name: 'DescribeSettingsRequest')
124
+ DescribeSettingsResult = Shapes::StructureShape.new(name: 'DescribeSettingsResult')
122
125
  DescribeSharedDirectoriesRequest = Shapes::StructureShape.new(name: 'DescribeSharedDirectoriesRequest')
123
126
  DescribeSharedDirectoriesResult = Shapes::StructureShape.new(name: 'DescribeSharedDirectoriesResult')
124
127
  DescribeSnapshotsRequest = Shapes::StructureShape.new(name: 'DescribeSnapshotsRequest')
125
128
  DescribeSnapshotsResult = Shapes::StructureShape.new(name: 'DescribeSnapshotsResult')
126
129
  DescribeTrustsRequest = Shapes::StructureShape.new(name: 'DescribeTrustsRequest')
127
130
  DescribeTrustsResult = Shapes::StructureShape.new(name: 'DescribeTrustsResult')
131
+ DescribeUpdateDirectoryRequest = Shapes::StructureShape.new(name: 'DescribeUpdateDirectoryRequest')
132
+ DescribeUpdateDirectoryResult = Shapes::StructureShape.new(name: 'DescribeUpdateDirectoryResult')
128
133
  Description = Shapes::StringShape.new(name: 'Description')
129
134
  DesiredNumberOfDomainControllers = Shapes::IntegerShape.new(name: 'DesiredNumberOfDomainControllers')
130
135
  DirectoryAlreadyInRegionException = Shapes::StructureShape.new(name: 'DirectoryAlreadyInRegionException')
131
136
  DirectoryAlreadySharedException = Shapes::StructureShape.new(name: 'DirectoryAlreadySharedException')
137
+ DirectoryConfigurationSettingAllowedValues = Shapes::StringShape.new(name: 'DirectoryConfigurationSettingAllowedValues')
138
+ DirectoryConfigurationSettingLastRequestedDateTime = Shapes::TimestampShape.new(name: 'DirectoryConfigurationSettingLastRequestedDateTime')
139
+ DirectoryConfigurationSettingLastUpdatedDateTime = Shapes::TimestampShape.new(name: 'DirectoryConfigurationSettingLastUpdatedDateTime')
140
+ DirectoryConfigurationSettingName = Shapes::StringShape.new(name: 'DirectoryConfigurationSettingName')
141
+ DirectoryConfigurationSettingRequestDetailedStatus = Shapes::MapShape.new(name: 'DirectoryConfigurationSettingRequestDetailedStatus')
142
+ DirectoryConfigurationSettingRequestStatusMessage = Shapes::StringShape.new(name: 'DirectoryConfigurationSettingRequestStatusMessage')
143
+ DirectoryConfigurationSettingType = Shapes::StringShape.new(name: 'DirectoryConfigurationSettingType')
144
+ DirectoryConfigurationSettingValue = Shapes::StringShape.new(name: 'DirectoryConfigurationSettingValue')
145
+ DirectoryConfigurationStatus = Shapes::StringShape.new(name: 'DirectoryConfigurationStatus')
132
146
  DirectoryConnectSettings = Shapes::StructureShape.new(name: 'DirectoryConnectSettings')
133
147
  DirectoryConnectSettingsDescription = Shapes::StructureShape.new(name: 'DirectoryConnectSettingsDescription')
134
148
  DirectoryDescription = Shapes::StructureShape.new(name: 'DirectoryDescription')
@@ -137,6 +151,7 @@ module Aws::DirectoryService
137
151
  DirectoryEdition = Shapes::StringShape.new(name: 'DirectoryEdition')
138
152
  DirectoryId = Shapes::StringShape.new(name: 'DirectoryId')
139
153
  DirectoryIds = Shapes::ListShape.new(name: 'DirectoryIds')
154
+ DirectoryInDesiredStateException = Shapes::StructureShape.new(name: 'DirectoryInDesiredStateException')
140
155
  DirectoryLimitExceededException = Shapes::StructureShape.new(name: 'DirectoryLimitExceededException')
141
156
  DirectoryLimits = Shapes::StructureShape.new(name: 'DirectoryLimits')
142
157
  DirectoryName = Shapes::StringShape.new(name: 'DirectoryName')
@@ -182,6 +197,8 @@ module Aws::DirectoryService
182
197
  GetDirectoryLimitsResult = Shapes::StructureShape.new(name: 'GetDirectoryLimitsResult')
183
198
  GetSnapshotLimitsRequest = Shapes::StructureShape.new(name: 'GetSnapshotLimitsRequest')
184
199
  GetSnapshotLimitsResult = Shapes::StructureShape.new(name: 'GetSnapshotLimitsResult')
200
+ IncompatibleSettingsException = Shapes::StructureShape.new(name: 'IncompatibleSettingsException')
201
+ InitiatedBy = Shapes::StringShape.new(name: 'InitiatedBy')
185
202
  InsufficientPermissionsException = Shapes::StructureShape.new(name: 'InsufficientPermissionsException')
186
203
  InvalidCertificateException = Shapes::StructureShape.new(name: 'InvalidCertificateException')
187
204
  InvalidClientAuthStatusException = Shapes::StructureShape.new(name: 'InvalidClientAuthStatusException')
@@ -226,6 +243,8 @@ module Aws::DirectoryService
226
243
  NoAvailableCertificateException = Shapes::StructureShape.new(name: 'NoAvailableCertificateException')
227
244
  Notes = Shapes::StringShape.new(name: 'Notes')
228
245
  OCSPUrl = Shapes::StringShape.new(name: 'OCSPUrl')
246
+ OSUpdateSettings = Shapes::StructureShape.new(name: 'OSUpdateSettings')
247
+ OSVersion = Shapes::StringShape.new(name: 'OSVersion')
229
248
  OrganizationalUnitDN = Shapes::StringShape.new(name: 'OrganizationalUnitDN')
230
249
  OrganizationsException = Shapes::StructureShape.new(name: 'OrganizationsException')
231
250
  OwnerDirectoryDescription = Shapes::StructureShape.new(name: 'OwnerDirectoryDescription')
@@ -277,6 +296,10 @@ module Aws::DirectoryService
277
296
  Server = Shapes::StringShape.new(name: 'Server')
278
297
  Servers = Shapes::ListShape.new(name: 'Servers')
279
298
  ServiceException = Shapes::StructureShape.new(name: 'ServiceException')
299
+ Setting = Shapes::StructureShape.new(name: 'Setting')
300
+ SettingEntries = Shapes::ListShape.new(name: 'SettingEntries')
301
+ SettingEntry = Shapes::StructureShape.new(name: 'SettingEntry')
302
+ Settings = Shapes::ListShape.new(name: 'Settings')
280
303
  ShareDirectoryRequest = Shapes::StructureShape.new(name: 'ShareDirectoryRequest')
281
304
  ShareDirectoryResult = Shapes::StructureShape.new(name: 'ShareDirectoryResult')
282
305
  ShareLimitExceededException = Shapes::StructureShape.new(name: 'ShareLimitExceededException')
@@ -329,15 +352,26 @@ module Aws::DirectoryService
329
352
  UnshareDirectoryResult = Shapes::StructureShape.new(name: 'UnshareDirectoryResult')
330
353
  UnshareTarget = Shapes::StructureShape.new(name: 'UnshareTarget')
331
354
  UnsupportedOperationException = Shapes::StructureShape.new(name: 'UnsupportedOperationException')
355
+ UnsupportedSettingsException = Shapes::StructureShape.new(name: 'UnsupportedSettingsException')
356
+ UpdateActivities = Shapes::ListShape.new(name: 'UpdateActivities')
332
357
  UpdateConditionalForwarderRequest = Shapes::StructureShape.new(name: 'UpdateConditionalForwarderRequest')
333
358
  UpdateConditionalForwarderResult = Shapes::StructureShape.new(name: 'UpdateConditionalForwarderResult')
359
+ UpdateDirectorySetupRequest = Shapes::StructureShape.new(name: 'UpdateDirectorySetupRequest')
360
+ UpdateDirectorySetupResult = Shapes::StructureShape.new(name: 'UpdateDirectorySetupResult')
361
+ UpdateInfoEntry = Shapes::StructureShape.new(name: 'UpdateInfoEntry')
334
362
  UpdateNumberOfDomainControllersRequest = Shapes::StructureShape.new(name: 'UpdateNumberOfDomainControllersRequest')
335
363
  UpdateNumberOfDomainControllersResult = Shapes::StructureShape.new(name: 'UpdateNumberOfDomainControllersResult')
336
364
  UpdateRadiusRequest = Shapes::StructureShape.new(name: 'UpdateRadiusRequest')
337
365
  UpdateRadiusResult = Shapes::StructureShape.new(name: 'UpdateRadiusResult')
338
366
  UpdateSecurityGroupForDirectoryControllers = Shapes::BooleanShape.new(name: 'UpdateSecurityGroupForDirectoryControllers')
367
+ UpdateSettingsRequest = Shapes::StructureShape.new(name: 'UpdateSettingsRequest')
368
+ UpdateSettingsResult = Shapes::StructureShape.new(name: 'UpdateSettingsResult')
369
+ UpdateStatus = Shapes::StringShape.new(name: 'UpdateStatus')
370
+ UpdateStatusReason = Shapes::StringShape.new(name: 'UpdateStatusReason')
339
371
  UpdateTrustRequest = Shapes::StructureShape.new(name: 'UpdateTrustRequest')
340
372
  UpdateTrustResult = Shapes::StructureShape.new(name: 'UpdateTrustResult')
373
+ UpdateType = Shapes::StringShape.new(name: 'UpdateType')
374
+ UpdateValue = Shapes::StructureShape.new(name: 'UpdateValue')
341
375
  UseSameUsername = Shapes::BooleanShape.new(name: 'UseSameUsername')
342
376
  UserDoesNotExistException = Shapes::StructureShape.new(name: 'UserDoesNotExistException')
343
377
  UserName = Shapes::StringShape.new(name: 'UserName')
@@ -656,6 +690,16 @@ module Aws::DirectoryService
656
690
  DescribeRegionsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
657
691
  DescribeRegionsResult.struct_class = Types::DescribeRegionsResult
658
692
 
693
+ DescribeSettingsRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "DirectoryId"))
694
+ DescribeSettingsRequest.add_member(:status, Shapes::ShapeRef.new(shape: DirectoryConfigurationStatus, location_name: "Status"))
695
+ DescribeSettingsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
696
+ DescribeSettingsRequest.struct_class = Types::DescribeSettingsRequest
697
+
698
+ DescribeSettingsResult.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, location_name: "DirectoryId"))
699
+ DescribeSettingsResult.add_member(:setting_entries, Shapes::ShapeRef.new(shape: SettingEntries, location_name: "SettingEntries"))
700
+ DescribeSettingsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
701
+ DescribeSettingsResult.struct_class = Types::DescribeSettingsResult
702
+
659
703
  DescribeSharedDirectoriesRequest.add_member(:owner_directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "OwnerDirectoryId"))
660
704
  DescribeSharedDirectoriesRequest.add_member(:shared_directory_ids, Shapes::ShapeRef.new(shape: DirectoryIds, location_name: "SharedDirectoryIds"))
661
705
  DescribeSharedDirectoriesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
@@ -686,6 +730,16 @@ module Aws::DirectoryService
686
730
  DescribeTrustsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
687
731
  DescribeTrustsResult.struct_class = Types::DescribeTrustsResult
688
732
 
733
+ DescribeUpdateDirectoryRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "DirectoryId"))
734
+ DescribeUpdateDirectoryRequest.add_member(:update_type, Shapes::ShapeRef.new(shape: UpdateType, required: true, location_name: "UpdateType"))
735
+ DescribeUpdateDirectoryRequest.add_member(:region_name, Shapes::ShapeRef.new(shape: RegionName, location_name: "RegionName"))
736
+ DescribeUpdateDirectoryRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
737
+ DescribeUpdateDirectoryRequest.struct_class = Types::DescribeUpdateDirectoryRequest
738
+
739
+ DescribeUpdateDirectoryResult.add_member(:update_activities, Shapes::ShapeRef.new(shape: UpdateActivities, location_name: "UpdateActivities"))
740
+ DescribeUpdateDirectoryResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
741
+ DescribeUpdateDirectoryResult.struct_class = Types::DescribeUpdateDirectoryResult
742
+
689
743
  DirectoryAlreadyInRegionException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
690
744
  DirectoryAlreadyInRegionException.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "RequestId"))
691
745
  DirectoryAlreadyInRegionException.struct_class = Types::DirectoryAlreadyInRegionException
@@ -694,6 +748,9 @@ module Aws::DirectoryService
694
748
  DirectoryAlreadySharedException.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "RequestId"))
695
749
  DirectoryAlreadySharedException.struct_class = Types::DirectoryAlreadySharedException
696
750
 
751
+ DirectoryConfigurationSettingRequestDetailedStatus.key = Shapes::ShapeRef.new(shape: RegionName)
752
+ DirectoryConfigurationSettingRequestDetailedStatus.value = Shapes::ShapeRef.new(shape: DirectoryConfigurationStatus)
753
+
697
754
  DirectoryConnectSettings.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, required: true, location_name: "VpcId"))
698
755
  DirectoryConnectSettings.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIds, required: true, location_name: "SubnetIds"))
699
756
  DirectoryConnectSettings.add_member(:customer_dns_ips, Shapes::ShapeRef.new(shape: DnsIpAddrs, required: true, location_name: "CustomerDnsIps"))
@@ -733,6 +790,7 @@ module Aws::DirectoryService
733
790
  DirectoryDescription.add_member(:desired_number_of_domain_controllers, Shapes::ShapeRef.new(shape: DesiredNumberOfDomainControllers, location_name: "DesiredNumberOfDomainControllers"))
734
791
  DirectoryDescription.add_member(:owner_directory_description, Shapes::ShapeRef.new(shape: OwnerDirectoryDescription, location_name: "OwnerDirectoryDescription"))
735
792
  DirectoryDescription.add_member(:regions_info, Shapes::ShapeRef.new(shape: RegionsInfo, location_name: "RegionsInfo"))
793
+ DirectoryDescription.add_member(:os_version, Shapes::ShapeRef.new(shape: OSVersion, location_name: "OsVersion"))
736
794
  DirectoryDescription.struct_class = Types::DirectoryDescription
737
795
 
738
796
  DirectoryDescriptions.member = Shapes::ShapeRef.new(shape: DirectoryDescription)
@@ -743,6 +801,10 @@ module Aws::DirectoryService
743
801
 
744
802
  DirectoryIds.member = Shapes::ShapeRef.new(shape: DirectoryId)
745
803
 
804
+ DirectoryInDesiredStateException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
805
+ DirectoryInDesiredStateException.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "RequestId"))
806
+ DirectoryInDesiredStateException.struct_class = Types::DirectoryInDesiredStateException
807
+
746
808
  DirectoryLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
747
809
  DirectoryLimitExceededException.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "RequestId"))
748
810
  DirectoryLimitExceededException.struct_class = Types::DirectoryLimitExceededException
@@ -875,6 +937,10 @@ module Aws::DirectoryService
875
937
  GetSnapshotLimitsResult.add_member(:snapshot_limits, Shapes::ShapeRef.new(shape: SnapshotLimits, location_name: "SnapshotLimits"))
876
938
  GetSnapshotLimitsResult.struct_class = Types::GetSnapshotLimitsResult
877
939
 
940
+ IncompatibleSettingsException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
941
+ IncompatibleSettingsException.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "RequestId"))
942
+ IncompatibleSettingsException.struct_class = Types::IncompatibleSettingsException
943
+
878
944
  InsufficientPermissionsException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
879
945
  InsufficientPermissionsException.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "RequestId"))
880
946
  InsufficientPermissionsException.struct_class = Types::InsufficientPermissionsException
@@ -992,6 +1058,9 @@ module Aws::DirectoryService
992
1058
  NoAvailableCertificateException.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "RequestId"))
993
1059
  NoAvailableCertificateException.struct_class = Types::NoAvailableCertificateException
994
1060
 
1061
+ OSUpdateSettings.add_member(:os_version, Shapes::ShapeRef.new(shape: OSVersion, location_name: "OSVersion"))
1062
+ OSUpdateSettings.struct_class = Types::OSUpdateSettings
1063
+
995
1064
  OrganizationsException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
996
1065
  OrganizationsException.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "RequestId"))
997
1066
  OrganizationsException.struct_class = Types::OrganizationsException
@@ -1104,6 +1173,26 @@ module Aws::DirectoryService
1104
1173
  ServiceException.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "RequestId"))
1105
1174
  ServiceException.struct_class = Types::ServiceException
1106
1175
 
1176
+ Setting.add_member(:name, Shapes::ShapeRef.new(shape: DirectoryConfigurationSettingName, required: true, location_name: "Name"))
1177
+ Setting.add_member(:value, Shapes::ShapeRef.new(shape: DirectoryConfigurationSettingValue, required: true, location_name: "Value"))
1178
+ Setting.struct_class = Types::Setting
1179
+
1180
+ SettingEntries.member = Shapes::ShapeRef.new(shape: SettingEntry)
1181
+
1182
+ SettingEntry.add_member(:type, Shapes::ShapeRef.new(shape: DirectoryConfigurationSettingType, location_name: "Type"))
1183
+ SettingEntry.add_member(:name, Shapes::ShapeRef.new(shape: DirectoryConfigurationSettingName, location_name: "Name"))
1184
+ SettingEntry.add_member(:allowed_values, Shapes::ShapeRef.new(shape: DirectoryConfigurationSettingAllowedValues, location_name: "AllowedValues"))
1185
+ SettingEntry.add_member(:applied_value, Shapes::ShapeRef.new(shape: DirectoryConfigurationSettingValue, location_name: "AppliedValue"))
1186
+ SettingEntry.add_member(:requested_value, Shapes::ShapeRef.new(shape: DirectoryConfigurationSettingValue, location_name: "RequestedValue"))
1187
+ SettingEntry.add_member(:request_status, Shapes::ShapeRef.new(shape: DirectoryConfigurationStatus, location_name: "RequestStatus"))
1188
+ SettingEntry.add_member(:request_detailed_status, Shapes::ShapeRef.new(shape: DirectoryConfigurationSettingRequestDetailedStatus, location_name: "RequestDetailedStatus"))
1189
+ SettingEntry.add_member(:request_status_message, Shapes::ShapeRef.new(shape: DirectoryConfigurationSettingRequestStatusMessage, location_name: "RequestStatusMessage"))
1190
+ SettingEntry.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: DirectoryConfigurationSettingLastUpdatedDateTime, location_name: "LastUpdatedDateTime"))
1191
+ SettingEntry.add_member(:last_requested_date_time, Shapes::ShapeRef.new(shape: DirectoryConfigurationSettingLastRequestedDateTime, location_name: "LastRequestedDateTime"))
1192
+ SettingEntry.struct_class = Types::SettingEntry
1193
+
1194
+ Settings.member = Shapes::ShapeRef.new(shape: Setting)
1195
+
1107
1196
  ShareDirectoryRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "DirectoryId"))
1108
1197
  ShareDirectoryRequest.add_member(:share_notes, Shapes::ShapeRef.new(shape: Notes, location_name: "ShareNotes"))
1109
1198
  ShareDirectoryRequest.add_member(:share_target, Shapes::ShapeRef.new(shape: ShareTarget, required: true, location_name: "ShareTarget"))
@@ -1212,6 +1301,12 @@ module Aws::DirectoryService
1212
1301
  UnsupportedOperationException.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "RequestId"))
1213
1302
  UnsupportedOperationException.struct_class = Types::UnsupportedOperationException
1214
1303
 
1304
+ UnsupportedSettingsException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
1305
+ UnsupportedSettingsException.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "RequestId"))
1306
+ UnsupportedSettingsException.struct_class = Types::UnsupportedSettingsException
1307
+
1308
+ UpdateActivities.member = Shapes::ShapeRef.new(shape: UpdateInfoEntry)
1309
+
1215
1310
  UpdateConditionalForwarderRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "DirectoryId"))
1216
1311
  UpdateConditionalForwarderRequest.add_member(:remote_domain_name, Shapes::ShapeRef.new(shape: RemoteDomainName, required: true, location_name: "RemoteDomainName"))
1217
1312
  UpdateConditionalForwarderRequest.add_member(:dns_ip_addrs, Shapes::ShapeRef.new(shape: DnsIpAddrs, required: true, location_name: "DnsIpAddrs"))
@@ -1219,6 +1314,24 @@ module Aws::DirectoryService
1219
1314
 
1220
1315
  UpdateConditionalForwarderResult.struct_class = Types::UpdateConditionalForwarderResult
1221
1316
 
1317
+ UpdateDirectorySetupRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "DirectoryId"))
1318
+ UpdateDirectorySetupRequest.add_member(:update_type, Shapes::ShapeRef.new(shape: UpdateType, required: true, location_name: "UpdateType"))
1319
+ UpdateDirectorySetupRequest.add_member(:os_update_settings, Shapes::ShapeRef.new(shape: OSUpdateSettings, location_name: "OSUpdateSettings"))
1320
+ UpdateDirectorySetupRequest.add_member(:create_snapshot_before_update, Shapes::ShapeRef.new(shape: CreateSnapshotBeforeUpdate, location_name: "CreateSnapshotBeforeUpdate", metadata: {"box"=>true}))
1321
+ UpdateDirectorySetupRequest.struct_class = Types::UpdateDirectorySetupRequest
1322
+
1323
+ UpdateDirectorySetupResult.struct_class = Types::UpdateDirectorySetupResult
1324
+
1325
+ UpdateInfoEntry.add_member(:region, Shapes::ShapeRef.new(shape: RegionName, location_name: "Region"))
1326
+ UpdateInfoEntry.add_member(:status, Shapes::ShapeRef.new(shape: UpdateStatus, location_name: "Status"))
1327
+ UpdateInfoEntry.add_member(:status_reason, Shapes::ShapeRef.new(shape: UpdateStatusReason, location_name: "StatusReason"))
1328
+ UpdateInfoEntry.add_member(:initiated_by, Shapes::ShapeRef.new(shape: InitiatedBy, location_name: "InitiatedBy"))
1329
+ UpdateInfoEntry.add_member(:new_value, Shapes::ShapeRef.new(shape: UpdateValue, location_name: "NewValue"))
1330
+ UpdateInfoEntry.add_member(:previous_value, Shapes::ShapeRef.new(shape: UpdateValue, location_name: "PreviousValue"))
1331
+ UpdateInfoEntry.add_member(:start_time, Shapes::ShapeRef.new(shape: StartDateTime, location_name: "StartTime"))
1332
+ UpdateInfoEntry.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: LastUpdatedDateTime, location_name: "LastUpdatedDateTime"))
1333
+ UpdateInfoEntry.struct_class = Types::UpdateInfoEntry
1334
+
1222
1335
  UpdateNumberOfDomainControllersRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "DirectoryId"))
1223
1336
  UpdateNumberOfDomainControllersRequest.add_member(:desired_number, Shapes::ShapeRef.new(shape: DesiredNumberOfDomainControllers, required: true, location_name: "DesiredNumber"))
1224
1337
  UpdateNumberOfDomainControllersRequest.struct_class = Types::UpdateNumberOfDomainControllersRequest
@@ -1231,6 +1344,13 @@ module Aws::DirectoryService
1231
1344
 
1232
1345
  UpdateRadiusResult.struct_class = Types::UpdateRadiusResult
1233
1346
 
1347
+ UpdateSettingsRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "DirectoryId"))
1348
+ UpdateSettingsRequest.add_member(:settings, Shapes::ShapeRef.new(shape: Settings, required: true, location_name: "Settings"))
1349
+ UpdateSettingsRequest.struct_class = Types::UpdateSettingsRequest
1350
+
1351
+ UpdateSettingsResult.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, location_name: "DirectoryId"))
1352
+ UpdateSettingsResult.struct_class = Types::UpdateSettingsResult
1353
+
1234
1354
  UpdateTrustRequest.add_member(:trust_id, Shapes::ShapeRef.new(shape: TrustId, required: true, location_name: "TrustId"))
1235
1355
  UpdateTrustRequest.add_member(:selective_auth, Shapes::ShapeRef.new(shape: SelectiveAuth, location_name: "SelectiveAuth"))
1236
1356
  UpdateTrustRequest.struct_class = Types::UpdateTrustRequest
@@ -1239,6 +1359,9 @@ module Aws::DirectoryService
1239
1359
  UpdateTrustResult.add_member(:trust_id, Shapes::ShapeRef.new(shape: TrustId, location_name: "TrustId"))
1240
1360
  UpdateTrustResult.struct_class = Types::UpdateTrustResult
1241
1361
 
1362
+ UpdateValue.add_member(:os_update_settings, Shapes::ShapeRef.new(shape: OSUpdateSettings, location_name: "OSUpdateSettings"))
1363
+ UpdateValue.struct_class = Types::UpdateValue
1364
+
1242
1365
  UserDoesNotExistException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
1243
1366
  UserDoesNotExistException.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "RequestId"))
1244
1367
  UserDoesNotExistException.struct_class = Types::UserDoesNotExistException
@@ -1576,6 +1699,12 @@ module Aws::DirectoryService
1576
1699
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1577
1700
  o.errors << Shapes::ShapeRef.new(shape: ClientException)
1578
1701
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1702
+ o[:pager] = Aws::Pager.new(
1703
+ limit_key: "limit",
1704
+ tokens: {
1705
+ "next_token" => "next_token"
1706
+ }
1707
+ )
1579
1708
  end)
1580
1709
 
1581
1710
  api.add_operation(:describe_conditional_forwarders, Seahorse::Model::Operation.new.tap do |o|
@@ -1603,6 +1732,12 @@ module Aws::DirectoryService
1603
1732
  o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
1604
1733
  o.errors << Shapes::ShapeRef.new(shape: ClientException)
1605
1734
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1735
+ o[:pager] = Aws::Pager.new(
1736
+ limit_key: "limit",
1737
+ tokens: {
1738
+ "next_token" => "next_token"
1739
+ }
1740
+ )
1606
1741
  end)
1607
1742
 
1608
1743
  api.add_operation(:describe_domain_controllers, Seahorse::Model::Operation.new.tap do |o|
@@ -1649,6 +1784,12 @@ module Aws::DirectoryService
1649
1784
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1650
1785
  o.errors << Shapes::ShapeRef.new(shape: ClientException)
1651
1786
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1787
+ o[:pager] = Aws::Pager.new(
1788
+ limit_key: "limit",
1789
+ tokens: {
1790
+ "next_token" => "next_token"
1791
+ }
1792
+ )
1652
1793
  end)
1653
1794
 
1654
1795
  api.add_operation(:describe_regions, Seahorse::Model::Operation.new.tap do |o|
@@ -1664,6 +1805,25 @@ module Aws::DirectoryService
1664
1805
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1665
1806
  o.errors << Shapes::ShapeRef.new(shape: ClientException)
1666
1807
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1808
+ o[:pager] = Aws::Pager.new(
1809
+ tokens: {
1810
+ "next_token" => "next_token"
1811
+ }
1812
+ )
1813
+ end)
1814
+
1815
+ api.add_operation(:describe_settings, Seahorse::Model::Operation.new.tap do |o|
1816
+ o.name = "DescribeSettings"
1817
+ o.http_method = "POST"
1818
+ o.http_request_uri = "/"
1819
+ o.input = Shapes::ShapeRef.new(shape: DescribeSettingsRequest)
1820
+ o.output = Shapes::ShapeRef.new(shape: DescribeSettingsResult)
1821
+ o.errors << Shapes::ShapeRef.new(shape: DirectoryDoesNotExistException)
1822
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
1823
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1824
+ o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
1825
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
1826
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1667
1827
  end)
1668
1828
 
1669
1829
  api.add_operation(:describe_shared_directories, Seahorse::Model::Operation.new.tap do |o|
@@ -1678,6 +1838,12 @@ module Aws::DirectoryService
1678
1838
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
1679
1839
  o.errors << Shapes::ShapeRef.new(shape: ClientException)
1680
1840
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1841
+ o[:pager] = Aws::Pager.new(
1842
+ limit_key: "limit",
1843
+ tokens: {
1844
+ "next_token" => "next_token"
1845
+ }
1846
+ )
1681
1847
  end)
1682
1848
 
1683
1849
  api.add_operation(:describe_snapshots, Seahorse::Model::Operation.new.tap do |o|
@@ -1691,6 +1857,12 @@ module Aws::DirectoryService
1691
1857
  o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
1692
1858
  o.errors << Shapes::ShapeRef.new(shape: ClientException)
1693
1859
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1860
+ o[:pager] = Aws::Pager.new(
1861
+ limit_key: "limit",
1862
+ tokens: {
1863
+ "next_token" => "next_token"
1864
+ }
1865
+ )
1694
1866
  end)
1695
1867
 
1696
1868
  api.add_operation(:describe_trusts, Seahorse::Model::Operation.new.tap do |o|
@@ -1705,6 +1877,31 @@ module Aws::DirectoryService
1705
1877
  o.errors << Shapes::ShapeRef.new(shape: ClientException)
1706
1878
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1707
1879
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
1880
+ o[:pager] = Aws::Pager.new(
1881
+ limit_key: "limit",
1882
+ tokens: {
1883
+ "next_token" => "next_token"
1884
+ }
1885
+ )
1886
+ end)
1887
+
1888
+ api.add_operation(:describe_update_directory, Seahorse::Model::Operation.new.tap do |o|
1889
+ o.name = "DescribeUpdateDirectory"
1890
+ o.http_method = "POST"
1891
+ o.http_request_uri = "/"
1892
+ o.input = Shapes::ShapeRef.new(shape: DescribeUpdateDirectoryRequest)
1893
+ o.output = Shapes::ShapeRef.new(shape: DescribeUpdateDirectoryResult)
1894
+ o.errors << Shapes::ShapeRef.new(shape: DirectoryDoesNotExistException)
1895
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1896
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1897
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
1898
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1899
+ o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
1900
+ o[:pager] = Aws::Pager.new(
1901
+ tokens: {
1902
+ "next_token" => "next_token"
1903
+ }
1904
+ )
1708
1905
  end)
1709
1906
 
1710
1907
  api.add_operation(:disable_client_authentication, Seahorse::Model::Operation.new.tap do |o|
@@ -1851,6 +2048,12 @@ module Aws::DirectoryService
1851
2048
  o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
1852
2049
  o.errors << Shapes::ShapeRef.new(shape: ClientException)
1853
2050
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2051
+ o[:pager] = Aws::Pager.new(
2052
+ limit_key: "limit",
2053
+ tokens: {
2054
+ "next_token" => "next_token"
2055
+ }
2056
+ )
1854
2057
  end)
1855
2058
 
1856
2059
  api.add_operation(:list_ip_routes, Seahorse::Model::Operation.new.tap do |o|
@@ -1864,6 +2067,12 @@ module Aws::DirectoryService
1864
2067
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1865
2068
  o.errors << Shapes::ShapeRef.new(shape: ClientException)
1866
2069
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2070
+ o[:pager] = Aws::Pager.new(
2071
+ limit_key: "limit",
2072
+ tokens: {
2073
+ "next_token" => "next_token"
2074
+ }
2075
+ )
1867
2076
  end)
1868
2077
 
1869
2078
  api.add_operation(:list_log_subscriptions, Seahorse::Model::Operation.new.tap do |o|
@@ -1876,6 +2085,12 @@ module Aws::DirectoryService
1876
2085
  o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
1877
2086
  o.errors << Shapes::ShapeRef.new(shape: ClientException)
1878
2087
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2088
+ o[:pager] = Aws::Pager.new(
2089
+ limit_key: "limit",
2090
+ tokens: {
2091
+ "next_token" => "next_token"
2092
+ }
2093
+ )
1879
2094
  end)
1880
2095
 
1881
2096
  api.add_operation(:list_schema_extensions, Seahorse::Model::Operation.new.tap do |o|
@@ -1888,6 +2103,12 @@ module Aws::DirectoryService
1888
2103
  o.errors << Shapes::ShapeRef.new(shape: EntityDoesNotExistException)
1889
2104
  o.errors << Shapes::ShapeRef.new(shape: ClientException)
1890
2105
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2106
+ o[:pager] = Aws::Pager.new(
2107
+ limit_key: "limit",
2108
+ tokens: {
2109
+ "next_token" => "next_token"
2110
+ }
2111
+ )
1891
2112
  end)
1892
2113
 
1893
2114
  api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
@@ -1901,6 +2122,12 @@ module Aws::DirectoryService
1901
2122
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1902
2123
  o.errors << Shapes::ShapeRef.new(shape: ClientException)
1903
2124
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2125
+ o[:pager] = Aws::Pager.new(
2126
+ limit_key: "limit",
2127
+ tokens: {
2128
+ "next_token" => "next_token"
2129
+ }
2130
+ )
1904
2131
  end)
1905
2132
 
1906
2133
  api.add_operation(:register_certificate, Seahorse::Model::Operation.new.tap do |o|
@@ -2070,6 +2297,23 @@ module Aws::DirectoryService
2070
2297
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2071
2298
  end)
2072
2299
 
2300
+ api.add_operation(:update_directory_setup, Seahorse::Model::Operation.new.tap do |o|
2301
+ o.name = "UpdateDirectorySetup"
2302
+ o.http_method = "POST"
2303
+ o.http_request_uri = "/"
2304
+ o.input = Shapes::ShapeRef.new(shape: UpdateDirectorySetupRequest)
2305
+ o.output = Shapes::ShapeRef.new(shape: UpdateDirectorySetupResult)
2306
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
2307
+ o.errors << Shapes::ShapeRef.new(shape: DirectoryInDesiredStateException)
2308
+ o.errors << Shapes::ShapeRef.new(shape: DirectoryUnavailableException)
2309
+ o.errors << Shapes::ShapeRef.new(shape: SnapshotLimitExceededException)
2310
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2311
+ o.errors << Shapes::ShapeRef.new(shape: DirectoryDoesNotExistException)
2312
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2313
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
2314
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2315
+ end)
2316
+
2073
2317
  api.add_operation(:update_number_of_domain_controllers, Seahorse::Model::Operation.new.tap do |o|
2074
2318
  o.name = "UpdateNumberOfDomainControllers"
2075
2319
  o.http_method = "POST"
@@ -2097,6 +2341,22 @@ module Aws::DirectoryService
2097
2341
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2098
2342
  end)
2099
2343
 
2344
+ api.add_operation(:update_settings, Seahorse::Model::Operation.new.tap do |o|
2345
+ o.name = "UpdateSettings"
2346
+ o.http_method = "POST"
2347
+ o.http_request_uri = "/"
2348
+ o.input = Shapes::ShapeRef.new(shape: UpdateSettingsRequest)
2349
+ o.output = Shapes::ShapeRef.new(shape: UpdateSettingsResult)
2350
+ o.errors << Shapes::ShapeRef.new(shape: DirectoryDoesNotExistException)
2351
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
2352
+ o.errors << Shapes::ShapeRef.new(shape: DirectoryUnavailableException)
2353
+ o.errors << Shapes::ShapeRef.new(shape: IncompatibleSettingsException)
2354
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedSettingsException)
2355
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2356
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
2357
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2358
+ end)
2359
+
2100
2360
  api.add_operation(:update_trust, Seahorse::Model::Operation.new.tap do |o|
2101
2361
  o.name = "UpdateTrust"
2102
2362
  o.http_method = "POST"
@@ -37,12 +37,14 @@ module Aws::DirectoryService
37
37
  # * {DirectoryAlreadyInRegionException}
38
38
  # * {DirectoryAlreadySharedException}
39
39
  # * {DirectoryDoesNotExistException}
40
+ # * {DirectoryInDesiredStateException}
40
41
  # * {DirectoryLimitExceededException}
41
42
  # * {DirectoryNotSharedException}
42
43
  # * {DirectoryUnavailableException}
43
44
  # * {DomainControllerLimitExceededException}
44
45
  # * {EntityAlreadyExistsException}
45
46
  # * {EntityDoesNotExistException}
47
+ # * {IncompatibleSettingsException}
46
48
  # * {InsufficientPermissionsException}
47
49
  # * {InvalidCertificateException}
48
50
  # * {InvalidClientAuthStatusException}
@@ -60,6 +62,7 @@ module Aws::DirectoryService
60
62
  # * {SnapshotLimitExceededException}
61
63
  # * {TagLimitExceededException}
62
64
  # * {UnsupportedOperationException}
65
+ # * {UnsupportedSettingsException}
63
66
  # * {UserDoesNotExistException}
64
67
  #
65
68
  # Additionally, error classes are dynamically generated for service errors based on the error code
@@ -268,6 +271,26 @@ module Aws::DirectoryService
268
271
  end
269
272
  end
270
273
 
274
+ class DirectoryInDesiredStateException < ServiceError
275
+
276
+ # @param [Seahorse::Client::RequestContext] context
277
+ # @param [String] message
278
+ # @param [Aws::DirectoryService::Types::DirectoryInDesiredStateException] data
279
+ def initialize(context, message, data = Aws::EmptyStructure.new)
280
+ super(context, message, data)
281
+ end
282
+
283
+ # @return [String]
284
+ def message
285
+ @message || @data[:message]
286
+ end
287
+
288
+ # @return [String]
289
+ def request_id
290
+ @data[:request_id]
291
+ end
292
+ end
293
+
271
294
  class DirectoryLimitExceededException < ServiceError
272
295
 
273
296
  # @param [Seahorse::Client::RequestContext] context
@@ -388,6 +411,26 @@ module Aws::DirectoryService
388
411
  end
389
412
  end
390
413
 
414
+ class IncompatibleSettingsException < ServiceError
415
+
416
+ # @param [Seahorse::Client::RequestContext] context
417
+ # @param [String] message
418
+ # @param [Aws::DirectoryService::Types::IncompatibleSettingsException] data
419
+ def initialize(context, message, data = Aws::EmptyStructure.new)
420
+ super(context, message, data)
421
+ end
422
+
423
+ # @return [String]
424
+ def message
425
+ @message || @data[:message]
426
+ end
427
+
428
+ # @return [String]
429
+ def request_id
430
+ @data[:request_id]
431
+ end
432
+ end
433
+
391
434
  class InsufficientPermissionsException < ServiceError
392
435
 
393
436
  # @param [Seahorse::Client::RequestContext] context
@@ -728,6 +771,26 @@ module Aws::DirectoryService
728
771
  end
729
772
  end
730
773
 
774
+ class UnsupportedSettingsException < ServiceError
775
+
776
+ # @param [Seahorse::Client::RequestContext] context
777
+ # @param [String] message
778
+ # @param [Aws::DirectoryService::Types::UnsupportedSettingsException] data
779
+ def initialize(context, message, data = Aws::EmptyStructure.new)
780
+ super(context, message, data)
781
+ end
782
+
783
+ # @return [String]
784
+ def message
785
+ @message || @data[:message]
786
+ end
787
+
788
+ # @return [String]
789
+ def request_id
790
+ @data[:request_id]
791
+ end
792
+ end
793
+
731
794
  class UserDoesNotExistException < ServiceError
732
795
 
733
796
  # @param [Seahorse::Client::RequestContext] context