aws-sdk-directoryservice 1.6.0 → 1.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8321230608980191cd0f546a8190482fb7da7ca7
4
- data.tar.gz: '08b82dd0d7c892806c9af1348db0e9012150d042'
3
+ metadata.gz: d81d6542743e2b6ed2a93482c586eadbea92c7e1
4
+ data.tar.gz: 62187c0b2eb659f325ac7ef0b49f7af17c6d125e
5
5
  SHA512:
6
- metadata.gz: 2f845f0db50bf8da96959a77c52ec50c8c3f0e91d290fe4f302671b968379e866afb0fbcedcb99416429388782b8d840171ae972acf05d33eaaedf632e8e955c
7
- data.tar.gz: '07068391febed9ddac66736a174a95d5c771847469754ef4a9a4aed9a3446d0500cd1b935c7f99700f7edb0da4f2e87cbeb6d88cbc384f749d6bba068fda43e0'
6
+ metadata.gz: 8587377ea5bd5cceea460c711b20106b60b1299825e8dcd4f6fc0e99766631adf2c9b3e93b055d1d139f40d6dd05bc05e11a02c667d6db0b1ae94231ca4b4607
7
+ data.tar.gz: 225fb1ac31bfd03bff9ddb4e5e2975d29ded2071cc52660a49607a6a9112484697b3fde20d27b88b92ce9d49c62ad43e4bb7571f54a793892bd52b4110434af8
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-directoryservice/customizations'
42
42
  # @service
43
43
  module Aws::DirectoryService
44
44
 
45
- GEM_VERSION = '1.6.0'
45
+ GEM_VERSION = '1.7.0'
46
46
 
47
47
  end
@@ -186,6 +186,44 @@ module Aws::DirectoryService
186
186
 
187
187
  # @!group API Operations
188
188
 
189
+ # Accepts a directory sharing request that was sent from the directory
190
+ # owner account.
191
+ #
192
+ # @option params [required, String] :shared_directory_id
193
+ # Identifier of the shared directory in the directory consumer account.
194
+ # This identifier is different for each directory owner account.
195
+ #
196
+ # @return [Types::AcceptSharedDirectoryResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
197
+ #
198
+ # * {Types::AcceptSharedDirectoryResult#shared_directory #shared_directory} => Types::SharedDirectory
199
+ #
200
+ # @example Request syntax with placeholder values
201
+ #
202
+ # resp = client.accept_shared_directory({
203
+ # shared_directory_id: "DirectoryId", # required
204
+ # })
205
+ #
206
+ # @example Response structure
207
+ #
208
+ # resp.shared_directory.owner_account_id #=> String
209
+ # resp.shared_directory.owner_directory_id #=> String
210
+ # resp.shared_directory.share_method #=> String, one of "ORGANIZATIONS", "HANDSHAKE"
211
+ # resp.shared_directory.shared_account_id #=> String
212
+ # resp.shared_directory.shared_directory_id #=> String
213
+ # resp.shared_directory.share_status #=> String, one of "Shared", "PendingAcceptance", "Rejected", "Rejecting", "RejectFailed", "Sharing", "ShareFailed", "Deleted", "Deleting"
214
+ # resp.shared_directory.share_notes #=> String
215
+ # resp.shared_directory.created_date_time #=> Time
216
+ # resp.shared_directory.last_updated_date_time #=> Time
217
+ #
218
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/AcceptSharedDirectory AWS API Documentation
219
+ #
220
+ # @overload accept_shared_directory(params = {})
221
+ # @param [Hash] params ({})
222
+ def accept_shared_directory(params = {}, options = {})
223
+ req = build_request(:accept_shared_directory, params)
224
+ req.send_request(options)
225
+ end
226
+
189
227
  # If the DNS server for your on-premises domain uses a publicly
190
228
  # addressable IP address, you must add a CIDR address block to correctly
191
229
  # route traffic to and from your Microsoft AD on Amazon Web Services.
@@ -355,9 +393,9 @@ module Aws::DirectoryService
355
393
 
356
394
  # Creates an AD Connector to connect to an on-premises directory.
357
395
  #
358
- # Before you call *ConnectDirectory*, ensure that all of the required
396
+ # Before you call `ConnectDirectory`, ensure that all of the required
359
397
  # permissions have been explicitly granted through a policy. For details
360
- # about what permissions are required to run the *ConnectDirectory*
398
+ # about what permissions are required to run the `ConnectDirectory`
361
399
  # operation, see [AWS Directory Service API Permissions: Actions,
362
400
  # Resources, and Conditions Reference][1].
363
401
  #
@@ -366,7 +404,7 @@ module Aws::DirectoryService
366
404
  # [1]: http://docs.aws.amazon.com/directoryservice/latest/admin-guide/UsingWithDS_IAM_ResourcePermissions.html
367
405
  #
368
406
  # @option params [required, String] :name
369
- # The fully-qualified name of the on-premises directory, such as
407
+ # The fully qualified name of the on-premises directory, such as
370
408
  # `corp.example.com`.
371
409
  #
372
410
  # @option params [String] :short_name
@@ -558,9 +596,9 @@ module Aws::DirectoryService
558
596
 
559
597
  # Creates a Simple AD directory.
560
598
  #
561
- # Before you call *CreateDirectory*, ensure that all of the required
599
+ # Before you call `CreateDirectory`, ensure that all of the required
562
600
  # permissions have been explicitly granted through a policy. For details
563
- # about what permissions are required to run the *CreateDirectory*
601
+ # about what permissions are required to run the `CreateDirectory`
564
602
  # operation, see [AWS Directory Service API Permissions: Actions,
565
603
  # Resources, and Conditions Reference][1].
566
604
  #
@@ -577,7 +615,7 @@ module Aws::DirectoryService
577
615
  #
578
616
  # @option params [required, String] :password
579
617
  # The password for the directory administrator. The directory creation
580
- # process creates a directory administrator account with the username
618
+ # process creates a directory administrator account with the user name
581
619
  # `Administrator` and this password.
582
620
  #
583
621
  # @option params [String] :description
@@ -848,9 +886,9 @@ module Aws::DirectoryService
848
886
 
849
887
  # Deletes an AWS Directory Service directory.
850
888
  #
851
- # Before you call *DeleteDirectory*, ensure that all of the required
889
+ # Before you call `DeleteDirectory`, ensure that all of the required
852
890
  # permissions have been explicitly granted through a policy. For details
853
- # about what permissions are required to run the *DeleteDirectory*
891
+ # about what permissions are required to run the `DeleteDirectory`
854
892
  # operation, see [AWS Directory Service API Permissions: Actions,
855
893
  # Resources, and Conditions Reference][1].
856
894
  #
