cdk-docker-image-deployment 0.0.31 → 0.0.33

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.
Files changed (36) hide show
  1. package/.jsii +3 -3
  2. package/lib/destination.js +1 -1
  3. package/lib/docker-image-deployment.js +1 -1
  4. package/lib/source.js +1 -1
  5. package/node_modules/aws-sdk/CHANGELOG.md +13 -1
  6. package/node_modules/aws-sdk/README.md +1 -1
  7. package/node_modules/aws-sdk/apis/connectcases-2022-10-03.examples.json +5 -0
  8. package/node_modules/aws-sdk/apis/connectcases-2022-10-03.min.json +1536 -0
  9. package/node_modules/aws-sdk/apis/connectcases-2022-10-03.paginators.json +50 -0
  10. package/node_modules/aws-sdk/apis/ec2-2016-11-15.min.json +7 -0
  11. package/node_modules/aws-sdk/apis/glue-2017-03-31.min.json +359 -293
  12. package/node_modules/aws-sdk/apis/metadata.json +3 -0
  13. package/node_modules/aws-sdk/apis/network-firewall-2020-11-12.min.json +39 -38
  14. package/node_modules/aws-sdk/apis/outposts-2019-12-03.min.json +8 -1
  15. package/node_modules/aws-sdk/apis/workmail-2017-10-01.min.json +309 -72
  16. package/node_modules/aws-sdk/apis/workmail-2017-10-01.paginators.json +5 -0
  17. package/node_modules/aws-sdk/clients/all.d.ts +1 -0
  18. package/node_modules/aws-sdk/clients/all.js +2 -1
  19. package/node_modules/aws-sdk/clients/connect.d.ts +1 -1
  20. package/node_modules/aws-sdk/clients/connectcases.d.ts +1466 -0
  21. package/node_modules/aws-sdk/clients/connectcases.js +18 -0
  22. package/node_modules/aws-sdk/clients/ec2.d.ts +9 -1
  23. package/node_modules/aws-sdk/clients/ecs.d.ts +4 -4
  24. package/node_modules/aws-sdk/clients/glue.d.ts +154 -0
  25. package/node_modules/aws-sdk/clients/networkfirewall.d.ts +5 -0
  26. package/node_modules/aws-sdk/clients/outposts.d.ts +89 -78
  27. package/node_modules/aws-sdk/clients/s3control.d.ts +2 -2
  28. package/node_modules/aws-sdk/clients/workmail.d.ts +436 -103
  29. package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +2 -2
  30. package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +47 -10
  31. package/node_modules/aws-sdk/dist/aws-sdk.js +13 -3
  32. package/node_modules/aws-sdk/dist/aws-sdk.min.js +62 -62
  33. package/node_modules/aws-sdk/lib/config_service_placeholders.d.ts +2 -0
  34. package/node_modules/aws-sdk/lib/core.js +1 -1
  35. package/node_modules/aws-sdk/package.json +1 -1
  36. package/package.json +4 -4
