aws-sdk-directoryservice 1.50.0 → 1.52.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: 30db5447def4ecf4a163d11b715c3ea4129ac58e78d6d4180316b338955d6caf
4
+ data.tar.gz: 83f85656aea6e3b8821d1821565d7af7f454f891fd3c7d815cee96e821a78545
5
5
  SHA512:
6
- metadata.gz: 1a8f2e3fef5c40394761117f83d0add10daad8a9e63204274b1184aaef8f0a9093bce6579c8c0175bc18a6f226de7bf7ebf3fd340ec2f89d5f10416ac532089c
7
- data.tar.gz: 4dc147d983478e734ef8aaa8fa8e1e2257e8f9372a68f5c219b348b4b4f0ef29b5fba371bb66802b4ecd3a30e298d1265e3796e25565113aaeceb96ddb81ab31
6
+ metadata.gz: f5c5fe975f59456160e157b8f8cd718ff8802a4b5655588913b73aa15bcb68577193392d150fb6ca8fc40d06d07236f0e1f8c52d832c6169eb8111ca41d50b25
7
+ data.tar.gz: 1110b7f99b966369b4c5ba0e612b7a8986a357b933d2ba3f85b7d05ad80c0f675ba06db0c5deaba35b11bce678f44bfbca122cf655140edd8d87428af50b6fa9
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.52.0 (2022-10-25)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.51.0 (2022-10-13)
10
+ ------------------
11
+
12
+ * Feature - This release adds support for describing and updating AWS Managed Microsoft AD set up.
13
+
4
14
  1.50.0 (2022-06-20)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.50.0
1
+ 1.52.0
@@ -30,7 +30,7 @@ require 'aws-sdk-core/plugins/http_checksum.rb'
30
30
  require 'aws-sdk-core/plugins/checksum_algorithm.rb'
31
31
  require 'aws-sdk-core/plugins/defaults_mode.rb'
32
32
  require 'aws-sdk-core/plugins/recursion_detection.rb'
33
- require 'aws-sdk-core/plugins/signature_v4.rb'
33
+ require 'aws-sdk-core/plugins/sign.rb'
34
34
  require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
35
35
 
36
36
  Aws::Plugins::GlobalConfiguration.add_identifier(:directoryservice)
@@ -79,8 +79,9 @@ module Aws::DirectoryService
79
79
  add_plugin(Aws::Plugins::ChecksumAlgorithm)
80
80
  add_plugin(Aws::Plugins::DefaultsMode)
81
81
  add_plugin(Aws::Plugins::RecursionDetection)
82
- add_plugin(Aws::Plugins::SignatureV4)
82
+ add_plugin(Aws::Plugins::Sign)
83
83
  add_plugin(Aws::Plugins::Protocols::JsonRpc)
84
+ add_plugin(Aws::DirectoryService::Plugins::Endpoints)
84
85
 
85
86
  # @overload initialize(options)
86
87
  # @param [Hash] options
@@ -297,6 +298,19 @@ module Aws::DirectoryService
297
298
  # ** Please note ** When response stubbing is enabled, no HTTP
298
299
  # requests are made, and retries are disabled.
299
300
  #
301
+ # @option options [Aws::TokenProvider] :token_provider
302
+ # A Bearer Token Provider. This can be an instance of any one of the
303
+ # following classes:
304
+ #
305
+ # * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
306
+ # tokens.
307
+ #
308
+ # * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an
309
+ # access token generated from `aws login`.
310
+ #
311
+ # When `:token_provider` is not configured directly, the `Aws::TokenProviderChain`
312
+ # will be used to search for tokens configured for your profile in shared configuration files.
313
+ #
300
314
  # @option options [Boolean] :use_dualstack_endpoint
301
315
  # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
302
316
  # will be used if available.
@@ -310,6 +324,9 @@ module Aws::DirectoryService
310
324
  # When `true`, request parameters are validated before
311
325
  # sending the request.
312
326
  #