@@ -1043,17 +1081,17 @@ module Aws::DirectoryService
1043
1081
  # Obtains information about the directories that belong to this account.
1044
1082
  #
1045
1083
  # You can retrieve information about specific directories by passing the
1046
- # directory identifiers in the *DirectoryIds* parameter. Otherwise, all
1084
+ # directory identifiers in the `DirectoryIds` parameter. Otherwise, all
1047
1085
  # directories that belong to the current account are returned.
1048
1086
  #
1049
- # This operation supports pagination with the use of the *NextToken*
1087
+ # This operation supports pagination with the use of the `NextToken`
1050
1088
  # request and response parameters. If more results are available, the
1051
- # *DescribeDirectoriesResult.NextToken* member contains a token that you
1089
+ # `DescribeDirectoriesResult.NextToken` member contains a token that you
1052
1090
  # pass in the next call to DescribeDirectories to retrieve the next set
1053
1091
  # of items.
1054
1092
  #
1055
1093
  # You can also specify a maximum number of return results with the
1056
- # *Limit* parameter.
1094
+ # `Limit` parameter.
1057
1095
  #
1058
1096
  # @option params [Array<String>] :directory_ids
1059
1097
  # A list of identifiers of the directories for which to obtain the
@@ -1063,7 +1101,7 @@ module Aws::DirectoryService
1063
1101
  # An empty list results in an `InvalidParameterException` being thrown.
1064
1102
  #
1065
1103
  # @option params [String] :next_token
1066
- # The *DescribeDirectoriesResult.NextToken* value from a previous call
1104
+ # The `DescribeDirectoriesResult.NextToken` value from a previous call
1067
1105
  # to DescribeDirectories. Pass null if this is the first call.
1068
1106
  #
1069
1107
  # @option params [Integer] :limit
@@ -1098,9 +1136,12 @@ module Aws::DirectoryService
1098
1136
  # resp.directory_descriptions[0].dns_ip_addrs #=> Array
1099
1137
  # resp.directory_descriptions[0].dns_ip_addrs[0] #=> String
1100
1138
  # resp.directory_descriptions[0].stage #=> String, one of "Requested", "Creating", "Created", "Active", "Inoperable", "Impaired", "Restoring", "RestoreFailed", "Deleting", "Deleted", "Failed"
1139
+ # resp.directory_descriptions[0].share_status #=> String, one of "Shared", "PendingAcceptance", "Rejected", "Rejecting", "RejectFailed", "Sharing", "ShareFailed", "Deleted", "Deleting"
1140
+ # resp.directory_descriptions[0].share_method #=> String, one of "ORGANIZATIONS", "HANDSHAKE"
1141
+ # resp.directory_descriptions[0].share_notes #=> String
1101
1142
  # resp.directory_descriptions[0].launch_time #=> Time
1102
1143
  # resp.directory_descriptions[0].stage_last_updated_date_time #=> Time
1103
- # resp.directory_descriptions[0].type #=> String, one of "SimpleAD", "ADConnector", "MicrosoftAD"
1144
+ # resp.directory_descriptions[0].type #=> String, one of "SimpleAD", "ADConnector", "MicrosoftAD", "SharedMicrosoftAD"
1104
1145
  # resp.directory_descriptions[0].vpc_settings.vpc_id #=> String
1105
1146
  # resp.directory_descriptions[0].vpc_settings.subnet_ids #=> Array
1106
1147
  # resp.directory_descriptions[0].vpc_settings.subnet_ids[0] #=> String
@@ -1129,6 +1170,26 @@ module Aws::DirectoryService
1129
1170
  # resp.directory_descriptions[0].stage_reason #=> String
1130
1171
  # resp.directory_descriptions[0].sso_enabled #=> Boolean
1131
1172
  # resp.directory_descriptions[0].desired_number_of_domain_controllers #=> Integer
1173
+ # resp.directory_descriptions[0].owner_directory_description.directory_id #=> String
1174
+ # resp.directory_descriptions[0].owner_directory_description.account_id #=> String
1175
+ # resp.directory_descriptions[0].owner_directory_description.dns_ip_addrs #=> Array
1176
+ # resp.directory_descriptions[0].owner_directory_description.dns_ip_addrs[0] #=> String
1177
+ # resp.directory_descriptions[0].owner_directory_description.vpc_settings.vpc_id #=> String
1178
+ # resp.directory_descriptions[0].owner_directory_description.vpc_settings.subnet_ids #=> Array
1179
+ # resp.directory_descriptions[0].owner_directory_description.vpc_settings.subnet_ids[0] #=> String
1180
+ # resp.directory_descriptions[0].owner_directory_description.vpc_settings.security_group_id #=> String
1181
+ # resp.directory_descriptions[0].owner_directory_description.vpc_settings.availability_zones #=> Array
1182
+ # resp.directory_descriptions[0].owner_directory_description.vpc_settings.availability_zones[0] #=> String
1183
+ # resp.directory_descriptions[0].owner_directory_description.radius_settings.radius_servers #=> Array
1184
+ # resp.directory_descriptions[0].owner_directory_description.radius_settings.radius_servers[0] #=> String
1185
+ # resp.directory_descriptions[0].owner_directory_description.radius_settings.radius_port #=> Integer
1186
+ # resp.directory_descriptions[0].owner_directory_description.radius_settings.radius_timeout #=> Integer
1187
+ # resp.directory_descriptions[0].owner_directory_description.radius_settings.radius_retries #=> Integer
1188
+ # resp.directory_descriptions[0].owner_directory_description.radius_settings.shared_secret #=> String
1189
+ # resp.directory_descriptions[0].owner_directory_description.radius_settings.authentication_protocol #=> String, one of "PAP", "CHAP", "MS-CHAPv1", "MS-CHAPv2"
1190
+ # resp.directory_descriptions[0].owner_directory_description.radius_settings.display_label #=> String
1191
+ # resp.directory_descriptions[0].owner_directory_description.radius_settings.use_same_username #=> Boolean
1192
+ # resp.directory_descriptions[0].owner_directory_description.radius_status #=> String, one of "Creating", "Completed", "Failed"
1132
1193
  # resp.next_token #=> String
1133
1194
  #
1134
1195
  # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeDirectories AWS API Documentation
@@ -1242,6 +1303,60 @@ module Aws::DirectoryService
1242
1303
  req.send_request(options)
1243
1304
  end
1244
1305
 
