aws-sdk-directoryservice 1.49.0 → 1.50.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 783ca4ee53ac5f429870ddc6f64a2a0f6f247b9c9eac787a82edb2ac1e0d5cce
4
- data.tar.gz: 0ed573c9fa0dca7b5d69f7a18adfc7063d5ae5800a73ec004e59b017028523c9
3
+ metadata.gz: b31554fd196482f776a48d69924a913f6e7bbe1344ce791986a681525a00c97d
4
+ data.tar.gz: f81a590aa074b8582a833229755d7b5d94d08900050923c9a9a75ac83a03183a
5
5
  SHA512:
6
- metadata.gz: 4d6599eb087b732832c15073fdf0f55986dcd8a54d59d6c2028f2eaf4fcd622902ffd2e79b2b044ff2ba491c2bcd76606bcab86b8684b45a3dac4bb7708219d2
7
- data.tar.gz: f8c7e1f2e98d190ff7606b4e8b716ef753a5a71893b86c2b4397c589e8bed1dfea3c8456cd2455e5e3554efd42f6a7ea3ed6837bb5b8ce081856c50382538ee9
6
+ metadata.gz: 1a8f2e3fef5c40394761117f83d0add10daad8a9e63204274b1184aaef8f0a9093bce6579c8c0175bc18a6f226de7bf7ebf3fd340ec2f89d5f10416ac532089c
7
+ data.tar.gz: 4dc147d983478e734ef8aaa8fa8e1e2257e8f9372a68f5c219b348b4b4f0ef29b5fba371bb66802b4ecd3a30e298d1265e3796e25565113aaeceb96ddb81ab31
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.50.0 (2022-06-20)
5
+ ------------------
6
+
7
+ * Feature - This release adds support for describing and updating AWS Managed Microsoft AD settings
8
+
4
9
  1.49.0 (2022-02-24)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.49.0
1
+ 1.50.0
@@ -1421,7 +1421,7 @@ module Aws::DirectoryService
1421
1421
  #
1422
1422
  # resp = client.describe_client_authentication_settings({
1423
1423
  # directory_id: "DirectoryId", # required
1424
- # type: "SmartCard", # accepts SmartCard
1424
+ # type: "SmartCard", # accepts SmartCard, SmartCardOrPassword
1425
1425
  # next_token: "NextToken",
1426
1426
  # limit: 1,
1427
1427
  # })
@@ -1429,7 +1429,7 @@ module Aws::DirectoryService
1429
1429
  # @example Response structure
1430
1430
  #
1431
1431
  # resp.client_authentication_settings_info #=> Array
1432
- # resp.client_authentication_settings_info[0].type #=> String, one of "SmartCard"
1432
+ # resp.client_authentication_settings_info[0].type #=> String, one of "SmartCard", "SmartCardOrPassword"
1433
1433
  # resp.client_authentication_settings_info[0].status #=> String, one of "Enabled", "Disabled"
1434
1434
  # resp.client_authentication_settings_info[0].last_updated_date_time #=> Time
1435
1435
  # resp.next_token #=> String
@@ -1813,6 +1813,60 @@ module Aws::DirectoryService
1813
1813
  req.send_request(options)
1814
1814
  end
1815
1815
 
1816
+ # Retrieves information about the configurable settings for the
1817
+ # specified directory.
1818
+ #
1819
+ # @option params [required, String] :directory_id
1820
+ # The identifier of the directory for which to retrieve information.
1821
+ #
1822
+ # @option params [String] :status
1823
+ # The status of the directory settings for which to retrieve
1824
+ # information.
1825
+ #
1826
+ # @option params [String] :next_token
1827
+ # The `DescribeSettingsResult.NextToken` value from a previous call to
1828
+ # DescribeSettings. Pass null if this is the first call.
1829
+ #
1830
+ # @return [Types::DescribeSettingsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1831
+ #
1832
+ # * {Types::DescribeSettingsResult#directory_id #directory_id} => String
1833
+ # * {Types::DescribeSettingsResult#setting_entries #setting_entries} => Array<Types::SettingEntry>
1834
+ # * {Types::DescribeSettingsResult#next_token #next_token} => String
1835
+ #
1836
+ # @example Request syntax with placeholder values
1837
+ #
1838
+ # resp = client.describe_settings({
1839
+ # directory_id: "DirectoryId", # required
1840
+ # status: "Requested", # accepts Requested, Updating, Updated, Failed, Default
1841
+ # next_token: "NextToken",
1842
+ # })
1843
+ #
1844
+ # @example Response structure
1845
+ #
1846
+ # resp.directory_id #=> String
1847
+ # resp.setting_entries #=> Array
1848
+ # resp.setting_entries[0].type #=> String
1849
+ # resp.setting_entries[0].name #=> String
1850
+ # resp.setting_entries[0].allowed_values #=> String
1851
+ # resp.setting_entries[0].applied_value #=> String
1852
+ # resp.setting_entries[0].requested_value #=> String
1853
+ # resp.setting_entries[0].request_status #=> String, one of "Requested", "Updating", "Updated", "Failed", "Default"
1854
+ # resp.setting_entries[0].request_detailed_status #=> Hash
1855
+ # resp.setting_entries[0].request_detailed_status["RegionName"] #=> String, one of "Requested", "Updating", "Updated", "Failed", "Default"
1856
+ # resp.setting_entries[0].request_status_message #=> String
1857
+ # resp.setting_entries[0].last_updated_date_time #=> Time
1858
+ # resp.setting_entries[0].last_requested_date_time #=> Time
1859
+ # resp.next_token #=> String
1860
+ #
1861
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeSettings AWS API Documentation
1862
+ #
1863
+ # @overload describe_settings(params = {})
1864
+ # @param [Hash] params ({})
1865
+ def describe_settings(params = {}, options = {})
1866
+ req = build_request(:describe_settings, params)
1867
+ req.send_request(options)
1868
+ end
1869
+
1816
1870
  # Returns the shared directories in your account.
