aws-sdk-directoryservicedata 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG.md +8 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-directoryservicedata/client.rb +1756 -0
- data/lib/aws-sdk-directoryservicedata/client_api.rb +696 -0
- data/lib/aws-sdk-directoryservicedata/customizations.rb +0 -0
- data/lib/aws-sdk-directoryservicedata/endpoint_parameters.rb +66 -0
- data/lib/aws-sdk-directoryservicedata/endpoint_provider.rb +54 -0
- data/lib/aws-sdk-directoryservicedata/endpoints.rb +203 -0
- data/lib/aws-sdk-directoryservicedata/errors.rb +186 -0
- data/lib/aws-sdk-directoryservicedata/plugins/endpoints.rb +113 -0
- data/lib/aws-sdk-directoryservicedata/resource.rb +26 -0
- data/lib/aws-sdk-directoryservicedata/types.rb +1743 -0
- data/lib/aws-sdk-directoryservicedata.rb +57 -0
- data/sig/client.rbs +353 -0
- data/sig/errors.rbs +41 -0
- data/sig/resource.rbs +81 -0
- data/sig/types.rbs +384 -0
- data/sig/waiters.rbs +13 -0
- metadata +99 -0
@@ -0,0 +1,57 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
|
11
|
+
require 'aws-sdk-core'
|
12
|
+
require 'aws-sigv4'
|
13
|
+
|
14
|
+
require_relative 'aws-sdk-directoryservicedata/types'
|
15
|
+
require_relative 'aws-sdk-directoryservicedata/client_api'
|
16
|
+
require_relative 'aws-sdk-directoryservicedata/plugins/endpoints.rb'
|
17
|
+
require_relative 'aws-sdk-directoryservicedata/client'
|
18
|
+
require_relative 'aws-sdk-directoryservicedata/errors'
|
19
|
+
require_relative 'aws-sdk-directoryservicedata/resource'
|
20
|
+
require_relative 'aws-sdk-directoryservicedata/endpoint_parameters'
|
21
|
+
require_relative 'aws-sdk-directoryservicedata/endpoint_provider'
|
22
|
+
require_relative 'aws-sdk-directoryservicedata/endpoints'
|
23
|
+
require_relative 'aws-sdk-directoryservicedata/customizations'
|
24
|
+
|
25
|
+
# This module provides support for AWS Directory Service Data. This module is available in the
|
26
|
+
# `aws-sdk-directoryservicedata` gem.
|
27
|
+
#
|
28
|
+
# # Client
|
29
|
+
#
|
30
|
+
# The {Client} class provides one method for each API operation. Operation
|
31
|
+
# methods each accept a hash of request parameters and return a response
|
32
|
+
# structure.
|
33
|
+
#
|
34
|
+
# directory_service_data = Aws::DirectoryServiceData::Client.new
|
35
|
+
# resp = directory_service_data.add_group_member(params)
|
36
|
+
#
|
37
|
+
# See {Client} for more information.
|
38
|
+
#
|
39
|
+
# # Errors
|
40
|
+
#
|
41
|
+
# Errors returned from AWS Directory Service Data are defined in the
|
42
|
+
# {Errors} module and all extend {Errors::ServiceError}.
|
43
|
+
#
|
44
|
+
# begin
|
45
|
+
# # do stuff
|
46
|
+
# rescue Aws::DirectoryServiceData::Errors::ServiceError
|
47
|
+
# # rescues all AWS Directory Service Data API errors
|
48
|
+
# end
|
49
|
+
#
|
50
|
+
# See {Errors} for more information.
|
51
|
+
#
|
52
|
+
# @!group service
|
53
|
+
module Aws::DirectoryServiceData
|
54
|
+
|
55
|
+
GEM_VERSION = '1.0.0'
|
56
|
+
|
57
|
+
end
|
data/sig/client.rbs
ADDED
@@ -0,0 +1,353 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module DirectoryServiceData
|
10
|
+
class Client < ::Seahorse::Client::Base
|
11
|
+
include ::Aws::ClientStubs
|
12
|
+
|
13
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DirectoryServiceData/Client.html#initialize-instance_method
|
14
|
+
def self.new: (
|
15
|
+
?credentials: untyped,
|
16
|
+
?region: String,
|
17
|
+
?access_key_id: String,
|
18
|
+
?active_endpoint_cache: bool,
|
19
|
+
?adaptive_retry_wait_to_fill: bool,
|
20
|
+
?client_side_monitoring: bool,
|
21
|
+
?client_side_monitoring_client_id: String,
|
22
|
+
?client_side_monitoring_host: String,
|
23
|
+
?client_side_monitoring_port: Integer,
|
24
|
+
?client_side_monitoring_publisher: untyped,
|
25
|
+
?convert_params: bool,
|
26
|
+
?correct_clock_skew: bool,
|
27
|
+
?defaults_mode: String,
|
28
|
+
?disable_host_prefix_injection: bool,
|
29
|
+
?disable_request_compression: bool,
|
30
|
+
?endpoint: String,
|
31
|
+
?endpoint_cache_max_entries: Integer,
|
32
|
+
?endpoint_cache_max_threads: Integer,
|
33
|
+
?endpoint_cache_poll_interval: Integer,
|
34
|
+
?endpoint_discovery: bool,
|
35
|
+
?ignore_configured_endpoint_urls: bool,
|
36
|
+
?log_formatter: untyped,
|
37
|
+
?log_level: Symbol,
|
38
|
+
?logger: untyped,
|
39
|
+
?max_attempts: Integer,
|
40
|
+
?profile: String,
|
41
|
+
?request_min_compression_size_bytes: Integer,
|
42
|
+
?retry_backoff: Proc,
|
43
|
+
?retry_base_delay: Float,
|
44
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
45
|
+
?retry_limit: Integer,
|
46
|
+
?retry_max_delay: Integer,
|
47
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
48
|
+
?sdk_ua_app_id: String,
|
49
|
+
?secret_access_key: String,
|
50
|
+
?session_token: String,
|
51
|
+
?sigv4a_signing_region_set: Array[String],
|
52
|
+
?stub_responses: untyped,
|
53
|
+
?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
|
54
|
+
?token_provider: untyped,
|
55
|
+
?use_dualstack_endpoint: bool,
|
56
|
+
?use_fips_endpoint: bool,
|
57
|
+
?validate_params: bool,
|
58
|
+
?endpoint_provider: untyped,
|
59
|
+
?http_proxy: String,
|
60
|
+
?http_open_timeout: (Float | Integer),
|
61
|
+
?http_read_timeout: (Float | Integer),
|
62
|
+
?http_idle_timeout: (Float | Integer),
|
63
|
+
?http_continue_timeout: (Float | Integer),
|
64
|
+
?ssl_timeout: (Float | Integer | nil),
|
65
|
+
?http_wire_trace: bool,
|
66
|
+
?ssl_verify_peer: bool,
|
67
|
+
?ssl_ca_bundle: String,
|
68
|
+
?ssl_ca_directory: String,
|
69
|
+
?ssl_ca_store: String,
|
70
|
+
?on_chunk_received: Proc,
|
71
|
+
?on_chunk_sent: Proc,
|
72
|
+
?raise_response_errors: bool
|
73
|
+
) -> instance
|
74
|
+
| (?Hash[Symbol, untyped]) -> instance
|
75
|
+
|
76
|
+
|
77
|
+
interface _AddGroupMemberResponseSuccess
|
78
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::AddGroupMemberResult]
|
79
|
+
end
|
80
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DirectoryServiceData/Client.html#add_group_member-instance_method
|
81
|
+
def add_group_member: (
|
82
|
+
?client_token: ::String,
|
83
|
+
directory_id: ::String,
|
84
|
+
group_name: ::String,
|
85
|
+
member_name: ::String,
|
86
|
+
?member_realm: ::String
|
87
|
+
) -> _AddGroupMemberResponseSuccess
|
88
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AddGroupMemberResponseSuccess
|
89
|
+
|
90
|
+
interface _CreateGroupResponseSuccess
|
91
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateGroupResult]
|
92
|
+
def directory_id: () -> ::String
|
93
|
+
def sam_account_name: () -> ::String
|
94
|
+
def sid: () -> ::String
|
95
|
+
end
|
96
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DirectoryServiceData/Client.html#create_group-instance_method
|
97
|
+
def create_group: (
|
98
|
+
?client_token: ::String,
|
99
|
+
directory_id: ::String,
|
100
|
+
?group_scope: ("DomainLocal" | "Global" | "Universal" | "BuiltinLocal"),
|
101
|
+
?group_type: ("Distribution" | "Security"),
|
102
|
+
?other_attributes: Hash[::String, untyped],
|
103
|
+
sam_account_name: ::String
|
104
|
+
) -> _CreateGroupResponseSuccess
|
105
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateGroupResponseSuccess
|
106
|
+
|
107
|
+
interface _CreateUserResponseSuccess
|
108
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateUserResult]
|
109
|
+
def directory_id: () -> ::String
|
110
|
+
def sam_account_name: () -> ::String
|
111
|
+
def sid: () -> ::String
|
112
|
+
end
|
113
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DirectoryServiceData/Client.html#create_user-instance_method
|
114
|
+
def create_user: (
|
115
|
+
?client_token: ::String,
|
116
|
+
directory_id: ::String,
|
117
|
+
?email_address: ::String,
|
118
|
+
?given_name: ::String,
|
119
|
+
?other_attributes: Hash[::String, untyped],
|
120
|
+
sam_account_name: ::String,
|
121
|
+
?surname: ::String
|
122
|
+
) -> _CreateUserResponseSuccess
|
123
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateUserResponseSuccess
|
124
|
+
|
125
|
+
interface _DeleteGroupResponseSuccess
|
126
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteGroupResult]
|
127
|
+
end
|
128
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DirectoryServiceData/Client.html#delete_group-instance_method
|
129
|
+
def delete_group: (
|
130
|
+
?client_token: ::String,
|
131
|
+
directory_id: ::String,
|
132
|
+
sam_account_name: ::String
|
133
|
+
) -> _DeleteGroupResponseSuccess
|
134
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteGroupResponseSuccess
|
135
|
+
|
136
|
+
interface _DeleteUserResponseSuccess
|
137
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteUserResult]
|
138
|
+
end
|
139
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DirectoryServiceData/Client.html#delete_user-instance_method
|
140
|
+
def delete_user: (
|
141
|
+
?client_token: ::String,
|
142
|
+
directory_id: ::String,
|
143
|
+
sam_account_name: ::String
|
144
|
+
) -> _DeleteUserResponseSuccess
|
145
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteUserResponseSuccess
|
146
|
+
|
147
|
+
interface _DescribeGroupResponseSuccess
|
148
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeGroupResult]
|
149
|
+
def directory_id: () -> ::String
|
150
|
+
def distinguished_name: () -> ::String
|
151
|
+
def group_scope: () -> ("DomainLocal" | "Global" | "Universal" | "BuiltinLocal")
|
152
|
+
def group_type: () -> ("Distribution" | "Security")
|
153
|
+
def other_attributes: () -> ::Hash[::String, Types::AttributeValue]
|
154
|
+
def realm: () -> ::String
|
155
|
+
def sam_account_name: () -> ::String
|
156
|
+
def sid: () -> ::String
|
157
|
+
end
|
158
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DirectoryServiceData/Client.html#describe_group-instance_method
|
159
|
+
def describe_group: (
|
160
|
+
directory_id: ::String,
|
161
|
+
?other_attributes: Array[::String],
|
162
|
+
?realm: ::String,
|
163
|
+
sam_account_name: ::String
|
164
|
+
) -> _DescribeGroupResponseSuccess
|
165
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeGroupResponseSuccess
|
166
|
+
|
167
|
+
interface _DescribeUserResponseSuccess
|
168
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeUserResult]
|
169
|
+
def directory_id: () -> ::String
|
170
|
+
def distinguished_name: () -> ::String
|
171
|
+
def email_address: () -> ::String
|
172
|
+
def enabled: () -> bool
|
173
|
+
def given_name: () -> ::String
|
174
|
+
def other_attributes: () -> ::Hash[::String, Types::AttributeValue]
|
175
|
+
def realm: () -> ::String
|
176
|
+
def sam_account_name: () -> ::String
|
177
|
+
def sid: () -> ::String
|
178
|
+
def surname: () -> ::String
|
179
|
+
def user_principal_name: () -> ::String
|
180
|
+
end
|
181
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DirectoryServiceData/Client.html#describe_user-instance_method
|
182
|
+
def describe_user: (
|
183
|
+
directory_id: ::String,
|
184
|
+
?other_attributes: Array[::String],
|
185
|
+
?realm: ::String,
|
186
|
+
sam_account_name: ::String
|
187
|
+
) -> _DescribeUserResponseSuccess
|
188
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeUserResponseSuccess
|
189
|
+
|
190
|
+
interface _DisableUserResponseSuccess
|
191
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DisableUserResult]
|
192
|
+
end
|
193
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DirectoryServiceData/Client.html#disable_user-instance_method
|
194
|
+
def disable_user: (
|
195
|
+
?client_token: ::String,
|
196
|
+
directory_id: ::String,
|
197
|
+
sam_account_name: ::String
|
198
|
+
) -> _DisableUserResponseSuccess
|
199
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisableUserResponseSuccess
|
200
|
+
|
201
|
+
interface _ListGroupMembersResponseSuccess
|
202
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListGroupMembersResult]
|
203
|
+
def directory_id: () -> ::String
|
204
|
+
def member_realm: () -> ::String
|
205
|
+
def members: () -> ::Array[Types::Member]
|
206
|
+
def next_token: () -> ::String
|
207
|
+
def realm: () -> ::String
|
208
|
+
end
|
209
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DirectoryServiceData/Client.html#list_group_members-instance_method
|
210
|
+
def list_group_members: (
|
211
|
+
directory_id: ::String,
|
212
|
+
?max_results: ::Integer,
|
213
|
+
?member_realm: ::String,
|
214
|
+
?next_token: ::String,
|
215
|
+
?realm: ::String,
|
216
|
+
sam_account_name: ::String
|
217
|
+
) -> _ListGroupMembersResponseSuccess
|
218
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListGroupMembersResponseSuccess
|
219
|
+
|
220
|
+
interface _ListGroupsResponseSuccess
|
221
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListGroupsResult]
|
222
|
+
def directory_id: () -> ::String
|
223
|
+
def groups: () -> ::Array[Types::GroupSummary]
|
224
|
+
def next_token: () -> ::String
|
225
|
+
def realm: () -> ::String
|
226
|
+
end
|
227
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DirectoryServiceData/Client.html#list_groups-instance_method
|
228
|
+
def list_groups: (
|
229
|
+
directory_id: ::String,
|
230
|
+
?max_results: ::Integer,
|
231
|
+
?next_token: ::String,
|
232
|
+
?realm: ::String
|
233
|
+
) -> _ListGroupsResponseSuccess
|
234
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListGroupsResponseSuccess
|
235
|
+
|
236
|
+
interface _ListGroupsForMemberResponseSuccess
|
237
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListGroupsForMemberResult]
|
238
|
+
def directory_id: () -> ::String
|
239
|
+
def groups: () -> ::Array[Types::GroupSummary]
|
240
|
+
def member_realm: () -> ::String
|
241
|
+
def next_token: () -> ::String
|
242
|
+
def realm: () -> ::String
|
243
|
+
end
|
244
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DirectoryServiceData/Client.html#list_groups_for_member-instance_method
|
245
|
+
def list_groups_for_member: (
|
246
|
+
directory_id: ::String,
|
247
|
+
?max_results: ::Integer,
|
248
|
+
?member_realm: ::String,
|
249
|
+
?next_token: ::String,
|
250
|
+
?realm: ::String,
|
251
|
+
sam_account_name: ::String
|
252
|
+
) -> _ListGroupsForMemberResponseSuccess
|
253
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListGroupsForMemberResponseSuccess
|
254
|
+
|
255
|
+
interface _ListUsersResponseSuccess
|
256
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListUsersResult]
|
257
|
+
def directory_id: () -> ::String
|
258
|
+
def next_token: () -> ::String
|
259
|
+
def realm: () -> ::String
|
260
|
+
def users: () -> ::Array[Types::UserSummary]
|
261
|
+
end
|
262
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DirectoryServiceData/Client.html#list_users-instance_method
|
263
|
+
def list_users: (
|
264
|
+
directory_id: ::String,
|
265
|
+
?max_results: ::Integer,
|
266
|
+
?next_token: ::String,
|
267
|
+
?realm: ::String
|
268
|
+
) -> _ListUsersResponseSuccess
|
269
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListUsersResponseSuccess
|
270
|
+
|
271
|
+
interface _RemoveGroupMemberResponseSuccess
|
272
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::RemoveGroupMemberResult]
|
273
|
+
end
|
274
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DirectoryServiceData/Client.html#remove_group_member-instance_method
|
275
|
+
def remove_group_member: (
|
276
|
+
?client_token: ::String,
|
277
|
+
directory_id: ::String,
|
278
|
+
group_name: ::String,
|
279
|
+
member_name: ::String,
|
280
|
+
?member_realm: ::String
|
281
|
+
) -> _RemoveGroupMemberResponseSuccess
|
282
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RemoveGroupMemberResponseSuccess
|
283
|
+
|
284
|
+
interface _SearchGroupsResponseSuccess
|
285
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::SearchGroupsResult]
|
286
|
+
def directory_id: () -> ::String
|
287
|
+
def groups: () -> ::Array[Types::Group]
|
288
|
+
def next_token: () -> ::String
|
289
|
+
def realm: () -> ::String
|
290
|
+
end
|
291
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DirectoryServiceData/Client.html#search_groups-instance_method
|
292
|
+
def search_groups: (
|
293
|
+
directory_id: ::String,
|
294
|
+
?max_results: ::Integer,
|
295
|
+
?next_token: ::String,
|
296
|
+
?realm: ::String,
|
297
|
+
search_attributes: Array[::String],
|
298
|
+
search_string: ::String
|
299
|
+
) -> _SearchGroupsResponseSuccess
|
300
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SearchGroupsResponseSuccess
|
301
|
+
|
302
|
+
interface _SearchUsersResponseSuccess
|
303
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::SearchUsersResult]
|
304
|
+
def directory_id: () -> ::String
|
305
|
+
def next_token: () -> ::String
|
306
|
+
def realm: () -> ::String
|
307
|
+
def users: () -> ::Array[Types::User]
|
308
|
+
end
|
309
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DirectoryServiceData/Client.html#search_users-instance_method
|
310
|
+
def search_users: (
|
311
|
+
directory_id: ::String,
|
312
|
+
?max_results: ::Integer,
|
313
|
+
?next_token: ::String,
|
314
|
+
?realm: ::String,
|
315
|
+
search_attributes: Array[::String],
|
316
|
+
search_string: ::String
|
317
|
+
) -> _SearchUsersResponseSuccess
|
318
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SearchUsersResponseSuccess
|
319
|
+
|
320
|
+
interface _UpdateGroupResponseSuccess
|
321
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateGroupResult]
|
322
|
+
end
|
323
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DirectoryServiceData/Client.html#update_group-instance_method
|
324
|
+
def update_group: (
|
325
|
+
?client_token: ::String,
|
326
|
+
directory_id: ::String,
|
327
|
+
?group_scope: ("DomainLocal" | "Global" | "Universal" | "BuiltinLocal"),
|
328
|
+
?group_type: ("Distribution" | "Security"),
|
329
|
+
?other_attributes: Hash[::String, untyped],
|
330
|
+
sam_account_name: ::String,
|
331
|
+
?update_type: ("ADD" | "REPLACE" | "REMOVE")
|
332
|
+
) -> _UpdateGroupResponseSuccess
|
333
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateGroupResponseSuccess
|
334
|
+
|
335
|
+
interface _UpdateUserResponseSuccess
|
336
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateUserResult]
|
337
|
+
end
|
338
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DirectoryServiceData/Client.html#update_user-instance_method
|
339
|
+
def update_user: (
|
340
|
+
?client_token: ::String,
|
341
|
+
directory_id: ::String,
|
342
|
+
?email_address: ::String,
|
343
|
+
?given_name: ::String,
|
344
|
+
?other_attributes: Hash[::String, untyped],
|
345
|
+
sam_account_name: ::String,
|
346
|
+
?surname: ::String,
|
347
|
+
?update_type: ("ADD" | "REPLACE" | "REMOVE")
|
348
|
+
) -> _UpdateUserResponseSuccess
|
349
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateUserResponseSuccess
|
350
|
+
end
|
351
|
+
end
|
352
|
+
end
|
353
|
+
|
data/sig/errors.rbs
ADDED
@@ -0,0 +1,41 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module DirectoryServiceData
|
10
|
+
module Errors
|
11
|
+
class ServiceError < ::Aws::Errors::ServiceError
|
12
|
+
end
|
13
|
+
|
14
|
+
class AccessDeniedException < ::Aws::Errors::ServiceError
|
15
|
+
def message: () -> ::String
|
16
|
+
def reason: () -> ::String
|
17
|
+
end
|
18
|
+
class ConflictException < ::Aws::Errors::ServiceError
|
19
|
+
def message: () -> ::String
|
20
|
+
end
|
21
|
+
class DirectoryUnavailableException < ::Aws::Errors::ServiceError
|
22
|
+
def message: () -> ::String
|
23
|
+
def reason: () -> ::String
|
24
|
+
end
|
25
|
+
class InternalServerException < ::Aws::Errors::ServiceError
|
26
|
+
def message: () -> ::String
|
27
|
+
end
|
28
|
+
class ResourceNotFoundException < ::Aws::Errors::ServiceError
|
29
|
+
def message: () -> ::String
|
30
|
+
end
|
31
|
+
class ThrottlingException < ::Aws::Errors::ServiceError
|
32
|
+
def message: () -> ::String
|
33
|
+
def retry_after_seconds: () -> ::String
|
34
|
+
end
|
35
|
+
class ValidationException < ::Aws::Errors::ServiceError
|
36
|
+
def message: () -> ::String
|
37
|
+
def reason: () -> ::String
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
data/sig/resource.rbs
ADDED
@@ -0,0 +1,81 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module DirectoryServiceData
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DirectoryServiceData/Resource.html
|
11
|
+
class Resource
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DirectoryServiceData/Resource.html#initialize-instance_method
|
13
|
+
def initialize: (
|
14
|
+
?client: Client,
|
15
|
+
?credentials: untyped,
|
16
|
+
?region: String,
|
17
|
+
?access_key_id: String,
|
18
|
+
?active_endpoint_cache: bool,
|
19
|
+
?adaptive_retry_wait_to_fill: bool,
|
20
|
+
?client_side_monitoring: bool,
|
21
|
+
?client_side_monitoring_client_id: String,
|
22
|
+
?client_side_monitoring_host: String,
|
23
|
+
?client_side_monitoring_port: Integer,
|
24
|
+
?client_side_monitoring_publisher: untyped,
|
25
|
+
?convert_params: bool,
|
26
|
+
?correct_clock_skew: bool,
|
27
|
+
?defaults_mode: String,
|
28
|
+
?disable_host_prefix_injection: bool,
|
29
|
+
?disable_request_compression: bool,
|
30
|
+
?endpoint: String,
|
31
|
+
?endpoint_cache_max_entries: Integer,
|
32
|
+
?endpoint_cache_max_threads: Integer,
|
33
|
+
?endpoint_cache_poll_interval: Integer,
|
34
|
+
?endpoint_discovery: bool,
|
35
|
+
?ignore_configured_endpoint_urls: bool,
|
36
|
+
?log_formatter: untyped,
|
37
|
+
?log_level: Symbol,
|
38
|
+
?logger: untyped,
|
39
|
+
?max_attempts: Integer,
|
40
|
+
?profile: String,
|
41
|
+
?request_min_compression_size_bytes: Integer,
|
42
|
+
?retry_backoff: Proc,
|
43
|
+
?retry_base_delay: Float,
|
44
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
45
|
+
?retry_limit: Integer,
|
46
|
+
?retry_max_delay: Integer,
|
47
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
48
|
+
?sdk_ua_app_id: String,
|
49
|
+
?secret_access_key: String,
|
50
|
+
?session_token: String,
|
51
|
+
?sigv4a_signing_region_set: Array[String],
|
52
|
+
?stub_responses: untyped,
|
53
|
+
?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
|
54
|
+
?token_provider: untyped,
|
55
|
+
?use_dualstack_endpoint: bool,
|
56
|
+
?use_fips_endpoint: bool,
|
57
|
+
?validate_params: bool,
|
58
|
+
?endpoint_provider: untyped,
|
59
|
+
?http_proxy: String,
|
60
|
+
?http_open_timeout: (Float | Integer),
|
61
|
+
?http_read_timeout: (Float | Integer),
|
62
|
+
?http_idle_timeout: (Float | Integer),
|
63
|
+
?http_continue_timeout: (Float | Integer),
|
64
|
+
?ssl_timeout: (Float | Integer | nil),
|
65
|
+
?http_wire_trace: bool,
|
66
|
+
?ssl_verify_peer: bool,
|
67
|
+
?ssl_ca_bundle: String,
|
68
|
+
?ssl_ca_directory: String,
|
69
|
+
?ssl_ca_store: String,
|
70
|
+
?on_chunk_received: Proc,
|
71
|
+
?on_chunk_sent: Proc,
|
72
|
+
?raise_response_errors: bool
|
73
|
+
) -> void
|
74
|
+
| (?Hash[Symbol, untyped]) -> void
|
75
|
+
|
76
|
+
def client: () -> Client
|
77
|
+
|
78
|
+
|
79
|
+
end
|
80
|
+
end
|
81
|
+
end
|