1306
+ # Returns the shared directories in your account.
1307
+ #
1308
+ # @option params [required, String] :owner_directory_id
1309
+ # Returns the identifier of the directory in the directory owner
1310
+ # account.
1311
+ #
1312
+ # @option params [Array<String>] :shared_directory_ids
1313
+ # A list of identifiers of all shared directories in your account.
1314
+ #
1315
+ # @option params [String] :next_token
1316
+ # The `DescribeSharedDirectoriesResult.NextToken` value from a previous
1317
+ # call to DescribeSharedDirectories. Pass null if this is the first
1318
+ # call.
1319
+ #
1320
+ # @option params [Integer] :limit
1321
+ # The number of shared directories to return in the response object.
1322
+ #
1323
+ # @return [Types::DescribeSharedDirectoriesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1324
+ #
1325
+ # * {Types::DescribeSharedDirectoriesResult#shared_directories #shared_directories} => Array&lt;Types::SharedDirectory&gt;
1326
+ # * {Types::DescribeSharedDirectoriesResult#next_token #next_token} => String
1327
+ #
1328
+ # @example Request syntax with placeholder values
1329
+ #
1330
+ # resp = client.describe_shared_directories({
1331
+ # owner_directory_id: "DirectoryId", # required
1332
+ # shared_directory_ids: ["DirectoryId"],
1333
+ # next_token: "NextToken",
1334
+ # limit: 1,
1335
+ # })
1336
+ #
1337
+ # @example Response structure
1338
+ #
1339
+ # resp.shared_directories #=> Array
1340
+ # resp.shared_directories[0].owner_account_id #=> String
1341
+ # resp.shared_directories[0].owner_directory_id #=> String
1342
+ # resp.shared_directories[0].share_method #=> String, one of "ORGANIZATIONS", "HANDSHAKE"
1343
+ # resp.shared_directories[0].shared_account_id #=> String
1344
+ # resp.shared_directories[0].shared_directory_id #=> String
1345
+ # resp.shared_directories[0].share_status #=> String, one of "Shared", "PendingAcceptance", "Rejected", "Rejecting", "RejectFailed", "Sharing", "ShareFailed", "Deleted", "Deleting"
1346
+ # resp.shared_directories[0].share_notes #=> String
1347
+ # resp.shared_directories[0].created_date_time #=> Time
1348
+ # resp.shared_directories[0].last_updated_date_time #=> Time
1349
+ # resp.next_token #=> String
1350
+ #
1351
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeSharedDirectories AWS API Documentation
1352
+ #
1353
+ # @overload describe_shared_directories(params = {})
1354
+ # @param [Hash] params ({})
1355
+ def describe_shared_directories(params = {}, options = {})
1356
+ req = build_request(:describe_shared_directories, params)
1357
+ req.send_request(options)
1358
+ end
1359
+
1245
1360
  # Obtains information about the directory snapshots that belong to this
1246
1361
  # account.
1247
1362
  #
@@ -1367,7 +1482,7 @@ module Aws::DirectoryService
1367
1482
 
1368
1483
  # Disables multi-factor authentication (MFA) with the Remote
1369
1484
  # Authentication Dial In User Service (RADIUS) server for an AD
1370
- # Connector directory.
1485
+ # Connector or Microsoft AD directory.
1371
1486
  #
1372
1487
  # @option params [required, String] :directory_id
1373
1488
  # The identifier of the directory for which to disable MFA.
@@ -1431,7 +1546,7 @@ module Aws::DirectoryService
1431
1546
 
1432
1547
  # Enables multi-factor authentication (MFA) with the Remote
1433
1548
  # Authentication Dial In User Service (RADIUS) server for an AD
1434
- # Connector directory.
1549
+ # Connector or Microsoft AD directory.
1435
1550
  #
1436
1551
  # @option params [required, String] :directory_id
1437
1552
  # The identifier of the directory for which to enable MFA.
@@ -1776,6 +1891,36 @@ module Aws::DirectoryService
1776
1891
  req.send_request(options)
1777
1892
  end
1778
1893
 
1894
+ # Rejects a directory sharing request that was sent from the directory
1895
+ # owner account.
1896
+ #
1897
+ # @option params [required, String] :shared_directory_id
1898
+ # Identifier of the shared directory in the directory consumer account.
1899
+ # This identifier is different for each directory owner account.
1900
+ #
1901
+ # @return [Types::RejectSharedDirectoryResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1902
+ #
1903
+ # * {Types::RejectSharedDirectoryResult#shared_directory_id #shared_directory_id} => String
1904
+ #
1905
+ # @example Request syntax with placeholder values
1906
+ #
1907
+ # resp = client.reject_shared_directory({
1908
+ # shared_directory_id: "DirectoryId", # required
1909
+ # })
1910
+ #
1911
+ # @example Response structure
1912
+ #
1913
+ # resp.shared_directory_id #=> String
1914
+ #
1915
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RejectSharedDirectory AWS API Documentation
1916
+ #
1917
+ # @overload reject_shared_directory(params = {})
1918
+ # @param [Hash] params ({})
1919
+ def reject_shared_directory(params = {}, options = {})
1920
+ req = build_request(:reject_shared_directory, params)
1921
+ req.send_request(options)
1922
+ end
1923
+
1779
1924
  # Removes IP address blocks from a directory.
1780
1925
  #
1781
1926
  # @option params [required, String] :directory_id
@@ -1837,7 +1982,7 @@ module Aws::DirectoryService
1837
1982
  # which the user resides.
1838
1983
  #
1839
1984
  # @option params [required, String] :user_name
1840
- # The username of the user whose password will be reset.
1985
+ # The user name of the user whose password will be reset.
1841
1986
  #
1842
1987
  # @option params [required, String] :new_password
1843
1988
  # The new password that will be reset.
@@ -1892,6 +2037,75 @@ module Aws::DirectoryService
1892
2037
  req.send_request(options)
1893
2038
  end
1894
2039
 