327
+ # @option options [Aws::DirectoryService::EndpointProvider] :endpoint_provider
328
+ # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::DirectoryService::EndpointParameters`
329
+ #
313
330
  # @option options [URI::HTTP,String] :http_proxy A proxy to send
314
331
  # requests through. Formatted like 'http://proxy.com:123'.
315
332
  #
@@ -1417,6 +1434,8 @@ module Aws::DirectoryService
1417
1434
  # * {Types::DescribeClientAuthenticationSettingsResult#client_authentication_settings_info #client_authentication_settings_info} => Array<Types::ClientAuthenticationSettingInfo>
1418
1435
  # * {Types::DescribeClientAuthenticationSettingsResult#next_token #next_token} => String
1419
1436
  #
1437
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1438
+ #
1420
1439
  # @example Request syntax with placeholder values
1421
1440
  #
1422
1441
  # resp = client.describe_client_authentication_settings({
@@ -1522,6 +1541,8 @@ module Aws::DirectoryService
1522
1541
  # * {Types::DescribeDirectoriesResult#directory_descriptions #directory_descriptions} => Array<Types::DirectoryDescription>
1523
1542
  # * {Types::DescribeDirectoriesResult#next_token #next_token} => String
1524
1543
  #
1544
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1545
+ #
1525
1546
  # @example Request syntax with placeholder values
1526
1547
  #
1527
1548
  # resp = client.describe_directories({
@@ -1601,6 +1622,7 @@ module Aws::DirectoryService
1601
1622
  # resp.directory_descriptions[0].regions_info.primary_region #=> String
1602
1623
  # resp.directory_descriptions[0].regions_info.additional_regions #=> Array
1603
1624
  # resp.directory_descriptions[0].regions_info.additional_regions[0] #=> String
1625
+ # resp.directory_descriptions[0].os_version #=> String, one of "SERVER_2012", "SERVER_2019"
1604
1626
  # resp.next_token #=> String
1605
1627
  #
1606
1628
  # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeDirectories AWS API Documentation
@@ -1736,6 +1758,8 @@ module Aws::DirectoryService
1736
1758
  # * {Types::DescribeLDAPSSettingsResult#ldaps_settings_info #ldaps_settings_info} => Array<Types::LDAPSSettingInfo>
1737
1759
  # * {Types::DescribeLDAPSSettingsResult#next_token #next_token} => String
1738
1760
  #
1761
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1762
+ #
1739
1763
  # @example Request syntax with placeholder values
1740
1764
  #
1741
1765
  # resp = client.describe_ldaps_settings({
@@ -1780,6 +1804,8 @@ module Aws::DirectoryService
1780
1804
  # * {Types::DescribeRegionsResult#regions_description #regions_description} => Array<Types::RegionDescription>
1781
1805
  # * {Types::DescribeRegionsResult#next_token #next_token} => String
1782
1806
  #
1807
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1808
+ #
1783
1809
  # @example Request syntax with placeholder values
1784
1810
  #
1785
1811
  # resp = client.describe_regions({
@@ -1889,6 +1915,8 @@ module Aws::DirectoryService
1889
1915
  # * {Types::DescribeSharedDirectoriesResult#shared_directories #shared_directories} => Array<Types::SharedDirectory>
1890
1916
  # * {Types::DescribeSharedDirectoriesResult#next_token #next_token} => String
1891
1917
  #
1918
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1919
+ #
1892
1920
  # @example Request syntax with placeholder values
1893
1921
  #
1894
1922
  # resp = client.describe_shared_directories({
@@ -1953,6 +1981,8 @@ module Aws::DirectoryService
1953
1981
  # * {Types::DescribeSnapshotsResult#snapshots #snapshots} => Array<Types::Snapshot>
1954
1982
  # * {Types::DescribeSnapshotsResult#next_token #next_token} => String
1955
1983
  #
1984
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1985
+ #
1956
1986
  # @example Request syntax with placeholder values
1957
1987
  #
1958
1988
  # resp = client.describe_snapshots({
@@ -2011,6 +2041,8 @@ module Aws::DirectoryService
2011
2041
  # * {Types::DescribeTrustsResult#trusts #trusts} => Array<Types::Trust>
