aws-sdk-directoryservice 1.49.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: 783ca4ee53ac5f429870ddc6f64a2a0f6f247b9c9eac787a82edb2ac1e0d5cce
4
- data.tar.gz: 0ed573c9fa0dca7b5d69f7a18adfc7063d5ae5800a73ec004e59b017028523c9
3
+ metadata.gz: e127c16ffb2fa318eba10eb61103b4f8ee65e5329653e636b569ff28811e5e08
4
+ data.tar.gz: b9677edf891428478410a715fd776337c880ea514370f434fcfe07978f41d55e
5
5
  SHA512:
6
- metadata.gz: 4d6599eb087b732832c15073fdf0f55986dcd8a54d59d6c2028f2eaf4fcd622902ffd2e79b2b044ff2ba491c2bcd76606bcab86b8684b45a3dac4bb7708219d2
7
- data.tar.gz: f8c7e1f2e98d190ff7606b4e8b716ef753a5a71893b86c2b4397c589e8bed1dfea3c8456cd2455e5e3554efd42f6a7ea3ed6837bb5b8ce081856c50382538ee9
6
+ metadata.gz: '089b08ecf219537ede37ce367e0ba3a9df8df783097c7694c48920704fabf2e722bbb2422802bd2691100b30c13c199db5df02eded784f9a96c2b4f6497b0d75'
7
+ data.tar.gz: c74ed229e70c298b498cc5e832ce102848655211e9971f803ecd2cf96a0f81de9ad86b36236d8bad0fa61cfc549850b3ec4fc120019c6b8963efdd53a1ebbc75
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
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
+
9
+ 1.50.0 (2022-06-20)
10
+ ------------------
11
+
12
+ * Feature - This release adds support for describing and updating AWS Managed Microsoft AD settings
13
+
4
14
  1.49.0 (2022-02-24)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.49.0
