@aws-sdk/client-workmail 3.299.0 → 3.301.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.
Files changed (81) hide show
  1. package/dist-types/commands/AssociateDelegateToResourceCommand.d.ts +5 -0
  2. package/dist-types/commands/AssociateMemberToGroupCommand.d.ts +5 -0
  3. package/dist-types/commands/AssumeImpersonationRoleCommand.d.ts +4 -0
  4. package/dist-types/commands/CancelMailboxExportJobCommand.d.ts +5 -0
  5. package/dist-types/commands/CreateAliasCommand.d.ts +5 -0
  6. package/dist-types/commands/CreateAvailabilityConfigurationCommand.d.ts +13 -0
  7. package/dist-types/commands/CreateGroupCommand.d.ts +4 -0
  8. package/dist-types/commands/CreateImpersonationRoleCommand.d.ts +21 -0
  9. package/dist-types/commands/CreateMobileDeviceAccessRuleCommand.d.ts +31 -0
  10. package/dist-types/commands/CreateOrganizationCommand.d.ts +13 -0
  11. package/dist-types/commands/CreateResourceCommand.d.ts +5 -0
  12. package/dist-types/commands/CreateUserCommand.d.ts +6 -0
  13. package/dist-types/commands/DeleteAccessControlRuleCommand.d.ts +4 -0
  14. package/dist-types/commands/DeleteAliasCommand.d.ts +5 -0
  15. package/dist-types/commands/DeleteAvailabilityConfigurationCommand.d.ts +4 -0
  16. package/dist-types/commands/DeleteEmailMonitoringConfigurationCommand.d.ts +3 -0
  17. package/dist-types/commands/DeleteGroupCommand.d.ts +4 -0
  18. package/dist-types/commands/DeleteImpersonationRoleCommand.d.ts +4 -0
  19. package/dist-types/commands/DeleteMailboxPermissionsCommand.d.ts +5 -0
  20. package/dist-types/commands/DeleteMobileDeviceAccessOverrideCommand.d.ts +5 -0
  21. package/dist-types/commands/DeleteMobileDeviceAccessRuleCommand.d.ts +4 -0
  22. package/dist-types/commands/DeleteOrganizationCommand.d.ts +5 -0
  23. package/dist-types/commands/DeleteResourceCommand.d.ts +4 -0
  24. package/dist-types/commands/DeleteRetentionPolicyCommand.d.ts +4 -0
  25. package/dist-types/commands/DeleteUserCommand.d.ts +4 -0
  26. package/dist-types/commands/DeregisterFromWorkMailCommand.d.ts +4 -0
  27. package/dist-types/commands/DeregisterMailDomainCommand.d.ts +4 -0
  28. package/dist-types/commands/DescribeEmailMonitoringConfigurationCommand.d.ts +3 -0
  29. package/dist-types/commands/DescribeGroupCommand.d.ts +4 -0
  30. package/dist-types/commands/DescribeInboundDmarcSettingsCommand.d.ts +3 -0
  31. package/dist-types/commands/DescribeMailboxExportJobCommand.d.ts +4 -0
  32. package/dist-types/commands/DescribeOrganizationCommand.d.ts +3 -0
  33. package/dist-types/commands/DescribeResourceCommand.d.ts +4 -0
  34. package/dist-types/commands/DescribeUserCommand.d.ts +4 -0
  35. package/dist-types/commands/DisassociateDelegateFromResourceCommand.d.ts +5 -0
  36. package/dist-types/commands/DisassociateMemberFromGroupCommand.d.ts +5 -0
  37. package/dist-types/commands/GetAccessControlEffectCommand.d.ts +7 -0
  38. package/dist-types/commands/GetDefaultRetentionPolicyCommand.d.ts +3 -0
  39. package/dist-types/commands/GetImpersonationRoleCommand.d.ts +4 -0
  40. package/dist-types/commands/GetImpersonationRoleEffectCommand.d.ts +5 -0
  41. package/dist-types/commands/GetMailDomainCommand.d.ts +4 -0
  42. package/dist-types/commands/GetMailboxDetailsCommand.d.ts +4 -0
  43. package/dist-types/commands/GetMobileDeviceAccessEffectCommand.d.ts +7 -0
  44. package/dist-types/commands/GetMobileDeviceAccessOverrideCommand.d.ts +5 -0
  45. package/dist-types/commands/ListAccessControlRulesCommand.d.ts +3 -0
  46. package/dist-types/commands/ListAliasesCommand.d.ts +6 -0
  47. package/dist-types/commands/ListAvailabilityConfigurationsCommand.d.ts +5 -0
  48. package/dist-types/commands/ListGroupMembersCommand.d.ts +6 -0
  49. package/dist-types/commands/ListGroupsCommand.d.ts +5 -0
  50. package/dist-types/commands/ListImpersonationRolesCommand.d.ts +5 -0
  51. package/dist-types/commands/ListMailDomainsCommand.d.ts +5 -0
  52. package/dist-types/commands/ListMailboxExportJobsCommand.d.ts +5 -0
  53. package/dist-types/commands/ListMailboxPermissionsCommand.d.ts +6 -0
  54. package/dist-types/commands/ListMobileDeviceAccessOverridesCommand.d.ts +7 -0
  55. package/dist-types/commands/ListMobileDeviceAccessRulesCommand.d.ts +3 -0
  56. package/dist-types/commands/ListOrganizationsCommand.d.ts +4 -0
  57. package/dist-types/commands/ListResourceDelegatesCommand.d.ts +6 -0
  58. package/dist-types/commands/ListResourcesCommand.d.ts +5 -0
  59. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
  60. package/dist-types/commands/ListUsersCommand.d.ts +5 -0
  61. package/dist-types/commands/PutAccessControlRuleCommand.d.ts +30 -0
  62. package/dist-types/commands/PutEmailMonitoringConfigurationCommand.d.ts +5 -0
  63. package/dist-types/commands/PutInboundDmarcSettingsCommand.d.ts +4 -0
  64. package/dist-types/commands/PutMailboxPermissionsCommand.d.ts +8 -0
  65. package/dist-types/commands/PutMobileDeviceAccessOverrideCommand.d.ts +7 -0
  66. package/dist-types/commands/PutRetentionPolicyCommand.d.ts +13 -0
  67. package/dist-types/commands/RegisterMailDomainCommand.d.ts +5 -0
  68. package/dist-types/commands/RegisterToWorkMailCommand.d.ts +5 -0
  69. package/dist-types/commands/ResetPasswordCommand.d.ts +5 -0
  70. package/dist-types/commands/StartMailboxExportJobCommand.d.ts +10 -0
  71. package/dist-types/commands/TagResourceCommand.d.ts +9 -0
  72. package/dist-types/commands/TestAvailabilityConfigurationCommand.d.ts +12 -0
  73. package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
  74. package/dist-types/commands/UpdateAvailabilityConfigurationCommand.d.ts +12 -0
  75. package/dist-types/commands/UpdateDefaultMailDomainCommand.d.ts +4 -0
  76. package/dist-types/commands/UpdateImpersonationRoleCommand.d.ts +21 -0
  77. package/dist-types/commands/UpdateMailboxQuotaCommand.d.ts +5 -0
  78. package/dist-types/commands/UpdateMobileDeviceAccessRuleCommand.d.ts +31 -0
  79. package/dist-types/commands/UpdatePrimaryEmailAddressCommand.d.ts +5 -0
  80. package/dist-types/commands/UpdateResourceCommand.d.ts +10 -0
  81. package/package.json +8 -8
