aws-sdk-workmail 1.76.0 → 1.78.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -27,7 +27,7 @@ The endpoint provider used to resolve endpoints. Any object that responds to
27
27
  class Handler < Seahorse::Client::Handler
28
28
  def call(context)
29
29
  unless context[:discovered_endpoint]
30
- params = parameters_for_operation(context)
30
+ params = Aws::WorkMail::Endpoints.parameters_for_operation(context)
31
31
  endpoint = context.config.endpoint_provider.resolve_endpoint(params)
32
32
 
33
33
  context.http_request.endpoint = endpoint.url
@@ -67,179 +67,6 @@ The endpoint provider used to resolve endpoints. Any object that responds to
67
67
  context.http_request.headers[key] = value
68
68
  end
69
69
  end
70
-
71
- def parameters_for_operation(context)
72
- case context.operation_name
73
- when :associate_delegate_to_resource
74
- Aws::WorkMail::Endpoints::AssociateDelegateToResource.build(context)
75
- when :associate_member_to_group
76
- Aws::WorkMail::Endpoints::AssociateMemberToGroup.build(context)
77
- when :assume_impersonation_role
78
- Aws::WorkMail::Endpoints::AssumeImpersonationRole.build(context)
79
- when :cancel_mailbox_export_job
80
- Aws::WorkMail::Endpoints::CancelMailboxExportJob.build(context)
81
- when :create_alias
82
- Aws::WorkMail::Endpoints::CreateAlias.build(context)
83
- when :create_availability_configuration
84
- Aws::WorkMail::Endpoints::CreateAvailabilityConfiguration.build(context)
85
- when :create_group
86
- Aws::WorkMail::Endpoints::CreateGroup.build(context)
87
- when :create_impersonation_role
88
- Aws::WorkMail::Endpoints::CreateImpersonationRole.build(context)
89
- when :create_mobile_device_access_rule
90
- Aws::WorkMail::Endpoints::CreateMobileDeviceAccessRule.build(context)
91
- when :create_organization
92
- Aws::WorkMail::Endpoints::CreateOrganization.build(context)
93
- when :create_resource
94
- Aws::WorkMail::Endpoints::CreateResource.build(context)
95
- when :create_user
96
- Aws::WorkMail::Endpoints::CreateUser.build(context)
97
- when :delete_access_control_rule
98
- Aws::WorkMail::Endpoints::DeleteAccessControlRule.build(context)
99
- when :delete_alias
100
- Aws::WorkMail::Endpoints::DeleteAlias.build(context)
101
- when :delete_availability_configuration
102
- Aws::WorkMail::Endpoints::DeleteAvailabilityConfiguration.build(context)
103
- when :delete_email_monitoring_configuration
104
- Aws::WorkMail::Endpoints::DeleteEmailMonitoringConfiguration.build(context)
105
- when :delete_group
106
- Aws::WorkMail::Endpoints::DeleteGroup.build(context)
107
- when :delete_impersonation_role
108
- Aws::WorkMail::Endpoints::DeleteImpersonationRole.build(context)
109
- when :delete_mailbox_permissions
110
- Aws::WorkMail::Endpoints::DeleteMailboxPermissions.build(context)
111
- when :delete_mobile_device_access_override
112
- Aws::WorkMail::Endpoints::DeleteMobileDeviceAccessOverride.build(context)
113
- when :delete_mobile_device_access_rule
114
- Aws::WorkMail::Endpoints::DeleteMobileDeviceAccessRule.build(context)
115
- when :delete_organization
116
- Aws::WorkMail::Endpoints::DeleteOrganization.build(context)
117
- when :delete_resource
118
- Aws::WorkMail::Endpoints::DeleteResource.build(context)
119
- when :delete_retention_policy
120
- Aws::WorkMail::Endpoints::DeleteRetentionPolicy.build(context)
121
- when :delete_user
122
- Aws::WorkMail::Endpoints::DeleteUser.build(context)
123
- when :deregister_from_work_mail
124
- Aws::WorkMail::Endpoints::DeregisterFromWorkMail.build(context)
125
- when :deregister_mail_domain
126
- Aws::WorkMail::Endpoints::DeregisterMailDomain.build(context)
127
- when :describe_email_monitoring_configuration
128
- Aws::WorkMail::Endpoints::DescribeEmailMonitoringConfiguration.build(context)
129
- when :describe_entity
130
- Aws::WorkMail::Endpoints::DescribeEntity.build(context)
131
- when :describe_group
132
- Aws::WorkMail::Endpoints::DescribeGroup.build(context)
133
- when :describe_inbound_dmarc_settings
134
- Aws::WorkMail::Endpoints::DescribeInboundDmarcSettings.build(context)
135
- when :describe_mailbox_export_job
136
- Aws::WorkMail::Endpoints::DescribeMailboxExportJob.build(context)
137
- when :describe_organization
138
- Aws::WorkMail::Endpoints::DescribeOrganization.build(context)
139
- when :describe_resource
140
- Aws::WorkMail::Endpoints::DescribeResource.build(context)
141
- when :describe_user
142
- Aws::WorkMail::Endpoints::DescribeUser.build(context)
143
- when :disassociate_delegate_from_resource
144
- Aws::WorkMail::Endpoints::DisassociateDelegateFromResource.build(context)
145
- when :disassociate_member_from_group
146
- Aws::WorkMail::Endpoints::DisassociateMemberFromGroup.build(context)
147
- when :get_access_control_effect
148
- Aws::WorkMail::Endpoints::GetAccessControlEffect.build(context)
149
- when :get_default_retention_policy
150
- Aws::WorkMail::Endpoints::GetDefaultRetentionPolicy.build(context)
151
- when :get_impersonation_role
152
- Aws::WorkMail::Endpoints::GetImpersonationRole.build(context)
153
- when :get_impersonation_role_effect
154
- Aws::WorkMail::Endpoints::GetImpersonationRoleEffect.build(context)
155
- when :get_mail_domain
156
- Aws::WorkMail::Endpoints::GetMailDomain.build(context)
157
- when :get_mailbox_details
158
- Aws::WorkMail::Endpoints::GetMailboxDetails.build(context)
159
- when :get_mobile_device_access_effect
160
- Aws::WorkMail::Endpoints::GetMobileDeviceAccessEffect.build(context)
161
- when :get_mobile_device_access_override
162
- Aws::WorkMail::Endpoints::GetMobileDeviceAccessOverride.build(context)
163
- when :list_access_control_rules
164
- Aws::WorkMail::Endpoints::ListAccessControlRules.build(context)
165
- when :list_aliases
166
- Aws::WorkMail::Endpoints::ListAliases.build(context)
167
- when :list_availability_configurations
168
- Aws::WorkMail::Endpoints::ListAvailabilityConfigurations.build(context)
169
- when :list_group_members
170
- Aws::WorkMail::Endpoints::ListGroupMembers.build(context)
171
- when :list_groups
172
- Aws::WorkMail::Endpoints::ListGroups.build(context)
173
- when :list_groups_for_entity
174
- Aws::WorkMail::Endpoints::ListGroupsForEntity.build(context)
175
- when :list_impersonation_roles
176
- Aws::WorkMail::Endpoints::ListImpersonationRoles.build(context)
177
- when :list_mail_domains
178
- Aws::WorkMail::Endpoints::ListMailDomains.build(context)
179
- when :list_mailbox_export_jobs
180
- Aws::WorkMail::Endpoints::ListMailboxExportJobs.build(context)
181
- when :list_mailbox_permissions
182
- Aws::WorkMail::Endpoints::ListMailboxPermissions.build(context)
183
- when :list_mobile_device_access_overrides
184
- Aws::WorkMail::Endpoints::ListMobileDeviceAccessOverrides.build(context)
185
- when :list_mobile_device_access_rules
186
- Aws::WorkMail::Endpoints::ListMobileDeviceAccessRules.build(context)
187
- when :list_organizations
188
- Aws::WorkMail::Endpoints::ListOrganizations.build(context)
189
- when :list_resource_delegates
190
- Aws::WorkMail::Endpoints::ListResourceDelegates.build(context)
191
- when :list_resources
192
- Aws::WorkMail::Endpoints::ListResources.build(context)
193
- when :list_tags_for_resource
194
- Aws::WorkMail::Endpoints::ListTagsForResource.build(context)
195
- when :list_users
196
- Aws::WorkMail::Endpoints::ListUsers.build(context)
197
- when :put_access_control_rule
198
- Aws::WorkMail::Endpoints::PutAccessControlRule.build(context)
199
- when :put_email_monitoring_configuration
200
- Aws::WorkMail::Endpoints::PutEmailMonitoringConfiguration.build(context)
201
- when :put_inbound_dmarc_settings
202
- Aws::WorkMail::Endpoints::PutInboundDmarcSettings.build(context)
203
- when :put_mailbox_permissions
204
- Aws::WorkMail::Endpoints::PutMailboxPermissions.build(context)
205
- when :put_mobile_device_access_override
206
- Aws::WorkMail::Endpoints::PutMobileDeviceAccessOverride.build(context)
207
- when :put_retention_policy
208
- Aws::WorkMail::Endpoints::PutRetentionPolicy.build(context)
209
- when :register_mail_domain
210
- Aws::WorkMail::Endpoints::RegisterMailDomain.build(context)
211
- when :register_to_work_mail
212
- Aws::WorkMail::Endpoints::RegisterToWorkMail.build(context)
213
- when :reset_password
214
- Aws::WorkMail::Endpoints::ResetPassword.build(context)
215
- when :start_mailbox_export_job
216
- Aws::WorkMail::Endpoints::StartMailboxExportJob.build(context)
217
- when :tag_resource
218
- Aws::WorkMail::Endpoints::TagResource.build(context)
219
- when :test_availability_configuration
220
- Aws::WorkMail::Endpoints::TestAvailabilityConfiguration.build(context)
221
- when :untag_resource
222
- Aws::WorkMail::Endpoints::UntagResource.build(context)
223
- when :update_availability_configuration
224
- Aws::WorkMail::Endpoints::UpdateAvailabilityConfiguration.build(context)
225
- when :update_default_mail_domain
226
- Aws::WorkMail::Endpoints::UpdateDefaultMailDomain.build(context)
227
- when :update_group
228
- Aws::WorkMail::Endpoints::UpdateGroup.build(context)
229
- when :update_impersonation_role
230
- Aws::WorkMail::Endpoints::UpdateImpersonationRole.build(context)
231
- when :update_mailbox_quota
232
- Aws::WorkMail::Endpoints::UpdateMailboxQuota.build(context)
233
- when :update_mobile_device_access_rule
234
- Aws::WorkMail::Endpoints::UpdateMobileDeviceAccessRule.build(context)
235
- when :update_primary_email_address
236
- Aws::WorkMail::Endpoints::UpdatePrimaryEmailAddress.build(context)
237
- when :update_resource
238
- Aws::WorkMail::Endpoints::UpdateResource.build(context)
239
- when :update_user
240
- Aws::WorkMail::Endpoints::UpdateUser.build(context)
241
- end
242
- end
243
70
  end
244
71
 
245
72
  def add_handlers(handlers, _config)