aws-sdk-directoryservice 1.50.0 → 1.51.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b31554fd196482f776a48d69924a913f6e7bbe1344ce791986a681525a00c97d
4
- data.tar.gz: f81a590aa074b8582a833229755d7b5d94d08900050923c9a9a75ac83a03183a
3
+ metadata.gz: e127c16ffb2fa318eba10eb61103b4f8ee65e5329653e636b569ff28811e5e08
4
+ data.tar.gz: b9677edf891428478410a715fd776337c880ea514370f434fcfe07978f41d55e
5
5
  SHA512:
6
- metadata.gz: 1a8f2e3fef5c40394761117f83d0add10daad8a9e63204274b1184aaef8f0a9093bce6579c8c0175bc18a6f226de7bf7ebf3fd340ec2f89d5f10416ac532089c
7
- data.tar.gz: 4dc147d983478e734ef8aaa8fa8e1e2257e8f9372a68f5c219b348b4b4f0ef29b5fba371bb66802b4ecd3a30e298d1265e3796e25565113aaeceb96ddb81ab31
6
+ metadata.gz: '089b08ecf219537ede37ce367e0ba3a9df8df783097c7694c48920704fabf2e722bbb2422802bd2691100b30c13c199db5df02eded784f9a96c2b4f6497b0d75'
7
+ data.tar.gz: c74ed229e70c298b498cc5e832ce102848655211e9971f803ecd2cf96a0f81de9ad86b36236d8bad0fa61cfc549850b3ec4fc120019c6b8963efdd53a1ebbc75
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.51.0 (2022-10-13)
5
+ ------------------
6
+
7
+ * Feature - This release adds support for describing and updating AWS Managed Microsoft AD set up.
8
+
4
9
  1.50.0 (2022-06-20)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.50.0
1
+ 1.51.0
@@ -1417,6 +1417,8 @@ module Aws::DirectoryService
1417
1417
  # * {Types::DescribeClientAuthenticationSettingsResult#client_authentication_settings_info #client_authentication_settings_info} => Array<Types::ClientAuthenticationSettingInfo>
1418
1418
  # * {Types::DescribeClientAuthenticationSettingsResult#next_token #next_token} => String
1419
1419
  #
1420
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1421
+ #
1420
1422
  # @example Request syntax with placeholder values
1421
1423
  #
1422
1424
  # resp = client.describe_client_authentication_settings({
@@ -1522,6 +1524,8 @@ module Aws::DirectoryService
1522
1524
  # * {Types::DescribeDirectoriesResult#directory_descriptions #directory_descriptions} => Array<Types::DirectoryDescription>
1523
1525
  # * {Types::DescribeDirectoriesResult#next_token #next_token} => String
1524
1526
  #
1527
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1528
+ #
1525
1529
  # @example Request syntax with placeholder values
1526
1530
  #
1527
1531
  # resp = client.describe_directories({
@@ -1601,6 +1605,7 @@ module Aws::DirectoryService
1601
1605
  # resp.directory_descriptions[0].regions_info.primary_region #=> String
1602
1606
  # resp.directory_descriptions[0].regions_info.additional_regions #=> Array
1603
1607
  # resp.directory_descriptions[0].regions_info.additional_regions[0] #=> String
1608
+ # resp.directory_descriptions[0].os_version #=> String, one of "SERVER_2012", "SERVER_2019"
1604
1609
  # resp.next_token #=> String
1605
1610
  #
1606
1611
  # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeDirectories AWS API Documentation
@@ -1736,6 +1741,8 @@ module Aws::DirectoryService
1736
1741
  # * {Types::DescribeLDAPSSettingsResult#ldaps_settings_info #ldaps_settings_info} => Array<Types::LDAPSSettingInfo>
1737
1742
  # * {Types::DescribeLDAPSSettingsResult#next_token #next_token} => String
1738
1743
  #
1744
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1745
+ #
1739
1746
  # @example Request syntax with placeholder values
1740
1747
  #
1741
1748
  # resp = client.describe_ldaps_settings({
@@ -1780,6 +1787,8 @@ module Aws::DirectoryService
1780
1787
  # * {Types::DescribeRegionsResult#regions_description #regions_description} => Array<Types::RegionDescription>
1781
1788
  # * {Types::DescribeRegionsResult#next_token #next_token} => String
1782
1789
  #
1790
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1791
+ #
1783
1792
  # @example Request syntax with placeholder values
1784
1793
  #
1785
1794
  # resp = client.describe_regions({
@@ -1889,6 +1898,8 @@ module Aws::DirectoryService
1889
1898
  # * {Types::DescribeSharedDirectoriesResult#shared_directories #shared_directories} => Array<Types::SharedDirectory>
1890
1899
  # * {Types::DescribeSharedDirectoriesResult#next_token #next_token} => String
1891
1900
  #
1901
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1902
+ #
1892
1903
  # @example Request syntax with placeholder values
1893
1904
  #
1894
1905
  # resp = client.describe_shared_directories({