2040
+ # Shares a specified directory (`DirectoryId`) in your AWS account
2041
+ # (directory owner) with another AWS account (directory consumer). With
2042
+ # this operation you can use your directory from any AWS account and
2043
+ # from any Amazon VPC within an AWS Region.
2044
+ #
2045
+ # When you share your AWS Managed Microsoft AD directory, AWS Directory
2046
+ # Service creates a shared directory in the directory consumer account.
2047
+ # This shared directory contains the metadata to provide access to the
2048
+ # directory within the directory owner account. The shared directory is
2049
+ # visible in all VPCs in the directory consumer account.
2050
+ #
2051
+ # The `ShareMethod` parameter determines whether the specified directory
2052
+ # can be shared between AWS accounts inside the same AWS organization
2053
+ # (`ORGANIZATIONS`). It also determines whether you can share the
2054
+ # directory with any other AWS account either inside or outside of the
2055
+ # organization (`HANDSHAKE`).
2056
+ #
2057
+ # The `ShareNotes` parameter is only used when `HANDSHAKE` is called,
2058
+ # which sends a directory sharing request to the directory consumer.
2059
+ #
2060
+ # @option params [required, String] :directory_id
2061
+ # Identifier of the AWS Managed Microsoft AD directory that you want to
2062
+ # share with other AWS accounts.
2063
+ #
2064
+ # @option params [String] :share_notes
2065
+ # A directory share request that is sent by the directory owner to the
2066
+ # directory consumer. The request includes a typed message to help the
2067
+ # directory consumer administrator determine whether to approve or
2068
+ # reject the share invitation.
2069
+ #
2070
+ # @option params [required, Types::ShareTarget] :share_target
2071
+ # Identifier for the directory consumer account with whom the directory
2072
+ # is to be shared.
2073
+ #
2074
+ # @option params [required, String] :share_method
2075
+ # The method used when sharing a directory to determine whether the
2076
+ # directory should be shared within your AWS organization
2077
+ # (`ORGANIZATIONS`) or with any AWS account by sending a directory
2078
+ # sharing request (`HANDSHAKE`).
2079
+ #
2080
+ # @return [Types::ShareDirectoryResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2081
+ #
2082
+ # * {Types::ShareDirectoryResult#shared_directory_id #shared_directory_id} => String
2083
+ #
2084
+ # @example Request syntax with placeholder values
2085
+ #
2086
+ # resp = client.share_directory({
2087
+ # directory_id: "DirectoryId", # required
2088
+ # share_notes: "Notes",
2089
+ # share_target: { # required
2090
+ # id: "TargetId", # required
2091
+ # type: "ACCOUNT", # required, accepts ACCOUNT
2092
+ # },
2093
+ # share_method: "ORGANIZATIONS", # required, accepts ORGANIZATIONS, HANDSHAKE
2094
+ # })
2095
+ #
2096
+ # @example Response structure
2097
+ #
2098
+ # resp.shared_directory_id #=> String
2099
+ #
2100
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ShareDirectory AWS API Documentation
2101
+ #
2102
+ # @overload share_directory(params = {})
2103
+ # @param [Hash] params ({})
2104
+ def share_directory(params = {}, options = {})
2105
+ req = build_request(:share_directory, params)
2106
+ req.send_request(options)
2107
+ end
2108
+
1895
2109
  # Applies a schema extension to a Microsoft AD directory.
1896
2110
  #
1897
2111
  # @option params [required, String] :directory_id
@@ -1937,6 +2151,44 @@ module Aws::DirectoryService
1937
2151
  req.send_request(options)
1938
2152
  end
1939
2153
 
2154
+ # Stops the directory sharing between the directory owner and consumer
2155
+ # accounts.
2156
+ #
2157
+ # @option params [required, String] :directory_id
2158
+ # The identifier of the AWS Managed Microsoft AD directory that you want
2159
+ # to stop sharing.
2160
+ #
2161
+ # @option params [required, Types::UnshareTarget] :unshare_target
2162
+ # Identifier for the directory consumer account with whom the directory
2163
+ # has to be unshared.
2164
+ #
2165
+ # @return [Types::UnshareDirectoryResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2166
+ #
2167
+ # * {Types::UnshareDirectoryResult#shared_directory_id #shared_directory_id} => String
2168
+ #
2169
+ # @example Request syntax with placeholder values
2170
+ #
2171
+ # resp = client.unshare_directory({
2172
+ # directory_id: "DirectoryId", # required
2173
+ # unshare_target: { # required
2174
+ # id: "TargetId", # required
2175
+ # type: "ACCOUNT", # required, accepts ACCOUNT
2176
+ # },
2177
+ # })
2178
+ #
2179
+ # @example Response structure
2180
+ #
2181
+ # resp.shared_directory_id #=> String
2182
+ #
2183
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/UnshareDirectory AWS API Documentation
2184
+ #
2185
+ # @overload unshare_directory(params = {})
2186
+ # @param [Hash] params ({})
2187
+ def unshare_directory(params = {}, options = {})
2188
+ req = build_request(:unshare_directory, params)
2189
+ req.send_request(options)
2190
+ end
2191
+
1940
2192
  # Updates a conditional forwarder that has been set up for your AWS
1941
2193
  # directory.
1942
2194
  #
@@ -2004,7 +2256,7 @@ module Aws::DirectoryService
2004
2256
  end
2005
2257
 
2006
2258
  # Updates the Remote Authentication Dial In User Service (RADIUS) server
2007
- # information for an AD Connector directory.
2259
+ # information for an AD Connector or Microsoft AD directory.
2008
2260
  #
2009
2261
  # @option params [required, String] :directory_id
2010
2262
  # The identifier of the directory for which to update the RADIUS server
@@ -2086,7 +2338,7 @@ module Aws::DirectoryService
2086
2338
  params: params,
2087
2339
  config: config)
2088
2340
  context[:gem_name] = 'aws-sdk-directoryservice'
2089
- context[:gem_version] = '1.6.0'
2341
+ context[:gem_version] = '1.7.0'
2090
2342
  Seahorse::Client::Request.new(handlers, context)
2091
2343
  end
2092
2344
 
@@ -11,6 +11,9 @@ module Aws::DirectoryService
11
11
 
12
12
  include Seahorse::Model
13
13
 
14
+ AcceptSharedDirectoryRequest = Shapes::StructureShape.new(name: 'AcceptSharedDirectoryRequest')
15
+ AcceptSharedDirectoryResult = Shapes::StructureShape.new(name: 'AcceptSharedDirectoryResult')
16
+ AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
14
17
  AccessUrl = Shapes::StringShape.new(name: 'AccessUrl')
15
18
  AddIpRoutesRequest = Shapes::StructureShape.new(name: 'AddIpRoutesRequest')
16
19
  AddIpRoutesResult = Shapes::StructureShape.new(name: 'AddIpRoutesResult')
@@ -58,6 +61,7 @@ module Aws::DirectoryService
58
61
  CreateTrustRequest = Shapes::StructureShape.new(name: 'CreateTrustRequest')
59
62
  CreateTrustResult = Shapes::StructureShape.new(name: 'CreateTrustResult')
60
63
  CreatedDateTime = Shapes::TimestampShape.new(name: 'CreatedDateTime')
64
+ CustomerId = Shapes::StringShape.new(name: 'CustomerId')
61
65
  CustomerUserName = Shapes::StringShape.new(name: 'CustomerUserName')
62
66
  DeleteAssociatedConditionalForwarder = Shapes::BooleanShape.new(name: 'DeleteAssociatedConditionalForwarder')
63
67
  DeleteConditionalForwarderRequest = Shapes::StructureShape.new(name: 'DeleteConditionalForwarderRequest')
@@ -80,12 +84,15 @@ module Aws::DirectoryService
80
84
  DescribeDomainControllersResult = Shapes::StructureShape.new(name: 'DescribeDomainControllersResult')