@@ -26,6 +26,9 @@ export interface ListAccessControlRulesCommandOutput extends ListAccessControlRu
26
26
  * import { WorkMailClient, ListAccessControlRulesCommand } from "@aws-sdk/client-workmail"; // ES Modules import
27
27
  * // const { WorkMailClient, ListAccessControlRulesCommand } = require("@aws-sdk/client-workmail"); // CommonJS import
28
28
  * const client = new WorkMailClient(config);
29
+ * const input = { // ListAccessControlRulesRequest
30
+ * OrganizationId: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new ListAccessControlRulesCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -27,6 +27,12 @@ export interface ListAliasesCommandOutput extends ListAliasesResponse, __Metadat
27
27
  * import { WorkMailClient, ListAliasesCommand } from "@aws-sdk/client-workmail"; // ES Modules import
28
28
  * // const { WorkMailClient, ListAliasesCommand } = require("@aws-sdk/client-workmail"); // CommonJS import
29
29
  * const client = new WorkMailClient(config);
30
+ * const input = { // ListAliasesRequest
31
+ * OrganizationId: "STRING_VALUE", // required
32
+ * EntityId: "STRING_VALUE", // required
33
+ * NextToken: "STRING_VALUE",
34
+ * MaxResults: Number("int"),
35
+ * };
30
36
  * const command = new ListAliasesCommand(input);
31
37
  * const response = await client.send(command);
32
38
  * ```
@@ -26,6 +26,11 @@ export interface ListAvailabilityConfigurationsCommandOutput extends ListAvailab
26
26
  * import { WorkMailClient, ListAvailabilityConfigurationsCommand } from "@aws-sdk/client-workmail"; // ES Modules import
27
27
  * // const { WorkMailClient, ListAvailabilityConfigurationsCommand } = require("@aws-sdk/client-workmail"); // CommonJS import
28
28
  * const client = new WorkMailClient(config);
29
+ * const input = { // ListAvailabilityConfigurationsRequest
30
+ * OrganizationId: "STRING_VALUE", // required
31
+ * MaxResults: Number("int"),
32
+ * NextToken: "STRING_VALUE",
33
+ * };
29
34
  * const command = new ListAvailabilityConfigurationsCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -27,6 +27,12 @@ export interface ListGroupMembersCommandOutput extends ListGroupMembersResponse,
27
27
  * import { WorkMailClient, ListGroupMembersCommand } from "@aws-sdk/client-workmail"; // ES Modules import
28
28
  * // const { WorkMailClient, ListGroupMembersCommand } = require("@aws-sdk/client-workmail"); // CommonJS import
29
29
  * const client = new WorkMailClient(config);
30
+ * const input = { // ListGroupMembersRequest
31
+ * OrganizationId: "STRING_VALUE", // required
32
+ * GroupId: "STRING_VALUE", // required
33
+ * NextToken: "STRING_VALUE",
34
+ * MaxResults: Number("int"),
35
+ * };
30
36
  * const command = new ListGroupMembersCommand(input);
31
37
  * const response = await client.send(command);
32
38
  * ```
@@ -26,6 +26,11 @@ export interface ListGroupsCommandOutput extends ListGroupsResponse, __MetadataB
26
26
  * import { WorkMailClient, ListGroupsCommand } from "@aws-sdk/client-workmail"; // ES Modules import
27
27
  * // const { WorkMailClient, ListGroupsCommand } = require("@aws-sdk/client-workmail"); // CommonJS import
28
28
  * const client = new WorkMailClient(config);
29
+ * const input = { // ListGroupsRequest
30
+ * OrganizationId: "STRING_VALUE", // required
31
+ * NextToken: "STRING_VALUE",
32
+ * MaxResults: Number("int"),
33
+ * };
29
34
  * const command = new ListGroupsCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,11 @@ export interface ListImpersonationRolesCommandOutput extends ListImpersonationRo
26
26
  * import { WorkMailClient, ListImpersonationRolesCommand } from "@aws-sdk/client-workmail"; // ES Modules import
27
27
  * // const { WorkMailClient, ListImpersonationRolesCommand } = require("@aws-sdk/client-workmail"); // CommonJS import
28
28
  * const client = new WorkMailClient(config);
29
+ * const input = { // ListImpersonationRolesRequest
30
+ * OrganizationId: "STRING_VALUE", // required
31
+ * NextToken: "STRING_VALUE",
32
+ * MaxResults: Number("int"),
33
+ * };
29
34
  * const command = new ListImpersonationRolesCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,11 @@ export interface ListMailDomainsCommandOutput extends ListMailDomainsResponse, _
26
26
  * import { WorkMailClient, ListMailDomainsCommand } from "@aws-sdk/client-workmail"; // ES Modules import
27
27
  * // const { WorkMailClient, ListMailDomainsCommand } = require("@aws-sdk/client-workmail"); // CommonJS import
28
28
  * const client = new WorkMailClient(config);
29
+ * const input = { // ListMailDomainsRequest
30
+ * OrganizationId: "STRING_VALUE", // required
31
+ * MaxResults: Number("int"),
32
+ * NextToken: "STRING_VALUE",
33
+ * };
29
34
  * const command = new ListMailDomainsCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -27,6 +27,11 @@ export interface ListMailboxExportJobsCommandOutput extends ListMailboxExportJob
27
27
  * import { WorkMailClient, ListMailboxExportJobsCommand } from "@aws-sdk/client-workmail"; // ES Modules import
28
28
  * // const { WorkMailClient, ListMailboxExportJobsCommand } = require("@aws-sdk/client-workmail"); // CommonJS import
29
29
  * const client = new WorkMailClient(config);
30
+ * const input = { // ListMailboxExportJobsRequest
31
+ * OrganizationId: "STRING_VALUE", // required
32
+ * NextToken: "STRING_VALUE",
33
+ * MaxResults: Number("int"),
34
+ * };
30
35
  * const command = new ListMailboxExportJobsCommand(input);
31
36
  * const response = await client.send(command);
32
37
  * ```
@@ -27,6 +27,12 @@ export interface ListMailboxPermissionsCommandOutput extends ListMailboxPermissi
27
27
  * import { WorkMailClient, ListMailboxPermissionsCommand } from "@aws-sdk/client-workmail"; // ES Modules import
28
28
  * // const { WorkMailClient, ListMailboxPermissionsCommand } = require("@aws-sdk/client-workmail"); // CommonJS import
29
29
  * const client = new WorkMailClient(config);
30
+ * const input = { // ListMailboxPermissionsRequest
31
+ * OrganizationId: "STRING_VALUE", // required
32
+ * EntityId: "STRING_VALUE", // required
33
+ * NextToken: "STRING_VALUE",
34
+ * MaxResults: Number("int"),
35
+ * };
30
36
  * const command = new ListMailboxPermissionsCommand(input);
31
37
  * const response = await client.send(command);
32
38
  * ```
@@ -26,6 +26,13 @@ export interface ListMobileDeviceAccessOverridesCommandOutput extends ListMobile
26
26
  * import { WorkMailClient, ListMobileDeviceAccessOverridesCommand } from "@aws-sdk/client-workmail"; // ES Modules import
27
27
  * // const { WorkMailClient, ListMobileDeviceAccessOverridesCommand } = require("@aws-sdk/client-workmail"); // CommonJS import
28
28
  * const client = new WorkMailClient(config);
29
+ * const input = { // ListMobileDeviceAccessOverridesRequest
30
+ * OrganizationId: "STRING_VALUE", // required
31
+ * UserId: "STRING_VALUE",
32
+ * DeviceId: "STRING_VALUE",
33
+ * NextToken: "STRING_VALUE",
34
+ * MaxResults: Number("int"),
35
+ * };
29
36
  * const command = new ListMobileDeviceAccessOverridesCommand(input);
30
37
  * const response = await client.send(command);
31
38
  * ```
@@ -26,6 +26,9 @@ export interface ListMobileDeviceAccessRulesCommandOutput extends ListMobileDevi
26
26
  * import { WorkMailClient, ListMobileDeviceAccessRulesCommand } from "@aws-sdk/client-workmail"; // ES Modules import
27
27
  * // const { WorkMailClient, ListMobileDeviceAccessRulesCommand } = require("@aws-sdk/client-workmail"); // CommonJS import
28
28
  * const client = new WorkMailClient(config);
29
+ * const input = { // ListMobileDeviceAccessRulesRequest
30
+ * OrganizationId: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new ListMobileDeviceAccessRulesCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,10 @@ export interface ListOrganizationsCommandOutput extends ListOrganizationsRespons
26
26
  * import { WorkMailClient, ListOrganizationsCommand } from "@aws-sdk/client-workmail"; // ES Modules import
27
27
  * // const { WorkMailClient, ListOrganizationsCommand } = require("@aws-sdk/client-workmail"); // CommonJS import
28
28
  * const client = new WorkMailClient(config);
29
+ * const input = { // ListOrganizationsRequest
30
+ * NextToken: "STRING_VALUE",
31
+ * MaxResults: Number("int"),
32
+ * };
29
33
  * const command = new ListOrganizationsCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -27,6 +27,12 @@ export interface ListResourceDelegatesCommandOutput extends ListResourceDelegate
27
27
  * import { WorkMailClient, ListResourceDelegatesCommand } from "@aws-sdk/client-workmail"; // ES Modules import
28
28
  * // const { WorkMailClient, ListResourceDelegatesCommand } = require("@aws-sdk/client-workmail"); // CommonJS import
29
29
  * const client = new WorkMailClient(config);
30
+ * const input = { // ListResourceDelegatesRequest
31
+ * OrganizationId: "STRING_VALUE", // required
32
+ * ResourceId: "STRING_VALUE", // required
33
+ * NextToken: "STRING_VALUE",
34
+ * MaxResults: Number("int"),
35
+ * };
30
36
  * const command = new ListResourceDelegatesCommand(input);
31
37
  * const response = await client.send(command);
32
38
  * ```
@@ -26,6 +26,11 @@ export interface ListResourcesCommandOutput extends ListResourcesResponse, __Met
26
26
  * import { WorkMailClient, ListResourcesCommand } from "@aws-sdk/client-workmail"; // ES Modules import
27
27
  * // const { WorkMailClient, ListResourcesCommand } = require("@aws-sdk/client-workmail"); // CommonJS import
28
28
  * const client = new WorkMailClient(config);
29
+ * const input = { // ListResourcesRequest
30
+ * OrganizationId: "STRING_VALUE", // required
31
+ * NextToken: "STRING_VALUE",
32
+ * MaxResults: Number("int"),
33
+ * };
29
34
  * const command = new ListResourcesCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,9 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
26
26
  * import { WorkMailClient, ListTagsForResourceCommand } from "@aws-sdk/client-workmail"; // ES Modules import
27
27
  * // const { WorkMailClient, ListTagsForResourceCommand } = require("@aws-sdk/client-workmail"); // CommonJS import
28
28
  * const client = new WorkMailClient(config);
29
+ * const input = { // ListTagsForResourceRequest
30
+ * ResourceARN: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new ListTagsForResourceCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,11 @@ export interface ListUsersCommandOutput extends ListUsersResponse, __MetadataBea
26
26
  * import { WorkMailClient, ListUsersCommand } from "@aws-sdk/client-workmail"; // ES Modules import
27
27
  * // const { WorkMailClient, ListUsersCommand } = require("@aws-sdk/client-workmail"); // CommonJS import
28
28
  * const client = new WorkMailClient(config);
29
+ * const input = { // ListUsersRequest
30
+ * OrganizationId: "STRING_VALUE", // required
31
+ * NextToken: "STRING_VALUE",
32
+ * MaxResults: Number("int"),
33
+ * };
29
34
  * const command = new ListUsersCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -29,6 +29,36 @@ export interface PutAccessControlRuleCommandOutput extends PutAccessControlRuleR
29
29
  * import { WorkMailClient, PutAccessControlRuleCommand } from "@aws-sdk/client-workmail"; // ES Modules import
30
30
  * // const { WorkMailClient, PutAccessControlRuleCommand } = require("@aws-sdk/client-workmail"); // CommonJS import
31
31
  * const client = new WorkMailClient(config);
32
+ * const input = { // PutAccessControlRuleRequest
33
+ * Name: "STRING_VALUE", // required
34
+ * Effect: "ALLOW" || "DENY", // required
35
+ * Description: "STRING_VALUE", // required
36
+ * IpRanges: [ // IpRangeList
37
+ * "STRING_VALUE",
38
+ * ],
39
+ * NotIpRanges: [
40
+ * "STRING_VALUE",
41
+ * ],
42
+ * Actions: [ // ActionsList
43
+ * "STRING_VALUE",
44
+ * ],
45
+ * NotActions: [
46
+ * "STRING_VALUE",
47
+ * ],
48
+ * UserIds: [ // UserIdList
49
+ * "STRING_VALUE",
50
+ * ],
51
+ * NotUserIds: [
52
+ * "STRING_VALUE",
53
+ * ],
54
+ * OrganizationId: "STRING_VALUE", // required
55
+ * ImpersonationRoleIds: [ // ImpersonationRoleIdList
56
+ * "STRING_VALUE",
57
+ * ],
58
+ * NotImpersonationRoleIds: [
59
+ * "STRING_VALUE",
60
+ * ],
61
+ * };
32
62
  * const command = new PutAccessControlRuleCommand(input);
33
63
  * const response = await client.send(command);
34
64
  * ```
@@ -26,6 +26,11 @@ export interface PutEmailMonitoringConfigurationCommandOutput extends PutEmailMo
26
26
  * import { WorkMailClient, PutEmailMonitoringConfigurationCommand } from "@aws-sdk/client-workmail"; // ES Modules import
27
27
  * // const { WorkMailClient, PutEmailMonitoringConfigurationCommand } = require("@aws-sdk/client-workmail"); // CommonJS import
28
28
  * const client = new WorkMailClient(config);
29
+ * const input = { // PutEmailMonitoringConfigurationRequest
30
+ * OrganizationId: "STRING_VALUE", // required
31
+ * RoleArn: "STRING_VALUE", // required
32
+ * LogGroupArn: "STRING_VALUE", // required
33
+ * };
29
34
  * const command = new PutEmailMonitoringConfigurationCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,10 @@ export interface PutInboundDmarcSettingsCommandOutput extends PutInboundDmarcSet
26
26
  * import { WorkMailClient, PutInboundDmarcSettingsCommand } from "@aws-sdk/client-workmail"; // ES Modules import
27
27
  * // const { WorkMailClient, PutInboundDmarcSettingsCommand } = require("@aws-sdk/client-workmail"); // CommonJS import
28
28
  * const client = new WorkMailClient(config);
29
+ * const input = { // PutInboundDmarcSettingsRequest
30
+ * OrganizationId: "STRING_VALUE", // required
31
+ * Enforced: true || false, // required
32
+ * };
29
33
  * const command = new PutInboundDmarcSettingsCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -27,6 +27,14 @@ export interface PutMailboxPermissionsCommandOutput extends PutMailboxPermission
27
27
  * import { WorkMailClient, PutMailboxPermissionsCommand } from "@aws-sdk/client-workmail"; // ES Modules import
28
28
  * // const { WorkMailClient, PutMailboxPermissionsCommand } = require("@aws-sdk/client-workmail"); // CommonJS import
29
29
  * const client = new WorkMailClient(config);
30
+ * const input = { // PutMailboxPermissionsRequest
31
+ * OrganizationId: "STRING_VALUE", // required
32
+ * EntityId: "STRING_VALUE", // required
33
+ * GranteeId: "STRING_VALUE", // required
34
+ * PermissionValues: [ // PermissionValues // required
35
+ * "FULL_ACCESS" || "SEND_AS" || "SEND_ON_BEHALF",
36
+ * ],
37
+ * };
30
38
  * const command = new PutMailboxPermissionsCommand(input);
31
39
  * const response = await client.send(command);
32
40
  * ```
@@ -26,6 +26,13 @@ export interface PutMobileDeviceAccessOverrideCommandOutput extends PutMobileDev
26
26
  * import { WorkMailClient, PutMobileDeviceAccessOverrideCommand } from "@aws-sdk/client-workmail"; // ES Modules import
27
27
  * // const { WorkMailClient, PutMobileDeviceAccessOverrideCommand } = require("@aws-sdk/client-workmail"); // CommonJS import
28
28
  * const client = new WorkMailClient(config);
29
+ * const input = { // PutMobileDeviceAccessOverrideRequest
30
+ * OrganizationId: "STRING_VALUE", // required
31
+ * UserId: "STRING_VALUE", // required
32
+ * DeviceId: "STRING_VALUE", // required
33
+ * Effect: "ALLOW" || "DENY", // required
34
+ * Description: "STRING_VALUE",
35
+ * };
29
36
  * const command = new PutMobileDeviceAccessOverrideCommand(input);
30
37
  * const response = await client.send(command);
31
38
  * ```
@@ -26,6 +26,19 @@ export interface PutRetentionPolicyCommandOutput extends PutRetentionPolicyRespo
26
26
  * import { WorkMailClient, PutRetentionPolicyCommand } from "@aws-sdk/client-workmail"; // ES Modules import
27
27
  * // const { WorkMailClient, PutRetentionPolicyCommand } = require("@aws-sdk/client-workmail"); // CommonJS import
28
28
  * const client = new WorkMailClient(config);
29
+ * const input = { // PutRetentionPolicyRequest
30
+ * OrganizationId: "STRING_VALUE", // required
31
+ * Id: "STRING_VALUE",
32
+ * Name: "STRING_VALUE", // required
33
+ * Description: "STRING_VALUE",
34
+ * FolderConfigurations: [ // FolderConfigurations // required
35
+ * { // FolderConfiguration
36
+ * Name: "INBOX" || "DELETED_ITEMS" || "SENT_ITEMS" || "DRAFTS" || "JUNK_EMAIL", // required
37
+ * Action: "NONE" || "DELETE" || "PERMANENTLY_DELETE", // required
38
+ * Period: Number("int"),
39
+ * },
40
+ * ],
41
+ * };
29
42
  * const command = new PutRetentionPolicyCommand(input);
30
43
  * const response = await client.send(command);
31
44
  * ```
@@ -27,6 +27,11 @@ export interface RegisterMailDomainCommandOutput extends RegisterMailDomainRespo
27
27
  * import { WorkMailClient, RegisterMailDomainCommand } from "@aws-sdk/client-workmail"; // ES Modules import
28
28
  * // const { WorkMailClient, RegisterMailDomainCommand } = require("@aws-sdk/client-workmail"); // CommonJS import
29
29
  * const client = new WorkMailClient(config);
30
+ * const input = { // RegisterMailDomainRequest
31
+ * ClientToken: "STRING_VALUE",
32
+ * OrganizationId: "STRING_VALUE", // required
33
+ * DomainName: "STRING_VALUE", // required
34
+ * };
30
35
  * const command = new RegisterMailDomainCommand(input);
31
36
  * const response = await client.send(command);
32
37
  * ```
@@ -32,6 +32,11 @@ export interface RegisterToWorkMailCommandOutput extends RegisterToWorkMailRespo
32
32
  * import { WorkMailClient, RegisterToWorkMailCommand } from "@aws-sdk/client-workmail"; // ES Modules import
33
33
  * // const { WorkMailClient, RegisterToWorkMailCommand } = require("@aws-sdk/client-workmail"); // CommonJS import
34
34
  * const client = new WorkMailClient(config);
35
+ * const input = { // RegisterToWorkMailRequest
36
+ * OrganizationId: "STRING_VALUE", // required
37
+ * EntityId: "STRING_VALUE", // required
38
+ * Email: "STRING_VALUE", // required
39
+ * };
35
40
  * const command = new RegisterToWorkMailCommand(input);
36
41
  * const response = await client.send(command);
37
42
  * ```
@@ -26,6 +26,11 @@ export interface ResetPasswordCommandOutput extends ResetPasswordResponse, __Met
26
26
  * import { WorkMailClient, ResetPasswordCommand } from "@aws-sdk/client-workmail"; // ES Modules import
27
27
  * // const { WorkMailClient, ResetPasswordCommand } = require("@aws-sdk/client-workmail"); // CommonJS import
28
28
  * const client = new WorkMailClient(config);
29
+ * const input = { // ResetPasswordRequest
30
+ * OrganizationId: "STRING_VALUE", // required
31
+ * UserId: "STRING_VALUE", // required
32
+ * Password: "STRING_VALUE", // required
33
+ * };
29
34
  * const command = new ResetPasswordCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -29,6 +29,16 @@ export interface StartMailboxExportJobCommandOutput extends StartMailboxExportJo
29
29
  * import { WorkMailClient, StartMailboxExportJobCommand } from "@aws-sdk/client-workmail"; // ES Modules import
30
30
  * // const { WorkMailClient, StartMailboxExportJobCommand } = require("@aws-sdk/client-workmail"); // CommonJS import
31
31
  * const client = new WorkMailClient(config);
32
+ * const input = { // StartMailboxExportJobRequest
33
+ * ClientToken: "STRING_VALUE", // required
34
+ * OrganizationId: "STRING_VALUE", // required
35
+ * EntityId: "STRING_VALUE", // required
36
+ * Description: "STRING_VALUE",
37
+ * RoleArn: "STRING_VALUE", // required
38
+ * KmsKeyArn: "STRING_VALUE", // required
39
+ * S3BucketName: "STRING_VALUE", // required
40
+ * S3Prefix: "STRING_VALUE", // required
41
+ * };
32
42
  * const command = new StartMailboxExportJobCommand(input);
33
43
  * const response = await client.send(command);
34
44
  * ```
@@ -27,6 +27,15 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
27
27
  * import { WorkMailClient, TagResourceCommand } from "@aws-sdk/client-workmail"; // ES Modules import
28
28
  * // const { WorkMailClient, TagResourceCommand } = require("@aws-sdk/client-workmail"); // CommonJS import
29
29
  * const client = new WorkMailClient(config);
30
+ * const input = { // TagResourceRequest
31
+ * ResourceARN: "STRING_VALUE", // required
32
+ * Tags: [ // TagList // required
33
+ * { // Tag
34
+ * Key: "STRING_VALUE", // required
35
+ * Value: "STRING_VALUE", // required
36
+ * },
37
+ * ],
38
+ * };
30
39
  * const command = new TagResourceCommand(input);
31
40
  * const response = await client.send(command);
32
41
  * ```
@@ -33,6 +33,18 @@ export interface TestAvailabilityConfigurationCommandOutput extends TestAvailabi
33
33
  * import { WorkMailClient, TestAvailabilityConfigurationCommand } from "@aws-sdk/client-workmail"; // ES Modules import
34
34
  * // const { WorkMailClient, TestAvailabilityConfigurationCommand } = require("@aws-sdk/client-workmail"); // CommonJS import
35
35
  * const client = new WorkMailClient(config);
36
+ * const input = { // TestAvailabilityConfigurationRequest
37
+ * OrganizationId: "STRING_VALUE", // required
38
+ * DomainName: "STRING_VALUE",
39
+ * EwsProvider: { // EwsAvailabilityProvider
40
+ * EwsEndpoint: "STRING_VALUE", // required
41
+ * EwsUsername: "STRING_VALUE", // required
42
+ * EwsPassword: "STRING_VALUE", // required
43
+ * },
44
+ * LambdaProvider: { // LambdaAvailabilityProvider
45
+ * LambdaArn: "STRING_VALUE", // required
46
+ * },
47
+ * };
36
48
  * const command = new TestAvailabilityConfigurationCommand(input);
37
49
  * const response = await client.send(command);
38
50
  * ```
@@ -27,6 +27,12 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
27
27
  * import { WorkMailClient, UntagResourceCommand } from "@aws-sdk/client-workmail"; // ES Modules import
28
28
  * // const { WorkMailClient, UntagResourceCommand } = require("@aws-sdk/client-workmail"); // CommonJS import
29
29
  * const client = new WorkMailClient(config);
30
+ * const input = { // UntagResourceRequest
31
+ * ResourceARN: "STRING_VALUE", // required
32
+ * TagKeys: [ // TagKeyList // required
33
+ * "STRING_VALUE",
34
+ * ],
35
+ * };
30
36
  * const command = new UntagResourceCommand(input);
31
37
  * const response = await client.send(command);
32
38
  * ```
@@ -27,6 +27,18 @@ export interface UpdateAvailabilityConfigurationCommandOutput extends UpdateAvai
27
27
  * import { WorkMailClient, UpdateAvailabilityConfigurationCommand } from "@aws-sdk/client-workmail"; // ES Modules import
28
28
  * // const { WorkMailClient, UpdateAvailabilityConfigurationCommand } = require("@aws-sdk/client-workmail"); // CommonJS import
29
29
  * const client = new WorkMailClient(config);
30
+ * const input = { // UpdateAvailabilityConfigurationRequest
31
+ * OrganizationId: "STRING_VALUE", // required
32
+ * DomainName: "STRING_VALUE", // required
33
+ * EwsProvider: { // EwsAvailabilityProvider
34
+ * EwsEndpoint: "STRING_VALUE", // required
35
+ * EwsUsername: "STRING_VALUE", // required
36
+ * EwsPassword: "STRING_VALUE", // required
37
+ * },
38
+ * LambdaProvider: { // LambdaAvailabilityProvider
39
+ * LambdaArn: "STRING_VALUE", // required
40
+ * },
41
+ * };
30
42
  * const command = new UpdateAvailabilityConfigurationCommand(input);
31
43
  * const response = await client.send(command);
32
44
  * ```
@@ -26,6 +26,10 @@ export interface UpdateDefaultMailDomainCommandOutput extends UpdateDefaultMailD
26
26
  * import { WorkMailClient, UpdateDefaultMailDomainCommand } from "@aws-sdk/client-workmail"; // ES Modules import
27
27
  * // const { WorkMailClient, UpdateDefaultMailDomainCommand } = require("@aws-sdk/client-workmail"); // CommonJS import
28
28
  * const client = new WorkMailClient(config);
29
+ * const input = { // UpdateDefaultMailDomainRequest
30
+ * OrganizationId: "STRING_VALUE", // required
31
+ * DomainName: "STRING_VALUE", // required
32
+ * };
29
33
  * const command = new UpdateDefaultMailDomainCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,27 @@ export interface UpdateImpersonationRoleCommandOutput extends UpdateImpersonatio
26
26
  * import { WorkMailClient, UpdateImpersonationRoleCommand } from "@aws-sdk/client-workmail"; // ES Modules import
27
27
  * // const { WorkMailClient, UpdateImpersonationRoleCommand } = require("@aws-sdk/client-workmail"); // CommonJS import
28
28
  * const client = new WorkMailClient(config);
29
+ * const input = { // UpdateImpersonationRoleRequest
30
+ * OrganizationId: "STRING_VALUE", // required
31
+ * ImpersonationRoleId: "STRING_VALUE", // required
32
+ * Name: "STRING_VALUE", // required
33
+ * Type: "FULL_ACCESS" || "READ_ONLY", // required
34
+ * Description: "STRING_VALUE",
35
+ * Rules: [ // ImpersonationRuleList // required
36
+ * { // ImpersonationRule
37
+ * ImpersonationRuleId: "STRING_VALUE", // required
38
+ * Name: "STRING_VALUE",
39
+ * Description: "STRING_VALUE",
40
+ * Effect: "ALLOW" || "DENY", // required
41
+ * TargetUsers: [ // TargetUsers
42
+ * "STRING_VALUE",
43
+ * ],
44
+ * NotTargetUsers: [
45
+ * "STRING_VALUE",
46
+ * ],
47
+ * },
48
+ * ],
49
+ * };
29
50
  * const command = new UpdateImpersonationRoleCommand(input);
30
51
  * const response = await client.send(command);
31
52
  * ```
@@ -27,6 +27,11 @@ export interface UpdateMailboxQuotaCommandOutput extends UpdateMailboxQuotaRespo
27
27
  * import { WorkMailClient, UpdateMailboxQuotaCommand } from "@aws-sdk/client-workmail"; // ES Modules import
28
28
  * // const { WorkMailClient, UpdateMailboxQuotaCommand } = require("@aws-sdk/client-workmail"); // CommonJS import
29
29
  * const client = new WorkMailClient(config);
30
+ * const input = { // UpdateMailboxQuotaRequest
31
+ * OrganizationId: "STRING_VALUE", // required
32
+ * UserId: "STRING_VALUE", // required
33
+ * MailboxQuota: Number("int"), // required
34
+ * };
30
35
  * const command = new UpdateMailboxQuotaCommand(input);
31
36
  * const response = await client.send(command);
32
37
  * ```
@@ -26,6 +26,37 @@ export interface UpdateMobileDeviceAccessRuleCommandOutput extends UpdateMobileD
26
26
  * import { WorkMailClient, UpdateMobileDeviceAccessRuleCommand } from "@aws-sdk/client-workmail"; // ES Modules import
27
27
  * // const { WorkMailClient, UpdateMobileDeviceAccessRuleCommand } = require("@aws-sdk/client-workmail"); // CommonJS import
28
28
  * const client = new WorkMailClient(config);
29
+ * const input = { // UpdateMobileDeviceAccessRuleRequest
30
+ * OrganizationId: "STRING_VALUE", // required
31
+ * MobileDeviceAccessRuleId: "STRING_VALUE", // required
32
+ * Name: "STRING_VALUE", // required
33
+ * Description: "STRING_VALUE",
34
+ * Effect: "ALLOW" || "DENY", // required
35
+ * DeviceTypes: [ // DeviceTypeList
36
+ * "STRING_VALUE",
37
+ * ],
38
+ * NotDeviceTypes: [
39
+ * "STRING_VALUE",
40
+ * ],
41
+ * DeviceModels: [ // DeviceModelList
42
+ * "STRING_VALUE",
43
+ * ],
44
+ * NotDeviceModels: [
45
+ * "STRING_VALUE",
46
+ * ],
47
+ * DeviceOperatingSystems: [ // DeviceOperatingSystemList
48
+ * "STRING_VALUE",
49
+ * ],
50
+ * NotDeviceOperatingSystems: [
51
+ * "STRING_VALUE",
52
+ * ],
53
+ * DeviceUserAgents: [ // DeviceUserAgentList
54
+ * "STRING_VALUE",
55
+ * ],
56
+ * NotDeviceUserAgents: [
57
+ * "STRING_VALUE",
58
+ * ],
59
+ * };
29
60
  * const command = new UpdateMobileDeviceAccessRuleCommand(input);
30
61
  * const response = await client.send(command);
31
62
  * ```
@@ -28,6 +28,11 @@ export interface UpdatePrimaryEmailAddressCommandOutput extends UpdatePrimaryEma
28
28
  * import { WorkMailClient, UpdatePrimaryEmailAddressCommand } from "@aws-sdk/client-workmail"; // ES Modules import
29
29
  * // const { WorkMailClient, UpdatePrimaryEmailAddressCommand } = require("@aws-sdk/client-workmail"); // CommonJS import
30
30
  * const client = new WorkMailClient(config);
31
+ * const input = { // UpdatePrimaryEmailAddressRequest
32
+ * OrganizationId: "STRING_VALUE", // required
33
+ * EntityId: "STRING_VALUE", // required
34
+ * Email: "STRING_VALUE", // required
35
+ * };
31
36
  * const command = new UpdatePrimaryEmailAddressCommand(input);
32
37
  * const response = await client.send(command);
33
38
  * ```
@@ -28,6 +28,16 @@ export interface UpdateResourceCommandOutput extends UpdateResourceResponse, __M
28
28
  * import { WorkMailClient, UpdateResourceCommand } from "@aws-sdk/client-workmail"; // ES Modules import
29
29
  * // const { WorkMailClient, UpdateResourceCommand } = require("@aws-sdk/client-workmail"); // CommonJS import
30
30
  * const client = new WorkMailClient(config);
31
+ * const input = { // UpdateResourceRequest
32
+ * OrganizationId: "STRING_VALUE", // required
33
+ * ResourceId: "STRING_VALUE", // required
34
+ * Name: "STRING_VALUE",
35
+ * BookingOptions: { // BookingOptions
36
+ * AutoAcceptRequests: true || false,
37
+ * AutoDeclineRecurringRequests: true || false,
38
+ * AutoDeclineConflictingRequests: true || false,
39
+ * },
40
+ * };
31
41
  * const command = new UpdateResourceCommand(input);
32
42
  * const response = await client.send(command);
33
43
  * ```
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-workmail",
3
3
  "description": "AWS SDK for JavaScript Workmail Client for Node.js, Browser and React Native",
4
- "version": "3.299.0",
4
+ "version": "3.301.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.299.0",
25
- "@aws-sdk/config-resolver": "3.299.0",
26
- "@aws-sdk/credential-provider-node": "3.299.0",
24
+ "@aws-sdk/client-sts": "3.301.0",
25
+ "@aws-sdk/config-resolver": "3.300.0",
26
+ "@aws-sdk/credential-provider-node": "3.301.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.296.0",
28
28
  "@aws-sdk/hash-node": "3.296.0",
29
29
  "@aws-sdk/invalid-dependency": "3.296.0",
@@ -32,12 +32,12 @@
32
32
  "@aws-sdk/middleware-host-header": "3.296.0",
33
33
  "@aws-sdk/middleware-logger": "3.296.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.296.0",
35
+ "@aws-sdk/middleware-retry": "3.300.0",
36
36
  "@aws-sdk/middleware-serde": "3.296.0",
37
37
  "@aws-sdk/middleware-signing": "3.299.0",
38
38
  "@aws-sdk/middleware-stack": "3.296.0",
39
39
  "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.296.0",
40
+ "@aws-sdk/node-config-provider": "3.300.0",
41
41
  "@aws-sdk/node-http-handler": "3.296.0",
42
42
  "@aws-sdk/protocol-http": "3.296.0",
43
43
  "@aws-sdk/smithy-client": "3.296.0",
@@ -47,11 +47,11 @@
47
47
  "@aws-sdk/util-body-length-browser": "3.295.0",
48
48
  "@aws-sdk/util-body-length-node": "3.295.0",
49
49
  "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.299.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
51
  "@aws-sdk/util-endpoints": "3.296.0",
52
52
  "@aws-sdk/util-retry": "3.296.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.299.0",
54
+ "@aws-sdk/util-user-agent-node": "3.300.0",
55
55
  "@aws-sdk/util-utf8": "3.295.0",
56
56
  "tslib": "^2.5.0",
57
57
  "uuid": "^8.3.2"