aws-sdk-workmail 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.
- checksums.yaml +7 -0
- data/lib/aws-sdk-workmail.rb +47 -0
- data/lib/aws-sdk-workmail/client.rb +1245 -0
- data/lib/aws-sdk-workmail/client_api.rb +865 -0
- data/lib/aws-sdk-workmail/customizations.rb +0 -0
- data/lib/aws-sdk-workmail/errors.rb +14 -0
- data/lib/aws-sdk-workmail/resource.rb +23 -0
- data/lib/aws-sdk-workmail/types.rb +1506 -0
- metadata +82 -0
@@ -0,0 +1,865 @@
|
|
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/master/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws::WorkMail
|
9
|
+
# @api private
|
10
|
+
module ClientApi
|
11
|
+
|
12
|
+
include Seahorse::Model
|
13
|
+
|
14
|
+
Aliases = Shapes::ListShape.new(name: 'Aliases')
|
15
|
+
AssociateDelegateToResourceRequest = Shapes::StructureShape.new(name: 'AssociateDelegateToResourceRequest')
|
16
|
+
AssociateDelegateToResourceResponse = Shapes::StructureShape.new(name: 'AssociateDelegateToResourceResponse')
|
17
|
+
AssociateMemberToGroupRequest = Shapes::StructureShape.new(name: 'AssociateMemberToGroupRequest')
|
18
|
+
AssociateMemberToGroupResponse = Shapes::StructureShape.new(name: 'AssociateMemberToGroupResponse')
|
19
|
+
BookingOptions = Shapes::StructureShape.new(name: 'BookingOptions')
|
20
|
+
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
21
|
+
CreateAliasRequest = Shapes::StructureShape.new(name: 'CreateAliasRequest')
|
22
|
+
CreateAliasResponse = Shapes::StructureShape.new(name: 'CreateAliasResponse')
|
23
|
+
CreateGroupRequest = Shapes::StructureShape.new(name: 'CreateGroupRequest')
|
24
|
+
CreateGroupResponse = Shapes::StructureShape.new(name: 'CreateGroupResponse')
|
25
|
+
CreateResourceRequest = Shapes::StructureShape.new(name: 'CreateResourceRequest')
|
26
|
+
CreateResourceResponse = Shapes::StructureShape.new(name: 'CreateResourceResponse')
|
27
|
+
CreateUserRequest = Shapes::StructureShape.new(name: 'CreateUserRequest')
|
28
|
+
CreateUserResponse = Shapes::StructureShape.new(name: 'CreateUserResponse')
|
29
|
+
Delegate = Shapes::StructureShape.new(name: 'Delegate')
|
30
|
+
DeleteAliasRequest = Shapes::StructureShape.new(name: 'DeleteAliasRequest')
|
31
|
+
DeleteAliasResponse = Shapes::StructureShape.new(name: 'DeleteAliasResponse')
|
32
|
+
DeleteGroupRequest = Shapes::StructureShape.new(name: 'DeleteGroupRequest')
|
33
|
+
DeleteGroupResponse = Shapes::StructureShape.new(name: 'DeleteGroupResponse')
|
34
|
+
DeleteResourceRequest = Shapes::StructureShape.new(name: 'DeleteResourceRequest')
|
35
|
+
DeleteResourceResponse = Shapes::StructureShape.new(name: 'DeleteResourceResponse')
|
36
|
+
DeleteUserRequest = Shapes::StructureShape.new(name: 'DeleteUserRequest')
|
37
|
+
DeleteUserResponse = Shapes::StructureShape.new(name: 'DeleteUserResponse')
|
38
|
+
DeregisterFromWorkMailRequest = Shapes::StructureShape.new(name: 'DeregisterFromWorkMailRequest')
|
39
|
+
DeregisterFromWorkMailResponse = Shapes::StructureShape.new(name: 'DeregisterFromWorkMailResponse')
|
40
|
+
DescribeGroupRequest = Shapes::StructureShape.new(name: 'DescribeGroupRequest')
|
41
|
+
DescribeGroupResponse = Shapes::StructureShape.new(name: 'DescribeGroupResponse')
|
42
|
+
DescribeOrganizationRequest = Shapes::StructureShape.new(name: 'DescribeOrganizationRequest')
|
43
|
+
DescribeOrganizationResponse = Shapes::StructureShape.new(name: 'DescribeOrganizationResponse')
|
44
|
+
DescribeResourceRequest = Shapes::StructureShape.new(name: 'DescribeResourceRequest')
|
45
|
+
DescribeResourceResponse = Shapes::StructureShape.new(name: 'DescribeResourceResponse')
|
46
|
+
DescribeUserRequest = Shapes::StructureShape.new(name: 'DescribeUserRequest')
|
47
|
+
DescribeUserResponse = Shapes::StructureShape.new(name: 'DescribeUserResponse')
|
48
|
+
DirectoryServiceAuthenticationFailedException = Shapes::StructureShape.new(name: 'DirectoryServiceAuthenticationFailedException')
|
49
|
+
DirectoryUnavailableException = Shapes::StructureShape.new(name: 'DirectoryUnavailableException')
|
50
|
+
DisassociateDelegateFromResourceRequest = Shapes::StructureShape.new(name: 'DisassociateDelegateFromResourceRequest')
|
51
|
+
DisassociateDelegateFromResourceResponse = Shapes::StructureShape.new(name: 'DisassociateDelegateFromResourceResponse')
|
52
|
+
DisassociateMemberFromGroupRequest = Shapes::StructureShape.new(name: 'DisassociateMemberFromGroupRequest')
|
53
|
+
DisassociateMemberFromGroupResponse = Shapes::StructureShape.new(name: 'DisassociateMemberFromGroupResponse')
|
54
|
+
EmailAddress = Shapes::StringShape.new(name: 'EmailAddress')
|
55
|
+
EmailAddressInUseException = Shapes::StructureShape.new(name: 'EmailAddressInUseException')
|
56
|
+
EntityAlreadyRegisteredException = Shapes::StructureShape.new(name: 'EntityAlreadyRegisteredException')
|
57
|
+
EntityNotFoundException = Shapes::StructureShape.new(name: 'EntityNotFoundException')
|
58
|
+
EntityState = Shapes::StringShape.new(name: 'EntityState')
|
59
|
+
EntityStateException = Shapes::StructureShape.new(name: 'EntityStateException')
|
60
|
+
Group = Shapes::StructureShape.new(name: 'Group')
|
61
|
+
GroupName = Shapes::StringShape.new(name: 'GroupName')
|
62
|
+
Groups = Shapes::ListShape.new(name: 'Groups')
|
63
|
+
InvalidConfigurationException = Shapes::StructureShape.new(name: 'InvalidConfigurationException')
|
64
|
+
InvalidParameterException = Shapes::StructureShape.new(name: 'InvalidParameterException')
|
65
|
+
InvalidPasswordException = Shapes::StructureShape.new(name: 'InvalidPasswordException')
|
66
|
+
ListAliasesRequest = Shapes::StructureShape.new(name: 'ListAliasesRequest')
|
67
|
+
ListAliasesResponse = Shapes::StructureShape.new(name: 'ListAliasesResponse')
|
68
|
+
ListGroupMembersRequest = Shapes::StructureShape.new(name: 'ListGroupMembersRequest')
|
69
|
+
ListGroupMembersResponse = Shapes::StructureShape.new(name: 'ListGroupMembersResponse')
|
70
|
+
ListGroupsRequest = Shapes::StructureShape.new(name: 'ListGroupsRequest')
|
71
|
+
ListGroupsResponse = Shapes::StructureShape.new(name: 'ListGroupsResponse')
|
72
|
+
ListOrganizationsRequest = Shapes::StructureShape.new(name: 'ListOrganizationsRequest')
|
73
|
+
ListOrganizationsResponse = Shapes::StructureShape.new(name: 'ListOrganizationsResponse')
|
74
|
+
ListResourceDelegatesRequest = Shapes::StructureShape.new(name: 'ListResourceDelegatesRequest')
|
75
|
+
ListResourceDelegatesResponse = Shapes::StructureShape.new(name: 'ListResourceDelegatesResponse')
|
76
|
+
ListResourcesRequest = Shapes::StructureShape.new(name: 'ListResourcesRequest')
|
77
|
+
ListResourcesResponse = Shapes::StructureShape.new(name: 'ListResourcesResponse')
|
78
|
+
ListUsersRequest = Shapes::StructureShape.new(name: 'ListUsersRequest')
|
79
|
+
ListUsersResponse = Shapes::StructureShape.new(name: 'ListUsersResponse')
|
80
|
+
MailDomainNotFoundException = Shapes::StructureShape.new(name: 'MailDomainNotFoundException')
|
81
|
+
MailDomainStateException = Shapes::StructureShape.new(name: 'MailDomainStateException')
|
82
|
+
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
83
|
+
Member = Shapes::StructureShape.new(name: 'Member')
|
84
|
+
MemberType = Shapes::StringShape.new(name: 'MemberType')
|
85
|
+
Members = Shapes::ListShape.new(name: 'Members')
|
86
|
+
NameAvailabilityException = Shapes::StructureShape.new(name: 'NameAvailabilityException')
|
87
|
+
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
88
|
+
OrganizationId = Shapes::StringShape.new(name: 'OrganizationId')
|
89
|
+
OrganizationName = Shapes::StringShape.new(name: 'OrganizationName')
|
90
|
+
OrganizationNotFoundException = Shapes::StructureShape.new(name: 'OrganizationNotFoundException')
|
91
|
+
OrganizationStateException = Shapes::StructureShape.new(name: 'OrganizationStateException')
|
92
|
+
OrganizationSummaries = Shapes::ListShape.new(name: 'OrganizationSummaries')
|
93
|
+
OrganizationSummary = Shapes::StructureShape.new(name: 'OrganizationSummary')
|
94
|
+
Password = Shapes::StringShape.new(name: 'Password')
|
95
|
+
RegisterToWorkMailRequest = Shapes::StructureShape.new(name: 'RegisterToWorkMailRequest')
|
96
|
+
RegisterToWorkMailResponse = Shapes::StructureShape.new(name: 'RegisterToWorkMailResponse')
|
97
|
+
ReservedNameException = Shapes::StructureShape.new(name: 'ReservedNameException')
|
98
|
+
ResetPasswordRequest = Shapes::StructureShape.new(name: 'ResetPasswordRequest')
|
99
|
+
ResetPasswordResponse = Shapes::StructureShape.new(name: 'ResetPasswordResponse')
|
100
|
+
Resource = Shapes::StructureShape.new(name: 'Resource')
|
101
|
+
ResourceDelegates = Shapes::ListShape.new(name: 'ResourceDelegates')
|
102
|
+
ResourceId = Shapes::StringShape.new(name: 'ResourceId')
|
103
|
+
ResourceName = Shapes::StringShape.new(name: 'ResourceName')
|
104
|
+
ResourceType = Shapes::StringShape.new(name: 'ResourceType')
|
105
|
+
Resources = Shapes::ListShape.new(name: 'Resources')
|
106
|
+
String = Shapes::StringShape.new(name: 'String')
|
107
|
+
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
108
|
+
UnsupportedOperationException = Shapes::StructureShape.new(name: 'UnsupportedOperationException')
|
109
|
+
UpdatePrimaryEmailAddressRequest = Shapes::StructureShape.new(name: 'UpdatePrimaryEmailAddressRequest')
|
110
|
+
UpdatePrimaryEmailAddressResponse = Shapes::StructureShape.new(name: 'UpdatePrimaryEmailAddressResponse')
|
111
|
+
UpdateResourceRequest = Shapes::StructureShape.new(name: 'UpdateResourceRequest')
|
112
|
+
UpdateResourceResponse = Shapes::StructureShape.new(name: 'UpdateResourceResponse')
|
113
|
+
User = Shapes::StructureShape.new(name: 'User')
|
114
|
+
UserName = Shapes::StringShape.new(name: 'UserName')
|
115
|
+
UserRole = Shapes::StringShape.new(name: 'UserRole')
|
116
|
+
Users = Shapes::ListShape.new(name: 'Users')
|
117
|
+
WorkMailIdentifier = Shapes::StringShape.new(name: 'WorkMailIdentifier')
|
118
|
+
|
119
|
+
Aliases.member = Shapes::ShapeRef.new(shape: EmailAddress)
|
120
|
+
|
121
|
+
AssociateDelegateToResourceRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
122
|
+
AssociateDelegateToResourceRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "ResourceId"))
|
123
|
+
AssociateDelegateToResourceRequest.add_member(:entity_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, required: true, location_name: "EntityId"))
|
124
|
+
AssociateDelegateToResourceRequest.struct_class = Types::AssociateDelegateToResourceRequest
|
125
|
+
|
126
|
+
AssociateDelegateToResourceResponse.struct_class = Types::AssociateDelegateToResourceResponse
|
127
|
+
|
128
|
+
AssociateMemberToGroupRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
129
|
+
AssociateMemberToGroupRequest.add_member(:group_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, required: true, location_name: "GroupId"))
|
130
|
+
AssociateMemberToGroupRequest.add_member(:member_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, required: true, location_name: "MemberId"))
|
131
|
+
AssociateMemberToGroupRequest.struct_class = Types::AssociateMemberToGroupRequest
|
132
|
+
|
133
|
+
AssociateMemberToGroupResponse.struct_class = Types::AssociateMemberToGroupResponse
|
134
|
+
|
135
|
+
BookingOptions.add_member(:auto_accept_requests, Shapes::ShapeRef.new(shape: Boolean, location_name: "AutoAcceptRequests"))
|
136
|
+
BookingOptions.add_member(:auto_decline_recurring_requests, Shapes::ShapeRef.new(shape: Boolean, location_name: "AutoDeclineRecurringRequests"))
|
137
|
+
BookingOptions.add_member(:auto_decline_conflicting_requests, Shapes::ShapeRef.new(shape: Boolean, location_name: "AutoDeclineConflictingRequests"))
|
138
|
+
BookingOptions.struct_class = Types::BookingOptions
|
139
|
+
|
140
|
+
CreateAliasRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
141
|
+
CreateAliasRequest.add_member(:entity_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, required: true, location_name: "EntityId"))
|
142
|
+
CreateAliasRequest.add_member(:alias, Shapes::ShapeRef.new(shape: EmailAddress, required: true, location_name: "Alias"))
|
143
|
+
CreateAliasRequest.struct_class = Types::CreateAliasRequest
|
144
|
+
|
145
|
+
CreateAliasResponse.struct_class = Types::CreateAliasResponse
|
146
|
+
|
147
|
+
CreateGroupRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
148
|
+
CreateGroupRequest.add_member(:name, Shapes::ShapeRef.new(shape: GroupName, required: true, location_name: "Name"))
|
149
|
+
CreateGroupRequest.struct_class = Types::CreateGroupRequest
|
150
|
+
|
151
|
+
CreateGroupResponse.add_member(:group_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, location_name: "GroupId"))
|
152
|
+
CreateGroupResponse.struct_class = Types::CreateGroupResponse
|
153
|
+
|
154
|
+
CreateResourceRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
155
|
+
CreateResourceRequest.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "Name"))
|
156
|
+
CreateResourceRequest.add_member(:type, Shapes::ShapeRef.new(shape: ResourceType, required: true, location_name: "Type"))
|
157
|
+
CreateResourceRequest.struct_class = Types::CreateResourceRequest
|
158
|
+
|
159
|
+
CreateResourceResponse.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "ResourceId"))
|
160
|
+
CreateResourceResponse.struct_class = Types::CreateResourceResponse
|
161
|
+
|
162
|
+
CreateUserRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
163
|
+
CreateUserRequest.add_member(:name, Shapes::ShapeRef.new(shape: UserName, required: true, location_name: "Name"))
|
164
|
+
CreateUserRequest.add_member(:display_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DisplayName"))
|
165
|
+
CreateUserRequest.add_member(:password, Shapes::ShapeRef.new(shape: Password, required: true, location_name: "Password"))
|
166
|
+
CreateUserRequest.struct_class = Types::CreateUserRequest
|
167
|
+
|
168
|
+
CreateUserResponse.add_member(:user_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, location_name: "UserId"))
|
169
|
+
CreateUserResponse.struct_class = Types::CreateUserResponse
|
170
|
+
|
171
|
+
Delegate.add_member(:id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Id"))
|
172
|
+
Delegate.add_member(:type, Shapes::ShapeRef.new(shape: MemberType, required: true, location_name: "Type"))
|
173
|
+
Delegate.struct_class = Types::Delegate
|
174
|
+
|
175
|
+
DeleteAliasRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
176
|
+
DeleteAliasRequest.add_member(:entity_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, required: true, location_name: "EntityId"))
|
177
|
+
DeleteAliasRequest.add_member(:alias, Shapes::ShapeRef.new(shape: EmailAddress, required: true, location_name: "Alias"))
|
178
|
+
DeleteAliasRequest.struct_class = Types::DeleteAliasRequest
|
179
|
+
|
180
|
+
DeleteAliasResponse.struct_class = Types::DeleteAliasResponse
|
181
|
+
|
182
|
+
DeleteGroupRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
183
|
+
DeleteGroupRequest.add_member(:group_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, required: true, location_name: "GroupId"))
|
184
|
+
DeleteGroupRequest.struct_class = Types::DeleteGroupRequest
|
185
|
+
|
186
|
+
DeleteGroupResponse.struct_class = Types::DeleteGroupResponse
|
187
|
+
|
188
|
+
DeleteResourceRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
189
|
+
DeleteResourceRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "ResourceId"))
|
190
|
+
DeleteResourceRequest.struct_class = Types::DeleteResourceRequest
|
191
|
+
|
192
|
+
DeleteResourceResponse.struct_class = Types::DeleteResourceResponse
|
193
|
+
|
194
|
+
DeleteUserRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
195
|
+
DeleteUserRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, required: true, location_name: "UserId"))
|
196
|
+
DeleteUserRequest.struct_class = Types::DeleteUserRequest
|
197
|
+
|
198
|
+
DeleteUserResponse.struct_class = Types::DeleteUserResponse
|
199
|
+
|
200
|
+
DeregisterFromWorkMailRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
201
|
+
DeregisterFromWorkMailRequest.add_member(:entity_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, required: true, location_name: "EntityId"))
|
202
|
+
DeregisterFromWorkMailRequest.struct_class = Types::DeregisterFromWorkMailRequest
|
203
|
+
|
204
|
+
DeregisterFromWorkMailResponse.struct_class = Types::DeregisterFromWorkMailResponse
|
205
|
+
|
206
|
+
DescribeGroupRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
207
|
+
DescribeGroupRequest.add_member(:group_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, required: true, location_name: "GroupId"))
|
208
|
+
DescribeGroupRequest.struct_class = Types::DescribeGroupRequest
|
209
|
+
|
210
|
+
DescribeGroupResponse.add_member(:group_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, location_name: "GroupId"))
|
211
|
+
DescribeGroupResponse.add_member(:name, Shapes::ShapeRef.new(shape: GroupName, location_name: "Name"))
|
212
|
+
DescribeGroupResponse.add_member(:email, Shapes::ShapeRef.new(shape: EmailAddress, location_name: "Email"))
|
213
|
+
DescribeGroupResponse.add_member(:state, Shapes::ShapeRef.new(shape: EntityState, location_name: "State"))
|
214
|
+
DescribeGroupResponse.add_member(:enabled_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EnabledDate"))
|
215
|
+
DescribeGroupResponse.add_member(:disabled_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "DisabledDate"))
|
216
|
+
DescribeGroupResponse.struct_class = Types::DescribeGroupResponse
|
217
|
+
|
218
|
+
DescribeOrganizationRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
219
|
+
DescribeOrganizationRequest.struct_class = Types::DescribeOrganizationRequest
|
220
|
+
|
221
|
+
DescribeOrganizationResponse.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, location_name: "OrganizationId"))
|
222
|
+
DescribeOrganizationResponse.add_member(:alias, Shapes::ShapeRef.new(shape: OrganizationName, location_name: "Alias"))
|
223
|
+
DescribeOrganizationResponse.add_member(:state, Shapes::ShapeRef.new(shape: String, location_name: "State"))
|
224
|
+
DescribeOrganizationResponse.add_member(:directory_id, Shapes::ShapeRef.new(shape: String, location_name: "DirectoryId"))
|
225
|
+
DescribeOrganizationResponse.add_member(:directory_type, Shapes::ShapeRef.new(shape: String, location_name: "DirectoryType"))
|
226
|
+
DescribeOrganizationResponse.add_member(:default_mail_domain, Shapes::ShapeRef.new(shape: String, location_name: "DefaultMailDomain"))
|
227
|
+
DescribeOrganizationResponse.add_member(:completed_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CompletedDate"))
|
228
|
+
DescribeOrganizationResponse.add_member(:error_message, Shapes::ShapeRef.new(shape: String, location_name: "ErrorMessage"))
|
229
|
+
DescribeOrganizationResponse.struct_class = Types::DescribeOrganizationResponse
|
230
|
+
|
231
|
+
DescribeResourceRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
232
|
+
DescribeResourceRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "ResourceId"))
|
233
|
+
DescribeResourceRequest.struct_class = Types::DescribeResourceRequest
|
234
|
+
|
235
|
+
DescribeResourceResponse.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "ResourceId"))
|
236
|
+
DescribeResourceResponse.add_member(:email, Shapes::ShapeRef.new(shape: EmailAddress, location_name: "Email"))
|
237
|
+
DescribeResourceResponse.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "Name"))
|
238
|
+
DescribeResourceResponse.add_member(:type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "Type"))
|
239
|
+
DescribeResourceResponse.add_member(:booking_options, Shapes::ShapeRef.new(shape: BookingOptions, location_name: "BookingOptions"))
|
240
|
+
DescribeResourceResponse.add_member(:state, Shapes::ShapeRef.new(shape: EntityState, location_name: "State"))
|
241
|
+
DescribeResourceResponse.add_member(:enabled_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EnabledDate"))
|
242
|
+
DescribeResourceResponse.add_member(:disabled_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "DisabledDate"))
|
243
|
+
DescribeResourceResponse.struct_class = Types::DescribeResourceResponse
|
244
|
+
|
245
|
+
DescribeUserRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
246
|
+
DescribeUserRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, required: true, location_name: "UserId"))
|
247
|
+
DescribeUserRequest.struct_class = Types::DescribeUserRequest
|
248
|
+
|
249
|
+
DescribeUserResponse.add_member(:user_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, location_name: "UserId"))
|
250
|
+
DescribeUserResponse.add_member(:name, Shapes::ShapeRef.new(shape: UserName, location_name: "Name"))
|
251
|
+
DescribeUserResponse.add_member(:email, Shapes::ShapeRef.new(shape: EmailAddress, location_name: "Email"))
|
252
|
+
DescribeUserResponse.add_member(:display_name, Shapes::ShapeRef.new(shape: String, location_name: "DisplayName"))
|
253
|
+
DescribeUserResponse.add_member(:state, Shapes::ShapeRef.new(shape: EntityState, location_name: "State"))
|
254
|
+
DescribeUserResponse.add_member(:user_role, Shapes::ShapeRef.new(shape: UserRole, location_name: "UserRole"))
|
255
|
+
DescribeUserResponse.add_member(:enabled_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EnabledDate"))
|
256
|
+
DescribeUserResponse.add_member(:disabled_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "DisabledDate"))
|
257
|
+
DescribeUserResponse.struct_class = Types::DescribeUserResponse
|
258
|
+
|
259
|
+
DisassociateDelegateFromResourceRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
260
|
+
DisassociateDelegateFromResourceRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "ResourceId"))
|
261
|
+
DisassociateDelegateFromResourceRequest.add_member(:entity_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, required: true, location_name: "EntityId"))
|
262
|
+
DisassociateDelegateFromResourceRequest.struct_class = Types::DisassociateDelegateFromResourceRequest
|
263
|
+
|
264
|
+
DisassociateDelegateFromResourceResponse.struct_class = Types::DisassociateDelegateFromResourceResponse
|
265
|
+
|
266
|
+
DisassociateMemberFromGroupRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
267
|
+
DisassociateMemberFromGroupRequest.add_member(:group_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, required: true, location_name: "GroupId"))
|
268
|
+
DisassociateMemberFromGroupRequest.add_member(:member_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, required: true, location_name: "MemberId"))
|
269
|
+
DisassociateMemberFromGroupRequest.struct_class = Types::DisassociateMemberFromGroupRequest
|
270
|
+
|
271
|
+
DisassociateMemberFromGroupResponse.struct_class = Types::DisassociateMemberFromGroupResponse
|
272
|
+
|
273
|
+
Group.add_member(:id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, location_name: "Id"))
|
274
|
+
Group.add_member(:email, Shapes::ShapeRef.new(shape: EmailAddress, location_name: "Email"))
|
275
|
+
Group.add_member(:name, Shapes::ShapeRef.new(shape: GroupName, location_name: "Name"))
|
276
|
+
Group.add_member(:state, Shapes::ShapeRef.new(shape: EntityState, location_name: "State"))
|
277
|
+
Group.add_member(:enabled_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EnabledDate"))
|
278
|
+
Group.add_member(:disabled_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "DisabledDate"))
|
279
|
+
Group.struct_class = Types::Group
|
280
|
+
|
281
|
+
Groups.member = Shapes::ShapeRef.new(shape: Group)
|
282
|
+
|
283
|
+
ListAliasesRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
284
|
+
ListAliasesRequest.add_member(:entity_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, required: true, location_name: "EntityId"))
|
285
|
+
ListAliasesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
286
|
+
ListAliasesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
287
|
+
ListAliasesRequest.struct_class = Types::ListAliasesRequest
|
288
|
+
|
289
|
+
ListAliasesResponse.add_member(:aliases, Shapes::ShapeRef.new(shape: Aliases, location_name: "Aliases"))
|
290
|
+
ListAliasesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
291
|
+
ListAliasesResponse.struct_class = Types::ListAliasesResponse
|
292
|
+
|
293
|
+
ListGroupMembersRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
294
|
+
ListGroupMembersRequest.add_member(:group_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, required: true, location_name: "GroupId"))
|
295
|
+
ListGroupMembersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
296
|
+
ListGroupMembersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
297
|
+
ListGroupMembersRequest.struct_class = Types::ListGroupMembersRequest
|
298
|
+
|
299
|
+
ListGroupMembersResponse.add_member(:members, Shapes::ShapeRef.new(shape: Members, location_name: "Members"))
|
300
|
+
ListGroupMembersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
301
|
+
ListGroupMembersResponse.struct_class = Types::ListGroupMembersResponse
|
302
|
+
|
303
|
+
ListGroupsRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
304
|
+
ListGroupsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
305
|
+
ListGroupsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
306
|
+
ListGroupsRequest.struct_class = Types::ListGroupsRequest
|
307
|
+
|
308
|
+
ListGroupsResponse.add_member(:groups, Shapes::ShapeRef.new(shape: Groups, location_name: "Groups"))
|
309
|
+
ListGroupsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
310
|
+
ListGroupsResponse.struct_class = Types::ListGroupsResponse
|
311
|
+
|
312
|
+
ListOrganizationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
313
|
+
ListOrganizationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
314
|
+
ListOrganizationsRequest.struct_class = Types::ListOrganizationsRequest
|
315
|
+
|
316
|
+
ListOrganizationsResponse.add_member(:organization_summaries, Shapes::ShapeRef.new(shape: OrganizationSummaries, location_name: "OrganizationSummaries"))
|
317
|
+
ListOrganizationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
318
|
+
ListOrganizationsResponse.struct_class = Types::ListOrganizationsResponse
|
319
|
+
|
320
|
+
ListResourceDelegatesRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
321
|
+
ListResourceDelegatesRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, required: true, location_name: "ResourceId"))
|
322
|
+
ListResourceDelegatesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
323
|
+
ListResourceDelegatesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
324
|
+
ListResourceDelegatesRequest.struct_class = Types::ListResourceDelegatesRequest
|
325
|
+
|
326
|
+
ListResourceDelegatesResponse.add_member(:delegates, Shapes::ShapeRef.new(shape: ResourceDelegates, location_name: "Delegates"))
|
327
|
+
ListResourceDelegatesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
328
|
+
ListResourceDelegatesResponse.struct_class = Types::ListResourceDelegatesResponse
|
329
|
+
|
330
|
+
ListResourcesRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
331
|
+
ListResourcesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
332
|
+
ListResourcesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
333
|
+
ListResourcesRequest.struct_class = Types::ListResourcesRequest
|
334
|
+
|
335
|
+
ListResourcesResponse.add_member(:resources, Shapes::ShapeRef.new(shape: Resources, location_name: "Resources"))
|
336
|
+
ListResourcesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
337
|
+
ListResourcesResponse.struct_class = Types::ListResourcesResponse
|
338
|
+
|
339
|
+
ListUsersRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
340
|
+
ListUsersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
341
|
+
ListUsersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
342
|
+
ListUsersRequest.struct_class = Types::ListUsersRequest
|
343
|
+
|
344
|
+
ListUsersResponse.add_member(:users, Shapes::ShapeRef.new(shape: Users, location_name: "Users"))
|
345
|
+
ListUsersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
346
|
+
ListUsersResponse.struct_class = Types::ListUsersResponse
|
347
|
+
|
348
|
+
Member.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "Id"))
|
349
|
+
Member.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
|
350
|
+
Member.add_member(:type, Shapes::ShapeRef.new(shape: MemberType, location_name: "Type"))
|
351
|
+
Member.add_member(:state, Shapes::ShapeRef.new(shape: EntityState, location_name: "State"))
|
352
|
+
Member.add_member(:enabled_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EnabledDate"))
|
353
|
+
Member.add_member(:disabled_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "DisabledDate"))
|
354
|
+
Member.struct_class = Types::Member
|
355
|
+
|
356
|
+
Members.member = Shapes::ShapeRef.new(shape: Member)
|
357
|
+
|
358
|
+
OrganizationSummaries.member = Shapes::ShapeRef.new(shape: OrganizationSummary)
|
359
|
+
|
360
|
+
OrganizationSummary.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, location_name: "OrganizationId"))
|
361
|
+
OrganizationSummary.add_member(:alias, Shapes::ShapeRef.new(shape: OrganizationName, location_name: "Alias"))
|
362
|
+
OrganizationSummary.add_member(:error_message, Shapes::ShapeRef.new(shape: String, location_name: "ErrorMessage"))
|
363
|
+
OrganizationSummary.add_member(:state, Shapes::ShapeRef.new(shape: String, location_name: "State"))
|
364
|
+
OrganizationSummary.struct_class = Types::OrganizationSummary
|
365
|
+
|
366
|
+
RegisterToWorkMailRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
367
|
+
RegisterToWorkMailRequest.add_member(:entity_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, required: true, location_name: "EntityId"))
|
368
|
+
RegisterToWorkMailRequest.add_member(:email, Shapes::ShapeRef.new(shape: EmailAddress, required: true, location_name: "Email"))
|
369
|
+
RegisterToWorkMailRequest.struct_class = Types::RegisterToWorkMailRequest
|
370
|
+
|
371
|
+
RegisterToWorkMailResponse.struct_class = Types::RegisterToWorkMailResponse
|
372
|
+
|
373
|
+
ResetPasswordRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
374
|
+
ResetPasswordRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, required: true, location_name: "UserId"))
|
375
|
+
ResetPasswordRequest.add_member(:password, Shapes::ShapeRef.new(shape: Password, required: true, location_name: "Password"))
|
376
|
+
ResetPasswordRequest.struct_class = Types::ResetPasswordRequest
|
377
|
+
|
378
|
+
ResetPasswordResponse.struct_class = Types::ResetPasswordResponse
|
379
|
+
|
380
|
+
Resource.add_member(:id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, location_name: "Id"))
|
381
|
+
Resource.add_member(:email, Shapes::ShapeRef.new(shape: EmailAddress, location_name: "Email"))
|
382
|
+
Resource.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "Name"))
|
383
|
+
Resource.add_member(:type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "Type"))
|
384
|
+
Resource.add_member(:state, Shapes::ShapeRef.new(shape: EntityState, location_name: "State"))
|
385
|
+
Resource.add_member(:enabled_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EnabledDate"))
|
386
|
+
Resource.add_member(:disabled_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "DisabledDate"))
|
387
|
+
Resource.struct_class = Types::Resource
|
388
|
+
|
389
|
+
ResourceDelegates.member = Shapes::ShapeRef.new(shape: Delegate)
|
390
|
+
|
391
|
+
Resources.member = Shapes::ShapeRef.new(shape: Resource)
|
392
|
+
|
393
|
+
UpdatePrimaryEmailAddressRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
394
|
+
UpdatePrimaryEmailAddressRequest.add_member(:entity_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, required: true, location_name: "EntityId"))
|
395
|
+
UpdatePrimaryEmailAddressRequest.add_member(:email, Shapes::ShapeRef.new(shape: EmailAddress, required: true, location_name: "Email"))
|
396
|
+
UpdatePrimaryEmailAddressRequest.struct_class = Types::UpdatePrimaryEmailAddressRequest
|
397
|
+
|
398
|
+
UpdatePrimaryEmailAddressResponse.struct_class = Types::UpdatePrimaryEmailAddressResponse
|
399
|
+
|
400
|
+
UpdateResourceRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
401
|
+
UpdateResourceRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "ResourceId"))
|
402
|
+
UpdateResourceRequest.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "Name"))
|
403
|
+
UpdateResourceRequest.add_member(:booking_options, Shapes::ShapeRef.new(shape: BookingOptions, location_name: "BookingOptions"))
|
404
|
+
UpdateResourceRequest.struct_class = Types::UpdateResourceRequest
|
405
|
+
|
406
|
+
UpdateResourceResponse.struct_class = Types::UpdateResourceResponse
|
407
|
+
|
408
|
+
User.add_member(:id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, location_name: "Id"))
|
409
|
+
User.add_member(:email, Shapes::ShapeRef.new(shape: EmailAddress, location_name: "Email"))
|
410
|
+
User.add_member(:name, Shapes::ShapeRef.new(shape: UserName, location_name: "Name"))
|
411
|
+
User.add_member(:display_name, Shapes::ShapeRef.new(shape: String, location_name: "DisplayName"))
|
412
|
+
User.add_member(:state, Shapes::ShapeRef.new(shape: EntityState, location_name: "State"))
|
413
|
+
User.add_member(:user_role, Shapes::ShapeRef.new(shape: UserRole, location_name: "UserRole"))
|
414
|
+
User.add_member(:enabled_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EnabledDate"))
|
415
|
+
User.add_member(:disabled_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "DisabledDate"))
|
416
|
+
User.struct_class = Types::User
|
417
|
+
|
418
|
+
Users.member = Shapes::ShapeRef.new(shape: User)
|
419
|
+
|
420
|
+
|
421
|
+
# @api private
|
422
|
+
API = Seahorse::Model::Api.new.tap do |api|
|
423
|
+
|
424
|
+
api.version = "2017-10-01"
|
425
|
+
|
426
|
+
api.metadata = {
|
427
|
+
"endpointPrefix" => "workmail",
|
428
|
+
"jsonVersion" => "1.1",
|
429
|
+
"protocol" => "json",
|
430
|
+
"serviceFullName" => "Amazon WorkMail",
|
431
|
+
"signatureVersion" => "v4",
|
432
|
+
"targetPrefix" => "WorkMailService",
|
433
|
+
}
|
434
|
+
|
435
|
+
api.add_operation(:associate_delegate_to_resource, Seahorse::Model::Operation.new.tap do |o|
|
436
|
+
o.name = "AssociateDelegateToResource"
|
437
|
+
o.http_method = "POST"
|
438
|
+
o.http_request_uri = "/"
|
439
|
+
o.input = Shapes::ShapeRef.new(shape: AssociateDelegateToResourceRequest)
|
440
|
+
o.output = Shapes::ShapeRef.new(shape: AssociateDelegateToResourceResponse)
|
441
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
|
442
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityStateException)
|
443
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
444
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
|
445
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
446
|
+
end)
|
447
|
+
|
448
|
+
api.add_operation(:associate_member_to_group, Seahorse::Model::Operation.new.tap do |o|
|
449
|
+
o.name = "AssociateMemberToGroup"
|
450
|
+
o.http_method = "POST"
|
451
|
+
o.http_request_uri = "/"
|
452
|
+
o.input = Shapes::ShapeRef.new(shape: AssociateMemberToGroupRequest)
|
453
|
+
o.output = Shapes::ShapeRef.new(shape: AssociateMemberToGroupResponse)
|
454
|
+
o.errors << Shapes::ShapeRef.new(shape: DirectoryServiceAuthenticationFailedException)
|
455
|
+
o.errors << Shapes::ShapeRef.new(shape: DirectoryUnavailableException)
|
456
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
|
457
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityStateException)
|
458
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
459
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
|
460
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
461
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
462
|
+
end)
|
463
|
+
|
464
|
+
api.add_operation(:create_alias, Seahorse::Model::Operation.new.tap do |o|
|
465
|
+
o.name = "CreateAlias"
|
466
|
+
o.http_method = "POST"
|
467
|
+
o.http_request_uri = "/"
|
468
|
+
o.input = Shapes::ShapeRef.new(shape: CreateAliasRequest)
|
469
|
+
o.output = Shapes::ShapeRef.new(shape: CreateAliasResponse)
|
470
|
+
o.errors << Shapes::ShapeRef.new(shape: EmailAddressInUseException)
|
471
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
|
472
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityStateException)
|
473
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
474
|
+
o.errors << Shapes::ShapeRef.new(shape: MailDomainNotFoundException)
|
475
|
+
o.errors << Shapes::ShapeRef.new(shape: MailDomainStateException)
|
476
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
|
477
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
478
|
+
end)
|
479
|
+
|
480
|
+
api.add_operation(:create_group, Seahorse::Model::Operation.new.tap do |o|
|
481
|
+
o.name = "CreateGroup"
|
482
|
+
o.http_method = "POST"
|
483
|
+
o.http_request_uri = "/"
|
484
|
+
o.input = Shapes::ShapeRef.new(shape: CreateGroupRequest)
|
485
|
+
o.output = Shapes::ShapeRef.new(shape: CreateGroupResponse)
|
486
|
+
o.errors << Shapes::ShapeRef.new(shape: DirectoryServiceAuthenticationFailedException)
|
487
|
+
o.errors << Shapes::ShapeRef.new(shape: DirectoryUnavailableException)
|
488
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
489
|
+
o.errors << Shapes::ShapeRef.new(shape: NameAvailabilityException)
|
490
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
|
491
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
492
|
+
o.errors << Shapes::ShapeRef.new(shape: ReservedNameException)
|
493
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
494
|
+
end)
|
495
|
+
|
496
|
+
api.add_operation(:create_resource, Seahorse::Model::Operation.new.tap do |o|
|
497
|
+
o.name = "CreateResource"
|
498
|
+
o.http_method = "POST"
|
499
|
+
o.http_request_uri = "/"
|
500
|
+
o.input = Shapes::ShapeRef.new(shape: CreateResourceRequest)
|
501
|
+
o.output = Shapes::ShapeRef.new(shape: CreateResourceResponse)
|
502
|
+
o.errors << Shapes::ShapeRef.new(shape: DirectoryServiceAuthenticationFailedException)
|
503
|
+
o.errors << Shapes::ShapeRef.new(shape: DirectoryUnavailableException)
|
504
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
505
|
+
o.errors << Shapes::ShapeRef.new(shape: NameAvailabilityException)
|
506
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
|
507
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
508
|
+
o.errors << Shapes::ShapeRef.new(shape: ReservedNameException)
|
509
|
+
end)
|
510
|
+
|
511
|
+
api.add_operation(:create_user, Seahorse::Model::Operation.new.tap do |o|
|
512
|
+
o.name = "CreateUser"
|
513
|
+
o.http_method = "POST"
|
514
|
+
o.http_request_uri = "/"
|
515
|
+
o.input = Shapes::ShapeRef.new(shape: CreateUserRequest)
|
516
|
+
o.output = Shapes::ShapeRef.new(shape: CreateUserResponse)
|
517
|
+
o.errors << Shapes::ShapeRef.new(shape: DirectoryServiceAuthenticationFailedException)
|
518
|
+
o.errors << Shapes::ShapeRef.new(shape: DirectoryUnavailableException)
|
519
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
520
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidPasswordException)
|
521
|
+
o.errors << Shapes::ShapeRef.new(shape: NameAvailabilityException)
|
522
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
|
523
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
524
|
+
o.errors << Shapes::ShapeRef.new(shape: ReservedNameException)
|
525
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
526
|
+
end)
|
527
|
+
|
528
|
+
api.add_operation(:delete_alias, Seahorse::Model::Operation.new.tap do |o|
|
529
|
+
o.name = "DeleteAlias"
|
530
|
+
o.http_method = "POST"
|
531
|
+
o.http_request_uri = "/"
|
532
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteAliasRequest)
|
533
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteAliasResponse)
|
534
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
|
535
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityStateException)
|
536
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
537
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
|
538
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
539
|
+
end)
|
540
|
+
|
541
|
+
api.add_operation(:delete_group, Seahorse::Model::Operation.new.tap do |o|
|
542
|
+
o.name = "DeleteGroup"
|
543
|
+
o.http_method = "POST"
|
544
|
+
o.http_request_uri = "/"
|
545
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteGroupRequest)
|
546
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteGroupResponse)
|
547
|
+
o.errors << Shapes::ShapeRef.new(shape: DirectoryServiceAuthenticationFailedException)
|
548
|
+
o.errors << Shapes::ShapeRef.new(shape: DirectoryUnavailableException)
|
549
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityStateException)
|
550
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
551
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
|
552
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
553
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
554
|
+
end)
|
555
|
+
|
556
|
+
api.add_operation(:delete_resource, Seahorse::Model::Operation.new.tap do |o|
|
557
|
+
o.name = "DeleteResource"
|
558
|
+
o.http_method = "POST"
|
559
|
+
o.http_request_uri = "/"
|
560
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteResourceRequest)
|
561
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteResourceResponse)
|
562
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityStateException)
|
563
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
564
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
|
565
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
566
|
+
end)
|
567
|
+
|
568
|
+
api.add_operation(:delete_user, Seahorse::Model::Operation.new.tap do |o|
|
569
|
+
o.name = "DeleteUser"
|
570
|
+
o.http_method = "POST"
|
571
|
+
o.http_request_uri = "/"
|
572
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteUserRequest)
|
573
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteUserResponse)
|
574
|
+
o.errors << Shapes::ShapeRef.new(shape: DirectoryServiceAuthenticationFailedException)
|
575
|
+
o.errors << Shapes::ShapeRef.new(shape: DirectoryUnavailableException)
|
576
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityStateException)
|
577
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
578
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
|
579
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
580
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
581
|
+
end)
|
582
|
+
|
583
|
+
api.add_operation(:deregister_from_work_mail, Seahorse::Model::Operation.new.tap do |o|
|
584
|
+
o.name = "DeregisterFromWorkMail"
|
585
|
+
o.http_method = "POST"
|
586
|
+
o.http_request_uri = "/"
|
587
|
+
o.input = Shapes::ShapeRef.new(shape: DeregisterFromWorkMailRequest)
|
588
|
+
o.output = Shapes::ShapeRef.new(shape: DeregisterFromWorkMailResponse)
|
589
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
|
590
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityStateException)
|
591
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
592
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
|
593
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
594
|
+
end)
|
595
|
+
|
596
|
+
api.add_operation(:describe_group, Seahorse::Model::Operation.new.tap do |o|
|
597
|
+
o.name = "DescribeGroup"
|
598
|
+
o.http_method = "POST"
|
599
|
+
o.http_request_uri = "/"
|
600
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeGroupRequest)
|
601
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeGroupResponse)
|
602
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
|
603
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
604
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
|
605
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
606
|
+
end)
|
607
|
+
|
608
|
+
api.add_operation(:describe_organization, Seahorse::Model::Operation.new.tap do |o|
|
609
|
+
o.name = "DescribeOrganization"
|
610
|
+
o.http_method = "POST"
|
611
|
+
o.http_request_uri = "/"
|
612
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeOrganizationRequest)
|
613
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeOrganizationResponse)
|
614
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
615
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
|
616
|
+
end)
|
617
|
+
|
618
|
+
api.add_operation(:describe_resource, Seahorse::Model::Operation.new.tap do |o|
|
619
|
+
o.name = "DescribeResource"
|
620
|
+
o.http_method = "POST"
|
621
|
+
o.http_request_uri = "/"
|
622
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeResourceRequest)
|
623
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeResourceResponse)
|
624
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
|
625
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
626
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
|
627
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
628
|
+
end)
|
629
|
+
|
630
|
+
api.add_operation(:describe_user, Seahorse::Model::Operation.new.tap do |o|
|
631
|
+
o.name = "DescribeUser"
|
632
|
+
o.http_method = "POST"
|
633
|
+
o.http_request_uri = "/"
|
634
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeUserRequest)
|
635
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeUserResponse)
|
636
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
|
637
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
638
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
|
639
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
640
|
+
end)
|
641
|
+
|
642
|
+
api.add_operation(:disassociate_delegate_from_resource, Seahorse::Model::Operation.new.tap do |o|
|
643
|
+
o.name = "DisassociateDelegateFromResource"
|
644
|
+
o.http_method = "POST"
|
645
|
+
o.http_request_uri = "/"
|
646
|
+
o.input = Shapes::ShapeRef.new(shape: DisassociateDelegateFromResourceRequest)
|
647
|
+
o.output = Shapes::ShapeRef.new(shape: DisassociateDelegateFromResourceResponse)
|
648
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
|
649
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityStateException)
|
650
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
651
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
|
652
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
653
|
+
end)
|
654
|
+
|
655
|
+
api.add_operation(:disassociate_member_from_group, Seahorse::Model::Operation.new.tap do |o|
|
656
|
+
o.name = "DisassociateMemberFromGroup"
|
657
|
+
o.http_method = "POST"
|
658
|
+
o.http_request_uri = "/"
|
659
|
+
o.input = Shapes::ShapeRef.new(shape: DisassociateMemberFromGroupRequest)
|
660
|
+
o.output = Shapes::ShapeRef.new(shape: DisassociateMemberFromGroupResponse)
|
661
|
+
o.errors << Shapes::ShapeRef.new(shape: DirectoryServiceAuthenticationFailedException)
|
662
|
+
o.errors << Shapes::ShapeRef.new(shape: DirectoryUnavailableException)
|
663
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
|
664
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityStateException)
|
665
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
666
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
|
667
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
668
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
669
|
+
end)
|
670
|
+
|
671
|
+
api.add_operation(:list_aliases, Seahorse::Model::Operation.new.tap do |o|
|
672
|
+
o.name = "ListAliases"
|
673
|
+
o.http_method = "POST"
|
674
|
+
o.http_request_uri = "/"
|
675
|
+
o.input = Shapes::ShapeRef.new(shape: ListAliasesRequest)
|
676
|
+
o.output = Shapes::ShapeRef.new(shape: ListAliasesResponse)
|
677
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
|
678
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityStateException)
|
679
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
680
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
|
681
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
682
|
+
o[:pager] = Aws::Pager.new(
|
683
|
+
limit_key: "max_results",
|
684
|
+
tokens: {
|
685
|
+
"next_token" => "next_token"
|
686
|
+
}
|
687
|
+
)
|
688
|
+
end)
|
689
|
+
|
690
|
+
api.add_operation(:list_group_members, Seahorse::Model::Operation.new.tap do |o|
|
691
|
+
o.name = "ListGroupMembers"
|
692
|
+
o.http_method = "POST"
|
693
|
+
o.http_request_uri = "/"
|
694
|
+
o.input = Shapes::ShapeRef.new(shape: ListGroupMembersRequest)
|
695
|
+
o.output = Shapes::ShapeRef.new(shape: ListGroupMembersResponse)
|
696
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
|
697
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityStateException)
|
698
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
699
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
|
700
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
701
|
+
o[:pager] = Aws::Pager.new(
|
702
|
+
limit_key: "max_results",
|
703
|
+
tokens: {
|
704
|
+
"next_token" => "next_token"
|
705
|
+
}
|
706
|
+
)
|
707
|
+
end)
|
708
|
+
|
709
|
+
api.add_operation(:list_groups, Seahorse::Model::Operation.new.tap do |o|
|
710
|
+
o.name = "ListGroups"
|
711
|
+
o.http_method = "POST"
|
712
|
+
o.http_request_uri = "/"
|
713
|
+
o.input = Shapes::ShapeRef.new(shape: ListGroupsRequest)
|
714
|
+
o.output = Shapes::ShapeRef.new(shape: ListGroupsResponse)
|
715
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
|
716
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
717
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
|
718
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
719
|
+
o[:pager] = Aws::Pager.new(
|
720
|
+
limit_key: "max_results",
|
721
|
+
tokens: {
|
722
|
+
"next_token" => "next_token"
|
723
|
+
}
|
724
|
+
)
|
725
|
+
end)
|
726
|
+
|
727
|
+
api.add_operation(:list_organizations, Seahorse::Model::Operation.new.tap do |o|
|
728
|
+
o.name = "ListOrganizations"
|
729
|
+
o.http_method = "POST"
|
730
|
+
o.http_request_uri = "/"
|
731
|
+
o.input = Shapes::ShapeRef.new(shape: ListOrganizationsRequest)
|
732
|
+
o.output = Shapes::ShapeRef.new(shape: ListOrganizationsResponse)
|
733
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
734
|
+
o[:pager] = Aws::Pager.new(
|
735
|
+
limit_key: "max_results",
|
736
|
+
tokens: {
|
737
|
+
"next_token" => "next_token"
|
738
|
+
}
|
739
|
+
)
|
740
|
+
end)
|
741
|
+
|
742
|
+
api.add_operation(:list_resource_delegates, Seahorse::Model::Operation.new.tap do |o|
|
743
|
+
o.name = "ListResourceDelegates"
|
744
|
+
o.http_method = "POST"
|
745
|
+
o.http_request_uri = "/"
|
746
|
+
o.input = Shapes::ShapeRef.new(shape: ListResourceDelegatesRequest)
|
747
|
+
o.output = Shapes::ShapeRef.new(shape: ListResourceDelegatesResponse)
|
748
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
|
749
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityStateException)
|
750
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
751
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
|
752
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
753
|
+
end)
|
754
|
+
|
755
|
+
api.add_operation(:list_resources, Seahorse::Model::Operation.new.tap do |o|
|
756
|
+
o.name = "ListResources"
|
757
|
+
o.http_method = "POST"
|
758
|
+
o.http_request_uri = "/"
|
759
|
+
o.input = Shapes::ShapeRef.new(shape: ListResourcesRequest)
|
760
|
+
o.output = Shapes::ShapeRef.new(shape: ListResourcesResponse)
|
761
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
762
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
|
763
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
764
|
+
o[:pager] = Aws::Pager.new(
|
765
|
+
limit_key: "max_results",
|
766
|
+
tokens: {
|
767
|
+
"next_token" => "next_token"
|
768
|
+
}
|
769
|
+
)
|
770
|
+
end)
|
771
|
+
|
772
|
+
api.add_operation(:list_users, Seahorse::Model::Operation.new.tap do |o|
|
773
|
+
o.name = "ListUsers"
|
774
|
+
o.http_method = "POST"
|
775
|
+
o.http_request_uri = "/"
|
776
|
+
o.input = Shapes::ShapeRef.new(shape: ListUsersRequest)
|
777
|
+
o.output = Shapes::ShapeRef.new(shape: ListUsersResponse)
|
778
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
779
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
|
780
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
781
|
+
o[:pager] = Aws::Pager.new(
|
782
|
+
limit_key: "max_results",
|
783
|
+
tokens: {
|
784
|
+
"next_token" => "next_token"
|
785
|
+
}
|
786
|
+
)
|
787
|
+
end)
|
788
|
+
|
789
|
+
api.add_operation(:register_to_work_mail, Seahorse::Model::Operation.new.tap do |o|
|
790
|
+
o.name = "RegisterToWorkMail"
|
791
|
+
o.http_method = "POST"
|
792
|
+
o.http_request_uri = "/"
|
793
|
+
o.input = Shapes::ShapeRef.new(shape: RegisterToWorkMailRequest)
|
794
|
+
o.output = Shapes::ShapeRef.new(shape: RegisterToWorkMailResponse)
|
795
|
+
o.errors << Shapes::ShapeRef.new(shape: DirectoryServiceAuthenticationFailedException)
|
796
|
+
o.errors << Shapes::ShapeRef.new(shape: DirectoryUnavailableException)
|
797
|
+
o.errors << Shapes::ShapeRef.new(shape: EmailAddressInUseException)
|
798
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
|
799
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityStateException)
|
800
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityAlreadyRegisteredException)
|
801
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
802
|
+
o.errors << Shapes::ShapeRef.new(shape: MailDomainNotFoundException)
|
803
|
+
o.errors << Shapes::ShapeRef.new(shape: MailDomainStateException)
|
804
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
|
805
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
806
|
+
end)
|
807
|
+
|
808
|
+
api.add_operation(:reset_password, Seahorse::Model::Operation.new.tap do |o|
|
809
|
+
o.name = "ResetPassword"
|
810
|
+
o.http_method = "POST"
|
811
|
+
o.http_request_uri = "/"
|
812
|
+
o.input = Shapes::ShapeRef.new(shape: ResetPasswordRequest)
|
813
|
+
o.output = Shapes::ShapeRef.new(shape: ResetPasswordResponse)
|
814
|
+
o.errors << Shapes::ShapeRef.new(shape: DirectoryServiceAuthenticationFailedException)
|
815
|
+
o.errors << Shapes::ShapeRef.new(shape: DirectoryUnavailableException)
|
816
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
|
817
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityStateException)
|
818
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
819
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidPasswordException)
|
820
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
|
821
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
822
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
823
|
+
end)
|
824
|
+
|
825
|
+
api.add_operation(:update_primary_email_address, Seahorse::Model::Operation.new.tap do |o|
|
826
|
+
o.name = "UpdatePrimaryEmailAddress"
|
827
|
+
o.http_method = "POST"
|
828
|
+
o.http_request_uri = "/"
|
829
|
+
o.input = Shapes::ShapeRef.new(shape: UpdatePrimaryEmailAddressRequest)
|
830
|
+
o.output = Shapes::ShapeRef.new(shape: UpdatePrimaryEmailAddressResponse)
|
831
|
+
o.errors << Shapes::ShapeRef.new(shape: DirectoryServiceAuthenticationFailedException)
|
832
|
+
o.errors << Shapes::ShapeRef.new(shape: DirectoryUnavailableException)
|
833
|
+
o.errors << Shapes::ShapeRef.new(shape: EmailAddressInUseException)
|
834
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
|
835
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityStateException)
|
836
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
837
|
+
o.errors << Shapes::ShapeRef.new(shape: MailDomainNotFoundException)
|
838
|
+
o.errors << Shapes::ShapeRef.new(shape: MailDomainStateException)
|
839
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
840
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
|
841
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
842
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
843
|
+
end)
|
844
|
+
|
845
|
+
api.add_operation(:update_resource, Seahorse::Model::Operation.new.tap do |o|
|
846
|
+
o.name = "UpdateResource"
|
847
|
+
o.http_method = "POST"
|
848
|
+
o.http_request_uri = "/"
|
849
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateResourceRequest)
|
850
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateResourceResponse)
|
851
|
+
o.errors << Shapes::ShapeRef.new(shape: DirectoryUnavailableException)
|
852
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
|
853
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityStateException)
|
854
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidConfigurationException)
|
855
|
+
o.errors << Shapes::ShapeRef.new(shape: EmailAddressInUseException)
|
856
|
+
o.errors << Shapes::ShapeRef.new(shape: MailDomainNotFoundException)
|
857
|
+
o.errors << Shapes::ShapeRef.new(shape: MailDomainStateException)
|
858
|
+
o.errors << Shapes::ShapeRef.new(shape: NameAvailabilityException)
|
859
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
|
860
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
861
|
+
end)
|
862
|
+
end
|
863
|
+
|
864
|
+
end
|
865
|
+
end
|