@@ -1953,6 +1964,8 @@ module Aws::DirectoryService
1953
1964
  # * {Types::DescribeSnapshotsResult#snapshots #snapshots} => Array<Types::Snapshot>
1954
1965
  # * {Types::DescribeSnapshotsResult#next_token #next_token} => String
1955
1966
  #
1967
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1968
+ #
1956
1969
  # @example Request syntax with placeholder values
1957
1970
  #
1958
1971
  # resp = client.describe_snapshots({
@@ -2011,6 +2024,8 @@ module Aws::DirectoryService
2011
2024
  # * {Types::DescribeTrustsResult#trusts #trusts} => Array<Types::Trust>
2012
2025
  # * {Types::DescribeTrustsResult#next_token #next_token} => String
2013
2026
  #
2027
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2028
+ #
2014
2029
  # @example Request syntax with placeholder values
2015
2030
  #
2016
2031
  # resp = client.describe_trusts({
@@ -2045,6 +2060,59 @@ module Aws::DirectoryService
2045
2060
  req.send_request(options)
2046
2061
  end
2047
2062
 
2063
+ # Describes the updates of a directory for a particular update type.
2064
+ #
2065
+ # @option params [required, String] :directory_id
2066
+ # The unique identifier of the directory.
2067
+ #
2068
+ # @option params [required, String] :update_type
2069
+ # The type of updates you want to describe for the directory.
2070
+ #
2071
+ # @option params [String] :region_name
2072
+ # The name of the Region.
2073
+ #
2074
+ # @option params [String] :next_token
2075
+ # The `DescribeUpdateDirectoryResult`. NextToken value from a previous
2076
+ # call to DescribeUpdateDirectory. Pass null if this is the first call.
2077
+ #
2078
+ # @return [Types::DescribeUpdateDirectoryResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2079
+ #
2080
+ # * {Types::DescribeUpdateDirectoryResult#update_activities #update_activities} => Array<Types::UpdateInfoEntry>
2081
+ # * {Types::DescribeUpdateDirectoryResult#next_token #next_token} => String
2082
+ #
2083
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2084
+ #
2085
+ # @example Request syntax with placeholder values
2086
+ #
2087
+ # resp = client.describe_update_directory({
2088
+ # directory_id: "DirectoryId", # required
2089
+ # update_type: "OS", # required, accepts OS
2090
+ # region_name: "RegionName",
2091
+ # next_token: "NextToken",
2092
+ # })
2093
+ #
2094
+ # @example Response structure
2095
+ #
2096
+ # resp.update_activities #=> Array
2097
+ # resp.update_activities[0].region #=> String
2098
+ # resp.update_activities[0].status #=> String, one of "Updated", "Updating", "UpdateFailed"
2099
+ # resp.update_activities[0].status_reason #=> String
2100
+ # resp.update_activities[0].initiated_by #=> String
2101
+ # resp.update_activities[0].new_value.os_update_settings.os_version #=> String, one of "SERVER_2012", "SERVER_2019"
2102
+ # resp.update_activities[0].previous_value.os_update_settings.os_version #=> String, one of "SERVER_2012", "SERVER_2019"
2103
+ # resp.update_activities[0].start_time #=> Time
2104
+ # resp.update_activities[0].last_updated_date_time #=> Time
2105
+ # resp.next_token #=> String
2106
+ #
2107
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeUpdateDirectory AWS API Documentation
2108
+ #
2109
+ # @overload describe_update_directory(params = {})
2110
+ # @param [Hash] params ({})
2111
+ def describe_update_directory(params = {}, options = {})
2112
+ req = build_request(:describe_update_directory, params)
2113
+ req.send_request(options)
2114
+ end
2115
+
2048
2116
  # Disables alternative client authentication methods for the specified
2049
2117
  # directory.
2050
2118
  #
@@ -2380,6 +2448,8 @@ module Aws::DirectoryService
2380
2448
  # * {Types::ListCertificatesResult#next_token #next_token} => String
2381
2449
  # * {Types::ListCertificatesResult#certificates_info #certificates_info} => Array<Types::CertificateInfo>
2382
2450
  #
2451
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2452
+ #
2383
2453
  # @example Request syntax with placeholder values
2384
2454
  #
2385
2455
  # resp = client.list_certificates({
@@ -2426,6 +2496,8 @@ module Aws::DirectoryService
2426
2496
  # * {Types::ListIpRoutesResult#ip_routes_info #ip_routes_info} => Array<Types::IpRouteInfo>
2427
2497
  # * {Types::ListIpRoutesResult#next_token #next_token} => String
2428
2498
  #
2499
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2500
+ #
2429
2501
  # @example Request syntax with placeholder values
2430
2502
  #
2431
2503
  # resp = client.list_ip_routes({
@@ -2475,6 +2547,8 @@ module Aws::DirectoryService
2475
2547
  # * {Types::ListLogSubscriptionsResult#log_subscriptions #log_subscriptions} => Array<Types::LogSubscription>
2476
2548
  # * {Types::ListLogSubscriptionsResult#next_token #next_token} => String
2477
2549
  #
2550
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2551
+ #
2478
2552
  # @example Request syntax with placeholder values