1817
1871
  #
1818
1872
  # @option params [required, String] :owner_directory_id
@@ -2007,7 +2061,7 @@ module Aws::DirectoryService
2007
2061
  #
2008
2062
  # resp = client.disable_client_authentication({
2009
2063
  # directory_id: "DirectoryId", # required
2010
- # type: "SmartCard", # required, accepts SmartCard
2064
+ # type: "SmartCard", # required, accepts SmartCard, SmartCardOrPassword
2011
2065
  # })
2012
2066
  #
2013
2067
  # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DisableClientAuthentication AWS API Documentation
@@ -2128,7 +2182,7 @@ module Aws::DirectoryService
2128
2182
  #
2129
2183
  # resp = client.enable_client_authentication({
2130
2184
  # directory_id: "DirectoryId", # required
2131
- # type: "SmartCard", # required, accepts SmartCard
2185
+ # type: "SmartCard", # required, accepts SmartCard, SmartCardOrPassword
2132
2186
  # })
2133
2187
  #
2134
2188
  # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/EnableClientAuthentication AWS API Documentation
@@ -3060,6 +3114,43 @@ module Aws::DirectoryService
3060
3114
  req.send_request(options)
3061
3115
  end
3062
3116
 
3117
+ # Updates the configurable settings for the specified directory.
3118
+ #
3119
+ # @option params [required, String] :directory_id
3120
+ # The identifier of the directory for which to update settings.
3121
+ #
3122
+ # @option params [required, Array<Types::Setting>] :settings
3123
+ # The list of Setting objects.
3124
+ #
3125
+ # @return [Types::UpdateSettingsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3126
+ #
3127
+ # * {Types::UpdateSettingsResult#directory_id #directory_id} => String
3128
+ #
3129
+ # @example Request syntax with placeholder values
3130
+ #
3131
+ # resp = client.update_settings({
3132
+ # directory_id: "DirectoryId", # required
3133
+ # settings: [ # required
3134
+ # {
3135
+ # name: "DirectoryConfigurationSettingName", # required
3136
+ # value: "DirectoryConfigurationSettingValue", # required
3137
+ # },
3138
+ # ],
3139
+ # })
3140
+ #
3141
+ # @example Response structure
3142
+ #
3143
+ # resp.directory_id #=> String
3144
+ #
3145
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/UpdateSettings AWS API Documentation
3146
+ #
3147
+ # @overload update_settings(params = {})
3148
+ # @param [Hash] params ({})
3149
+ def update_settings(params = {}, options = {})
3150
+ req = build_request(:update_settings, params)
3151
+ req.send_request(options)
3152
+ end
3153
+
3063
3154
  # Updates the trust that has been set up between your Managed Microsoft
3064
3155
  # AD directory and an self-managed Active Directory.
3065
3156
  #
@@ -3140,7 +3231,7 @@ module Aws::DirectoryService
3140
3231
  params: params,
3141
3232
  config: config)
3142
3233
  context[:gem_name] = 'aws-sdk-directoryservice'
3143
- context[:gem_version] = '1.49.0'
3234
+ context[:gem_version] = '1.50.0'
3144
3235
  Seahorse::Client::Request.new(handlers, context)
3145
3236
  end
3146
3237
 
@@ -119,6 +119,8 @@ module Aws::DirectoryService
119
119
  DescribeLDAPSSettingsResult = Shapes::StructureShape.new(name: 'DescribeLDAPSSettingsResult')
120
120
  DescribeRegionsRequest = Shapes::StructureShape.new(name: 'DescribeRegionsRequest')
121
121
  DescribeRegionsResult = Shapes::StructureShape.new(name: 'DescribeRegionsResult')
122
+ DescribeSettingsRequest = Shapes::StructureShape.new(name: 'DescribeSettingsRequest')
123
+ DescribeSettingsResult = Shapes::StructureShape.new(name: 'DescribeSettingsResult')
122
124
  DescribeSharedDirectoriesRequest = Shapes::StructureShape.new(name: 'DescribeSharedDirectoriesRequest')
123
125
  DescribeSharedDirectoriesResult = Shapes::StructureShape.new(name: 'DescribeSharedDirectoriesResult')
124
126
  DescribeSnapshotsRequest = Shapes::StructureShape.new(name: 'DescribeSnapshotsRequest')
@@ -129,6 +131,15 @@ module Aws::DirectoryService
129
131
  DesiredNumberOfDomainControllers = Shapes::IntegerShape.new(name: 'DesiredNumberOfDomainControllers')
