@aws-sdk/client-workmail 3.34.0 → 3.35.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.
- package/CHANGELOG.md +12 -0
- package/dist-cjs/WorkMail.js +916 -0
- package/dist-cjs/WorkMail.js.map +1 -0
- package/dist-cjs/WorkMailClient.js +79 -0
- package/dist-cjs/WorkMailClient.js.map +1 -0
- package/dist-cjs/commands/AssociateDelegateToResourceCommand.js +61 -0
- package/dist-cjs/commands/AssociateDelegateToResourceCommand.js.map +1 -0
- package/dist-cjs/commands/AssociateMemberToGroupCommand.js +61 -0
- package/dist-cjs/commands/AssociateMemberToGroupCommand.js.map +1 -0
- package/dist-cjs/commands/CancelMailboxExportJobCommand.js +65 -0
- package/dist-cjs/commands/CancelMailboxExportJobCommand.js.map +1 -0
- package/dist-cjs/commands/CreateAliasCommand.js +61 -0
- package/dist-cjs/commands/CreateAliasCommand.js.map +1 -0
- package/dist-cjs/commands/CreateGroupCommand.js +61 -0
- package/dist-cjs/commands/CreateGroupCommand.js.map +1 -0
- package/dist-cjs/commands/CreateMobileDeviceAccessRuleCommand.js +61 -0
- package/dist-cjs/commands/CreateMobileDeviceAccessRuleCommand.js.map +1 -0
- package/dist-cjs/commands/CreateOrganizationCommand.js +65 -0
- package/dist-cjs/commands/CreateOrganizationCommand.js.map +1 -0
- package/dist-cjs/commands/CreateResourceCommand.js +61 -0
- package/dist-cjs/commands/CreateResourceCommand.js.map +1 -0
- package/dist-cjs/commands/CreateUserCommand.js +61 -0
- package/dist-cjs/commands/CreateUserCommand.js.map +1 -0
- package/dist-cjs/commands/DeleteAccessControlRuleCommand.js +61 -0
- package/dist-cjs/commands/DeleteAccessControlRuleCommand.js.map +1 -0
- package/dist-cjs/commands/DeleteAliasCommand.js +62 -0
- package/dist-cjs/commands/DeleteAliasCommand.js.map +1 -0
- package/dist-cjs/commands/DeleteGroupCommand.js +61 -0
- package/dist-cjs/commands/DeleteGroupCommand.js.map +1 -0
- package/dist-cjs/commands/DeleteMailboxPermissionsCommand.js +61 -0
- package/dist-cjs/commands/DeleteMailboxPermissionsCommand.js.map +1 -0
- package/dist-cjs/commands/DeleteMobileDeviceAccessOverrideCommand.js +61 -0
- package/dist-cjs/commands/DeleteMobileDeviceAccessOverrideCommand.js.map +1 -0
- package/dist-cjs/commands/DeleteMobileDeviceAccessRuleCommand.js +61 -0
- package/dist-cjs/commands/DeleteMobileDeviceAccessRuleCommand.js.map +1 -0
- package/dist-cjs/commands/DeleteOrganizationCommand.js +61 -0
- package/dist-cjs/commands/DeleteOrganizationCommand.js.map +1 -0
- package/dist-cjs/commands/DeleteResourceCommand.js +61 -0
- package/dist-cjs/commands/DeleteResourceCommand.js.map +1 -0
- package/dist-cjs/commands/DeleteRetentionPolicyCommand.js +61 -0
- package/dist-cjs/commands/DeleteRetentionPolicyCommand.js.map +1 -0
- package/dist-cjs/commands/DeleteUserCommand.js +65 -0
- package/dist-cjs/commands/DeleteUserCommand.js.map +1 -0
- package/dist-cjs/commands/DeregisterFromWorkMailCommand.js +64 -0
- package/dist-cjs/commands/DeregisterFromWorkMailCommand.js.map +1 -0
- package/dist-cjs/commands/DescribeGroupCommand.js +61 -0
- package/dist-cjs/commands/DescribeGroupCommand.js.map +1 -0
- package/dist-cjs/commands/DescribeMailboxExportJobCommand.js +61 -0
- package/dist-cjs/commands/DescribeMailboxExportJobCommand.js.map +1 -0
- package/dist-cjs/commands/DescribeOrganizationCommand.js +62 -0
- package/dist-cjs/commands/DescribeOrganizationCommand.js.map +1 -0
- package/dist-cjs/commands/DescribeResourceCommand.js +61 -0
- package/dist-cjs/commands/DescribeResourceCommand.js.map +1 -0
- package/dist-cjs/commands/DescribeUserCommand.js +61 -0
- package/dist-cjs/commands/DescribeUserCommand.js.map +1 -0
- package/dist-cjs/commands/DisassociateDelegateFromResourceCommand.js +61 -0
- package/dist-cjs/commands/DisassociateDelegateFromResourceCommand.js.map +1 -0
- package/dist-cjs/commands/DisassociateMemberFromGroupCommand.js +61 -0
- package/dist-cjs/commands/DisassociateMemberFromGroupCommand.js.map +1 -0
- package/dist-cjs/commands/GetAccessControlEffectCommand.js +62 -0
- package/dist-cjs/commands/GetAccessControlEffectCommand.js.map +1 -0
- package/dist-cjs/commands/GetDefaultRetentionPolicyCommand.js +61 -0
- package/dist-cjs/commands/GetDefaultRetentionPolicyCommand.js.map +1 -0
- package/dist-cjs/commands/GetMailboxDetailsCommand.js +61 -0
- package/dist-cjs/commands/GetMailboxDetailsCommand.js.map +1 -0
- package/dist-cjs/commands/GetMobileDeviceAccessEffectCommand.js +62 -0
- package/dist-cjs/commands/GetMobileDeviceAccessEffectCommand.js.map +1 -0
- package/dist-cjs/commands/GetMobileDeviceAccessOverrideCommand.js +61 -0
- package/dist-cjs/commands/GetMobileDeviceAccessOverrideCommand.js.map +1 -0
- package/dist-cjs/commands/ListAccessControlRulesCommand.js +61 -0
- package/dist-cjs/commands/ListAccessControlRulesCommand.js.map +1 -0
- package/dist-cjs/commands/ListAliasesCommand.js +62 -0
- package/dist-cjs/commands/ListAliasesCommand.js.map +1 -0
- package/dist-cjs/commands/ListGroupMembersCommand.js +62 -0
- package/dist-cjs/commands/ListGroupMembersCommand.js.map +1 -0
- package/dist-cjs/commands/ListGroupsCommand.js +61 -0
- package/dist-cjs/commands/ListGroupsCommand.js.map +1 -0
- package/dist-cjs/commands/ListMailboxExportJobsCommand.js +62 -0
- package/dist-cjs/commands/ListMailboxExportJobsCommand.js.map +1 -0
- package/dist-cjs/commands/ListMailboxPermissionsCommand.js +62 -0
- package/dist-cjs/commands/ListMailboxPermissionsCommand.js.map +1 -0
- package/dist-cjs/commands/ListMobileDeviceAccessOverridesCommand.js +61 -0
- package/dist-cjs/commands/ListMobileDeviceAccessOverridesCommand.js.map +1 -0
- package/dist-cjs/commands/ListMobileDeviceAccessRulesCommand.js +61 -0
- package/dist-cjs/commands/ListMobileDeviceAccessRulesCommand.js.map +1 -0
- package/dist-cjs/commands/ListOrganizationsCommand.js +61 -0
- package/dist-cjs/commands/ListOrganizationsCommand.js.map +1 -0
- package/dist-cjs/commands/ListResourceDelegatesCommand.js +62 -0
- package/dist-cjs/commands/ListResourceDelegatesCommand.js.map +1 -0
- package/dist-cjs/commands/ListResourcesCommand.js +61 -0
- package/dist-cjs/commands/ListResourcesCommand.js.map +1 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +61 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js.map +1 -0
- package/dist-cjs/commands/ListUsersCommand.js +61 -0
- package/dist-cjs/commands/ListUsersCommand.js.map +1 -0
- package/dist-cjs/commands/PutAccessControlRuleCommand.js +64 -0
- package/dist-cjs/commands/PutAccessControlRuleCommand.js.map +1 -0
- package/dist-cjs/commands/PutMailboxPermissionsCommand.js +62 -0
- package/dist-cjs/commands/PutMailboxPermissionsCommand.js.map +1 -0
- package/dist-cjs/commands/PutMobileDeviceAccessOverrideCommand.js +61 -0
- package/dist-cjs/commands/PutMobileDeviceAccessOverrideCommand.js.map +1 -0
- package/dist-cjs/commands/PutRetentionPolicyCommand.js +61 -0
- package/dist-cjs/commands/PutRetentionPolicyCommand.js.map +1 -0
- package/dist-cjs/commands/RegisterToWorkMailCommand.js +67 -0
- package/dist-cjs/commands/RegisterToWorkMailCommand.js.map +1 -0
- package/dist-cjs/commands/ResetPasswordCommand.js +61 -0
- package/dist-cjs/commands/ResetPasswordCommand.js.map +1 -0
- package/dist-cjs/commands/StartMailboxExportJobCommand.js +64 -0
- package/dist-cjs/commands/StartMailboxExportJobCommand.js.map +1 -0
- package/dist-cjs/commands/TagResourceCommand.js +62 -0
- package/dist-cjs/commands/TagResourceCommand.js.map +1 -0
- package/dist-cjs/commands/UntagResourceCommand.js +62 -0
- package/dist-cjs/commands/UntagResourceCommand.js.map +1 -0
- package/dist-cjs/commands/UpdateMailboxQuotaCommand.js +62 -0
- package/dist-cjs/commands/UpdateMailboxQuotaCommand.js.map +1 -0
- package/dist-cjs/commands/UpdateMobileDeviceAccessRuleCommand.js +61 -0
- package/dist-cjs/commands/UpdateMobileDeviceAccessRuleCommand.js.map +1 -0
- package/dist-cjs/commands/UpdatePrimaryEmailAddressCommand.js +63 -0
- package/dist-cjs/commands/UpdatePrimaryEmailAddressCommand.js.map +1 -0
- package/dist-cjs/commands/UpdateResourceCommand.js +63 -0
- package/dist-cjs/commands/UpdateResourceCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/endpoints.js +0 -0
- package/dist-cjs/endpoints.js.map +1 -0
- package/dist-cjs/index.js +76 -0
- package/dist-cjs/index.js.map +1 -0
- package/{dist/cjs → dist-cjs}/models/index.js +0 -0
- package/dist-cjs/models/index.js.map +1 -0
- package/dist-cjs/models/models_0.js +1438 -0
- package/dist-cjs/models/models_0.js.map +1 -0
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -0
- package/dist-cjs/pagination/Interfaces.js.map +1 -0
- package/dist-cjs/pagination/ListAliasesPaginator.js +46 -0
- package/dist-cjs/pagination/ListAliasesPaginator.js.map +1 -0
- package/dist-cjs/pagination/ListGroupMembersPaginator.js +46 -0
- package/dist-cjs/pagination/ListGroupMembersPaginator.js.map +1 -0
- package/dist-cjs/pagination/ListGroupsPaginator.js +46 -0
- package/dist-cjs/pagination/ListGroupsPaginator.js.map +1 -0
- package/dist-cjs/pagination/ListMailboxExportJobsPaginator.js +46 -0
- package/dist-cjs/pagination/ListMailboxExportJobsPaginator.js.map +1 -0
- package/dist-cjs/pagination/ListMailboxPermissionsPaginator.js +46 -0
- package/dist-cjs/pagination/ListMailboxPermissionsPaginator.js.map +1 -0
- package/dist-cjs/pagination/ListMobileDeviceAccessOverridesPaginator.js +46 -0
- package/dist-cjs/pagination/ListMobileDeviceAccessOverridesPaginator.js.map +1 -0
- package/dist-cjs/pagination/ListOrganizationsPaginator.js +46 -0
- package/dist-cjs/pagination/ListOrganizationsPaginator.js.map +1 -0
- package/dist-cjs/pagination/ListResourceDelegatesPaginator.js +46 -0
- package/dist-cjs/pagination/ListResourceDelegatesPaginator.js.map +1 -0
- package/dist-cjs/pagination/ListResourcesPaginator.js +46 -0
- package/dist-cjs/pagination/ListResourcesPaginator.js.map +1 -0
- package/dist-cjs/pagination/ListUsersPaginator.js +46 -0
- package/dist-cjs/pagination/ListUsersPaginator.js.map +1 -0
- package/dist-cjs/protocols/Aws_json1_1.js +6970 -0
- package/dist-cjs/protocols/Aws_json1_1.js.map +1 -0
- package/dist-cjs/runtimeConfig.browser.js +42 -0
- package/dist-cjs/runtimeConfig.browser.js.map +1 -0
- package/dist-cjs/runtimeConfig.js +47 -0
- package/dist-cjs/runtimeConfig.js.map +1 -0
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -0
- package/dist-cjs/runtimeConfig.native.js.map +1 -0
- package/dist-cjs/runtimeConfig.shared.js +21 -0
- package/dist-cjs/runtimeConfig.shared.js.map +1 -0
- package/dist-es/WorkMail.js +881 -0
- package/dist-es/WorkMail.js.map +1 -0
- package/dist-es/WorkMailClient.js +38 -0
- package/dist-es/WorkMailClient.js.map +1 -0
- package/dist-es/commands/AssociateDelegateToResourceCommand.js +40 -0
- package/dist-es/commands/AssociateDelegateToResourceCommand.js.map +1 -0
- package/dist-es/commands/AssociateMemberToGroupCommand.js +40 -0
- package/dist-es/commands/AssociateMemberToGroupCommand.js.map +1 -0
- package/dist-es/commands/CancelMailboxExportJobCommand.js +40 -0
- package/dist-es/commands/CancelMailboxExportJobCommand.js.map +1 -0
- package/dist-es/commands/CreateAliasCommand.js +40 -0
- package/dist-es/commands/CreateAliasCommand.js.map +1 -0
- package/dist-es/commands/CreateGroupCommand.js +40 -0
- package/dist-es/commands/CreateGroupCommand.js.map +1 -0
- package/dist-es/commands/CreateMobileDeviceAccessRuleCommand.js +40 -0
- package/dist-es/commands/CreateMobileDeviceAccessRuleCommand.js.map +1 -0
- package/dist-es/commands/CreateOrganizationCommand.js +40 -0
- package/dist-es/commands/CreateOrganizationCommand.js.map +1 -0
- package/dist-es/commands/CreateResourceCommand.js +40 -0
- package/dist-es/commands/CreateResourceCommand.js.map +1 -0
- package/dist-es/commands/CreateUserCommand.js +40 -0
- package/dist-es/commands/CreateUserCommand.js.map +1 -0
- package/dist-es/commands/DeleteAccessControlRuleCommand.js +40 -0
- package/dist-es/commands/DeleteAccessControlRuleCommand.js.map +1 -0
- package/dist-es/commands/DeleteAliasCommand.js +40 -0
- package/dist-es/commands/DeleteAliasCommand.js.map +1 -0
- package/dist-es/commands/DeleteGroupCommand.js +40 -0
- package/dist-es/commands/DeleteGroupCommand.js.map +1 -0
- package/dist-es/commands/DeleteMailboxPermissionsCommand.js +40 -0
- package/dist-es/commands/DeleteMailboxPermissionsCommand.js.map +1 -0
- package/dist-es/commands/DeleteMobileDeviceAccessOverrideCommand.js +40 -0
- package/dist-es/commands/DeleteMobileDeviceAccessOverrideCommand.js.map +1 -0
- package/dist-es/commands/DeleteMobileDeviceAccessRuleCommand.js +40 -0
- package/dist-es/commands/DeleteMobileDeviceAccessRuleCommand.js.map +1 -0
- package/dist-es/commands/DeleteOrganizationCommand.js +40 -0
- package/dist-es/commands/DeleteOrganizationCommand.js.map +1 -0
- package/dist-es/commands/DeleteResourceCommand.js +40 -0
- package/dist-es/commands/DeleteResourceCommand.js.map +1 -0
- package/dist-es/commands/DeleteRetentionPolicyCommand.js +40 -0
- package/dist-es/commands/DeleteRetentionPolicyCommand.js.map +1 -0
- package/dist-es/commands/DeleteUserCommand.js +40 -0
- package/dist-es/commands/DeleteUserCommand.js.map +1 -0
- package/dist-es/commands/DeregisterFromWorkMailCommand.js +40 -0
- package/dist-es/commands/DeregisterFromWorkMailCommand.js.map +1 -0
- package/dist-es/commands/DescribeGroupCommand.js +40 -0
- package/dist-es/commands/DescribeGroupCommand.js.map +1 -0
- package/dist-es/commands/DescribeMailboxExportJobCommand.js +40 -0
- package/dist-es/commands/DescribeMailboxExportJobCommand.js.map +1 -0
- package/dist-es/commands/DescribeOrganizationCommand.js +40 -0
- package/dist-es/commands/DescribeOrganizationCommand.js.map +1 -0
- package/dist-es/commands/DescribeResourceCommand.js +40 -0
- package/dist-es/commands/DescribeResourceCommand.js.map +1 -0
- package/dist-es/commands/DescribeUserCommand.js +40 -0
- package/dist-es/commands/DescribeUserCommand.js.map +1 -0
- package/dist-es/commands/DisassociateDelegateFromResourceCommand.js +40 -0
- package/dist-es/commands/DisassociateDelegateFromResourceCommand.js.map +1 -0
- package/dist-es/commands/DisassociateMemberFromGroupCommand.js +40 -0
- package/dist-es/commands/DisassociateMemberFromGroupCommand.js.map +1 -0
- package/dist-es/commands/GetAccessControlEffectCommand.js +40 -0
- package/dist-es/commands/GetAccessControlEffectCommand.js.map +1 -0
- package/dist-es/commands/GetDefaultRetentionPolicyCommand.js +40 -0
- package/dist-es/commands/GetDefaultRetentionPolicyCommand.js.map +1 -0
- package/dist-es/commands/GetMailboxDetailsCommand.js +40 -0
- package/dist-es/commands/GetMailboxDetailsCommand.js.map +1 -0
- package/dist-es/commands/GetMobileDeviceAccessEffectCommand.js +40 -0
- package/dist-es/commands/GetMobileDeviceAccessEffectCommand.js.map +1 -0
- package/dist-es/commands/GetMobileDeviceAccessOverrideCommand.js +40 -0
- package/dist-es/commands/GetMobileDeviceAccessOverrideCommand.js.map +1 -0
- package/dist-es/commands/ListAccessControlRulesCommand.js +40 -0
- package/dist-es/commands/ListAccessControlRulesCommand.js.map +1 -0
- package/dist-es/commands/ListAliasesCommand.js +40 -0
- package/dist-es/commands/ListAliasesCommand.js.map +1 -0
- package/dist-es/commands/ListGroupMembersCommand.js +40 -0
- package/dist-es/commands/ListGroupMembersCommand.js.map +1 -0
- package/dist-es/commands/ListGroupsCommand.js +40 -0
- package/dist-es/commands/ListGroupsCommand.js.map +1 -0
- package/dist-es/commands/ListMailboxExportJobsCommand.js +40 -0
- package/dist-es/commands/ListMailboxExportJobsCommand.js.map +1 -0
- package/dist-es/commands/ListMailboxPermissionsCommand.js +40 -0
- package/dist-es/commands/ListMailboxPermissionsCommand.js.map +1 -0
- package/dist-es/commands/ListMobileDeviceAccessOverridesCommand.js +40 -0
- package/dist-es/commands/ListMobileDeviceAccessOverridesCommand.js.map +1 -0
- package/dist-es/commands/ListMobileDeviceAccessRulesCommand.js +40 -0
- package/dist-es/commands/ListMobileDeviceAccessRulesCommand.js.map +1 -0
- package/dist-es/commands/ListOrganizationsCommand.js +40 -0
- package/dist-es/commands/ListOrganizationsCommand.js.map +1 -0
- package/dist-es/commands/ListResourceDelegatesCommand.js +40 -0
- package/dist-es/commands/ListResourceDelegatesCommand.js.map +1 -0
- package/dist-es/commands/ListResourcesCommand.js +40 -0
- package/dist-es/commands/ListResourcesCommand.js.map +1 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +40 -0
- package/dist-es/commands/ListTagsForResourceCommand.js.map +1 -0
- package/dist-es/commands/ListUsersCommand.js +40 -0
- package/dist-es/commands/ListUsersCommand.js.map +1 -0
- package/dist-es/commands/PutAccessControlRuleCommand.js +40 -0
- package/dist-es/commands/PutAccessControlRuleCommand.js.map +1 -0
- package/dist-es/commands/PutMailboxPermissionsCommand.js +40 -0
- package/dist-es/commands/PutMailboxPermissionsCommand.js.map +1 -0
- package/dist-es/commands/PutMobileDeviceAccessOverrideCommand.js +40 -0
- package/dist-es/commands/PutMobileDeviceAccessOverrideCommand.js.map +1 -0
- package/dist-es/commands/PutRetentionPolicyCommand.js +40 -0
- package/dist-es/commands/PutRetentionPolicyCommand.js.map +1 -0
- package/dist-es/commands/RegisterToWorkMailCommand.js +40 -0
- package/dist-es/commands/RegisterToWorkMailCommand.js.map +1 -0
- package/dist-es/commands/ResetPasswordCommand.js +40 -0
- package/dist-es/commands/ResetPasswordCommand.js.map +1 -0
- package/dist-es/commands/StartMailboxExportJobCommand.js +40 -0
- package/dist-es/commands/StartMailboxExportJobCommand.js.map +1 -0
- package/dist-es/commands/TagResourceCommand.js +40 -0
- package/dist-es/commands/TagResourceCommand.js.map +1 -0
- package/dist-es/commands/UntagResourceCommand.js +40 -0
- package/dist-es/commands/UntagResourceCommand.js.map +1 -0
- package/dist-es/commands/UpdateMailboxQuotaCommand.js +40 -0
- package/dist-es/commands/UpdateMailboxQuotaCommand.js.map +1 -0
- package/dist-es/commands/UpdateMobileDeviceAccessRuleCommand.js +40 -0
- package/dist-es/commands/UpdateMobileDeviceAccessRuleCommand.js.map +1 -0
- package/dist-es/commands/UpdatePrimaryEmailAddressCommand.js +40 -0
- package/dist-es/commands/UpdatePrimaryEmailAddressCommand.js.map +1 -0
- package/dist-es/commands/UpdateResourceCommand.js +40 -0
- package/dist-es/commands/UpdateResourceCommand.js.map +1 -0
- package/{dist/es → dist-es}/endpoints.js +0 -0
- package/dist-es/endpoints.js.map +1 -0
- package/dist-es/index.js +73 -0
- package/dist-es/index.js.map +1 -0
- package/{dist/es → dist-es}/models/index.js +0 -0
- package/dist-es/models/index.js.map +1 -0
- package/dist-es/models/models_0.js +670 -0
- package/dist-es/models/models_0.js.map +1 -0
- package/{dist/es → dist-es}/pagination/Interfaces.js +0 -0
- package/dist-es/pagination/Interfaces.js.map +1 -0
- package/dist-es/pagination/ListAliasesPaginator.js +75 -0
- package/dist-es/pagination/ListAliasesPaginator.js.map +1 -0
- package/dist-es/pagination/ListGroupMembersPaginator.js +75 -0
- package/dist-es/pagination/ListGroupMembersPaginator.js.map +1 -0
- package/dist-es/pagination/ListGroupsPaginator.js +75 -0
- package/dist-es/pagination/ListGroupsPaginator.js.map +1 -0
- package/dist-es/pagination/ListMailboxExportJobsPaginator.js +75 -0
- package/dist-es/pagination/ListMailboxExportJobsPaginator.js.map +1 -0
- package/dist-es/pagination/ListMailboxPermissionsPaginator.js +75 -0
- package/dist-es/pagination/ListMailboxPermissionsPaginator.js.map +1 -0
- package/dist-es/pagination/ListMobileDeviceAccessOverridesPaginator.js +75 -0
- package/dist-es/pagination/ListMobileDeviceAccessOverridesPaginator.js.map +1 -0
- package/dist-es/pagination/ListOrganizationsPaginator.js +75 -0
- package/dist-es/pagination/ListOrganizationsPaginator.js.map +1 -0
- package/dist-es/pagination/ListResourceDelegatesPaginator.js +75 -0
- package/dist-es/pagination/ListResourceDelegatesPaginator.js.map +1 -0
- package/dist-es/pagination/ListResourcesPaginator.js +75 -0
- package/dist-es/pagination/ListResourcesPaginator.js.map +1 -0
- package/dist-es/pagination/ListUsersPaginator.js +75 -0
- package/dist-es/pagination/ListUsersPaginator.js.map +1 -0
- package/dist-es/protocols/Aws_json1_1.js +7242 -0
- package/dist-es/protocols/Aws_json1_1.js.map +1 -0
- package/dist-es/runtimeConfig.browser.js +17 -0
- package/dist-es/runtimeConfig.browser.js.map +1 -0
- package/dist-es/runtimeConfig.js +22 -0
- package/dist-es/runtimeConfig.js.map +1 -0
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -0
- package/dist-es/runtimeConfig.native.js.map +1 -0
- package/dist-es/runtimeConfig.shared.js +14 -0
- package/dist-es/runtimeConfig.shared.js.map +1 -0
- package/dist-types/WorkMail.d.ts +492 -0
- package/dist-types/WorkMailClient.d.ts +225 -0
- package/dist-types/commands/AssociateDelegateToResourceCommand.d.ts +35 -0
- package/dist-types/commands/AssociateMemberToGroupCommand.d.ts +35 -0
- package/dist-types/commands/CancelMailboxExportJobCommand.d.ts +39 -0
- package/dist-types/commands/CreateAliasCommand.d.ts +35 -0
- package/dist-types/commands/CreateGroupCommand.d.ts +35 -0
- package/dist-types/commands/CreateMobileDeviceAccessRuleCommand.d.ts +35 -0
- package/dist-types/commands/CreateOrganizationCommand.d.ts +39 -0
- package/dist-types/commands/CreateResourceCommand.d.ts +35 -0
- package/dist-types/commands/CreateUserCommand.d.ts +35 -0
- package/dist-types/commands/DeleteAccessControlRuleCommand.d.ts +35 -0
- package/dist-types/commands/DeleteAliasCommand.d.ts +36 -0
- package/dist-types/commands/DeleteGroupCommand.d.ts +35 -0
- package/dist-types/commands/DeleteMailboxPermissionsCommand.d.ts +35 -0
- package/dist-types/commands/DeleteMobileDeviceAccessOverrideCommand.d.ts +35 -0
- package/dist-types/commands/DeleteMobileDeviceAccessRuleCommand.d.ts +35 -0
- package/dist-types/commands/DeleteOrganizationCommand.d.ts +35 -0
- package/dist-types/commands/DeleteResourceCommand.d.ts +35 -0
- package/dist-types/commands/DeleteRetentionPolicyCommand.d.ts +35 -0
- package/dist-types/commands/DeleteUserCommand.d.ts +39 -0
- package/dist-types/commands/DeregisterFromWorkMailCommand.d.ts +38 -0
- package/dist-types/commands/DescribeGroupCommand.d.ts +35 -0
- package/dist-types/commands/DescribeMailboxExportJobCommand.d.ts +35 -0
- package/dist-types/commands/DescribeOrganizationCommand.d.ts +36 -0
- package/dist-types/commands/DescribeResourceCommand.d.ts +35 -0
- package/dist-types/commands/DescribeUserCommand.d.ts +35 -0
- package/dist-types/commands/DisassociateDelegateFromResourceCommand.d.ts +35 -0
- package/dist-types/commands/DisassociateMemberFromGroupCommand.d.ts +35 -0
- package/dist-types/commands/GetAccessControlEffectCommand.d.ts +36 -0
- package/dist-types/commands/GetDefaultRetentionPolicyCommand.d.ts +35 -0
- package/dist-types/commands/GetMailboxDetailsCommand.d.ts +35 -0
- package/dist-types/commands/GetMobileDeviceAccessEffectCommand.d.ts +36 -0
- package/dist-types/commands/GetMobileDeviceAccessOverrideCommand.d.ts +35 -0
- package/dist-types/commands/ListAccessControlRulesCommand.d.ts +35 -0
- package/dist-types/commands/ListAliasesCommand.d.ts +36 -0
- package/dist-types/commands/ListGroupMembersCommand.d.ts +36 -0
- package/dist-types/commands/ListGroupsCommand.d.ts +35 -0
- package/dist-types/commands/ListMailboxExportJobsCommand.d.ts +36 -0
- package/dist-types/commands/ListMailboxPermissionsCommand.d.ts +36 -0
- package/dist-types/commands/ListMobileDeviceAccessOverridesCommand.d.ts +35 -0
- package/dist-types/commands/ListMobileDeviceAccessRulesCommand.d.ts +35 -0
- package/dist-types/commands/ListOrganizationsCommand.d.ts +35 -0
- package/dist-types/commands/ListResourceDelegatesCommand.d.ts +36 -0
- package/dist-types/commands/ListResourcesCommand.d.ts +35 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +35 -0
- package/dist-types/commands/ListUsersCommand.d.ts +35 -0
- package/dist-types/commands/PutAccessControlRuleCommand.d.ts +38 -0
- package/dist-types/commands/PutMailboxPermissionsCommand.d.ts +36 -0
- package/dist-types/commands/PutMobileDeviceAccessOverrideCommand.d.ts +35 -0
- package/dist-types/commands/PutRetentionPolicyCommand.d.ts +35 -0
- package/dist-types/commands/RegisterToWorkMailCommand.d.ts +41 -0
- package/dist-types/commands/ResetPasswordCommand.d.ts +35 -0
- package/dist-types/commands/StartMailboxExportJobCommand.d.ts +38 -0
- package/dist-types/commands/TagResourceCommand.d.ts +36 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +36 -0
- package/dist-types/commands/UpdateMailboxQuotaCommand.d.ts +36 -0
- package/dist-types/commands/UpdateMobileDeviceAccessRuleCommand.d.ts +35 -0
- package/dist-types/commands/UpdatePrimaryEmailAddressCommand.d.ts +37 -0
- package/dist-types/commands/UpdateResourceCommand.d.ts +37 -0
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/dist-types/index.d.ts +72 -0
- package/{dist/types → dist-types}/models/index.d.ts +0 -0
- package/dist-types/models/models_0.d.ts +3107 -0
- package/dist-types/pagination/Interfaces.d.ts +6 -0
- package/dist-types/pagination/ListAliasesPaginator.d.ts +4 -0
- package/dist-types/pagination/ListGroupMembersPaginator.d.ts +4 -0
- package/dist-types/pagination/ListGroupsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListMailboxExportJobsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListMailboxPermissionsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListMobileDeviceAccessOverridesPaginator.d.ts +4 -0
- package/dist-types/pagination/ListOrganizationsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListResourceDelegatesPaginator.d.ts +4 -0
- package/dist-types/pagination/ListResourcesPaginator.d.ts +4 -0
- package/dist-types/pagination/ListUsersPaginator.d.ts +4 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +176 -0
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
- package/dist-types/runtimeConfig.d.ts +37 -0
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/dist-types/ts3.4/WorkMail.d.ts +492 -0
- package/dist-types/ts3.4/WorkMailClient.d.ts +225 -0
- package/dist-types/ts3.4/commands/AssociateDelegateToResourceCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/AssociateMemberToGroupCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/CancelMailboxExportJobCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreateAliasCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/CreateGroupCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/CreateMobileDeviceAccessRuleCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/CreateOrganizationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreateResourceCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/CreateUserCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DeleteAccessControlRuleCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DeleteAliasCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/DeleteGroupCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DeleteMailboxPermissionsCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DeleteMobileDeviceAccessOverrideCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DeleteMobileDeviceAccessRuleCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DeleteOrganizationCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DeleteResourceCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DeleteRetentionPolicyCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeregisterFromWorkMailCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DescribeGroupCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DescribeMailboxExportJobCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DescribeOrganizationCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/DescribeResourceCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DescribeUserCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DisassociateDelegateFromResourceCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DisassociateMemberFromGroupCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetAccessControlEffectCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/GetDefaultRetentionPolicyCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetMailboxDetailsCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetMobileDeviceAccessEffectCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/GetMobileDeviceAccessOverrideCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListAccessControlRulesCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListAliasesCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/ListGroupMembersCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/ListGroupsCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListMailboxExportJobsCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/ListMailboxPermissionsCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/ListMobileDeviceAccessOverridesCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListMobileDeviceAccessRulesCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListOrganizationsCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListResourceDelegatesCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/ListResourcesCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListUsersCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/PutAccessControlRuleCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/PutMailboxPermissionsCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/PutMobileDeviceAccessOverrideCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/PutRetentionPolicyCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/RegisterToWorkMailCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ResetPasswordCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/StartMailboxExportJobCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/UpdateMailboxQuotaCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/UpdateMobileDeviceAccessRuleCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UpdatePrimaryEmailAddressCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/UpdateResourceCommand.d.ts +37 -0
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/dist-types/ts3.4/index.d.ts +72 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/dist-types/ts3.4/models/models_0.d.ts +3107 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListAliasesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListGroupMembersPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListGroupsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListMailboxExportJobsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListMailboxPermissionsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListMobileDeviceAccessOverridesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListOrganizationsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListResourceDelegatesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListResourcesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListUsersPaginator.d.ts +4 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +176 -0
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +0 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +37 -0
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
- package/package.json +42 -42
- package/src/WorkMail.ts +2130 -0
- package/src/WorkMailClient.ts +538 -0
- package/src/commands/AssociateDelegateToResourceCommand.ts +100 -0
- package/src/commands/AssociateMemberToGroupCommand.ts +95 -0
- package/src/commands/CancelMailboxExportJobCommand.ts +99 -0
- package/src/commands/CreateAliasCommand.ts +95 -0
- package/src/commands/CreateGroupCommand.ts +95 -0
- package/src/commands/CreateMobileDeviceAccessRuleCommand.ts +100 -0
- package/src/commands/CreateOrganizationCommand.ts +99 -0
- package/src/commands/CreateResourceCommand.ts +95 -0
- package/src/commands/CreateUserCommand.ts +95 -0
- package/src/commands/DeleteAccessControlRuleCommand.ts +95 -0
- package/src/commands/DeleteAliasCommand.ts +96 -0
- package/src/commands/DeleteGroupCommand.ts +95 -0
- package/src/commands/DeleteMailboxPermissionsCommand.ts +95 -0
- package/src/commands/DeleteMobileDeviceAccessOverrideCommand.ts +103 -0
- package/src/commands/DeleteMobileDeviceAccessRuleCommand.ts +100 -0
- package/src/commands/DeleteOrganizationCommand.ts +95 -0
- package/src/commands/DeleteResourceCommand.ts +95 -0
- package/src/commands/DeleteRetentionPolicyCommand.ts +95 -0
- package/src/commands/DeleteUserCommand.ts +99 -0
- package/src/commands/DeregisterFromWorkMailCommand.ts +98 -0
- package/src/commands/DescribeGroupCommand.ts +95 -0
- package/src/commands/DescribeMailboxExportJobCommand.ts +95 -0
- package/src/commands/DescribeOrganizationCommand.ts +96 -0
- package/src/commands/DescribeResourceCommand.ts +95 -0
- package/src/commands/DescribeUserCommand.ts +95 -0
- package/src/commands/DisassociateDelegateFromResourceCommand.ts +103 -0
- package/src/commands/DisassociateMemberFromGroupCommand.ts +100 -0
- package/src/commands/GetAccessControlEffectCommand.ts +96 -0
- package/src/commands/GetDefaultRetentionPolicyCommand.ts +98 -0
- package/src/commands/GetMailboxDetailsCommand.ts +95 -0
- package/src/commands/GetMobileDeviceAccessEffectCommand.ts +101 -0
- package/src/commands/GetMobileDeviceAccessOverrideCommand.ts +100 -0
- package/src/commands/ListAccessControlRulesCommand.ts +95 -0
- package/src/commands/ListAliasesCommand.ts +96 -0
- package/src/commands/ListGroupMembersCommand.ts +96 -0
- package/src/commands/ListGroupsCommand.ts +95 -0
- package/src/commands/ListMailboxExportJobsCommand.ts +96 -0
- package/src/commands/ListMailboxPermissionsCommand.ts +96 -0
- package/src/commands/ListMobileDeviceAccessOverridesCommand.ts +103 -0
- package/src/commands/ListMobileDeviceAccessRulesCommand.ts +100 -0
- package/src/commands/ListOrganizationsCommand.ts +95 -0
- package/src/commands/ListResourceDelegatesCommand.ts +96 -0
- package/src/commands/ListResourcesCommand.ts +95 -0
- package/src/commands/ListTagsForResourceCommand.ts +95 -0
- package/src/commands/ListUsersCommand.ts +92 -0
- package/src/commands/PutAccessControlRuleCommand.ts +98 -0
- package/src/commands/PutMailboxPermissionsCommand.ts +96 -0
- package/src/commands/PutMobileDeviceAccessOverrideCommand.ts +100 -0
- package/src/commands/PutRetentionPolicyCommand.ts +95 -0
- package/src/commands/RegisterToWorkMailCommand.ts +101 -0
- package/src/commands/ResetPasswordCommand.ts +95 -0
- package/src/commands/StartMailboxExportJobCommand.ts +98 -0
- package/src/commands/TagResourceCommand.ts +96 -0
- package/src/commands/UntagResourceCommand.ts +96 -0
- package/src/commands/UpdateMailboxQuotaCommand.ts +96 -0
- package/src/commands/UpdateMobileDeviceAccessRuleCommand.ts +100 -0
- package/src/commands/UpdatePrimaryEmailAddressCommand.ts +100 -0
- package/src/commands/UpdateResourceCommand.ts +97 -0
- package/src/endpoints.ts +57 -0
- package/src/index.ts +72 -0
- package/{models → src/models}/index.ts +0 -0
- package/src/models/models_0.ts +3975 -0
- package/src/pagination/Interfaces.ts +8 -0
- package/src/pagination/ListAliasesPaginator.ts +55 -0
- package/src/pagination/ListGroupMembersPaginator.ts +59 -0
- package/src/pagination/ListGroupsPaginator.ts +55 -0
- package/src/pagination/ListMailboxExportJobsPaginator.ts +59 -0
- package/src/pagination/ListMailboxPermissionsPaginator.ts +59 -0
- package/src/pagination/ListMobileDeviceAccessOverridesPaginator.ts +59 -0
- package/src/pagination/ListOrganizationsPaginator.ts +59 -0
- package/src/pagination/ListResourceDelegatesPaginator.ts +59 -0
- package/src/pagination/ListResourcesPaginator.ts +59 -0
- package/src/pagination/ListUsersPaginator.ts +55 -0
- package/src/protocols/Aws_json1_1.ts +8511 -0
- package/src/runtimeConfig.browser.ts +41 -0
- package/src/runtimeConfig.native.ts +17 -0
- package/src/runtimeConfig.shared.ts +17 -0
- package/src/runtimeConfig.ts +46 -0
- package/tsconfig.es.json +1 -1
- package/tsconfig.json +4 -2
- package/tsconfig.types.json +3 -2
- package/WorkMail.ts +0 -1981
- package/WorkMailClient.ts +0 -513
- package/commands/AssociateDelegateToResourceCommand.ts +0 -99
- package/commands/AssociateMemberToGroupCommand.ts +0 -94
- package/commands/CancelMailboxExportJobCommand.ts +0 -98
- package/commands/CreateAliasCommand.ts +0 -94
- package/commands/CreateGroupCommand.ts +0 -94
- package/commands/CreateMobileDeviceAccessRuleCommand.ts +0 -99
- package/commands/CreateOrganizationCommand.ts +0 -98
- package/commands/CreateResourceCommand.ts +0 -94
- package/commands/CreateUserCommand.ts +0 -94
- package/commands/DeleteAccessControlRuleCommand.ts +0 -94
- package/commands/DeleteAliasCommand.ts +0 -95
- package/commands/DeleteGroupCommand.ts +0 -94
- package/commands/DeleteMailboxPermissionsCommand.ts +0 -94
- package/commands/DeleteMobileDeviceAccessRuleCommand.ts +0 -99
- package/commands/DeleteOrganizationCommand.ts +0 -94
- package/commands/DeleteResourceCommand.ts +0 -94
- package/commands/DeleteRetentionPolicyCommand.ts +0 -94
- package/commands/DeleteUserCommand.ts +0 -98
- package/commands/DeregisterFromWorkMailCommand.ts +0 -97
- package/commands/DescribeGroupCommand.ts +0 -94
- package/commands/DescribeMailboxExportJobCommand.ts +0 -94
- package/commands/DescribeOrganizationCommand.ts +0 -95
- package/commands/DescribeResourceCommand.ts +0 -94
- package/commands/DescribeUserCommand.ts +0 -94
- package/commands/DisassociateDelegateFromResourceCommand.ts +0 -102
- package/commands/DisassociateMemberFromGroupCommand.ts +0 -99
- package/commands/GetAccessControlEffectCommand.ts +0 -95
- package/commands/GetDefaultRetentionPolicyCommand.ts +0 -97
- package/commands/GetMailboxDetailsCommand.ts +0 -94
- package/commands/GetMobileDeviceAccessEffectCommand.ts +0 -100
- package/commands/ListAccessControlRulesCommand.ts +0 -94
- package/commands/ListAliasesCommand.ts +0 -95
- package/commands/ListGroupMembersCommand.ts +0 -95
- package/commands/ListGroupsCommand.ts +0 -94
- package/commands/ListMailboxExportJobsCommand.ts +0 -95
- package/commands/ListMailboxPermissionsCommand.ts +0 -95
- package/commands/ListMobileDeviceAccessRulesCommand.ts +0 -99
- package/commands/ListOrganizationsCommand.ts +0 -94
- package/commands/ListResourceDelegatesCommand.ts +0 -95
- package/commands/ListResourcesCommand.ts +0 -94
- package/commands/ListTagsForResourceCommand.ts +0 -94
- package/commands/ListUsersCommand.ts +0 -91
- package/commands/PutAccessControlRuleCommand.ts +0 -97
- package/commands/PutMailboxPermissionsCommand.ts +0 -95
- package/commands/PutRetentionPolicyCommand.ts +0 -94
- package/commands/RegisterToWorkMailCommand.ts +0 -100
- package/commands/ResetPasswordCommand.ts +0 -94
- package/commands/StartMailboxExportJobCommand.ts +0 -97
- package/commands/TagResourceCommand.ts +0 -95
- package/commands/UntagResourceCommand.ts +0 -95
- package/commands/UpdateMailboxQuotaCommand.ts +0 -95
- package/commands/UpdateMobileDeviceAccessRuleCommand.ts +0 -99
- package/commands/UpdatePrimaryEmailAddressCommand.ts +0 -99
- package/commands/UpdateResourceCommand.ts +0 -96
- package/dist/cjs/WorkMail.js +0 -856
- package/dist/cjs/WorkMail.js.map +0 -1
- package/dist/cjs/WorkMailClient.js +0 -79
- package/dist/cjs/WorkMailClient.js.map +0 -1
- package/dist/cjs/commands/AssociateDelegateToResourceCommand.js +0 -61
- package/dist/cjs/commands/AssociateDelegateToResourceCommand.js.map +0 -1
- package/dist/cjs/commands/AssociateMemberToGroupCommand.js +0 -61
- package/dist/cjs/commands/AssociateMemberToGroupCommand.js.map +0 -1
- package/dist/cjs/commands/CancelMailboxExportJobCommand.js +0 -65
- package/dist/cjs/commands/CancelMailboxExportJobCommand.js.map +0 -1
- package/dist/cjs/commands/CreateAliasCommand.js +0 -61
- package/dist/cjs/commands/CreateAliasCommand.js.map +0 -1
- package/dist/cjs/commands/CreateGroupCommand.js +0 -61
- package/dist/cjs/commands/CreateGroupCommand.js.map +0 -1
- package/dist/cjs/commands/CreateMobileDeviceAccessRuleCommand.js +0 -61
- package/dist/cjs/commands/CreateMobileDeviceAccessRuleCommand.js.map +0 -1
- package/dist/cjs/commands/CreateOrganizationCommand.js +0 -65
- package/dist/cjs/commands/CreateOrganizationCommand.js.map +0 -1
- package/dist/cjs/commands/CreateResourceCommand.js +0 -61
- package/dist/cjs/commands/CreateResourceCommand.js.map +0 -1
- package/dist/cjs/commands/CreateUserCommand.js +0 -61
- package/dist/cjs/commands/CreateUserCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteAccessControlRuleCommand.js +0 -61
- package/dist/cjs/commands/DeleteAccessControlRuleCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteAliasCommand.js +0 -62
- package/dist/cjs/commands/DeleteAliasCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteGroupCommand.js +0 -61
- package/dist/cjs/commands/DeleteGroupCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteMailboxPermissionsCommand.js +0 -61
- package/dist/cjs/commands/DeleteMailboxPermissionsCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteMobileDeviceAccessRuleCommand.js +0 -61
- package/dist/cjs/commands/DeleteMobileDeviceAccessRuleCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteOrganizationCommand.js +0 -61
- package/dist/cjs/commands/DeleteOrganizationCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteResourceCommand.js +0 -61
- package/dist/cjs/commands/DeleteResourceCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteRetentionPolicyCommand.js +0 -61
- package/dist/cjs/commands/DeleteRetentionPolicyCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteUserCommand.js +0 -65
- package/dist/cjs/commands/DeleteUserCommand.js.map +0 -1
- package/dist/cjs/commands/DeregisterFromWorkMailCommand.js +0 -64
- package/dist/cjs/commands/DeregisterFromWorkMailCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeGroupCommand.js +0 -61
- package/dist/cjs/commands/DescribeGroupCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeMailboxExportJobCommand.js +0 -61
- package/dist/cjs/commands/DescribeMailboxExportJobCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeOrganizationCommand.js +0 -62
- package/dist/cjs/commands/DescribeOrganizationCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeResourceCommand.js +0 -61
- package/dist/cjs/commands/DescribeResourceCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeUserCommand.js +0 -61
- package/dist/cjs/commands/DescribeUserCommand.js.map +0 -1
- package/dist/cjs/commands/DisassociateDelegateFromResourceCommand.js +0 -61
- package/dist/cjs/commands/DisassociateDelegateFromResourceCommand.js.map +0 -1
- package/dist/cjs/commands/DisassociateMemberFromGroupCommand.js +0 -61
- package/dist/cjs/commands/DisassociateMemberFromGroupCommand.js.map +0 -1
- package/dist/cjs/commands/GetAccessControlEffectCommand.js +0 -62
- package/dist/cjs/commands/GetAccessControlEffectCommand.js.map +0 -1
- package/dist/cjs/commands/GetDefaultRetentionPolicyCommand.js +0 -61
- package/dist/cjs/commands/GetDefaultRetentionPolicyCommand.js.map +0 -1
- package/dist/cjs/commands/GetMailboxDetailsCommand.js +0 -61
- package/dist/cjs/commands/GetMailboxDetailsCommand.js.map +0 -1
- package/dist/cjs/commands/GetMobileDeviceAccessEffectCommand.js +0 -62
- package/dist/cjs/commands/GetMobileDeviceAccessEffectCommand.js.map +0 -1
- package/dist/cjs/commands/ListAccessControlRulesCommand.js +0 -61
- package/dist/cjs/commands/ListAccessControlRulesCommand.js.map +0 -1
- package/dist/cjs/commands/ListAliasesCommand.js +0 -62
- package/dist/cjs/commands/ListAliasesCommand.js.map +0 -1
- package/dist/cjs/commands/ListGroupMembersCommand.js +0 -62
- package/dist/cjs/commands/ListGroupMembersCommand.js.map +0 -1
- package/dist/cjs/commands/ListGroupsCommand.js +0 -61
- package/dist/cjs/commands/ListGroupsCommand.js.map +0 -1
- package/dist/cjs/commands/ListMailboxExportJobsCommand.js +0 -62
- package/dist/cjs/commands/ListMailboxExportJobsCommand.js.map +0 -1
- package/dist/cjs/commands/ListMailboxPermissionsCommand.js +0 -62
- package/dist/cjs/commands/ListMailboxPermissionsCommand.js.map +0 -1
- package/dist/cjs/commands/ListMobileDeviceAccessRulesCommand.js +0 -61
- package/dist/cjs/commands/ListMobileDeviceAccessRulesCommand.js.map +0 -1
- package/dist/cjs/commands/ListOrganizationsCommand.js +0 -61
- package/dist/cjs/commands/ListOrganizationsCommand.js.map +0 -1
- package/dist/cjs/commands/ListResourceDelegatesCommand.js +0 -62
- package/dist/cjs/commands/ListResourceDelegatesCommand.js.map +0 -1
- package/dist/cjs/commands/ListResourcesCommand.js +0 -61
- package/dist/cjs/commands/ListResourcesCommand.js.map +0 -1
- package/dist/cjs/commands/ListTagsForResourceCommand.js +0 -61
- package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/cjs/commands/ListUsersCommand.js +0 -61
- package/dist/cjs/commands/ListUsersCommand.js.map +0 -1
- package/dist/cjs/commands/PutAccessControlRuleCommand.js +0 -64
- package/dist/cjs/commands/PutAccessControlRuleCommand.js.map +0 -1
- package/dist/cjs/commands/PutMailboxPermissionsCommand.js +0 -62
- package/dist/cjs/commands/PutMailboxPermissionsCommand.js.map +0 -1
- package/dist/cjs/commands/PutRetentionPolicyCommand.js +0 -61
- package/dist/cjs/commands/PutRetentionPolicyCommand.js.map +0 -1
- package/dist/cjs/commands/RegisterToWorkMailCommand.js +0 -67
- package/dist/cjs/commands/RegisterToWorkMailCommand.js.map +0 -1
- package/dist/cjs/commands/ResetPasswordCommand.js +0 -61
- package/dist/cjs/commands/ResetPasswordCommand.js.map +0 -1
- package/dist/cjs/commands/StartMailboxExportJobCommand.js +0 -64
- package/dist/cjs/commands/StartMailboxExportJobCommand.js.map +0 -1
- package/dist/cjs/commands/TagResourceCommand.js +0 -62
- package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UntagResourceCommand.js +0 -62
- package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateMailboxQuotaCommand.js +0 -62
- package/dist/cjs/commands/UpdateMailboxQuotaCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateMobileDeviceAccessRuleCommand.js +0 -61
- package/dist/cjs/commands/UpdateMobileDeviceAccessRuleCommand.js.map +0 -1
- package/dist/cjs/commands/UpdatePrimaryEmailAddressCommand.js +0 -63
- package/dist/cjs/commands/UpdatePrimaryEmailAddressCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateResourceCommand.js +0 -63
- package/dist/cjs/commands/UpdateResourceCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js +0 -71
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/index.js.map +0 -1
- package/dist/cjs/models/models_0.js +0 -1357
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -93
- package/dist/cjs/pagination/Interfaces.js.map +0 -1
- package/dist/cjs/pagination/ListAliasesPaginator.js +0 -46
- package/dist/cjs/pagination/ListAliasesPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListGroupMembersPaginator.js +0 -46
- package/dist/cjs/pagination/ListGroupMembersPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListGroupsPaginator.js +0 -46
- package/dist/cjs/pagination/ListGroupsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListMailboxExportJobsPaginator.js +0 -46
- package/dist/cjs/pagination/ListMailboxExportJobsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListMailboxPermissionsPaginator.js +0 -46
- package/dist/cjs/pagination/ListMailboxPermissionsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListOrganizationsPaginator.js +0 -46
- package/dist/cjs/pagination/ListOrganizationsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListResourceDelegatesPaginator.js +0 -46
- package/dist/cjs/pagination/ListResourceDelegatesPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListResourcesPaginator.js +0 -46
- package/dist/cjs/pagination/ListResourcesPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListUsersPaginator.js +0 -46
- package/dist/cjs/pagination/ListUsersPaginator.js.map +0 -1
- package/dist/cjs/protocols/Aws_json1_1.js +0 -6542
- package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js +0 -41
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js +0 -46
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js +0 -21
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/es/WorkMail.js +0 -821
- package/dist/es/WorkMail.js.map +0 -1
- package/dist/es/WorkMailClient.js +0 -38
- package/dist/es/WorkMailClient.js.map +0 -1
- package/dist/es/commands/AssociateDelegateToResourceCommand.js +0 -40
- package/dist/es/commands/AssociateDelegateToResourceCommand.js.map +0 -1
- package/dist/es/commands/AssociateMemberToGroupCommand.js +0 -40
- package/dist/es/commands/AssociateMemberToGroupCommand.js.map +0 -1
- package/dist/es/commands/CancelMailboxExportJobCommand.js +0 -40
- package/dist/es/commands/CancelMailboxExportJobCommand.js.map +0 -1
- package/dist/es/commands/CreateAliasCommand.js +0 -40
- package/dist/es/commands/CreateAliasCommand.js.map +0 -1
- package/dist/es/commands/CreateGroupCommand.js +0 -40
- package/dist/es/commands/CreateGroupCommand.js.map +0 -1
- package/dist/es/commands/CreateMobileDeviceAccessRuleCommand.js +0 -40
- package/dist/es/commands/CreateMobileDeviceAccessRuleCommand.js.map +0 -1
- package/dist/es/commands/CreateOrganizationCommand.js +0 -40
- package/dist/es/commands/CreateOrganizationCommand.js.map +0 -1
- package/dist/es/commands/CreateResourceCommand.js +0 -40
- package/dist/es/commands/CreateResourceCommand.js.map +0 -1
- package/dist/es/commands/CreateUserCommand.js +0 -40
- package/dist/es/commands/CreateUserCommand.js.map +0 -1
- package/dist/es/commands/DeleteAccessControlRuleCommand.js +0 -40
- package/dist/es/commands/DeleteAccessControlRuleCommand.js.map +0 -1
- package/dist/es/commands/DeleteAliasCommand.js +0 -40
- package/dist/es/commands/DeleteAliasCommand.js.map +0 -1
- package/dist/es/commands/DeleteGroupCommand.js +0 -40
- package/dist/es/commands/DeleteGroupCommand.js.map +0 -1
- package/dist/es/commands/DeleteMailboxPermissionsCommand.js +0 -40
- package/dist/es/commands/DeleteMailboxPermissionsCommand.js.map +0 -1
- package/dist/es/commands/DeleteMobileDeviceAccessRuleCommand.js +0 -40
- package/dist/es/commands/DeleteMobileDeviceAccessRuleCommand.js.map +0 -1
- package/dist/es/commands/DeleteOrganizationCommand.js +0 -40
- package/dist/es/commands/DeleteOrganizationCommand.js.map +0 -1
- package/dist/es/commands/DeleteResourceCommand.js +0 -40
- package/dist/es/commands/DeleteResourceCommand.js.map +0 -1
- package/dist/es/commands/DeleteRetentionPolicyCommand.js +0 -40
- package/dist/es/commands/DeleteRetentionPolicyCommand.js.map +0 -1
- package/dist/es/commands/DeleteUserCommand.js +0 -40
- package/dist/es/commands/DeleteUserCommand.js.map +0 -1
- package/dist/es/commands/DeregisterFromWorkMailCommand.js +0 -40
- package/dist/es/commands/DeregisterFromWorkMailCommand.js.map +0 -1
- package/dist/es/commands/DescribeGroupCommand.js +0 -40
- package/dist/es/commands/DescribeGroupCommand.js.map +0 -1
- package/dist/es/commands/DescribeMailboxExportJobCommand.js +0 -40
- package/dist/es/commands/DescribeMailboxExportJobCommand.js.map +0 -1
- package/dist/es/commands/DescribeOrganizationCommand.js +0 -40
- package/dist/es/commands/DescribeOrganizationCommand.js.map +0 -1
- package/dist/es/commands/DescribeResourceCommand.js +0 -40
- package/dist/es/commands/DescribeResourceCommand.js.map +0 -1
- package/dist/es/commands/DescribeUserCommand.js +0 -40
- package/dist/es/commands/DescribeUserCommand.js.map +0 -1
- package/dist/es/commands/DisassociateDelegateFromResourceCommand.js +0 -40
- package/dist/es/commands/DisassociateDelegateFromResourceCommand.js.map +0 -1
- package/dist/es/commands/DisassociateMemberFromGroupCommand.js +0 -40
- package/dist/es/commands/DisassociateMemberFromGroupCommand.js.map +0 -1
- package/dist/es/commands/GetAccessControlEffectCommand.js +0 -40
- package/dist/es/commands/GetAccessControlEffectCommand.js.map +0 -1
- package/dist/es/commands/GetDefaultRetentionPolicyCommand.js +0 -40
- package/dist/es/commands/GetDefaultRetentionPolicyCommand.js.map +0 -1
- package/dist/es/commands/GetMailboxDetailsCommand.js +0 -40
- package/dist/es/commands/GetMailboxDetailsCommand.js.map +0 -1
- package/dist/es/commands/GetMobileDeviceAccessEffectCommand.js +0 -40
- package/dist/es/commands/GetMobileDeviceAccessEffectCommand.js.map +0 -1
- package/dist/es/commands/ListAccessControlRulesCommand.js +0 -40
- package/dist/es/commands/ListAccessControlRulesCommand.js.map +0 -1
- package/dist/es/commands/ListAliasesCommand.js +0 -40
- package/dist/es/commands/ListAliasesCommand.js.map +0 -1
- package/dist/es/commands/ListGroupMembersCommand.js +0 -40
- package/dist/es/commands/ListGroupMembersCommand.js.map +0 -1
- package/dist/es/commands/ListGroupsCommand.js +0 -40
- package/dist/es/commands/ListGroupsCommand.js.map +0 -1
- package/dist/es/commands/ListMailboxExportJobsCommand.js +0 -40
- package/dist/es/commands/ListMailboxExportJobsCommand.js.map +0 -1
- package/dist/es/commands/ListMailboxPermissionsCommand.js +0 -40
- package/dist/es/commands/ListMailboxPermissionsCommand.js.map +0 -1
- package/dist/es/commands/ListMobileDeviceAccessRulesCommand.js +0 -40
- package/dist/es/commands/ListMobileDeviceAccessRulesCommand.js.map +0 -1
- package/dist/es/commands/ListOrganizationsCommand.js +0 -40
- package/dist/es/commands/ListOrganizationsCommand.js.map +0 -1
- package/dist/es/commands/ListResourceDelegatesCommand.js +0 -40
- package/dist/es/commands/ListResourceDelegatesCommand.js.map +0 -1
- package/dist/es/commands/ListResourcesCommand.js +0 -40
- package/dist/es/commands/ListResourcesCommand.js.map +0 -1
- package/dist/es/commands/ListTagsForResourceCommand.js +0 -40
- package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/es/commands/ListUsersCommand.js +0 -40
- package/dist/es/commands/ListUsersCommand.js.map +0 -1
- package/dist/es/commands/PutAccessControlRuleCommand.js +0 -40
- package/dist/es/commands/PutAccessControlRuleCommand.js.map +0 -1
- package/dist/es/commands/PutMailboxPermissionsCommand.js +0 -40
- package/dist/es/commands/PutMailboxPermissionsCommand.js.map +0 -1
- package/dist/es/commands/PutRetentionPolicyCommand.js +0 -40
- package/dist/es/commands/PutRetentionPolicyCommand.js.map +0 -1
- package/dist/es/commands/RegisterToWorkMailCommand.js +0 -40
- package/dist/es/commands/RegisterToWorkMailCommand.js.map +0 -1
- package/dist/es/commands/ResetPasswordCommand.js +0 -40
- package/dist/es/commands/ResetPasswordCommand.js.map +0 -1
- package/dist/es/commands/StartMailboxExportJobCommand.js +0 -40
- package/dist/es/commands/StartMailboxExportJobCommand.js.map +0 -1
- package/dist/es/commands/TagResourceCommand.js +0 -40
- package/dist/es/commands/TagResourceCommand.js.map +0 -1
- package/dist/es/commands/UntagResourceCommand.js +0 -40
- package/dist/es/commands/UntagResourceCommand.js.map +0 -1
- package/dist/es/commands/UpdateMailboxQuotaCommand.js +0 -40
- package/dist/es/commands/UpdateMailboxQuotaCommand.js.map +0 -1
- package/dist/es/commands/UpdateMobileDeviceAccessRuleCommand.js +0 -40
- package/dist/es/commands/UpdateMobileDeviceAccessRuleCommand.js.map +0 -1
- package/dist/es/commands/UpdatePrimaryEmailAddressCommand.js +0 -40
- package/dist/es/commands/UpdatePrimaryEmailAddressCommand.js.map +0 -1
- package/dist/es/commands/UpdateResourceCommand.js +0 -40
- package/dist/es/commands/UpdateResourceCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -68
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js +0 -634
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -93
- package/dist/es/pagination/Interfaces.js.map +0 -1
- package/dist/es/pagination/ListAliasesPaginator.js +0 -75
- package/dist/es/pagination/ListAliasesPaginator.js.map +0 -1
- package/dist/es/pagination/ListGroupMembersPaginator.js +0 -75
- package/dist/es/pagination/ListGroupMembersPaginator.js.map +0 -1
- package/dist/es/pagination/ListGroupsPaginator.js +0 -75
- package/dist/es/pagination/ListGroupsPaginator.js.map +0 -1
- package/dist/es/pagination/ListMailboxExportJobsPaginator.js +0 -75
- package/dist/es/pagination/ListMailboxExportJobsPaginator.js.map +0 -1
- package/dist/es/pagination/ListMailboxPermissionsPaginator.js +0 -75
- package/dist/es/pagination/ListMailboxPermissionsPaginator.js.map +0 -1
- package/dist/es/pagination/ListOrganizationsPaginator.js +0 -75
- package/dist/es/pagination/ListOrganizationsPaginator.js.map +0 -1
- package/dist/es/pagination/ListResourceDelegatesPaginator.js +0 -75
- package/dist/es/pagination/ListResourceDelegatesPaginator.js.map +0 -1
- package/dist/es/pagination/ListResourcesPaginator.js +0 -75
- package/dist/es/pagination/ListResourcesPaginator.js.map +0 -1
- package/dist/es/pagination/ListUsersPaginator.js +0 -75
- package/dist/es/pagination/ListUsersPaginator.js.map +0 -1
- package/dist/es/protocols/Aws_json1_1.js +0 -6794
- package/dist/es/protocols/Aws_json1_1.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js +0 -17
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js +0 -22
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js +0 -14
- package/dist/es/runtimeConfig.shared.js.map +0 -1
- package/dist/types/WorkMail.d.ts +0 -464
- package/dist/types/WorkMailClient.d.ts +0 -221
- package/dist/types/commands/AssociateDelegateToResourceCommand.d.ts +0 -35
- package/dist/types/commands/AssociateMemberToGroupCommand.d.ts +0 -35
- package/dist/types/commands/CancelMailboxExportJobCommand.d.ts +0 -39
- package/dist/types/commands/CreateAliasCommand.d.ts +0 -35
- package/dist/types/commands/CreateGroupCommand.d.ts +0 -35
- package/dist/types/commands/CreateMobileDeviceAccessRuleCommand.d.ts +0 -35
- package/dist/types/commands/CreateOrganizationCommand.d.ts +0 -39
- package/dist/types/commands/CreateResourceCommand.d.ts +0 -35
- package/dist/types/commands/CreateUserCommand.d.ts +0 -35
- package/dist/types/commands/DeleteAccessControlRuleCommand.d.ts +0 -35
- package/dist/types/commands/DeleteAliasCommand.d.ts +0 -36
- package/dist/types/commands/DeleteGroupCommand.d.ts +0 -35
- package/dist/types/commands/DeleteMailboxPermissionsCommand.d.ts +0 -35
- package/dist/types/commands/DeleteMobileDeviceAccessRuleCommand.d.ts +0 -35
- package/dist/types/commands/DeleteOrganizationCommand.d.ts +0 -35
- package/dist/types/commands/DeleteResourceCommand.d.ts +0 -35
- package/dist/types/commands/DeleteRetentionPolicyCommand.d.ts +0 -35
- package/dist/types/commands/DeleteUserCommand.d.ts +0 -39
- package/dist/types/commands/DeregisterFromWorkMailCommand.d.ts +0 -38
- package/dist/types/commands/DescribeGroupCommand.d.ts +0 -35
- package/dist/types/commands/DescribeMailboxExportJobCommand.d.ts +0 -35
- package/dist/types/commands/DescribeOrganizationCommand.d.ts +0 -36
- package/dist/types/commands/DescribeResourceCommand.d.ts +0 -35
- package/dist/types/commands/DescribeUserCommand.d.ts +0 -35
- package/dist/types/commands/DisassociateDelegateFromResourceCommand.d.ts +0 -35
- package/dist/types/commands/DisassociateMemberFromGroupCommand.d.ts +0 -35
- package/dist/types/commands/GetAccessControlEffectCommand.d.ts +0 -36
- package/dist/types/commands/GetDefaultRetentionPolicyCommand.d.ts +0 -35
- package/dist/types/commands/GetMailboxDetailsCommand.d.ts +0 -35
- package/dist/types/commands/GetMobileDeviceAccessEffectCommand.d.ts +0 -36
- package/dist/types/commands/ListAccessControlRulesCommand.d.ts +0 -35
- package/dist/types/commands/ListAliasesCommand.d.ts +0 -36
- package/dist/types/commands/ListGroupMembersCommand.d.ts +0 -36
- package/dist/types/commands/ListGroupsCommand.d.ts +0 -35
- package/dist/types/commands/ListMailboxExportJobsCommand.d.ts +0 -36
- package/dist/types/commands/ListMailboxPermissionsCommand.d.ts +0 -36
- package/dist/types/commands/ListMobileDeviceAccessRulesCommand.d.ts +0 -35
- package/dist/types/commands/ListOrganizationsCommand.d.ts +0 -35
- package/dist/types/commands/ListResourceDelegatesCommand.d.ts +0 -36
- package/dist/types/commands/ListResourcesCommand.d.ts +0 -35
- package/dist/types/commands/ListTagsForResourceCommand.d.ts +0 -35
- package/dist/types/commands/ListUsersCommand.d.ts +0 -35
- package/dist/types/commands/PutAccessControlRuleCommand.d.ts +0 -38
- package/dist/types/commands/PutMailboxPermissionsCommand.d.ts +0 -36
- package/dist/types/commands/PutRetentionPolicyCommand.d.ts +0 -35
- package/dist/types/commands/RegisterToWorkMailCommand.d.ts +0 -41
- package/dist/types/commands/ResetPasswordCommand.d.ts +0 -35
- package/dist/types/commands/StartMailboxExportJobCommand.d.ts +0 -38
- package/dist/types/commands/TagResourceCommand.d.ts +0 -36
- package/dist/types/commands/UntagResourceCommand.d.ts +0 -36
- package/dist/types/commands/UpdateMailboxQuotaCommand.d.ts +0 -36
- package/dist/types/commands/UpdateMobileDeviceAccessRuleCommand.d.ts +0 -35
- package/dist/types/commands/UpdatePrimaryEmailAddressCommand.d.ts +0 -37
- package/dist/types/commands/UpdateResourceCommand.d.ts +0 -37
- package/dist/types/index.d.ts +0 -67
- package/dist/types/models/models_0.d.ts +0 -2856
- package/dist/types/pagination/Interfaces.d.ts +0 -6
- package/dist/types/pagination/ListAliasesPaginator.d.ts +0 -4
- package/dist/types/pagination/ListGroupMembersPaginator.d.ts +0 -4
- package/dist/types/pagination/ListGroupsPaginator.d.ts +0 -4
- package/dist/types/pagination/ListMailboxExportJobsPaginator.d.ts +0 -4
- package/dist/types/pagination/ListMailboxPermissionsPaginator.d.ts +0 -4
- package/dist/types/pagination/ListOrganizationsPaginator.d.ts +0 -4
- package/dist/types/pagination/ListResourceDelegatesPaginator.d.ts +0 -4
- package/dist/types/pagination/ListResourcesPaginator.d.ts +0 -4
- package/dist/types/pagination/ListUsersPaginator.d.ts +0 -4
- package/dist/types/protocols/Aws_json1_1.d.ts +0 -164
- package/dist/types/runtimeConfig.d.ts +0 -37
- package/dist/types/ts3.4/WorkMail.d.ts +0 -464
- package/dist/types/ts3.4/WorkMailClient.d.ts +0 -221
- package/dist/types/ts3.4/commands/AssociateDelegateToResourceCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/AssociateMemberToGroupCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/CancelMailboxExportJobCommand.d.ts +0 -39
- package/dist/types/ts3.4/commands/CreateAliasCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/CreateGroupCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/CreateMobileDeviceAccessRuleCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/CreateOrganizationCommand.d.ts +0 -39
- package/dist/types/ts3.4/commands/CreateResourceCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/CreateUserCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DeleteAccessControlRuleCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DeleteAliasCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/DeleteGroupCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DeleteMailboxPermissionsCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DeleteMobileDeviceAccessRuleCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DeleteOrganizationCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DeleteResourceCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DeleteRetentionPolicyCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DeleteUserCommand.d.ts +0 -39
- package/dist/types/ts3.4/commands/DeregisterFromWorkMailCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/DescribeGroupCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DescribeMailboxExportJobCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DescribeOrganizationCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/DescribeResourceCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DescribeUserCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DisassociateDelegateFromResourceCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DisassociateMemberFromGroupCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/GetAccessControlEffectCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/GetDefaultRetentionPolicyCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/GetMailboxDetailsCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/GetMobileDeviceAccessEffectCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/ListAccessControlRulesCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListAliasesCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/ListGroupMembersCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/ListGroupsCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListMailboxExportJobsCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/ListMailboxPermissionsCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/ListMobileDeviceAccessRulesCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListOrganizationsCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListResourceDelegatesCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/ListResourcesCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListTagsForResourceCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListUsersCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/PutAccessControlRuleCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/PutMailboxPermissionsCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/PutRetentionPolicyCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/RegisterToWorkMailCommand.d.ts +0 -41
- package/dist/types/ts3.4/commands/ResetPasswordCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/StartMailboxExportJobCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/TagResourceCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/UntagResourceCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/UpdateMailboxQuotaCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/UpdateMobileDeviceAccessRuleCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/UpdatePrimaryEmailAddressCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/UpdateResourceCommand.d.ts +0 -37
- package/dist/types/ts3.4/index.d.ts +0 -67
- package/dist/types/ts3.4/models/models_0.d.ts +0 -2856
- package/dist/types/ts3.4/pagination/Interfaces.d.ts +0 -6
- package/dist/types/ts3.4/pagination/ListAliasesPaginator.d.ts +0 -4
- package/dist/types/ts3.4/pagination/ListGroupMembersPaginator.d.ts +0 -4
- package/dist/types/ts3.4/pagination/ListGroupsPaginator.d.ts +0 -4
- package/dist/types/ts3.4/pagination/ListMailboxExportJobsPaginator.d.ts +0 -4
- package/dist/types/ts3.4/pagination/ListMailboxPermissionsPaginator.d.ts +0 -4
- package/dist/types/ts3.4/pagination/ListOrganizationsPaginator.d.ts +0 -4
- package/dist/types/ts3.4/pagination/ListResourceDelegatesPaginator.d.ts +0 -4
- package/dist/types/ts3.4/pagination/ListResourcesPaginator.d.ts +0 -4
- package/dist/types/ts3.4/pagination/ListUsersPaginator.d.ts +0 -4
- package/dist/types/ts3.4/protocols/Aws_json1_1.d.ts +0 -164
- package/dist/types/ts3.4/runtimeConfig.d.ts +0 -37
- package/endpoints.ts +0 -57
- package/index.ts +0 -67
- package/models/models_0.ts +0 -3667
- package/pagination/Interfaces.ts +0 -7
- package/pagination/ListAliasesPaginator.ts +0 -54
- package/pagination/ListGroupMembersPaginator.ts +0 -58
- package/pagination/ListGroupsPaginator.ts +0 -54
- package/pagination/ListMailboxExportJobsPaginator.ts +0 -58
- package/pagination/ListMailboxPermissionsPaginator.ts +0 -58
- package/pagination/ListOrganizationsPaginator.ts +0 -58
- package/pagination/ListResourceDelegatesPaginator.ts +0 -58
- package/pagination/ListResourcesPaginator.ts +0 -58
- package/pagination/ListUsersPaginator.ts +0 -54
- package/protocols/Aws_json1_1.ts +0 -7972
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
+
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import {
|
|
5
|
+
FinalizeHandlerArguments,
|
|
6
|
+
Handler,
|
|
7
|
+
HandlerExecutionContext,
|
|
8
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
+
MetadataBearer as __MetadataBearer,
|
|
10
|
+
MiddlewareStack,
|
|
11
|
+
SerdeContext as __SerdeContext,
|
|
12
|
+
} from "@aws-sdk/types";
|
|
13
|
+
|
|
14
|
+
import { DescribeOrganizationRequest, DescribeOrganizationResponse } from "../models/models_0";
|
|
15
|
+
import {
|
|
16
|
+
deserializeAws_json1_1DescribeOrganizationCommand,
|
|
17
|
+
serializeAws_json1_1DescribeOrganizationCommand,
|
|
18
|
+
} from "../protocols/Aws_json1_1";
|
|
19
|
+
import { ServiceInputTypes, ServiceOutputTypes, WorkMailClientResolvedConfig } from "../WorkMailClient";
|
|
20
|
+
|
|
21
|
+
export interface DescribeOrganizationCommandInput extends DescribeOrganizationRequest {}
|
|
22
|
+
export interface DescribeOrganizationCommandOutput extends DescribeOrganizationResponse, __MetadataBearer {}
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* <p>Provides more information regarding a given organization based on its
|
|
26
|
+
* identifier.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { WorkMailClient, DescribeOrganizationCommand } from "@aws-sdk/client-workmail"; // ES Modules import
|
|
31
|
+
* // const { WorkMailClient, DescribeOrganizationCommand } = require("@aws-sdk/client-workmail"); // CommonJS import
|
|
32
|
+
* const client = new WorkMailClient(config);
|
|
33
|
+
* const command = new DescribeOrganizationCommand(input);
|
|
34
|
+
* const response = await client.send(command);
|
|
35
|
+
* ```
|
|
36
|
+
*
|
|
37
|
+
* @see {@link DescribeOrganizationCommandInput} for command's `input` shape.
|
|
38
|
+
* @see {@link DescribeOrganizationCommandOutput} for command's `response` shape.
|
|
39
|
+
* @see {@link WorkMailClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
+
*
|
|
41
|
+
*/
|
|
42
|
+
export class DescribeOrganizationCommand extends $Command<
|
|
43
|
+
DescribeOrganizationCommandInput,
|
|
44
|
+
DescribeOrganizationCommandOutput,
|
|
45
|
+
WorkMailClientResolvedConfig
|
|
46
|
+
> {
|
|
47
|
+
// Start section: command_properties
|
|
48
|
+
// End section: command_properties
|
|
49
|
+
|
|
50
|
+
constructor(readonly input: DescribeOrganizationCommandInput) {
|
|
51
|
+
// Start section: command_constructor
|
|
52
|
+
super();
|
|
53
|
+
// End section: command_constructor
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* @internal
|
|
58
|
+
*/
|
|
59
|
+
resolveMiddleware(
|
|
60
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
61
|
+
configuration: WorkMailClientResolvedConfig,
|
|
62
|
+
options?: __HttpHandlerOptions
|
|
63
|
+
): Handler<DescribeOrganizationCommandInput, DescribeOrganizationCommandOutput> {
|
|
64
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
65
|
+
|
|
66
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
67
|
+
|
|
68
|
+
const { logger } = configuration;
|
|
69
|
+
const clientName = "WorkMailClient";
|
|
70
|
+
const commandName = "DescribeOrganizationCommand";
|
|
71
|
+
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
+
logger,
|
|
73
|
+
clientName,
|
|
74
|
+
commandName,
|
|
75
|
+
inputFilterSensitiveLog: DescribeOrganizationRequest.filterSensitiveLog,
|
|
76
|
+
outputFilterSensitiveLog: DescribeOrganizationResponse.filterSensitiveLog,
|
|
77
|
+
};
|
|
78
|
+
const { requestHandler } = configuration;
|
|
79
|
+
return stack.resolve(
|
|
80
|
+
(request: FinalizeHandlerArguments<any>) =>
|
|
81
|
+
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
82
|
+
handlerExecutionContext
|
|
83
|
+
);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
private serialize(input: DescribeOrganizationCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
87
|
+
return serializeAws_json1_1DescribeOrganizationCommand(input, context);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeOrganizationCommandOutput> {
|
|
91
|
+
return deserializeAws_json1_1DescribeOrganizationCommand(output, context);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
// Start section: command_body_extra
|
|
95
|
+
// End section: command_body_extra
|
|
96
|
+
}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
+
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import {
|
|
5
|
+
FinalizeHandlerArguments,
|
|
6
|
+
Handler,
|
|
7
|
+
HandlerExecutionContext,
|
|
8
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
+
MetadataBearer as __MetadataBearer,
|
|
10
|
+
MiddlewareStack,
|
|
11
|
+
SerdeContext as __SerdeContext,
|
|
12
|
+
} from "@aws-sdk/types";
|
|
13
|
+
|
|
14
|
+
import { DescribeResourceRequest, DescribeResourceResponse } from "../models/models_0";
|
|
15
|
+
import {
|
|
16
|
+
deserializeAws_json1_1DescribeResourceCommand,
|
|
17
|
+
serializeAws_json1_1DescribeResourceCommand,
|
|
18
|
+
} from "../protocols/Aws_json1_1";
|
|
19
|
+
import { ServiceInputTypes, ServiceOutputTypes, WorkMailClientResolvedConfig } from "../WorkMailClient";
|
|
20
|
+
|
|
21
|
+
export interface DescribeResourceCommandInput extends DescribeResourceRequest {}
|
|
22
|
+
export interface DescribeResourceCommandOutput extends DescribeResourceResponse, __MetadataBearer {}
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* <p>Returns the data available for the resource.</p>
|
|
26
|
+
* @example
|
|
27
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
+
* ```javascript
|
|
29
|
+
* import { WorkMailClient, DescribeResourceCommand } from "@aws-sdk/client-workmail"; // ES Modules import
|
|
30
|
+
* // const { WorkMailClient, DescribeResourceCommand } = require("@aws-sdk/client-workmail"); // CommonJS import
|
|
31
|
+
* const client = new WorkMailClient(config);
|
|
32
|
+
* const command = new DescribeResourceCommand(input);
|
|
33
|
+
* const response = await client.send(command);
|
|
34
|
+
* ```
|
|
35
|
+
*
|
|
36
|
+
* @see {@link DescribeResourceCommandInput} for command's `input` shape.
|
|
37
|
+
* @see {@link DescribeResourceCommandOutput} for command's `response` shape.
|
|
38
|
+
* @see {@link WorkMailClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
+
*
|
|
40
|
+
*/
|
|
41
|
+
export class DescribeResourceCommand extends $Command<
|
|
42
|
+
DescribeResourceCommandInput,
|
|
43
|
+
DescribeResourceCommandOutput,
|
|
44
|
+
WorkMailClientResolvedConfig
|
|
45
|
+
> {
|
|
46
|
+
// Start section: command_properties
|
|
47
|
+
// End section: command_properties
|
|
48
|
+
|
|
49
|
+
constructor(readonly input: DescribeResourceCommandInput) {
|
|
50
|
+
// Start section: command_constructor
|
|
51
|
+
super();
|
|
52
|
+
// End section: command_constructor
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* @internal
|
|
57
|
+
*/
|
|
58
|
+
resolveMiddleware(
|
|
59
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
+
configuration: WorkMailClientResolvedConfig,
|
|
61
|
+
options?: __HttpHandlerOptions
|
|
62
|
+
): Handler<DescribeResourceCommandInput, DescribeResourceCommandOutput> {
|
|
63
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
+
|
|
65
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
+
|
|
67
|
+
const { logger } = configuration;
|
|
68
|
+
const clientName = "WorkMailClient";
|
|
69
|
+
const commandName = "DescribeResourceCommand";
|
|
70
|
+
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
+
logger,
|
|
72
|
+
clientName,
|
|
73
|
+
commandName,
|
|
74
|
+
inputFilterSensitiveLog: DescribeResourceRequest.filterSensitiveLog,
|
|
75
|
+
outputFilterSensitiveLog: DescribeResourceResponse.filterSensitiveLog,
|
|
76
|
+
};
|
|
77
|
+
const { requestHandler } = configuration;
|
|
78
|
+
return stack.resolve(
|
|
79
|
+
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
+
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
+
handlerExecutionContext
|
|
82
|
+
);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
private serialize(input: DescribeResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
+
return serializeAws_json1_1DescribeResourceCommand(input, context);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeResourceCommandOutput> {
|
|
90
|
+
return deserializeAws_json1_1DescribeResourceCommand(output, context);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
// Start section: command_body_extra
|
|
94
|
+
// End section: command_body_extra
|
|
95
|
+
}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
+
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import {
|
|
5
|
+
FinalizeHandlerArguments,
|
|
6
|
+
Handler,
|
|
7
|
+
HandlerExecutionContext,
|
|
8
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
+
MetadataBearer as __MetadataBearer,
|
|
10
|
+
MiddlewareStack,
|
|
11
|
+
SerdeContext as __SerdeContext,
|
|
12
|
+
} from "@aws-sdk/types";
|
|
13
|
+
|
|
14
|
+
import { DescribeUserRequest, DescribeUserResponse } from "../models/models_0";
|
|
15
|
+
import {
|
|
16
|
+
deserializeAws_json1_1DescribeUserCommand,
|
|
17
|
+
serializeAws_json1_1DescribeUserCommand,
|
|
18
|
+
} from "../protocols/Aws_json1_1";
|
|
19
|
+
import { ServiceInputTypes, ServiceOutputTypes, WorkMailClientResolvedConfig } from "../WorkMailClient";
|
|
20
|
+
|
|
21
|
+
export interface DescribeUserCommandInput extends DescribeUserRequest {}
|
|
22
|
+
export interface DescribeUserCommandOutput extends DescribeUserResponse, __MetadataBearer {}
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* <p>Provides information regarding the user.</p>
|
|
26
|
+
* @example
|
|
27
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
+
* ```javascript
|
|
29
|
+
* import { WorkMailClient, DescribeUserCommand } from "@aws-sdk/client-workmail"; // ES Modules import
|
|
30
|
+
* // const { WorkMailClient, DescribeUserCommand } = require("@aws-sdk/client-workmail"); // CommonJS import
|
|
31
|
+
* const client = new WorkMailClient(config);
|
|
32
|
+
* const command = new DescribeUserCommand(input);
|
|
33
|
+
* const response = await client.send(command);
|
|
34
|
+
* ```
|
|
35
|
+
*
|
|
36
|
+
* @see {@link DescribeUserCommandInput} for command's `input` shape.
|
|
37
|
+
* @see {@link DescribeUserCommandOutput} for command's `response` shape.
|
|
38
|
+
* @see {@link WorkMailClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
+
*
|
|
40
|
+
*/
|
|
41
|
+
export class DescribeUserCommand extends $Command<
|
|
42
|
+
DescribeUserCommandInput,
|
|
43
|
+
DescribeUserCommandOutput,
|
|
44
|
+
WorkMailClientResolvedConfig
|
|
45
|
+
> {
|
|
46
|
+
// Start section: command_properties
|
|
47
|
+
// End section: command_properties
|
|
48
|
+
|
|
49
|
+
constructor(readonly input: DescribeUserCommandInput) {
|
|
50
|
+
// Start section: command_constructor
|
|
51
|
+
super();
|
|
52
|
+
// End section: command_constructor
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* @internal
|
|
57
|
+
*/
|
|
58
|
+
resolveMiddleware(
|
|
59
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
+
configuration: WorkMailClientResolvedConfig,
|
|
61
|
+
options?: __HttpHandlerOptions
|
|
62
|
+
): Handler<DescribeUserCommandInput, DescribeUserCommandOutput> {
|
|
63
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
+
|
|
65
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
+
|
|
67
|
+
const { logger } = configuration;
|
|
68
|
+
const clientName = "WorkMailClient";
|
|
69
|
+
const commandName = "DescribeUserCommand";
|
|
70
|
+
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
+
logger,
|
|
72
|
+
clientName,
|
|
73
|
+
commandName,
|
|
74
|
+
inputFilterSensitiveLog: DescribeUserRequest.filterSensitiveLog,
|
|
75
|
+
outputFilterSensitiveLog: DescribeUserResponse.filterSensitiveLog,
|
|
76
|
+
};
|
|
77
|
+
const { requestHandler } = configuration;
|
|
78
|
+
return stack.resolve(
|
|
79
|
+
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
+
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
+
handlerExecutionContext
|
|
82
|
+
);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
private serialize(input: DescribeUserCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
+
return serializeAws_json1_1DescribeUserCommand(input, context);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeUserCommandOutput> {
|
|
90
|
+
return deserializeAws_json1_1DescribeUserCommand(output, context);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
// Start section: command_body_extra
|
|
94
|
+
// End section: command_body_extra
|
|
95
|
+
}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
+
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import {
|
|
5
|
+
FinalizeHandlerArguments,
|
|
6
|
+
Handler,
|
|
7
|
+
HandlerExecutionContext,
|
|
8
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
+
MetadataBearer as __MetadataBearer,
|
|
10
|
+
MiddlewareStack,
|
|
11
|
+
SerdeContext as __SerdeContext,
|
|
12
|
+
} from "@aws-sdk/types";
|
|
13
|
+
|
|
14
|
+
import { DisassociateDelegateFromResourceRequest, DisassociateDelegateFromResourceResponse } from "../models/models_0";
|
|
15
|
+
import {
|
|
16
|
+
deserializeAws_json1_1DisassociateDelegateFromResourceCommand,
|
|
17
|
+
serializeAws_json1_1DisassociateDelegateFromResourceCommand,
|
|
18
|
+
} from "../protocols/Aws_json1_1";
|
|
19
|
+
import { ServiceInputTypes, ServiceOutputTypes, WorkMailClientResolvedConfig } from "../WorkMailClient";
|
|
20
|
+
|
|
21
|
+
export interface DisassociateDelegateFromResourceCommandInput extends DisassociateDelegateFromResourceRequest {}
|
|
22
|
+
export interface DisassociateDelegateFromResourceCommandOutput
|
|
23
|
+
extends DisassociateDelegateFromResourceResponse,
|
|
24
|
+
__MetadataBearer {}
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* <p>Removes a member from the resource's set of delegates.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { WorkMailClient, DisassociateDelegateFromResourceCommand } from "@aws-sdk/client-workmail"; // ES Modules import
|
|
32
|
+
* // const { WorkMailClient, DisassociateDelegateFromResourceCommand } = require("@aws-sdk/client-workmail"); // CommonJS import
|
|
33
|
+
* const client = new WorkMailClient(config);
|
|
34
|
+
* const command = new DisassociateDelegateFromResourceCommand(input);
|
|
35
|
+
* const response = await client.send(command);
|
|
36
|
+
* ```
|
|
37
|
+
*
|
|
38
|
+
* @see {@link DisassociateDelegateFromResourceCommandInput} for command's `input` shape.
|
|
39
|
+
* @see {@link DisassociateDelegateFromResourceCommandOutput} for command's `response` shape.
|
|
40
|
+
* @see {@link WorkMailClientResolvedConfig | config} for command's `input` shape.
|
|
41
|
+
*
|
|
42
|
+
*/
|
|
43
|
+
export class DisassociateDelegateFromResourceCommand extends $Command<
|
|
44
|
+
DisassociateDelegateFromResourceCommandInput,
|
|
45
|
+
DisassociateDelegateFromResourceCommandOutput,
|
|
46
|
+
WorkMailClientResolvedConfig
|
|
47
|
+
> {
|
|
48
|
+
// Start section: command_properties
|
|
49
|
+
// End section: command_properties
|
|
50
|
+
|
|
51
|
+
constructor(readonly input: DisassociateDelegateFromResourceCommandInput) {
|
|
52
|
+
// Start section: command_constructor
|
|
53
|
+
super();
|
|
54
|
+
// End section: command_constructor
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* @internal
|
|
59
|
+
*/
|
|
60
|
+
resolveMiddleware(
|
|
61
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
62
|
+
configuration: WorkMailClientResolvedConfig,
|
|
63
|
+
options?: __HttpHandlerOptions
|
|
64
|
+
): Handler<DisassociateDelegateFromResourceCommandInput, DisassociateDelegateFromResourceCommandOutput> {
|
|
65
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
66
|
+
|
|
67
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
68
|
+
|
|
69
|
+
const { logger } = configuration;
|
|
70
|
+
const clientName = "WorkMailClient";
|
|
71
|
+
const commandName = "DisassociateDelegateFromResourceCommand";
|
|
72
|
+
const handlerExecutionContext: HandlerExecutionContext = {
|
|
73
|
+
logger,
|
|
74
|
+
clientName,
|
|
75
|
+
commandName,
|
|
76
|
+
inputFilterSensitiveLog: DisassociateDelegateFromResourceRequest.filterSensitiveLog,
|
|
77
|
+
outputFilterSensitiveLog: DisassociateDelegateFromResourceResponse.filterSensitiveLog,
|
|
78
|
+
};
|
|
79
|
+
const { requestHandler } = configuration;
|
|
80
|
+
return stack.resolve(
|
|
81
|
+
(request: FinalizeHandlerArguments<any>) =>
|
|
82
|
+
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
83
|
+
handlerExecutionContext
|
|
84
|
+
);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
private serialize(
|
|
88
|
+
input: DisassociateDelegateFromResourceCommandInput,
|
|
89
|
+
context: __SerdeContext
|
|
90
|
+
): Promise<__HttpRequest> {
|
|
91
|
+
return serializeAws_json1_1DisassociateDelegateFromResourceCommand(input, context);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
private deserialize(
|
|
95
|
+
output: __HttpResponse,
|
|
96
|
+
context: __SerdeContext
|
|
97
|
+
): Promise<DisassociateDelegateFromResourceCommandOutput> {
|
|
98
|
+
return deserializeAws_json1_1DisassociateDelegateFromResourceCommand(output, context);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
// Start section: command_body_extra
|
|
102
|
+
// End section: command_body_extra
|
|
103
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
+
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import {
|
|
5
|
+
FinalizeHandlerArguments,
|
|
6
|
+
Handler,
|
|
7
|
+
HandlerExecutionContext,
|
|
8
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
+
MetadataBearer as __MetadataBearer,
|
|
10
|
+
MiddlewareStack,
|
|
11
|
+
SerdeContext as __SerdeContext,
|
|
12
|
+
} from "@aws-sdk/types";
|
|
13
|
+
|
|
14
|
+
import { DisassociateMemberFromGroupRequest, DisassociateMemberFromGroupResponse } from "../models/models_0";
|
|
15
|
+
import {
|
|
16
|
+
deserializeAws_json1_1DisassociateMemberFromGroupCommand,
|
|
17
|
+
serializeAws_json1_1DisassociateMemberFromGroupCommand,
|
|
18
|
+
} from "../protocols/Aws_json1_1";
|
|
19
|
+
import { ServiceInputTypes, ServiceOutputTypes, WorkMailClientResolvedConfig } from "../WorkMailClient";
|
|
20
|
+
|
|
21
|
+
export interface DisassociateMemberFromGroupCommandInput extends DisassociateMemberFromGroupRequest {}
|
|
22
|
+
export interface DisassociateMemberFromGroupCommandOutput
|
|
23
|
+
extends DisassociateMemberFromGroupResponse,
|
|
24
|
+
__MetadataBearer {}
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* <p>Removes a member from a group.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { WorkMailClient, DisassociateMemberFromGroupCommand } from "@aws-sdk/client-workmail"; // ES Modules import
|
|
32
|
+
* // const { WorkMailClient, DisassociateMemberFromGroupCommand } = require("@aws-sdk/client-workmail"); // CommonJS import
|
|
33
|
+
* const client = new WorkMailClient(config);
|
|
34
|
+
* const command = new DisassociateMemberFromGroupCommand(input);
|
|
35
|
+
* const response = await client.send(command);
|
|
36
|
+
* ```
|
|
37
|
+
*
|
|
38
|
+
* @see {@link DisassociateMemberFromGroupCommandInput} for command's `input` shape.
|
|
39
|
+
* @see {@link DisassociateMemberFromGroupCommandOutput} for command's `response` shape.
|
|
40
|
+
* @see {@link WorkMailClientResolvedConfig | config} for command's `input` shape.
|
|
41
|
+
*
|
|
42
|
+
*/
|
|
43
|
+
export class DisassociateMemberFromGroupCommand extends $Command<
|
|
44
|
+
DisassociateMemberFromGroupCommandInput,
|
|
45
|
+
DisassociateMemberFromGroupCommandOutput,
|
|
46
|
+
WorkMailClientResolvedConfig
|
|
47
|
+
> {
|
|
48
|
+
// Start section: command_properties
|
|
49
|
+
// End section: command_properties
|
|
50
|
+
|
|
51
|
+
constructor(readonly input: DisassociateMemberFromGroupCommandInput) {
|
|
52
|
+
// Start section: command_constructor
|
|
53
|
+
super();
|
|
54
|
+
// End section: command_constructor
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* @internal
|
|
59
|
+
*/
|
|
60
|
+
resolveMiddleware(
|
|
61
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
62
|
+
configuration: WorkMailClientResolvedConfig,
|
|
63
|
+
options?: __HttpHandlerOptions
|
|
64
|
+
): Handler<DisassociateMemberFromGroupCommandInput, DisassociateMemberFromGroupCommandOutput> {
|
|
65
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
66
|
+
|
|
67
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
68
|
+
|
|
69
|
+
const { logger } = configuration;
|
|
70
|
+
const clientName = "WorkMailClient";
|
|
71
|
+
const commandName = "DisassociateMemberFromGroupCommand";
|
|
72
|
+
const handlerExecutionContext: HandlerExecutionContext = {
|
|
73
|
+
logger,
|
|
74
|
+
clientName,
|
|
75
|
+
commandName,
|
|
76
|
+
inputFilterSensitiveLog: DisassociateMemberFromGroupRequest.filterSensitiveLog,
|
|
77
|
+
outputFilterSensitiveLog: DisassociateMemberFromGroupResponse.filterSensitiveLog,
|
|
78
|
+
};
|
|
79
|
+
const { requestHandler } = configuration;
|
|
80
|
+
return stack.resolve(
|
|
81
|
+
(request: FinalizeHandlerArguments<any>) =>
|
|
82
|
+
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
83
|
+
handlerExecutionContext
|
|
84
|
+
);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
private serialize(input: DisassociateMemberFromGroupCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
88
|
+
return serializeAws_json1_1DisassociateMemberFromGroupCommand(input, context);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
private deserialize(
|
|
92
|
+
output: __HttpResponse,
|
|
93
|
+
context: __SerdeContext
|
|
94
|
+
): Promise<DisassociateMemberFromGroupCommandOutput> {
|
|
95
|
+
return deserializeAws_json1_1DisassociateMemberFromGroupCommand(output, context);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
// Start section: command_body_extra
|
|
99
|
+
// End section: command_body_extra
|
|
100
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
+
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import {
|
|
5
|
+
FinalizeHandlerArguments,
|
|
6
|
+
Handler,
|
|
7
|
+
HandlerExecutionContext,
|
|
8
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
+
MetadataBearer as __MetadataBearer,
|
|
10
|
+
MiddlewareStack,
|
|
11
|
+
SerdeContext as __SerdeContext,
|
|
12
|
+
} from "@aws-sdk/types";
|
|
13
|
+
|
|
14
|
+
import { GetAccessControlEffectRequest, GetAccessControlEffectResponse } from "../models/models_0";
|
|
15
|
+
import {
|
|
16
|
+
deserializeAws_json1_1GetAccessControlEffectCommand,
|
|
17
|
+
serializeAws_json1_1GetAccessControlEffectCommand,
|
|
18
|
+
} from "../protocols/Aws_json1_1";
|
|
19
|
+
import { ServiceInputTypes, ServiceOutputTypes, WorkMailClientResolvedConfig } from "../WorkMailClient";
|
|
20
|
+
|
|
21
|
+
export interface GetAccessControlEffectCommandInput extends GetAccessControlEffectRequest {}
|
|
22
|
+
export interface GetAccessControlEffectCommandOutput extends GetAccessControlEffectResponse, __MetadataBearer {}
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* <p>Gets the effects of an organization's access control rules as they apply to a
|
|
26
|
+
* specified IPv4 address, access protocol action, or user ID. </p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { WorkMailClient, GetAccessControlEffectCommand } from "@aws-sdk/client-workmail"; // ES Modules import
|
|
31
|
+
* // const { WorkMailClient, GetAccessControlEffectCommand } = require("@aws-sdk/client-workmail"); // CommonJS import
|
|
32
|
+
* const client = new WorkMailClient(config);
|
|
33
|
+
* const command = new GetAccessControlEffectCommand(input);
|
|
34
|
+
* const response = await client.send(command);
|
|
35
|
+
* ```
|
|
36
|
+
*
|
|
37
|
+
* @see {@link GetAccessControlEffectCommandInput} for command's `input` shape.
|
|
38
|
+
* @see {@link GetAccessControlEffectCommandOutput} for command's `response` shape.
|
|
39
|
+
* @see {@link WorkMailClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
+
*
|
|
41
|
+
*/
|
|
42
|
+
export class GetAccessControlEffectCommand extends $Command<
|
|
43
|
+
GetAccessControlEffectCommandInput,
|
|
44
|
+
GetAccessControlEffectCommandOutput,
|
|
45
|
+
WorkMailClientResolvedConfig
|
|
46
|
+
> {
|
|
47
|
+
// Start section: command_properties
|
|
48
|
+
// End section: command_properties
|
|
49
|
+
|
|
50
|
+
constructor(readonly input: GetAccessControlEffectCommandInput) {
|
|
51
|
+
// Start section: command_constructor
|
|
52
|
+
super();
|
|
53
|
+
// End section: command_constructor
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* @internal
|
|
58
|
+
*/
|
|
59
|
+
resolveMiddleware(
|
|
60
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
61
|
+
configuration: WorkMailClientResolvedConfig,
|
|
62
|
+
options?: __HttpHandlerOptions
|
|
63
|
+
): Handler<GetAccessControlEffectCommandInput, GetAccessControlEffectCommandOutput> {
|
|
64
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
65
|
+
|
|
66
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
67
|
+
|
|
68
|
+
const { logger } = configuration;
|
|
69
|
+
const clientName = "WorkMailClient";
|
|
70
|
+
const commandName = "GetAccessControlEffectCommand";
|
|
71
|
+
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
+
logger,
|
|
73
|
+
clientName,
|
|
74
|
+
commandName,
|
|
75
|
+
inputFilterSensitiveLog: GetAccessControlEffectRequest.filterSensitiveLog,
|
|
76
|
+
outputFilterSensitiveLog: GetAccessControlEffectResponse.filterSensitiveLog,
|
|
77
|
+
};
|
|
78
|
+
const { requestHandler } = configuration;
|
|
79
|
+
return stack.resolve(
|
|
80
|
+
(request: FinalizeHandlerArguments<any>) =>
|
|
81
|
+
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
82
|
+
handlerExecutionContext
|
|
83
|
+
);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
private serialize(input: GetAccessControlEffectCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
87
|
+
return serializeAws_json1_1GetAccessControlEffectCommand(input, context);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetAccessControlEffectCommandOutput> {
|
|
91
|
+
return deserializeAws_json1_1GetAccessControlEffectCommand(output, context);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
// Start section: command_body_extra
|
|
95
|
+
// End section: command_body_extra
|
|
96
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
+
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import {
|
|
5
|
+
FinalizeHandlerArguments,
|
|
6
|
+
Handler,
|
|
7
|
+
HandlerExecutionContext,
|
|
8
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
+
MetadataBearer as __MetadataBearer,
|
|
10
|
+
MiddlewareStack,
|
|
11
|
+
SerdeContext as __SerdeContext,
|
|
12
|
+
} from "@aws-sdk/types";
|
|
13
|
+
|
|
14
|
+
import { GetDefaultRetentionPolicyRequest, GetDefaultRetentionPolicyResponse } from "../models/models_0";
|
|
15
|
+
import {
|
|
16
|
+
deserializeAws_json1_1GetDefaultRetentionPolicyCommand,
|
|
17
|
+
serializeAws_json1_1GetDefaultRetentionPolicyCommand,
|
|
18
|
+
} from "../protocols/Aws_json1_1";
|
|
19
|
+
import { ServiceInputTypes, ServiceOutputTypes, WorkMailClientResolvedConfig } from "../WorkMailClient";
|
|
20
|
+
|
|
21
|
+
export interface GetDefaultRetentionPolicyCommandInput extends GetDefaultRetentionPolicyRequest {}
|
|
22
|
+
export interface GetDefaultRetentionPolicyCommandOutput extends GetDefaultRetentionPolicyResponse, __MetadataBearer {}
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* <p>Gets the default retention policy details for the specified organization.</p>
|
|
26
|
+
* @example
|
|
27
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
+
* ```javascript
|
|
29
|
+
* import { WorkMailClient, GetDefaultRetentionPolicyCommand } from "@aws-sdk/client-workmail"; // ES Modules import
|
|
30
|
+
* // const { WorkMailClient, GetDefaultRetentionPolicyCommand } = require("@aws-sdk/client-workmail"); // CommonJS import
|
|
31
|
+
* const client = new WorkMailClient(config);
|
|
32
|
+
* const command = new GetDefaultRetentionPolicyCommand(input);
|
|
33
|
+
* const response = await client.send(command);
|
|
34
|
+
* ```
|
|
35
|
+
*
|
|
36
|
+
* @see {@link GetDefaultRetentionPolicyCommandInput} for command's `input` shape.
|
|
37
|
+
* @see {@link GetDefaultRetentionPolicyCommandOutput} for command's `response` shape.
|
|
38
|
+
* @see {@link WorkMailClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
+
*
|
|
40
|
+
*/
|
|
41
|
+
export class GetDefaultRetentionPolicyCommand extends $Command<
|
|
42
|
+
GetDefaultRetentionPolicyCommandInput,
|
|
43
|
+
GetDefaultRetentionPolicyCommandOutput,
|
|
44
|
+
WorkMailClientResolvedConfig
|
|
45
|
+
> {
|
|
46
|
+
// Start section: command_properties
|
|
47
|
+
// End section: command_properties
|
|
48
|
+
|
|
49
|
+
constructor(readonly input: GetDefaultRetentionPolicyCommandInput) {
|
|
50
|
+
// Start section: command_constructor
|
|
51
|
+
super();
|
|
52
|
+
// End section: command_constructor
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* @internal
|
|
57
|
+
*/
|
|
58
|
+
resolveMiddleware(
|
|
59
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
+
configuration: WorkMailClientResolvedConfig,
|
|
61
|
+
options?: __HttpHandlerOptions
|
|
62
|
+
): Handler<GetDefaultRetentionPolicyCommandInput, GetDefaultRetentionPolicyCommandOutput> {
|
|
63
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
+
|
|
65
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
+
|
|
67
|
+
const { logger } = configuration;
|
|
68
|
+
const clientName = "WorkMailClient";
|
|
69
|
+
const commandName = "GetDefaultRetentionPolicyCommand";
|
|
70
|
+
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
+
logger,
|
|
72
|
+
clientName,
|
|
73
|
+
commandName,
|
|
74
|
+
inputFilterSensitiveLog: GetDefaultRetentionPolicyRequest.filterSensitiveLog,
|
|
75
|
+
outputFilterSensitiveLog: GetDefaultRetentionPolicyResponse.filterSensitiveLog,
|
|
76
|
+
};
|
|
77
|
+
const { requestHandler } = configuration;
|
|
78
|
+
return stack.resolve(
|
|
79
|
+
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
+
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
+
handlerExecutionContext
|
|
82
|
+
);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
private serialize(input: GetDefaultRetentionPolicyCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
+
return serializeAws_json1_1GetDefaultRetentionPolicyCommand(input, context);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
private deserialize(
|
|
90
|
+
output: __HttpResponse,
|
|
91
|
+
context: __SerdeContext
|
|
92
|
+
): Promise<GetDefaultRetentionPolicyCommandOutput> {
|
|
93
|
+
return deserializeAws_json1_1GetDefaultRetentionPolicyCommand(output, context);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
// Start section: command_body_extra
|
|
97
|
+
// End section: command_body_extra
|
|
98
|
+
}
|