2479
2553
  #
2480
2554
  # resp = client.list_log_subscriptions({
@@ -2518,6 +2592,8 @@ module Aws::DirectoryService
2518
2592
  # * {Types::ListSchemaExtensionsResult#schema_extensions_info #schema_extensions_info} => Array<Types::SchemaExtensionInfo>
2519
2593
  # * {Types::ListSchemaExtensionsResult#next_token #next_token} => String
2520
2594
  #
2595
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2596
+ #
2521
2597
  # @example Request syntax with placeholder values
2522
2598
  #
2523
2599
  # resp = client.list_schema_extensions({
@@ -2563,6 +2639,8 @@ module Aws::DirectoryService
2563
2639
  # * {Types::ListTagsForResourceResult#tags #tags} => Array<Types::Tag>
2564
2640
  # * {Types::ListTagsForResourceResult#next_token #next_token} => String
2565
2641
  #
2642
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2643
+ #
2566
2644
  # @example Request syntax with placeholder values
2567
2645
  #
2568
2646
  # resp = client.list_tags_for_resource({
@@ -3044,6 +3122,46 @@ module Aws::DirectoryService
3044
3122
  req.send_request(options)
3045
3123
  end
3046
3124
 
3125
+ # Updates the directory for a particular update type.
3126
+ #
3127
+ # @option params [required, String] :directory_id
3128
+ # The identifier of the directory on which you want to perform the
3129
+ # update.
3130
+ #
3131
+ # @option params [required, String] :update_type
3132
+ # The type of update that needs to be performed on the directory. For
3133
+ # example, OS.
3134
+ #
3135
+ # @option params [Types::OSUpdateSettings] :os_update_settings
3136
+ # The settings for the OS update that needs to be performed on the
3137
+ # directory.
3138
+ #
3139
+ # @option params [Boolean] :create_snapshot_before_update
3140
+ # The boolean that specifies if a snapshot for the directory needs to be
3141
+ # taken before updating the directory.
3142
+ #
3143
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3144
+ #
3145
+ # @example Request syntax with placeholder values
3146
+ #
3147
+ # resp = client.update_directory_setup({
3148
+ # directory_id: "DirectoryId", # required
3149
+ # update_type: "OS", # required, accepts OS
3150
+ # os_update_settings: {
3151
+ # os_version: "SERVER_2012", # accepts SERVER_2012, SERVER_2019
3152
+ # },
3153
+ # create_snapshot_before_update: false,
3154
+ # })
3155
+ #
3156
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/UpdateDirectorySetup AWS API Documentation
3157
+ #
3158
+ # @overload update_directory_setup(params = {})
3159
+ # @param [Hash] params ({})
3160
+ def update_directory_setup(params = {}, options = {})
3161
+ req = build_request(:update_directory_setup, params)
3162
+ req.send_request(options)
3163
+ end
3164
+
3047
3165
  # Adds or removes domain controllers to or from the directory. Based on
3048
3166
  # the difference between current value and new value (provided through
3049
3167
  # this API call), domain controllers will be added or removed. It may
@@ -3231,7 +3349,7 @@ module Aws::DirectoryService
3231
3349
  params: params,
3232
3350
  config: config)
3233
3351
  context[:gem_name] = 'aws-sdk-directoryservice'
3234
- context[:gem_version] = '1.50.0'
3352
+ context[:gem_version] = '1.51.0'
3235
3353
  Seahorse::Client::Request.new(handlers, context)
3236
3354
  end
3237
3355
 
@@ -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')
@@ -127,6 +128,8 @@ module Aws::DirectoryService
127
128
  DescribeSnapshotsResult = Shapes::StructureShape.new(name: 'DescribeSnapshotsResult')
128
129
  DescribeTrustsRequest = Shapes::StructureShape.new(name: 'DescribeTrustsRequest')
129
130
  DescribeTrustsResult = Shapes::StructureShape.new(name: 'DescribeTrustsResult')
131
+ DescribeUpdateDirectoryRequest = Shapes::StructureShape.new(name: 'DescribeUpdateDirectoryRequest')
132
+ DescribeUpdateDirectoryResult = Shapes::StructureShape.new(name: 'DescribeUpdateDirectoryResult')
130
133
  Description = Shapes::StringShape.new(name: 'Description')
131
134
  DesiredNumberOfDomainControllers = Shapes::IntegerShape.new(name: 'DesiredNumberOfDomainControllers')
132
135
  DirectoryAlreadyInRegionException = Shapes::StructureShape.new(name: 'DirectoryAlreadyInRegionException')
@@ -148,6 +151,7 @@ module Aws::DirectoryService
148
151
  DirectoryEdition = Shapes::StringShape.new(name: 'DirectoryEdition')
149
152
  DirectoryId = Shapes::StringShape.new(name: 'DirectoryId')
150
153
  DirectoryIds = Shapes::ListShape.new(name: 'DirectoryIds')
154
+ DirectoryInDesiredStateException = Shapes::StructureShape.new(name: 'DirectoryInDesiredStateException')
151
155
  DirectoryLimitExceededException = Shapes::StructureShape.new(name: 'DirectoryLimitExceededException')