81
85
  DescribeEventTopicsRequest = Shapes::StructureShape.new(name: 'DescribeEventTopicsRequest')
82
86
  DescribeEventTopicsResult = Shapes::StructureShape.new(name: 'DescribeEventTopicsResult')
87
+ DescribeSharedDirectoriesRequest = Shapes::StructureShape.new(name: 'DescribeSharedDirectoriesRequest')
88
+ DescribeSharedDirectoriesResult = Shapes::StructureShape.new(name: 'DescribeSharedDirectoriesResult')
83
89
  DescribeSnapshotsRequest = Shapes::StructureShape.new(name: 'DescribeSnapshotsRequest')
84
90
  DescribeSnapshotsResult = Shapes::StructureShape.new(name: 'DescribeSnapshotsResult')
85
91
  DescribeTrustsRequest = Shapes::StructureShape.new(name: 'DescribeTrustsRequest')
86
92
  DescribeTrustsResult = Shapes::StructureShape.new(name: 'DescribeTrustsResult')
87
93
  Description = Shapes::StringShape.new(name: 'Description')
88
94
  DesiredNumberOfDomainControllers = Shapes::IntegerShape.new(name: 'DesiredNumberOfDomainControllers')
95
+ DirectoryAlreadySharedException = Shapes::StructureShape.new(name: 'DirectoryAlreadySharedException')
89
96
  DirectoryConnectSettings = Shapes::StructureShape.new(name: 'DirectoryConnectSettings')
90
97
  DirectoryConnectSettingsDescription = Shapes::StructureShape.new(name: 'DirectoryConnectSettingsDescription')
91
98
  DirectoryDescription = Shapes::StructureShape.new(name: 'DirectoryDescription')
@@ -96,6 +103,7 @@ module Aws::DirectoryService
96
103
  DirectoryLimitExceededException = Shapes::StructureShape.new(name: 'DirectoryLimitExceededException')
97
104
  DirectoryLimits = Shapes::StructureShape.new(name: 'DirectoryLimits')
98
105
  DirectoryName = Shapes::StringShape.new(name: 'DirectoryName')
106
+ DirectoryNotSharedException = Shapes::StructureShape.new(name: 'DirectoryNotSharedException')
99
107
  DirectoryShortName = Shapes::StringShape.new(name: 'DirectoryShortName')
100
108
  DirectorySize = Shapes::StringShape.new(name: 'DirectorySize')
101
109
  DirectoryStage = Shapes::StringShape.new(name: 'DirectoryStage')
@@ -133,6 +141,7 @@ module Aws::DirectoryService
133
141
  InvalidNextTokenException = Shapes::StructureShape.new(name: 'InvalidNextTokenException')
134
142
  InvalidParameterException = Shapes::StructureShape.new(name: 'InvalidParameterException')
135
143
  InvalidPasswordException = Shapes::StructureShape.new(name: 'InvalidPasswordException')
144
+ InvalidTargetException = Shapes::StructureShape.new(name: 'InvalidTargetException')
136
145
  IpAddr = Shapes::StringShape.new(name: 'IpAddr')
137
146
  IpAddrs = Shapes::ListShape.new(name: 'IpAddrs')
138
147
  IpRoute = Shapes::StructureShape.new(name: 'IpRoute')
@@ -159,7 +168,10 @@ module Aws::DirectoryService
159
168
  LogSubscriptions = Shapes::ListShape.new(name: 'LogSubscriptions')
160
169
  ManualSnapshotsLimitReached = Shapes::BooleanShape.new(name: 'ManualSnapshotsLimitReached')
161
170
  NextToken = Shapes::StringShape.new(name: 'NextToken')
171
+ Notes = Shapes::StringShape.new(name: 'Notes')
162
172
  OrganizationalUnitDN = Shapes::StringShape.new(name: 'OrganizationalUnitDN')
173
+ OrganizationsException = Shapes::StructureShape.new(name: 'OrganizationsException')
174
+ OwnerDirectoryDescription = Shapes::StructureShape.new(name: 'OwnerDirectoryDescription')
163
175
  Password = Shapes::StringShape.new(name: 'Password')
164
176
  PortNumber = Shapes::IntegerShape.new(name: 'PortNumber')
165
177
  RadiusAuthenticationProtocol = Shapes::StringShape.new(name: 'RadiusAuthenticationProtocol')
@@ -171,6 +183,8 @@ module Aws::DirectoryService
171
183
  RadiusTimeout = Shapes::IntegerShape.new(name: 'RadiusTimeout')
172
184
  RegisterEventTopicRequest = Shapes::StructureShape.new(name: 'RegisterEventTopicRequest')
173
185
  RegisterEventTopicResult = Shapes::StructureShape.new(name: 'RegisterEventTopicResult')
186
+ RejectSharedDirectoryRequest = Shapes::StructureShape.new(name: 'RejectSharedDirectoryRequest')
187
+ RejectSharedDirectoryResult = Shapes::StructureShape.new(name: 'RejectSharedDirectoryResult')
174
188
  RemoteDomainName = Shapes::StringShape.new(name: 'RemoteDomainName')
175
189
  RemoteDomainNames = Shapes::ListShape.new(name: 'RemoteDomainNames')
176
190
  RemoveIpRoutesRequest = Shapes::StructureShape.new(name: 'RemoveIpRoutesRequest')
@@ -194,6 +208,14 @@ module Aws::DirectoryService
194
208
  Server = Shapes::StringShape.new(name: 'Server')
195
209
  Servers = Shapes::ListShape.new(name: 'Servers')
196
210
  ServiceException = Shapes::StructureShape.new(name: 'ServiceException')
211
+ ShareDirectoryRequest = Shapes::StructureShape.new(name: 'ShareDirectoryRequest')
212
+ ShareDirectoryResult = Shapes::StructureShape.new(name: 'ShareDirectoryResult')
213
+ ShareLimitExceededException = Shapes::StructureShape.new(name: 'ShareLimitExceededException')
214
+ ShareMethod = Shapes::StringShape.new(name: 'ShareMethod')
215
+ ShareStatus = Shapes::StringShape.new(name: 'ShareStatus')
216
+ ShareTarget = Shapes::StructureShape.new(name: 'ShareTarget')
217
+ SharedDirectories = Shapes::ListShape.new(name: 'SharedDirectories')
218
+ SharedDirectory = Shapes::StructureShape.new(name: 'SharedDirectory')
197
219
  Snapshot = Shapes::StructureShape.new(name: 'Snapshot')
198
220
  SnapshotId = Shapes::StringShape.new(name: 'SnapshotId')
199
221
  SnapshotIds = Shapes::ListShape.new(name: 'SnapshotIds')