130
132
  DirectoryAlreadyInRegionException = Shapes::StructureShape.new(name: 'DirectoryAlreadyInRegionException')
131
133
  DirectoryAlreadySharedException = Shapes::StructureShape.new(name: 'DirectoryAlreadySharedException')
134
+ DirectoryConfigurationSettingAllowedValues = Shapes::StringShape.new(name: 'DirectoryConfigurationSettingAllowedValues')
135
+ DirectoryConfigurationSettingLastRequestedDateTime = Shapes::TimestampShape.new(name: 'DirectoryConfigurationSettingLastRequestedDateTime')
136
+ DirectoryConfigurationSettingLastUpdatedDateTime = Shapes::TimestampShape.new(name: 'DirectoryConfigurationSettingLastUpdatedDateTime')
137
+ DirectoryConfigurationSettingName = Shapes::StringShape.new(name: 'DirectoryConfigurationSettingName')
138
+ DirectoryConfigurationSettingRequestDetailedStatus = Shapes::MapShape.new(name: 'DirectoryConfigurationSettingRequestDetailedStatus')
139
+ DirectoryConfigurationSettingRequestStatusMessage = Shapes::StringShape.new(name: 'DirectoryConfigurationSettingRequestStatusMessage')
140
+ DirectoryConfigurationSettingType = Shapes::StringShape.new(name: 'DirectoryConfigurationSettingType')
141
+ DirectoryConfigurationSettingValue = Shapes::StringShape.new(name: 'DirectoryConfigurationSettingValue')
142
+ DirectoryConfigurationStatus = Shapes::StringShape.new(name: 'DirectoryConfigurationStatus')
132
143
  DirectoryConnectSettings = Shapes::StructureShape.new(name: 'DirectoryConnectSettings')
133
144
  DirectoryConnectSettingsDescription = Shapes::StructureShape.new(name: 'DirectoryConnectSettingsDescription')
134
145
  DirectoryDescription = Shapes::StructureShape.new(name: 'DirectoryDescription')
@@ -182,6 +193,7 @@ module Aws::DirectoryService
182
193
  GetDirectoryLimitsResult = Shapes::StructureShape.new(name: 'GetDirectoryLimitsResult')
183
194
  GetSnapshotLimitsRequest = Shapes::StructureShape.new(name: 'GetSnapshotLimitsRequest')
184
195
  GetSnapshotLimitsResult = Shapes::StructureShape.new(name: 'GetSnapshotLimitsResult')
196
+ IncompatibleSettingsException = Shapes::StructureShape.new(name: 'IncompatibleSettingsException')
185
197
  InsufficientPermissionsException = Shapes::StructureShape.new(name: 'InsufficientPermissionsException')
186
198
  InvalidCertificateException = Shapes::StructureShape.new(name: 'InvalidCertificateException')
187
199
  InvalidClientAuthStatusException = Shapes::StructureShape.new(name: 'InvalidClientAuthStatusException')
@@ -277,6 +289,10 @@ module Aws::DirectoryService
277
289
  Server = Shapes::StringShape.new(name: 'Server')
278
290
  Servers = Shapes::ListShape.new(name: 'Servers')
279
291
  ServiceException = Shapes::StructureShape.new(name: 'ServiceException')
292
+ Setting = Shapes::StructureShape.new(name: 'Setting')
293
+ SettingEntries = Shapes::ListShape.new(name: 'SettingEntries')
294
+ SettingEntry = Shapes::StructureShape.new(name: 'SettingEntry')
295
+ Settings = Shapes::ListShape.new(name: 'Settings')
280
296
  ShareDirectoryRequest = Shapes::StructureShape.new(name: 'ShareDirectoryRequest')
281
297
  ShareDirectoryResult = Shapes::StructureShape.new(name: 'ShareDirectoryResult')
282
298
  ShareLimitExceededException = Shapes::StructureShape.new(name: 'ShareLimitExceededException')
@@ -329,6 +345,7 @@ module Aws::DirectoryService
329
345
  UnshareDirectoryResult = Shapes::StructureShape.new(name: 'UnshareDirectoryResult')
330
346
  UnshareTarget = Shapes::StructureShape.new(name: 'UnshareTarget')
331
347
  UnsupportedOperationException = Shapes::StructureShape.new(name: 'UnsupportedOperationException')
348
+ UnsupportedSettingsException = Shapes::StructureShape.new(name: 'UnsupportedSettingsException')
332
349
  UpdateConditionalForwarderRequest = Shapes::StructureShape.new(name: 'UpdateConditionalForwarderRequest')
333
350
  UpdateConditionalForwarderResult = Shapes::StructureShape.new(name: 'UpdateConditionalForwarderResult')
334
351
  UpdateNumberOfDomainControllersRequest = Shapes::StructureShape.new(name: 'UpdateNumberOfDomainControllersRequest')
@@ -336,6 +353,8 @@ module Aws::DirectoryService
336
353
  UpdateRadiusRequest = Shapes::StructureShape.new(name: 'UpdateRadiusRequest')
337
354
  UpdateRadiusResult = Shapes::StructureShape.new(name: 'UpdateRadiusResult')