152
156
  DirectoryLimits = Shapes::StructureShape.new(name: 'DirectoryLimits')
153
157
  DirectoryName = Shapes::StringShape.new(name: 'DirectoryName')
@@ -194,6 +198,7 @@ module Aws::DirectoryService
194
198
  GetSnapshotLimitsRequest = Shapes::StructureShape.new(name: 'GetSnapshotLimitsRequest')
195
199
  GetSnapshotLimitsResult = Shapes::StructureShape.new(name: 'GetSnapshotLimitsResult')
196
200
  IncompatibleSettingsException = Shapes::StructureShape.new(name: 'IncompatibleSettingsException')
201
+ InitiatedBy = Shapes::StringShape.new(name: 'InitiatedBy')
197
202
  InsufficientPermissionsException = Shapes::StructureShape.new(name: 'InsufficientPermissionsException')
198
203
  InvalidCertificateException = Shapes::StructureShape.new(name: 'InvalidCertificateException')
199
204
  InvalidClientAuthStatusException = Shapes::StructureShape.new(name: 'InvalidClientAuthStatusException')
@@ -238,6 +243,8 @@ module Aws::DirectoryService
238
243
  NoAvailableCertificateException = Shapes::StructureShape.new(name: 'NoAvailableCertificateException')
239
244
  Notes = Shapes::StringShape.new(name: 'Notes')
240
245
  OCSPUrl = Shapes::StringShape.new(name: 'OCSPUrl')
246
+ OSUpdateSettings = Shapes::StructureShape.new(name: 'OSUpdateSettings')
247
+ OSVersion = Shapes::StringShape.new(name: 'OSVersion')
241
248
  OrganizationalUnitDN = Shapes::StringShape.new(name: 'OrganizationalUnitDN')
242
249
  OrganizationsException = Shapes::StructureShape.new(name: 'OrganizationsException')
243
250
  OwnerDirectoryDescription = Shapes::StructureShape.new(name: 'OwnerDirectoryDescription')
@@ -346,8 +353,12 @@ module Aws::DirectoryService
346
353
  UnshareTarget = Shapes::StructureShape.new(name: 'UnshareTarget')
347
354
  UnsupportedOperationException = Shapes::StructureShape.new(name: 'UnsupportedOperationException')
348
355
  UnsupportedSettingsException = Shapes::StructureShape.new(name: 'UnsupportedSettingsException')
356
+ UpdateActivities = Shapes::ListShape.new(name: 'UpdateActivities')
349
357
  UpdateConditionalForwarderRequest = Shapes::StructureShape.new(name: 'UpdateConditionalForwarderRequest')
350
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')
351
362
  UpdateNumberOfDomainControllersRequest = Shapes::StructureShape.new(name: 'UpdateNumberOfDomainControllersRequest')
352
363
  UpdateNumberOfDomainControllersResult = Shapes::StructureShape.new(name: 'UpdateNumberOfDomainControllersResult')
353
364
  UpdateRadiusRequest = Shapes::StructureShape.new(name: 'UpdateRadiusRequest')
@@ -355,8 +366,12 @@ module Aws::DirectoryService
355
366
  UpdateSecurityGroupForDirectoryControllers = Shapes::BooleanShape.new(name: 'UpdateSecurityGroupForDirectoryControllers')
356
367
  UpdateSettingsRequest = Shapes::StructureShape.new(name: 'UpdateSettingsRequest')
357
368
  UpdateSettingsResult = Shapes::StructureShape.new(name: 'UpdateSettingsResult')
369
+ UpdateStatus = Shapes::StringShape.new(name: 'UpdateStatus')
370
+ UpdateStatusReason = Shapes::StringShape.new(name: 'UpdateStatusReason')
358
371
  UpdateTrustRequest = Shapes::StructureShape.new(name: 'UpdateTrustRequest')
359
372
  UpdateTrustResult = Shapes::StructureShape.new(name: 'UpdateTrustResult')
373
+ UpdateType = Shapes::StringShape.new(name: 'UpdateType')
374
+ UpdateValue = Shapes::StructureShape.new(name: 'UpdateValue')
360
375
  UseSameUsername = Shapes::BooleanShape.new(name: 'UseSameUsername')
361
376
  UserDoesNotExistException = Shapes::StructureShape.new(name: 'UserDoesNotExistException')
362
377
  UserName = Shapes::StringShape.new(name: 'UserName')
@@ -715,6 +730,16 @@ module Aws::DirectoryService
715
730
  DescribeTrustsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
716
731
  DescribeTrustsResult.struct_class = Types::DescribeTrustsResult
717
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
+
718
743
  DirectoryAlreadyInRegionException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
719
744
  DirectoryAlreadyInRegionException.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "RequestId"))
720
745
  DirectoryAlreadyInRegionException.struct_class = Types::DirectoryAlreadyInRegionException