2012
2042
  # * {Types::DescribeTrustsResult#next_token #next_token} => String
2013
2043
  #
2044
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2045
+ #
2014
2046
  # @example Request syntax with placeholder values
2015
2047
  #
2016
2048
  # resp = client.describe_trusts({
@@ -2045,6 +2077,59 @@ module Aws::DirectoryService
2045
2077
  req.send_request(options)
2046
2078
  end
2047
2079
 
2080
+ # Describes the updates of a directory for a particular update type.
2081
+ #
2082
+ # @option params [required, String] :directory_id
2083
+ # The unique identifier of the directory.
2084
+ #
2085
+ # @option params [required, String] :update_type
2086
+ # The type of updates you want to describe for the directory.
2087
+ #
2088
+ # @option params [String] :region_name
2089
+ # The name of the Region.
2090
+ #
2091
+ # @option params [String] :next_token
2092
+ # The `DescribeUpdateDirectoryResult`. NextToken value from a previous
2093
+ # call to DescribeUpdateDirectory. Pass null if this is the first call.
2094
+ #
2095
+ # @return [Types::DescribeUpdateDirectoryResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2096
+ #
2097
+ # * {Types::DescribeUpdateDirectoryResult#update_activities #update_activities} => Array<Types::UpdateInfoEntry>
2098
+ # * {Types::DescribeUpdateDirectoryResult#next_token #next_token} => String
2099
+ #
2100
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2101
+ #
2102
+ # @example Request syntax with placeholder values
2103
+ #
2104
+ # resp = client.describe_update_directory({
2105
+ # directory_id: "DirectoryId", # required
2106
+ # update_type: "OS", # required, accepts OS
2107
+ # region_name: "RegionName",
2108
+ # next_token: "NextToken",
2109
+ # })
2110
+ #
2111
+ # @example Response structure
2112
+ #
2113
+ # resp.update_activities #=> Array
2114
+ # resp.update_activities[0].region #=> String
2115
+ # resp.update_activities[0].status #=> String, one of "Updated", "Updating", "UpdateFailed"
2116
+ # resp.update_activities[0].status_reason #=> String
2117
+ # resp.update_activities[0].initiated_by #=> String
2118
+ # resp.update_activities[0].new_value.os_update_settings.os_version #=> String, one of "SERVER_2012", "SERVER_2019"
2119
+ # resp.update_activities[0].previous_value.os_update_settings.os_version #=> String, one of "SERVER_2012", "SERVER_2019"
2120
+ # resp.update_activities[0].start_time #=> Time
2121
+ # resp.update_activities[0].last_updated_date_time #=> Time
2122
+ # resp.next_token #=> String
2123
+ #
2124
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeUpdateDirectory AWS API Documentation
2125
+ #
2126
+ # @overload describe_update_directory(params = {})
2127
+ # @param [Hash] params ({})
2128
+ def describe_update_directory(params = {}, options = {})
2129
+ req = build_request(:describe_update_directory, params)
2130
+ req.send_request(options)
2131
+ end
2132
+
2048
2133
  # Disables alternative client authentication methods for the specified
2049
2134
  # directory.
2050
2135
  #
@@ -2380,6 +2465,8 @@ module Aws::DirectoryService
2380
2465
  # * {Types::ListCertificatesResult#next_token #next_token} => String
2381
2466
  # * {Types::ListCertificatesResult#certificates_info #certificates_info} => Array<Types::CertificateInfo>
2382
2467
  #
2468
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2469
+ #
2383
2470
  # @example Request syntax with placeholder values
2384
2471
  #
2385
2472
  # resp = client.list_certificates({
@@ -2426,6 +2513,8 @@ module Aws::DirectoryService
2426
2513
  # * {Types::ListIpRoutesResult#ip_routes_info #ip_routes_info} => Array<Types::IpRouteInfo>
2427
2514
  # * {Types::ListIpRoutesResult#next_token #next_token} => String
2428
2515
  #
2516
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2517
+ #
2429
2518
  # @example Request syntax with placeholder values
