aws-sdk-directoryservice 1.0.0.rc1 → 1.0.0.rc2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-directoryservice.rb +1 -1
- data/lib/aws-sdk-directoryservice/client.rb +1700 -1453
- data/lib/aws-sdk-directoryservice/client_api.rb +1153 -1155
- data/lib/aws-sdk-directoryservice/errors.rb +4 -13
- data/lib/aws-sdk-directoryservice/resource.rb +12 -14
- data/lib/aws-sdk-directoryservice/types.rb +2358 -2162
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 69ca0d2f5edb5f15d6712511a8099c663b5b85e4
|
4
|
+
data.tar.gz: 9e4c10923ae93570bc9ca2d2c4cfd81a01d84ad2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c5250e62c7ae44da1fc78fd1143c2ce60b6293999da1fd63904c7d2f179e9381cee7ce7288758f6c88d14220302a1415e1823c6bde0b35ab8b99e644c882e23
|
7
|
+
data.tar.gz: a83d4243007978808b5d0ef3dcd16908e8f1ef6eac14529301888f8fc4239d2e3df48caf6d4ba65b694d15c976fb6096e227c1718ac5fe01fc4916929eeefe5d
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# WARNING ABOUT GENERATED CODE
|
2
2
|
#
|
3
|
-
# This file is generated. See the contributing for
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
4
|
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
|
5
5
|
#
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# WARNING ABOUT GENERATED CODE
|
2
2
|
#
|
3
|
-
# This file is generated. See the contributing for
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
4
|
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
|
5
5
|
#
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
@@ -23,1509 +23,1756 @@ require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
|
23
23
|
|
24
24
|
Aws::Plugins::GlobalConfiguration.add_identifier(:directoryservice)
|
25
25
|
|
26
|
-
module Aws
|
27
|
-
|
28
|
-
class Client < Seahorse::Client::Base
|
26
|
+
module Aws::DirectoryService
|
27
|
+
class Client < Seahorse::Client::Base
|
29
28
|
|
30
|
-
|
29
|
+
include Aws::ClientStubs
|
31
30
|
|
32
|
-
|
31
|
+
@identifier = :directoryservice
|
33
32
|
|
34
|
-
|
33
|
+
set_api(ClientApi::API)
|
35
34
|
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
35
|
+
add_plugin(Seahorse::Client::Plugins::ContentLength)
|
36
|
+
add_plugin(Aws::Plugins::CredentialsConfiguration)
|
37
|
+
add_plugin(Aws::Plugins::Logging)
|
38
|
+
add_plugin(Aws::Plugins::ParamConverter)
|
39
|
+
add_plugin(Aws::Plugins::ParamValidator)
|
40
|
+
add_plugin(Aws::Plugins::UserAgent)
|
41
|
+
add_plugin(Aws::Plugins::HelpfulSocketErrors)
|
42
|
+
add_plugin(Aws::Plugins::RetryErrors)
|
43
|
+
add_plugin(Aws::Plugins::GlobalConfiguration)
|
44
|
+
add_plugin(Aws::Plugins::RegionalEndpoint)
|
45
|
+
add_plugin(Aws::Plugins::ResponsePaging)
|
46
|
+
add_plugin(Aws::Plugins::StubResponses)
|
47
|
+
add_plugin(Aws::Plugins::IdempotencyToken)
|
48
|
+
add_plugin(Aws::Plugins::SignatureV4)
|
49
|
+
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
51
50
|
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
51
|
+
# @option options [required, Aws::CredentialProvider] :credentials
|
52
|
+
# Your AWS credentials. This can be an instance of any one of the
|
53
|
+
# following classes:
|
54
|
+
#
|
55
|
+
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
56
|
+
# credentials.
|
57
|
+
#
|
58
|
+
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
59
|
+
# from an EC2 IMDS on an EC2 instance.
|
60
|
+
#
|
61
|
+
# * `Aws::SharedCredentials` - Used for loading credentials from a
|
62
|
+
# shared file, such as `~/.aws/config`.
|
63
|
+
#
|
64
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
65
|
+
#
|
66
|
+
# When `:credentials` are not configured directly, the following
|
67
|
+
# locations will be searched for credentials:
|
68
|
+
#
|
69
|
+
# * `Aws.config[:credentials]`
|
70
|
+
# * The `:access_key_id`, `:secret_access_key`, and `:session_token` options.
|
71
|
+
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
72
|
+
# * `~/.aws/credentials`
|
73
|
+
# * `~/.aws/config`
|
74
|
+
# * EC2 IMDS instance profile - When used by default, the timeouts are
|
75
|
+
# very aggressive. Construct and pass an instance of
|
76
|
+
# `Aws::InstanceProfileCredentails` to enable retries and extended
|
77
|
+
# timeouts.
|
78
|
+
#
|
79
|
+
# @option options [required, String] :region
|
80
|
+
# The AWS region to connect to. The configured `:region` is
|
81
|
+
# used to determine the service `:endpoint`. When not passed,
|
82
|
+
# a default `:region` is search for in the following locations:
|
83
|
+
#
|
84
|
+
# * `Aws.config[:region]`
|
85
|
+
# * `ENV['AWS_REGION']`
|
86
|
+
# * `ENV['AMAZON_REGION']`
|
87
|
+
# * `ENV['AWS_DEFAULT_REGION']`
|
88
|
+
# * `~/.aws/credentials`
|
89
|
+
# * `~/.aws/config`
|
90
|
+
#
|
91
|
+
# @option options [String] :access_key_id
|
92
|
+
#
|
93
|
+
# @option options [Boolean] :convert_params (true)
|
94
|
+
# When `true`, an attempt is made to coerce request parameters into
|
95
|
+
# the required types.
|
96
|
+
#
|
97
|
+
# @option options [String] :endpoint
|
98
|
+
# The client endpoint is normally constructed from the `:region`
|
99
|
+
# option. You should only configure an `:endpoint` when connecting
|
100
|
+
# to test endpoints. This should be avalid HTTP(S) URI.
|
101
|
+
#
|
102
|
+
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
103
|
+
# The log formatter.
|
104
|
+
#
|
105
|
+
# @option options [Symbol] :log_level (:info)
|
106
|
+
# The log level to send messages to the `:logger` at.
|
107
|
+
#
|
108
|
+
# @option options [Logger] :logger
|
109
|
+
# The Logger instance to send log messages to. If this option
|
110
|
+
# is not set, logging will be disabled.
|
111
|
+
#
|
112
|
+
# @option options [String] :profile ("default")
|
113
|
+
# Used when loading credentials from the shared credentials file
|
114
|
+
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
115
|
+
#
|
116
|
+
# @option options [Integer] :retry_limit (3)
|
117
|
+
# The maximum number of times to retry failed requests. Only
|
118
|
+
# ~ 500 level server errors and certain ~ 400 level client errors
|
119
|
+
# are retried. Generally, these are throttling errors, data
|
120
|
+
# checksum errors, networking errors, timeout errors and auth
|
121
|
+
# errors from expired credentials.
|
122
|
+
#
|
123
|
+
# @option options [String] :secret_access_key
|
124
|
+
#
|
125
|
+
# @option options [String] :session_token
|
126
|
+
#
|
127
|
+
# @option options [Boolean] :simple_json (false)
|
128
|
+
# Disables request parameter conversion, validation, and formatting.
|
129
|
+
# Also disable response data type conversions. This option is useful
|
130
|
+
# when you want to ensure the highest level of performance by
|
131
|
+
# avoiding overhead of walking request parameters and response data
|
132
|
+
# structures.
|
133
|
+
#
|
134
|
+
# When `:simple_json` is enabled, the request parameters hash must
|
135
|
+
# be formatted exactly as the DynamoDB API expects.
|
136
|
+
#
|
137
|
+
# @option options [Boolean] :stub_responses (false)
|
138
|
+
# Causes the client to return stubbed responses. By default
|
139
|
+
# fake responses are generated and returned. You can specify
|
140
|
+
# the response data to return or errors to raise by calling
|
141
|
+
# {ClientStubs#stub_responses}. See {ClientStubs} for more information.
|
142
|
+
#
|
143
|
+
# ** Please note ** When response stubbing is enabled, no HTTP
|
144
|
+
# requests are made, and retries are disabled.
|
145
|
+
#
|
146
|
+
# @option options [Boolean] :validate_params (true)
|
147
|
+
# When `true`, request parameters are validated before
|
148
|
+
# sending the request.
|
149
|
+
#
|
150
|
+
def initialize(*args)
|
151
|
+
super
|
152
|
+
end
|
141
153
|
|
142
|
-
|
143
|
-
# addressable IP address, you must add a CIDR address block to correctly
|
144
|
-
# route traffic to and from your Microsoft AD on Amazon Web Services.
|
145
|
-
# *AddIpRoutes* adds this address block. You can also use *AddIpRoutes*
|
146
|
-
# to facilitate routing traffic that uses public IP ranges from your
|
147
|
-
# Microsoft AD on AWS to a peer VPC.
|
148
|
-
#
|
149
|
-
# Before you call *AddIpRoutes*, ensure that all of the required
|
150
|
-
# permissions have been explicitly granted through a policy. For details
|
151
|
-
# about what permissions are required to run the *AddIpRoutes*
|
152
|
-
# operation, see [AWS Directory Service API Permissions: Actions,
|
153
|
-
# Resources, and Conditions Reference][1].
|
154
|
-
#
|
155
|
-
#
|
156
|
-
#
|
157
|
-
# [1]: http://docs.aws.amazon.com/directoryservice/latest/admin-guide/UsingWithDS_IAM_ResourcePermissions.html
|
158
|
-
# @option params [required, String] :directory_id
|
159
|
-
# Identifier (ID) of the directory to which to add the address block.
|
160
|
-
# @option params [required, Array<Types::IpRoute>] :ip_routes
|
161
|
-
# IP address blocks, using CIDR format, of the traffic to route. This is
|
162
|
-
# often the IP address block of the DNS server used for your on-premises
|
163
|
-
# domain.
|
164
|
-
# @option params [Boolean] :update_security_group_for_directory_controllers
|
165
|
-
# If set to true, updates the inbound and outbound rules of the security
|
166
|
-
# group that has the description: "AWS created security group for
|
167
|
-
# *directory ID* directory controllers." Following are the new rules:
|
168
|
-
#
|
169
|
-
# Inbound:
|
170
|
-
#
|
171
|
-
# * Type: Custom UDP Rule, Protocol: UDP, Range: 88, Source: 0.0.0.0/0
|
172
|
-
#
|
173
|
-
# * Type: Custom UDP Rule, Protocol: UDP, Range: 123, Source: 0.0.0.0/0
|
174
|
-
#
|
175
|
-
# * Type: Custom UDP Rule, Protocol: UDP, Range: 138, Source: 0.0.0.0/0
|
176
|
-
#
|
177
|
-
# * Type: Custom UDP Rule, Protocol: UDP, Range: 389, Source: 0.0.0.0/0
|
178
|
-
#
|
179
|
-
# * Type: Custom UDP Rule, Protocol: UDP, Range: 464, Source: 0.0.0.0/0
|
180
|
-
#
|
181
|
-
# * Type: Custom UDP Rule, Protocol: UDP, Range: 445, Source: 0.0.0.0/0
|
182
|
-
#
|
183
|
-
# * Type: Custom TCP Rule, Protocol: TCP, Range: 88, Source: 0.0.0.0/0
|
184
|
-
#
|
185
|
-
# * Type: Custom TCP Rule, Protocol: TCP, Range: 135, Source: 0.0.0.0/0
|
186
|
-
#
|
187
|
-
# * Type: Custom TCP Rule, Protocol: TCP, Range: 445, Source: 0.0.0.0/0
|
188
|
-
#
|
189
|
-
# * Type: Custom TCP Rule, Protocol: TCP, Range: 464, Source: 0.0.0.0/0
|
190
|
-
#
|
191
|
-
# * Type: Custom TCP Rule, Protocol: TCP, Range: 636, Source: 0.0.0.0/0
|
192
|
-
#
|
193
|
-
# * Type: Custom TCP Rule, Protocol: TCP, Range: 1024-65535, Source:
|
194
|
-
# 0.0.0.0/0
|
195
|
-
#
|
196
|
-
# * Type: Custom TCP Rule, Protocol: TCP, Range: 3268-33269, Source:
|
197
|
-
# 0.0.0.0/0
|
198
|
-
#
|
199
|
-
# * Type: DNS (UDP), Protocol: UDP, Range: 53, Source: 0.0.0.0/0
|
200
|
-
#
|
201
|
-
# * Type: DNS (TCP), Protocol: TCP, Range: 53, Source: 0.0.0.0/0
|
202
|
-
#
|
203
|
-
# * Type: LDAP, Protocol: TCP, Range: 389, Source: 0.0.0.0/0
|
204
|
-
#
|
205
|
-
# * Type: All ICMP, Protocol: All, Range: N/A, Source: 0.0.0.0/0
|
206
|
-
#
|
207
|
-
#
|
208
|
-
#
|
209
|
-
# Outbound:
|
210
|
-
#
|
211
|
-
# * Type: All traffic, Protocol: All, Range: All, Destination: 0.0.0.0/0
|
212
|
-
#
|
213
|
-
# ^
|
214
|
-
#
|
215
|
-
# These security rules impact an internal network interface that is not
|
216
|
-
# exposed publicly.
|
217
|
-
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
218
|
-
#
|
219
|
-
# @example Request syntax with placeholder values
|
220
|
-
# resp = client.add_ip_routes({
|
221
|
-
# directory_id: "DirectoryId", # required
|
222
|
-
# ip_routes: [ # required
|
223
|
-
# {
|
224
|
-
# cidr_ip: "CidrIp",
|
225
|
-
# description: "Description",
|
226
|
-
# },
|
227
|
-
# ],
|
228
|
-
# update_security_group_for_directory_controllers: false,
|
229
|
-
# })
|
230
|
-
# @overload add_ip_routes(params = {})
|
231
|
-
# @param [Hash] params ({})
|
232
|
-
def add_ip_routes(params = {}, options = {})
|
233
|
-
req = build_request(:add_ip_routes, params)
|
234
|
-
req.send_request(options)
|
235
|
-
end
|
154
|
+
# @!group API Operations
|
236
155
|
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
156
|
+
# If the DNS server for your on-premises domain uses a publicly
|
157
|
+
# addressable IP address, you must add a CIDR address block to correctly
|
158
|
+
# route traffic to and from your Microsoft AD on Amazon Web Services.
|
159
|
+
# *AddIpRoutes* adds this address block. You can also use *AddIpRoutes*
|
160
|
+
# to facilitate routing traffic that uses public IP ranges from your
|
161
|
+
# Microsoft AD on AWS to a peer VPC.
|
162
|
+
#
|
163
|
+
# Before you call *AddIpRoutes*, ensure that all of the required
|
164
|
+
# permissions have been explicitly granted through a policy. For details
|
165
|
+
# about what permissions are required to run the *AddIpRoutes*
|
166
|
+
# operation, see [AWS Directory Service API Permissions: Actions,
|
167
|
+
# Resources, and Conditions Reference][1].
|
168
|
+
#
|
169
|
+
#
|
170
|
+
#
|
171
|
+
# [1]: http://docs.aws.amazon.com/directoryservice/latest/admin-guide/UsingWithDS_IAM_ResourcePermissions.html
|
172
|
+
#
|
173
|
+
# @option params [required, String] :directory_id
|
174
|
+
# Identifier (ID) of the directory to which to add the address block.
|
175
|
+
#
|
176
|
+
# @option params [required, Array<Types::IpRoute>] :ip_routes
|
177
|
+
# IP address blocks, using CIDR format, of the traffic to route. This is
|
178
|
+
# often the IP address block of the DNS server used for your on-premises
|
179
|
+
# domain.
|
180
|
+
#
|
181
|
+
# @option params [Boolean] :update_security_group_for_directory_controllers
|
182
|
+
# If set to true, updates the inbound and outbound rules of the security
|
183
|
+
# group that has the description: "AWS created security group for
|
184
|
+
# *directory ID* directory controllers." Following are the new rules:
|
185
|
+
#
|
186
|
+
# Inbound:
|
187
|
+
#
|
188
|
+
# * Type: Custom UDP Rule, Protocol: UDP, Range: 88, Source: 0.0.0.0/0
|
189
|
+
#
|
190
|
+
# * Type: Custom UDP Rule, Protocol: UDP, Range: 123, Source: 0.0.0.0/0
|
191
|
+
#
|
192
|
+
# * Type: Custom UDP Rule, Protocol: UDP, Range: 138, Source: 0.0.0.0/0
|
193
|
+
#
|
194
|
+
# * Type: Custom UDP Rule, Protocol: UDP, Range: 389, Source: 0.0.0.0/0
|
195
|
+
#
|
196
|
+
# * Type: Custom UDP Rule, Protocol: UDP, Range: 464, Source: 0.0.0.0/0
|
197
|
+
#
|
198
|
+
# * Type: Custom UDP Rule, Protocol: UDP, Range: 445, Source: 0.0.0.0/0
|
199
|
+
#
|
200
|
+
# * Type: Custom TCP Rule, Protocol: TCP, Range: 88, Source: 0.0.0.0/0
|
201
|
+
#
|
202
|
+
# * Type: Custom TCP Rule, Protocol: TCP, Range: 135, Source: 0.0.0.0/0
|
203
|
+
#
|
204
|
+
# * Type: Custom TCP Rule, Protocol: TCP, Range: 445, Source: 0.0.0.0/0
|
205
|
+
#
|
206
|
+
# * Type: Custom TCP Rule, Protocol: TCP, Range: 464, Source: 0.0.0.0/0
|
207
|
+
#
|
208
|
+
# * Type: Custom TCP Rule, Protocol: TCP, Range: 636, Source: 0.0.0.0/0
|
209
|
+
#
|
210
|
+
# * Type: Custom TCP Rule, Protocol: TCP, Range: 1024-65535, Source:
|
211
|
+
# 0.0.0.0/0
|
212
|
+
#
|
213
|
+
# * Type: Custom TCP Rule, Protocol: TCP, Range: 3268-33269, Source:
|
214
|
+
# 0.0.0.0/0
|
215
|
+
#
|
216
|
+
# * Type: DNS (UDP), Protocol: UDP, Range: 53, Source: 0.0.0.0/0
|
217
|
+
#
|
218
|
+
# * Type: DNS (TCP), Protocol: TCP, Range: 53, Source: 0.0.0.0/0
|
219
|
+
#
|
220
|
+
# * Type: LDAP, Protocol: TCP, Range: 389, Source: 0.0.0.0/0
|
221
|
+
#
|
222
|
+
# * Type: All ICMP, Protocol: All, Range: N/A, Source: 0.0.0.0/0
|
223
|
+
#
|
224
|
+
#
|
225
|
+
#
|
226
|
+
# Outbound:
|
227
|
+
#
|
228
|
+
# * Type: All traffic, Protocol: All, Range: All, Destination: 0.0.0.0/0
|
229
|
+
#
|
230
|
+
# ^
|
231
|
+
#
|
232
|
+
# These security rules impact an internal network interface that is not
|
233
|
+
# exposed publicly.
|
234
|
+
#
|
235
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
236
|
+
#
|
237
|
+
# @example Request syntax with placeholder values
|
238
|
+
#
|
239
|
+
# resp = client.add_ip_routes({
|
240
|
+
# directory_id: "DirectoryId", # required
|
241
|
+
# ip_routes: [ # required
|
242
|
+
# {
|
243
|
+
# cidr_ip: "CidrIp",
|
244
|
+
# description: "Description",
|
245
|
+
# },
|
246
|
+
# ],
|
247
|
+
# update_security_group_for_directory_controllers: false,
|
248
|
+
# })
|
249
|
+
#
|
250
|
+
# @overload add_ip_routes(params = {})
|
251
|
+
# @param [Hash] params ({})
|
252
|
+
def add_ip_routes(params = {}, options = {})
|
253
|
+
req = build_request(:add_ip_routes, params)
|
254
|
+
req.send_request(options)
|
255
|
+
end
|
263
256
|
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
257
|
+
# Adds or overwrites one or more tags for the specified directory. Each
|
258
|
+
# directory can have a maximum of 50 tags. Each tag consists of a key
|
259
|
+
# and optional value. Tag keys must be unique to each resource.
|
260
|
+
#
|
261
|
+
# @option params [required, String] :resource_id
|
262
|
+
# Identifier (ID) for the directory to which to add the tag.
|
263
|
+
#
|
264
|
+
# @option params [required, Array<Types::Tag>] :tags
|
265
|
+
# The tags to be assigned to the directory.
|
266
|
+
#
|
267
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
268
|
+
#
|
269
|
+
# @example Request syntax with placeholder values
|
270
|
+
#
|
271
|
+
# resp = client.add_tags_to_resource({
|
272
|
+
# resource_id: "ResourceId", # required
|
273
|
+
# tags: [ # required
|
274
|
+
# {
|
275
|
+
# key: "TagKey", # required
|
276
|
+
# value: "TagValue", # required
|
277
|
+
# },
|
278
|
+
# ],
|
279
|
+
# })
|
280
|
+
#
|
281
|
+
# @overload add_tags_to_resource(params = {})
|
282
|
+
# @param [Hash] params ({})
|
283
|
+
def add_tags_to_resource(params = {}, options = {})
|
284
|
+
req = build_request(:add_tags_to_resource, params)
|
285
|
+
req.send_request(options)
|
286
|
+
end
|
287
287
|
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
#
|
317
|
-
# @example Request syntax with placeholder values
|
318
|
-
# resp = client.connect_directory({
|
319
|
-
# name: "DirectoryName", # required
|
320
|
-
# short_name: "DirectoryShortName",
|
321
|
-
# password: "ConnectPassword", # required
|
322
|
-
# description: "Description",
|
323
|
-
# size: "Small", # required, accepts Small, Large
|
324
|
-
# connect_settings: { # required
|
325
|
-
# vpc_id: "VpcId", # required
|
326
|
-
# subnet_ids: ["SubnetId"], # required
|
327
|
-
# customer_dns_ips: ["IpAddr"], # required
|
328
|
-
# customer_user_name: "UserName", # required
|
329
|
-
# },
|
330
|
-
# })
|
331
|
-
#
|
332
|
-
# @example Response structure
|
333
|
-
# resp.directory_id #=> String
|
334
|
-
# @overload connect_directory(params = {})
|
335
|
-
# @param [Hash] params ({})
|
336
|
-
def connect_directory(params = {}, options = {})
|
337
|
-
req = build_request(:connect_directory, params)
|
338
|
-
req.send_request(options)
|
339
|
-
end
|
288
|
+
# Cancels an in-progress schema extension to a Microsoft AD directory.
|
289
|
+
# Once a schema extension has started replicating to all domain
|
290
|
+
# controllers, the task can no longer be canceled. A schema extension
|
291
|
+
# can be canceled during any of the following states; `Initializing`,
|
292
|
+
# `CreatingSnapshot`, and `UpdatingSchema`.
|
293
|
+
#
|
294
|
+
# @option params [required, String] :directory_id
|
295
|
+
# The identifier of the directory whose schema extension will be
|
296
|
+
# canceled.
|
297
|
+
#
|
298
|
+
# @option params [required, String] :schema_extension_id
|
299
|
+
# The identifier of the schema extension that will be canceled.
|
300
|
+
#
|
301
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
302
|
+
#
|
303
|
+
# @example Request syntax with placeholder values
|
304
|
+
#
|
305
|
+
# resp = client.cancel_schema_extension({
|
306
|
+
# directory_id: "DirectoryId", # required
|
307
|
+
# schema_extension_id: "SchemaExtensionId", # required
|
308
|
+
# })
|
309
|
+
#
|
310
|
+
# @overload cancel_schema_extension(params = {})
|
311
|
+
# @param [Hash] params ({})
|
312
|
+
def cancel_schema_extension(params = {}, options = {})
|
313
|
+
req = build_request(:cancel_schema_extension, params)
|
314
|
+
req.send_request(options)
|
315
|
+
end
|
340
316
|
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
317
|
+
# Creates an AD Connector to connect to an on-premises directory.
|
318
|
+
#
|
319
|
+
# Before you call *ConnectDirectory*, ensure that all of the required
|
320
|
+
# permissions have been explicitly granted through a policy. For details
|
321
|
+
# about what permissions are required to run the *ConnectDirectory*
|
322
|
+
# operation, see [AWS Directory Service API Permissions: Actions,
|
323
|
+
# Resources, and Conditions Reference][1].
|
324
|
+
#
|
325
|
+
#
|
326
|
+
#
|
327
|
+
# [1]: http://docs.aws.amazon.com/directoryservice/latest/admin-guide/UsingWithDS_IAM_ResourcePermissions.html
|
328
|
+
#
|
329
|
+
# @option params [required, String] :name
|
330
|
+
# The fully-qualified name of the on-premises directory, such as
|
331
|
+
# `corp.example.com`.
|
332
|
+
#
|
333
|
+
# @option params [String] :short_name
|
334
|
+
# The NetBIOS name of the on-premises directory, such as `CORP`.
|
335
|
+
#
|
336
|
+
# @option params [required, String] :password
|
337
|
+
# The password for the on-premises user account.
|
338
|
+
#
|
339
|
+
# @option params [String] :description
|
340
|
+
# A textual description for the directory.
|
341
|
+
#
|
342
|
+
# @option params [required, String] :size
|
343
|
+
# The size of the directory.
|
344
|
+
#
|
345
|
+
# @option params [required, Types::DirectoryConnectSettings] :connect_settings
|
346
|
+
# A DirectoryConnectSettings object that contains additional information
|
347
|
+
# for the operation.
|
348
|
+
#
|
349
|
+
# @return [Types::ConnectDirectoryResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
350
|
+
#
|
351
|
+
# * {Types::ConnectDirectoryResult#directory_id #directory_id} => String
|
352
|
+
#
|
353
|
+
# @example Request syntax with placeholder values
|
354
|
+
#
|
355
|
+
# resp = client.connect_directory({
|
356
|
+
# name: "DirectoryName", # required
|
357
|
+
# short_name: "DirectoryShortName",
|
358
|
+
# password: "ConnectPassword", # required
|
359
|
+
# description: "Description",
|
360
|
+
# size: "Small", # required, accepts Small, Large
|
361
|
+
# connect_settings: { # required
|
362
|
+
# vpc_id: "VpcId", # required
|
363
|
+
# subnet_ids: ["SubnetId"], # required
|
364
|
+
# customer_dns_ips: ["IpAddr"], # required
|
365
|
+
# customer_user_name: "UserName", # required
|
366
|
+
# },
|
367
|
+
# })
|
368
|
+
#
|
369
|
+
# @example Response structure
|
370
|
+
#
|
371
|
+
# resp.directory_id #=> String
|
372
|
+
#
|
373
|
+
# @overload connect_directory(params = {})
|
374
|
+
# @param [Hash] params ({})
|
375
|
+
def connect_directory(params = {}, options = {})
|
376
|
+
req = build_request(:connect_directory, params)
|
377
|
+
req.send_request(options)
|
378
|
+
end
|
375
379
|
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
# resp.computer.computer_attributes[0].value #=> <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
417
|
-
# @overload create_computer(params = {})
|
418
|
-
# @param [Hash] params ({})
|
419
|
-
def create_computer(params = {}, options = {})
|
420
|
-
req = build_request(:create_computer, params)
|
421
|
-
req.send_request(options)
|
422
|
-
end
|
380
|
+
# Creates an alias for a directory and assigns the alias to the
|
381
|
+
# directory. The alias is used to construct the access URL for the
|
382
|
+
# directory, such as `http://<alias>.awsapps.com`.
|
383
|
+
#
|
384
|
+
# After an alias has been created, it cannot be deleted or reused, so
|
385
|
+
# this operation should only be used when absolutely necessary.
|
386
|
+
#
|
387
|
+
# @option params [required, String] :directory_id
|
388
|
+
# The identifier of the directory for which to create the alias.
|
389
|
+
#
|
390
|
+
# @option params [required, String] :alias
|
391
|
+
# The requested alias.
|
392
|
+
#
|
393
|
+
# The alias must be unique amongst all aliases in AWS. This operation
|
394
|
+
# throws an `EntityAlreadyExistsException` error if the alias already
|
395
|
+
# exists.
|
396
|
+
#
|
397
|
+
# @return [Types::CreateAliasResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
398
|
+
#
|
399
|
+
# * {Types::CreateAliasResult#directory_id #directory_id} => String
|
400
|
+
# * {Types::CreateAliasResult#alias #alias} => String
|
401
|
+
#
|
402
|
+
# @example Request syntax with placeholder values
|
403
|
+
#
|
404
|
+
# resp = client.create_alias({
|
405
|
+
# directory_id: "DirectoryId", # required
|
406
|
+
# alias: "AliasName", # required
|
407
|
+
# })
|
408
|
+
#
|
409
|
+
# @example Response structure
|
410
|
+
#
|
411
|
+
# resp.directory_id #=> String
|
412
|
+
# resp.alias #=> String
|
413
|
+
#
|
414
|
+
# @overload create_alias(params = {})
|
415
|
+
# @param [Hash] params ({})
|
416
|
+
def create_alias(params = {}, options = {})
|
417
|
+
req = build_request(:create_alias, params)
|
418
|
+
req.send_request(options)
|
419
|
+
end
|
423
420
|
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
|
421
|
+
# Creates a computer account in the specified directory, and joins the
|
422
|
+
# computer to the directory.
|
423
|
+
#
|
424
|
+
# @option params [required, String] :directory_id
|
425
|
+
# The identifier of the directory in which to create the computer
|
426
|
+
# account.
|
427
|
+
#
|
428
|
+
# @option params [required, String] :computer_name
|
429
|
+
# The name of the computer account.
|
430
|
+
#
|
431
|
+
# @option params [required, String] :password
|
432
|
+
# A one-time password that is used to join the computer to the
|
433
|
+
# directory. You should generate a random, strong password to use for
|
434
|
+
# this parameter.
|
435
|
+
#
|
436
|
+
# @option params [String] :organizational_unit_distinguished_name
|
437
|
+
# The fully-qualified distinguished name of the organizational unit to
|
438
|
+
# place the computer account in.
|
439
|
+
#
|
440
|
+
# @option params [Array<Types::Attribute>] :computer_attributes
|
441
|
+
# An array of Attribute objects that contain any LDAP attributes to
|
442
|
+
# apply to the computer account.
|
443
|
+
#
|
444
|
+
# @return [Types::CreateComputerResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
445
|
+
#
|
446
|
+
# * {Types::CreateComputerResult#computer #computer} => Types::Computer
|
447
|
+
#
|
448
|
+
# @example Request syntax with placeholder values
|
449
|
+
#
|
450
|
+
# resp = client.create_computer({
|
451
|
+
# directory_id: "DirectoryId", # required
|
452
|
+
# computer_name: "ComputerName", # required
|
453
|
+
# password: "ComputerPassword", # required
|
454
|
+
# organizational_unit_distinguished_name: "OrganizationalUnitDN",
|
455
|
+
# computer_attributes: [
|
456
|
+
# {
|
457
|
+
# name: "AttributeName",
|
458
|
+
# value: "AttributeValue",
|
459
|
+
# },
|
460
|
+
# ],
|
461
|
+
# })
|
462
|
+
#
|
463
|
+
# @example Response structure
|
464
|
+
#
|
465
|
+
# resp.computer.computer_id #=> String
|
466
|
+
# resp.computer.computer_name #=> String
|
467
|
+
# resp.computer.computer_attributes #=> Array
|
468
|
+
# resp.computer.computer_attributes[0].name #=> String
|
469
|
+
# resp.computer.computer_attributes[0].value #=> <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
470
|
+
#
|
471
|
+
# @overload create_computer(params = {})
|
472
|
+
# @param [Hash] params ({})
|
473
|
+
def create_computer(params = {}, options = {})
|
474
|
+
req = build_request(:create_computer, params)
|
475
|
+
req.send_request(options)
|
476
|
+
end
|
451
477
|
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
# name: "DirectoryName", # required
|
486
|
-
# short_name: "DirectoryShortName",
|
487
|
-
# password: "Password", # required
|
488
|
-
# description: "Description",
|
489
|
-
# size: "Small", # required, accepts Small, Large
|
490
|
-
# vpc_settings: {
|
491
|
-
# vpc_id: "VpcId", # required
|
492
|
-
# subnet_ids: ["SubnetId"], # required
|
493
|
-
# },
|
494
|
-
# })
|
495
|
-
#
|
496
|
-
# @example Response structure
|
497
|
-
# resp.directory_id #=> String
|
498
|
-
# @overload create_directory(params = {})
|
499
|
-
# @param [Hash] params ({})
|
500
|
-
def create_directory(params = {}, options = {})
|
501
|
-
req = build_request(:create_directory, params)
|
502
|
-
req.send_request(options)
|
503
|
-
end
|
478
|
+
# Creates a conditional forwarder associated with your AWS directory.
|
479
|
+
# Conditional forwarders are required in order to set up a trust
|
480
|
+
# relationship with another domain. The conditional forwarder points to
|
481
|
+
# the trusted domain.
|
482
|
+
#
|
483
|
+
# @option params [required, String] :directory_id
|
484
|
+
# The directory ID of the AWS directory for which you are creating the
|
485
|
+
# conditional forwarder.
|
486
|
+
#
|
487
|
+
# @option params [required, String] :remote_domain_name
|
488
|
+
# The fully qualified domain name (FQDN) of the remote domain with which
|
489
|
+
# you will set up a trust relationship.
|
490
|
+
#
|
491
|
+
# @option params [required, Array<String>] :dns_ip_addrs
|
492
|
+
# The IP addresses of the remote DNS server associated with
|
493
|
+
# RemoteDomainName.
|
494
|
+
#
|
495
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
496
|
+
#
|
497
|
+
# @example Request syntax with placeholder values
|
498
|
+
#
|
499
|
+
# resp = client.create_conditional_forwarder({
|
500
|
+
# directory_id: "DirectoryId", # required
|
501
|
+
# remote_domain_name: "RemoteDomainName", # required
|
502
|
+
# dns_ip_addrs: ["IpAddr"], # required
|
503
|
+
# })
|
504
|
+
#
|
505
|
+
# @overload create_conditional_forwarder(params = {})
|
506
|
+
# @param [Hash] params ({})
|
507
|
+
def create_conditional_forwarder(params = {}, options = {})
|
508
|
+
req = build_request(:create_conditional_forwarder, params)
|
509
|
+
req.send_request(options)
|
510
|
+
end
|
504
511
|
|
505
|
-
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
|
527
|
-
|
528
|
-
|
529
|
-
|
530
|
-
|
531
|
-
|
532
|
-
|
533
|
-
|
534
|
-
|
535
|
-
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
|
540
|
-
|
541
|
-
|
542
|
-
|
543
|
-
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
|
548
|
-
|
549
|
-
|
550
|
-
|
551
|
-
|
552
|
-
|
553
|
-
|
554
|
-
|
555
|
-
|
556
|
-
|
512
|
+
# Creates a Simple AD directory.
|
513
|
+
#
|
514
|
+
# Before you call *CreateDirectory*, ensure that all of the required
|
515
|
+
# permissions have been explicitly granted through a policy. For details
|
516
|
+
# about what permissions are required to run the *CreateDirectory*
|
517
|
+
# operation, see [AWS Directory Service API Permissions: Actions,
|
518
|
+
# Resources, and Conditions Reference][1].
|
519
|
+
#
|
520
|
+
#
|
521
|
+
#
|
522
|
+
# [1]: http://docs.aws.amazon.com/directoryservice/latest/admin-guide/UsingWithDS_IAM_ResourcePermissions.html
|
523
|
+
#
|
524
|
+
# @option params [required, String] :name
|
525
|
+
# The fully qualified name for the directory, such as
|
526
|
+
# `corp.example.com`.
|
527
|
+
#
|
528
|
+
# @option params [String] :short_name
|
529
|
+
# The short name of the directory, such as `CORP`.
|
530
|
+
#
|
531
|
+
# @option params [required, String] :password
|
532
|
+
# The password for the directory administrator. The directory creation
|
533
|
+
# process creates a directory administrator account with the username
|
534
|
+
# `Administrator` and this password.
|
535
|
+
#
|
536
|
+
# @option params [String] :description
|
537
|
+
# A textual description for the directory.
|
538
|
+
#
|
539
|
+
# @option params [required, String] :size
|
540
|
+
# The size of the directory.
|
541
|
+
#
|
542
|
+
# @option params [Types::DirectoryVpcSettings] :vpc_settings
|
543
|
+
# A DirectoryVpcSettings object that contains additional information for
|
544
|
+
# the operation.
|
545
|
+
#
|
546
|
+
# @return [Types::CreateDirectoryResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
547
|
+
#
|
548
|
+
# * {Types::CreateDirectoryResult#directory_id #directory_id} => String
|
549
|
+
#
|
550
|
+
# @example Request syntax with placeholder values
|
551
|
+
#
|
552
|
+
# resp = client.create_directory({
|
553
|
+
# name: "DirectoryName", # required
|
554
|
+
# short_name: "DirectoryShortName",
|
555
|
+
# password: "Password", # required
|
556
|
+
# description: "Description",
|
557
|
+
# size: "Small", # required, accepts Small, Large
|
558
|
+
# vpc_settings: {
|
559
|
+
# vpc_id: "VpcId", # required
|
560
|
+
# subnet_ids: ["SubnetId"], # required
|
561
|
+
# },
|
562
|
+
# })
|
563
|
+
#
|
564
|
+
# @example Response structure
|
565
|
+
#
|
566
|
+
# resp.directory_id #=> String
|
567
|
+
#
|
568
|
+
# @overload create_directory(params = {})
|
569
|
+
# @param [Hash] params ({})
|
570
|
+
def create_directory(params = {}, options = {})
|
571
|
+
req = build_request(:create_directory, params)
|
572
|
+
req.send_request(options)
|
573
|
+
end
|
557
574
|
|
558
|
-
|
559
|
-
|
560
|
-
|
561
|
-
|
562
|
-
|
563
|
-
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
|
568
|
-
|
569
|
-
|
570
|
-
|
571
|
-
|
572
|
-
|
573
|
-
|
574
|
-
|
575
|
-
|
576
|
-
|
577
|
-
|
578
|
-
|
579
|
-
|
580
|
-
|
581
|
-
|
582
|
-
|
583
|
-
|
584
|
-
|
585
|
-
|
575
|
+
# Creates a Microsoft AD in the AWS cloud.
|
576
|
+
#
|
577
|
+
# Before you call *CreateMicrosoftAD*, ensure that all of the required
|
578
|
+
# permissions have been explicitly granted through a policy. For details
|
579
|
+
# about what permissions are required to run the *CreateMicrosoftAD*
|
580
|
+
# operation, see [AWS Directory Service API Permissions: Actions,
|
581
|
+
# Resources, and Conditions Reference][1].
|
582
|
+
#
|
583
|
+
#
|
584
|
+
#
|
585
|
+
# [1]: http://docs.aws.amazon.com/directoryservice/latest/admin-guide/UsingWithDS_IAM_ResourcePermissions.html
|
586
|
+
#
|
587
|
+
# @option params [required, String] :name
|
588
|
+
# The fully qualified domain name for the directory, such as
|
589
|
+
# `corp.example.com`. This name will resolve inside your VPC only. It
|
590
|
+
# does not need to be publicly resolvable.
|
591
|
+
#
|
592
|
+
# @option params [String] :short_name
|
593
|
+
# The NetBIOS name for your domain. A short identifier for your domain,
|
594
|
+
# such as `CORP`. If you don't specify a NetBIOS name, it will default
|
595
|
+
# to the first part of your directory DNS. For example, `CORP` for the
|
596
|
+
# directory DNS `corp.example.com`.
|
597
|
+
#
|
598
|
+
# @option params [required, String] :password
|
599
|
+
# The password for the default administrative user named `Admin`.
|
600
|
+
#
|
601
|
+
# @option params [String] :description
|
602
|
+
# A textual description for the directory. This label will appear on the
|
603
|
+
# AWS console `Directory Details` page after the directory is created.
|
604
|
+
#
|
605
|
+
# @option params [required, Types::DirectoryVpcSettings] :vpc_settings
|
606
|
+
# Contains VPC information for the CreateDirectory or CreateMicrosoftAD
|
607
|
+
# operation.
|
608
|
+
#
|
609
|
+
# @return [Types::CreateMicrosoftADResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
610
|
+
#
|
611
|
+
# * {Types::CreateMicrosoftADResult#directory_id #directory_id} => String
|
612
|
+
#
|
613
|
+
# @example Request syntax with placeholder values
|
614
|
+
#
|
615
|
+
# resp = client.create_microsoft_ad({
|
616
|
+
# name: "DirectoryName", # required
|
617
|
+
# short_name: "DirectoryShortName",
|
618
|
+
# password: "Password", # required
|
619
|
+
# description: "Description",
|
620
|
+
# vpc_settings: { # required
|
621
|
+
# vpc_id: "VpcId", # required
|
622
|
+
# subnet_ids: ["SubnetId"], # required
|
623
|
+
# },
|
624
|
+
# })
|
625
|
+
#
|
626
|
+
# @example Response structure
|
627
|
+
#
|
628
|
+
# resp.directory_id #=> String
|
629
|
+
#
|
630
|
+
# @overload create_microsoft_ad(params = {})
|
631
|
+
# @param [Hash] params ({})
|
632
|
+
def create_microsoft_ad(params = {}, options = {})
|
633
|
+
req = build_request(:create_microsoft_ad, params)
|
634
|
+
req.send_request(options)
|
635
|
+
end
|
586
636
|
|
587
|
-
|
588
|
-
|
589
|
-
|
590
|
-
|
591
|
-
|
592
|
-
|
593
|
-
|
594
|
-
|
595
|
-
|
596
|
-
|
597
|
-
|
598
|
-
|
599
|
-
|
600
|
-
|
601
|
-
|
602
|
-
|
603
|
-
|
604
|
-
|
605
|
-
|
606
|
-
|
607
|
-
|
608
|
-
|
609
|
-
|
610
|
-
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
|
615
|
-
|
616
|
-
|
617
|
-
|
618
|
-
|
619
|
-
|
620
|
-
|
621
|
-
# trust_password: "TrustPassword", # required
|
622
|
-
# trust_direction: "One-Way: Outgoing", # required, accepts One-Way: Outgoing, One-Way: Incoming, Two-Way
|
623
|
-
# trust_type: "Forest", # accepts Forest
|
624
|
-
# conditional_forwarder_ip_addrs: ["IpAddr"],
|
625
|
-
# })
|
626
|
-
#
|
627
|
-
# @example Response structure
|
628
|
-
# resp.trust_id #=> String
|
629
|
-
# @overload create_trust(params = {})
|
630
|
-
# @param [Hash] params ({})
|
631
|
-
def create_trust(params = {}, options = {})
|
632
|
-
req = build_request(:create_trust, params)
|
633
|
-
req.send_request(options)
|
634
|
-
end
|
637
|
+
# Creates a snapshot of a Simple AD or Microsoft AD directory in the AWS
|
638
|
+
# cloud.
|
639
|
+
#
|
640
|
+
# <note markdown="1"> You cannot take snapshots of AD Connector directories.
|
641
|
+
#
|
642
|
+
# </note>
|
643
|
+
#
|
644
|
+
# @option params [required, String] :directory_id
|
645
|
+
# The identifier of the directory of which to take a snapshot.
|
646
|
+
#
|
647
|
+
# @option params [String] :name
|
648
|
+
# The descriptive name to apply to the snapshot.
|
649
|
+
#
|
650
|
+
# @return [Types::CreateSnapshotResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
651
|
+
#
|
652
|
+
# * {Types::CreateSnapshotResult#snapshot_id #snapshot_id} => String
|
653
|
+
#
|
654
|
+
# @example Request syntax with placeholder values
|
655
|
+
#
|
656
|
+
# resp = client.create_snapshot({
|
657
|
+
# directory_id: "DirectoryId", # required
|
658
|
+
# name: "SnapshotName",
|
659
|
+
# })
|
660
|
+
#
|
661
|
+
# @example Response structure
|
662
|
+
#
|
663
|
+
# resp.snapshot_id #=> String
|
664
|
+
#
|
665
|
+
# @overload create_snapshot(params = {})
|
666
|
+
# @param [Hash] params ({})
|
667
|
+
def create_snapshot(params = {}, options = {})
|
668
|
+
req = build_request(:create_snapshot, params)
|
669
|
+
req.send_request(options)
|
670
|
+
end
|
635
671
|
|
636
|
-
|
637
|
-
|
638
|
-
|
639
|
-
|
640
|
-
|
641
|
-
|
642
|
-
|
643
|
-
|
644
|
-
|
645
|
-
|
646
|
-
|
647
|
-
|
648
|
-
|
649
|
-
|
650
|
-
|
651
|
-
|
652
|
-
|
653
|
-
|
654
|
-
|
655
|
-
|
672
|
+
# AWS Directory Service for Microsoft Active Directory allows you to
|
673
|
+
# configure trust relationships. For example, you can establish a trust
|
674
|
+
# between your Microsoft AD in the AWS cloud, and your existing
|
675
|
+
# on-premises Microsoft Active Directory. This would allow you to
|
676
|
+
# provide users and groups access to resources in either domain, with a
|
677
|
+
# single set of credentials.
|
678
|
+
#
|
679
|
+
# This action initiates the creation of the AWS side of a trust
|
680
|
+
# relationship between a Microsoft AD in the AWS cloud and an external
|
681
|
+
# domain.
|
682
|
+
#
|
683
|
+
# @option params [required, String] :directory_id
|
684
|
+
# The Directory ID of the Microsoft AD in the AWS cloud for which to
|
685
|
+
# establish the trust relationship.
|
686
|
+
#
|
687
|
+
# @option params [required, String] :remote_domain_name
|
688
|
+
# The Fully Qualified Domain Name (FQDN) of the external domain for
|
689
|
+
# which to create the trust relationship.
|
690
|
+
#
|
691
|
+
# @option params [required, String] :trust_password
|
692
|
+
# The trust password. The must be the same password that was used when
|
693
|
+
# creating the trust relationship on the external domain.
|
694
|
+
#
|
695
|
+
# @option params [required, String] :trust_direction
|
696
|
+
# The direction of the trust relationship.
|
697
|
+
#
|
698
|
+
# @option params [String] :trust_type
|
699
|
+
# The trust relationship type.
|
700
|
+
#
|
701
|
+
# @option params [Array<String>] :conditional_forwarder_ip_addrs
|
702
|
+
# The IP addresses of the remote DNS server associated with
|
703
|
+
# RemoteDomainName.
|
704
|
+
#
|
705
|
+
# @return [Types::CreateTrustResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
706
|
+
#
|
707
|
+
# * {Types::CreateTrustResult#trust_id #trust_id} => String
|
708
|
+
#
|
709
|
+
# @example Request syntax with placeholder values
|
710
|
+
#
|
711
|
+
# resp = client.create_trust({
|
712
|
+
# directory_id: "DirectoryId", # required
|
713
|
+
# remote_domain_name: "RemoteDomainName", # required
|
714
|
+
# trust_password: "TrustPassword", # required
|
715
|
+
# trust_direction: "One-Way: Outgoing", # required, accepts One-Way: Outgoing, One-Way: Incoming, Two-Way
|
716
|
+
# trust_type: "Forest", # accepts Forest
|
717
|
+
# conditional_forwarder_ip_addrs: ["IpAddr"],
|
718
|
+
# })
|
719
|
+
#
|
720
|
+
# @example Response structure
|
721
|
+
#
|
722
|
+
# resp.trust_id #=> String
|
723
|
+
#
|
724
|
+
# @overload create_trust(params = {})
|
725
|
+
# @param [Hash] params ({})
|
726
|
+
def create_trust(params = {}, options = {})
|
727
|
+
req = build_request(:create_trust, params)
|
728
|
+
req.send_request(options)
|
729
|
+
end
|
656
730
|
|
657
|
-
|
658
|
-
|
659
|
-
|
660
|
-
|
661
|
-
|
662
|
-
|
663
|
-
|
664
|
-
|
665
|
-
|
666
|
-
|
667
|
-
|
668
|
-
|
669
|
-
|
670
|
-
|
671
|
-
|
672
|
-
|
673
|
-
|
674
|
-
|
675
|
-
|
676
|
-
|
677
|
-
|
678
|
-
|
679
|
-
|
680
|
-
|
681
|
-
|
682
|
-
# @param [Hash] params ({})
|
683
|
-
def delete_directory(params = {}, options = {})
|
684
|
-
req = build_request(:delete_directory, params)
|
685
|
-
req.send_request(options)
|
686
|
-
end
|
731
|
+
# Deletes a conditional forwarder that has been set up for your AWS
|
732
|
+
# directory.
|
733
|
+
#
|
734
|
+
# @option params [required, String] :directory_id
|
735
|
+
# The directory ID for which you are deleting the conditional forwarder.
|
736
|
+
#
|
737
|
+
# @option params [required, String] :remote_domain_name
|
738
|
+
# The fully qualified domain name (FQDN) of the remote domain with which
|
739
|
+
# you are deleting the conditional forwarder.
|
740
|
+
#
|
741
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
742
|
+
#
|
743
|
+
# @example Request syntax with placeholder values
|
744
|
+
#
|
745
|
+
# resp = client.delete_conditional_forwarder({
|
746
|
+
# directory_id: "DirectoryId", # required
|
747
|
+
# remote_domain_name: "RemoteDomainName", # required
|
748
|
+
# })
|
749
|
+
#
|
750
|
+
# @overload delete_conditional_forwarder(params = {})
|
751
|
+
# @param [Hash] params ({})
|
752
|
+
def delete_conditional_forwarder(params = {}, options = {})
|
753
|
+
req = build_request(:delete_conditional_forwarder, params)
|
754
|
+
req.send_request(options)
|
755
|
+
end
|
687
756
|
|
688
|
-
|
689
|
-
|
690
|
-
|
691
|
-
|
692
|
-
|
693
|
-
|
694
|
-
|
695
|
-
|
696
|
-
|
697
|
-
|
698
|
-
|
699
|
-
|
700
|
-
|
701
|
-
|
702
|
-
|
703
|
-
|
704
|
-
|
705
|
-
|
706
|
-
|
707
|
-
|
757
|
+
# Deletes an AWS Directory Service directory.
|
758
|
+
#
|
759
|
+
# Before you call *DeleteDirectory*, ensure that all of the required
|
760
|
+
# permissions have been explicitly granted through a policy. For details
|
761
|
+
# about what permissions are required to run the *DeleteDirectory*
|
762
|
+
# operation, see [AWS Directory Service API Permissions: Actions,
|
763
|
+
# Resources, and Conditions Reference][1].
|
764
|
+
#
|
765
|
+
#
|
766
|
+
#
|
767
|
+
# [1]: http://docs.aws.amazon.com/directoryservice/latest/admin-guide/UsingWithDS_IAM_ResourcePermissions.html
|
768
|
+
#
|
769
|
+
# @option params [required, String] :directory_id
|
770
|
+
# The identifier of the directory to delete.
|
771
|
+
#
|
772
|
+
# @return [Types::DeleteDirectoryResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
773
|
+
#
|
774
|
+
# * {Types::DeleteDirectoryResult#directory_id #directory_id} => String
|
775
|
+
#
|
776
|
+
# @example Request syntax with placeholder values
|
777
|
+
#
|
778
|
+
# resp = client.delete_directory({
|
779
|
+
# directory_id: "DirectoryId", # required
|
780
|
+
# })
|
781
|
+
#
|
782
|
+
# @example Response structure
|
783
|
+
#
|
784
|
+
# resp.directory_id #=> String
|
785
|
+
#
|
786
|
+
# @overload delete_directory(params = {})
|
787
|
+
# @param [Hash] params ({})
|
788
|
+
def delete_directory(params = {}, options = {})
|
789
|
+
req = build_request(:delete_directory, params)
|
790
|
+
req.send_request(options)
|
791
|
+
end
|
708
792
|
|
709
|
-
|
710
|
-
|
711
|
-
|
712
|
-
|
713
|
-
|
714
|
-
|
715
|
-
|
716
|
-
|
717
|
-
|
718
|
-
|
719
|
-
|
720
|
-
|
721
|
-
|
722
|
-
|
723
|
-
|
724
|
-
|
725
|
-
|
726
|
-
|
727
|
-
|
728
|
-
|
729
|
-
|
730
|
-
|
731
|
-
|
732
|
-
|
793
|
+
# Deletes a directory snapshot.
|
794
|
+
#
|
795
|
+
# @option params [required, String] :snapshot_id
|
796
|
+
# The identifier of the directory snapshot to be deleted.
|
797
|
+
#
|
798
|
+
# @return [Types::DeleteSnapshotResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
799
|
+
#
|
800
|
+
# * {Types::DeleteSnapshotResult#snapshot_id #snapshot_id} => String
|
801
|
+
#
|
802
|
+
# @example Request syntax with placeholder values
|
803
|
+
#
|
804
|
+
# resp = client.delete_snapshot({
|
805
|
+
# snapshot_id: "SnapshotId", # required
|
806
|
+
# })
|
807
|
+
#
|
808
|
+
# @example Response structure
|
809
|
+
#
|
810
|
+
# resp.snapshot_id #=> String
|
811
|
+
#
|
812
|
+
# @overload delete_snapshot(params = {})
|
813
|
+
# @param [Hash] params ({})
|
814
|
+
def delete_snapshot(params = {}, options = {})
|
815
|
+
req = build_request(:delete_snapshot, params)
|
816
|
+
req.send_request(options)
|
817
|
+
end
|
733
818
|
|
734
|
-
|
735
|
-
|
736
|
-
|
737
|
-
|
738
|
-
|
739
|
-
|
740
|
-
|
741
|
-
|
742
|
-
|
743
|
-
|
744
|
-
|
745
|
-
|
746
|
-
|
747
|
-
|
748
|
-
|
749
|
-
|
750
|
-
|
751
|
-
|
752
|
-
|
753
|
-
|
754
|
-
|
819
|
+
# Deletes an existing trust relationship between your Microsoft AD in
|
820
|
+
# the AWS cloud and an external domain.
|
821
|
+
#
|
822
|
+
# @option params [required, String] :trust_id
|
823
|
+
# The Trust ID of the trust relationship to be deleted.
|
824
|
+
#
|
825
|
+
# @option params [Boolean] :delete_associated_conditional_forwarder
|
826
|
+
# Delete a conditional forwarder as part of a DeleteTrustRequest.
|
827
|
+
#
|
828
|
+
# @return [Types::DeleteTrustResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
829
|
+
#
|
830
|
+
# * {Types::DeleteTrustResult#trust_id #trust_id} => String
|
831
|
+
#
|
832
|
+
# @example Request syntax with placeholder values
|
833
|
+
#
|
834
|
+
# resp = client.delete_trust({
|
835
|
+
# trust_id: "TrustId", # required
|
836
|
+
# delete_associated_conditional_forwarder: false,
|
837
|
+
# })
|
838
|
+
#
|
839
|
+
# @example Response structure
|
840
|
+
#
|
841
|
+
# resp.trust_id #=> String
|
842
|
+
#
|
843
|
+
# @overload delete_trust(params = {})
|
844
|
+
# @param [Hash] params ({})
|
845
|
+
def delete_trust(params = {}, options = {})
|
846
|
+
req = build_request(:delete_trust, params)
|
847
|
+
req.send_request(options)
|
848
|
+
end
|
755
849
|
|
756
|
-
|
757
|
-
|
758
|
-
|
759
|
-
|
760
|
-
|
761
|
-
|
762
|
-
|
763
|
-
|
764
|
-
|
765
|
-
|
766
|
-
|
767
|
-
|
768
|
-
|
769
|
-
|
770
|
-
|
771
|
-
|
772
|
-
|
773
|
-
|
774
|
-
|
775
|
-
|
776
|
-
|
777
|
-
|
778
|
-
|
779
|
-
|
780
|
-
|
781
|
-
|
782
|
-
# resp.conditional_forwarders[0].dns_ip_addrs[0] #=> String
|
783
|
-
# resp.conditional_forwarders[0].replication_scope #=> String, one of "Domain"
|
784
|
-
# @overload describe_conditional_forwarders(params = {})
|
785
|
-
# @param [Hash] params ({})
|
786
|
-
def describe_conditional_forwarders(params = {}, options = {})
|
787
|
-
req = build_request(:describe_conditional_forwarders, params)
|
788
|
-
req.send_request(options)
|
789
|
-
end
|
850
|
+
# Removes the specified directory as a publisher to the specified SNS
|
851
|
+
# topic.
|
852
|
+
#
|
853
|
+
# @option params [required, String] :directory_id
|
854
|
+
# The Directory ID to remove as a publisher. This directory will no
|
855
|
+
# longer send messages to the specified SNS topic.
|
856
|
+
#
|
857
|
+
# @option params [required, String] :topic_name
|
858
|
+
# The name of the SNS topic from which to remove the directory as a
|
859
|
+
# publisher.
|
860
|
+
#
|
861
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
862
|
+
#
|
863
|
+
# @example Request syntax with placeholder values
|
864
|
+
#
|
865
|
+
# resp = client.deregister_event_topic({
|
866
|
+
# directory_id: "DirectoryId", # required
|
867
|
+
# topic_name: "TopicName", # required
|
868
|
+
# })
|
869
|
+
#
|
870
|
+
# @overload deregister_event_topic(params = {})
|
871
|
+
# @param [Hash] params ({})
|
872
|
+
def deregister_event_topic(params = {}, options = {})
|
873
|
+
req = build_request(:deregister_event_topic, params)
|
874
|
+
req.send_request(options)
|
875
|
+
end
|
790
876
|
|
791
|
-
|
792
|
-
|
793
|
-
|
794
|
-
|
795
|
-
|
796
|
-
|
797
|
-
|
798
|
-
|
799
|
-
|
800
|
-
|
801
|
-
|
802
|
-
|
803
|
-
|
804
|
-
|
805
|
-
|
806
|
-
|
807
|
-
|
808
|
-
|
809
|
-
|
810
|
-
|
811
|
-
|
812
|
-
|
813
|
-
|
814
|
-
|
815
|
-
|
816
|
-
|
817
|
-
|
818
|
-
|
819
|
-
|
820
|
-
|
821
|
-
|
822
|
-
|
823
|
-
|
824
|
-
|
825
|
-
|
826
|
-
|
827
|
-
|
828
|
-
|
829
|
-
|
830
|
-
|
831
|
-
# resp.directory_descriptions #=> Array
|
832
|
-
# resp.directory_descriptions[0].directory_id #=> String
|
833
|
-
# resp.directory_descriptions[0].name #=> String
|
834
|
-
# resp.directory_descriptions[0].short_name #=> String
|
835
|
-
# resp.directory_descriptions[0].size #=> String, one of "Small", "Large"
|
836
|
-
# resp.directory_descriptions[0].alias #=> String
|
837
|
-
# resp.directory_descriptions[0].access_url #=> String
|
838
|
-
# resp.directory_descriptions[0].description #=> String
|
839
|
-
# resp.directory_descriptions[0].dns_ip_addrs #=> Array
|
840
|
-
# resp.directory_descriptions[0].dns_ip_addrs[0] #=> String
|
841
|
-
# resp.directory_descriptions[0].stage #=> String, one of "Requested", "Creating", "Created", "Active", "Inoperable", "Impaired", "Restoring", "RestoreFailed", "Deleting", "Deleted", "Failed"
|
842
|
-
# resp.directory_descriptions[0].launch_time #=> Time
|
843
|
-
# resp.directory_descriptions[0].stage_last_updated_date_time #=> Time
|
844
|
-
# resp.directory_descriptions[0].type #=> String, one of "SimpleAD", "ADConnector", "MicrosoftAD"
|
845
|
-
# resp.directory_descriptions[0].vpc_settings.vpc_id #=> String
|
846
|
-
# resp.directory_descriptions[0].vpc_settings.subnet_ids #=> Array
|
847
|
-
# resp.directory_descriptions[0].vpc_settings.subnet_ids[0] #=> String
|
848
|
-
# resp.directory_descriptions[0].vpc_settings.security_group_id #=> String
|
849
|
-
# resp.directory_descriptions[0].vpc_settings.availability_zones #=> Array
|
850
|
-
# resp.directory_descriptions[0].vpc_settings.availability_zones[0] #=> String
|
851
|
-
# resp.directory_descriptions[0].connect_settings.vpc_id #=> String
|
852
|
-
# resp.directory_descriptions[0].connect_settings.subnet_ids #=> Array
|
853
|
-
# resp.directory_descriptions[0].connect_settings.subnet_ids[0] #=> String
|
854
|
-
# resp.directory_descriptions[0].connect_settings.customer_user_name #=> String
|
855
|
-
# resp.directory_descriptions[0].connect_settings.security_group_id #=> String
|
856
|
-
# resp.directory_descriptions[0].connect_settings.availability_zones #=> Array
|
857
|
-
# resp.directory_descriptions[0].connect_settings.availability_zones[0] #=> String
|
858
|
-
# resp.directory_descriptions[0].connect_settings.connect_ips #=> Array
|
859
|
-
# resp.directory_descriptions[0].connect_settings.connect_ips[0] #=> String
|
860
|
-
# resp.directory_descriptions[0].radius_settings.radius_servers #=> Array
|
861
|
-
# resp.directory_descriptions[0].radius_settings.radius_servers[0] #=> String
|
862
|
-
# resp.directory_descriptions[0].radius_settings.radius_port #=> Integer
|
863
|
-
# resp.directory_descriptions[0].radius_settings.radius_timeout #=> Integer
|
864
|
-
# resp.directory_descriptions[0].radius_settings.radius_retries #=> Integer
|
865
|
-
# resp.directory_descriptions[0].radius_settings.shared_secret #=> String
|
866
|
-
# resp.directory_descriptions[0].radius_settings.authentication_protocol #=> String, one of "PAP", "CHAP", "MS-CHAPv1", "MS-CHAPv2"
|
867
|
-
# resp.directory_descriptions[0].radius_settings.display_label #=> String
|
868
|
-
# resp.directory_descriptions[0].radius_settings.use_same_username #=> Boolean
|
869
|
-
# resp.directory_descriptions[0].radius_status #=> String, one of "Creating", "Completed", "Failed"
|
870
|
-
# resp.directory_descriptions[0].stage_reason #=> String
|
871
|
-
# resp.directory_descriptions[0].sso_enabled #=> Boolean
|
872
|
-
# resp.next_token #=> String
|
873
|
-
# @overload describe_directories(params = {})
|
874
|
-
# @param [Hash] params ({})
|
875
|
-
def describe_directories(params = {}, options = {})
|
876
|
-
req = build_request(:describe_directories, params)
|
877
|
-
req.send_request(options)
|
878
|
-
end
|
877
|
+
# Obtains information about the conditional forwarders for this account.
|
878
|
+
#
|
879
|
+
# If no input parameters are provided for RemoteDomainNames, this
|
880
|
+
# request describes all conditional forwarders for the specified
|
881
|
+
# directory ID.
|
882
|
+
#
|
883
|
+
# @option params [required, String] :directory_id
|
884
|
+
# The directory ID for which to get the list of associated conditional
|
885
|
+
# forwarders.
|
886
|
+
#
|
887
|
+
# @option params [Array<String>] :remote_domain_names
|
888
|
+
# The fully qualified domain names (FQDN) of the remote domains for
|
889
|
+
# which to get the list of associated conditional forwarders. If this
|
890
|
+
# member is null, all conditional forwarders are returned.
|
891
|
+
#
|
892
|
+
# @return [Types::DescribeConditionalForwardersResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
893
|
+
#
|
894
|
+
# * {Types::DescribeConditionalForwardersResult#conditional_forwarders #conditional_forwarders} => Array<Types::ConditionalForwarder>
|
895
|
+
#
|
896
|
+
# @example Request syntax with placeholder values
|
897
|
+
#
|
898
|
+
# resp = client.describe_conditional_forwarders({
|
899
|
+
# directory_id: "DirectoryId", # required
|
900
|
+
# remote_domain_names: ["RemoteDomainName"],
|
901
|
+
# })
|
902
|
+
#
|
903
|
+
# @example Response structure
|
904
|
+
#
|
905
|
+
# resp.conditional_forwarders #=> Array
|
906
|
+
# resp.conditional_forwarders[0].remote_domain_name #=> String
|
907
|
+
# resp.conditional_forwarders[0].dns_ip_addrs #=> Array
|
908
|
+
# resp.conditional_forwarders[0].dns_ip_addrs[0] #=> String
|
909
|
+
# resp.conditional_forwarders[0].replication_scope #=> String, one of "Domain"
|
910
|
+
#
|
911
|
+
# @overload describe_conditional_forwarders(params = {})
|
912
|
+
# @param [Hash] params ({})
|
913
|
+
def describe_conditional_forwarders(params = {}, options = {})
|
914
|
+
req = build_request(:describe_conditional_forwarders, params)
|
915
|
+
req.send_request(options)
|
916
|
+
end
|
879
917
|
|
880
|
-
|
881
|
-
|
882
|
-
|
883
|
-
|
884
|
-
|
885
|
-
|
886
|
-
|
887
|
-
|
888
|
-
|
889
|
-
|
890
|
-
|
891
|
-
|
892
|
-
|
893
|
-
|
894
|
-
|
895
|
-
|
896
|
-
|
897
|
-
|
898
|
-
|
899
|
-
|
900
|
-
|
901
|
-
|
902
|
-
|
903
|
-
|
904
|
-
|
905
|
-
|
906
|
-
|
907
|
-
|
908
|
-
|
909
|
-
|
910
|
-
|
911
|
-
|
912
|
-
|
913
|
-
|
914
|
-
|
915
|
-
|
916
|
-
|
917
|
-
|
918
|
+
# Obtains information about the directories that belong to this account.
|
919
|
+
#
|
920
|
+
# You can retrieve information about specific directories by passing the
|
921
|
+
# directory identifiers in the *DirectoryIds* parameter. Otherwise, all
|
922
|
+
# directories that belong to the current account are returned.
|
923
|
+
#
|
924
|
+
# This operation supports pagination with the use of the *NextToken*
|
925
|
+
# request and response parameters. If more results are available, the
|
926
|
+
# *DescribeDirectoriesResult.NextToken* member contains a token that you
|
927
|
+
# pass in the next call to DescribeDirectories to retrieve the next set
|
928
|
+
# of items.
|
929
|
+
#
|
930
|
+
# You can also specify a maximum number of return results with the
|
931
|
+
# *Limit* parameter.
|
932
|
+
#
|
933
|
+
# @option params [Array<String>] :directory_ids
|
934
|
+
# A list of identifiers of the directories for which to obtain the
|
935
|
+
# information. If this member is null, all directories that belong to
|
936
|
+
# the current account are returned.
|
937
|
+
#
|
938
|
+
# An empty list results in an `InvalidParameterException` being thrown.
|
939
|
+
#
|
940
|
+
# @option params [String] :next_token
|
941
|
+
# The *DescribeDirectoriesResult.NextToken* value from a previous call
|
942
|
+
# to DescribeDirectories. Pass null if this is the first call.
|
943
|
+
#
|
944
|
+
# @option params [Integer] :limit
|
945
|
+
# The maximum number of items to return. If this value is zero, the
|
946
|
+
# maximum number of items is specified by the limitations of the
|
947
|
+
# operation.
|
948
|
+
#
|
949
|
+
# @return [Types::DescribeDirectoriesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
950
|
+
#
|
951
|
+
# * {Types::DescribeDirectoriesResult#directory_descriptions #directory_descriptions} => Array<Types::DirectoryDescription>
|
952
|
+
# * {Types::DescribeDirectoriesResult#next_token #next_token} => String
|
953
|
+
#
|
954
|
+
# @example Request syntax with placeholder values
|
955
|
+
#
|
956
|
+
# resp = client.describe_directories({
|
957
|
+
# directory_ids: ["DirectoryId"],
|
958
|
+
# next_token: "NextToken",
|
959
|
+
# limit: 1,
|
960
|
+
# })
|
961
|
+
#
|
962
|
+
# @example Response structure
|
963
|
+
#
|
964
|
+
# resp.directory_descriptions #=> Array
|
965
|
+
# resp.directory_descriptions[0].directory_id #=> String
|
966
|
+
# resp.directory_descriptions[0].name #=> String
|
967
|
+
# resp.directory_descriptions[0].short_name #=> String
|
968
|
+
# resp.directory_descriptions[0].size #=> String, one of "Small", "Large"
|
969
|
+
# resp.directory_descriptions[0].alias #=> String
|
970
|
+
# resp.directory_descriptions[0].access_url #=> String
|
971
|
+
# resp.directory_descriptions[0].description #=> String
|
972
|
+
# resp.directory_descriptions[0].dns_ip_addrs #=> Array
|
973
|
+
# resp.directory_descriptions[0].dns_ip_addrs[0] #=> String
|
974
|
+
# resp.directory_descriptions[0].stage #=> String, one of "Requested", "Creating", "Created", "Active", "Inoperable", "Impaired", "Restoring", "RestoreFailed", "Deleting", "Deleted", "Failed"
|
975
|
+
# resp.directory_descriptions[0].launch_time #=> Time
|
976
|
+
# resp.directory_descriptions[0].stage_last_updated_date_time #=> Time
|
977
|
+
# resp.directory_descriptions[0].type #=> String, one of "SimpleAD", "ADConnector", "MicrosoftAD"
|
978
|
+
# resp.directory_descriptions[0].vpc_settings.vpc_id #=> String
|
979
|
+
# resp.directory_descriptions[0].vpc_settings.subnet_ids #=> Array
|
980
|
+
# resp.directory_descriptions[0].vpc_settings.subnet_ids[0] #=> String
|
981
|
+
# resp.directory_descriptions[0].vpc_settings.security_group_id #=> String
|
982
|
+
# resp.directory_descriptions[0].vpc_settings.availability_zones #=> Array
|
983
|
+
# resp.directory_descriptions[0].vpc_settings.availability_zones[0] #=> String
|
984
|
+
# resp.directory_descriptions[0].connect_settings.vpc_id #=> String
|
985
|
+
# resp.directory_descriptions[0].connect_settings.subnet_ids #=> Array
|
986
|
+
# resp.directory_descriptions[0].connect_settings.subnet_ids[0] #=> String
|
987
|
+
# resp.directory_descriptions[0].connect_settings.customer_user_name #=> String
|
988
|
+
# resp.directory_descriptions[0].connect_settings.security_group_id #=> String
|
989
|
+
# resp.directory_descriptions[0].connect_settings.availability_zones #=> Array
|
990
|
+
# resp.directory_descriptions[0].connect_settings.availability_zones[0] #=> String
|
991
|
+
# resp.directory_descriptions[0].connect_settings.connect_ips #=> Array
|
992
|
+
# resp.directory_descriptions[0].connect_settings.connect_ips[0] #=> String
|
993
|
+
# resp.directory_descriptions[0].radius_settings.radius_servers #=> Array
|
994
|
+
# resp.directory_descriptions[0].radius_settings.radius_servers[0] #=> String
|
995
|
+
# resp.directory_descriptions[0].radius_settings.radius_port #=> Integer
|
996
|
+
# resp.directory_descriptions[0].radius_settings.radius_timeout #=> Integer
|
997
|
+
# resp.directory_descriptions[0].radius_settings.radius_retries #=> Integer
|
998
|
+
# resp.directory_descriptions[0].radius_settings.shared_secret #=> String
|
999
|
+
# resp.directory_descriptions[0].radius_settings.authentication_protocol #=> String, one of "PAP", "CHAP", "MS-CHAPv1", "MS-CHAPv2"
|
1000
|
+
# resp.directory_descriptions[0].radius_settings.display_label #=> String
|
1001
|
+
# resp.directory_descriptions[0].radius_settings.use_same_username #=> Boolean
|
1002
|
+
# resp.directory_descriptions[0].radius_status #=> String, one of "Creating", "Completed", "Failed"
|
1003
|
+
# resp.directory_descriptions[0].stage_reason #=> String
|
1004
|
+
# resp.directory_descriptions[0].sso_enabled #=> Boolean
|
1005
|
+
# resp.next_token #=> String
|
1006
|
+
#
|
1007
|
+
# @overload describe_directories(params = {})
|
1008
|
+
# @param [Hash] params ({})
|
1009
|
+
def describe_directories(params = {}, options = {})
|
1010
|
+
req = build_request(:describe_directories, params)
|
1011
|
+
req.send_request(options)
|
1012
|
+
end
|
918
1013
|
|
919
|
-
|
920
|
-
|
921
|
-
|
922
|
-
|
923
|
-
|
924
|
-
|
925
|
-
|
926
|
-
|
927
|
-
|
928
|
-
|
929
|
-
|
930
|
-
|
931
|
-
|
932
|
-
|
933
|
-
|
934
|
-
|
935
|
-
|
936
|
-
|
937
|
-
|
938
|
-
|
939
|
-
|
940
|
-
|
941
|
-
|
942
|
-
|
943
|
-
|
944
|
-
|
945
|
-
|
946
|
-
|
947
|
-
|
948
|
-
|
949
|
-
|
950
|
-
|
951
|
-
|
952
|
-
|
953
|
-
|
954
|
-
|
955
|
-
|
956
|
-
|
957
|
-
|
958
|
-
|
959
|
-
|
960
|
-
|
961
|
-
|
962
|
-
|
963
|
-
# @overload describe_snapshots(params = {})
|
964
|
-
# @param [Hash] params ({})
|
965
|
-
def describe_snapshots(params = {}, options = {})
|
966
|
-
req = build_request(:describe_snapshots, params)
|
967
|
-
req.send_request(options)
|
968
|
-
end
|
1014
|
+
# Obtains information about which SNS topics receive status messages
|
1015
|
+
# from the specified directory.
|
1016
|
+
#
|
1017
|
+
# If no input parameters are provided, such as DirectoryId or TopicName,
|
1018
|
+
# this request describes all of the associations in the account.
|
1019
|
+
#
|
1020
|
+
# @option params [String] :directory_id
|
1021
|
+
# The Directory ID for which to get the list of associated SNS topics.
|
1022
|
+
# If this member is null, associations for all Directory IDs are
|
1023
|
+
# returned.
|
1024
|
+
#
|
1025
|
+
# @option params [Array<String>] :topic_names
|
1026
|
+
# A list of SNS topic names for which to obtain the information. If this
|
1027
|
+
# member is null, all associations for the specified Directory ID are
|
1028
|
+
# returned.
|
1029
|
+
#
|
1030
|
+
# An empty list results in an `InvalidParameterException` being thrown.
|
1031
|
+
#
|
1032
|
+
# @return [Types::DescribeEventTopicsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1033
|
+
#
|
1034
|
+
# * {Types::DescribeEventTopicsResult#event_topics #event_topics} => Array<Types::EventTopic>
|
1035
|
+
#
|
1036
|
+
# @example Request syntax with placeholder values
|
1037
|
+
#
|
1038
|
+
# resp = client.describe_event_topics({
|
1039
|
+
# directory_id: "DirectoryId",
|
1040
|
+
# topic_names: ["TopicName"],
|
1041
|
+
# })
|
1042
|
+
#
|
1043
|
+
# @example Response structure
|
1044
|
+
#
|
1045
|
+
# resp.event_topics #=> Array
|
1046
|
+
# resp.event_topics[0].directory_id #=> String
|
1047
|
+
# resp.event_topics[0].topic_name #=> String
|
1048
|
+
# resp.event_topics[0].topic_arn #=> String
|
1049
|
+
# resp.event_topics[0].created_date_time #=> Time
|
1050
|
+
# resp.event_topics[0].status #=> String, one of "Registered", "Topic not found", "Failed", "Deleted"
|
1051
|
+
#
|
1052
|
+
# @overload describe_event_topics(params = {})
|
1053
|
+
# @param [Hash] params ({})
|
1054
|
+
def describe_event_topics(params = {}, options = {})
|
1055
|
+
req = build_request(:describe_event_topics, params)
|
1056
|
+
req.send_request(options)
|
1057
|
+
end
|
969
1058
|
|
970
|
-
|
971
|
-
|
972
|
-
|
973
|
-
|
974
|
-
|
975
|
-
|
976
|
-
|
977
|
-
|
978
|
-
|
979
|
-
|
980
|
-
|
981
|
-
|
982
|
-
|
983
|
-
|
984
|
-
|
985
|
-
|
986
|
-
|
987
|
-
|
988
|
-
|
989
|
-
|
990
|
-
|
991
|
-
|
992
|
-
|
993
|
-
|
994
|
-
|
995
|
-
|
996
|
-
|
997
|
-
|
998
|
-
|
999
|
-
|
1000
|
-
|
1001
|
-
|
1002
|
-
|
1003
|
-
|
1004
|
-
|
1005
|
-
|
1006
|
-
|
1007
|
-
|
1008
|
-
|
1009
|
-
|
1010
|
-
|
1011
|
-
|
1012
|
-
|
1013
|
-
|
1014
|
-
|
1015
|
-
|
1016
|
-
|
1017
|
-
|
1018
|
-
|
1019
|
-
|
1020
|
-
|
1059
|
+
# Obtains information about the directory snapshots that belong to this
|
1060
|
+
# account.
|
1061
|
+
#
|
1062
|
+
# This operation supports pagination with the use of the *NextToken*
|
1063
|
+
# request and response parameters. If more results are available, the
|
1064
|
+
# *DescribeSnapshots.NextToken* member contains a token that you pass in
|
1065
|
+
# the next call to DescribeSnapshots to retrieve the next set of items.
|
1066
|
+
#
|
1067
|
+
# You can also specify a maximum number of return results with the
|
1068
|
+
# *Limit* parameter.
|
1069
|
+
#
|
1070
|
+
# @option params [String] :directory_id
|
1071
|
+
# The identifier of the directory for which to retrieve snapshot
|
1072
|
+
# information.
|
1073
|
+
#
|
1074
|
+
# @option params [Array<String>] :snapshot_ids
|
1075
|
+
# A list of identifiers of the snapshots to obtain the information for.
|
1076
|
+
# If this member is null or empty, all snapshots are returned using the
|
1077
|
+
# *Limit* and *NextToken* members.
|
1078
|
+
#
|
1079
|
+
# @option params [String] :next_token
|
1080
|
+
# The *DescribeSnapshotsResult.NextToken* value from a previous call to
|
1081
|
+
# DescribeSnapshots. Pass null if this is the first call.
|
1082
|
+
#
|
1083
|
+
# @option params [Integer] :limit
|
1084
|
+
# The maximum number of objects to return.
|
1085
|
+
#
|
1086
|
+
# @return [Types::DescribeSnapshotsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1087
|
+
#
|
1088
|
+
# * {Types::DescribeSnapshotsResult#snapshots #snapshots} => Array<Types::Snapshot>
|
1089
|
+
# * {Types::DescribeSnapshotsResult#next_token #next_token} => String
|
1090
|
+
#
|
1091
|
+
# @example Request syntax with placeholder values
|
1092
|
+
#
|
1093
|
+
# resp = client.describe_snapshots({
|
1094
|
+
# directory_id: "DirectoryId",
|
1095
|
+
# snapshot_ids: ["SnapshotId"],
|
1096
|
+
# next_token: "NextToken",
|
1097
|
+
# limit: 1,
|
1098
|
+
# })
|
1099
|
+
#
|
1100
|
+
# @example Response structure
|
1101
|
+
#
|
1102
|
+
# resp.snapshots #=> Array
|
1103
|
+
# resp.snapshots[0].directory_id #=> String
|
1104
|
+
# resp.snapshots[0].snapshot_id #=> String
|
1105
|
+
# resp.snapshots[0].type #=> String, one of "Auto", "Manual"
|
1106
|
+
# resp.snapshots[0].name #=> String
|
1107
|
+
# resp.snapshots[0].status #=> String, one of "Creating", "Completed", "Failed"
|
1108
|
+
# resp.snapshots[0].start_time #=> Time
|
1109
|
+
# resp.next_token #=> String
|
1110
|
+
#
|
1111
|
+
# @overload describe_snapshots(params = {})
|
1112
|
+
# @param [Hash] params ({})
|
1113
|
+
def describe_snapshots(params = {}, options = {})
|
1114
|
+
req = build_request(:describe_snapshots, params)
|
1115
|
+
req.send_request(options)
|
1116
|
+
end
|
1021
1117
|
|
1022
|
-
|
1023
|
-
|
1024
|
-
|
1025
|
-
|
1026
|
-
|
1027
|
-
|
1028
|
-
|
1029
|
-
|
1030
|
-
|
1031
|
-
|
1032
|
-
|
1033
|
-
|
1034
|
-
|
1035
|
-
|
1036
|
-
|
1037
|
-
|
1038
|
-
|
1118
|
+
# Obtains information about the trust relationships for this account.
|
1119
|
+
#
|
1120
|
+
# If no input parameters are provided, such as DirectoryId or TrustIds,
|
1121
|
+
# this request describes all the trust relationships belonging to the
|
1122
|
+
# account.
|
1123
|
+
#
|
1124
|
+
# @option params [String] :directory_id
|
1125
|
+
# The Directory ID of the AWS directory that is a part of the requested
|
1126
|
+
# trust relationship.
|
1127
|
+
#
|
1128
|
+
# @option params [Array<String>] :trust_ids
|
1129
|
+
# A list of identifiers of the trust relationships for which to obtain
|
1130
|
+
# the information. If this member is null, all trust relationships that
|
1131
|
+
# belong to the current account are returned.
|
1132
|
+
#
|
1133
|
+
# An empty list results in an `InvalidParameterException` being thrown.
|
1134
|
+
#
|
1135
|
+
# @option params [String] :next_token
|
1136
|
+
# The *DescribeTrustsResult.NextToken* value from a previous call to
|
1137
|
+
# DescribeTrusts. Pass null if this is the first call.
|
1138
|
+
#
|
1139
|
+
# @option params [Integer] :limit
|
1140
|
+
# The maximum number of objects to return.
|
1141
|
+
#
|
1142
|
+
# @return [Types::DescribeTrustsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1143
|
+
#
|
1144
|
+
# * {Types::DescribeTrustsResult#trusts #trusts} => Array<Types::Trust>
|
1145
|
+
# * {Types::DescribeTrustsResult#next_token #next_token} => String
|
1146
|
+
#
|
1147
|
+
# @example Request syntax with placeholder values
|
1148
|
+
#
|
1149
|
+
# resp = client.describe_trusts({
|
1150
|
+
# directory_id: "DirectoryId",
|
1151
|
+
# trust_ids: ["TrustId"],
|
1152
|
+
# next_token: "NextToken",
|
1153
|
+
# limit: 1,
|
1154
|
+
# })
|
1155
|
+
#
|
1156
|
+
# @example Response structure
|
1157
|
+
#
|
1158
|
+
# resp.trusts #=> Array
|
1159
|
+
# resp.trusts[0].directory_id #=> String
|
1160
|
+
# resp.trusts[0].trust_id #=> String
|
1161
|
+
# resp.trusts[0].remote_domain_name #=> String
|
1162
|
+
# resp.trusts[0].trust_type #=> String, one of "Forest"
|
1163
|
+
# resp.trusts[0].trust_direction #=> String, one of "One-Way: Outgoing", "One-Way: Incoming", "Two-Way"
|
1164
|
+
# resp.trusts[0].trust_state #=> String, one of "Creating", "Created", "Verifying", "VerifyFailed", "Verified", "Deleting", "Deleted", "Failed"
|
1165
|
+
# resp.trusts[0].created_date_time #=> Time
|
1166
|
+
# resp.trusts[0].last_updated_date_time #=> Time
|
1167
|
+
# resp.trusts[0].state_last_updated_date_time #=> Time
|
1168
|
+
# resp.trusts[0].trust_state_reason #=> String
|
1169
|
+
# resp.next_token #=> String
|
1170
|
+
#
|
1171
|
+
# @overload describe_trusts(params = {})
|
1172
|
+
# @param [Hash] params ({})
|
1173
|
+
def describe_trusts(params = {}, options = {})
|
1174
|
+
req = build_request(:describe_trusts, params)
|
1175
|
+
req.send_request(options)
|
1176
|
+
end
|
1039
1177
|
|
1040
|
-
|
1041
|
-
|
1042
|
-
|
1043
|
-
|
1044
|
-
|
1045
|
-
|
1046
|
-
|
1047
|
-
|
1048
|
-
|
1049
|
-
|
1050
|
-
|
1051
|
-
|
1052
|
-
|
1053
|
-
|
1054
|
-
|
1055
|
-
|
1056
|
-
|
1057
|
-
|
1058
|
-
|
1059
|
-
|
1060
|
-
|
1061
|
-
# directory_id: "DirectoryId", # required
|
1062
|
-
# user_name: "UserName",
|
1063
|
-
# password: "ConnectPassword",
|
1064
|
-
# })
|
1065
|
-
# @overload disable_sso(params = {})
|
1066
|
-
# @param [Hash] params ({})
|
1067
|
-
def disable_sso(params = {}, options = {})
|
1068
|
-
req = build_request(:disable_sso, params)
|
1069
|
-
req.send_request(options)
|
1070
|
-
end
|
1178
|
+
# Disables multi-factor authentication (MFA) with the Remote
|
1179
|
+
# Authentication Dial In User Service (RADIUS) server for an AD
|
1180
|
+
# Connector directory.
|
1181
|
+
#
|
1182
|
+
# @option params [required, String] :directory_id
|
1183
|
+
# The identifier of the directory for which to disable MFA.
|
1184
|
+
#
|
1185
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1186
|
+
#
|
1187
|
+
# @example Request syntax with placeholder values
|
1188
|
+
#
|
1189
|
+
# resp = client.disable_radius({
|
1190
|
+
# directory_id: "DirectoryId", # required
|
1191
|
+
# })
|
1192
|
+
#
|
1193
|
+
# @overload disable_radius(params = {})
|
1194
|
+
# @param [Hash] params ({})
|
1195
|
+
def disable_radius(params = {}, options = {})
|
1196
|
+
req = build_request(:disable_radius, params)
|
1197
|
+
req.send_request(options)
|
1198
|
+
end
|
1071
1199
|
|
1072
|
-
|
1073
|
-
|
1074
|
-
|
1075
|
-
|
1076
|
-
|
1077
|
-
|
1078
|
-
|
1079
|
-
|
1080
|
-
|
1081
|
-
|
1082
|
-
|
1083
|
-
|
1084
|
-
|
1085
|
-
|
1086
|
-
|
1087
|
-
|
1088
|
-
|
1089
|
-
|
1090
|
-
|
1091
|
-
|
1092
|
-
|
1093
|
-
|
1094
|
-
|
1095
|
-
|
1096
|
-
|
1097
|
-
|
1098
|
-
|
1099
|
-
|
1100
|
-
|
1101
|
-
|
1200
|
+
# Disables single-sign on for a directory.
|
1201
|
+
#
|
1202
|
+
# @option params [required, String] :directory_id
|
1203
|
+
# The identifier of the directory for which to disable single-sign on.
|
1204
|
+
#
|
1205
|
+
# @option params [String] :user_name
|
1206
|
+
# The username of an alternate account to use to disable single-sign on.
|
1207
|
+
# This is only used for AD Connector directories. This account must have
|
1208
|
+
# privileges to remove a service principal name.
|
1209
|
+
#
|
1210
|
+
# If the AD Connector service account does not have privileges to remove
|
1211
|
+
# a service principal name, you can specify an alternate account with
|
1212
|
+
# the *UserName* and *Password* parameters. These credentials are only
|
1213
|
+
# used to disable single sign-on and are not stored by the service. The
|
1214
|
+
# AD Connector service account is not changed.
|
1215
|
+
#
|
1216
|
+
# @option params [String] :password
|
1217
|
+
# The password of an alternate account to use to disable single-sign on.
|
1218
|
+
# This is only used for AD Connector directories. For more information,
|
1219
|
+
# see the *UserName* parameter.
|
1220
|
+
#
|
1221
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1222
|
+
#
|
1223
|
+
# @example Request syntax with placeholder values
|
1224
|
+
#
|
1225
|
+
# resp = client.disable_sso({
|
1226
|
+
# directory_id: "DirectoryId", # required
|
1227
|
+
# user_name: "UserName",
|
1228
|
+
# password: "ConnectPassword",
|
1229
|
+
# })
|
1230
|
+
#
|
1231
|
+
# @overload disable_sso(params = {})
|
1232
|
+
# @param [Hash] params ({})
|
1233
|
+
def disable_sso(params = {}, options = {})
|
1234
|
+
req = build_request(:disable_sso, params)
|
1235
|
+
req.send_request(options)
|
1236
|
+
end
|
1102
1237
|
|
1103
|
-
|
1104
|
-
|
1105
|
-
|
1106
|
-
|
1107
|
-
|
1108
|
-
|
1109
|
-
|
1110
|
-
|
1111
|
-
|
1112
|
-
|
1113
|
-
|
1114
|
-
|
1115
|
-
|
1116
|
-
|
1117
|
-
|
1118
|
-
|
1119
|
-
|
1120
|
-
|
1121
|
-
|
1122
|
-
|
1123
|
-
|
1124
|
-
|
1125
|
-
|
1126
|
-
|
1127
|
-
|
1128
|
-
|
1129
|
-
|
1130
|
-
|
1131
|
-
|
1132
|
-
|
1133
|
-
|
1238
|
+
# Enables multi-factor authentication (MFA) with the Remote
|
1239
|
+
# Authentication Dial In User Service (RADIUS) server for an AD
|
1240
|
+
# Connector directory.
|
1241
|
+
#
|
1242
|
+
# @option params [required, String] :directory_id
|
1243
|
+
# The identifier of the directory for which to enable MFA.
|
1244
|
+
#
|
1245
|
+
# @option params [required, Types::RadiusSettings] :radius_settings
|
1246
|
+
# A RadiusSettings object that contains information about the RADIUS
|
1247
|
+
# server.
|
1248
|
+
#
|
1249
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1250
|
+
#
|
1251
|
+
# @example Request syntax with placeholder values
|
1252
|
+
#
|
1253
|
+
# resp = client.enable_radius({
|
1254
|
+
# directory_id: "DirectoryId", # required
|
1255
|
+
# radius_settings: { # required
|
1256
|
+
# radius_servers: ["Server"],
|
1257
|
+
# radius_port: 1,
|
1258
|
+
# radius_timeout: 1,
|
1259
|
+
# radius_retries: 1,
|
1260
|
+
# shared_secret: "RadiusSharedSecret",
|
1261
|
+
# authentication_protocol: "PAP", # accepts PAP, CHAP, MS-CHAPv1, MS-CHAPv2
|
1262
|
+
# display_label: "RadiusDisplayLabel",
|
1263
|
+
# use_same_username: false,
|
1264
|
+
# },
|
1265
|
+
# })
|
1266
|
+
#
|
1267
|
+
# @overload enable_radius(params = {})
|
1268
|
+
# @param [Hash] params ({})
|
1269
|
+
def enable_radius(params = {}, options = {})
|
1270
|
+
req = build_request(:enable_radius, params)
|
1271
|
+
req.send_request(options)
|
1272
|
+
end
|
1134
1273
|
|
1135
|
-
|
1136
|
-
|
1137
|
-
|
1138
|
-
|
1139
|
-
|
1140
|
-
|
1141
|
-
|
1142
|
-
|
1143
|
-
|
1144
|
-
|
1145
|
-
|
1146
|
-
|
1147
|
-
|
1148
|
-
|
1149
|
-
|
1150
|
-
|
1151
|
-
|
1152
|
-
|
1153
|
-
|
1154
|
-
|
1155
|
-
|
1156
|
-
|
1157
|
-
|
1158
|
-
|
1274
|
+
# Enables single sign-on for a directory.
|
1275
|
+
#
|
1276
|
+
# @option params [required, String] :directory_id
|
1277
|
+
# The identifier of the directory for which to enable single-sign on.
|
1278
|
+
#
|
1279
|
+
# @option params [String] :user_name
|
1280
|
+
# The username of an alternate account to use to enable single-sign on.
|
1281
|
+
# This is only used for AD Connector directories. This account must have
|
1282
|
+
# privileges to add a service principal name.
|
1283
|
+
#
|
1284
|
+
# If the AD Connector service account does not have privileges to add a
|
1285
|
+
# service principal name, you can specify an alternate account with the
|
1286
|
+
# *UserName* and *Password* parameters. These credentials are only used
|
1287
|
+
# to enable single sign-on and are not stored by the service. The AD
|
1288
|
+
# Connector service account is not changed.
|
1289
|
+
#
|
1290
|
+
# @option params [String] :password
|
1291
|
+
# The password of an alternate account to use to enable single-sign on.
|
1292
|
+
# This is only used for AD Connector directories. For more information,
|
1293
|
+
# see the *UserName* parameter.
|
1294
|
+
#
|
1295
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1296
|
+
#
|
1297
|
+
# @example Request syntax with placeholder values
|
1298
|
+
#
|
1299
|
+
# resp = client.enable_sso({
|
1300
|
+
# directory_id: "DirectoryId", # required
|
1301
|
+
# user_name: "UserName",
|
1302
|
+
# password: "ConnectPassword",
|
1303
|
+
# })
|
1304
|
+
#
|
1305
|
+
# @overload enable_sso(params = {})
|
1306
|
+
# @param [Hash] params ({})
|
1307
|
+
def enable_sso(params = {}, options = {})
|
1308
|
+
req = build_request(:enable_sso, params)
|
1309
|
+
req.send_request(options)
|
1310
|
+
end
|
1159
1311
|
|
1160
|
-
|
1161
|
-
|
1162
|
-
|
1163
|
-
|
1164
|
-
|
1165
|
-
|
1166
|
-
|
1167
|
-
|
1168
|
-
|
1169
|
-
|
1170
|
-
|
1171
|
-
|
1172
|
-
|
1173
|
-
|
1174
|
-
|
1175
|
-
|
1176
|
-
|
1177
|
-
|
1178
|
-
|
1179
|
-
|
1180
|
-
|
1181
|
-
|
1312
|
+
# Obtains directory limit information for the current region.
|
1313
|
+
#
|
1314
|
+
# @return [Types::GetDirectoryLimitsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1315
|
+
#
|
1316
|
+
# * {Types::GetDirectoryLimitsResult#directory_limits #directory_limits} => Types::DirectoryLimits
|
1317
|
+
#
|
1318
|
+
# @example Response structure
|
1319
|
+
#
|
1320
|
+
# resp.directory_limits.cloud_only_directories_limit #=> Integer
|
1321
|
+
# resp.directory_limits.cloud_only_directories_current_count #=> Integer
|
1322
|
+
# resp.directory_limits.cloud_only_directories_limit_reached #=> Boolean
|
1323
|
+
# resp.directory_limits.cloud_only_microsoft_ad_limit #=> Integer
|
1324
|
+
# resp.directory_limits.cloud_only_microsoft_ad_current_count #=> Integer
|
1325
|
+
# resp.directory_limits.cloud_only_microsoft_ad_limit_reached #=> Boolean
|
1326
|
+
# resp.directory_limits.connected_directories_limit #=> Integer
|
1327
|
+
# resp.directory_limits.connected_directories_current_count #=> Integer
|
1328
|
+
# resp.directory_limits.connected_directories_limit_reached #=> Boolean
|
1329
|
+
#
|
1330
|
+
# @overload get_directory_limits(params = {})
|
1331
|
+
# @param [Hash] params ({})
|
1332
|
+
def get_directory_limits(params = {}, options = {})
|
1333
|
+
req = build_request(:get_directory_limits, params)
|
1334
|
+
req.send_request(options)
|
1335
|
+
end
|
1182
1336
|
|
1183
|
-
|
1184
|
-
|
1185
|
-
|
1186
|
-
|
1187
|
-
|
1188
|
-
|
1189
|
-
|
1190
|
-
|
1191
|
-
|
1192
|
-
|
1193
|
-
|
1194
|
-
|
1195
|
-
|
1196
|
-
|
1197
|
-
|
1198
|
-
|
1199
|
-
|
1200
|
-
|
1201
|
-
|
1202
|
-
|
1203
|
-
|
1204
|
-
|
1205
|
-
|
1206
|
-
|
1207
|
-
|
1208
|
-
|
1209
|
-
|
1210
|
-
# resp.ip_routes_info[0].added_date_time #=> Time
|
1211
|
-
# resp.ip_routes_info[0].ip_route_status_reason #=> String
|
1212
|
-
# resp.ip_routes_info[0].description #=> String
|
1213
|
-
# resp.next_token #=> String
|
1214
|
-
# @overload list_ip_routes(params = {})
|
1215
|
-
# @param [Hash] params ({})
|
1216
|
-
def list_ip_routes(params = {}, options = {})
|
1217
|
-
req = build_request(:list_ip_routes, params)
|
1218
|
-
req.send_request(options)
|
1219
|
-
end
|
1337
|
+
# Obtains the manual snapshot limits for a directory.
|
1338
|
+
#
|
1339
|
+
# @option params [required, String] :directory_id
|
1340
|
+
# Contains the identifier of the directory to obtain the limits for.
|
1341
|
+
#
|
1342
|
+
# @return [Types::GetSnapshotLimitsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1343
|
+
#
|
1344
|
+
# * {Types::GetSnapshotLimitsResult#snapshot_limits #snapshot_limits} => Types::SnapshotLimits
|
1345
|
+
#
|
1346
|
+
# @example Request syntax with placeholder values
|
1347
|
+
#
|
1348
|
+
# resp = client.get_snapshot_limits({
|
1349
|
+
# directory_id: "DirectoryId", # required
|
1350
|
+
# })
|
1351
|
+
#
|
1352
|
+
# @example Response structure
|
1353
|
+
#
|
1354
|
+
# resp.snapshot_limits.manual_snapshots_limit #=> Integer
|
1355
|
+
# resp.snapshot_limits.manual_snapshots_current_count #=> Integer
|
1356
|
+
# resp.snapshot_limits.manual_snapshots_limit_reached #=> Boolean
|
1357
|
+
#
|
1358
|
+
# @overload get_snapshot_limits(params = {})
|
1359
|
+
# @param [Hash] params ({})
|
1360
|
+
def get_snapshot_limits(params = {}, options = {})
|
1361
|
+
req = build_request(:get_snapshot_limits, params)
|
1362
|
+
req.send_request(options)
|
1363
|
+
end
|
1220
1364
|
|
1221
|
-
|
1222
|
-
|
1223
|
-
|
1224
|
-
|
1225
|
-
|
1226
|
-
|
1227
|
-
|
1228
|
-
|
1229
|
-
|
1230
|
-
|
1231
|
-
|
1232
|
-
|
1233
|
-
|
1234
|
-
|
1235
|
-
|
1236
|
-
|
1237
|
-
|
1238
|
-
|
1239
|
-
|
1240
|
-
|
1241
|
-
|
1242
|
-
|
1243
|
-
|
1244
|
-
|
1245
|
-
|
1246
|
-
|
1247
|
-
|
1248
|
-
|
1249
|
-
|
1250
|
-
|
1251
|
-
|
1252
|
-
|
1253
|
-
|
1254
|
-
|
1255
|
-
|
1256
|
-
|
1257
|
-
|
1365
|
+
# Lists the address blocks that you have added to a directory.
|
1366
|
+
#
|
1367
|
+
# @option params [required, String] :directory_id
|
1368
|
+
# Identifier (ID) of the directory for which you want to retrieve the IP
|
1369
|
+
# addresses.
|
1370
|
+
#
|
1371
|
+
# @option params [String] :next_token
|
1372
|
+
# The *ListIpRoutes.NextToken* value from a previous call to
|
1373
|
+
# ListIpRoutes. Pass null if this is the first call.
|
1374
|
+
#
|
1375
|
+
# @option params [Integer] :limit
|
1376
|
+
# Maximum number of items to return. If this value is zero, the maximum
|
1377
|
+
# number of items is specified by the limitations of the operation.
|
1378
|
+
#
|
1379
|
+
# @return [Types::ListIpRoutesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1380
|
+
#
|
1381
|
+
# * {Types::ListIpRoutesResult#ip_routes_info #ip_routes_info} => Array<Types::IpRouteInfo>
|
1382
|
+
# * {Types::ListIpRoutesResult#next_token #next_token} => String
|
1383
|
+
#
|
1384
|
+
# @example Request syntax with placeholder values
|
1385
|
+
#
|
1386
|
+
# resp = client.list_ip_routes({
|
1387
|
+
# directory_id: "DirectoryId", # required
|
1388
|
+
# next_token: "NextToken",
|
1389
|
+
# limit: 1,
|
1390
|
+
# })
|
1391
|
+
#
|
1392
|
+
# @example Response structure
|
1393
|
+
#
|
1394
|
+
# resp.ip_routes_info #=> Array
|
1395
|
+
# resp.ip_routes_info[0].directory_id #=> String
|
1396
|
+
# resp.ip_routes_info[0].cidr_ip #=> String
|
1397
|
+
# resp.ip_routes_info[0].ip_route_status_msg #=> String, one of "Adding", "Added", "Removing", "Removed", "AddFailed", "RemoveFailed"
|
1398
|
+
# resp.ip_routes_info[0].added_date_time #=> Time
|
1399
|
+
# resp.ip_routes_info[0].ip_route_status_reason #=> String
|
1400
|
+
# resp.ip_routes_info[0].description #=> String
|
1401
|
+
# resp.next_token #=> String
|
1402
|
+
#
|
1403
|
+
# @overload list_ip_routes(params = {})
|
1404
|
+
# @param [Hash] params ({})
|
1405
|
+
def list_ip_routes(params = {}, options = {})
|
1406
|
+
req = build_request(:list_ip_routes, params)
|
1407
|
+
req.send_request(options)
|
1408
|
+
end
|
1258
1409
|
|
1259
|
-
|
1260
|
-
|
1261
|
-
|
1262
|
-
|
1263
|
-
|
1264
|
-
|
1265
|
-
|
1266
|
-
|
1267
|
-
|
1268
|
-
|
1269
|
-
|
1270
|
-
|
1271
|
-
|
1272
|
-
|
1273
|
-
|
1274
|
-
|
1275
|
-
|
1276
|
-
|
1277
|
-
|
1278
|
-
|
1279
|
-
|
1280
|
-
|
1281
|
-
|
1282
|
-
|
1283
|
-
|
1284
|
-
|
1285
|
-
|
1286
|
-
|
1287
|
-
|
1288
|
-
|
1410
|
+
# Lists all schema extensions applied to a Microsoft AD Directory.
|
1411
|
+
#
|
1412
|
+
# @option params [required, String] :directory_id
|
1413
|
+
# The identifier of the directory from which to retrieve the schema
|
1414
|
+
# extension information.
|
1415
|
+
#
|
1416
|
+
# @option params [String] :next_token
|
1417
|
+
# The `ListSchemaExtensions.NextToken` value from a previous call to
|
1418
|
+
# `ListSchemaExtensions`. Pass null if this is the first call.
|
1419
|
+
#
|
1420
|
+
# @option params [Integer] :limit
|
1421
|
+
# The maximum number of items to return.
|
1422
|
+
#
|
1423
|
+
# @return [Types::ListSchemaExtensionsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1424
|
+
#
|
1425
|
+
# * {Types::ListSchemaExtensionsResult#schema_extensions_info #schema_extensions_info} => Array<Types::SchemaExtensionInfo>
|
1426
|
+
# * {Types::ListSchemaExtensionsResult#next_token #next_token} => String
|
1427
|
+
#
|
1428
|
+
# @example Request syntax with placeholder values
|
1429
|
+
#
|
1430
|
+
# resp = client.list_schema_extensions({
|
1431
|
+
# directory_id: "DirectoryId", # required
|
1432
|
+
# next_token: "NextToken",
|
1433
|
+
# limit: 1,
|
1434
|
+
# })
|
1435
|
+
#
|
1436
|
+
# @example Response structure
|
1437
|
+
#
|
1438
|
+
# resp.schema_extensions_info #=> Array
|
1439
|
+
# resp.schema_extensions_info[0].directory_id #=> String
|
1440
|
+
# resp.schema_extensions_info[0].schema_extension_id #=> String
|
1441
|
+
# resp.schema_extensions_info[0].description #=> String
|
1442
|
+
# resp.schema_extensions_info[0].schema_extension_status #=> String, one of "Initializing", "CreatingSnapshot", "UpdatingSchema", "Replicating", "CancelInProgress", "RollbackInProgress", "Cancelled", "Failed", "Completed"
|
1443
|
+
# resp.schema_extensions_info[0].schema_extension_status_reason #=> String
|
1444
|
+
# resp.schema_extensions_info[0].start_date_time #=> Time
|
1445
|
+
# resp.schema_extensions_info[0].end_date_time #=> Time
|
1446
|
+
# resp.next_token #=> String
|
1447
|
+
#
|
1448
|
+
# @overload list_schema_extensions(params = {})
|
1449
|
+
# @param [Hash] params ({})
|
1450
|
+
def list_schema_extensions(params = {}, options = {})
|
1451
|
+
req = build_request(:list_schema_extensions, params)
|
1452
|
+
req.send_request(options)
|
1453
|
+
end
|
1289
1454
|
|
1290
|
-
|
1291
|
-
|
1292
|
-
|
1293
|
-
|
1294
|
-
|
1295
|
-
|
1296
|
-
|
1297
|
-
|
1298
|
-
|
1299
|
-
|
1300
|
-
|
1301
|
-
|
1302
|
-
|
1303
|
-
|
1304
|
-
|
1305
|
-
|
1306
|
-
|
1307
|
-
|
1308
|
-
|
1309
|
-
|
1310
|
-
|
1311
|
-
|
1312
|
-
|
1313
|
-
|
1314
|
-
|
1455
|
+
# Lists all tags on a directory.
|
1456
|
+
#
|
1457
|
+
# @option params [required, String] :resource_id
|
1458
|
+
# Identifier (ID) of the directory for which you want to retrieve tags.
|
1459
|
+
#
|
1460
|
+
# @option params [String] :next_token
|
1461
|
+
# Reserved for future use.
|
1462
|
+
#
|
1463
|
+
# @option params [Integer] :limit
|
1464
|
+
# Reserved for future use.
|
1465
|
+
#
|
1466
|
+
# @return [Types::ListTagsForResourceResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1467
|
+
#
|
1468
|
+
# * {Types::ListTagsForResourceResult#tags #tags} => Array<Types::Tag>
|
1469
|
+
# * {Types::ListTagsForResourceResult#next_token #next_token} => String
|
1470
|
+
#
|
1471
|
+
# @example Request syntax with placeholder values
|
1472
|
+
#
|
1473
|
+
# resp = client.list_tags_for_resource({
|
1474
|
+
# resource_id: "ResourceId", # required
|
1475
|
+
# next_token: "NextToken",
|
1476
|
+
# limit: 1,
|
1477
|
+
# })
|
1478
|
+
#
|
1479
|
+
# @example Response structure
|
1480
|
+
#
|
1481
|
+
# resp.tags #=> Array
|
1482
|
+
# resp.tags[0].key #=> String
|
1483
|
+
# resp.tags[0].value #=> String
|
1484
|
+
# resp.next_token #=> String
|
1485
|
+
#
|
1486
|
+
# @overload list_tags_for_resource(params = {})
|
1487
|
+
# @param [Hash] params ({})
|
1488
|
+
def list_tags_for_resource(params = {}, options = {})
|
1489
|
+
req = build_request(:list_tags_for_resource, params)
|
1490
|
+
req.send_request(options)
|
1491
|
+
end
|
1315
1492
|
|
1316
|
-
|
1317
|
-
|
1318
|
-
|
1319
|
-
|
1320
|
-
|
1321
|
-
|
1322
|
-
|
1323
|
-
|
1324
|
-
|
1325
|
-
|
1326
|
-
|
1327
|
-
|
1328
|
-
|
1329
|
-
|
1330
|
-
|
1331
|
-
|
1332
|
-
|
1333
|
-
|
1334
|
-
|
1493
|
+
# Associates a directory with an SNS topic. This establishes the
|
1494
|
+
# directory as a publisher to the specified SNS topic. You can then
|
1495
|
+
# receive email or text (SMS) messages when the status of your directory
|
1496
|
+
# changes. You get notified if your directory goes from an Active status
|
1497
|
+
# to an Impaired or Inoperable status. You also receive a notification
|
1498
|
+
# when the directory returns to an Active status.
|
1499
|
+
#
|
1500
|
+
# @option params [required, String] :directory_id
|
1501
|
+
# The Directory ID that will publish status messages to the SNS topic.
|
1502
|
+
#
|
1503
|
+
# @option params [required, String] :topic_name
|
1504
|
+
# The SNS topic name to which the directory will publish status
|
1505
|
+
# messages. This SNS topic must be in the same region as the specified
|
1506
|
+
# Directory ID.
|
1507
|
+
#
|
1508
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1509
|
+
#
|
1510
|
+
# @example Request syntax with placeholder values
|
1511
|
+
#
|
1512
|
+
# resp = client.register_event_topic({
|
1513
|
+
# directory_id: "DirectoryId", # required
|
1514
|
+
# topic_name: "TopicName", # required
|
1515
|
+
# })
|
1516
|
+
#
|
1517
|
+
# @overload register_event_topic(params = {})
|
1518
|
+
# @param [Hash] params ({})
|
1519
|
+
def register_event_topic(params = {}, options = {})
|
1520
|
+
req = build_request(:register_event_topic, params)
|
1521
|
+
req.send_request(options)
|
1522
|
+
end
|
1335
1523
|
|
1336
|
-
|
1337
|
-
|
1338
|
-
|
1339
|
-
|
1340
|
-
|
1341
|
-
|
1342
|
-
|
1343
|
-
|
1344
|
-
|
1345
|
-
|
1346
|
-
|
1347
|
-
|
1348
|
-
|
1349
|
-
|
1350
|
-
|
1351
|
-
|
1352
|
-
|
1353
|
-
|
1524
|
+
# Removes IP address blocks from a directory.
|
1525
|
+
#
|
1526
|
+
# @option params [required, String] :directory_id
|
1527
|
+
# Identifier (ID) of the directory from which you want to remove the IP
|
1528
|
+
# addresses.
|
1529
|
+
#
|
1530
|
+
# @option params [required, Array<String>] :cidr_ips
|
1531
|
+
# IP address blocks that you want to remove.
|
1532
|
+
#
|
1533
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1534
|
+
#
|
1535
|
+
# @example Request syntax with placeholder values
|
1536
|
+
#
|
1537
|
+
# resp = client.remove_ip_routes({
|
1538
|
+
# directory_id: "DirectoryId", # required
|
1539
|
+
# cidr_ips: ["CidrIp"], # required
|
1540
|
+
# })
|
1541
|
+
#
|
1542
|
+
# @overload remove_ip_routes(params = {})
|
1543
|
+
# @param [Hash] params ({})
|
1544
|
+
def remove_ip_routes(params = {}, options = {})
|
1545
|
+
req = build_request(:remove_ip_routes, params)
|
1546
|
+
req.send_request(options)
|
1547
|
+
end
|
1354
1548
|
|
1355
|
-
|
1356
|
-
|
1357
|
-
|
1358
|
-
|
1359
|
-
|
1360
|
-
|
1361
|
-
|
1362
|
-
|
1363
|
-
|
1364
|
-
|
1365
|
-
|
1366
|
-
|
1367
|
-
|
1368
|
-
|
1369
|
-
|
1370
|
-
|
1371
|
-
|
1372
|
-
|
1373
|
-
|
1374
|
-
|
1375
|
-
|
1376
|
-
|
1377
|
-
|
1378
|
-
end
|
1549
|
+
# Removes tags from a directory.
|
1550
|
+
#
|
1551
|
+
# @option params [required, String] :resource_id
|
1552
|
+
# Identifier (ID) of the directory from which to remove the tag.
|
1553
|
+
#
|
1554
|
+
# @option params [required, Array<String>] :tag_keys
|
1555
|
+
# The tag key (name) of the tag to be removed.
|
1556
|
+
#
|
1557
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1558
|
+
#
|
1559
|
+
# @example Request syntax with placeholder values
|
1560
|
+
#
|
1561
|
+
# resp = client.remove_tags_from_resource({
|
1562
|
+
# resource_id: "ResourceId", # required
|
1563
|
+
# tag_keys: ["TagKey"], # required
|
1564
|
+
# })
|
1565
|
+
#
|
1566
|
+
# @overload remove_tags_from_resource(params = {})
|
1567
|
+
# @param [Hash] params ({})
|
1568
|
+
def remove_tags_from_resource(params = {}, options = {})
|
1569
|
+
req = build_request(:remove_tags_from_resource, params)
|
1570
|
+
req.send_request(options)
|
1571
|
+
end
|
1379
1572
|
|
1380
|
-
|
1381
|
-
|
1382
|
-
|
1383
|
-
|
1384
|
-
|
1385
|
-
|
1386
|
-
|
1387
|
-
|
1388
|
-
|
1389
|
-
|
1390
|
-
|
1391
|
-
|
1392
|
-
|
1393
|
-
|
1394
|
-
|
1395
|
-
|
1396
|
-
|
1397
|
-
|
1398
|
-
|
1399
|
-
|
1400
|
-
|
1401
|
-
|
1402
|
-
|
1403
|
-
|
1404
|
-
|
1405
|
-
|
1406
|
-
|
1407
|
-
|
1408
|
-
def start_schema_extension(params = {}, options = {})
|
1409
|
-
req = build_request(:start_schema_extension, params)
|
1410
|
-
req.send_request(options)
|
1411
|
-
end
|
1573
|
+
# Restores a directory using an existing directory snapshot.
|
1574
|
+
#
|
1575
|
+
# When you restore a directory from a snapshot, any changes made to the
|
1576
|
+
# directory after the snapshot date are overwritten.
|
1577
|
+
#
|
1578
|
+
# This action returns as soon as the restore operation is initiated. You
|
1579
|
+
# can monitor the progress of the restore operation by calling the
|
1580
|
+
# DescribeDirectories operation with the directory identifier. When the
|
1581
|
+
# **DirectoryDescription.Stage** value changes to `Active`, the restore
|
1582
|
+
# operation is complete.
|
1583
|
+
#
|
1584
|
+
# @option params [required, String] :snapshot_id
|
1585
|
+
# The identifier of the snapshot to restore from.
|
1586
|
+
#
|
1587
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1588
|
+
#
|
1589
|
+
# @example Request syntax with placeholder values
|
1590
|
+
#
|
1591
|
+
# resp = client.restore_from_snapshot({
|
1592
|
+
# snapshot_id: "SnapshotId", # required
|
1593
|
+
# })
|
1594
|
+
#
|
1595
|
+
# @overload restore_from_snapshot(params = {})
|
1596
|
+
# @param [Hash] params ({})
|
1597
|
+
def restore_from_snapshot(params = {}, options = {})
|
1598
|
+
req = build_request(:restore_from_snapshot, params)
|
1599
|
+
req.send_request(options)
|
1600
|
+
end
|
1412
1601
|
|
1413
|
-
|
1414
|
-
|
1415
|
-
|
1416
|
-
|
1417
|
-
|
1418
|
-
|
1419
|
-
|
1420
|
-
|
1421
|
-
|
1422
|
-
|
1423
|
-
|
1424
|
-
|
1425
|
-
|
1426
|
-
|
1427
|
-
|
1428
|
-
|
1429
|
-
|
1430
|
-
|
1431
|
-
|
1432
|
-
|
1433
|
-
|
1434
|
-
|
1435
|
-
|
1436
|
-
|
1437
|
-
|
1602
|
+
# Applies a schema extension to a Microsoft AD directory.
|
1603
|
+
#
|
1604
|
+
# @option params [required, String] :directory_id
|
1605
|
+
# The identifier of the directory for which the schema extension will be
|
1606
|
+
# applied to.
|
1607
|
+
#
|
1608
|
+
# @option params [required, Boolean] :create_snapshot_before_schema_extension
|
1609
|
+
# If true, creates a snapshot of the directory before applying the
|
1610
|
+
# schema extension.
|
1611
|
+
#
|
1612
|
+
# @option params [required, String] :ldif_content
|
1613
|
+
# The LDIF file represented as a string. To construct the LdifContent
|
1614
|
+
# string, precede each line as it would be formatted in an ldif file
|
1615
|
+
# with \\n. See the example request below for more details. The file
|
1616
|
+
# size can be no larger than 1MB.
|
1617
|
+
#
|
1618
|
+
# @option params [required, String] :description
|
1619
|
+
# A description of the schema extension.
|
1620
|
+
#
|
1621
|
+
# @return [Types::StartSchemaExtensionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1622
|
+
#
|
1623
|
+
# * {Types::StartSchemaExtensionResult#schema_extension_id #schema_extension_id} => String
|
1624
|
+
#
|
1625
|
+
# @example Request syntax with placeholder values
|
1626
|
+
#
|
1627
|
+
# resp = client.start_schema_extension({
|
1628
|
+
# directory_id: "DirectoryId", # required
|
1629
|
+
# create_snapshot_before_schema_extension: false, # required
|
1630
|
+
# ldif_content: "LdifContent", # required
|
1631
|
+
# description: "Description", # required
|
1632
|
+
# })
|
1633
|
+
#
|
1634
|
+
# @example Response structure
|
1635
|
+
#
|
1636
|
+
# resp.schema_extension_id #=> String
|
1637
|
+
#
|
1638
|
+
# @overload start_schema_extension(params = {})
|
1639
|
+
# @param [Hash] params ({})
|
1640
|
+
def start_schema_extension(params = {}, options = {})
|
1641
|
+
req = build_request(:start_schema_extension, params)
|
1642
|
+
req.send_request(options)
|
1643
|
+
end
|
1438
1644
|
|
1439
|
-
|
1440
|
-
|
1441
|
-
|
1442
|
-
|
1443
|
-
|
1444
|
-
|
1445
|
-
|
1446
|
-
|
1447
|
-
|
1448
|
-
|
1449
|
-
|
1450
|
-
|
1451
|
-
|
1452
|
-
|
1453
|
-
|
1454
|
-
|
1455
|
-
|
1456
|
-
|
1457
|
-
|
1458
|
-
|
1459
|
-
|
1460
|
-
|
1461
|
-
|
1462
|
-
|
1463
|
-
|
1464
|
-
|
1465
|
-
|
1466
|
-
|
1467
|
-
|
1468
|
-
|
1645
|
+
# Updates a conditional forwarder that has been set up for your AWS
|
1646
|
+
# directory.
|
1647
|
+
#
|
1648
|
+
# @option params [required, String] :directory_id
|
1649
|
+
# The directory ID of the AWS directory for which to update the
|
1650
|
+
# conditional forwarder.
|
1651
|
+
#
|
1652
|
+
# @option params [required, String] :remote_domain_name
|
1653
|
+
# The fully qualified domain name (FQDN) of the remote domain with which
|
1654
|
+
# you will set up a trust relationship.
|
1655
|
+
#
|
1656
|
+
# @option params [required, Array<String>] :dns_ip_addrs
|
1657
|
+
# The updated IP addresses of the remote DNS server associated with the
|
1658
|
+
# conditional forwarder.
|
1659
|
+
#
|
1660
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1661
|
+
#
|
1662
|
+
# @example Request syntax with placeholder values
|
1663
|
+
#
|
1664
|
+
# resp = client.update_conditional_forwarder({
|
1665
|
+
# directory_id: "DirectoryId", # required
|
1666
|
+
# remote_domain_name: "RemoteDomainName", # required
|
1667
|
+
# dns_ip_addrs: ["IpAddr"], # required
|
1668
|
+
# })
|
1669
|
+
#
|
1670
|
+
# @overload update_conditional_forwarder(params = {})
|
1671
|
+
# @param [Hash] params ({})
|
1672
|
+
def update_conditional_forwarder(params = {}, options = {})
|
1673
|
+
req = build_request(:update_conditional_forwarder, params)
|
1674
|
+
req.send_request(options)
|
1675
|
+
end
|
1469
1676
|
|
1470
|
-
|
1471
|
-
|
1472
|
-
|
1473
|
-
|
1474
|
-
|
1475
|
-
|
1476
|
-
|
1477
|
-
|
1478
|
-
|
1479
|
-
|
1480
|
-
|
1481
|
-
|
1482
|
-
|
1483
|
-
|
1484
|
-
|
1485
|
-
|
1486
|
-
|
1487
|
-
|
1488
|
-
|
1489
|
-
|
1490
|
-
|
1491
|
-
|
1492
|
-
|
1493
|
-
|
1677
|
+
# Updates the Remote Authentication Dial In User Service (RADIUS) server
|
1678
|
+
# information for an AD Connector directory.
|
1679
|
+
#
|
1680
|
+
# @option params [required, String] :directory_id
|
1681
|
+
# The identifier of the directory for which to update the RADIUS server
|
1682
|
+
# information.
|
1683
|
+
#
|
1684
|
+
# @option params [required, Types::RadiusSettings] :radius_settings
|
1685
|
+
# A RadiusSettings object that contains information about the RADIUS
|
1686
|
+
# server.
|
1687
|
+
#
|
1688
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1689
|
+
#
|
1690
|
+
# @example Request syntax with placeholder values
|
1691
|
+
#
|
1692
|
+
# resp = client.update_radius({
|
1693
|
+
# directory_id: "DirectoryId", # required
|
1694
|
+
# radius_settings: { # required
|
1695
|
+
# radius_servers: ["Server"],
|
1696
|
+
# radius_port: 1,
|
1697
|
+
# radius_timeout: 1,
|
1698
|
+
# radius_retries: 1,
|
1699
|
+
# shared_secret: "RadiusSharedSecret",
|
1700
|
+
# authentication_protocol: "PAP", # accepts PAP, CHAP, MS-CHAPv1, MS-CHAPv2
|
1701
|
+
# display_label: "RadiusDisplayLabel",
|
1702
|
+
# use_same_username: false,
|
1703
|
+
# },
|
1704
|
+
# })
|
1705
|
+
#
|
1706
|
+
# @overload update_radius(params = {})
|
1707
|
+
# @param [Hash] params ({})
|
1708
|
+
def update_radius(params = {}, options = {})
|
1709
|
+
req = build_request(:update_radius, params)
|
1710
|
+
req.send_request(options)
|
1711
|
+
end
|
1494
1712
|
|
1495
|
-
|
1713
|
+
# AWS Directory Service for Microsoft Active Directory allows you to
|
1714
|
+
# configure and verify trust relationships.
|
1715
|
+
#
|
1716
|
+
# This action verifies a trust relationship between your Microsoft AD in
|
1717
|
+
# the AWS cloud and an external domain.
|
1718
|
+
#
|
1719
|
+
# @option params [required, String] :trust_id
|
1720
|
+
# The unique Trust ID of the trust relationship to verify.
|
1721
|
+
#
|
1722
|
+
# @return [Types::VerifyTrustResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1723
|
+
#
|
1724
|
+
# * {Types::VerifyTrustResult#trust_id #trust_id} => String
|
1725
|
+
#
|
1726
|
+
# @example Request syntax with placeholder values
|
1727
|
+
#
|
1728
|
+
# resp = client.verify_trust({
|
1729
|
+
# trust_id: "TrustId", # required
|
1730
|
+
# })
|
1731
|
+
#
|
1732
|
+
# @example Response structure
|
1733
|
+
#
|
1734
|
+
# resp.trust_id #=> String
|
1735
|
+
#
|
1736
|
+
# @overload verify_trust(params = {})
|
1737
|
+
# @param [Hash] params ({})
|
1738
|
+
def verify_trust(params = {}, options = {})
|
1739
|
+
req = build_request(:verify_trust, params)
|
1740
|
+
req.send_request(options)
|
1741
|
+
end
|
1496
1742
|
|
1497
|
-
|
1498
|
-
# @api private
|
1499
|
-
def build_request(operation_name, params = {})
|
1500
|
-
handlers = @handlers.for(operation_name)
|
1501
|
-
context = Seahorse::Client::RequestContext.new(
|
1502
|
-
operation_name: operation_name,
|
1503
|
-
operation: config.api.operation(operation_name),
|
1504
|
-
client: self,
|
1505
|
-
params: params,
|
1506
|
-
config: config)
|
1507
|
-
context[:gem_name] = 'aws-sdk-directoryservice'
|
1508
|
-
context[:gem_version] = '1.0.0.rc1'
|
1509
|
-
Seahorse::Client::Request.new(handlers, context)
|
1510
|
-
end
|
1743
|
+
# @!endgroup
|
1511
1744
|
|
1512
|
-
|
1513
|
-
|
1514
|
-
|
1515
|
-
|
1516
|
-
|
1745
|
+
# @param params ({})
|
1746
|
+
# @api private
|
1747
|
+
def build_request(operation_name, params = {})
|
1748
|
+
handlers = @handlers.for(operation_name)
|
1749
|
+
context = Seahorse::Client::RequestContext.new(
|
1750
|
+
operation_name: operation_name,
|
1751
|
+
operation: config.api.operation(operation_name),
|
1752
|
+
client: self,
|
1753
|
+
params: params,
|
1754
|
+
config: config)
|
1755
|
+
context[:gem_name] = 'aws-sdk-directoryservice'
|
1756
|
+
context[:gem_version] = '1.0.0.rc1'
|
1757
|
+
Seahorse::Client::Request.new(handlers, context)
|
1758
|
+
end
|
1517
1759
|
|
1518
|
-
|
1760
|
+
# @api private
|
1761
|
+
# @deprecated
|
1762
|
+
def waiter_names
|
1763
|
+
[]
|
1764
|
+
end
|
1519
1765
|
|
1520
|
-
|
1521
|
-
attr_reader :identifier
|
1766
|
+
class << self
|
1522
1767
|
|
1523
|
-
|
1524
|
-
|
1525
|
-
Errors
|
1526
|
-
end
|
1768
|
+
# @api private
|
1769
|
+
attr_reader :identifier
|
1527
1770
|
|
1771
|
+
# @api private
|
1772
|
+
def errors_module
|
1773
|
+
Errors
|
1528
1774
|
end
|
1775
|
+
|
1529
1776
|
end
|
1530
1777
|
end
|
1531
1778
|
end
|