@@ -765,6 +790,7 @@ module Aws::DirectoryService
765
790
  DirectoryDescription.add_member(:desired_number_of_domain_controllers, Shapes::ShapeRef.new(shape: DesiredNumberOfDomainControllers, location_name: "DesiredNumberOfDomainControllers"))
766
791
  DirectoryDescription.add_member(:owner_directory_description, Shapes::ShapeRef.new(shape: OwnerDirectoryDescription, location_name: "OwnerDirectoryDescription"))
767
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"))
768
794
  DirectoryDescription.struct_class = Types::DirectoryDescription
769
795
 
770
796
  DirectoryDescriptions.member = Shapes::ShapeRef.new(shape: DirectoryDescription)
@@ -775,6 +801,10 @@ module Aws::DirectoryService
775
801
 
776
802
  DirectoryIds.member = Shapes::ShapeRef.new(shape: DirectoryId)
777
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
+
778
808
  DirectoryLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
779
809
  DirectoryLimitExceededException.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "RequestId"))
780
810
  DirectoryLimitExceededException.struct_class = Types::DirectoryLimitExceededException
@@ -1028,6 +1058,9 @@ module Aws::DirectoryService
1028
1058
  NoAvailableCertificateException.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "RequestId"))
1029
1059
  NoAvailableCertificateException.struct_class = Types::NoAvailableCertificateException
1030
1060
 
1061
+ OSUpdateSettings.add_member(:os_version, Shapes::ShapeRef.new(shape: OSVersion, location_name: "OSVersion"))
1062
+ OSUpdateSettings.struct_class = Types::OSUpdateSettings
1063
+
1031
1064
  OrganizationsException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
1032
1065
  OrganizationsException.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "RequestId"))
1033
1066
  OrganizationsException.struct_class = Types::OrganizationsException
@@ -1272,6 +1305,8 @@ module Aws::DirectoryService
1272
1305
  UnsupportedSettingsException.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "RequestId"))
1273
1306
  UnsupportedSettingsException.struct_class = Types::UnsupportedSettingsException
1274
1307
 
1308
+ UpdateActivities.member = Shapes::ShapeRef.new(shape: UpdateInfoEntry)
1309
+
1275
1310
  UpdateConditionalForwarderRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "DirectoryId"))
1276
1311
  UpdateConditionalForwarderRequest.add_member(:remote_domain_name, Shapes::ShapeRef.new(shape: RemoteDomainName, required: true, location_name: "RemoteDomainName"))
1277
1312
  UpdateConditionalForwarderRequest.add_member(:dns_ip_addrs, Shapes::ShapeRef.new(shape: DnsIpAddrs, required: true, location_name: "DnsIpAddrs"))
@@ -1279,6 +1314,24 @@ module Aws::DirectoryService
1279
1314
 
1280
1315
  UpdateConditionalForwarderResult.struct_class = Types::UpdateConditionalForwarderResult
1281
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
+
1282
1335
  UpdateNumberOfDomainControllersRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "DirectoryId"))
1283
1336
  UpdateNumberOfDomainControllersRequest.add_member(:desired_number, Shapes::ShapeRef.new(shape: DesiredNumberOfDomainControllers, required: true, location_name: "DesiredNumber"))
1284
1337
  UpdateNumberOfDomainControllersRequest.struct_class = Types::UpdateNumberOfDomainControllersRequest
@@ -1306,6 +1359,9 @@ module Aws::DirectoryService
1306
1359
  UpdateTrustResult.add_member(:trust_id, Shapes::ShapeRef.new(shape: TrustId, location_name: "TrustId"))
1307
1360
  UpdateTrustResult.struct_class = Types::UpdateTrustResult
1308
1361
 
1362
+ UpdateValue.add_member(:os_update_settings, Shapes::ShapeRef.new(shape: OSUpdateSettings, location_name: "OSUpdateSettings"))
1363
+ UpdateValue.struct_class = Types::UpdateValue
1364
+
1309
1365
  UserDoesNotExistException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
1310
1366
  UserDoesNotExistException.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "RequestId"))
1311
1367
  UserDoesNotExistException.struct_class = Types::UserDoesNotExistException
@@ -1643,6 +1699,12 @@ module Aws::DirectoryService
1643
1699
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1644
1700
  o.errors << Shapes::ShapeRef.new(shape: ClientException)
1645
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
+ )
1646
1708
  end)
1647
1709
 
1648
1710
  api.add_operation(:describe_conditional_forwarders, Seahorse::Model::Operation.new.tap do |o|
@@ -1670,6 +1732,12 @@ module Aws::DirectoryService
1670
1732
  o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
1671
1733
  o.errors << Shapes::ShapeRef.new(shape: ClientException)
1672
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
+ )
1673
1741
  end)
1674
1742
 
1675
1743
  api.add_operation(:describe_domain_controllers, Seahorse::Model::Operation.new.tap do |o|
@@ -1716,6 +1784,12 @@ module Aws::DirectoryService
1716
1784
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1717
1785
  o.errors << Shapes::ShapeRef.new(shape: ClientException)
1718
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
+ )
1719
1793
  end)
1720
1794
 
