@aws-sdk/client-workmail 3.296.0 → 3.297.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/dist-types/WorkMail.d.ts +81 -0
- package/dist-types/WorkMailClient.d.ts +24 -4
- package/dist-types/commands/AssociateDelegateToResourceCommand.d.ts +16 -0
- package/dist-types/commands/AssociateMemberToGroupCommand.d.ts +16 -0
- package/dist-types/commands/AssumeImpersonationRoleCommand.d.ts +16 -0
- package/dist-types/commands/CancelMailboxExportJobCommand.d.ts +16 -0
- package/dist-types/commands/CreateAliasCommand.d.ts +16 -0
- package/dist-types/commands/CreateAvailabilityConfigurationCommand.d.ts +16 -0
- package/dist-types/commands/CreateGroupCommand.d.ts +16 -0
- package/dist-types/commands/CreateImpersonationRoleCommand.d.ts +16 -0
- package/dist-types/commands/CreateMobileDeviceAccessRuleCommand.d.ts +16 -0
- package/dist-types/commands/CreateOrganizationCommand.d.ts +16 -0
- package/dist-types/commands/CreateResourceCommand.d.ts +16 -0
- package/dist-types/commands/CreateUserCommand.d.ts +16 -0
- package/dist-types/commands/DeleteAccessControlRuleCommand.d.ts +16 -0
- package/dist-types/commands/DeleteAliasCommand.d.ts +16 -0
- package/dist-types/commands/DeleteAvailabilityConfigurationCommand.d.ts +16 -0
- package/dist-types/commands/DeleteEmailMonitoringConfigurationCommand.d.ts +16 -0
- package/dist-types/commands/DeleteGroupCommand.d.ts +16 -0
- package/dist-types/commands/DeleteImpersonationRoleCommand.d.ts +16 -0
- package/dist-types/commands/DeleteMailboxPermissionsCommand.d.ts +16 -0
- package/dist-types/commands/DeleteMobileDeviceAccessOverrideCommand.d.ts +16 -0
- package/dist-types/commands/DeleteMobileDeviceAccessRuleCommand.d.ts +16 -0
- package/dist-types/commands/DeleteOrganizationCommand.d.ts +16 -0
- package/dist-types/commands/DeleteResourceCommand.d.ts +16 -0
- package/dist-types/commands/DeleteRetentionPolicyCommand.d.ts +16 -0
- package/dist-types/commands/DeleteUserCommand.d.ts +16 -0
- package/dist-types/commands/DeregisterFromWorkMailCommand.d.ts +16 -0
- package/dist-types/commands/DeregisterMailDomainCommand.d.ts +16 -0
- package/dist-types/commands/DescribeEmailMonitoringConfigurationCommand.d.ts +16 -0
- package/dist-types/commands/DescribeGroupCommand.d.ts +16 -0
- package/dist-types/commands/DescribeInboundDmarcSettingsCommand.d.ts +16 -0
- package/dist-types/commands/DescribeMailboxExportJobCommand.d.ts +16 -0
- package/dist-types/commands/DescribeOrganizationCommand.d.ts +16 -0
- package/dist-types/commands/DescribeResourceCommand.d.ts +16 -0
- package/dist-types/commands/DescribeUserCommand.d.ts +16 -0
- package/dist-types/commands/DisassociateDelegateFromResourceCommand.d.ts +16 -0
- package/dist-types/commands/DisassociateMemberFromGroupCommand.d.ts +16 -0
- package/dist-types/commands/GetAccessControlEffectCommand.d.ts +16 -0
- package/dist-types/commands/GetDefaultRetentionPolicyCommand.d.ts +16 -0
- package/dist-types/commands/GetImpersonationRoleCommand.d.ts +16 -0
- package/dist-types/commands/GetImpersonationRoleEffectCommand.d.ts +16 -0
- package/dist-types/commands/GetMailDomainCommand.d.ts +16 -0
- package/dist-types/commands/GetMailboxDetailsCommand.d.ts +16 -0
- package/dist-types/commands/GetMobileDeviceAccessEffectCommand.d.ts +16 -0
- package/dist-types/commands/GetMobileDeviceAccessOverrideCommand.d.ts +16 -0
- package/dist-types/commands/ListAccessControlRulesCommand.d.ts +16 -0
- package/dist-types/commands/ListAliasesCommand.d.ts +16 -0
- package/dist-types/commands/ListAvailabilityConfigurationsCommand.d.ts +16 -0
- package/dist-types/commands/ListGroupMembersCommand.d.ts +16 -0
- package/dist-types/commands/ListGroupsCommand.d.ts +16 -0
- package/dist-types/commands/ListImpersonationRolesCommand.d.ts +16 -0
- package/dist-types/commands/ListMailDomainsCommand.d.ts +16 -0
- package/dist-types/commands/ListMailboxExportJobsCommand.d.ts +16 -0
- package/dist-types/commands/ListMailboxPermissionsCommand.d.ts +16 -0
- package/dist-types/commands/ListMobileDeviceAccessOverridesCommand.d.ts +16 -0
- package/dist-types/commands/ListMobileDeviceAccessRulesCommand.d.ts +16 -0
- package/dist-types/commands/ListOrganizationsCommand.d.ts +16 -0
- package/dist-types/commands/ListResourceDelegatesCommand.d.ts +16 -0
- package/dist-types/commands/ListResourcesCommand.d.ts +16 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
- package/dist-types/commands/ListUsersCommand.d.ts +16 -0
- package/dist-types/commands/PutAccessControlRuleCommand.d.ts +16 -0
- package/dist-types/commands/PutEmailMonitoringConfigurationCommand.d.ts +16 -0
- package/dist-types/commands/PutInboundDmarcSettingsCommand.d.ts +16 -0
- package/dist-types/commands/PutMailboxPermissionsCommand.d.ts +16 -0
- package/dist-types/commands/PutMobileDeviceAccessOverrideCommand.d.ts +16 -0
- package/dist-types/commands/PutRetentionPolicyCommand.d.ts +16 -0
- package/dist-types/commands/RegisterMailDomainCommand.d.ts +16 -0
- package/dist-types/commands/RegisterToWorkMailCommand.d.ts +16 -0
- package/dist-types/commands/ResetPasswordCommand.d.ts +16 -0
- package/dist-types/commands/StartMailboxExportJobCommand.d.ts +16 -0
- package/dist-types/commands/TagResourceCommand.d.ts +16 -0
- package/dist-types/commands/TestAvailabilityConfigurationCommand.d.ts +16 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UpdateAvailabilityConfigurationCommand.d.ts +16 -0
- package/dist-types/commands/UpdateDefaultMailDomainCommand.d.ts +16 -0
- package/dist-types/commands/UpdateImpersonationRoleCommand.d.ts +16 -0
- package/dist-types/commands/UpdateMailboxQuotaCommand.d.ts +16 -0
- package/dist-types/commands/UpdateMobileDeviceAccessRuleCommand.d.ts +16 -0
- package/dist-types/commands/UpdatePrimaryEmailAddressCommand.d.ts +16 -0
- package/dist-types/commands/UpdateResourceCommand.d.ts +16 -0
- package/dist-types/models/WorkMailServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +569 -0
- package/dist-types/pagination/Interfaces.d.ts +3 -0
- package/dist-types/pagination/ListAliasesPaginator.d.ts +3 -0
- package/dist-types/pagination/ListAvailabilityConfigurationsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListGroupMembersPaginator.d.ts +3 -0
- package/dist-types/pagination/ListGroupsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListImpersonationRolesPaginator.d.ts +3 -0
- package/dist-types/pagination/ListMailDomainsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListMailboxExportJobsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListMailboxPermissionsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListMobileDeviceAccessOverridesPaginator.d.ts +3 -0
- package/dist-types/pagination/ListOrganizationsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListResourceDelegatesPaginator.d.ts +3 -0
- package/dist-types/pagination/ListResourcesPaginator.d.ts +3 -0
- package/dist-types/pagination/ListUsersPaginator.d.ts +3 -0
- package/package.json +3 -3
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { UpdateDefaultMailDomainRequest, UpdateDefaultMailDomainResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, WorkMailClientResolvedConfig } from "../WorkMailClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link UpdateDefaultMailDomainCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface UpdateDefaultMailDomainCommandInput extends UpdateDefaultMailDomainRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link UpdateDefaultMailDomainCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface UpdateDefaultMailDomainCommandOutput extends UpdateDefaultMailDomainResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Updates the default mail domain for an organization. The default mail domain is used by the WorkMail AWS Console to suggest an email address when enabling a mail user. You can only have one default domain.</p>
|
|
18
23
|
* @example
|
|
19
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -25,6 +30,8 @@ export interface UpdateDefaultMailDomainCommandOutput extends UpdateDefaultMailD
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param UpdateDefaultMailDomainCommandInput - {@link UpdateDefaultMailDomainCommandInput}
|
|
34
|
+
* @returns {@link UpdateDefaultMailDomainCommandOutput}
|
|
28
35
|
* @see {@link UpdateDefaultMailDomainCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link UpdateDefaultMailDomainCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link WorkMailClientResolvedConfig | config} for WorkMailClient's `config` shape.
|
|
@@ -52,11 +59,20 @@ export interface UpdateDefaultMailDomainCommandOutput extends UpdateDefaultMailD
|
|
|
52
59
|
export declare class UpdateDefaultMailDomainCommand extends $Command<UpdateDefaultMailDomainCommandInput, UpdateDefaultMailDomainCommandOutput, WorkMailClientResolvedConfig> {
|
|
53
60
|
readonly input: UpdateDefaultMailDomainCommandInput;
|
|
54
61
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
62
|
+
/**
|
|
63
|
+
* @public
|
|
64
|
+
*/
|
|
55
65
|
constructor(input: UpdateDefaultMailDomainCommandInput);
|
|
56
66
|
/**
|
|
57
67
|
* @internal
|
|
58
68
|
*/
|
|
59
69
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WorkMailClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateDefaultMailDomainCommandInput, UpdateDefaultMailDomainCommandOutput>;
|
|
70
|
+
/**
|
|
71
|
+
* @internal
|
|
72
|
+
*/
|
|
60
73
|
private serialize;
|
|
74
|
+
/**
|
|
75
|
+
* @internal
|
|
76
|
+
*/
|
|
61
77
|
private deserialize;
|
|
62
78
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { UpdateImpersonationRoleRequest, UpdateImpersonationRoleResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, WorkMailClientResolvedConfig } from "../WorkMailClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link UpdateImpersonationRoleCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface UpdateImpersonationRoleCommandInput extends UpdateImpersonationRoleRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link UpdateImpersonationRoleCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface UpdateImpersonationRoleCommandOutput extends UpdateImpersonationRoleResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Updates an impersonation role for the given WorkMail organization.</p>
|
|
18
23
|
* @example
|
|
19
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -25,6 +30,8 @@ export interface UpdateImpersonationRoleCommandOutput extends UpdateImpersonatio
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param UpdateImpersonationRoleCommandInput - {@link UpdateImpersonationRoleCommandInput}
|
|
34
|
+
* @returns {@link UpdateImpersonationRoleCommandOutput}
|
|
28
35
|
* @see {@link UpdateImpersonationRoleCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link UpdateImpersonationRoleCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link WorkMailClientResolvedConfig | config} for WorkMailClient's `config` shape.
|
|
@@ -59,11 +66,20 @@ export interface UpdateImpersonationRoleCommandOutput extends UpdateImpersonatio
|
|
|
59
66
|
export declare class UpdateImpersonationRoleCommand extends $Command<UpdateImpersonationRoleCommandInput, UpdateImpersonationRoleCommandOutput, WorkMailClientResolvedConfig> {
|
|
60
67
|
readonly input: UpdateImpersonationRoleCommandInput;
|
|
61
68
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
69
|
+
/**
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
62
72
|
constructor(input: UpdateImpersonationRoleCommandInput);
|
|
63
73
|
/**
|
|
64
74
|
* @internal
|
|
65
75
|
*/
|
|
66
76
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WorkMailClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateImpersonationRoleCommandInput, UpdateImpersonationRoleCommandOutput>;
|
|
77
|
+
/**
|
|
78
|
+
* @internal
|
|
79
|
+
*/
|
|
67
80
|
private serialize;
|
|
81
|
+
/**
|
|
82
|
+
* @internal
|
|
83
|
+
*/
|
|
68
84
|
private deserialize;
|
|
69
85
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { UpdateMailboxQuotaRequest, UpdateMailboxQuotaResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, WorkMailClientResolvedConfig } from "../WorkMailClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link UpdateMailboxQuotaCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface UpdateMailboxQuotaCommandInput extends UpdateMailboxQuotaRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link UpdateMailboxQuotaCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface UpdateMailboxQuotaCommandOutput extends UpdateMailboxQuotaResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Updates a user's current mailbox quota for a specified organization and
|
|
18
23
|
* user.</p>
|
|
19
24
|
* @example
|
|
@@ -26,6 +31,8 @@ export interface UpdateMailboxQuotaCommandOutput extends UpdateMailboxQuotaRespo
|
|
|
26
31
|
* const response = await client.send(command);
|
|
27
32
|
* ```
|
|
28
33
|
*
|
|
34
|
+
* @param UpdateMailboxQuotaCommandInput - {@link UpdateMailboxQuotaCommandInput}
|
|
35
|
+
* @returns {@link UpdateMailboxQuotaCommandOutput}
|
|
29
36
|
* @see {@link UpdateMailboxQuotaCommandInput} for command's `input` shape.
|
|
30
37
|
* @see {@link UpdateMailboxQuotaCommandOutput} for command's `response` shape.
|
|
31
38
|
* @see {@link WorkMailClientResolvedConfig | config} for WorkMailClient's `config` shape.
|
|
@@ -54,11 +61,20 @@ export interface UpdateMailboxQuotaCommandOutput extends UpdateMailboxQuotaRespo
|
|
|
54
61
|
export declare class UpdateMailboxQuotaCommand extends $Command<UpdateMailboxQuotaCommandInput, UpdateMailboxQuotaCommandOutput, WorkMailClientResolvedConfig> {
|
|
55
62
|
readonly input: UpdateMailboxQuotaCommandInput;
|
|
56
63
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
64
|
+
/**
|
|
65
|
+
* @public
|
|
66
|
+
*/
|
|
57
67
|
constructor(input: UpdateMailboxQuotaCommandInput);
|
|
58
68
|
/**
|
|
59
69
|
* @internal
|
|
60
70
|
*/
|
|
61
71
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WorkMailClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateMailboxQuotaCommandInput, UpdateMailboxQuotaCommandOutput>;
|
|
72
|
+
/**
|
|
73
|
+
* @internal
|
|
74
|
+
*/
|
|
62
75
|
private serialize;
|
|
76
|
+
/**
|
|
77
|
+
* @internal
|
|
78
|
+
*/
|
|
63
79
|
private deserialize;
|
|
64
80
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { UpdateMobileDeviceAccessRuleRequest, UpdateMobileDeviceAccessRuleResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, WorkMailClientResolvedConfig } from "../WorkMailClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link UpdateMobileDeviceAccessRuleCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface UpdateMobileDeviceAccessRuleCommandInput extends UpdateMobileDeviceAccessRuleRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link UpdateMobileDeviceAccessRuleCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface UpdateMobileDeviceAccessRuleCommandOutput extends UpdateMobileDeviceAccessRuleResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Updates a mobile device access rule for the specified WorkMail organization.</p>
|
|
18
23
|
* @example
|
|
19
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -25,6 +30,8 @@ export interface UpdateMobileDeviceAccessRuleCommandOutput extends UpdateMobileD
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param UpdateMobileDeviceAccessRuleCommandInput - {@link UpdateMobileDeviceAccessRuleCommandInput}
|
|
34
|
+
* @returns {@link UpdateMobileDeviceAccessRuleCommandOutput}
|
|
28
35
|
* @see {@link UpdateMobileDeviceAccessRuleCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link UpdateMobileDeviceAccessRuleCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link WorkMailClientResolvedConfig | config} for WorkMailClient's `config` shape.
|
|
@@ -49,11 +56,20 @@ export interface UpdateMobileDeviceAccessRuleCommandOutput extends UpdateMobileD
|
|
|
49
56
|
export declare class UpdateMobileDeviceAccessRuleCommand extends $Command<UpdateMobileDeviceAccessRuleCommandInput, UpdateMobileDeviceAccessRuleCommandOutput, WorkMailClientResolvedConfig> {
|
|
50
57
|
readonly input: UpdateMobileDeviceAccessRuleCommandInput;
|
|
51
58
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
59
|
+
/**
|
|
60
|
+
* @public
|
|
61
|
+
*/
|
|
52
62
|
constructor(input: UpdateMobileDeviceAccessRuleCommandInput);
|
|
53
63
|
/**
|
|
54
64
|
* @internal
|
|
55
65
|
*/
|
|
56
66
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WorkMailClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateMobileDeviceAccessRuleCommandInput, UpdateMobileDeviceAccessRuleCommandOutput>;
|
|
67
|
+
/**
|
|
68
|
+
* @internal
|
|
69
|
+
*/
|
|
57
70
|
private serialize;
|
|
71
|
+
/**
|
|
72
|
+
* @internal
|
|
73
|
+
*/
|
|
58
74
|
private deserialize;
|
|
59
75
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { UpdatePrimaryEmailAddressRequest, UpdatePrimaryEmailAddressResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, WorkMailClientResolvedConfig } from "../WorkMailClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link UpdatePrimaryEmailAddressCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface UpdatePrimaryEmailAddressCommandInput extends UpdatePrimaryEmailAddressRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link UpdatePrimaryEmailAddressCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface UpdatePrimaryEmailAddressCommandOutput extends UpdatePrimaryEmailAddressResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Updates the primary email for a user, group, or resource. The current email is moved
|
|
18
23
|
* into the list of aliases (or swapped between an existing alias and the current primary
|
|
19
24
|
* email), and the email provided in the input is promoted as the primary.</p>
|
|
@@ -27,6 +32,8 @@ export interface UpdatePrimaryEmailAddressCommandOutput extends UpdatePrimaryEma
|
|
|
27
32
|
* const response = await client.send(command);
|
|
28
33
|
* ```
|
|
29
34
|
*
|
|
35
|
+
* @param UpdatePrimaryEmailAddressCommandInput - {@link UpdatePrimaryEmailAddressCommandInput}
|
|
36
|
+
* @returns {@link UpdatePrimaryEmailAddressCommandOutput}
|
|
30
37
|
* @see {@link UpdatePrimaryEmailAddressCommandInput} for command's `input` shape.
|
|
31
38
|
* @see {@link UpdatePrimaryEmailAddressCommandOutput} for command's `response` shape.
|
|
32
39
|
* @see {@link WorkMailClientResolvedConfig | config} for WorkMailClient's `config` shape.
|
|
@@ -75,11 +82,20 @@ export interface UpdatePrimaryEmailAddressCommandOutput extends UpdatePrimaryEma
|
|
|
75
82
|
export declare class UpdatePrimaryEmailAddressCommand extends $Command<UpdatePrimaryEmailAddressCommandInput, UpdatePrimaryEmailAddressCommandOutput, WorkMailClientResolvedConfig> {
|
|
76
83
|
readonly input: UpdatePrimaryEmailAddressCommandInput;
|
|
77
84
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
85
|
+
/**
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
78
88
|
constructor(input: UpdatePrimaryEmailAddressCommandInput);
|
|
79
89
|
/**
|
|
80
90
|
* @internal
|
|
81
91
|
*/
|
|
82
92
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WorkMailClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdatePrimaryEmailAddressCommandInput, UpdatePrimaryEmailAddressCommandOutput>;
|
|
93
|
+
/**
|
|
94
|
+
* @internal
|
|
95
|
+
*/
|
|
83
96
|
private serialize;
|
|
97
|
+
/**
|
|
98
|
+
* @internal
|
|
99
|
+
*/
|
|
84
100
|
private deserialize;
|
|
85
101
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { UpdateResourceRequest, UpdateResourceResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, WorkMailClientResolvedConfig } from "../WorkMailClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link UpdateResourceCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface UpdateResourceCommandInput extends UpdateResourceRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link UpdateResourceCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface UpdateResourceCommandOutput extends UpdateResourceResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Updates data for the resource. To have the latest information, it must be preceded by
|
|
18
23
|
* a <a>DescribeResource</a> call. The dataset in the request should be the one
|
|
19
24
|
* expected when performing another <code>DescribeResource</code> call.</p>
|
|
@@ -27,6 +32,8 @@ export interface UpdateResourceCommandOutput extends UpdateResourceResponse, __M
|
|
|
27
32
|
* const response = await client.send(command);
|
|
28
33
|
* ```
|
|
29
34
|
*
|
|
35
|
+
* @param UpdateResourceCommandInput - {@link UpdateResourceCommandInput}
|
|
36
|
+
* @returns {@link UpdateResourceCommandOutput}
|
|
30
37
|
* @see {@link UpdateResourceCommandInput} for command's `input` shape.
|
|
31
38
|
* @see {@link UpdateResourceCommandOutput} for command's `response` shape.
|
|
32
39
|
* @see {@link WorkMailClientResolvedConfig | config} for WorkMailClient's `config` shape.
|
|
@@ -74,11 +81,20 @@ export interface UpdateResourceCommandOutput extends UpdateResourceResponse, __M
|
|
|
74
81
|
export declare class UpdateResourceCommand extends $Command<UpdateResourceCommandInput, UpdateResourceCommandOutput, WorkMailClientResolvedConfig> {
|
|
75
82
|
readonly input: UpdateResourceCommandInput;
|
|
76
83
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
84
|
+
/**
|
|
85
|
+
* @public
|
|
86
|
+
*/
|
|
77
87
|
constructor(input: UpdateResourceCommandInput);
|
|
78
88
|
/**
|
|
79
89
|
* @internal
|
|
80
90
|
*/
|
|
81
91
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WorkMailClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateResourceCommandInput, UpdateResourceCommandOutput>;
|
|
92
|
+
/**
|
|
93
|
+
* @internal
|
|
94
|
+
*/
|
|
82
95
|
private serialize;
|
|
96
|
+
/**
|
|
97
|
+
* @internal
|
|
98
|
+
*/
|
|
83
99
|
private deserialize;
|
|
84
100
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
2
|
/**
|
|
3
|
+
* @public
|
|
4
|
+
*
|
|
3
5
|
* Base exception class for all service exceptions from WorkMail service.
|
|
4
6
|
*/
|
|
5
7
|
export declare class WorkMailServiceException extends __ServiceException {
|