1
+ 1.51.0
@@ -1417,11 +1417,13 @@ 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({
1423
1425
  # directory_id: "DirectoryId", # required
1424
- # type: "SmartCard", # accepts SmartCard
1426
+ # type: "SmartCard", # accepts SmartCard, SmartCardOrPassword
1425
1427
  # next_token: "NextToken",
1426
1428
  # limit: 1,
1427
1429
  # })
@@ -1429,7 +1431,7 @@ module Aws::DirectoryService
1429
1431
  # @example Response structure
1430
1432
  #
1431
1433
  # resp.client_authentication_settings_info #=> Array
1432
- # resp.client_authentication_settings_info[0].type #=> String, one of "SmartCard"
1434
+ # resp.client_authentication_settings_info[0].type #=> String, one of "SmartCard", "SmartCardOrPassword"
1433
1435
  # resp.client_authentication_settings_info[0].status #=> String, one of "Enabled", "Disabled"
1434
1436
  # resp.client_authentication_settings_info[0].last_updated_date_time #=> Time
1435
1437
  # resp.next_token #=> String
@@ -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({
@@ -1813,6 +1822,60 @@ module Aws::DirectoryService
1813
1822
  req.send_request(options)
1814
1823
  end
1815
1824
 
1825
+ # Retrieves information about the configurable settings for the
1826
+ # specified directory.
1827
+ #
1828
+ # @option params [required, String] :directory_id
1829
+ # The identifier of the directory for which to retrieve information.
1830
+ #
1831
+ # @option params [String] :status
1832
+ # The status of the directory settings for which to retrieve
1833
+ # information.
1834
+ #
1835
+ # @option params [String] :next_token
1836
+ # The `DescribeSettingsResult.NextToken` value from a previous call to
1837
+ # DescribeSettings. Pass null if this is the first call.
1838
+ #
1839
+ # @return [Types::DescribeSettingsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1840
+ #
1841
+ # * {Types::DescribeSettingsResult#directory_id #directory_id} => String
1842
+ # * {Types::DescribeSettingsResult#setting_entries #setting_entries} => Array<Types::SettingEntry>
1843
+ # * {Types::DescribeSettingsResult#next_token #next_token} => String
1844
+ #
1845
+ # @example Request syntax with placeholder values
1846
+ #
1847
+ # resp = client.describe_settings({
1848
+ # directory_id: "DirectoryId", # required
1849
+ # status: "Requested", # accepts Requested, Updating, Updated, Failed, Default
1850
+ # next_token: "NextToken",
1851
+ # })
1852
+ #
1853
+ # @example Response structure
1854
+ #
1855
+ # resp.directory_id #=> String
1856
+ # resp.setting_entries #=> Array
1857
+ # resp.setting_entries[0].type #=> String
1858
+ # resp.setting_entries[0].name #=> String
1859
+ # resp.setting_entries[0].allowed_values #=> String
1860
+ # resp.setting_entries[0].applied_value #=> String
1861
+ # resp.setting_entries[0].requested_value #=> String
1862
+ # resp.setting_entries[0].request_status #=> String, one of "Requested", "Updating", "Updated", "Failed", "Default"
1863
+ # resp.setting_entries[0].request_detailed_status #=> Hash
1864
+ # resp.setting_entries[0].request_detailed_status["RegionName"] #=> String, one of "Requested", "Updating", "Updated", "Failed", "Default"
1865
+ # resp.setting_entries[0].request_status_message #=> String
1866
+ # resp.setting_entries[0].last_updated_date_time #=> Time
1867
+ # resp.setting_entries[0].last_requested_date_time #=> Time
1868
+ # resp.next_token #=> String
1869
+ #
1870
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeSettings AWS API Documentation
1871
+ #
1872
+ # @overload describe_settings(params = {})
1873
+ # @param [Hash] params ({})
1874
+ def describe_settings(params = {}, options = {})
1875
+ req = build_request(:describe_settings, params)
1876
+ req.send_request(options)
1877
+ end
1878
+
1816
1879
  # Returns the shared directories in your account.
1817
1880
  #
1818
1881
  # @option params [required, String] :owner_directory_id
@@ -1835,6 +1898,8 @@ module Aws::DirectoryService
1835
1898
  # * {Types::DescribeSharedDirectoriesResult#shared_directories #shared_directories} => Array<Types::SharedDirectory>
1836
1899
  # * {Types::DescribeSharedDirectoriesResult#next_token #next_token} => String
1837
1900
  #
1901
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1902
+ #
1838
1903
  # @example Request syntax with placeholder values
1839
1904
  #
1840
1905
  # resp = client.describe_shared_directories({
@@ -1899,6 +1964,8 @@ module Aws::DirectoryService
1899
1964
  # * {Types::DescribeSnapshotsResult#snapshots #snapshots} => Array<Types::Snapshot>
1900
1965
  # * {Types::DescribeSnapshotsResult#next_token #next_token} => String
1901
1966
  #
1967
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1968
+ #
1902
1969
  # @example Request syntax with placeholder values
1903
1970
  #
1904
1971
  # resp = client.describe_snapshots({
@@ -1957,6 +2024,8 @@ module Aws::DirectoryService
1957
2024
  # * {Types::DescribeTrustsResult#trusts #trusts} => Array<Types::Trust>
1958
2025
  # * {Types::DescribeTrustsResult#next_token #next_token} => String
1959
2026
  #
2027
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2028
+ #
1960
2029
  # @example Request syntax with placeholder values
1961
2030
  #
1962
2031
  # resp = client.describe_trusts({
@@ -1991,6 +2060,59 @@ module Aws::DirectoryService
1991
2060
  req.send_request(options)
1992
2061
  end
1993
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
+
1994
2116
  # Disables alternative client authentication methods for the specified
1995
2117
  # directory.
1996
2118
  #
@@ -2007,7 +2129,7 @@ module Aws::DirectoryService
2007
2129
  #
2008
2130
  # resp = client.disable_client_authentication({
2009
2131
  # directory_id: "DirectoryId", # required
2010
- # type: "SmartCard", # required, accepts SmartCard
2132
+ # type: "SmartCard", # required, accepts SmartCard, SmartCardOrPassword
2011
2133
  # })
2012
2134
  #
2013
2135
  # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DisableClientAuthentication AWS API Documentation
@@ -2128,7 +2250,7 @@ module Aws::DirectoryService
2128
2250
  #
2129
2251
  # resp = client.enable_client_authentication({
2130
2252
  # directory_id: "DirectoryId", # required
2131
- # type: "SmartCard", # required, accepts SmartCard
2253
+ # type: "SmartCard", # required, accepts SmartCard, SmartCardOrPassword
2132
2254
  # })
2133
2255
  #
2134
2256
  # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/EnableClientAuthentication AWS API Documentation
@@ -2326,6 +2448,8 @@ module Aws::DirectoryService
2326
2448
  # * {Types::ListCertificatesResult#next_token #next_token} => String
2327
2449
  # * {Types::ListCertificatesResult#certificates_info #certificates_info} => Array<Types::CertificateInfo>
2328
2450
  #
2451
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2452
+ #
2329
2453
  # @example Request syntax with placeholder values
2330
2454
  #
2331
2455
  # resp = client.list_certificates({
@@ -2372,6 +2496,8 @@ module Aws::DirectoryService
2372
2496
  # * {Types::ListIpRoutesResult#ip_routes_info #ip_routes_info} => Array<Types::IpRouteInfo>
2373
2497
  # * {Types::ListIpRoutesResult#next_token #next_token} => String
2374
2498
  #
2499
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2500
+ #
2375
2501
  # @example Request syntax with placeholder values
2376
2502
  #
2377
2503
  # resp = client.list_ip_routes({
@@ -2421,6 +2547,8 @@ module Aws::DirectoryService
2421
2547
  # * {Types::ListLogSubscriptionsResult#log_subscriptions #log_subscriptions} => Array<Types::LogSubscription>
2422
2548
  # * {Types::ListLogSubscriptionsResult#next_token #next_token} => String
2423
2549
  #
2550
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2551
+ #
2424
2552
  # @example Request syntax with placeholder values
2425
2553
  #
2426
2554
  # resp = client.list_log_subscriptions({
@@ -2464,6 +2592,8 @@ module Aws::DirectoryService
2464
2592
  # * {Types::ListSchemaExtensionsResult#schema_extensions_info #schema_extensions_info} => Array<Types::SchemaExtensionInfo>
2465
2593
  # * {Types::ListSchemaExtensionsResult#next_token #next_token} => String
2466
2594
  #
2595
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2596
+ #
2467
2597
  # @example Request syntax with placeholder values
2468
2598
  #
2469
2599
  # resp = client.list_schema_extensions({
@@ -2509,6 +2639,8 @@ module Aws::DirectoryService
2509
2639
  # * {Types::ListTagsForResourceResult#tags #tags} => Array<Types::Tag>
2510
2640
  # * {Types::ListTagsForResourceResult#next_token #next_token} => String
2511
2641
  #
2642
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2643
+ #
2512
2644
  # @example Request syntax with placeholder values
2513
2645
  #
2514
2646
  # resp = client.list_tags_for_resource({
@@ -2990,6 +3122,46 @@ module Aws::DirectoryService
2990
3122
  req.send_request(options)
2991
3123
  end
2992
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
+
2993
3165
  # Adds or removes domain controllers to or from the directory. Based on
2994
3166
  # the difference between current value and new value (provided through
2995
3167
  # this API call), domain controllers will be added or removed. It may
@@ -3060,6 +3232,43 @@ module Aws::DirectoryService
3060
3232
  req.send_request(options)
3061
3233
  end
3062
3234
 
3235
+ # Updates the configurable settings for the specified directory.
3236
+ #
3237
+ # @option params [required, String] :directory_id
3238
+ # The identifier of the directory for which to update settings.
3239
+ #
3240
+ # @option params [required, Array<Types::Setting>] :settings
3241
+ # The list of Setting objects.
3242
+ #
3243
+ # @return [Types::UpdateSettingsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3244
+ #
3245
+ # * {Types::UpdateSettingsResult#directory_id #directory_id} => String
3246
+ #
3247
+ # @example Request syntax with placeholder values
3248
+ #
3249
+ # resp = client.update_settings({
3250
+ # directory_id: "DirectoryId", # required
3251
+ # settings: [ # required
3252
+ # {
3253
+ # name: "DirectoryConfigurationSettingName", # required
3254
+ # value: "DirectoryConfigurationSettingValue", # required
3255
+ # },
3256
+ # ],
3257
+ # })
3258
+ #
3259
+ # @example Response structure
3260
+ #
3261
+ # resp.directory_id #=> String
3262
+ #
3263
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/UpdateSettings AWS API Documentation
3264
+ #
3265
+ # @overload update_settings(params = {})
3266
+ # @param [Hash] params ({})
3267
+ def update_settings(params = {}, options = {})
3268
+ req = build_request(:update_settings, params)
3269
+ req.send_request(options)
3270
+ end
3271
+
3063
3272
  # Updates the trust that has been set up between your Managed Microsoft
3064
3273
  # AD directory and an self-managed Active Directory.
3065
3274
  #
@@ -3140,7 +3349,7 @@ module Aws::DirectoryService
3140
3349
  params: params,
3141
3350
  config: config)
3142
3351
  context[:gem_name] = 'aws-sdk-directoryservice'
3143
- context[:gem_version] = '1.49.0'
3352
+ context[:gem_version] = '1.51.0'
3144
3353
  Seahorse::Client::Request.new(handlers, context)
3145
3354
  end
3146
3355