1721
1795
  api.add_operation(:describe_regions, Seahorse::Model::Operation.new.tap do |o|
@@ -1731,6 +1805,11 @@ module Aws::DirectoryService
1731
1805
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1732
1806
  o.errors << Shapes::ShapeRef.new(shape: ClientException)
1733
1807
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1808
+ o[:pager] = Aws::Pager.new(
1809
+ tokens: {
1810
+ "next_token" => "next_token"
1811
+ }
1812
+ )
1734
1813
  end)
1735
1814
 
1736
1815
  api.add_operation(:describe_settings, Seahorse::Model::Operation.new.tap do |o|
@@ -1759,6 +1838,12 @@ module Aws::DirectoryService
1759
1838
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
1760
1839
  o.errors << Shapes::ShapeRef.new(shape: ClientException)
1761
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
+ )
1762
1847
  end)
1763
1848
 
1764
1849
  api.add_operation(:describe_snapshots, Seahorse::Model::Operation.new.tap do |o|
@@ -1772,6 +1857,12 @@ module Aws::DirectoryService
1772
1857
  o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
1773
1858
  o.errors << Shapes::ShapeRef.new(shape: ClientException)
1774
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
+ )
1775
1866
  end)
1776
1867
 
1777
1868
  api.add_operation(:describe_trusts, Seahorse::Model::Operation.new.tap do |o|
@@ -1786,6 +1877,31 @@ module Aws::DirectoryService
1786
1877
  o.errors << Shapes::ShapeRef.new(shape: ClientException)
1787
1878
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1788
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
+ )
1789
1905
  end)
1790
1906
 
1791
1907
  api.add_operation(:disable_client_authentication, Seahorse::Model::Operation.new.tap do |o|
@@ -1932,6 +2048,12 @@ module Aws::DirectoryService
1932
2048
  o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
1933
2049
  o.errors << Shapes::ShapeRef.new(shape: ClientException)
1934
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
+ )
1935
2057
  end)
1936
2058
 
1937
2059
  api.add_operation(:list_ip_routes, Seahorse::Model::Operation.new.tap do |o|
@@ -1945,6 +2067,12 @@ module Aws::DirectoryService
1945
2067
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1946
2068
  o.errors << Shapes::ShapeRef.new(shape: ClientException)
1947
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
+ )
1948
2076
  end)
1949
2077
 
1950
2078
  api.add_operation(:list_log_subscriptions, Seahorse::Model::Operation.new.tap do |o|
@@ -1957,6 +2085,12 @@ module Aws::DirectoryService
1957
2085
  o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
1958
2086
  o.errors << Shapes::ShapeRef.new(shape: ClientException)
1959
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
+ )
1960
2094
  end)
1961
2095
 
1962
2096
  api.add_operation(:list_schema_extensions, Seahorse::Model::Operation.new.tap do |o|
@@ -1969,6 +2103,12 @@ module Aws::DirectoryService
1969
2103
  o.errors << Shapes::ShapeRef.new(shape: EntityDoesNotExistException)
1970
2104
  o.errors << Shapes::ShapeRef.new(shape: ClientException)
1971
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
+ )
1972
2112
  end)
1973
2113
 
1974
2114
  api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
@@ -1982,6 +2122,12 @@ module Aws::DirectoryService
1982
2122
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1983
2123
  o.errors << Shapes::ShapeRef.new(shape: ClientException)
1984
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
+ )
1985
2131
  end)
1986
2132
 
1987
2133
  api.add_operation(:register_certificate, Seahorse::Model::Operation.new.tap do |o|
@@ -2151,6 +2297,23 @@ module Aws::DirectoryService
2151
2297
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
2152
2298
  end)