338
355
  UpdateSecurityGroupForDirectoryControllers = Shapes::BooleanShape.new(name: 'UpdateSecurityGroupForDirectoryControllers')
356
+ UpdateSettingsRequest = Shapes::StructureShape.new(name: 'UpdateSettingsRequest')
357
+ UpdateSettingsResult = Shapes::StructureShape.new(name: 'UpdateSettingsResult')
339
358
  UpdateTrustRequest = Shapes::StructureShape.new(name: 'UpdateTrustRequest')
340
359
  UpdateTrustResult = Shapes::StructureShape.new(name: 'UpdateTrustResult')
341
360
  UseSameUsername = Shapes::BooleanShape.new(name: 'UseSameUsername')
@@ -656,6 +675,16 @@ module Aws::DirectoryService
656
675
  DescribeRegionsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
657
676
  DescribeRegionsResult.struct_class = Types::DescribeRegionsResult
658
677
 
678
+ DescribeSettingsRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "DirectoryId"))
679
+ DescribeSettingsRequest.add_member(:status, Shapes::ShapeRef.new(shape: DirectoryConfigurationStatus, location_name: "Status"))
680
+ DescribeSettingsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
681
+ DescribeSettingsRequest.struct_class = Types::DescribeSettingsRequest
682
+
683
+ DescribeSettingsResult.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, location_name: "DirectoryId"))
684
+ DescribeSettingsResult.add_member(:setting_entries, Shapes::ShapeRef.new(shape: SettingEntries, location_name: "SettingEntries"))
685
+ DescribeSettingsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
686
+ DescribeSettingsResult.struct_class = Types::DescribeSettingsResult
687
+
659
688
  DescribeSharedDirectoriesRequest.add_member(:owner_directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "OwnerDirectoryId"))
660
689
  DescribeSharedDirectoriesRequest.add_member(:shared_directory_ids, Shapes::ShapeRef.new(shape: DirectoryIds, location_name: "SharedDirectoryIds"))
661
690
  DescribeSharedDirectoriesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
@@ -694,6 +723,9 @@ module Aws::DirectoryService
694
723
  DirectoryAlreadySharedException.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "RequestId"))
695
724
  DirectoryAlreadySharedException.struct_class = Types::DirectoryAlreadySharedException
696
725
 
726
+ DirectoryConfigurationSettingRequestDetailedStatus.key = Shapes::ShapeRef.new(shape: RegionName)
727
+ DirectoryConfigurationSettingRequestDetailedStatus.value = Shapes::ShapeRef.new(shape: DirectoryConfigurationStatus)
728
+
697
729
  DirectoryConnectSettings.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, required: true, location_name: "VpcId"))
698
730
  DirectoryConnectSettings.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIds, required: true, location_name: "SubnetIds"))
699
731
  DirectoryConnectSettings.add_member(:customer_dns_ips, Shapes::ShapeRef.new(shape: DnsIpAddrs, required: true, location_name: "CustomerDnsIps"))
@@ -875,6 +907,10 @@ module Aws::DirectoryService
875
907
  GetSnapshotLimitsResult.add_member(:snapshot_limits, Shapes::ShapeRef.new(shape: SnapshotLimits, location_name: "SnapshotLimits"))
876
908
  GetSnapshotLimitsResult.struct_class = Types::GetSnapshotLimitsResult
877
909
 
910
+ IncompatibleSettingsException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
911
+ IncompatibleSettingsException.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "RequestId"))
912
+ IncompatibleSettingsException.struct_class = Types::IncompatibleSettingsException
913
+
878
914
  InsufficientPermissionsException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
879
915
  InsufficientPermissionsException.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "RequestId"))
880
916
  InsufficientPermissionsException.struct_class = Types::InsufficientPermissionsException
@@ -1104,6 +1140,26 @@ module Aws::DirectoryService
1104
1140
  ServiceException.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "RequestId"))
1105
1141
  ServiceException.struct_class = Types::ServiceException
1106
1142
 