2430
2519
  #
2431
2520
  # resp = client.list_ip_routes({
@@ -2475,6 +2564,8 @@ module Aws::DirectoryService
2475
2564
  # * {Types::ListLogSubscriptionsResult#log_subscriptions #log_subscriptions} => Array<Types::LogSubscription>
2476
2565
  # * {Types::ListLogSubscriptionsResult#next_token #next_token} => String
2477
2566
  #
2567
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2568
+ #
2478
2569
  # @example Request syntax with placeholder values
2479
2570
  #
2480
2571
  # resp = client.list_log_subscriptions({
@@ -2518,6 +2609,8 @@ module Aws::DirectoryService
2518
2609
  # * {Types::ListSchemaExtensionsResult#schema_extensions_info #schema_extensions_info} => Array<Types::SchemaExtensionInfo>
2519
2610
  # * {Types::ListSchemaExtensionsResult#next_token #next_token} => String
2520
2611
  #
2612
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2613
+ #
2521
2614
  # @example Request syntax with placeholder values
2522
2615
  #
2523
2616
  # resp = client.list_schema_extensions({
@@ -2563,6 +2656,8 @@ module Aws::DirectoryService
2563
2656
  # * {Types::ListTagsForResourceResult#tags #tags} => Array<Types::Tag>
2564
2657
  # * {Types::ListTagsForResourceResult#next_token #next_token} => String
2565
2658
  #
2659
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2660
+ #
2566
2661
  # @example Request syntax with placeholder values
2567
2662
  #
2568
2663
  # resp = client.list_tags_for_resource({
@@ -3044,6 +3139,46 @@ module Aws::DirectoryService
3044
3139
  req.send_request(options)
3045
3140
  end
3046
3141
 
3142
+ # Updates the directory for a particular update type.
3143
+ #
3144
+ # @option params [required, String] :directory_id
3145
+ # The identifier of the directory on which you want to perform the
3146
+ # update.
3147
+ #
3148
+ # @option params [required, String] :update_type
3149
+ # The type of update that needs to be performed on the directory. For
3150
+ # example, OS.
3151
+ #
3152
+ # @option params [Types::OSUpdateSettings] :os_update_settings
3153
+ # The settings for the OS update that needs to be performed on the
3154
+ # directory.
3155
+ #
3156
+ # @option params [Boolean] :create_snapshot_before_update
3157
+ # The boolean that specifies if a snapshot for the directory needs to be
3158
+ # taken before updating the directory.
3159
+ #
3160
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3161
+ #
3162
+ # @example Request syntax with placeholder values
3163
+ #
3164
+ # resp = client.update_directory_setup({
3165
+ # directory_id: "DirectoryId", # required
3166
+ # update_type: "OS", # required, accepts OS
3167
+ # os_update_settings: {
3168
+ # os_version: "SERVER_2012", # accepts SERVER_2012, SERVER_2019
3169
+ # },
3170
+ # create_snapshot_before_update: false,
3171
+ # })
3172
+ #
3173
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/UpdateDirectorySetup AWS API Documentation
3174
+ #
3175
+ # @overload update_directory_setup(params = {})
3176
+ # @param [Hash] params ({})
3177
+ def update_directory_setup(params = {}, options = {})
3178
+ req = build_request(:update_directory_setup, params)
3179
+ req.send_request(options)
3180
+ end
3181
+
3047
3182
  # Adds or removes domain controllers to or from the directory. Based on
3048
3183
  # the difference between current value and new value (provided through
3049
3184
  # this API call), domain controllers will be added or removed. It may
@@ -3231,7 +3366,7 @@ module Aws::DirectoryService
3231
3366
  params: params,
3232
3367
  config: config)
3233
3368
  context[:gem_name] = 'aws-sdk-directoryservice'
3234
- context[:gem_version] = '1.50.0'
3369
+ context[:gem_version] = '1.52.0'
3235
3370
  Seahorse::Client::Request.new(handlers, context)
3236
3371
  end
3237
3372
 
@@ -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"