2153
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
+
2154
2317
  api.add_operation(:update_number_of_domain_controllers, Seahorse::Model::Operation.new.tap do |o|
2155
2318
  o.name = "UpdateNumberOfDomainControllers"
2156
2319
  o.http_method = "POST"
@@ -37,6 +37,7 @@ module Aws::DirectoryService
37
37
  # * {DirectoryAlreadyInRegionException}
38
38
  # * {DirectoryAlreadySharedException}
39
39
  # * {DirectoryDoesNotExistException}
40
+ # * {DirectoryInDesiredStateException}
40
41
  # * {DirectoryLimitExceededException}
41
42
  # * {DirectoryNotSharedException}
42
43
  # * {DirectoryUnavailableException}
@@ -270,6 +271,26 @@ module Aws::DirectoryService
270
271
  end
271
272
  end
272
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
+
273
294
  class DirectoryLimitExceededException < ServiceError
274
295
 
275
296
  # @param [Seahorse::Client::RequestContext] context
@@ -2156,6 +2156,64 @@ module Aws::DirectoryService
2156
2156
  include Aws::Structure
2157
2157
  end
2158
2158
 
2159
+ # @note When making an API call, you may pass DescribeUpdateDirectoryRequest
2160
+ # data as a hash:
2161
+ #
2162
+ # {
2163
+ # directory_id: "DirectoryId", # required
2164
+ # update_type: "OS", # required, accepts OS
2165
+ # region_name: "RegionName",
2166
+ # next_token: "NextToken",
2167
+ # }
2168
+ #
2169
+ # @!attribute [rw] directory_id
2170
+ # The unique identifier of the directory.
2171
+ # @return [String]
2172
+ #
2173
+ # @!attribute [rw] update_type
2174
+ # The type of updates you want to describe for the directory.
2175
+ # @return [String]
2176
+ #
2177
+ # @!attribute [rw] region_name
2178
+ # The name of the Region.
2179
+ # @return [String]
2180
+ #
2181
+ # @!attribute [rw] next_token
2182
+ # The `DescribeUpdateDirectoryResult`. NextToken value from a previous
2183
+ # call to DescribeUpdateDirectory. Pass null if this is the first
2184
+ # call.
2185
+ # @return [String]
2186
+ #
2187
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeUpdateDirectoryRequest AWS API Documentation
2188
+ #
2189
+ class DescribeUpdateDirectoryRequest < Struct.new(
2190
+ :directory_id,
2191
+ :update_type,
2192
+ :region_name,
2193
+ :next_token)
2194
+ SENSITIVE = []
2195
+ include Aws::Structure
2196
+ end
2197
+
2198
+ # @!attribute [rw] update_activities
2199
+ # The list of update activities on a directory for the requested
2200
+ # update type.
2201
+ # @return [Array<Types::UpdateInfoEntry>]
2202
+ #
2203
+ # @!attribute [rw] next_token
2204
+ # If not null, more results are available. Pass this value for the
2205
+ # `NextToken` parameter.
2206
+ # @return [String]
2207
+ #
2208
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeUpdateDirectoryResult AWS API Documentation
2209
+ #
2210
+ class DescribeUpdateDirectoryResult < Struct.new(
2211
+ :update_activities,
2212
+ :next_token)
2213
+ SENSITIVE = []
2214
+ include Aws::Structure
2215
+ end
2216
+
2159
2217
  # The Region you specified is the same Region where the Managed
2160
2218
  # Microsoft AD directory was created. Specify a different Region and try
2161
2219
  # again.
@@ -2413,6 +2471,10 @@ module Aws::DirectoryService
2413
2471
  # Lists the Regions where the directory has replicated.
2414
2472
  # @return [Types::RegionsInfo]
2415
2473
  #
2474
+ # @!attribute [rw] os_version
2475
+ # The operating system (OS) version of the directory.
2476
+ # @return [String]
2477
+ #
2416
2478
  # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DirectoryDescription AWS API Documentation
2417
2479
  #
2418
2480
  class DirectoryDescription < Struct.new(
@@ -2440,7 +2502,8 @@ module Aws::DirectoryService
2440
2502
  :sso_enabled,
2441
2503
  :desired_number_of_domain_controllers,
2442
2504
  :owner_directory_description,
2443
- :regions_info)
2505
+ :regions_info,
2506
+ :os_version)
2444
2507
  SENSITIVE = [:share_notes]
2445
2508
  include Aws::Structure
2446
2509
  end
@@ -2464,6 +2527,25 @@ module Aws::DirectoryService
2464
2527
  include Aws::Structure
2465
2528
  end
2466
2529
 
2530
+ # The directory is already updated to desired update type settings.
2531
+ #
2532
+ # @!attribute [rw] message
2533
+ # The descriptive message for the exception.
2534
+ # @return [String]
2535
+ #
2536
+ # @!attribute [rw] request_id
2537
+ # The Amazon Web Services request identifier.
2538
+ # @return [String]
2539
+ #
2540
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DirectoryInDesiredStateException AWS API Documentation
2541
+ #
2542
+ class DirectoryInDesiredStateException < Struct.new(
2543
+ :message,
2544
+ :request_id)
2545
+ SENSITIVE = []
2546
+ include Aws::Structure
2547
+ end
2548
+
2467
2549
  # The maximum number of directories in the region has been reached. You
2468
2550
  # can use the GetDirectoryLimits operation to determine your directory
2469
2551
  # limits in the region.
@@ -3744,6 +3826,27 @@ module Aws::DirectoryService
3744
3826
  include Aws::Structure
3745
3827
  end
3746
3828
 
3829
+ # OS version that the directory needs to be updated to.
3830
+ #
3831
+ # @note When making an API call, you may pass OSUpdateSettings
3832
+ # data as a hash:
3833
+ #
3834
+ # {
3835
+ # os_version: "SERVER_2012", # accepts SERVER_2012, SERVER_2019
3836
+ # }
3837
+ #
3838
+ # @!attribute [rw] os_version
3839
+ # OS version that the directory needs to be updated to.
3840
+ # @return [String]
3841
+ #
3842
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/OSUpdateSettings AWS API Documentation
3843
+ #
3844
+ class OSUpdateSettings < Struct.new(
3845
+ :os_version)
3846
+ SENSITIVE = []
3847
+ include Aws::Structure
3848
+ end
3849
+
3747
3850
  # Exception encountered while trying to access your Amazon Web Services
3748
3851
  # organization.
3749
3852
  #
