aws-sdk-directoryservicedata 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/sig/types.rbs ADDED
@@ -0,0 +1,384 @@
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::DirectoryServiceData
9
+ module Types
10
+
11
+ class AccessDeniedException
12
+ attr_accessor message: ::String
13
+ attr_accessor reason: ("IAM_AUTH" | "DIRECTORY_AUTH" | "DATA_DISABLED")
14
+ SENSITIVE: []
15
+ end
16
+
17
+ class AddGroupMemberRequest
18
+ attr_accessor client_token: ::String
19
+ attr_accessor directory_id: ::String
20
+ attr_accessor group_name: ::String
21
+ attr_accessor member_name: ::String
22
+ attr_accessor member_realm: ::String
23
+ SENSITIVE: []
24
+ end
25
+
26
+ class AddGroupMemberResult < Aws::EmptyStructure
27
+ end
28
+
29
+ class AttributeValue
30
+ attr_accessor bool: bool
31
+ attr_accessor n: ::Integer
32
+ attr_accessor s: ::String
33
+ attr_accessor ss: ::Array[::String]
34
+ attr_accessor unknown: untyped
35
+ SENSITIVE: [:bool, :n, :s, :ss]
36
+
37
+ class Bool < AttributeValue
38
+ end
39
+ class N < AttributeValue
40
+ end
41
+ class S < AttributeValue
42
+ end
43
+ class Ss < AttributeValue
44
+ end
45
+ class Unknown < AttributeValue
46
+ end
47
+ end
48
+
49
+ class ConflictException
50
+ attr_accessor message: ::String
51
+ SENSITIVE: []
52
+ end
53
+
54
+ class CreateGroupRequest
55
+ attr_accessor client_token: ::String
56
+ attr_accessor directory_id: ::String
57
+ attr_accessor group_scope: ("DomainLocal" | "Global" | "Universal" | "BuiltinLocal")
58
+ attr_accessor group_type: ("Distribution" | "Security")
59
+ attr_accessor other_attributes: ::Hash[::String, Types::AttributeValue]
60
+ attr_accessor sam_account_name: ::String
61
+ SENSITIVE: []
62
+ end
63
+
64
+ class CreateGroupResult
65
+ attr_accessor directory_id: ::String
66
+ attr_accessor sam_account_name: ::String
67
+ attr_accessor sid: ::String
68
+ SENSITIVE: []
69
+ end
70
+
71
+ class CreateUserRequest
72
+ attr_accessor client_token: ::String
73
+ attr_accessor directory_id: ::String
74
+ attr_accessor email_address: ::String
75
+ attr_accessor given_name: ::String
76
+ attr_accessor other_attributes: ::Hash[::String, Types::AttributeValue]
77
+ attr_accessor sam_account_name: ::String
78
+ attr_accessor surname: ::String
79
+ SENSITIVE: [:email_address, :given_name, :surname]
80
+ end
81
+
82
+ class CreateUserResult
83
+ attr_accessor directory_id: ::String
84
+ attr_accessor sam_account_name: ::String
85
+ attr_accessor sid: ::String
86
+ SENSITIVE: []
87
+ end
88
+
89
+ class DeleteGroupRequest
90
+ attr_accessor client_token: ::String
91
+ attr_accessor directory_id: ::String
92
+ attr_accessor sam_account_name: ::String
93
+ SENSITIVE: []
94
+ end
95
+
96
+ class DeleteGroupResult < Aws::EmptyStructure
97
+ end
98
+
99
+ class DeleteUserRequest
100
+ attr_accessor client_token: ::String
101
+ attr_accessor directory_id: ::String
102
+ attr_accessor sam_account_name: ::String
103
+ SENSITIVE: []
104
+ end
105
+
106
+ class DeleteUserResult < Aws::EmptyStructure
107
+ end
108
+
109
+ class DescribeGroupRequest
110
+ attr_accessor directory_id: ::String
111
+ attr_accessor other_attributes: ::Array[::String]
112
+ attr_accessor realm: ::String
113
+ attr_accessor sam_account_name: ::String
114
+ SENSITIVE: []
115
+ end
116
+
117
+ class DescribeGroupResult
118
+ attr_accessor directory_id: ::String
119
+ attr_accessor distinguished_name: ::String
120
+ attr_accessor group_scope: ("DomainLocal" | "Global" | "Universal" | "BuiltinLocal")
121
+ attr_accessor group_type: ("Distribution" | "Security")
122
+ attr_accessor other_attributes: ::Hash[::String, Types::AttributeValue]
123
+ attr_accessor realm: ::String
124
+ attr_accessor sam_account_name: ::String
125
+ attr_accessor sid: ::String
126
+ SENSITIVE: [:distinguished_name]
127
+ end
128
+
129
+ class DescribeUserRequest
130
+ attr_accessor directory_id: ::String
131
+ attr_accessor other_attributes: ::Array[::String]
132
+ attr_accessor realm: ::String
133
+ attr_accessor sam_account_name: ::String
134
+ SENSITIVE: []
135
+ end
136
+
137
+ class DescribeUserResult
138
+ attr_accessor directory_id: ::String
139
+ attr_accessor distinguished_name: ::String
140
+ attr_accessor email_address: ::String
141
+ attr_accessor enabled: bool
142
+ attr_accessor given_name: ::String
143
+ attr_accessor other_attributes: ::Hash[::String, Types::AttributeValue]
144
+ attr_accessor realm: ::String
145
+ attr_accessor sam_account_name: ::String
146
+ attr_accessor sid: ::String
147
+ attr_accessor surname: ::String
148
+ attr_accessor user_principal_name: ::String
149
+ SENSITIVE: [:distinguished_name, :email_address, :given_name, :surname, :user_principal_name]
150
+ end
151
+
152
+ class DirectoryUnavailableException
153
+ attr_accessor message: ::String
154
+ attr_accessor reason: ("INVALID_DIRECTORY_STATE" | "DIRECTORY_TIMEOUT" | "DIRECTORY_RESOURCES_EXCEEDED" | "NO_DISK_SPACE" | "TRUST_AUTH_FAILURE")
155
+ SENSITIVE: []
156
+ end
157
+
158
+ class DisableUserRequest
159
+ attr_accessor client_token: ::String
160
+ attr_accessor directory_id: ::String
161
+ attr_accessor sam_account_name: ::String
162
+ SENSITIVE: []
163
+ end
164
+
165
+ class DisableUserResult < Aws::EmptyStructure
166
+ end
167
+
168
+ class Group
169
+ attr_accessor distinguished_name: ::String
170
+ attr_accessor group_scope: ("DomainLocal" | "Global" | "Universal" | "BuiltinLocal")
171
+ attr_accessor group_type: ("Distribution" | "Security")
172
+ attr_accessor other_attributes: ::Hash[::String, Types::AttributeValue]
173
+ attr_accessor sam_account_name: ::String
174
+ attr_accessor sid: ::String
175
+ SENSITIVE: [:distinguished_name]
176
+ end
177
+
178
+ class GroupSummary
179
+ attr_accessor group_scope: ("DomainLocal" | "Global" | "Universal" | "BuiltinLocal")
180
+ attr_accessor group_type: ("Distribution" | "Security")
181
+ attr_accessor sam_account_name: ::String
182
+ attr_accessor sid: ::String
183
+ SENSITIVE: []
184
+ end
185
+
186
+ class InternalServerException
187
+ attr_accessor message: ::String
188
+ SENSITIVE: []
189
+ end
190
+
191
+ class ListGroupMembersRequest
192
+ attr_accessor directory_id: ::String
193
+ attr_accessor max_results: ::Integer
194
+ attr_accessor member_realm: ::String
195
+ attr_accessor next_token: ::String
196
+ attr_accessor realm: ::String
197
+ attr_accessor sam_account_name: ::String
198
+ SENSITIVE: [:next_token]
199
+ end
200
+
201
+ class ListGroupMembersResult
202
+ attr_accessor directory_id: ::String
203
+ attr_accessor member_realm: ::String
204
+ attr_accessor members: ::Array[Types::Member]
205
+ attr_accessor next_token: ::String
206
+ attr_accessor realm: ::String
207
+ SENSITIVE: [:next_token]
208
+ end
209
+
210
+ class ListGroupsForMemberRequest
211
+ attr_accessor directory_id: ::String
212
+ attr_accessor max_results: ::Integer
213
+ attr_accessor member_realm: ::String
214
+ attr_accessor next_token: ::String
215
+ attr_accessor realm: ::String
216
+ attr_accessor sam_account_name: ::String
217
+ SENSITIVE: [:next_token]
218
+ end
219
+
220
+ class ListGroupsForMemberResult
221
+ attr_accessor directory_id: ::String
222
+ attr_accessor groups: ::Array[Types::GroupSummary]
223
+ attr_accessor member_realm: ::String
224
+ attr_accessor next_token: ::String
225
+ attr_accessor realm: ::String
226
+ SENSITIVE: [:next_token]
227
+ end
228
+
229
+ class ListGroupsRequest
230
+ attr_accessor directory_id: ::String
231
+ attr_accessor max_results: ::Integer
232
+ attr_accessor next_token: ::String
233
+ attr_accessor realm: ::String
234
+ SENSITIVE: [:next_token]
235
+ end
236
+
237
+ class ListGroupsResult
238
+ attr_accessor directory_id: ::String
239
+ attr_accessor groups: ::Array[Types::GroupSummary]
240
+ attr_accessor next_token: ::String
241
+ attr_accessor realm: ::String
242
+ SENSITIVE: [:next_token]
243
+ end
244
+
245
+ class ListUsersRequest
246
+ attr_accessor directory_id: ::String
247
+ attr_accessor max_results: ::Integer
248
+ attr_accessor next_token: ::String
249
+ attr_accessor realm: ::String
250
+ SENSITIVE: [:next_token]
251
+ end
252
+
253
+ class ListUsersResult
254
+ attr_accessor directory_id: ::String
255
+ attr_accessor next_token: ::String
256
+ attr_accessor realm: ::String
257
+ attr_accessor users: ::Array[Types::UserSummary]
258
+ SENSITIVE: [:next_token]
259
+ end
260
+
261
+ class Member
262
+ attr_accessor member_type: ("USER" | "GROUP" | "COMPUTER")
263
+ attr_accessor sam_account_name: ::String
264
+ attr_accessor sid: ::String
265
+ SENSITIVE: []
266
+ end
267
+
268
+ class RemoveGroupMemberRequest
269
+ attr_accessor client_token: ::String
270
+ attr_accessor directory_id: ::String
271
+ attr_accessor group_name: ::String
272
+ attr_accessor member_name: ::String
273
+ attr_accessor member_realm: ::String
274
+ SENSITIVE: []
275
+ end
276
+
277
+ class RemoveGroupMemberResult < Aws::EmptyStructure
278
+ end
279
+
280
+ class ResourceNotFoundException
281
+ attr_accessor message: ::String
282
+ SENSITIVE: []
283
+ end
284
+
285
+ class SearchGroupsRequest
286
+ attr_accessor directory_id: ::String
287
+ attr_accessor max_results: ::Integer
288
+ attr_accessor next_token: ::String
289
+ attr_accessor realm: ::String
290
+ attr_accessor search_attributes: ::Array[::String]
291
+ attr_accessor search_string: ::String
292
+ SENSITIVE: [:next_token, :search_string]
293
+ end
294
+
295
+ class SearchGroupsResult
296
+ attr_accessor directory_id: ::String
297
+ attr_accessor groups: ::Array[Types::Group]
298
+ attr_accessor next_token: ::String
299
+ attr_accessor realm: ::String
300
+ SENSITIVE: [:next_token]
301
+ end
302
+
303
+ class SearchUsersRequest
304
+ attr_accessor directory_id: ::String
305
+ attr_accessor max_results: ::Integer
306
+ attr_accessor next_token: ::String
307
+ attr_accessor realm: ::String
308
+ attr_accessor search_attributes: ::Array[::String]
309
+ attr_accessor search_string: ::String
310
+ SENSITIVE: [:next_token, :search_string]
311
+ end
312
+
313
+ class SearchUsersResult
314
+ attr_accessor directory_id: ::String
315
+ attr_accessor next_token: ::String
316
+ attr_accessor realm: ::String
317
+ attr_accessor users: ::Array[Types::User]
318
+ SENSITIVE: [:next_token]
319
+ end
320
+
321
+ class ThrottlingException
322
+ attr_accessor message: ::String
323
+ attr_accessor retry_after_seconds: ::Integer
324
+ SENSITIVE: []
325
+ end
326
+
327
+ class UpdateGroupRequest
328
+ attr_accessor client_token: ::String
329
+ attr_accessor directory_id: ::String
330
+ attr_accessor group_scope: ("DomainLocal" | "Global" | "Universal" | "BuiltinLocal")
331
+ attr_accessor group_type: ("Distribution" | "Security")
332
+ attr_accessor other_attributes: ::Hash[::String, Types::AttributeValue]
333
+ attr_accessor sam_account_name: ::String
334
+ attr_accessor update_type: ("ADD" | "REPLACE" | "REMOVE")
335
+ SENSITIVE: []
336
+ end
337
+
338
+ class UpdateGroupResult < Aws::EmptyStructure
339
+ end
340
+
341
+ class UpdateUserRequest
342
+ attr_accessor client_token: ::String
343
+ attr_accessor directory_id: ::String
344
+ attr_accessor email_address: ::String
345
+ attr_accessor given_name: ::String
346
+ attr_accessor other_attributes: ::Hash[::String, Types::AttributeValue]
347
+ attr_accessor sam_account_name: ::String
348
+ attr_accessor surname: ::String
349
+ attr_accessor update_type: ("ADD" | "REPLACE" | "REMOVE")
350
+ SENSITIVE: [:email_address, :given_name, :surname]
351
+ end
352
+
353
+ class UpdateUserResult < Aws::EmptyStructure
354
+ end
355
+
356
+ class User
357
+ attr_accessor distinguished_name: ::String
358
+ attr_accessor email_address: ::String
359
+ attr_accessor enabled: bool
360
+ attr_accessor given_name: ::String
361
+ attr_accessor other_attributes: ::Hash[::String, Types::AttributeValue]
362
+ attr_accessor sam_account_name: ::String
363
+ attr_accessor sid: ::String
364
+ attr_accessor surname: ::String
365
+ attr_accessor user_principal_name: ::String
366
+ SENSITIVE: [:distinguished_name, :email_address, :given_name, :surname, :user_principal_name]
367
+ end
368
+
369
+ class UserSummary
370
+ attr_accessor enabled: bool
371
+ attr_accessor given_name: ::String
372
+ attr_accessor sam_account_name: ::String
373
+ attr_accessor sid: ::String
374
+ attr_accessor surname: ::String
375
+ SENSITIVE: [:given_name, :surname]
376
+ end
377
+
378
+ class ValidationException
379
+ attr_accessor message: ::String
380
+ attr_accessor reason: ("INVALID_REALM" | "INVALID_DIRECTORY_TYPE" | "INVALID_SECONDARY_REGION" | "INVALID_NEXT_TOKEN" | "INVALID_ATTRIBUTE_VALUE" | "INVALID_ATTRIBUTE_NAME" | "INVALID_ATTRIBUTE_FOR_USER" | "INVALID_ATTRIBUTE_FOR_GROUP" | "INVALID_ATTRIBUTE_FOR_SEARCH" | "INVALID_ATTRIBUTE_FOR_MODIFY" | "DUPLICATE_ATTRIBUTE" | "MISSING_ATTRIBUTE" | "ATTRIBUTE_EXISTS" | "LDAP_SIZE_LIMIT_EXCEEDED" | "LDAP_UNSUPPORTED_OPERATION")
381
+ SENSITIVE: []
382
+ end
383
+ end
384
+ end
data/sig/waiters.rbs ADDED
@@ -0,0 +1,13 @@
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 Waiters
11
+ end
12
+ end
13
+ end
metadata ADDED
@@ -0,0 +1,99 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: aws-sdk-directoryservicedata
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Amazon Web Services
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2024-09-18 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: aws-sdk-core
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '3'
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 3.205.0
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - "~>"
28
+ - !ruby/object:Gem::Version
29
+ version: '3'
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: 3.205.0
33
+ - !ruby/object:Gem::Dependency
34
+ name: aws-sigv4
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - "~>"
38
+ - !ruby/object:Gem::Version
39
+ version: '1.1'
40
+ type: :runtime
41
+ prerelease: false
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - "~>"
45
+ - !ruby/object:Gem::Version
46
+ version: '1.1'
47
+ description: Official AWS Ruby gem for AWS Directory Service Data. This gem is part
48
+ of the AWS SDK for Ruby.
49
+ email:
50
+ - aws-dr-rubygems@amazon.com
51
+ executables: []
52
+ extensions: []
53
+ extra_rdoc_files: []
54
+ files:
55
+ - CHANGELOG.md
56
+ - LICENSE.txt
57
+ - VERSION
58
+ - lib/aws-sdk-directoryservicedata.rb
59
+ - lib/aws-sdk-directoryservicedata/client.rb
60
+ - lib/aws-sdk-directoryservicedata/client_api.rb
61
+ - lib/aws-sdk-directoryservicedata/customizations.rb
62
+ - lib/aws-sdk-directoryservicedata/endpoint_parameters.rb
63
+ - lib/aws-sdk-directoryservicedata/endpoint_provider.rb
64
+ - lib/aws-sdk-directoryservicedata/endpoints.rb
65
+ - lib/aws-sdk-directoryservicedata/errors.rb
66
+ - lib/aws-sdk-directoryservicedata/plugins/endpoints.rb
67
+ - lib/aws-sdk-directoryservicedata/resource.rb
68
+ - lib/aws-sdk-directoryservicedata/types.rb
69
+ - sig/client.rbs
70
+ - sig/errors.rbs
71
+ - sig/resource.rbs
72
+ - sig/types.rbs
73
+ - sig/waiters.rbs
74
+ homepage: https://github.com/aws/aws-sdk-ruby
75
+ licenses:
76
+ - Apache-2.0
77
+ metadata:
78
+ source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-directoryservicedata
79
+ changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-directoryservicedata/CHANGELOG.md
80
+ post_install_message:
81
+ rdoc_options: []
82
+ require_paths:
83
+ - lib
84
+ required_ruby_version: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - ">="
87
+ - !ruby/object:Gem::Version
88
+ version: '2.5'
89
+ required_rubygems_version: !ruby/object:Gem::Requirement
90
+ requirements:
91
+ - - ">="
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
94
+ requirements: []
95
+ rubygems_version: 3.4.10
96
+ signing_key:
97
+ specification_version: 4
98
+ summary: AWS SDK for Ruby - AWS Directory Service Data
99
+ test_files: []