1143
+ Setting.add_member(:name, Shapes::ShapeRef.new(shape: DirectoryConfigurationSettingName, required: true, location_name: "Name"))
1144
+ Setting.add_member(:value, Shapes::ShapeRef.new(shape: DirectoryConfigurationSettingValue, required: true, location_name: "Value"))
1145
+ Setting.struct_class = Types::Setting
1146
+
1147
+ SettingEntries.member = Shapes::ShapeRef.new(shape: SettingEntry)
1148
+
1149
+ SettingEntry.add_member(:type, Shapes::ShapeRef.new(shape: DirectoryConfigurationSettingType, location_name: "Type"))
1150
+ SettingEntry.add_member(:name, Shapes::ShapeRef.new(shape: DirectoryConfigurationSettingName, location_name: "Name"))
1151
+ SettingEntry.add_member(:allowed_values, Shapes::ShapeRef.new(shape: DirectoryConfigurationSettingAllowedValues, location_name: "AllowedValues"))
1152
+ SettingEntry.add_member(:applied_value, Shapes::ShapeRef.new(shape: DirectoryConfigurationSettingValue, location_name: "AppliedValue"))
1153
+ SettingEntry.add_member(:requested_value, Shapes::ShapeRef.new(shape: DirectoryConfigurationSettingValue, location_name: "RequestedValue"))
1154
+ SettingEntry.add_member(:request_status, Shapes::ShapeRef.new(shape: DirectoryConfigurationStatus, location_name: "RequestStatus"))
1155
+ SettingEntry.add_member(:request_detailed_status, Shapes::ShapeRef.new(shape: DirectoryConfigurationSettingRequestDetailedStatus, location_name: "RequestDetailedStatus"))
1156
+ SettingEntry.add_member(:request_status_message, Shapes::ShapeRef.new(shape: DirectoryConfigurationSettingRequestStatusMessage, location_name: "RequestStatusMessage"))
1157
+ SettingEntry.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: DirectoryConfigurationSettingLastUpdatedDateTime, location_name: "LastUpdatedDateTime"))
1158
+ SettingEntry.add_member(:last_requested_date_time, Shapes::ShapeRef.new(shape: DirectoryConfigurationSettingLastRequestedDateTime, location_name: "LastRequestedDateTime"))
1159
+ SettingEntry.struct_class = Types::SettingEntry
1160
+
1161
+ Settings.member = Shapes::ShapeRef.new(shape: Setting)
1162
+
1107
1163
  ShareDirectoryRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "DirectoryId"))
1108
1164
  ShareDirectoryRequest.add_member(:share_notes, Shapes::ShapeRef.new(shape: Notes, location_name: "ShareNotes"))
1109
1165
  ShareDirectoryRequest.add_member(:share_target, Shapes::ShapeRef.new(shape: ShareTarget, required: true, location_name: "ShareTarget"))
@@ -1212,6 +1268,10 @@ module Aws::DirectoryService
1212
1268
  UnsupportedOperationException.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "RequestId"))
1213
1269
  UnsupportedOperationException.struct_class = Types::UnsupportedOperationException
1214
1270
 
1271
+ UnsupportedSettingsException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
1272
+ UnsupportedSettingsException.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "RequestId"))
1273
+ UnsupportedSettingsException.struct_class = Types::UnsupportedSettingsException
1274
+
1215
1275
  UpdateConditionalForwarderRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "DirectoryId"))
1216
1276
  UpdateConditionalForwarderRequest.add_member(:remote_domain_name, Shapes::ShapeRef.new(shape: RemoteDomainName, required: true, location_name: "RemoteDomainName"))
1217
1277
  UpdateConditionalForwarderRequest.add_member(:dns_ip_addrs, Shapes::ShapeRef.new(shape: DnsIpAddrs, required: true, location_name: "DnsIpAddrs"))
@@ -1231,6 +1291,13 @@ module Aws::DirectoryService
1231
1291
 
1232
1292
  UpdateRadiusResult.struct_class = Types::UpdateRadiusResult
1233
1293
 
1294
+ UpdateSettingsRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "DirectoryId"))
1295
+ UpdateSettingsRequest.add_member(:settings, Shapes::ShapeRef.new(shape: Settings, required: true, location_name: "Settings"))
1296
+ UpdateSettingsRequest.struct_class = Types::UpdateSettingsRequest
1297
+
1298
+ UpdateSettingsResult.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, location_name: "DirectoryId"))
1299
+ UpdateSettingsResult.struct_class = Types::UpdateSettingsResult
1300
+
1234
1301
  UpdateTrustRequest.add_member(:trust_id, Shapes::ShapeRef.new(shape: TrustId, required: true, location_name: "TrustId"))
1235
1302
  UpdateTrustRequest.add_member(:selective_auth, Shapes::ShapeRef.new(shape: SelectiveAuth, location_name: "SelectiveAuth"))
1236
1303
  UpdateTrustRequest.struct_class = Types::UpdateTrustRequest
@@ -1666,6 +1733,20 @@ module Aws::DirectoryService
1666
1733
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1667
1734
  end)
1668
1735
 
1736
+ api.add_operation(:describe_settings, Seahorse::Model::Operation.new.tap do |o|
1737
+ o.name = "DescribeSettings"
1738
+ o.http_method = "POST"
1739
+ o.http_request_uri = "/"
1740
+ o.input = Shapes::ShapeRef.new(shape: DescribeSettingsRequest)
1741
+ o.output = Shapes::ShapeRef.new(shape: DescribeSettingsResult)
1742
+ o.errors << Shapes::ShapeRef.new(shape: DirectoryDoesNotExistException)
1743
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
1744
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1745
+ o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
1746
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
1747
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1748
+ end)
1749
+
1669
1750
  api.add_operation(:describe_shared_directories, Seahorse::Model::Operation.new.tap do |o|
1670
1751
  o.name = "DescribeSharedDirectories"
1671
1752
  o.http_method = "POST"
@@ -2097,6 +2178,22 @@ module Aws::DirectoryService
2097
2178
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2098
2179
  end)
2099
2180
 