@@ -4997,6 +5100,104 @@ module Aws::DirectoryService
4997
5100
  #
4998
5101
  class UpdateConditionalForwarderResult < Aws::EmptyStructure; end
4999
5102
 
5103
+ # @note When making an API call, you may pass UpdateDirectorySetupRequest
5104
+ # data as a hash:
5105
+ #
5106
+ # {
5107
+ # directory_id: "DirectoryId", # required
5108
+ # update_type: "OS", # required, accepts OS
5109
+ # os_update_settings: {
5110
+ # os_version: "SERVER_2012", # accepts SERVER_2012, SERVER_2019
5111
+ # },
5112
+ # create_snapshot_before_update: false,
5113
+ # }
5114
+ #
5115
+ # @!attribute [rw] directory_id
5116
+ # The identifier of the directory on which you want to perform the
5117
+ # update.
5118
+ # @return [String]
5119
+ #
5120
+ # @!attribute [rw] update_type
5121
+ # The type of update that needs to be performed on the directory. For
5122
+ # example, OS.
5123
+ # @return [String]
5124
+ #
5125
+ # @!attribute [rw] os_update_settings
5126
+ # The settings for the OS update that needs to be performed on the
5127
+ # directory.
5128
+ # @return [Types::OSUpdateSettings]
5129
+ #
5130
+ # @!attribute [rw] create_snapshot_before_update
5131
+ # The boolean that specifies if a snapshot for the directory needs to
5132
+ # be taken before updating the directory.
5133
+ # @return [Boolean]
5134
+ #
5135
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/UpdateDirectorySetupRequest AWS API Documentation
5136
+ #
5137
+ class UpdateDirectorySetupRequest < Struct.new(
5138
+ :directory_id,
5139
+ :update_type,
5140
+ :os_update_settings,
5141
+ :create_snapshot_before_update)
5142
+ SENSITIVE = []
5143
+ include Aws::Structure
5144
+ end
5145
+
5146
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/UpdateDirectorySetupResult AWS API Documentation
5147
+ #
5148
+ class UpdateDirectorySetupResult < Aws::EmptyStructure; end
5149
+
5150
+ # An entry of update information related to a requested update type.
5151
+ #
5152
+ # @!attribute [rw] region
5153
+ # The name of the Region.
5154
+ # @return [String]
5155
+ #
5156
+ # @!attribute [rw] status
5157
+ # The status of the update performed on the directory.
5158
+ # @return [String]
5159
+ #
5160
+ # @!attribute [rw] status_reason
5161
+ # The reason for the current status of the update type activity.
5162
+ # @return [String]
5163
+ #
5164
+ # @!attribute [rw] initiated_by
5165
+ # This specifies if the update was initiated by the customer or by the
5166
+ # service team.
5167
+ # @return [String]
5168
+ #
5169
+ # @!attribute [rw] new_value
5170
+ # The new value of the target setting.
5171
+ # @return [Types::UpdateValue]
5172
+ #
5173
+ # @!attribute [rw] previous_value
5174
+ # The old value of the target setting.
5175
+ # @return [Types::UpdateValue]
5176
+ #
5177
+ # @!attribute [rw] start_time
5178
+ # The start time of the `UpdateDirectorySetup` for the particular
5179
+ # type.
5180
+ # @return [Time]
5181
+ #
5182
+ # @!attribute [rw] last_updated_date_time
5183
+ # The last updated date and time of a particular directory setting.
5184
+ # @return [Time]
5185
+ #
5186
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/UpdateInfoEntry AWS API Documentation
5187
+ #
5188
+ class UpdateInfoEntry < Struct.new(
5189
+ :region,
5190
+ :status,
5191
+ :status_reason,
5192
+ :initiated_by,
5193
+ :new_value,
5194
+ :previous_value,
5195
+ :start_time,
5196
+ :last_updated_date_time)
5197
+ SENSITIVE = []
5198
+ include Aws::Structure
5199
+ end
5200
+
5000
5201
  # @note When making an API call, you may pass UpdateNumberOfDomainControllersRequest
5001
5202
  # data as a hash:
5002
5203
  #
@@ -5155,6 +5356,20 @@ module Aws::DirectoryService
5155
5356
  include Aws::Structure
5156
5357
  end
5157
5358
 
5359
+ # The value for a given type of `UpdateSettings`.
5360
+ #
5361
+ # @!attribute [rw] os_update_settings
5362
+ # The OS update related settings.
5363
+ # @return [Types::OSUpdateSettings]
5364
+ #
5365
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/UpdateValue AWS API Documentation
5366
+ #
5367
+ class UpdateValue < Struct.new(
5368
+ :os_update_settings)
5369
+ SENSITIVE = []
5370
+ include Aws::Structure
5371
+ end
5372
+
5158
5373
  # The user provided a username that does not exist in your directory.
5159
5374
  #
5160
5375
  # @!attribute [rw] message
@@ -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.50.0'
51
+ GEM_VERSION = '1.51.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.50.0
4
+ version: 1.51.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-06-20 00:00:00.000000000 Z
11
+ date: 2022-10-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core