@@ -219,6 +241,8 @@ module Aws::DirectoryService
219
241
  TagLimitExceededException = Shapes::StructureShape.new(name: 'TagLimitExceededException')
220
242
  TagValue = Shapes::StringShape.new(name: 'TagValue')
221
243
  Tags = Shapes::ListShape.new(name: 'Tags')
244
+ TargetId = Shapes::StringShape.new(name: 'TargetId')
245
+ TargetType = Shapes::StringShape.new(name: 'TargetType')
222
246
  TopicArn = Shapes::StringShape.new(name: 'TopicArn')
223
247
  TopicName = Shapes::StringShape.new(name: 'TopicName')
224
248
  TopicNames = Shapes::ListShape.new(name: 'TopicNames')
@@ -232,6 +256,9 @@ module Aws::DirectoryService
232
256
  TrustStateReason = Shapes::StringShape.new(name: 'TrustStateReason')
233
257
  TrustType = Shapes::StringShape.new(name: 'TrustType')
234
258
  Trusts = Shapes::ListShape.new(name: 'Trusts')
259
+ UnshareDirectoryRequest = Shapes::StructureShape.new(name: 'UnshareDirectoryRequest')
260
+ UnshareDirectoryResult = Shapes::StructureShape.new(name: 'UnshareDirectoryResult')
261
+ UnshareTarget = Shapes::StructureShape.new(name: 'UnshareTarget')
235
262
  UnsupportedOperationException = Shapes::StructureShape.new(name: 'UnsupportedOperationException')
236
263
  UpdateConditionalForwarderRequest = Shapes::StructureShape.new(name: 'UpdateConditionalForwarderRequest')
237
264
  UpdateConditionalForwarderResult = Shapes::StructureShape.new(name: 'UpdateConditionalForwarderResult')
@@ -248,6 +275,12 @@ module Aws::DirectoryService
248
275
  VerifyTrustResult = Shapes::StructureShape.new(name: 'VerifyTrustResult')
249
276
  VpcId = Shapes::StringShape.new(name: 'VpcId')
250
277
 
278
+ AcceptSharedDirectoryRequest.add_member(:shared_directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "SharedDirectoryId"))
279
+ AcceptSharedDirectoryRequest.struct_class = Types::AcceptSharedDirectoryRequest
280
+
281
+ AcceptSharedDirectoryResult.add_member(:shared_directory, Shapes::ShapeRef.new(shape: SharedDirectory, location_name: "SharedDirectory"))
282
+ AcceptSharedDirectoryResult.struct_class = Types::AcceptSharedDirectoryResult
283
+
251
284
  AddIpRoutesRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "DirectoryId"))
252
285
  AddIpRoutesRequest.add_member(:ip_routes, Shapes::ShapeRef.new(shape: IpRoutes, required: true, location_name: "IpRoutes"))
253
286
  AddIpRoutesRequest.add_member(:update_security_group_for_directory_controllers, Shapes::ShapeRef.new(shape: UpdateSecurityGroupForDirectoryControllers, location_name: "UpdateSecurityGroupForDirectoryControllers"))
@@ -440,6 +473,16 @@ module Aws::DirectoryService
440
473
  DescribeEventTopicsResult.add_member(:event_topics, Shapes::ShapeRef.new(shape: EventTopics, location_name: "EventTopics"))
441
474
  DescribeEventTopicsResult.struct_class = Types::DescribeEventTopicsResult
442
475
 
476
+ DescribeSharedDirectoriesRequest.add_member(:owner_directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "OwnerDirectoryId"))
477
+ DescribeSharedDirectoriesRequest.add_member(:shared_directory_ids, Shapes::ShapeRef.new(shape: DirectoryIds, location_name: "SharedDirectoryIds"))
478
+ DescribeSharedDirectoriesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
479
+ DescribeSharedDirectoriesRequest.add_member(:limit, Shapes::ShapeRef.new(shape: Limit, location_name: "Limit"))
480
+ DescribeSharedDirectoriesRequest.struct_class = Types::DescribeSharedDirectoriesRequest
481
+
482
+ DescribeSharedDirectoriesResult.add_member(:shared_directories, Shapes::ShapeRef.new(shape: SharedDirectories, location_name: "SharedDirectories"))
483
+ DescribeSharedDirectoriesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
484
+ DescribeSharedDirectoriesResult.struct_class = Types::DescribeSharedDirectoriesResult
485
+
443
486
  DescribeSnapshotsRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, location_name: "DirectoryId"))
444
487
  DescribeSnapshotsRequest.add_member(:snapshot_ids, Shapes::ShapeRef.new(shape: SnapshotIds, location_name: "SnapshotIds"))
445
488
  DescribeSnapshotsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
@@ -484,6 +527,9 @@ module Aws::DirectoryService
484
527
  DirectoryDescription.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
485
528
  DirectoryDescription.add_member(:dns_ip_addrs, Shapes::ShapeRef.new(shape: DnsIpAddrs, location_name: "DnsIpAddrs"))
486
529
  DirectoryDescription.add_member(:stage, Shapes::ShapeRef.new(shape: DirectoryStage, location_name: "Stage"))
530
+ DirectoryDescription.add_member(:share_status, Shapes::ShapeRef.new(shape: ShareStatus, location_name: "ShareStatus"))
531
+ DirectoryDescription.add_member(:share_method, Shapes::ShapeRef.new(shape: ShareMethod, location_name: "ShareMethod"))
532
+ DirectoryDescription.add_member(:share_notes, Shapes::ShapeRef.new(shape: Notes, location_name: "ShareNotes"))
487
533
  DirectoryDescription.add_member(:launch_time, Shapes::ShapeRef.new(shape: LaunchTime, location_name: "LaunchTime"))
488
534
  DirectoryDescription.add_member(:stage_last_updated_date_time, Shapes::ShapeRef.new(shape: LastUpdatedDateTime, location_name: "StageLastUpdatedDateTime"))
489
535
  DirectoryDescription.add_member(:type, Shapes::ShapeRef.new(shape: DirectoryType, location_name: "Type"))
@@ -494,6 +540,7 @@ module Aws::DirectoryService
494
540
  DirectoryDescription.add_member(:stage_reason, Shapes::ShapeRef.new(shape: StageReason, location_name: "StageReason"))
495
541
  DirectoryDescription.add_member(:sso_enabled, Shapes::ShapeRef.new(shape: SsoEnabled, location_name: "SsoEnabled"))
496
542
  DirectoryDescription.add_member(:desired_number_of_domain_controllers, Shapes::ShapeRef.new(shape: DesiredNumberOfDomainControllers, location_name: "DesiredNumberOfDomainControllers"))
543
+ DirectoryDescription.add_member(:owner_directory_description, Shapes::ShapeRef.new(shape: OwnerDirectoryDescription, location_name: "OwnerDirectoryDescription"))
497
544
  DirectoryDescription.struct_class = Types::DirectoryDescription