@@ -27,6 +27,14 @@ declare class WorkMail extends Service {
27
27
  * Adds a member (user or group) to the group's set.
28
28
  */
29
29
  associateMemberToGroup(callback?: (err: AWSError, data: WorkMail.Types.AssociateMemberToGroupResponse) => void): Request<WorkMail.Types.AssociateMemberToGroupResponse, AWSError>;
30
+ /**
31
+ * Assumes an impersonation role for the given WorkMail organization. This method returns an authentication token you can use to make impersonated calls.
32
+ */
33
+ assumeImpersonationRole(params: WorkMail.Types.AssumeImpersonationRoleRequest, callback?: (err: AWSError, data: WorkMail.Types.AssumeImpersonationRoleResponse) => void): Request<WorkMail.Types.AssumeImpersonationRoleResponse, AWSError>;
34
+ /**
35
+ * Assumes an impersonation role for the given WorkMail organization. This method returns an authentication token you can use to make impersonated calls.
36
+ */
37
+ assumeImpersonationRole(callback?: (err: AWSError, data: WorkMail.Types.AssumeImpersonationRoleResponse) => void): Request<WorkMail.Types.AssumeImpersonationRoleResponse, AWSError>;
30
38
  /**
31
39
  * Cancels a mailbox export job. If the mailbox export job is near completion, it might not be possible to cancel it.
32
40
  */
@@ -36,11 +44,11 @@ declare class WorkMail extends Service {
36
44
  */
37
45
  cancelMailboxExportJob(callback?: (err: AWSError, data: WorkMail.Types.CancelMailboxExportJobResponse) => void): Request<WorkMail.Types.CancelMailboxExportJobResponse, AWSError>;
38
46
  /**
39
- * Adds an alias to the set of a given member (user or group) of Amazon WorkMail.
47
+ * Adds an alias to the set of a given member (user or group) of WorkMail.
40
48
  */
41
49
  createAlias(params: WorkMail.Types.CreateAliasRequest, callback?: (err: AWSError, data: WorkMail.Types.CreateAliasResponse) => void): Request<WorkMail.Types.CreateAliasResponse, AWSError>;
42
50
  /**
43
- * Adds an alias to the set of a given member (user or group) of Amazon WorkMail.
51
+ * Adds an alias to the set of a given member (user or group) of WorkMail.
44
52
  */
45
53
  createAlias(callback?: (err: AWSError, data: WorkMail.Types.CreateAliasResponse) => void): Request<WorkMail.Types.CreateAliasResponse, AWSError>;
46
54
  /**
@@ -52,43 +60,51 @@ declare class WorkMail extends Service {
52
60
  */
53
61
  createAvailabilityConfiguration(callback?: (err: AWSError, data: WorkMail.Types.CreateAvailabilityConfigurationResponse) => void): Request<WorkMail.Types.CreateAvailabilityConfigurationResponse, AWSError>;
54
62
  /**
55
- * Creates a group that can be used in Amazon WorkMail by calling the RegisterToWorkMail operation.
63
+ * Creates a group that can be used in WorkMail by calling the RegisterToWorkMail operation.
56
64
  */
57
65
  createGroup(params: WorkMail.Types.CreateGroupRequest, callback?: (err: AWSError, data: WorkMail.Types.CreateGroupResponse) => void): Request<WorkMail.Types.CreateGroupResponse, AWSError>;
58
66
  /**
59
- * Creates a group that can be used in Amazon WorkMail by calling the RegisterToWorkMail operation.
67
+ * Creates a group that can be used in WorkMail by calling the RegisterToWorkMail operation.
60
68
  */
61
69
  createGroup(callback?: (err: AWSError, data: WorkMail.Types.CreateGroupResponse) => void): Request<WorkMail.Types.CreateGroupResponse, AWSError>;
62
70
  /**
63
- * Creates a new mobile device access rule for the specified Amazon WorkMail organization.
71
+ * Creates an impersonation role for the given WorkMail organization. Idempotency ensures that an API request completes no more than one time. With an idempotent request, if the original request completes successfully, any subsequent retries also complete successfully without performing any further actions.
72
+ */
73
+ createImpersonationRole(params: WorkMail.Types.CreateImpersonationRoleRequest, callback?: (err: AWSError, data: WorkMail.Types.CreateImpersonationRoleResponse) => void): Request<WorkMail.Types.CreateImpersonationRoleResponse, AWSError>;
74
+ /**
75
+ * Creates an impersonation role for the given WorkMail organization. Idempotency ensures that an API request completes no more than one time. With an idempotent request, if the original request completes successfully, any subsequent retries also complete successfully without performing any further actions.
76
+ */
77
+ createImpersonationRole(callback?: (err: AWSError, data: WorkMail.Types.CreateImpersonationRoleResponse) => void): Request<WorkMail.Types.CreateImpersonationRoleResponse, AWSError>;
78
+ /**
79
+ * Creates a new mobile device access rule for the specified WorkMail organization.
64
80
  */
65
81
  createMobileDeviceAccessRule(params: WorkMail.Types.CreateMobileDeviceAccessRuleRequest, callback?: (err: AWSError, data: WorkMail.Types.CreateMobileDeviceAccessRuleResponse) => void): Request<WorkMail.Types.CreateMobileDeviceAccessRuleResponse, AWSError>;
66
82
  /**
67
- * Creates a new mobile device access rule for the specified Amazon WorkMail organization.
83
+ * Creates a new mobile device access rule for the specified WorkMail organization.
68
84
  */
69
85
  createMobileDeviceAccessRule(callback?: (err: AWSError, data: WorkMail.Types.CreateMobileDeviceAccessRuleResponse) => void): Request<WorkMail.Types.CreateMobileDeviceAccessRuleResponse, AWSError>;
70
86
  /**
71
- * Creates a new Amazon WorkMail organization. Optionally, you can choose to associate an existing AWS Directory Service directory with your organization. If an AWS Directory Service directory ID is specified, the organization alias must match the directory alias. If you choose not to associate an existing directory with your organization, then we create a new Amazon WorkMail directory for you. For more information, see Adding an organization in the Amazon WorkMail Administrator Guide. You can associate multiple email domains with an organization, then set your default email domain from the Amazon WorkMail console. You can also associate a domain that is managed in an Amazon Route 53 public hosted zone. For more information, see Adding a domain and Choosing the default domain in the Amazon WorkMail Administrator Guide. Optionally, you can use a customer managed master key from AWS Key Management Service (AWS KMS) to encrypt email for your organization. If you don't associate an AWS KMS key, Amazon WorkMail creates a default AWS managed master key for you.
87
+ * Creates a new WorkMail organization. Optionally, you can choose to associate an existing AWS Directory Service directory with your organization. If an AWS Directory Service directory ID is specified, the organization alias must match the directory alias. If you choose not to associate an existing directory with your organization, then we create a new WorkMail directory for you. For more information, see Adding an organization in the WorkMail Administrator Guide. You can associate multiple email domains with an organization, then choose your default email domain from the WorkMail console. You can also associate a domain that is managed in an Amazon Route 53 public hosted zone. For more information, see Adding a domain and Choosing the default domain in the WorkMail Administrator Guide. Optionally, you can use a customer managed key from AWS Key Management Service (AWS KMS) to encrypt email for your organization. If you don't associate an AWS KMS key, WorkMail creates a default, AWS managed key for you.
72
88
  */
73
89
  createOrganization(params: WorkMail.Types.CreateOrganizationRequest, callback?: (err: AWSError, data: WorkMail.Types.CreateOrganizationResponse) => void): Request<WorkMail.Types.CreateOrganizationResponse, AWSError>;
74
90
  /**
75
- * Creates a new Amazon WorkMail organization. Optionally, you can choose to associate an existing AWS Directory Service directory with your organization. If an AWS Directory Service directory ID is specified, the organization alias must match the directory alias. If you choose not to associate an existing directory with your organization, then we create a new Amazon WorkMail directory for you. For more information, see Adding an organization in the Amazon WorkMail Administrator Guide. You can associate multiple email domains with an organization, then set your default email domain from the Amazon WorkMail console. You can also associate a domain that is managed in an Amazon Route 53 public hosted zone. For more information, see Adding a domain and Choosing the default domain in the Amazon WorkMail Administrator Guide. Optionally, you can use a customer managed master key from AWS Key Management Service (AWS KMS) to encrypt email for your organization. If you don't associate an AWS KMS key, Amazon WorkMail creates a default AWS managed master key for you.
91
+ * Creates a new WorkMail organization. Optionally, you can choose to associate an existing AWS Directory Service directory with your organization. If an AWS Directory Service directory ID is specified, the organization alias must match the directory alias. If you choose not to associate an existing directory with your organization, then we create a new WorkMail directory for you. For more information, see Adding an organization in the WorkMail Administrator Guide. You can associate multiple email domains with an organization, then choose your default email domain from the WorkMail console. You can also associate a domain that is managed in an Amazon Route 53 public hosted zone. For more information, see Adding a domain and Choosing the default domain in the WorkMail Administrator Guide. Optionally, you can use a customer managed key from AWS Key Management Service (AWS KMS) to encrypt email for your organization. If you don't associate an AWS KMS key, WorkMail creates a default, AWS managed key for you.
76
92
  */
77
93
  createOrganization(callback?: (err: AWSError, data: WorkMail.Types.CreateOrganizationResponse) => void): Request<WorkMail.Types.CreateOrganizationResponse, AWSError>;
78
94
  /**
79
- * Creates a new Amazon WorkMail resource.
95
+ * Creates a new WorkMail resource.
80
96
  */
81
97
  createResource(params: WorkMail.Types.CreateResourceRequest, callback?: (err: AWSError, data: WorkMail.Types.CreateResourceResponse) => void): Request<WorkMail.Types.CreateResourceResponse, AWSError>;
82
98
  /**
83
- * Creates a new Amazon WorkMail resource.
99
+ * Creates a new WorkMail resource.
84
100
  */
85
101
  createResource(callback?: (err: AWSError, data: WorkMail.Types.CreateResourceResponse) => void): Request<WorkMail.Types.CreateResourceResponse, AWSError>;
86
102
  /**
87
- * Creates a user who can be used in Amazon WorkMail by calling the RegisterToWorkMail operation.
103
+ * Creates a user who can be used in WorkMail by calling the RegisterToWorkMail operation.
88
104
  */
89
105
  createUser(params: WorkMail.Types.CreateUserRequest, callback?: (err: AWSError, data: WorkMail.Types.CreateUserResponse) => void): Request<WorkMail.Types.CreateUserResponse, AWSError>;
90
106
  /**
91
- * Creates a user who can be used in Amazon WorkMail by calling the RegisterToWorkMail operation.
107
+ * Creates a user who can be used in WorkMail by calling the RegisterToWorkMail operation.
92
108
  */
93
109
  createUser(callback?: (err: AWSError, data: WorkMail.Types.CreateUserResponse) => void): Request<WorkMail.Types.CreateUserResponse, AWSError>;
94
110
  /**
@@ -124,13 +140,21 @@ declare class WorkMail extends Service {
124
140
  */
125
141
  deleteEmailMonitoringConfiguration(callback?: (err: AWSError, data: WorkMail.Types.DeleteEmailMonitoringConfigurationResponse) => void): Request<WorkMail.Types.DeleteEmailMonitoringConfigurationResponse, AWSError>;
126
142
  /**
127
- * Deletes a group from Amazon WorkMail.
143
+ * Deletes a group from WorkMail.
128
144
  */
129
145
  deleteGroup(params: WorkMail.Types.DeleteGroupRequest, callback?: (err: AWSError, data: WorkMail.Types.DeleteGroupResponse) => void): Request<WorkMail.Types.DeleteGroupResponse, AWSError>;
130
146
  /**
131
- * Deletes a group from Amazon WorkMail.
147
+ * Deletes a group from WorkMail.
132
148
  */
133
149
  deleteGroup(callback?: (err: AWSError, data: WorkMail.Types.DeleteGroupResponse) => void): Request<WorkMail.Types.DeleteGroupResponse, AWSError>;
150
+ /**
151
+ * Deletes an impersonation role for the given WorkMail organization.
152
+ */
153
+ deleteImpersonationRole(params: WorkMail.Types.DeleteImpersonationRoleRequest, callback?: (err: AWSError, data: WorkMail.Types.DeleteImpersonationRoleResponse) => void): Request<WorkMail.Types.DeleteImpersonationRoleResponse, AWSError>;
154
+ /**
155
+ * Deletes an impersonation role for the given WorkMail organization.
156
+ */
157
+ deleteImpersonationRole(callback?: (err: AWSError, data: WorkMail.Types.DeleteImpersonationRoleResponse) => void): Request<WorkMail.Types.DeleteImpersonationRoleResponse, AWSError>;
134
158
  /**
135
159
  * Deletes permissions granted to a member (user or group).
136
160
  */
@@ -148,27 +172,27 @@ declare class WorkMail extends Service {
148
172
  */
149
173
  deleteMobileDeviceAccessOverride(callback?: (err: AWSError, data: WorkMail.Types.DeleteMobileDeviceAccessOverrideResponse) => void): Request<WorkMail.Types.DeleteMobileDeviceAccessOverrideResponse, AWSError>;
150
174
  /**
151
- * Deletes a mobile device access rule for the specified Amazon WorkMail organization. Deleting already deleted and non-existing rules does not produce an error. In those cases, the service sends back an HTTP 200 response with an empty HTTP body.
175
+ * Deletes a mobile device access rule for the specified WorkMail organization. Deleting already deleted and non-existing rules does not produce an error. In those cases, the service sends back an HTTP 200 response with an empty HTTP body.
152
176
  */
153
177
  deleteMobileDeviceAccessRule(params: WorkMail.Types.DeleteMobileDeviceAccessRuleRequest, callback?: (err: AWSError, data: WorkMail.Types.DeleteMobileDeviceAccessRuleResponse) => void): Request<WorkMail.Types.DeleteMobileDeviceAccessRuleResponse, AWSError>;
154
178
  /**
155
- * Deletes a mobile device access rule for the specified Amazon WorkMail organization. Deleting already deleted and non-existing rules does not produce an error. In those cases, the service sends back an HTTP 200 response with an empty HTTP body.
179
+ * Deletes a mobile device access rule for the specified WorkMail organization. Deleting already deleted and non-existing rules does not produce an error. In those cases, the service sends back an HTTP 200 response with an empty HTTP body.
156
180
  */
157
181
  deleteMobileDeviceAccessRule(callback?: (err: AWSError, data: WorkMail.Types.DeleteMobileDeviceAccessRuleResponse) => void): Request<WorkMail.Types.DeleteMobileDeviceAccessRuleResponse, AWSError>;
158
182
  /**
159
- * Deletes an Amazon WorkMail organization and all underlying AWS resources managed by Amazon WorkMail as part of the organization. You can choose whether to delete the associated directory. For more information, see Removing an organization in the Amazon WorkMail Administrator Guide.
183
+ * Deletes an WorkMail organization and all underlying AWS resources managed by WorkMail as part of the organization. You can choose whether to delete the associated directory. For more information, see Removing an organization in the WorkMail Administrator Guide.
160
184
  */
161
185
  deleteOrganization(params: WorkMail.Types.DeleteOrganizationRequest, callback?: (err: AWSError, data: WorkMail.Types.DeleteOrganizationResponse) => void): Request<WorkMail.Types.DeleteOrganizationResponse, AWSError>;
162
186
  /**
163
- * Deletes an Amazon WorkMail organization and all underlying AWS resources managed by Amazon WorkMail as part of the organization. You can choose whether to delete the associated directory. For more information, see Removing an organization in the Amazon WorkMail Administrator Guide.
187
+ * Deletes an WorkMail organization and all underlying AWS resources managed by WorkMail as part of the organization. You can choose whether to delete the associated directory. For more information, see Removing an organization in the WorkMail Administrator Guide.
164
188
  */
165
189
  deleteOrganization(callback?: (err: AWSError, data: WorkMail.Types.DeleteOrganizationResponse) => void): Request<WorkMail.Types.DeleteOrganizationResponse, AWSError>;
166
190
  /**
167
- * Deletes the specified resource.
191
+ * Deletes the specified resource.
168
192
  */
169
193
  deleteResource(params: WorkMail.Types.DeleteResourceRequest, callback?: (err: AWSError, data: WorkMail.Types.DeleteResourceResponse) => void): Request<WorkMail.Types.DeleteResourceResponse, AWSError>;
170
194
  /**
171
- * Deletes the specified resource.
195
+ * Deletes the specified resource.
172
196
  */
173
197
  deleteResource(callback?: (err: AWSError, data: WorkMail.Types.DeleteResourceResponse) => void): Request<WorkMail.Types.DeleteResourceResponse, AWSError>;
174
198
  /**
@@ -180,27 +204,27 @@ declare class WorkMail extends Service {
180
204
  */
181
205
  deleteRetentionPolicy(callback?: (err: AWSError, data: WorkMail.Types.DeleteRetentionPolicyResponse) => void): Request<WorkMail.Types.DeleteRetentionPolicyResponse, AWSError>;
182
206
  /**
183
- * Deletes a user from Amazon WorkMail and all subsequent systems. Before you can delete a user, the user state must be DISABLED. Use the DescribeUser action to confirm the user state. Deleting a user is permanent and cannot be undone. WorkMail archives user mailboxes for 30 days before they are permanently removed.
207
+ * Deletes a user from WorkMail and all subsequent systems. Before you can delete a user, the user state must be DISABLED. Use the DescribeUser action to confirm the user state. Deleting a user is permanent and cannot be undone. WorkMail archives user mailboxes for 30 days before they are permanently removed.
184
208
  */
185
209
  deleteUser(params: WorkMail.Types.DeleteUserRequest, callback?: (err: AWSError, data: WorkMail.Types.DeleteUserResponse) => void): Request<WorkMail.Types.DeleteUserResponse, AWSError>;
186
210
  /**
187
- * Deletes a user from Amazon WorkMail and all subsequent systems. Before you can delete a user, the user state must be DISABLED. Use the DescribeUser action to confirm the user state. Deleting a user is permanent and cannot be undone. WorkMail archives user mailboxes for 30 days before they are permanently removed.
211
+ * Deletes a user from WorkMail and all subsequent systems. Before you can delete a user, the user state must be DISABLED. Use the DescribeUser action to confirm the user state. Deleting a user is permanent and cannot be undone. WorkMail archives user mailboxes for 30 days before they are permanently removed.
188
212
  */
189
213
  deleteUser(callback?: (err: AWSError, data: WorkMail.Types.DeleteUserResponse) => void): Request<WorkMail.Types.DeleteUserResponse, AWSError>;
190
214
  /**
191
- * Mark a user, group, or resource as no longer used in Amazon WorkMail. This action disassociates the mailbox and schedules it for clean-up. WorkMail keeps mailboxes for 30 days before they are permanently removed. The functionality in the console is Disable.
215
+ * Mark a user, group, or resource as no longer used in WorkMail. This action disassociates the mailbox and schedules it for clean-up. WorkMail keeps mailboxes for 30 days before they are permanently removed. The functionality in the console is Disable.
192
216
  */
193
217
  deregisterFromWorkMail(params: WorkMail.Types.DeregisterFromWorkMailRequest, callback?: (err: AWSError, data: WorkMail.Types.DeregisterFromWorkMailResponse) => void): Request<WorkMail.Types.DeregisterFromWorkMailResponse, AWSError>;
194
218
  /**
195
- * Mark a user, group, or resource as no longer used in Amazon WorkMail. This action disassociates the mailbox and schedules it for clean-up. WorkMail keeps mailboxes for 30 days before they are permanently removed. The functionality in the console is Disable.
219
+ * Mark a user, group, or resource as no longer used in WorkMail. This action disassociates the mailbox and schedules it for clean-up. WorkMail keeps mailboxes for 30 days before they are permanently removed. The functionality in the console is Disable.
196
220
  */
197
221
  deregisterFromWorkMail(callback?: (err: AWSError, data: WorkMail.Types.DeregisterFromWorkMailResponse) => void): Request<WorkMail.Types.DeregisterFromWorkMailResponse, AWSError>;
198
222
  /**
199
- * Removes a domain from Amazon WorkMail, stops email routing to WorkMail, and removes the authorization allowing WorkMail use. SES keeps the domain because other applications may use it. You must first remove any email address used by WorkMail entities before you remove the domain.
223
+ * Removes a domain from WorkMail, stops email routing to WorkMail, and removes the authorization allowing WorkMail use. SES keeps the domain because other applications may use it. You must first remove any email address used by WorkMail entities before you remove the domain.
200
224
  */
201
225
  deregisterMailDomain(params: WorkMail.Types.DeregisterMailDomainRequest, callback?: (err: AWSError, data: WorkMail.Types.DeregisterMailDomainResponse) => void): Request<WorkMail.Types.DeregisterMailDomainResponse, AWSError>;
202
226
  /**
203
- * Removes a domain from Amazon WorkMail, stops email routing to WorkMail, and removes the authorization allowing WorkMail use. SES keeps the domain because other applications may use it. You must first remove any email address used by WorkMail entities before you remove the domain.
227
+ * Removes a domain from WorkMail, stops email routing to WorkMail, and removes the authorization allowing WorkMail use. SES keeps the domain because other applications may use it. You must first remove any email address used by WorkMail entities before you remove the domain.
204
228
  */
205
229
  deregisterMailDomain(callback?: (err: AWSError, data: WorkMail.Types.DeregisterMailDomainResponse) => void): Request<WorkMail.Types.DeregisterMailDomainResponse, AWSError>;
206
230
  /**
@@ -276,11 +300,11 @@ declare class WorkMail extends Service {
276
300
  */
277
301
  disassociateMemberFromGroup(callback?: (err: AWSError, data: WorkMail.Types.DisassociateMemberFromGroupResponse) => void): Request<WorkMail.Types.DisassociateMemberFromGroupResponse, AWSError>;
278
302
  /**
279
- * Gets the effects of an organization's access control rules as they apply to a specified IPv4 address, access protocol action, or user ID.
303
+ * Gets the effects of an organization's access control rules as they apply to a specified IPv4 address, access protocol action, and user ID or impersonation role ID. You must provide either the user ID or impersonation role ID. Impersonation role ID can only be used with Action EWS.
280
304
  */
281
305
  getAccessControlEffect(params: WorkMail.Types.GetAccessControlEffectRequest, callback?: (err: AWSError, data: WorkMail.Types.GetAccessControlEffectResponse) => void): Request<WorkMail.Types.GetAccessControlEffectResponse, AWSError>;
282
306
  /**
283
- * Gets the effects of an organization's access control rules as they apply to a specified IPv4 address, access protocol action, or user ID.
307
+ * Gets the effects of an organization's access control rules as they apply to a specified IPv4 address, access protocol action, and user ID or impersonation role ID. You must provide either the user ID or impersonation role ID. Impersonation role ID can only be used with Action EWS.
284
308
  */
285
309
  getAccessControlEffect(callback?: (err: AWSError, data: WorkMail.Types.GetAccessControlEffectResponse) => void): Request<WorkMail.Types.GetAccessControlEffectResponse, AWSError>;
286
310
  /**
@@ -291,6 +315,22 @@ declare class WorkMail extends Service {
291
315
  * Gets the default retention policy details for the specified organization.
292
316
  */
293
317
  getDefaultRetentionPolicy(callback?: (err: AWSError, data: WorkMail.Types.GetDefaultRetentionPolicyResponse) => void): Request<WorkMail.Types.GetDefaultRetentionPolicyResponse, AWSError>;
318
+ /**
319
+ * Gets the impersonation role details for the given WorkMail organization.
320
+ */
321
+ getImpersonationRole(params: WorkMail.Types.GetImpersonationRoleRequest, callback?: (err: AWSError, data: WorkMail.Types.GetImpersonationRoleResponse) => void): Request<WorkMail.Types.GetImpersonationRoleResponse, AWSError>;
322
+ /**
323
+ * Gets the impersonation role details for the given WorkMail organization.
324
+ */
325
+ getImpersonationRole(callback?: (err: AWSError, data: WorkMail.Types.GetImpersonationRoleResponse) => void): Request<WorkMail.Types.GetImpersonationRoleResponse, AWSError>;
326
+ /**
327
+ * Tests whether the given impersonation role can impersonate a target user.
328
+ */
329
+ getImpersonationRoleEffect(params: WorkMail.Types.GetImpersonationRoleEffectRequest, callback?: (err: AWSError, data: WorkMail.Types.GetImpersonationRoleEffectResponse) => void): Request<WorkMail.Types.GetImpersonationRoleEffectResponse, AWSError>;
330
+ /**
331
+ * Tests whether the given impersonation role can impersonate a target user.
332
+ */
333
+ getImpersonationRoleEffect(callback?: (err: AWSError, data: WorkMail.Types.GetImpersonationRoleEffectResponse) => void): Request<WorkMail.Types.GetImpersonationRoleEffectResponse, AWSError>;
294
334
  /**
295
335
  * Gets details for a mail domain, including domain records required to configure your domain with recommended security.
296
336
  */
@@ -308,11 +348,11 @@ declare class WorkMail extends Service {
308
348
  */
309
349
  getMailboxDetails(callback?: (err: AWSError, data: WorkMail.Types.GetMailboxDetailsResponse) => void): Request<WorkMail.Types.GetMailboxDetailsResponse, AWSError>;
310
350
  /**
311
- * Simulates the effect of the mobile device access rules for the given attributes of a sample access event. Use this method to test the effects of the current set of mobile device access rules for the Amazon WorkMail organization for a particular user's attributes.
351
+ * Simulates the effect of the mobile device access rules for the given attributes of a sample access event. Use this method to test the effects of the current set of mobile device access rules for the WorkMail organization for a particular user's attributes.
312
352
  */
313
353
  getMobileDeviceAccessEffect(params: WorkMail.Types.GetMobileDeviceAccessEffectRequest, callback?: (err: AWSError, data: WorkMail.Types.GetMobileDeviceAccessEffectResponse) => void): Request<WorkMail.Types.GetMobileDeviceAccessEffectResponse, AWSError>;
314
354
  /**
315
- * Simulates the effect of the mobile device access rules for the given attributes of a sample access event. Use this method to test the effects of the current set of mobile device access rules for the Amazon WorkMail organization for a particular user's attributes.
355
+ * Simulates the effect of the mobile device access rules for the given attributes of a sample access event. Use this method to test the effects of the current set of mobile device access rules for the WorkMail organization for a particular user's attributes.
316
356
  */
317
357
  getMobileDeviceAccessEffect(callback?: (err: AWSError, data: WorkMail.Types.GetMobileDeviceAccessEffectResponse) => void): Request<WorkMail.Types.GetMobileDeviceAccessEffectResponse, AWSError>;
318
358
  /**
@@ -364,11 +404,19 @@ declare class WorkMail extends Service {
364
404
  */
365
405
  listGroups(callback?: (err: AWSError, data: WorkMail.Types.ListGroupsResponse) => void): Request<WorkMail.Types.ListGroupsResponse, AWSError>;
366
406
  /**
367
- * Lists the mail domains in a given Amazon WorkMail organization.
407
+ * Lists all the impersonation roles for the given WorkMail organization.
408
+ */
409
+ listImpersonationRoles(params: WorkMail.Types.ListImpersonationRolesRequest, callback?: (err: AWSError, data: WorkMail.Types.ListImpersonationRolesResponse) => void): Request<WorkMail.Types.ListImpersonationRolesResponse, AWSError>;
410
+ /**
411
+ * Lists all the impersonation roles for the given WorkMail organization.
412
+ */
413
+ listImpersonationRoles(callback?: (err: AWSError, data: WorkMail.Types.ListImpersonationRolesResponse) => void): Request<WorkMail.Types.ListImpersonationRolesResponse, AWSError>;
414
+ /**
415
+ * Lists the mail domains in a given WorkMail organization.
368
416
  */
369
417
  listMailDomains(params: WorkMail.Types.ListMailDomainsRequest, callback?: (err: AWSError, data: WorkMail.Types.ListMailDomainsResponse) => void): Request<WorkMail.Types.ListMailDomainsResponse, AWSError>;
370
418
  /**
371
- * Lists the mail domains in a given Amazon WorkMail organization.
419
+ * Lists the mail domains in a given WorkMail organization.
372
420
  */
373
421
  listMailDomains(callback?: (err: AWSError, data: WorkMail.Types.ListMailDomainsResponse) => void): Request<WorkMail.Types.ListMailDomainsResponse, AWSError>;
374
422
  /**
@@ -396,11 +444,11 @@ declare class WorkMail extends Service {
396
444
  */
397
445
  listMobileDeviceAccessOverrides(callback?: (err: AWSError, data: WorkMail.Types.ListMobileDeviceAccessOverridesResponse) => void): Request<WorkMail.Types.ListMobileDeviceAccessOverridesResponse, AWSError>;
398
446
  /**
399
- * Lists the mobile device access rules for the specified Amazon WorkMail organization.
447
+ * Lists the mobile device access rules for the specified WorkMail organization.
400
448
  */
401
449
  listMobileDeviceAccessRules(params: WorkMail.Types.ListMobileDeviceAccessRulesRequest, callback?: (err: AWSError, data: WorkMail.Types.ListMobileDeviceAccessRulesResponse) => void): Request<WorkMail.Types.ListMobileDeviceAccessRulesResponse, AWSError>;
402
450
  /**
403
- * Lists the mobile device access rules for the specified Amazon WorkMail organization.
451
+ * Lists the mobile device access rules for the specified WorkMail organization.
404
452
  */
405
453
  listMobileDeviceAccessRules(callback?: (err: AWSError, data: WorkMail.Types.ListMobileDeviceAccessRulesResponse) => void): Request<WorkMail.Types.ListMobileDeviceAccessRulesResponse, AWSError>;
406
454
  /**
@@ -428,11 +476,11 @@ declare class WorkMail extends Service {
428
476
  */
429
477
  listResources(callback?: (err: AWSError, data: WorkMail.Types.ListResourcesResponse) => void): Request<WorkMail.Types.ListResourcesResponse, AWSError>;
430
478
  /**
431
- * Lists the tags applied to an Amazon WorkMail organization resource.
479
+ * Lists the tags applied to an WorkMail organization resource.
432
480
  */
433
481
  listTagsForResource(params: WorkMail.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: WorkMail.Types.ListTagsForResourceResponse) => void): Request<WorkMail.Types.ListTagsForResourceResponse, AWSError>;
434
482
  /**
435
- * Lists the tags applied to an Amazon WorkMail organization resource.
483
+ * Lists the tags applied to an WorkMail organization resource.
436
484
  */
437
485
  listTagsForResource(callback?: (err: AWSError, data: WorkMail.Types.ListTagsForResourceResponse) => void): Request<WorkMail.Types.ListTagsForResourceResponse, AWSError>;
438
486
  /**
@@ -444,11 +492,11 @@ declare class WorkMail extends Service {
444
492
  */
445
493
  listUsers(callback?: (err: AWSError, data: WorkMail.Types.ListUsersResponse) => void): Request<WorkMail.Types.ListUsersResponse, AWSError>;
446
494
  /**
447
- * Adds a new access control rule for the specified organization. The rule allows or denies access to the organization for the specified IPv4 addresses, access protocol actions, and user IDs. Adding a new rule with the same name as an existing rule replaces the older rule.
495
+ * Adds a new access control rule for the specified organization. The rule allows or denies access to the organization for the specified IPv4 addresses, access protocol actions, user IDs and impersonation IDs. Adding a new rule with the same name as an existing rule replaces the older rule.
448
496
  */
449
497
  putAccessControlRule(params: WorkMail.Types.PutAccessControlRuleRequest, callback?: (err: AWSError, data: WorkMail.Types.PutAccessControlRuleResponse) => void): Request<WorkMail.Types.PutAccessControlRuleResponse, AWSError>;
450
498
  /**
451
- * Adds a new access control rule for the specified organization. The rule allows or denies access to the organization for the specified IPv4 addresses, access protocol actions, and user IDs. Adding a new rule with the same name as an existing rule replaces the older rule.
499
+ * Adds a new access control rule for the specified organization. The rule allows or denies access to the organization for the specified IPv4 addresses, access protocol actions, user IDs and impersonation IDs. Adding a new rule with the same name as an existing rule replaces the older rule.
452
500
  */
453
501
  putAccessControlRule(callback?: (err: AWSError, data: WorkMail.Types.PutAccessControlRuleResponse) => void): Request<WorkMail.Types.PutAccessControlRuleResponse, AWSError>;
454
502
  /**
@@ -492,19 +540,19 @@ declare class WorkMail extends Service {
492
540
  */
493
541
  putRetentionPolicy(callback?: (err: AWSError, data: WorkMail.Types.PutRetentionPolicyResponse) => void): Request<WorkMail.Types.PutRetentionPolicyResponse, AWSError>;
494
542
  /**
495
- * Registers a new domain in Amazon WorkMail and SES, and configures it for use by WorkMail. Emails received by SES for this domain are routed to the specified WorkMail organization, and WorkMail has permanent permission to use the specified domain for sending your users' emails.
543
+ * Registers a new domain in WorkMail and SES, and configures it for use by WorkMail. Emails received by SES for this domain are routed to the specified WorkMail organization, and WorkMail has permanent permission to use the specified domain for sending your users' emails.
496
544
  */
497
545
  registerMailDomain(params: WorkMail.Types.RegisterMailDomainRequest, callback?: (err: AWSError, data: WorkMail.Types.RegisterMailDomainResponse) => void): Request<WorkMail.Types.RegisterMailDomainResponse, AWSError>;
498
546
  /**
499
- * Registers a new domain in Amazon WorkMail and SES, and configures it for use by WorkMail. Emails received by SES for this domain are routed to the specified WorkMail organization, and WorkMail has permanent permission to use the specified domain for sending your users' emails.
547
+ * Registers a new domain in WorkMail and SES, and configures it for use by WorkMail. Emails received by SES for this domain are routed to the specified WorkMail organization, and WorkMail has permanent permission to use the specified domain for sending your users' emails.
500
548
  */
501
549
  registerMailDomain(callback?: (err: AWSError, data: WorkMail.Types.RegisterMailDomainResponse) => void): Request<WorkMail.Types.RegisterMailDomainResponse, AWSError>;
502
550
  /**
503
- * Registers an existing and disabled user, group, or resource for Amazon WorkMail use by associating a mailbox and calendaring capabilities. It performs no change if the user, group, or resource is enabled and fails if the user, group, or resource is deleted. This operation results in the accumulation of costs. For more information, see Pricing. The equivalent console functionality for this operation is Enable. Users can either be created by calling the CreateUser API operation or they can be synchronized from your directory. For more information, see DeregisterFromWorkMail.
551
+ * Registers an existing and disabled user, group, or resource for WorkMail use by associating a mailbox and calendaring capabilities. It performs no change if the user, group, or resource is enabled and fails if the user, group, or resource is deleted. This operation results in the accumulation of costs. For more information, see Pricing. The equivalent console functionality for this operation is Enable. Users can either be created by calling the CreateUser API operation or they can be synchronized from your directory. For more information, see DeregisterFromWorkMail.
504
552
  */
505
553
  registerToWorkMail(params: WorkMail.Types.RegisterToWorkMailRequest, callback?: (err: AWSError, data: WorkMail.Types.RegisterToWorkMailResponse) => void): Request<WorkMail.Types.RegisterToWorkMailResponse, AWSError>;
506
554
  /**
507
- * Registers an existing and disabled user, group, or resource for Amazon WorkMail use by associating a mailbox and calendaring capabilities. It performs no change if the user, group, or resource is enabled and fails if the user, group, or resource is deleted. This operation results in the accumulation of costs. For more information, see Pricing. The equivalent console functionality for this operation is Enable. Users can either be created by calling the CreateUser API operation or they can be synchronized from your directory. For more information, see DeregisterFromWorkMail.
555
+ * Registers an existing and disabled user, group, or resource for WorkMail use by associating a mailbox and calendaring capabilities. It performs no change if the user, group, or resource is enabled and fails if the user, group, or resource is deleted. This operation results in the accumulation of costs. For more information, see Pricing. The equivalent console functionality for this operation is Enable. Users can either be created by calling the CreateUser API operation or they can be synchronized from your directory. For more information, see DeregisterFromWorkMail.
508
556
  */
509
557
  registerToWorkMail(callback?: (err: AWSError, data: WorkMail.Types.RegisterToWorkMailResponse) => void): Request<WorkMail.Types.RegisterToWorkMailResponse, AWSError>;
510
558
  /**
@@ -516,35 +564,35 @@ declare class WorkMail extends Service {
516
564
  */
517
565
  resetPassword(callback?: (err: AWSError, data: WorkMail.Types.ResetPasswordResponse) => void): Request<WorkMail.Types.ResetPasswordResponse, AWSError>;
518
566
  /**
519
- * Starts a mailbox export job to export MIME-format email messages and calendar items from the specified mailbox to the specified Amazon Simple Storage Service (Amazon S3) bucket. For more information, see Exporting mailbox content in the Amazon WorkMail Administrator Guide.
567
+ * Starts a mailbox export job to export MIME-format email messages and calendar items from the specified mailbox to the specified Amazon Simple Storage Service (Amazon S3) bucket. For more information, see Exporting mailbox content in the WorkMail Administrator Guide.
520
568
  */
521
569
  startMailboxExportJob(params: WorkMail.Types.StartMailboxExportJobRequest, callback?: (err: AWSError, data: WorkMail.Types.StartMailboxExportJobResponse) => void): Request<WorkMail.Types.StartMailboxExportJobResponse, AWSError>;
522
570
  /**
523
- * Starts a mailbox export job to export MIME-format email messages and calendar items from the specified mailbox to the specified Amazon Simple Storage Service (Amazon S3) bucket. For more information, see Exporting mailbox content in the Amazon WorkMail Administrator Guide.
571
+ * Starts a mailbox export job to export MIME-format email messages and calendar items from the specified mailbox to the specified Amazon Simple Storage Service (Amazon S3) bucket. For more information, see Exporting mailbox content in the WorkMail Administrator Guide.
524
572
  */
525
573
  startMailboxExportJob(callback?: (err: AWSError, data: WorkMail.Types.StartMailboxExportJobResponse) => void): Request<WorkMail.Types.StartMailboxExportJobResponse, AWSError>;
526
574
  /**
527
- * Applies the specified tags to the specified Amazon WorkMail organization resource.
575
+ * Applies the specified tags to the specified WorkMailorganization resource.
528
576
  */
529
577
  tagResource(params: WorkMail.Types.TagResourceRequest, callback?: (err: AWSError, data: WorkMail.Types.TagResourceResponse) => void): Request<WorkMail.Types.TagResourceResponse, AWSError>;
530
578
  /**
531
- * Applies the specified tags to the specified Amazon WorkMail organization resource.
579
+ * Applies the specified tags to the specified WorkMailorganization resource.
532
580
  */
533
581
  tagResource(callback?: (err: AWSError, data: WorkMail.Types.TagResourceResponse) => void): Request<WorkMail.Types.TagResourceResponse, AWSError>;
534
582
  /**
535
- * Performs a test on an availability provider to ensure that access is allowed. For EWS, it verifies the provided credentials can be used to successfully log in. For Lambda, it verifies that the Lambda function can be invoked and that the resource access policy was configured to deny anonymous access. An anonymous invocation is one done without providing either a SourceArn or SourceAccount header. The request must contain either one provider definition (EwsProvider or LambdaProvider) or the DomainName parameter. If the DomainName parameter is provided, the configuration stored under the DomainName will be tested.
583
+ * Performs a test on an availability provider to ensure that access is allowed. For EWS, it verifies the provided credentials can be used to successfully log in. For Lambda, it verifies that the Lambda function can be invoked and that the resource access policy was configured to deny anonymous access. An anonymous invocation is one done without providing either a SourceArn or SourceAccount header. The request must contain either one provider definition (EwsProvider or LambdaProvider) or the DomainName parameter. If the DomainName parameter is provided, the configuration stored under the DomainName will be tested.
536
584
  */
537
585
  testAvailabilityConfiguration(params: WorkMail.Types.TestAvailabilityConfigurationRequest, callback?: (err: AWSError, data: WorkMail.Types.TestAvailabilityConfigurationResponse) => void): Request<WorkMail.Types.TestAvailabilityConfigurationResponse, AWSError>;
538
586
  /**
539
- * Performs a test on an availability provider to ensure that access is allowed. For EWS, it verifies the provided credentials can be used to successfully log in. For Lambda, it verifies that the Lambda function can be invoked and that the resource access policy was configured to deny anonymous access. An anonymous invocation is one done without providing either a SourceArn or SourceAccount header. The request must contain either one provider definition (EwsProvider or LambdaProvider) or the DomainName parameter. If the DomainName parameter is provided, the configuration stored under the DomainName will be tested.
587
+ * Performs a test on an availability provider to ensure that access is allowed. For EWS, it verifies the provided credentials can be used to successfully log in. For Lambda, it verifies that the Lambda function can be invoked and that the resource access policy was configured to deny anonymous access. An anonymous invocation is one done without providing either a SourceArn or SourceAccount header. The request must contain either one provider definition (EwsProvider or LambdaProvider) or the DomainName parameter. If the DomainName parameter is provided, the configuration stored under the DomainName will be tested.
540
588
  */
541
589
  testAvailabilityConfiguration(callback?: (err: AWSError, data: WorkMail.Types.TestAvailabilityConfigurationResponse) => void): Request<WorkMail.Types.TestAvailabilityConfigurationResponse, AWSError>;
542
590
  /**
543
- * Untags the specified tags from the specified Amazon WorkMail organization resource.
591
+ * Untags the specified tags from the specified WorkMail organization resource.
544
592
  */
545
593
  untagResource(params: WorkMail.Types.UntagResourceRequest, callback?: (err: AWSError, data: WorkMail.Types.UntagResourceResponse) => void): Request<WorkMail.Types.UntagResourceResponse, AWSError>;
546
594
  /**
547
- * Untags the specified tags from the specified Amazon WorkMail organization resource.
595
+ * Untags the specified tags from the specified WorkMail organization resource.
548
596
  */
549
597
  untagResource(callback?: (err: AWSError, data: WorkMail.Types.UntagResourceResponse) => void): Request<WorkMail.Types.UntagResourceResponse, AWSError>;
550
598
  /**
@@ -563,6 +611,14 @@ declare class WorkMail extends Service {
563
611
  * Updates the default mail domain for an organization. The default mail domain is used by the WorkMail AWS Console to suggest an email address when enabling a mail user. You can only have one default domain.
564
612
  */
565
613
  updateDefaultMailDomain(callback?: (err: AWSError, data: WorkMail.Types.UpdateDefaultMailDomainResponse) => void): Request<WorkMail.Types.UpdateDefaultMailDomainResponse, AWSError>;
614
+ /**
615
+ * Updates an impersonation role for the given WorkMail organization.
616
+ */
617
+ updateImpersonationRole(params: WorkMail.Types.UpdateImpersonationRoleRequest, callback?: (err: AWSError, data: WorkMail.Types.UpdateImpersonationRoleResponse) => void): Request<WorkMail.Types.UpdateImpersonationRoleResponse, AWSError>;
618
+ /**
619
+ * Updates an impersonation role for the given WorkMail organization.
620
+ */
621
+ updateImpersonationRole(callback?: (err: AWSError, data: WorkMail.Types.UpdateImpersonationRoleResponse) => void): Request<WorkMail.Types.UpdateImpersonationRoleResponse, AWSError>;
566
622
  /**
567
623
  * Updates a user's current mailbox quota for a specified organization and user.
568
624
  */
@@ -572,11 +628,11 @@ declare class WorkMail extends Service {
572
628
  */
573
629
  updateMailboxQuota(callback?: (err: AWSError, data: WorkMail.Types.UpdateMailboxQuotaResponse) => void): Request<WorkMail.Types.UpdateMailboxQuotaResponse, AWSError>;
574
630
  /**
575
- * Updates a mobile device access rule for the specified Amazon WorkMail organization.
631
+ * Updates a mobile device access rule for the specified WorkMail organization.
576
632
  */
577
633
  updateMobileDeviceAccessRule(params: WorkMail.Types.UpdateMobileDeviceAccessRuleRequest, callback?: (err: AWSError, data: WorkMail.Types.UpdateMobileDeviceAccessRuleResponse) => void): Request<WorkMail.Types.UpdateMobileDeviceAccessRuleResponse, AWSError>;
578
634
  /**
579
- * Updates a mobile device access rule for the specified Amazon WorkMail organization.
635
+ * Updates a mobile device access rule for the specified WorkMail organization.
580
636
  */
581
637
  updateMobileDeviceAccessRule(callback?: (err: AWSError, data: WorkMail.Types.UpdateMobileDeviceAccessRuleResponse) => void): Request<WorkMail.Types.UpdateMobileDeviceAccessRuleResponse, AWSError>;
582
638
  /**
@@ -642,6 +698,14 @@ declare namespace WorkMail {
642
698
  * The date that the rule was modified.
643
699
  */
644
700
  DateModified?: Timestamp;
701
+ /**
702
+ * Impersonation role IDs to include in the rule.
703
+ */
704
+ ImpersonationRoleIds?: ImpersonationRoleIdList;
705
+ /**
706
+ * Impersonation role IDs to exclude from the rule.
707
+ */
708
+ NotImpersonationRoleIds?: ImpersonationRoleIdList;
645
709
  }
646
710
  export type AccessControlRuleAction = string;
647
711
  export type AccessControlRuleDescription = string;
@@ -649,6 +713,7 @@ declare namespace WorkMail {
649
713
  export type AccessControlRuleName = string;
650
714
  export type AccessControlRuleNameList = AccessControlRuleName[];
651
715
  export type AccessControlRulesList = AccessControlRule[];
716
+ export type AccessEffect = "ALLOW"|"DENY"|string;
652
717
  export type ActionsList = AccessControlRuleAction[];
653
718
  export type Aliases = EmailAddress[];
654
719
  export type AmazonResourceName = string;
@@ -684,6 +749,26 @@ declare namespace WorkMail {
684
749
  }
685
750
  export interface AssociateMemberToGroupResponse {
686
751
  }
752
+ export interface AssumeImpersonationRoleRequest {
753
+ /**
754
+ * The WorkMail organization under which the impersonation role will be assumed.
755
+ */
756
+ OrganizationId: OrganizationId;
757
+ /**
758
+ * The impersonation role ID to assume.
759
+ */
760
+ ImpersonationRoleId: ImpersonationRoleId;
761
+ }
762
+ export interface AssumeImpersonationRoleResponse {
763
+ /**
764
+ * The authentication token for the impersonation role.
765
+ */
766
+ Token?: ImpersonationToken;
767
+ /**
768
+ * The authentication token's validity, in seconds.
769
+ */
770
+ ExpiresIn?: ExpiresIn;
771
+ }
687
772
  export interface AvailabilityConfiguration {
688
773
  /**
689
774
  * Displays the domain to which the provider applies.
@@ -694,7 +779,7 @@ declare namespace WorkMail {
694
779
  */
695
780
  ProviderType?: AvailabilityProviderType;
696
781
  /**
697
- * If ProviderType is EWS, then this field contains RedactedEwsAvailabilityProvider. Otherwise, it is not requried.
782
+ * If ProviderType is EWS, then this field contains RedactedEwsAvailabilityProvider. Otherwise, it is not required.
698
783
  */
699
784
  EwsProvider?: RedactedEwsAvailabilityProvider;
700
785
  /**
@@ -766,7 +851,7 @@ declare namespace WorkMail {
766
851
  */
767
852
  ClientToken?: IdempotencyClientToken;
768
853
  /**
769
- * The Amazon WorkMail organization for which the AvailabilityConfiguration will be created.
854
+ * The WorkMail organization for which the AvailabilityConfiguration will be created.
770
855
  */
771
856
  OrganizationId: OrganizationId;
772
857
  /**
@@ -800,9 +885,41 @@ declare namespace WorkMail {
800
885
  */
801
886
  GroupId?: WorkMailIdentifier;
802
887
  }
888
+ export interface CreateImpersonationRoleRequest {
889
+ /**
890
+ * The idempotency token for the client request.
891
+ */
892
+ ClientToken?: IdempotencyClientToken;
893
+ /**
894
+ * The WorkMail organization to create the new impersonation role within.
895
+ */
896
+ OrganizationId: OrganizationId;
897
+ /**
898
+ * The name of the new impersonation role.
899
+ */
900
+ Name: ImpersonationRoleName;
901
+ /**
902
+ * The impersonation role's type. The available impersonation role types are READ_ONLY or FULL_ACCESS.
903
+ */
904
+ Type: ImpersonationRoleType;
905
+ /**
906
+ * The description of the new impersonation role.
907
+ */
908
+ Description?: ImpersonationRoleDescription;
909
+ /**
910
+ * The list of rules for the impersonation role.
911
+ */
912
+ Rules: ImpersonationRuleList;
913
+ }
914
+ export interface CreateImpersonationRoleResponse {
915
+ /**
916
+ * The new impersonation role ID.
917
+ */
918
+ ImpersonationRoleId?: ImpersonationRoleId;
919
+ }
803
920
  export interface CreateMobileDeviceAccessRuleRequest {
804
921
  /**
805
- * The Amazon WorkMail organization under which the rule will be created.
922
+ * The WorkMail organization under which the rule will be created.
806
923
  */
807
924
  OrganizationId: OrganizationId;
808
925
  /**
@@ -878,11 +995,11 @@ declare namespace WorkMail {
878
995
  */
879
996
  Domains?: Domains;
880
997
  /**
881
- * The Amazon Resource Name (ARN) of a customer managed master key from AWS KMS.
998
+ * The Amazon Resource Name (ARN) of a customer managed key from AWS KMS.
882
999
  */
883
1000
  KmsKeyArn?: KmsKeyArn;
884
1001
  /**
885
- * When true, allows organization interoperability between Amazon WorkMail and Microsoft Exchange. Can only be set to true if an AD Connector directory ID is included in the request.
1002
+ * When true, allows organization interoperability between WorkMail and Microsoft Exchange. If true, you must include a AD Connector directory ID in the request.
886
1003
  */
887
1004
  EnableInteroperability?: Boolean;
888
1005
  }
@@ -976,7 +1093,7 @@ declare namespace WorkMail {
976
1093
  }
977
1094
  export interface DeleteAvailabilityConfigurationRequest {
978
1095
  /**
979
- * The Amazon WorkMail organization for which the AvailabilityConfiguration will be deleted.
1096
+ * The WorkMail organization for which the AvailabilityConfiguration will be deleted.
980
1097
  */
981
1098
  OrganizationId: OrganizationId;
982
1099
  /**
@@ -1006,6 +1123,18 @@ declare namespace WorkMail {
1006
1123
  }
1007
1124
  export interface DeleteGroupResponse {
1008
1125
  }
1126
+ export interface DeleteImpersonationRoleRequest {
1127
+ /**
1128
+ * The WorkMail organization from which to delete the impersonation role.
1129
+ */
1130
+ OrganizationId: OrganizationId;
1131
+ /**
1132
+ * The ID of the impersonation role to delete.
1133
+ */
1134
+ ImpersonationRoleId: ImpersonationRoleId;
1135
+ }
1136
+ export interface DeleteImpersonationRoleResponse {
1137
+ }
1009
1138
  export interface DeleteMailboxPermissionsRequest {
1010
1139
  /**
1011
1140
  * The identifier of the organization under which the member (user or group) exists.
@@ -1024,7 +1153,7 @@ declare namespace WorkMail {
1024
1153
  }
1025
1154
  export interface DeleteMobileDeviceAccessOverrideRequest {
1026
1155
  /**
1027
- * The Amazon WorkMail organization for which the access override will be deleted.
1156
+ * The WorkMail organization for which the access override will be deleted.
1028
1157
  */
1029
1158
  OrganizationId: OrganizationId;
1030
1159
  /**
@@ -1040,7 +1169,7 @@ declare namespace WorkMail {
1040
1169
  }
1041
1170
  export interface DeleteMobileDeviceAccessRuleRequest {
1042
1171
  /**
1043
- * The Amazon WorkMail organization under which the rule will be deleted.
1172
+ * The WorkMail organization under which the rule will be deleted.
1044
1173
  */
1045
1174
  OrganizationId: OrganizationId;
1046
1175
  /**
@@ -1112,7 +1241,7 @@ declare namespace WorkMail {
1112
1241
  }
1113
1242
  export interface DeregisterFromWorkMailRequest {
1114
1243
  /**
1115
- * The identifier for the organization under which the Amazon WorkMail entity exists.
1244
+ * The identifier for the organization under which the WorkMail entity exists.
1116
1245
  */
1117
1246
  OrganizationId: OrganizationId;
1118
1247
  /**
@@ -1124,11 +1253,11 @@ declare namespace WorkMail {
1124
1253
  }
1125
1254
  export interface DeregisterMailDomainRequest {
1126
1255
  /**
1127
- * The Amazon WorkMail organization for which the domain will be deregistered.
1256
+ * The WorkMail organization for which the domain will be deregistered.
1128
1257
  */
1129
1258
  OrganizationId: OrganizationId;
1130
1259
  /**
1131
- * The domain to deregister in WorkMail and SES.
1260
+ * The domain to deregister in WorkMail and SES.
1132
1261
  */
1133
1262
  DomainName: WorkMailDomainName;
1134
1263
  }
@@ -1174,7 +1303,7 @@ declare namespace WorkMail {
1174
1303
  */
1175
1304
  Email?: EmailAddress;
1176
1305
  /**
1177
- * The state of the user: enabled (registered to Amazon WorkMail) or disabled (deregistered or never registered to WorkMail).
1306
+ * The state of the user: enabled (registered to WorkMail) or disabled (deregistered or never registered to WorkMail).
1178
1307
  */
1179
1308
  State?: EntityState;
1180
1309
  /**
@@ -1278,7 +1407,7 @@ declare namespace WorkMail {
1278
1407
  */
1279
1408
  State?: String;
1280
1409
  /**
1281
- * The identifier for the directory associated with an Amazon WorkMail organization.
1410
+ * The identifier for the directory associated with an WorkMail organization.
1282
1411
  */
1283
1412
  DirectoryId?: String;
1284
1413
  /**
@@ -1334,7 +1463,7 @@ declare namespace WorkMail {
1334
1463
  */
1335
1464
  BookingOptions?: BookingOptions;
1336
1465
  /**
1337
- * The state of the resource: enabled (registered to Amazon WorkMail), disabled (deregistered or never registered to WorkMail), or deleted.
1466
+ * The state of the resource: enabled (registered to WorkMail), disabled (deregistered or never registered to WorkMail), or deleted.
1338
1467
  */
1339
1468
  State?: EntityState;
1340
1469
  /**
@@ -1374,19 +1503,19 @@ declare namespace WorkMail {
1374
1503
  */
1375
1504
  DisplayName?: String;
1376
1505
  /**
1377
- * The state of a user: enabled (registered to Amazon WorkMail) or disabled (deregistered or never registered to WorkMail).
1506
+ * The state of a user: enabled (registered to WorkMail) or disabled (deregistered or never registered to WorkMail).
1378
1507
  */
1379
1508
  State?: EntityState;
1380
1509
  /**
1381
- * In certain cases, other entities are modeled as users. If interoperability is enabled, resources are imported into Amazon WorkMail as users. Because different WorkMail organizations rely on different directory types, administrators can distinguish between an unregistered user (account is disabled and has a user role) and the directory administrators. The values are USER, RESOURCE, and SYSTEM_USER.
1510
+ * In certain cases, other entities are modeled as users. If interoperability is enabled, resources are imported into WorkMail as users. Because different WorkMail organizations rely on different directory types, administrators can distinguish between an unregistered user (account is disabled and has a user role) and the directory administrators. The values are USER, RESOURCE, and SYSTEM_USER.
1382
1511
  */
1383
1512
  UserRole?: UserRole;
1384
1513
  /**
1385
- * The date and time at which the user was enabled for Amazon WorkMail usage, in UNIX epoch time format.
1514
+ * The date and time at which the user was enabled for WorkMailusage, in UNIX epoch time format.
1386
1515
  */
1387
1516
  EnabledDate?: Timestamp;
1388
1517
  /**
1389
- * The date and time at which the user was disabled for Amazon WorkMail usage, in UNIX epoch time format.
1518
+ * The date and time at which the user was disabled for WorkMail usage, in UNIX epoch time format.
1390
1519
  */
1391
1520
  DisabledDate?: Timestamp;
1392
1521
  }
@@ -1478,6 +1607,7 @@ declare namespace WorkMail {
1478
1607
  */
1479
1608
  EwsPassword: Password;
1480
1609
  }
1610
+ export type ExpiresIn = number;
1481
1611
  export type ExternalUserName = string;
1482
1612
  export interface FolderConfiguration {
1483
1613
  /**
@@ -1511,7 +1641,11 @@ declare namespace WorkMail {
1511
1641
  /**
1512
1642
  * The user ID.
1513
1643
  */
1514
- UserId: WorkMailIdentifier;
1644
+ UserId?: WorkMailIdentifier;
1645
+ /**
1646
+ * The impersonation role ID.
1647
+ */
1648
+ ImpersonationRoleId?: ImpersonationRoleId;
1515
1649
  }
1516
1650
  export interface GetAccessControlEffectResponse {
1517
1651
  /**
@@ -1547,9 +1681,77 @@ declare namespace WorkMail {
1547
1681
  */
1548
1682
  FolderConfigurations?: FolderConfigurations;
1549
1683
  }
1684
+ export interface GetImpersonationRoleEffectRequest {
1685
+ /**
1686
+ * The WorkMail organization where the impersonation role is defined.
1687
+ */
1688
+ OrganizationId: OrganizationId;
1689
+ /**
1690
+ * The impersonation role ID to test.
1691
+ */
1692
+ ImpersonationRoleId: ImpersonationRoleId;
1693
+ /**
1694
+ * The WorkMail organization user chosen to test the impersonation role. The following identity formats are available: User ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234 Email address: user@domain.tld User name: user
1695
+ */
1696
+ TargetUser: EntityIdentifier;
1697
+ }
1698
+ export interface GetImpersonationRoleEffectResponse {
1699
+ /**
1700
+ * The impersonation role type.
1701
+ */
1702
+ Type?: ImpersonationRoleType;
1703
+ /**
1704
+ * Effect of the impersonation role on the target user based on its rules. Available effects are ALLOW or DENY.
1705
+ */
1706
+ Effect?: AccessEffect;
1707
+ /**
1708
+ * A list of the rules that match the input and produce the configured effect.
1709
+ */
1710
+ MatchedRules?: ImpersonationMatchedRuleList;
1711
+ }
1712
+ export interface GetImpersonationRoleRequest {
1713
+ /**
1714
+ * The WorkMail organization from which to retrieve the impersonation role.
1715
+ */
1716
+ OrganizationId: OrganizationId;
1717
+ /**
1718
+ * The impersonation role ID to retrieve.
1719
+ */
1720
+ ImpersonationRoleId: ImpersonationRoleId;
1721
+ }
1722
+ export interface GetImpersonationRoleResponse {
1723
+ /**
1724
+ * The impersonation role ID.
1725
+ */
1726
+ ImpersonationRoleId?: ImpersonationRoleId;
1727
+ /**
1728
+ * The impersonation role name.
1729
+ */
1730
+ Name?: ImpersonationRoleName;
1731
+ /**
1732
+ * The impersonation role type.
1733
+ */
1734
+ Type?: ImpersonationRoleType;
1735
+ /**
1736
+ * The impersonation role description.
1737
+ */
1738
+ Description?: ImpersonationRoleDescription;
1739
+ /**
1740
+ * The list of rules for the given impersonation role.
1741
+ */
1742
+ Rules?: ImpersonationRuleList;
1743
+ /**
1744
+ * The date when the impersonation role was created.
1745
+ */
1746
+ DateCreated?: Timestamp;
1747
+ /**
1748
+ * The date when the impersonation role was last modified.
1749
+ */
1750
+ DateModified?: Timestamp;
1751
+ }
1550
1752
  export interface GetMailDomainRequest {
1551
1753
  /**
1552
- * The Amazon WorkMail organization for which the domain is retrieved.
1754
+ * The WorkMail organization for which the domain is retrieved.
1553
1755
  */
1554
1756
  OrganizationId: OrganizationId;
1555
1757
  /**
@@ -1559,7 +1761,7 @@ declare namespace WorkMail {
1559
1761
  }
1560
1762
  export interface GetMailDomainResponse {
1561
1763
  /**
1562
- * A list of the DNS records that Amazon WorkMail recommends adding in your DNS provider for the best user experience. The records configure your domain with DMARC, SPF, DKIM, and direct incoming email traffic to SES. See admin guide for more details.
1764
+ * A list of the DNS records that WorkMail recommends adding in your DNS provider for the best user experience. The records configure your domain with DMARC, SPF, DKIM, and direct incoming email traffic to SES. See admin guide for more details.
1563
1765
  */
1564
1766
  Records?: DnsRecords;
1565
1767
  /**
@@ -1601,7 +1803,7 @@ declare namespace WorkMail {
1601
1803
  }
1602
1804
  export interface GetMobileDeviceAccessEffectRequest {
1603
1805
  /**
1604
- * The Amazon WorkMail organization to simulate the access effect for.
1806
+ * The WorkMail organization to simulate the access effect for.
1605
1807
  */
1606
1808
  OrganizationId: OrganizationId;
1607
1809
  /**
@@ -1623,7 +1825,7 @@ declare namespace WorkMail {
1623
1825
  }
1624
1826
  export interface GetMobileDeviceAccessEffectResponse {
1625
1827
  /**
1626
- * The effect of the simulated access, ALLOW or DENY, after evaluating mobile device access rules in the Amazon WorkMail organization for the simulated user parameters.
1828
+ * The effect of the simulated access, ALLOW or DENY, after evaluating mobile device access rules in the WorkMail organization for the simulated user parameters.
1627
1829
  */
1628
1830
  Effect?: MobileDeviceAccessRuleEffect;
1629
1831
  /**
@@ -1633,7 +1835,7 @@ declare namespace WorkMail {
1633
1835
  }
1634
1836
  export interface GetMobileDeviceAccessOverrideRequest {
1635
1837
  /**
1636
- * The Amazon WorkMail organization to which you want to apply the override.
1838
+ * The WorkMail organization to which you want to apply the override.
1637
1839
  */
1638
1840
  OrganizationId: OrganizationId;
1639
1841
  /**
@@ -1689,11 +1891,11 @@ declare namespace WorkMail {
1689
1891
  */
1690
1892
  State?: EntityState;
1691
1893
  /**
1692
- * The date indicating when the group was enabled for Amazon WorkMail use.
1894
+ * The date indicating when the group was enabled for WorkMail use.
1693
1895
  */
1694
1896
  EnabledDate?: Timestamp;
1695
1897
  /**
1696
- * The date indicating when the group was disabled from Amazon WorkMail use.
1898
+ * The date indicating when the group was disabled from WorkMail use.
1697
1899
  */
1698
1900
  DisabledDate?: Timestamp;
1699
1901
  }
@@ -1701,6 +1903,76 @@ declare namespace WorkMail {
1701
1903
  export type Groups = Group[];
1702
1904
  export type HostedZoneId = string;
1703
1905
  export type IdempotencyClientToken = string;
1906
+ export interface ImpersonationMatchedRule {
1907
+ /**
1908
+ * The ID of the rule that matched the input
1909
+ */
1910
+ ImpersonationRuleId?: ImpersonationRuleId;
1911
+ /**
1912
+ * The name of the rule that matched the input.
1913
+ */
1914
+ Name?: ImpersonationRuleName;
1915
+ }
1916
+ export type ImpersonationMatchedRuleList = ImpersonationMatchedRule[];
1917
+ export interface ImpersonationRole {
1918
+ /**
1919
+ * The identifier of the impersonation role.
1920
+ */
1921
+ ImpersonationRoleId?: ImpersonationRoleId;
1922
+ /**
1923
+ * The impersonation role name.
1924
+ */
1925
+ Name?: ImpersonationRoleName;
1926
+ /**
1927
+ * The impersonation role type.
1928
+ */
1929
+ Type?: ImpersonationRoleType;
1930
+ /**
1931
+ * The date when the impersonation role was created.
1932
+ */
1933
+ DateCreated?: Timestamp;
1934
+ /**
1935
+ * The date when the impersonation role was last modified.
1936
+ */
1937
+ DateModified?: Timestamp;
1938
+ }
1939
+ export type ImpersonationRoleDescription = string;
1940
+ export type ImpersonationRoleId = string;
1941
+ export type ImpersonationRoleIdList = ImpersonationRoleId[];
1942
+ export type ImpersonationRoleList = ImpersonationRole[];
1943
+ export type ImpersonationRoleName = string;
1944
+ export type ImpersonationRoleType = "FULL_ACCESS"|"READ_ONLY"|string;
1945
+ export interface ImpersonationRule {
1946
+ /**
1947
+ * The identifier of the rule.
1948
+ */
1949
+ ImpersonationRuleId: ImpersonationRuleId;
1950
+ /**
1951
+ * The rule name.
1952
+ */
1953
+ Name?: ImpersonationRuleName;
1954
+ /**
1955
+ * The rule description.
1956
+ */
1957
+ Description?: ImpersonationRuleDescription;
1958
+ /**
1959
+ * The effect of the rule when it matches the input. Allowed effect values are ALLOW or DENY.
1960
+ */
1961
+ Effect: AccessEffect;
1962
+ /**
1963
+ * A list of user IDs that match the rule.
1964
+ */
1965
+ TargetUsers?: TargetUsers;
1966
+ /**
1967
+ * A list of user IDs that don't match the rule.
1968
+ */
1969
+ NotTargetUsers?: TargetUsers;
1970
+ }
1971
+ export type ImpersonationRuleDescription = string;
1972
+ export type ImpersonationRuleId = string;
1973
+ export type ImpersonationRuleList = ImpersonationRule[];
1974
+ export type ImpersonationRuleName = string;
1975
+ export type ImpersonationToken = string;
1704
1976
  export type IpAddress = string;
1705
1977
  export type IpRange = string;
1706
1978
  export type IpRangeList = IpRange[];
@@ -1755,7 +2027,7 @@ declare namespace WorkMail {
1755
2027
  }
1756
2028
  export interface ListAvailabilityConfigurationsRequest {
1757
2029
  /**
1758
- * The Amazon WorkMail organization for which the AvailabilityConfiguration's will be listed.
2030
+ * The WorkMail organization for which the AvailabilityConfiguration's will be listed.
1759
2031
  */
1760
2032
  OrganizationId: OrganizationId;
1761
2033
  /**
@@ -1769,7 +2041,7 @@ declare namespace WorkMail {
1769
2041
  }
1770
2042
  export interface ListAvailabilityConfigurationsResponse {
1771
2043
  /**
1772
- * The list of AvailabilityConfiguration's that exist for the specified Amazon WorkMail organization.
2044
+ * The list of AvailabilityConfiguration's that exist for the specified WorkMail organization.
1773
2045
  */
1774
2046
  AvailabilityConfigurations?: AvailabilityConfigurationList;
1775
2047
  /**
@@ -1829,9 +2101,33 @@ declare namespace WorkMail {
1829
2101
  */
1830
2102
  NextToken?: NextToken;
1831
2103
  }
2104
+ export interface ListImpersonationRolesRequest {
2105
+ /**
2106
+ * The WorkMail organization to which the listed impersonation roles belong.
2107
+ */
2108
+ OrganizationId: OrganizationId;
2109
+ /**
2110
+ * The token used to retrieve the next page of results. The first call doesn't require a token.
2111
+ */
2112
+ NextToken?: NextToken;
2113
+ /**
2114
+ * The maximum number of results returned in a single call.
2115
+ */
2116
+ MaxResults?: MaxResults;
2117
+ }
2118
+ export interface ListImpersonationRolesResponse {
2119
+ /**
2120
+ * The list of impersonation roles under the given WorkMail organization.
2121
+ */
2122
+ Roles?: ImpersonationRoleList;
2123
+ /**
2124
+ * The token to retrieve the next page of results. The value is null when there are no results to return.
2125
+ */
2126
+ NextToken?: NextToken;
2127
+ }
1832
2128
  export interface ListMailDomainsRequest {
1833
2129
  /**
1834
- * The Amazon WorkMail organization for which to list domains.
2130
+ * The WorkMail organization for which to list domains.
1835
2131
  */
1836
2132
  OrganizationId: OrganizationId;
1837
2133
  /**
@@ -1845,7 +2141,7 @@ declare namespace WorkMail {
1845
2141
  }
1846
2142
  export interface ListMailDomainsResponse {
1847
2143
  /**
1848
- * The list of mail domain summaries, specifying domains that exist in the specified Amazon WorkMail organization, along with the information about whether the domain is or isn't the default.
2144
+ * The list of mail domain summaries, specifying domains that exist in the specified WorkMail organization, along with the information about whether the domain is or isn't the default.
1849
2145
  */
1850
2146
  MailDomains?: MailDomains;
1851
2147
  /**
@@ -1907,7 +2203,7 @@ declare namespace WorkMail {
1907
2203
  }
1908
2204
  export interface ListMobileDeviceAccessOverridesRequest {
1909
2205
  /**
1910
- * The Amazon WorkMail organization under which to list mobile device access overrides.
2206
+ * The WorkMail organization under which to list mobile device access overrides.
1911
2207
  */
1912
2208
  OrganizationId: OrganizationId;
1913
2209
  /**
@@ -1929,7 +2225,7 @@ declare namespace WorkMail {
1929
2225
  }
1930
2226
  export interface ListMobileDeviceAccessOverridesResponse {
1931
2227
  /**
1932
- * The list of mobile device access overrides that exist for the specified Amazon WorkMail organization and user.
2228
+ * The list of mobile device access overrides that exist for the specified WorkMail organization and user.
1933
2229
  */
1934
2230
  Overrides?: MobileDeviceAccessOverridesList;
1935
2231
  /**
@@ -1939,13 +2235,13 @@ declare namespace WorkMail {
1939
2235
  }
1940
2236
  export interface ListMobileDeviceAccessRulesRequest {
1941
2237
  /**
1942
- * The Amazon WorkMail organization for which to list the rules.
2238
+ * The WorkMail organization for which to list the rules.
1943
2239
  */
1944
2240
  OrganizationId: OrganizationId;
1945
2241
  }
1946
2242
  export interface ListMobileDeviceAccessRulesResponse {
1947
2243
  /**
1948
- * The list of mobile device access rules that exist under the specified Amazon WorkMail organization.
2244
+ * The list of mobile device access rules that exist under the specified WorkMail organization.
1949
2245
  */
1950
2246
  Rules?: MobileDeviceAccessRulesList;
1951
2247
  }
@@ -1993,7 +2289,7 @@ declare namespace WorkMail {
1993
2289
  */
1994
2290
  Delegates?: ResourceDelegates;
1995
2291
  /**
1996
- * The token used to paginate through the delegates associated with a resource. While results are still available, it has an associated value. When the last page is reached, the token is empty.
2292
+ * The token used to paginate through the delegates associated with a resource. While results are still available, it has an associated value. When the last page is reached, the token is empty.
1997
2293
  */
1998
2294
  NextToken?: NextToken;
1999
2295
  }
@@ -2131,11 +2427,11 @@ declare namespace WorkMail {
2131
2427
  */
2132
2428
  State?: EntityState;
2133
2429
  /**
2134
- * The date indicating when the member was enabled for Amazon WorkMail use.
2430
+ * The date indicating when the member was enabled for WorkMail use.
2135
2431
  */
2136
2432
  EnabledDate?: Timestamp;
2137
2433
  /**
2138
- * The date indicating when the member was disabled from Amazon WorkMail use.
2434
+ * The date indicating when the member was disabled from WorkMail use.
2139
2435
  */
2140
2436
  DisabledDate?: Timestamp;
2141
2437
  }
@@ -2181,7 +2477,7 @@ declare namespace WorkMail {
2181
2477
  export type MobileDeviceAccessOverridesList = MobileDeviceAccessOverride[];
2182
2478
  export interface MobileDeviceAccessRule {
2183
2479
  /**
2184
- * The ID assigned to a mobile access rule.
2480
+ * The ID assigned to a mobile access rule.
2185
2481
  */
2186
2482
  MobileDeviceAccessRuleId?: MobileDeviceAccessRuleId;
2187
2483
  /**
@@ -2197,7 +2493,7 @@ declare namespace WorkMail {
2197
2493
  */
2198
2494
  Effect?: MobileDeviceAccessRuleEffect;
2199
2495
  /**
2200
- * Device types that a rule will match.
2496
+ * Device types that a rule will match.
2201
2497
  */
2202
2498
  DeviceTypes?: DeviceTypeList;
2203
2499
  /**
@@ -2329,6 +2625,14 @@ declare namespace WorkMail {
2329
2625
  * The identifier of the organization.
2330
2626
  */
2331
2627
  OrganizationId: OrganizationId;
2628
+ /**
2629
+ * Impersonation role IDs to include in the rule.
2630
+ */
2631
+ ImpersonationRoleIds?: ImpersonationRoleIdList;
2632
+ /**
2633
+ * Impersonation role IDs to exclude from the rule.
2634
+ */
2635
+ NotImpersonationRoleIds?: ImpersonationRoleIdList;
2332
2636
  }
2333
2637
  export interface PutAccessControlRuleResponse {
2334
2638
  }
@@ -2350,7 +2654,7 @@ declare namespace WorkMail {
2350
2654
  }
2351
2655
  export interface PutInboundDmarcSettingsRequest {
2352
2656
  /**
2353
- * The ID of the organization that you are applying the DMARC policy to.
2657
+ * The ID of the organization that you are applying the DMARC policy to.
2354
2658
  */
2355
2659
  OrganizationId: OrganizationId;
2356
2660
  /**
@@ -2382,7 +2686,7 @@ declare namespace WorkMail {
2382
2686
  }
2383
2687
  export interface PutMobileDeviceAccessOverrideRequest {
2384
2688
  /**
2385
- * Identifies the Amazon WorkMail organization for which you create the override.
2689
+ * Identifies the WorkMail organization for which you create the override.
2386
2690
  */
2387
2691
  OrganizationId: OrganizationId;
2388
2692
  /**
@@ -2444,11 +2748,11 @@ declare namespace WorkMail {
2444
2748
  */
2445
2749
  ClientToken?: IdempotencyClientToken;
2446
2750
  /**
2447
- * The Amazon WorkMail organization under which you're creating the domain.
2751
+ * The WorkMail organization under which you're creating the domain.
2448
2752
  */
2449
2753
  OrganizationId: OrganizationId;
2450
2754
  /**
2451
- * The name of the mail domain to create in Amazon WorkMail and SES.
2755
+ * The name of the mail domain to create in WorkMail and SES.
2452
2756
  */
2453
2757
  DomainName: WorkMailDomainName;
2454
2758
  }
@@ -2508,11 +2812,11 @@ declare namespace WorkMail {
2508
2812
  */
2509
2813
  State?: EntityState;
2510
2814
  /**
2511
- * The date indicating when the resource was enabled for Amazon WorkMail use.
2815
+ * The date indicating when the resource was enabled for WorkMail use.
2512
2816
  */
2513
2817
  EnabledDate?: Timestamp;
2514
2818
  /**
2515
- * The date indicating when the resource was disabled from Amazon WorkMail use.
2819
+ * The date indicating when the resource was disabled from WorkMail use.
2516
2820
  */
2517
2821
  DisabledDate?: Timestamp;
2518
2822
  }
@@ -2594,9 +2898,10 @@ declare namespace WorkMail {
2594
2898
  export interface TagResourceResponse {
2595
2899
  }
2596
2900
  export type TagValue = string;
2901
+ export type TargetUsers = EntityIdentifier[];
2597
2902
  export interface TestAvailabilityConfigurationRequest {
2598
2903
  /**
2599
- * The Amazon WorkMail organization where the availability provider will be tested.
2904
+ * The WorkMail organization where the availability provider will be tested.
2600
2905
  */
2601
2906
  OrganizationId: OrganizationId;
2602
2907
  /**
@@ -2631,7 +2936,7 @@ declare namespace WorkMail {
2631
2936
  }
2632
2937
  export interface UpdateAvailabilityConfigurationRequest {
2633
2938
  /**
2634
- * The Amazon WorkMail organization for which the AvailabilityConfiguration will be updated.
2939
+ * The WorkMail organization for which the AvailabilityConfiguration will be updated.
2635
2940
  */
2636
2941
  OrganizationId: OrganizationId;
2637
2942
  /**
@@ -2651,7 +2956,7 @@ declare namespace WorkMail {
2651
2956
  }
2652
2957
  export interface UpdateDefaultMailDomainRequest {
2653
2958
  /**
2654
- * The Amazon WorkMail organization for which to list domains.
2959
+ * The WorkMail organization for which to list domains.
2655
2960
  */
2656
2961
  OrganizationId: OrganizationId;
2657
2962
  /**
@@ -2661,6 +2966,34 @@ declare namespace WorkMail {
2661
2966
  }
2662
2967
  export interface UpdateDefaultMailDomainResponse {
2663
2968
  }
2969
+ export interface UpdateImpersonationRoleRequest {
2970
+ /**
2971
+ * The WorkMail organization that contains the impersonation role to update.
2972
+ */
2973
+ OrganizationId: OrganizationId;
2974
+ /**
2975
+ * The ID of the impersonation role to update.
2976
+ */
2977
+ ImpersonationRoleId: ImpersonationRoleId;
2978
+ /**
2979
+ * The updated impersonation role name.
2980
+ */
2981
+ Name: ImpersonationRoleName;
2982
+ /**
2983
+ * The updated impersonation role type.
2984
+ */
2985
+ Type: ImpersonationRoleType;
2986
+ /**
2987
+ * The updated impersonation role description.
2988
+ */
2989
+ Description?: ImpersonationRoleDescription;
2990
+ /**
2991
+ * The updated list of rules.
2992
+ */
2993
+ Rules: ImpersonationRuleList;
2994
+ }
2995
+ export interface UpdateImpersonationRoleResponse {
2996
+ }
2664
2997
  export interface UpdateMailboxQuotaRequest {
2665
2998
  /**
2666
2999
  * The identifier for the organization that contains the user for whom to update the mailbox quota.
@@ -2679,7 +3012,7 @@ declare namespace WorkMail {
2679
3012
  }
2680
3013
  export interface UpdateMobileDeviceAccessRuleRequest {
2681
3014
  /**
2682
- * The Amazon WorkMail organization under which the rule will be updated.
3015
+ * The WorkMail organization under which the rule will be updated.
2683
3016
  */
2684
3017
  OrganizationId: OrganizationId;
2685
3018
  /**
@@ -2796,11 +3129,11 @@ declare namespace WorkMail {
2796
3129
  */
2797
3130
  UserRole?: UserRole;
2798
3131
  /**
2799
- * The date indicating when the user was enabled for Amazon WorkMail use.
3132
+ * The date indicating when the user was enabled for WorkMail use.
2800
3133
  */
2801
3134
  EnabledDate?: Timestamp;
2802
3135
  /**
2803
- * The date indicating when the user was disabled from Amazon WorkMail use.
3136
+ * The date indicating when the user was disabled from WorkMail use.
2804
3137
  */
2805
3138
  DisabledDate?: Timestamp;
2806
3139
  }