aws-sdk-directoryservicedata 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,696 @@
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
+ module Aws::DirectoryServiceData
11
+ # @api private
12
+ module ClientApi
13
+
14
+ include Seahorse::Model
15
+
16
+ AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
17
+ AccessDeniedReason = Shapes::StringShape.new(name: 'AccessDeniedReason')
18
+ AddGroupMemberRequest = Shapes::StructureShape.new(name: 'AddGroupMemberRequest')
19
+ AddGroupMemberResult = Shapes::StructureShape.new(name: 'AddGroupMemberResult')
20
+ AttributeValue = Shapes::UnionShape.new(name: 'AttributeValue')
21
+ Attributes = Shapes::MapShape.new(name: 'Attributes')
22
+ Boolean = Shapes::BooleanShape.new(name: 'Boolean')
23
+ BooleanAttributeValue = Shapes::BooleanShape.new(name: 'BooleanAttributeValue')
24
+ ClientToken = Shapes::StringShape.new(name: 'ClientToken')
25
+ ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
26
+ CreateGroupRequest = Shapes::StructureShape.new(name: 'CreateGroupRequest')
27
+ CreateGroupResult = Shapes::StructureShape.new(name: 'CreateGroupResult')
28
+ CreateUserRequest = Shapes::StructureShape.new(name: 'CreateUserRequest')
29
+ CreateUserResult = Shapes::StructureShape.new(name: 'CreateUserResult')
30
+ DeleteGroupRequest = Shapes::StructureShape.new(name: 'DeleteGroupRequest')
31
+ DeleteGroupResult = Shapes::StructureShape.new(name: 'DeleteGroupResult')
32
+ DeleteUserRequest = Shapes::StructureShape.new(name: 'DeleteUserRequest')
33
+ DeleteUserResult = Shapes::StructureShape.new(name: 'DeleteUserResult')
34
+ DescribeGroupRequest = Shapes::StructureShape.new(name: 'DescribeGroupRequest')
35
+ DescribeGroupResult = Shapes::StructureShape.new(name: 'DescribeGroupResult')
36
+ DescribeUserRequest = Shapes::StructureShape.new(name: 'DescribeUserRequest')
37
+ DescribeUserResult = Shapes::StructureShape.new(name: 'DescribeUserResult')
38
+ DirectoryId = Shapes::StringShape.new(name: 'DirectoryId')
39
+ DirectoryUnavailableException = Shapes::StructureShape.new(name: 'DirectoryUnavailableException')
40
+ DirectoryUnavailableReason = Shapes::StringShape.new(name: 'DirectoryUnavailableReason')
41
+ DisableUserRequest = Shapes::StructureShape.new(name: 'DisableUserRequest')
42
+ DisableUserResult = Shapes::StructureShape.new(name: 'DisableUserResult')
43
+ DistinguishedName = Shapes::StringShape.new(name: 'DistinguishedName')
44
+ EmailAddress = Shapes::StringShape.new(name: 'EmailAddress')
45
+ ExceptionMessage = Shapes::StringShape.new(name: 'ExceptionMessage')
46
+ GivenName = Shapes::StringShape.new(name: 'GivenName')
47
+ Group = Shapes::StructureShape.new(name: 'Group')
48
+ GroupList = Shapes::ListShape.new(name: 'GroupList')
49
+ GroupName = Shapes::StringShape.new(name: 'GroupName')
50
+ GroupScope = Shapes::StringShape.new(name: 'GroupScope')
51
+ GroupSummary = Shapes::StructureShape.new(name: 'GroupSummary')
52
+ GroupSummaryList = Shapes::ListShape.new(name: 'GroupSummaryList')
53
+ GroupType = Shapes::StringShape.new(name: 'GroupType')
54
+ Integer = Shapes::IntegerShape.new(name: 'Integer')
55
+ InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
56
+ LdapDisplayName = Shapes::StringShape.new(name: 'LdapDisplayName')
57
+ LdapDisplayNameList = Shapes::ListShape.new(name: 'LdapDisplayNameList')
58
+ ListGroupMembersRequest = Shapes::StructureShape.new(name: 'ListGroupMembersRequest')
59
+ ListGroupMembersResult = Shapes::StructureShape.new(name: 'ListGroupMembersResult')
60
+ ListGroupsForMemberRequest = Shapes::StructureShape.new(name: 'ListGroupsForMemberRequest')
61
+ ListGroupsForMemberResult = Shapes::StructureShape.new(name: 'ListGroupsForMemberResult')
62
+ ListGroupsRequest = Shapes::StructureShape.new(name: 'ListGroupsRequest')
63
+ ListGroupsResult = Shapes::StructureShape.new(name: 'ListGroupsResult')
64
+ ListUsersRequest = Shapes::StructureShape.new(name: 'ListUsersRequest')
65
+ ListUsersResult = Shapes::StructureShape.new(name: 'ListUsersResult')
66
+ MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
67
+ Member = Shapes::StructureShape.new(name: 'Member')
68
+ MemberList = Shapes::ListShape.new(name: 'MemberList')
69
+ MemberName = Shapes::StringShape.new(name: 'MemberName')
70
+ MemberType = Shapes::StringShape.new(name: 'MemberType')
71
+ NextToken = Shapes::StringShape.new(name: 'NextToken')
72
+ NumberAttributeValue = Shapes::IntegerShape.new(name: 'NumberAttributeValue')
73
+ Realm = Shapes::StringShape.new(name: 'Realm')
74
+ RemoveGroupMemberRequest = Shapes::StructureShape.new(name: 'RemoveGroupMemberRequest')
75
+ RemoveGroupMemberResult = Shapes::StructureShape.new(name: 'RemoveGroupMemberResult')
76
+ ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
77
+ SID = Shapes::StringShape.new(name: 'SID')
78
+ SearchGroupsRequest = Shapes::StructureShape.new(name: 'SearchGroupsRequest')
79
+ SearchGroupsResult = Shapes::StructureShape.new(name: 'SearchGroupsResult')
80
+ SearchString = Shapes::StringShape.new(name: 'SearchString')
81
+ SearchUsersRequest = Shapes::StructureShape.new(name: 'SearchUsersRequest')
82
+ SearchUsersResult = Shapes::StructureShape.new(name: 'SearchUsersResult')
83
+ StringAttributeValue = Shapes::StringShape.new(name: 'StringAttributeValue')
84
+ StringSetAttributeValue = Shapes::ListShape.new(name: 'StringSetAttributeValue')
85
+ Surname = Shapes::StringShape.new(name: 'Surname')
86
+ ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
87
+ UpdateGroupRequest = Shapes::StructureShape.new(name: 'UpdateGroupRequest')
88
+ UpdateGroupResult = Shapes::StructureShape.new(name: 'UpdateGroupResult')
89
+ UpdateType = Shapes::StringShape.new(name: 'UpdateType')
90
+ UpdateUserRequest = Shapes::StructureShape.new(name: 'UpdateUserRequest')
91
+ UpdateUserResult = Shapes::StructureShape.new(name: 'UpdateUserResult')
92
+ User = Shapes::StructureShape.new(name: 'User')
93
+ UserList = Shapes::ListShape.new(name: 'UserList')
94
+ UserName = Shapes::StringShape.new(name: 'UserName')
95
+ UserPrincipalName = Shapes::StringShape.new(name: 'UserPrincipalName')
96
+ UserSummary = Shapes::StructureShape.new(name: 'UserSummary')
97
+ UserSummaryList = Shapes::ListShape.new(name: 'UserSummaryList')
98
+ ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
99
+ ValidationExceptionReason = Shapes::StringShape.new(name: 'ValidationExceptionReason')
100
+
101
+ AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
102
+ AccessDeniedException.add_member(:reason, Shapes::ShapeRef.new(shape: AccessDeniedReason, location_name: "Reason"))
103
+ AccessDeniedException.struct_class = Types::AccessDeniedException
104
+
105
+ AddGroupMemberRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
106
+ AddGroupMemberRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location: "querystring", location_name: "DirectoryId"))
107
+ AddGroupMemberRequest.add_member(:group_name, Shapes::ShapeRef.new(shape: GroupName, required: true, location_name: "GroupName"))
108
+ AddGroupMemberRequest.add_member(:member_name, Shapes::ShapeRef.new(shape: MemberName, required: true, location_name: "MemberName"))
109
+ AddGroupMemberRequest.add_member(:member_realm, Shapes::ShapeRef.new(shape: Realm, location_name: "MemberRealm"))
110
+ AddGroupMemberRequest.struct_class = Types::AddGroupMemberRequest
111
+
112
+ AddGroupMemberResult.struct_class = Types::AddGroupMemberResult
113
+
114
+ AttributeValue.add_member(:bool, Shapes::ShapeRef.new(shape: BooleanAttributeValue, location_name: "BOOL"))
115
+ AttributeValue.add_member(:n, Shapes::ShapeRef.new(shape: NumberAttributeValue, location_name: "N"))
116
+ AttributeValue.add_member(:s, Shapes::ShapeRef.new(shape: StringAttributeValue, location_name: "S"))
117
+ AttributeValue.add_member(:ss, Shapes::ShapeRef.new(shape: StringSetAttributeValue, location_name: "SS"))
118
+ AttributeValue.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
119
+ AttributeValue.add_member_subclass(:bool, Types::AttributeValue::Bool)
120
+ AttributeValue.add_member_subclass(:n, Types::AttributeValue::N)
121
+ AttributeValue.add_member_subclass(:s, Types::AttributeValue::S)
122
+ AttributeValue.add_member_subclass(:ss, Types::AttributeValue::Ss)
123
+ AttributeValue.add_member_subclass(:unknown, Types::AttributeValue::Unknown)
124
+ AttributeValue.struct_class = Types::AttributeValue
125
+
126
+ Attributes.key = Shapes::ShapeRef.new(shape: LdapDisplayName)
127
+ Attributes.value = Shapes::ShapeRef.new(shape: AttributeValue)
128
+
129
+ ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
130
+ ConflictException.struct_class = Types::ConflictException
131
+
132
+ CreateGroupRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
133
+ CreateGroupRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location: "querystring", location_name: "DirectoryId"))
134
+ CreateGroupRequest.add_member(:group_scope, Shapes::ShapeRef.new(shape: GroupScope, location_name: "GroupScope"))
135
+ CreateGroupRequest.add_member(:group_type, Shapes::ShapeRef.new(shape: GroupType, location_name: "GroupType"))
136
+ CreateGroupRequest.add_member(:other_attributes, Shapes::ShapeRef.new(shape: Attributes, location_name: "OtherAttributes"))
137
+ CreateGroupRequest.add_member(:sam_account_name, Shapes::ShapeRef.new(shape: GroupName, required: true, location_name: "SAMAccountName"))
138
+ CreateGroupRequest.struct_class = Types::CreateGroupRequest
139
+
140
+ CreateGroupResult.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, location_name: "DirectoryId"))
141
+ CreateGroupResult.add_member(:sam_account_name, Shapes::ShapeRef.new(shape: GroupName, location_name: "SAMAccountName"))
142
+ CreateGroupResult.add_member(:sid, Shapes::ShapeRef.new(shape: SID, location_name: "SID"))
143
+ CreateGroupResult.struct_class = Types::CreateGroupResult
144
+
145
+ CreateUserRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
146
+ CreateUserRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location: "querystring", location_name: "DirectoryId"))
147
+ CreateUserRequest.add_member(:email_address, Shapes::ShapeRef.new(shape: EmailAddress, location_name: "EmailAddress"))
148
+ CreateUserRequest.add_member(:given_name, Shapes::ShapeRef.new(shape: GivenName, location_name: "GivenName"))
149
+ CreateUserRequest.add_member(:other_attributes, Shapes::ShapeRef.new(shape: Attributes, location_name: "OtherAttributes"))
150
+ CreateUserRequest.add_member(:sam_account_name, Shapes::ShapeRef.new(shape: UserName, required: true, location_name: "SAMAccountName"))
151
+ CreateUserRequest.add_member(:surname, Shapes::ShapeRef.new(shape: Surname, location_name: "Surname"))
152
+ CreateUserRequest.struct_class = Types::CreateUserRequest
153
+
154
+ CreateUserResult.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, location_name: "DirectoryId"))
155
+ CreateUserResult.add_member(:sam_account_name, Shapes::ShapeRef.new(shape: UserName, location_name: "SAMAccountName"))
156
+ CreateUserResult.add_member(:sid, Shapes::ShapeRef.new(shape: SID, location_name: "SID"))
157
+ CreateUserResult.struct_class = Types::CreateUserResult
158
+
159
+ DeleteGroupRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
160
+ DeleteGroupRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location: "querystring", location_name: "DirectoryId"))
161
+ DeleteGroupRequest.add_member(:sam_account_name, Shapes::ShapeRef.new(shape: GroupName, required: true, location_name: "SAMAccountName"))
162
+ DeleteGroupRequest.struct_class = Types::DeleteGroupRequest
163
+
164
+ DeleteGroupResult.struct_class = Types::DeleteGroupResult
165
+
166
+ DeleteUserRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
167
+ DeleteUserRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location: "querystring", location_name: "DirectoryId"))
168
+ DeleteUserRequest.add_member(:sam_account_name, Shapes::ShapeRef.new(shape: UserName, required: true, location_name: "SAMAccountName"))
169
+ DeleteUserRequest.struct_class = Types::DeleteUserRequest
170
+
171
+ DeleteUserResult.struct_class = Types::DeleteUserResult
172
+
173
+ DescribeGroupRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location: "querystring", location_name: "DirectoryId"))
174
+ DescribeGroupRequest.add_member(:other_attributes, Shapes::ShapeRef.new(shape: LdapDisplayNameList, location_name: "OtherAttributes"))
175
+ DescribeGroupRequest.add_member(:realm, Shapes::ShapeRef.new(shape: Realm, location_name: "Realm"))
176
+ DescribeGroupRequest.add_member(:sam_account_name, Shapes::ShapeRef.new(shape: GroupName, required: true, location_name: "SAMAccountName"))
177
+ DescribeGroupRequest.struct_class = Types::DescribeGroupRequest
178
+
179
+ DescribeGroupResult.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, location_name: "DirectoryId"))
180
+ DescribeGroupResult.add_member(:distinguished_name, Shapes::ShapeRef.new(shape: DistinguishedName, location_name: "DistinguishedName"))
181
+ DescribeGroupResult.add_member(:group_scope, Shapes::ShapeRef.new(shape: GroupScope, location_name: "GroupScope"))
182
+ DescribeGroupResult.add_member(:group_type, Shapes::ShapeRef.new(shape: GroupType, location_name: "GroupType"))
183
+ DescribeGroupResult.add_member(:other_attributes, Shapes::ShapeRef.new(shape: Attributes, location_name: "OtherAttributes"))
184
+ DescribeGroupResult.add_member(:realm, Shapes::ShapeRef.new(shape: Realm, location_name: "Realm"))
185
+ DescribeGroupResult.add_member(:sam_account_name, Shapes::ShapeRef.new(shape: GroupName, location_name: "SAMAccountName"))
186
+ DescribeGroupResult.add_member(:sid, Shapes::ShapeRef.new(shape: SID, location_name: "SID"))
187
+ DescribeGroupResult.struct_class = Types::DescribeGroupResult
188
+
189
+ DescribeUserRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location: "querystring", location_name: "DirectoryId"))
190
+ DescribeUserRequest.add_member(:other_attributes, Shapes::ShapeRef.new(shape: LdapDisplayNameList, location_name: "OtherAttributes"))
191
+ DescribeUserRequest.add_member(:realm, Shapes::ShapeRef.new(shape: Realm, location_name: "Realm"))
192
+ DescribeUserRequest.add_member(:sam_account_name, Shapes::ShapeRef.new(shape: UserName, required: true, location_name: "SAMAccountName"))
193
+ DescribeUserRequest.struct_class = Types::DescribeUserRequest
194
+
195
+ DescribeUserResult.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, location_name: "DirectoryId"))
196
+ DescribeUserResult.add_member(:distinguished_name, Shapes::ShapeRef.new(shape: DistinguishedName, location_name: "DistinguishedName"))
197
+ DescribeUserResult.add_member(:email_address, Shapes::ShapeRef.new(shape: EmailAddress, location_name: "EmailAddress"))
198
+ DescribeUserResult.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "Enabled"))
199
+ DescribeUserResult.add_member(:given_name, Shapes::ShapeRef.new(shape: GivenName, location_name: "GivenName"))
200
+ DescribeUserResult.add_member(:other_attributes, Shapes::ShapeRef.new(shape: Attributes, location_name: "OtherAttributes"))
201
+ DescribeUserResult.add_member(:realm, Shapes::ShapeRef.new(shape: Realm, location_name: "Realm"))
202
+ DescribeUserResult.add_member(:sam_account_name, Shapes::ShapeRef.new(shape: UserName, location_name: "SAMAccountName"))
203
+ DescribeUserResult.add_member(:sid, Shapes::ShapeRef.new(shape: SID, location_name: "SID"))
204
+ DescribeUserResult.add_member(:surname, Shapes::ShapeRef.new(shape: Surname, location_name: "Surname"))
205
+ DescribeUserResult.add_member(:user_principal_name, Shapes::ShapeRef.new(shape: UserPrincipalName, location_name: "UserPrincipalName"))
206
+ DescribeUserResult.struct_class = Types::DescribeUserResult
207
+
208
+ DirectoryUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
209
+ DirectoryUnavailableException.add_member(:reason, Shapes::ShapeRef.new(shape: DirectoryUnavailableReason, location_name: "Reason"))
210
+ DirectoryUnavailableException.struct_class = Types::DirectoryUnavailableException
211
+
212
+ DisableUserRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
213
+ DisableUserRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location: "querystring", location_name: "DirectoryId"))
214
+ DisableUserRequest.add_member(:sam_account_name, Shapes::ShapeRef.new(shape: UserName, required: true, location_name: "SAMAccountName"))
215
+ DisableUserRequest.struct_class = Types::DisableUserRequest
216
+
217
+ DisableUserResult.struct_class = Types::DisableUserResult
218
+
219
+ Group.add_member(:distinguished_name, Shapes::ShapeRef.new(shape: DistinguishedName, location_name: "DistinguishedName"))
220
+ Group.add_member(:group_scope, Shapes::ShapeRef.new(shape: GroupScope, location_name: "GroupScope"))
221
+ Group.add_member(:group_type, Shapes::ShapeRef.new(shape: GroupType, location_name: "GroupType"))
222
+ Group.add_member(:other_attributes, Shapes::ShapeRef.new(shape: Attributes, location_name: "OtherAttributes"))
223
+ Group.add_member(:sam_account_name, Shapes::ShapeRef.new(shape: GroupName, required: true, location_name: "SAMAccountName"))
224
+ Group.add_member(:sid, Shapes::ShapeRef.new(shape: SID, location_name: "SID"))
225
+ Group.struct_class = Types::Group
226
+
227
+ GroupList.member = Shapes::ShapeRef.new(shape: Group)
228
+
229
+ GroupSummary.add_member(:group_scope, Shapes::ShapeRef.new(shape: GroupScope, required: true, location_name: "GroupScope"))
230
+ GroupSummary.add_member(:group_type, Shapes::ShapeRef.new(shape: GroupType, required: true, location_name: "GroupType"))
231
+ GroupSummary.add_member(:sam_account_name, Shapes::ShapeRef.new(shape: GroupName, required: true, location_name: "SAMAccountName"))
232
+ GroupSummary.add_member(:sid, Shapes::ShapeRef.new(shape: SID, required: true, location_name: "SID"))
233
+ GroupSummary.struct_class = Types::GroupSummary
234
+
235
+ GroupSummaryList.member = Shapes::ShapeRef.new(shape: GroupSummary)
236
+
237
+ InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
238
+ InternalServerException.struct_class = Types::InternalServerException
239
+
240
+ LdapDisplayNameList.member = Shapes::ShapeRef.new(shape: LdapDisplayName)
241
+
242
+ ListGroupMembersRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location: "querystring", location_name: "DirectoryId"))
243
+ ListGroupMembersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
244
+ ListGroupMembersRequest.add_member(:member_realm, Shapes::ShapeRef.new(shape: Realm, location_name: "MemberRealm"))
245
+ ListGroupMembersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
246
+ ListGroupMembersRequest.add_member(:realm, Shapes::ShapeRef.new(shape: Realm, location_name: "Realm"))
247
+ ListGroupMembersRequest.add_member(:sam_account_name, Shapes::ShapeRef.new(shape: GroupName, required: true, location_name: "SAMAccountName"))
248
+ ListGroupMembersRequest.struct_class = Types::ListGroupMembersRequest
249
+
250
+ ListGroupMembersResult.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, location_name: "DirectoryId"))
251
+ ListGroupMembersResult.add_member(:member_realm, Shapes::ShapeRef.new(shape: Realm, location_name: "MemberRealm"))
252
+ ListGroupMembersResult.add_member(:members, Shapes::ShapeRef.new(shape: MemberList, location_name: "Members"))
253
+ ListGroupMembersResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
254
+ ListGroupMembersResult.add_member(:realm, Shapes::ShapeRef.new(shape: Realm, location_name: "Realm"))
255
+ ListGroupMembersResult.struct_class = Types::ListGroupMembersResult
256
+
257
+ ListGroupsForMemberRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location: "querystring", location_name: "DirectoryId"))
258
+ ListGroupsForMemberRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
259
+ ListGroupsForMemberRequest.add_member(:member_realm, Shapes::ShapeRef.new(shape: Realm, location_name: "MemberRealm"))
260
+ ListGroupsForMemberRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
261
+ ListGroupsForMemberRequest.add_member(:realm, Shapes::ShapeRef.new(shape: Realm, location_name: "Realm"))
262
+ ListGroupsForMemberRequest.add_member(:sam_account_name, Shapes::ShapeRef.new(shape: MemberName, required: true, location_name: "SAMAccountName"))
263
+ ListGroupsForMemberRequest.struct_class = Types::ListGroupsForMemberRequest
264
+
265
+ ListGroupsForMemberResult.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, location_name: "DirectoryId"))
266
+ ListGroupsForMemberResult.add_member(:groups, Shapes::ShapeRef.new(shape: GroupSummaryList, location_name: "Groups"))
267
+ ListGroupsForMemberResult.add_member(:member_realm, Shapes::ShapeRef.new(shape: Realm, location_name: "MemberRealm"))
268
+ ListGroupsForMemberResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
269
+ ListGroupsForMemberResult.add_member(:realm, Shapes::ShapeRef.new(shape: Realm, location_name: "Realm"))
270
+ ListGroupsForMemberResult.struct_class = Types::ListGroupsForMemberResult
271
+
272
+ ListGroupsRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location: "querystring", location_name: "DirectoryId"))
273
+ ListGroupsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
274
+ ListGroupsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
275
+ ListGroupsRequest.add_member(:realm, Shapes::ShapeRef.new(shape: Realm, location_name: "Realm"))
276
+ ListGroupsRequest.struct_class = Types::ListGroupsRequest
277
+
278
+ ListGroupsResult.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, location_name: "DirectoryId"))
279
+ ListGroupsResult.add_member(:groups, Shapes::ShapeRef.new(shape: GroupSummaryList, location_name: "Groups"))
280
+ ListGroupsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
281
+ ListGroupsResult.add_member(:realm, Shapes::ShapeRef.new(shape: Realm, location_name: "Realm"))
282
+ ListGroupsResult.struct_class = Types::ListGroupsResult
283
+
284
+ ListUsersRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location: "querystring", location_name: "DirectoryId"))
285
+ ListUsersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
286
+ ListUsersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
287
+ ListUsersRequest.add_member(:realm, Shapes::ShapeRef.new(shape: Realm, location_name: "Realm"))
288
+ ListUsersRequest.struct_class = Types::ListUsersRequest
289
+
290
+ ListUsersResult.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, location_name: "DirectoryId"))
291
+ ListUsersResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
292
+ ListUsersResult.add_member(:realm, Shapes::ShapeRef.new(shape: Realm, location_name: "Realm"))
293
+ ListUsersResult.add_member(:users, Shapes::ShapeRef.new(shape: UserSummaryList, location_name: "Users"))
294
+ ListUsersResult.struct_class = Types::ListUsersResult
295
+
296
+ Member.add_member(:member_type, Shapes::ShapeRef.new(shape: MemberType, required: true, location_name: "MemberType"))
297
+ Member.add_member(:sam_account_name, Shapes::ShapeRef.new(shape: MemberName, required: true, location_name: "SAMAccountName"))
298
+ Member.add_member(:sid, Shapes::ShapeRef.new(shape: SID, required: true, location_name: "SID"))
299
+ Member.struct_class = Types::Member
300
+
301
+ MemberList.member = Shapes::ShapeRef.new(shape: Member)
302
+
303
+ RemoveGroupMemberRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
304
+ RemoveGroupMemberRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location: "querystring", location_name: "DirectoryId"))
305
+ RemoveGroupMemberRequest.add_member(:group_name, Shapes::ShapeRef.new(shape: GroupName, required: true, location_name: "GroupName"))
306
+ RemoveGroupMemberRequest.add_member(:member_name, Shapes::ShapeRef.new(shape: MemberName, required: true, location_name: "MemberName"))
307
+ RemoveGroupMemberRequest.add_member(:member_realm, Shapes::ShapeRef.new(shape: Realm, location_name: "MemberRealm"))
308
+ RemoveGroupMemberRequest.struct_class = Types::RemoveGroupMemberRequest
309
+
310
+ RemoveGroupMemberResult.struct_class = Types::RemoveGroupMemberResult
311
+
312
+ ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
313
+ ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
314
+
315
+ SearchGroupsRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location: "querystring", location_name: "DirectoryId"))
316
+ SearchGroupsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
317
+ SearchGroupsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
318
+ SearchGroupsRequest.add_member(:realm, Shapes::ShapeRef.new(shape: Realm, location_name: "Realm"))
319
+ SearchGroupsRequest.add_member(:search_attributes, Shapes::ShapeRef.new(shape: LdapDisplayNameList, required: true, location_name: "SearchAttributes"))
320
+ SearchGroupsRequest.add_member(:search_string, Shapes::ShapeRef.new(shape: SearchString, required: true, location_name: "SearchString"))
321
+ SearchGroupsRequest.struct_class = Types::SearchGroupsRequest
322
+
323
+ SearchGroupsResult.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, location_name: "DirectoryId"))
324
+ SearchGroupsResult.add_member(:groups, Shapes::ShapeRef.new(shape: GroupList, location_name: "Groups"))
325
+ SearchGroupsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
326
+ SearchGroupsResult.add_member(:realm, Shapes::ShapeRef.new(shape: Realm, location_name: "Realm"))
327
+ SearchGroupsResult.struct_class = Types::SearchGroupsResult
328
+
329
+ SearchUsersRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location: "querystring", location_name: "DirectoryId"))
330
+ SearchUsersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
331
+ SearchUsersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
332
+ SearchUsersRequest.add_member(:realm, Shapes::ShapeRef.new(shape: Realm, location_name: "Realm"))
333
+ SearchUsersRequest.add_member(:search_attributes, Shapes::ShapeRef.new(shape: LdapDisplayNameList, required: true, location_name: "SearchAttributes"))
334
+ SearchUsersRequest.add_member(:search_string, Shapes::ShapeRef.new(shape: SearchString, required: true, location_name: "SearchString"))
335
+ SearchUsersRequest.struct_class = Types::SearchUsersRequest
336
+
337
+ SearchUsersResult.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, location_name: "DirectoryId"))
338
+ SearchUsersResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
339
+ SearchUsersResult.add_member(:realm, Shapes::ShapeRef.new(shape: Realm, location_name: "Realm"))
340
+ SearchUsersResult.add_member(:users, Shapes::ShapeRef.new(shape: UserList, location_name: "Users"))
341
+ SearchUsersResult.struct_class = Types::SearchUsersResult
342
+
343
+ StringSetAttributeValue.member = Shapes::ShapeRef.new(shape: StringAttributeValue)
344
+
345
+ ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, required: true, location_name: "Message"))
346
+ ThrottlingException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: Integer, location: "header", location_name: "Retry-After"))
347
+ ThrottlingException.struct_class = Types::ThrottlingException
348
+
349
+ UpdateGroupRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
350
+ UpdateGroupRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location: "querystring", location_name: "DirectoryId"))
351
+ UpdateGroupRequest.add_member(:group_scope, Shapes::ShapeRef.new(shape: GroupScope, location_name: "GroupScope"))
352
+ UpdateGroupRequest.add_member(:group_type, Shapes::ShapeRef.new(shape: GroupType, location_name: "GroupType"))
353
+ UpdateGroupRequest.add_member(:other_attributes, Shapes::ShapeRef.new(shape: Attributes, location_name: "OtherAttributes"))
354
+ UpdateGroupRequest.add_member(:sam_account_name, Shapes::ShapeRef.new(shape: GroupName, required: true, location_name: "SAMAccountName"))
355
+ UpdateGroupRequest.add_member(:update_type, Shapes::ShapeRef.new(shape: UpdateType, location_name: "UpdateType"))
356
+ UpdateGroupRequest.struct_class = Types::UpdateGroupRequest
357
+
358
+ UpdateGroupResult.struct_class = Types::UpdateGroupResult
359
+
360
+ UpdateUserRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
361
+ UpdateUserRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location: "querystring", location_name: "DirectoryId"))
362
+ UpdateUserRequest.add_member(:email_address, Shapes::ShapeRef.new(shape: EmailAddress, location_name: "EmailAddress"))
363
+ UpdateUserRequest.add_member(:given_name, Shapes::ShapeRef.new(shape: GivenName, location_name: "GivenName"))
364
+ UpdateUserRequest.add_member(:other_attributes, Shapes::ShapeRef.new(shape: Attributes, location_name: "OtherAttributes"))
365
+ UpdateUserRequest.add_member(:sam_account_name, Shapes::ShapeRef.new(shape: UserName, required: true, location_name: "SAMAccountName"))
366
+ UpdateUserRequest.add_member(:surname, Shapes::ShapeRef.new(shape: Surname, location_name: "Surname"))
367
+ UpdateUserRequest.add_member(:update_type, Shapes::ShapeRef.new(shape: UpdateType, location_name: "UpdateType"))
368
+ UpdateUserRequest.struct_class = Types::UpdateUserRequest
369
+
370
+ UpdateUserResult.struct_class = Types::UpdateUserResult
371
+
372
+ User.add_member(:distinguished_name, Shapes::ShapeRef.new(shape: DistinguishedName, location_name: "DistinguishedName"))
373
+ User.add_member(:email_address, Shapes::ShapeRef.new(shape: EmailAddress, location_name: "EmailAddress"))
374
+ User.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "Enabled"))
375
+ User.add_member(:given_name, Shapes::ShapeRef.new(shape: GivenName, location_name: "GivenName"))
376
+ User.add_member(:other_attributes, Shapes::ShapeRef.new(shape: Attributes, location_name: "OtherAttributes"))
377
+ User.add_member(:sam_account_name, Shapes::ShapeRef.new(shape: UserName, required: true, location_name: "SAMAccountName"))
378
+ User.add_member(:sid, Shapes::ShapeRef.new(shape: SID, location_name: "SID"))
379
+ User.add_member(:surname, Shapes::ShapeRef.new(shape: Surname, location_name: "Surname"))
380
+ User.add_member(:user_principal_name, Shapes::ShapeRef.new(shape: UserPrincipalName, location_name: "UserPrincipalName"))
381
+ User.struct_class = Types::User
382
+
383
+ UserList.member = Shapes::ShapeRef.new(shape: User)
384
+
385
+ UserSummary.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "Enabled"))
386
+ UserSummary.add_member(:given_name, Shapes::ShapeRef.new(shape: GivenName, location_name: "GivenName"))
387
+ UserSummary.add_member(:sam_account_name, Shapes::ShapeRef.new(shape: UserName, required: true, location_name: "SAMAccountName"))
388
+ UserSummary.add_member(:sid, Shapes::ShapeRef.new(shape: SID, required: true, location_name: "SID"))
389
+ UserSummary.add_member(:surname, Shapes::ShapeRef.new(shape: Surname, location_name: "Surname"))
390
+ UserSummary.struct_class = Types::UserSummary
391
+
392
+ UserSummaryList.member = Shapes::ShapeRef.new(shape: UserSummary)
393
+
394
+ ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
395
+ ValidationException.add_member(:reason, Shapes::ShapeRef.new(shape: ValidationExceptionReason, location_name: "Reason"))
396
+ ValidationException.struct_class = Types::ValidationException
397
+
398
+
399
+ # @api private
400
+ API = Seahorse::Model::Api.new.tap do |api|
401
+
402
+ api.version = "2023-05-31"
403
+
404
+ api.metadata = {
405
+ "apiVersion" => "2023-05-31",
406
+ "endpointPrefix" => "ds-data",
407
+ "jsonVersion" => "1.1",
408
+ "protocol" => "rest-json",
409
+ "protocols" => ["rest-json"],
410
+ "serviceFullName" => "AWS Directory Service Data",
411
+ "serviceId" => "Directory Service Data",
412
+ "signatureVersion" => "v4",
413
+ "signingName" => "ds-data",
414
+ "uid" => "directory-service-data-2023-05-31",
415
+ }
416
+
417
+ api.add_operation(:add_group_member, Seahorse::Model::Operation.new.tap do |o|
418
+ o.name = "AddGroupMember"
419
+ o.http_method = "POST"
420
+ o.http_request_uri = "/GroupMemberships/AddGroupMember"
421
+ o.input = Shapes::ShapeRef.new(shape: AddGroupMemberRequest)
422
+ o.output = Shapes::ShapeRef.new(shape: AddGroupMemberResult)
423
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
424
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
425
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
426
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
427
+ o.errors << Shapes::ShapeRef.new(shape: DirectoryUnavailableException)
428
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
429
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
430
+ end)
431
+
432
+ api.add_operation(:create_group, Seahorse::Model::Operation.new.tap do |o|
433
+ o.name = "CreateGroup"
434
+ o.http_method = "POST"
435
+ o.http_request_uri = "/Groups/CreateGroup"
436
+ o.input = Shapes::ShapeRef.new(shape: CreateGroupRequest)
437
+ o.output = Shapes::ShapeRef.new(shape: CreateGroupResult)
438
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
439
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
440
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
441
+ o.errors << Shapes::ShapeRef.new(shape: DirectoryUnavailableException)
442
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
443
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
444
+ end)
445
+
446
+ api.add_operation(:create_user, Seahorse::Model::Operation.new.tap do |o|
447
+ o.name = "CreateUser"
448
+ o.http_method = "POST"
449
+ o.http_request_uri = "/Users/CreateUser"
450
+ o.input = Shapes::ShapeRef.new(shape: CreateUserRequest)
451
+ o.output = Shapes::ShapeRef.new(shape: CreateUserResult)
452
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
453
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
454
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
455
+ o.errors << Shapes::ShapeRef.new(shape: DirectoryUnavailableException)
456
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
457
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
458
+ end)
459
+
460
+ api.add_operation(:delete_group, Seahorse::Model::Operation.new.tap do |o|
461
+ o.name = "DeleteGroup"
462
+ o.http_method = "POST"
463
+ o.http_request_uri = "/Groups/DeleteGroup"
464
+ o.input = Shapes::ShapeRef.new(shape: DeleteGroupRequest)
465
+ o.output = Shapes::ShapeRef.new(shape: DeleteGroupResult)
466
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
467
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
468
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
469
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
470
+ o.errors << Shapes::ShapeRef.new(shape: DirectoryUnavailableException)
471
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
472
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
473
+ end)
474
+
475
+ api.add_operation(:delete_user, Seahorse::Model::Operation.new.tap do |o|
476
+ o.name = "DeleteUser"
477
+ o.http_method = "POST"
478
+ o.http_request_uri = "/Users/DeleteUser"
479
+ o.input = Shapes::ShapeRef.new(shape: DeleteUserRequest)
480
+ o.output = Shapes::ShapeRef.new(shape: DeleteUserResult)
481
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
482
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
483
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
484
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
485
+ o.errors << Shapes::ShapeRef.new(shape: DirectoryUnavailableException)
486
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
487
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
488
+ end)
489
+
490
+ api.add_operation(:describe_group, Seahorse::Model::Operation.new.tap do |o|
491
+ o.name = "DescribeGroup"
492
+ o.http_method = "POST"
493
+ o.http_request_uri = "/Groups/DescribeGroup"
494
+ o.input = Shapes::ShapeRef.new(shape: DescribeGroupRequest)
495
+ o.output = Shapes::ShapeRef.new(shape: DescribeGroupResult)
496
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
497
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
498
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
499
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
500
+ o.errors << Shapes::ShapeRef.new(shape: DirectoryUnavailableException)
501
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
502
+ end)
503
+
504
+ api.add_operation(:describe_user, Seahorse::Model::Operation.new.tap do |o|
505
+ o.name = "DescribeUser"
506
+ o.http_method = "POST"
507
+ o.http_request_uri = "/Users/DescribeUser"
508
+ o.input = Shapes::ShapeRef.new(shape: DescribeUserRequest)
509
+ o.output = Shapes::ShapeRef.new(shape: DescribeUserResult)
510
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
511
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
512
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
513
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
514
+ o.errors << Shapes::ShapeRef.new(shape: DirectoryUnavailableException)
515
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
516
+ end)
517
+
518
+ api.add_operation(:disable_user, Seahorse::Model::Operation.new.tap do |o|
519
+ o.name = "DisableUser"
520
+ o.http_method = "POST"
521
+ o.http_request_uri = "/Users/DisableUser"
522
+ o.input = Shapes::ShapeRef.new(shape: DisableUserRequest)
523
+ o.output = Shapes::ShapeRef.new(shape: DisableUserResult)
524
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
525
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
526
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
527
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
528
+ o.errors << Shapes::ShapeRef.new(shape: DirectoryUnavailableException)
529
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
530
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
531
+ end)
532
+
533
+ api.add_operation(:list_group_members, Seahorse::Model::Operation.new.tap do |o|
534
+ o.name = "ListGroupMembers"
535
+ o.http_method = "POST"
536
+ o.http_request_uri = "/GroupMemberships/ListGroupMembers"
537
+ o.input = Shapes::ShapeRef.new(shape: ListGroupMembersRequest)
538
+ o.output = Shapes::ShapeRef.new(shape: ListGroupMembersResult)
539
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
540
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
541
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
542
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
543
+ o.errors << Shapes::ShapeRef.new(shape: DirectoryUnavailableException)
544
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
545
+ o[:pager] = Aws::Pager.new(
546
+ limit_key: "max_results",
547
+ tokens: {
548
+ "next_token" => "next_token"
549
+ }
550
+ )
551
+ end)
552
+
553
+ api.add_operation(:list_groups, Seahorse::Model::Operation.new.tap do |o|
554
+ o.name = "ListGroups"
555
+ o.http_method = "POST"
556
+ o.http_request_uri = "/Groups/ListGroups"
557
+ o.input = Shapes::ShapeRef.new(shape: ListGroupsRequest)
558
+ o.output = Shapes::ShapeRef.new(shape: ListGroupsResult)
559
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
560
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
561
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
562
+ o.errors << Shapes::ShapeRef.new(shape: DirectoryUnavailableException)
563
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
564
+ o[:pager] = Aws::Pager.new(
565
+ limit_key: "max_results",
566
+ tokens: {
567
+ "next_token" => "next_token"
568
+ }
569
+ )
570
+ end)
571
+
572
+ api.add_operation(:list_groups_for_member, Seahorse::Model::Operation.new.tap do |o|
573
+ o.name = "ListGroupsForMember"
574
+ o.http_method = "POST"
575
+ o.http_request_uri = "/GroupMemberships/ListGroupsForMember"
576
+ o.input = Shapes::ShapeRef.new(shape: ListGroupsForMemberRequest)
577
+ o.output = Shapes::ShapeRef.new(shape: ListGroupsForMemberResult)
578
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
579
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
580
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
581
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
582
+ o.errors << Shapes::ShapeRef.new(shape: DirectoryUnavailableException)
583
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
584
+ o[:pager] = Aws::Pager.new(
585
+ limit_key: "max_results",
586
+ tokens: {
587
+ "next_token" => "next_token"
588
+ }
589
+ )
590
+ end)
591
+
592
+ api.add_operation(:list_users, Seahorse::Model::Operation.new.tap do |o|
593
+ o.name = "ListUsers"
594
+ o.http_method = "POST"
595
+ o.http_request_uri = "/Users/ListUsers"
596
+ o.input = Shapes::ShapeRef.new(shape: ListUsersRequest)
597
+ o.output = Shapes::ShapeRef.new(shape: ListUsersResult)
598
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
599
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
600
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
601
+ o.errors << Shapes::ShapeRef.new(shape: DirectoryUnavailableException)
602
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
603
+ o[:pager] = Aws::Pager.new(
604
+ limit_key: "max_results",
605
+ tokens: {
606
+ "next_token" => "next_token"
607
+ }
608
+ )
609
+ end)
610
+
611
+ api.add_operation(:remove_group_member, Seahorse::Model::Operation.new.tap do |o|
612
+ o.name = "RemoveGroupMember"
613
+ o.http_method = "POST"
614
+ o.http_request_uri = "/GroupMemberships/RemoveGroupMember"
615
+ o.input = Shapes::ShapeRef.new(shape: RemoveGroupMemberRequest)
616
+ o.output = Shapes::ShapeRef.new(shape: RemoveGroupMemberResult)
617
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
618
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
619
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
620
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
621
+ o.errors << Shapes::ShapeRef.new(shape: DirectoryUnavailableException)
622
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
623
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
624
+ end)
625
+
626
+ api.add_operation(:search_groups, Seahorse::Model::Operation.new.tap do |o|
627
+ o.name = "SearchGroups"
628
+ o.http_method = "POST"
629
+ o.http_request_uri = "/Groups/SearchGroups"
630
+ o.input = Shapes::ShapeRef.new(shape: SearchGroupsRequest)
631
+ o.output = Shapes::ShapeRef.new(shape: SearchGroupsResult)
632
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
633
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
634
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
635
+ o.errors << Shapes::ShapeRef.new(shape: DirectoryUnavailableException)
636
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
637
+ o[:pager] = Aws::Pager.new(
638
+ limit_key: "max_results",
639
+ tokens: {
640
+ "next_token" => "next_token"
641
+ }
642
+ )
643
+ end)
644
+
645
+ api.add_operation(:search_users, Seahorse::Model::Operation.new.tap do |o|
646
+ o.name = "SearchUsers"
647
+ o.http_method = "POST"
648
+ o.http_request_uri = "/Users/SearchUsers"
649
+ o.input = Shapes::ShapeRef.new(shape: SearchUsersRequest)
650
+ o.output = Shapes::ShapeRef.new(shape: SearchUsersResult)
651
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
652
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
653
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
654
+ o.errors << Shapes::ShapeRef.new(shape: DirectoryUnavailableException)
655
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
656
+ o[:pager] = Aws::Pager.new(
657
+ limit_key: "max_results",
658
+ tokens: {
659
+ "next_token" => "next_token"
660
+ }
661
+ )
662
+ end)
663
+
664
+ api.add_operation(:update_group, Seahorse::Model::Operation.new.tap do |o|
665
+ o.name = "UpdateGroup"
666
+ o.http_method = "POST"
667
+ o.http_request_uri = "/Groups/UpdateGroup"
668
+ o.input = Shapes::ShapeRef.new(shape: UpdateGroupRequest)
669
+ o.output = Shapes::ShapeRef.new(shape: UpdateGroupResult)
670
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
671
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
672
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
673
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
674
+ o.errors << Shapes::ShapeRef.new(shape: DirectoryUnavailableException)
675
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
676
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
677
+ end)
678
+
679
+ api.add_operation(:update_user, Seahorse::Model::Operation.new.tap do |o|
680
+ o.name = "UpdateUser"
681
+ o.http_method = "POST"
682
+ o.http_request_uri = "/Users/UpdateUser"
683
+ o.input = Shapes::ShapeRef.new(shape: UpdateUserRequest)
684
+ o.output = Shapes::ShapeRef.new(shape: UpdateUserResult)
685
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
686
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
687
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
688
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
689
+ o.errors << Shapes::ShapeRef.new(shape: DirectoryUnavailableException)
690
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
691
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
692
+ end)
693
+ end
694
+
695
+ end
696
+ end