498
545
 
499
546
  DirectoryDescriptions.member = Shapes::ShapeRef.new(shape: DirectoryDescription)
@@ -645,6 +692,14 @@ module Aws::DirectoryService
645
692
 
646
693
  LogSubscriptions.member = Shapes::ShapeRef.new(shape: LogSubscription)
647
694
 
695
+ OwnerDirectoryDescription.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, location_name: "DirectoryId"))
696
+ OwnerDirectoryDescription.add_member(:account_id, Shapes::ShapeRef.new(shape: CustomerId, location_name: "AccountId"))
697
+ OwnerDirectoryDescription.add_member(:dns_ip_addrs, Shapes::ShapeRef.new(shape: DnsIpAddrs, location_name: "DnsIpAddrs"))
698
+ OwnerDirectoryDescription.add_member(:vpc_settings, Shapes::ShapeRef.new(shape: DirectoryVpcSettingsDescription, location_name: "VpcSettings"))
699
+ OwnerDirectoryDescription.add_member(:radius_settings, Shapes::ShapeRef.new(shape: RadiusSettings, location_name: "RadiusSettings"))
700
+ OwnerDirectoryDescription.add_member(:radius_status, Shapes::ShapeRef.new(shape: RadiusStatus, location_name: "RadiusStatus"))
701
+ OwnerDirectoryDescription.struct_class = Types::OwnerDirectoryDescription
702
+
648
703
  RadiusSettings.add_member(:radius_servers, Shapes::ShapeRef.new(shape: Servers, location_name: "RadiusServers"))
649
704
  RadiusSettings.add_member(:radius_port, Shapes::ShapeRef.new(shape: PortNumber, location_name: "RadiusPort"))
650
705
  RadiusSettings.add_member(:radius_timeout, Shapes::ShapeRef.new(shape: RadiusTimeout, location_name: "RadiusTimeout"))
@@ -661,6 +716,12 @@ module Aws::DirectoryService
661
716
 
662
717
  RegisterEventTopicResult.struct_class = Types::RegisterEventTopicResult
663
718
 
719
+ RejectSharedDirectoryRequest.add_member(:shared_directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "SharedDirectoryId"))
720
+ RejectSharedDirectoryRequest.struct_class = Types::RejectSharedDirectoryRequest
721
+
722
+ RejectSharedDirectoryResult.add_member(:shared_directory_id, Shapes::ShapeRef.new(shape: DirectoryId, location_name: "SharedDirectoryId"))
723
+ RejectSharedDirectoryResult.struct_class = Types::RejectSharedDirectoryResult
724
+
664
725
  RemoteDomainNames.member = Shapes::ShapeRef.new(shape: RemoteDomainName)
665
726
 
666
727
  RemoveIpRoutesRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "DirectoryId"))
@@ -700,6 +761,32 @@ module Aws::DirectoryService
700
761
 
701
762
  Servers.member = Shapes::ShapeRef.new(shape: Server)
702
763
 
764
+ ShareDirectoryRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "DirectoryId"))
765
+ ShareDirectoryRequest.add_member(:share_notes, Shapes::ShapeRef.new(shape: Notes, location_name: "ShareNotes"))
766
+ ShareDirectoryRequest.add_member(:share_target, Shapes::ShapeRef.new(shape: ShareTarget, required: true, location_name: "ShareTarget"))
767
+ ShareDirectoryRequest.add_member(:share_method, Shapes::ShapeRef.new(shape: ShareMethod, required: true, location_name: "ShareMethod"))
768
+ ShareDirectoryRequest.struct_class = Types::ShareDirectoryRequest
769
+
770
+ ShareDirectoryResult.add_member(:shared_directory_id, Shapes::ShapeRef.new(shape: DirectoryId, location_name: "SharedDirectoryId"))
771
+ ShareDirectoryResult.struct_class = Types::ShareDirectoryResult
772
+
773
+ ShareTarget.add_member(:id, Shapes::ShapeRef.new(shape: TargetId, required: true, location_name: "Id"))
774
+ ShareTarget.add_member(:type, Shapes::ShapeRef.new(shape: TargetType, required: true, location_name: "Type"))
775
+ ShareTarget.struct_class = Types::ShareTarget
776
+
777
+ SharedDirectories.member = Shapes::ShapeRef.new(shape: SharedDirectory)
778
+
779
+ SharedDirectory.add_member(:owner_account_id, Shapes::ShapeRef.new(shape: CustomerId, location_name: "OwnerAccountId"))
780
+ SharedDirectory.add_member(:owner_directory_id, Shapes::ShapeRef.new(shape: DirectoryId, location_name: "OwnerDirectoryId"))
781
+ SharedDirectory.add_member(:share_method, Shapes::ShapeRef.new(shape: ShareMethod, location_name: "ShareMethod"))
782
+ SharedDirectory.add_member(:shared_account_id, Shapes::ShapeRef.new(shape: CustomerId, location_name: "SharedAccountId"))
783
+ SharedDirectory.add_member(:shared_directory_id, Shapes::ShapeRef.new(shape: DirectoryId, location_name: "SharedDirectoryId"))
784
+ SharedDirectory.add_member(:share_status, Shapes::ShapeRef.new(shape: ShareStatus, location_name: "ShareStatus"))
785
+ SharedDirectory.add_member(:share_notes, Shapes::ShapeRef.new(shape: Notes, location_name: "ShareNotes"))
786
+ SharedDirectory.add_member(:created_date_time, Shapes::ShapeRef.new(shape: CreatedDateTime, location_name: "CreatedDateTime"))
787
+ SharedDirectory.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: LastUpdatedDateTime, location_name: "LastUpdatedDateTime"))
788
+ SharedDirectory.struct_class = Types::SharedDirectory
789
+
703
790
  Snapshot.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, location_name: "DirectoryId"))
704
791
  Snapshot.add_member(:snapshot_id, Shapes::ShapeRef.new(shape: SnapshotId, location_name: "SnapshotId"))
705
792
  Snapshot.add_member(:type, Shapes::ShapeRef.new(shape: SnapshotType, location_name: "Type"))
@@ -754,6 +841,17 @@ module Aws::DirectoryService
754
841
 
755
842
  Trusts.member = Shapes::ShapeRef.new(shape: Trust)
756
843
 