2181
+ api.add_operation(:update_settings, Seahorse::Model::Operation.new.tap do |o|
2182
+ o.name = "UpdateSettings"
2183
+ o.http_method = "POST"
2184
+ o.http_request_uri = "/"
2185
+ o.input = Shapes::ShapeRef.new(shape: UpdateSettingsRequest)
2186
+ o.output = Shapes::ShapeRef.new(shape: UpdateSettingsResult)
2187
+ o.errors << Shapes::ShapeRef.new(shape: DirectoryDoesNotExistException)
2188
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
2189
+ o.errors << Shapes::ShapeRef.new(shape: DirectoryUnavailableException)
2190
+ o.errors << Shapes::ShapeRef.new(shape: IncompatibleSettingsException)
2191
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedSettingsException)
2192
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2193
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
2194
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2195
+ end)
2196
+
2100
2197
  api.add_operation(:update_trust, Seahorse::Model::Operation.new.tap do |o|
2101
2198
  o.name = "UpdateTrust"
2102
2199
  o.http_method = "POST"
@@ -43,6 +43,7 @@ module Aws::DirectoryService
43
43
  # * {DomainControllerLimitExceededException}
44
44
  # * {EntityAlreadyExistsException}
45
45
  # * {EntityDoesNotExistException}
46
+ # * {IncompatibleSettingsException}
46
47
  # * {InsufficientPermissionsException}
47
48
  # * {InvalidCertificateException}
48
49
  # * {InvalidClientAuthStatusException}
@@ -60,6 +61,7 @@ module Aws::DirectoryService
60
61
  # * {SnapshotLimitExceededException}
61
62
  # * {TagLimitExceededException}
62
63
  # * {UnsupportedOperationException}
64
+ # * {UnsupportedSettingsException}
63
65
  # * {UserDoesNotExistException}
64
66
  #
65
67
  # Additionally, error classes are dynamically generated for service errors based on the error code
@@ -388,6 +390,26 @@ module Aws::DirectoryService
388
390
  end
389
391
  end
390
392
 
393
+ class IncompatibleSettingsException < ServiceError
394
+
395
+ # @param [Seahorse::Client::RequestContext] context
396
+ # @param [String] message
397
+ # @param [Aws::DirectoryService::Types::IncompatibleSettingsException] data
398
+ def initialize(context, message, data = Aws::EmptyStructure.new)
399
+ super(context, message, data)
400
+ end
401
+
402
+ # @return [String]
403
+ def message
404
+ @message || @data[:message]
405
+ end
406
+
407
+ # @return [String]
408
+ def request_id
409
+ @data[:request_id]
410
+ end
411
+ end
412
+
391
413
  class InsufficientPermissionsException < ServiceError
392
414
 
393
415
  # @param [Seahorse::Client::RequestContext] context
@@ -728,6 +750,26 @@ module Aws::DirectoryService
728
750
  end
729
751
  end
730
752
 
753
+ class UnsupportedSettingsException < ServiceError
754
+
755
+ # @param [Seahorse::Client::RequestContext] context
756
+ # @param [String] message
757
+ # @param [Aws::DirectoryService::Types::UnsupportedSettingsException] data
758
+ def initialize(context, message, data = Aws::EmptyStructure.new)
759
+ super(context, message, data)
760
+ end
761
+
762
+ # @return [String]
763
+ def message
764
+ @message || @data[:message]
765
+ end
766
+
767
+ # @return [String]
768
+ def request_id
769
+ @data[:request_id]
770
+ end
771
+ end
772
+
731
773
  class UserDoesNotExistException < ServiceError
732
774
 
733
775
  # @param [Seahorse::Client::RequestContext] context
@@ -1503,7 +1503,7 @@ module Aws::DirectoryService
1503
1503
  #
1504
1504
  # {
1505
1505
  # directory_id: "DirectoryId", # required
1506
- # type: "SmartCard", # accepts SmartCard
1506
+ # type: "SmartCard", # accepts SmartCard, SmartCardOrPassword
1507
1507
  # next_token: "NextToken",
1508
1508
  # limit: 1,
1509
1509
  # }
@@ -1893,6 +1893,68 @@ module Aws::DirectoryService
1893
1893
  include Aws::Structure
1894
1894
  end
1895
1895
 
1896
+ # @note When making an API call, you may pass DescribeSettingsRequest
1897
+ # data as a hash:
1898
+ #
1899
+ # {
1900
+ # directory_id: "DirectoryId", # required
1901
+ # status: "Requested", # accepts Requested, Updating, Updated, Failed, Default
1902
+ # next_token: "NextToken",
1903
+ # }
1904
+ #
1905
+ # @!attribute [rw] directory_id
1906
+ # The identifier of the directory for which to retrieve information.
1907
+ # @return [String]
1908
+ #
1909
+ # @!attribute [rw] status
1910
+ # The status of the directory settings for which to retrieve
1911
+ # information.
1912
+ # @return [String]
1913
+ #
1914
+ # @!attribute [rw] next_token
1915
+ # The `DescribeSettingsResult.NextToken` value from a previous call to
1916
+ # DescribeSettings. Pass null if this is the first call.
1917
+ # @return [String]
1918
+ #
1919
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeSettingsRequest AWS API Documentation
1920
+ #
1921
+ class DescribeSettingsRequest < Struct.new(
1922
+ :directory_id,
1923
+ :status,
1924
+ :next_token)
1925
+ SENSITIVE = []
1926
+ include Aws::Structure
1927
+ end
1928
+
1929
+ # @!attribute [rw] directory_id
1930
+ # The identifier of the directory.
1931
+ # @return [String]
1932
+ #
1933
+ # @!attribute [rw] setting_entries
1934
+ # The list of SettingEntry objects that were retrieved.
1935
+ #
1936
+ # It is possible that this list contains less than the number of items
1937
+ # specified in the `Limit` member of the request. This occurs if there
1938
+ # are less than the requested number of items left to retrieve, or if
1939
+ # the limitations of the operation have been exceeded.
1940
+ # @return [Array<Types::SettingEntry>]
1941
+ #
1942
+ # @!attribute [rw] next_token
1943
+ # If not null, token that indicates that more results are available.
1944
+ # Pass this value for the `NextToken` parameter in a subsequent call
1945
+ # to `DescribeSettings` to retrieve the next set of items.
1946
+ # @return [String]
1947
+ #
1948
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeSettingsResult AWS API Documentation
1949
+ #
1950
+ class DescribeSettingsResult < Struct.new(
1951
+ :directory_id,
1952
+ :setting_entries,
1953
+ :next_token)
1954
+ SENSITIVE = []
1955
+ include Aws::Structure
1956
+ end
1957
+
1896
1958
  # @note When making an API call, you may pass DescribeSharedDirectoriesRequest
1897
1959
  # data as a hash:
1898
1960
  #
@@ -2584,7 +2646,7 @@ module Aws::DirectoryService
2584
2646
  #
2585
2647
  # {
2586
2648
  # directory_id: "DirectoryId", # required
2587
- # type: "SmartCard", # required, accepts SmartCard
2649
+ # type: "SmartCard", # required, accepts SmartCard, SmartCardOrPassword
2588
2650
  # }
2589
2651
  #
2590
2652
  # @!attribute [rw] directory_id
@@ -2802,7 +2864,7 @@ module Aws::DirectoryService
2802
2864
  #
2803
2865
  # {
2804
2866
  # directory_id: "DirectoryId", # required
2805
- # type: "SmartCard", # required, accepts SmartCard
2867
+ # type: "SmartCard", # required, accepts SmartCard, SmartCardOrPassword
2806
2868
  # }
2807
2869
  #
2808
2870
  # @!attribute [rw] directory_id
@@ -3086,6 +3148,25 @@ module Aws::DirectoryService
3086
3148
  include Aws::Structure
3087
3149
  end
3088
3150
 
3151
+ # The specified directory setting is not compatible with other settings.
3152
+ #
3153
+ # @!attribute [rw] message
3154
+ # The descriptive message for the exception.
3155
+ # @return [String]
3156
+ #
3157
+ # @!attribute [rw] request_id
3158
+ # The Amazon Web Services request identifier.
3159
+ # @return [String]
3160
+ #
3161
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/IncompatibleSettingsException AWS API Documentation
3162
+ #
3163
+ class IncompatibleSettingsException < Struct.new(
3164
+ :message,
3165
+ :request_id)
3166
+ SENSITIVE = []
3167
+ include Aws::Structure
3168
+ end
3169
+
3089
3170
  # The account does not have sufficient permission to perform the
3090
3171
  # operation.
3091
3172
  #
@@ -4230,6 +4311,106 @@ module Aws::DirectoryService
4230
4311
  include Aws::Structure
4231
4312
  end
4232
4313
 
4314
+ # Contains information about the configurable settings for a directory.
4315
+ #
4316
+ # @note When making an API call, you may pass Setting
4317
+ # data as a hash:
4318
+ #
4319
+ # {
4320
+ # name: "DirectoryConfigurationSettingName", # required
4321
+ # value: "DirectoryConfigurationSettingValue", # required
4322
+ # }
4323
+ #
4324
+ # @!attribute [rw] name
4325
+ # The name of the directory setting. For example:
4326
+ #
4327
+ # `TLS_1_0`
4328
+ # @return [String]
4329
+ #
4330
+ # @!attribute [rw] value
4331
+ # The value of the directory setting for which to retrieve
4332
+ # information. For example, for `TLS_1_0`, the valid values are:
4333
+ # `Enable` and `Disable`.
4334
+ # @return [String]
4335
+ #
4336
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/Setting AWS API Documentation
4337
+ #
4338
+ class Setting < Struct.new(
4339
+ :name,
4340
+ :value)
4341
+ SENSITIVE = []
4342
+ include Aws::Structure
4343
+ end
4344
+
4345
+ # Contains information about the specified configurable setting for a
4346
+ # directory.
4347
+ #
4348
+ # @!attribute [rw] type
4349
+ # The type of directory setting. For example, `Protocol` or `Cipher`.
4350
+ # @return [String]
4351
+ #
4352
+ # @!attribute [rw] name
4353
+ # The name of the directory setting. For example:
4354
+ #
4355
+ # `TLS_1_0`
4356
+ # @return [String]
4357
+ #
4358
+ # @!attribute [rw] allowed_values
4359
+ # The valid range of values for the directory setting.
4360
+ # @return [String]
4361
+ #
4362
+ # @!attribute [rw] applied_value
4363
+ # The value of the directory setting that is applied to the directory.
4364
+ # @return [String]
4365
+ #
4366
+ # @!attribute [rw] requested_value
4367
+ # The value that was last requested for the directory setting.
4368
+ # @return [String]
4369
+ #
4370
+ # @!attribute [rw] request_status
4371
+ # The overall status of the request to update the directory setting
4372
+ # request. If the directory setting is deployed in more than one
4373
+ # region, and the request fails in any region, the overall status is
4374
+ # `Failed`.
4375
+ # @return [String]
4376
+ #
4377
+ # @!attribute [rw] request_detailed_status
4378
+ # Details about the status of the request to update the directory
4379
+ # setting. If the directory setting is deployed in more than one
4380
+ # region, status is returned for the request in each region where the
4381
+ # setting is deployed.
4382
+ # @return [Hash<String,String>]
4383
+ #
4384
+ # @!attribute [rw] request_status_message
4385
+ # The last status message for the directory status request.
4386
+ # @return [String]
4387
+ #
4388
+ # @!attribute [rw] last_updated_date_time
4389
+ # The date and time when the directory setting was last updated.
4390
+ # @return [Time]
4391
+ #
4392
+ # @!attribute [rw] last_requested_date_time
4393
+ # The date and time when the request to update a directory setting was
4394
+ # last submitted.
4395
+ # @return [Time]
4396
+ #
4397
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/SettingEntry AWS API Documentation
4398
+ #
4399
+ class SettingEntry < Struct.new(
4400
+ :type,
4401
+ :name,
4402
+ :allowed_values,
4403
+ :applied_value,
4404
+ :requested_value,
4405
+ :request_status,
4406
+ :request_detailed_status,
4407
+ :request_status_message,
4408
+ :last_updated_date_time,
4409
+ :last_requested_date_time)
4410
+ SENSITIVE = []
4411
+ include Aws::Structure
4412
+ end
4413
+
4233
4414
  # @note When making an API call, you may pass ShareDirectoryRequest
4234
4415
  # data as a hash:
4235
4416
  #
@@ -4755,6 +4936,25 @@ module Aws::DirectoryService
4755
4936
  include Aws::Structure
4756
4937
  end
4757
4938
 
4939
+ # The specified directory setting is not supported.
4940
+ #
4941
+ # @!attribute [rw] message
4942
+ # The descriptive message for the exception.
4943
+ # @return [String]
4944
+ #
4945
+ # @!attribute [rw] request_id
4946
+ # The Amazon Web Services request identifier.
4947
+ # @return [String]
4948
+ #
4949
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/UnsupportedSettingsException AWS API Documentation
4950
+ #
4951
+ class UnsupportedSettingsException < Struct.new(
4952
+ :message,
4953
+ :request_id)
4954
+ SENSITIVE = []
4955
+ include Aws::Structure
4956
+ end
4957
+
4758
4958
  # Updates a conditional forwarder.
4759
4959
  #
4760
4960
  # @note When making an API call, you may pass UpdateConditionalForwarderRequest
@@ -4871,6 +5071,48 @@ module Aws::DirectoryService
4871
5071
  #
4872
5072
  class UpdateRadiusResult < Aws::EmptyStructure; end
4873
5073
 
5074
+ # @note When making an API call, you may pass UpdateSettingsRequest
5075
+ # data as a hash:
5076
+ #
5077
+ # {
5078
+ # directory_id: "DirectoryId", # required
5079
+ # settings: [ # required
5080
+ # {
5081
+ # name: "DirectoryConfigurationSettingName", # required
5082
+ # value: "DirectoryConfigurationSettingValue", # required
5083
+ # },
5084
+ # ],
5085
+ # }
5086
+ #
5087
+ # @!attribute [rw] directory_id
5088
+ # The identifier of the directory for which to update settings.
5089
+ # @return [String]
5090
+ #
5091
+ # @!attribute [rw] settings
5092
+ # The list of Setting objects.
5093
+ # @return [Array<Types::Setting>]
5094
+ #
5095
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/UpdateSettingsRequest AWS API Documentation
5096
+ #
5097
+ class UpdateSettingsRequest < Struct.new(
5098
+ :directory_id,
5099
+ :settings)
5100
+ SENSITIVE = []
5101
+ include Aws::Structure
5102
+ end
5103
+
5104
+ # @!attribute [rw] directory_id
5105
+ # The identifier of the directory.
5106
+ # @return [String]
5107
+ #
5108
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/UpdateSettingsResult AWS API Documentation
5109
+ #
5110
+ class UpdateSettingsResult < Struct.new(
5111
+ :directory_id)
5112
+ SENSITIVE = []
5113
+ include Aws::Structure
5114
+ end
5115
+
4874
5116
  # @note When making an API call, you may pass UpdateTrustRequest
4875
5117
  # data as a hash:
4876
5118
  #
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-directoryservice/customizations'
48
48
  # @!group service
49
49
  module Aws::DirectoryService
50
50
 
51
- GEM_VERSION = '1.49.0'
51
+ GEM_VERSION = '1.50.0'
52
52
 
53
53
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-directoryservice
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.49.0
4
+ version: 1.50.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-24 00:00:00.000000000 Z
11
+ date: 2022-06-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core