844
+ UnshareDirectoryRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "DirectoryId"))
845
+ UnshareDirectoryRequest.add_member(:unshare_target, Shapes::ShapeRef.new(shape: UnshareTarget, required: true, location_name: "UnshareTarget"))
846
+ UnshareDirectoryRequest.struct_class = Types::UnshareDirectoryRequest
847
+
848
+ UnshareDirectoryResult.add_member(:shared_directory_id, Shapes::ShapeRef.new(shape: DirectoryId, location_name: "SharedDirectoryId"))
849
+ UnshareDirectoryResult.struct_class = Types::UnshareDirectoryResult
850
+
851
+ UnshareTarget.add_member(:id, Shapes::ShapeRef.new(shape: TargetId, required: true, location_name: "Id"))
852
+ UnshareTarget.add_member(:type, Shapes::ShapeRef.new(shape: TargetType, required: true, location_name: "Type"))
853
+ UnshareTarget.struct_class = Types::UnshareTarget
854
+
757
855
  UpdateConditionalForwarderRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "DirectoryId"))
758
856
  UpdateConditionalForwarderRequest.add_member(:remote_domain_name, Shapes::ShapeRef.new(shape: RemoteDomainName, required: true, location_name: "RemoteDomainName"))
759
857
  UpdateConditionalForwarderRequest.add_member(:dns_ip_addrs, Shapes::ShapeRef.new(shape: DnsIpAddrs, required: true, location_name: "DnsIpAddrs"))
@@ -798,6 +896,19 @@ module Aws::DirectoryService
798
896
  "uid" => "ds-2015-04-16",
799
897
  }
800
898
 
899
+ api.add_operation(:accept_shared_directory, Seahorse::Model::Operation.new.tap do |o|
900
+ o.name = "AcceptSharedDirectory"
901
+ o.http_method = "POST"
902
+ o.http_request_uri = "/"
903
+ o.input = Shapes::ShapeRef.new(shape: AcceptSharedDirectoryRequest)
904
+ o.output = Shapes::ShapeRef.new(shape: AcceptSharedDirectoryResult)
905
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
906
+ o.errors << Shapes::ShapeRef.new(shape: EntityDoesNotExistException)
907
+ o.errors << Shapes::ShapeRef.new(shape: DirectoryAlreadySharedException)
908
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
909
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
910
+ end)
911
+
801
912
  api.add_operation(:add_ip_routes, Seahorse::Model::Operation.new.tap do |o|
802
913
  o.name = "AddIpRoutes"
803
914
  o.http_method = "POST"
@@ -1092,6 +1203,20 @@ module Aws::DirectoryService
1092
1203
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1093
1204
  end)
1094
1205
 
1206
+ api.add_operation(:describe_shared_directories, Seahorse::Model::Operation.new.tap do |o|
1207
+ o.name = "DescribeSharedDirectories"
1208
+ o.http_method = "POST"
1209
+ o.http_request_uri = "/"
1210
+ o.input = Shapes::ShapeRef.new(shape: DescribeSharedDirectoriesRequest)
1211
+ o.output = Shapes::ShapeRef.new(shape: DescribeSharedDirectoriesResult)
1212
+ o.errors << Shapes::ShapeRef.new(shape: EntityDoesNotExistException)
1213
+ o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
1214
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1215
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
1216
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
1217
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1218
+ end)
1219
+
1095
1220
  api.add_operation(:describe_snapshots, Seahorse::Model::Operation.new.tap do |o|
1096
1221
  o.name = "DescribeSnapshots"
1097
1222
  o.http_method = "POST"
@@ -1253,6 +1378,19 @@ module Aws::DirectoryService
1253
1378
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1254
1379
  end)
1255
1380
 
1381
+ api.add_operation(:reject_shared_directory, Seahorse::Model::Operation.new.tap do |o|
1382
+ o.name = "RejectSharedDirectory"
1383
+ o.http_method = "POST"
1384
+ o.http_request_uri = "/"
1385
+ o.input = Shapes::ShapeRef.new(shape: RejectSharedDirectoryRequest)
1386
+ o.output = Shapes::ShapeRef.new(shape: RejectSharedDirectoryResult)
1387
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1388
+ o.errors << Shapes::ShapeRef.new(shape: EntityDoesNotExistException)
1389
+ o.errors << Shapes::ShapeRef.new(shape: DirectoryAlreadySharedException)
1390
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
1391
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1392
+ end)
1393
+
1256
1394
  api.add_operation(:remove_ip_routes, Seahorse::Model::Operation.new.tap do |o|
1257
1395
  o.name = "RemoveIpRoutes"
1258
1396
  o.http_method = "POST"
@@ -1305,6 +1443,24 @@ module Aws::DirectoryService
1305
1443
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1306
1444
  end)
1307
1445
 
1446
+ api.add_operation(:share_directory, Seahorse::Model::Operation.new.tap do |o|
1447
+ o.name = "ShareDirectory"
1448
+ o.http_method = "POST"
1449
+ o.http_request_uri = "/"
1450
+ o.input = Shapes::ShapeRef.new(shape: ShareDirectoryRequest)
1451
+ o.output = Shapes::ShapeRef.new(shape: ShareDirectoryResult)
1452
+ o.errors << Shapes::ShapeRef.new(shape: DirectoryAlreadySharedException)
1453
+ o.errors << Shapes::ShapeRef.new(shape: EntityDoesNotExistException)
1454
+ o.errors << Shapes::ShapeRef.new(shape: InvalidTargetException)
1455
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1456
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
1457
+ o.errors << Shapes::ShapeRef.new(shape: ShareLimitExceededException)
1458
+ o.errors << Shapes::ShapeRef.new(shape: OrganizationsException)
1459
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1460
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
1461
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1462
+ end)
1463
+
1308
1464
  api.add_operation(:start_schema_extension, Seahorse::Model::Operation.new.tap do |o|
1309
1465
  o.name = "StartSchemaExtension"
1310
1466
  o.http_method = "POST"
@@ -1319,6 +1475,19 @@ module Aws::DirectoryService
1319
1475
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1320
1476
  end)
1321
1477
 
1478
+ api.add_operation(:unshare_directory, Seahorse::Model::Operation.new.tap do |o|
1479
+ o.name = "UnshareDirectory"
1480
+ o.http_method = "POST"
1481
+ o.http_request_uri = "/"
1482
+ o.input = Shapes::ShapeRef.new(shape: UnshareDirectoryRequest)
1483
+ o.output = Shapes::ShapeRef.new(shape: UnshareDirectoryResult)
1484
+ o.errors << Shapes::ShapeRef.new(shape: EntityDoesNotExistException)
1485
+ o.errors << Shapes::ShapeRef.new(shape: InvalidTargetException)
1486
+ o.errors << Shapes::ShapeRef.new(shape: DirectoryNotSharedException)
1487
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
1488
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1489
+ end)
1490
+
1322
1491
  api.add_operation(:update_conditional_forwarder, Seahorse::Model::Operation.new.tap do |o|
1323
1492
  o.name = "UpdateConditionalForwarder"
1324
1493
  o.http_method = "POST"