@aws-sdk/client-workmail 3.682.0 → 3.683.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/README.md +65 -1
- package/dist-cjs/index.js +386 -4
- package/dist-es/WorkMail.js +16 -0
- package/dist-es/commands/CreateIdentityCenterApplicationCommand.js +22 -0
- package/dist-es/commands/CreateResourceCommand.js +2 -1
- package/dist-es/commands/DeleteIdentityCenterApplicationCommand.js +22 -0
- package/dist-es/commands/DeleteIdentityProviderConfigurationCommand.js +22 -0
- package/dist-es/commands/DeletePersonalAccessTokenCommand.js +22 -0
- package/dist-es/commands/DescribeIdentityProviderConfigurationCommand.js +22 -0
- package/dist-es/commands/DescribeResourceCommand.js +2 -1
- package/dist-es/commands/GetPersonalAccessTokenMetadataCommand.js +22 -0
- package/dist-es/commands/ListPersonalAccessTokensCommand.js +22 -0
- package/dist-es/commands/ListResourcesCommand.js +2 -1
- package/dist-es/commands/PutIdentityProviderConfigurationCommand.js +22 -0
- package/dist-es/commands/UpdateResourceCommand.js +2 -1
- package/dist-es/commands/index.js +8 -0
- package/dist-es/models/models_0.js +28 -0
- package/dist-es/pagination/ListPersonalAccessTokensPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +200 -0
- package/dist-types/WorkMail.d.ts +56 -0
- package/dist-types/WorkMailClient.d.ts +10 -2
- package/dist-types/commands/CreateIdentityCenterApplicationCommand.d.ts +78 -0
- package/dist-types/commands/CreateUserCommand.d.ts +1 -0
- package/dist-types/commands/DeleteIdentityCenterApplicationCommand.d.ts +78 -0
- package/dist-types/commands/DeleteIdentityProviderConfigurationCommand.d.ts +82 -0
- package/dist-types/commands/DeleteOrganizationCommand.d.ts +1 -0
- package/dist-types/commands/DeletePersonalAccessTokenCommand.d.ts +83 -0
- package/dist-types/commands/DescribeIdentityProviderConfigurationCommand.d.ts +95 -0
- package/dist-types/commands/DescribeUserCommand.d.ts +8 -0
- package/dist-types/commands/GetPersonalAccessTokenMetadataCommand.d.ts +96 -0
- package/dist-types/commands/ListAvailabilityConfigurationsCommand.d.ts +3 -0
- package/dist-types/commands/ListPersonalAccessTokensCommand.d.ts +108 -0
- package/dist-types/commands/ListUsersCommand.d.ts +3 -0
- package/dist-types/commands/PutIdentityProviderConfigurationCommand.d.ts +96 -0
- package/dist-types/commands/UpdateGroupCommand.d.ts +1 -1
- package/dist-types/commands/UpdateUserCommand.d.ts +1 -0
- package/dist-types/commands/index.d.ts +8 -0
- package/dist-types/models/models_0.d.ts +485 -1
- package/dist-types/pagination/ListPersonalAccessTokensPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +72 -0
- package/dist-types/ts3.4/WorkMail.d.ts +148 -0
- package/dist-types/ts3.4/WorkMailClient.d.ts +48 -0
- package/dist-types/ts3.4/commands/CreateIdentityCenterApplicationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteIdentityCenterApplicationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteIdentityProviderConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeletePersonalAccessTokenCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeIdentityProviderConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetPersonalAccessTokenMetadataCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListPersonalAccessTokensCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/PutIdentityProviderConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +8 -0
- package/dist-types/ts3.4/models/models_0.d.ts +111 -0
- package/dist-types/ts3.4/pagination/ListPersonalAccessTokensPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +96 -0
- package/package.json +1 -1
package/dist-es/WorkMail.js
CHANGED
|
@@ -6,6 +6,7 @@ import { CancelMailboxExportJobCommand, } from "./commands/CancelMailboxExportJo
|
|
|
6
6
|
import { CreateAliasCommand } from "./commands/CreateAliasCommand";
|
|
7
7
|
import { CreateAvailabilityConfigurationCommand, } from "./commands/CreateAvailabilityConfigurationCommand";
|
|
8
8
|
import { CreateGroupCommand } from "./commands/CreateGroupCommand";
|
|
9
|
+
import { CreateIdentityCenterApplicationCommand, } from "./commands/CreateIdentityCenterApplicationCommand";
|
|
9
10
|
import { CreateImpersonationRoleCommand, } from "./commands/CreateImpersonationRoleCommand";
|
|
10
11
|
import { CreateMobileDeviceAccessRuleCommand, } from "./commands/CreateMobileDeviceAccessRuleCommand";
|
|
11
12
|
import { CreateOrganizationCommand, } from "./commands/CreateOrganizationCommand";
|
|
@@ -16,11 +17,14 @@ import { DeleteAliasCommand } from "./commands/DeleteAliasCommand";
|
|
|
16
17
|
import { DeleteAvailabilityConfigurationCommand, } from "./commands/DeleteAvailabilityConfigurationCommand";
|
|
17
18
|
import { DeleteEmailMonitoringConfigurationCommand, } from "./commands/DeleteEmailMonitoringConfigurationCommand";
|
|
18
19
|
import { DeleteGroupCommand } from "./commands/DeleteGroupCommand";
|
|
20
|
+
import { DeleteIdentityCenterApplicationCommand, } from "./commands/DeleteIdentityCenterApplicationCommand";
|
|
21
|
+
import { DeleteIdentityProviderConfigurationCommand, } from "./commands/DeleteIdentityProviderConfigurationCommand";
|
|
19
22
|
import { DeleteImpersonationRoleCommand, } from "./commands/DeleteImpersonationRoleCommand";
|
|
20
23
|
import { DeleteMailboxPermissionsCommand, } from "./commands/DeleteMailboxPermissionsCommand";
|
|
21
24
|
import { DeleteMobileDeviceAccessOverrideCommand, } from "./commands/DeleteMobileDeviceAccessOverrideCommand";
|
|
22
25
|
import { DeleteMobileDeviceAccessRuleCommand, } from "./commands/DeleteMobileDeviceAccessRuleCommand";
|
|
23
26
|
import { DeleteOrganizationCommand, } from "./commands/DeleteOrganizationCommand";
|
|
27
|
+
import { DeletePersonalAccessTokenCommand, } from "./commands/DeletePersonalAccessTokenCommand";
|
|
24
28
|
import { DeleteResourceCommand, } from "./commands/DeleteResourceCommand";
|
|
25
29
|
import { DeleteRetentionPolicyCommand, } from "./commands/DeleteRetentionPolicyCommand";
|
|
26
30
|
import { DeleteUserCommand } from "./commands/DeleteUserCommand";
|
|
@@ -29,6 +33,7 @@ import { DeregisterMailDomainCommand, } from "./commands/DeregisterMailDomainCom
|
|
|
29
33
|
import { DescribeEmailMonitoringConfigurationCommand, } from "./commands/DescribeEmailMonitoringConfigurationCommand";
|
|
30
34
|
import { DescribeEntityCommand, } from "./commands/DescribeEntityCommand";
|
|
31
35
|
import { DescribeGroupCommand, } from "./commands/DescribeGroupCommand";
|
|
36
|
+
import { DescribeIdentityProviderConfigurationCommand, } from "./commands/DescribeIdentityProviderConfigurationCommand";
|
|
32
37
|
import { DescribeInboundDmarcSettingsCommand, } from "./commands/DescribeInboundDmarcSettingsCommand";
|
|
33
38
|
import { DescribeMailboxExportJobCommand, } from "./commands/DescribeMailboxExportJobCommand";
|
|
34
39
|
import { DescribeOrganizationCommand, } from "./commands/DescribeOrganizationCommand";
|
|
@@ -44,6 +49,7 @@ import { GetMailboxDetailsCommand, } from "./commands/GetMailboxDetailsCommand";
|
|
|
44
49
|
import { GetMailDomainCommand, } from "./commands/GetMailDomainCommand";
|
|
45
50
|
import { GetMobileDeviceAccessEffectCommand, } from "./commands/GetMobileDeviceAccessEffectCommand";
|
|
46
51
|
import { GetMobileDeviceAccessOverrideCommand, } from "./commands/GetMobileDeviceAccessOverrideCommand";
|
|
52
|
+
import { GetPersonalAccessTokenMetadataCommand, } from "./commands/GetPersonalAccessTokenMetadataCommand";
|
|
47
53
|
import { ListAccessControlRulesCommand, } from "./commands/ListAccessControlRulesCommand";
|
|
48
54
|
import { ListAliasesCommand } from "./commands/ListAliasesCommand";
|
|
49
55
|
import { ListAvailabilityConfigurationsCommand, } from "./commands/ListAvailabilityConfigurationsCommand";
|
|
@@ -57,12 +63,14 @@ import { ListMailDomainsCommand, } from "./commands/ListMailDomainsCommand";
|
|
|
57
63
|
import { ListMobileDeviceAccessOverridesCommand, } from "./commands/ListMobileDeviceAccessOverridesCommand";
|
|
58
64
|
import { ListMobileDeviceAccessRulesCommand, } from "./commands/ListMobileDeviceAccessRulesCommand";
|
|
59
65
|
import { ListOrganizationsCommand, } from "./commands/ListOrganizationsCommand";
|
|
66
|
+
import { ListPersonalAccessTokensCommand, } from "./commands/ListPersonalAccessTokensCommand";
|
|
60
67
|
import { ListResourceDelegatesCommand, } from "./commands/ListResourceDelegatesCommand";
|
|
61
68
|
import { ListResourcesCommand, } from "./commands/ListResourcesCommand";
|
|
62
69
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
63
70
|
import { ListUsersCommand } from "./commands/ListUsersCommand";
|
|
64
71
|
import { PutAccessControlRuleCommand, } from "./commands/PutAccessControlRuleCommand";
|
|
65
72
|
import { PutEmailMonitoringConfigurationCommand, } from "./commands/PutEmailMonitoringConfigurationCommand";
|
|
73
|
+
import { PutIdentityProviderConfigurationCommand, } from "./commands/PutIdentityProviderConfigurationCommand";
|
|
66
74
|
import { PutInboundDmarcSettingsCommand, } from "./commands/PutInboundDmarcSettingsCommand";
|
|
67
75
|
import { PutMailboxPermissionsCommand, } from "./commands/PutMailboxPermissionsCommand";
|
|
68
76
|
import { PutMobileDeviceAccessOverrideCommand, } from "./commands/PutMobileDeviceAccessOverrideCommand";
|
|
@@ -92,6 +100,7 @@ const commands = {
|
|
|
92
100
|
CreateAliasCommand,
|
|
93
101
|
CreateAvailabilityConfigurationCommand,
|
|
94
102
|
CreateGroupCommand,
|
|
103
|
+
CreateIdentityCenterApplicationCommand,
|
|
95
104
|
CreateImpersonationRoleCommand,
|
|
96
105
|
CreateMobileDeviceAccessRuleCommand,
|
|
97
106
|
CreateOrganizationCommand,
|
|
@@ -102,11 +111,14 @@ const commands = {
|
|
|
102
111
|
DeleteAvailabilityConfigurationCommand,
|
|
103
112
|
DeleteEmailMonitoringConfigurationCommand,
|
|
104
113
|
DeleteGroupCommand,
|
|
114
|
+
DeleteIdentityCenterApplicationCommand,
|
|
115
|
+
DeleteIdentityProviderConfigurationCommand,
|
|
105
116
|
DeleteImpersonationRoleCommand,
|
|
106
117
|
DeleteMailboxPermissionsCommand,
|
|
107
118
|
DeleteMobileDeviceAccessOverrideCommand,
|
|
108
119
|
DeleteMobileDeviceAccessRuleCommand,
|
|
109
120
|
DeleteOrganizationCommand,
|
|
121
|
+
DeletePersonalAccessTokenCommand,
|
|
110
122
|
DeleteResourceCommand,
|
|
111
123
|
DeleteRetentionPolicyCommand,
|
|
112
124
|
DeleteUserCommand,
|
|
@@ -115,6 +127,7 @@ const commands = {
|
|
|
115
127
|
DescribeEmailMonitoringConfigurationCommand,
|
|
116
128
|
DescribeEntityCommand,
|
|
117
129
|
DescribeGroupCommand,
|
|
130
|
+
DescribeIdentityProviderConfigurationCommand,
|
|
118
131
|
DescribeInboundDmarcSettingsCommand,
|
|
119
132
|
DescribeMailboxExportJobCommand,
|
|
120
133
|
DescribeOrganizationCommand,
|
|
@@ -130,6 +143,7 @@ const commands = {
|
|
|
130
143
|
GetMailDomainCommand,
|
|
131
144
|
GetMobileDeviceAccessEffectCommand,
|
|
132
145
|
GetMobileDeviceAccessOverrideCommand,
|
|
146
|
+
GetPersonalAccessTokenMetadataCommand,
|
|
133
147
|
ListAccessControlRulesCommand,
|
|
134
148
|
ListAliasesCommand,
|
|
135
149
|
ListAvailabilityConfigurationsCommand,
|
|
@@ -143,12 +157,14 @@ const commands = {
|
|
|
143
157
|
ListMobileDeviceAccessOverridesCommand,
|
|
144
158
|
ListMobileDeviceAccessRulesCommand,
|
|
145
159
|
ListOrganizationsCommand,
|
|
160
|
+
ListPersonalAccessTokensCommand,
|
|
146
161
|
ListResourceDelegatesCommand,
|
|
147
162
|
ListResourcesCommand,
|
|
148
163
|
ListTagsForResourceCommand,
|
|
149
164
|
ListUsersCommand,
|
|
150
165
|
PutAccessControlRuleCommand,
|
|
151
166
|
PutEmailMonitoringConfigurationCommand,
|
|
167
|
+
PutIdentityProviderConfigurationCommand,
|
|
152
168
|
PutInboundDmarcSettingsCommand,
|
|
153
169
|
PutMailboxPermissionsCommand,
|
|
154
170
|
PutMobileDeviceAccessOverrideCommand,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_CreateIdentityCenterApplicationCommand, se_CreateIdentityCenterApplicationCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class CreateIdentityCenterApplicationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("WorkMailService", "CreateIdentityCenterApplication", {})
|
|
17
|
+
.n("WorkMailClient", "CreateIdentityCenterApplicationCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_CreateIdentityCenterApplicationCommand)
|
|
20
|
+
.de(de_CreateIdentityCenterApplicationCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { CreateResourceRequestFilterSensitiveLog, } from "../models/models_0";
|
|
5
6
|
import { de_CreateResourceCommand, se_CreateResourceCommand } from "../protocols/Aws_json1_1";
|
|
6
7
|
export { $Command };
|
|
7
8
|
export class CreateResourceCommand extends $Command
|
|
@@ -15,7 +16,7 @@ export class CreateResourceCommand extends $Command
|
|
|
15
16
|
})
|
|
16
17
|
.s("WorkMailService", "CreateResource", {})
|
|
17
18
|
.n("WorkMailClient", "CreateResourceCommand")
|
|
18
|
-
.f(
|
|
19
|
+
.f(CreateResourceRequestFilterSensitiveLog, void 0)
|
|
19
20
|
.ser(se_CreateResourceCommand)
|
|
20
21
|
.de(de_CreateResourceCommand)
|
|
21
22
|
.build() {
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_DeleteIdentityCenterApplicationCommand, se_DeleteIdentityCenterApplicationCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DeleteIdentityCenterApplicationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("WorkMailService", "DeleteIdentityCenterApplication", {})
|
|
17
|
+
.n("WorkMailClient", "DeleteIdentityCenterApplicationCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_DeleteIdentityCenterApplicationCommand)
|
|
20
|
+
.de(de_DeleteIdentityCenterApplicationCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_DeleteIdentityProviderConfigurationCommand, se_DeleteIdentityProviderConfigurationCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DeleteIdentityProviderConfigurationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("WorkMailService", "DeleteIdentityProviderConfiguration", {})
|
|
17
|
+
.n("WorkMailClient", "DeleteIdentityProviderConfigurationCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_DeleteIdentityProviderConfigurationCommand)
|
|
20
|
+
.de(de_DeleteIdentityProviderConfigurationCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_DeletePersonalAccessTokenCommand, se_DeletePersonalAccessTokenCommand } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DeletePersonalAccessTokenCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("WorkMailService", "DeletePersonalAccessToken", {})
|
|
17
|
+
.n("WorkMailClient", "DeletePersonalAccessTokenCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_DeletePersonalAccessTokenCommand)
|
|
20
|
+
.de(de_DeletePersonalAccessTokenCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_DescribeIdentityProviderConfigurationCommand, se_DescribeIdentityProviderConfigurationCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DescribeIdentityProviderConfigurationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("WorkMailService", "DescribeIdentityProviderConfiguration", {})
|
|
17
|
+
.n("WorkMailClient", "DescribeIdentityProviderConfigurationCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_DescribeIdentityProviderConfigurationCommand)
|
|
20
|
+
.de(de_DescribeIdentityProviderConfigurationCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { DescribeResourceResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
6
|
import { de_DescribeResourceCommand, se_DescribeResourceCommand } from "../protocols/Aws_json1_1";
|
|
6
7
|
export { $Command };
|
|
7
8
|
export class DescribeResourceCommand extends $Command
|
|
@@ -15,7 +16,7 @@ export class DescribeResourceCommand extends $Command
|
|
|
15
16
|
})
|
|
16
17
|
.s("WorkMailService", "DescribeResource", {})
|
|
17
18
|
.n("WorkMailClient", "DescribeResourceCommand")
|
|
18
|
-
.f(void 0,
|
|
19
|
+
.f(void 0, DescribeResourceResponseFilterSensitiveLog)
|
|
19
20
|
.ser(se_DescribeResourceCommand)
|
|
20
21
|
.de(de_DescribeResourceCommand)
|
|
21
22
|
.build() {
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_GetPersonalAccessTokenMetadataCommand, se_GetPersonalAccessTokenMetadataCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class GetPersonalAccessTokenMetadataCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("WorkMailService", "GetPersonalAccessTokenMetadata", {})
|
|
17
|
+
.n("WorkMailClient", "GetPersonalAccessTokenMetadataCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_GetPersonalAccessTokenMetadataCommand)
|
|
20
|
+
.de(de_GetPersonalAccessTokenMetadataCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ListPersonalAccessTokensCommand, se_ListPersonalAccessTokensCommand } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListPersonalAccessTokensCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("WorkMailService", "ListPersonalAccessTokens", {})
|
|
17
|
+
.n("WorkMailClient", "ListPersonalAccessTokensCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_ListPersonalAccessTokensCommand)
|
|
20
|
+
.de(de_ListPersonalAccessTokensCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { ListResourcesResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
6
|
import { de_ListResourcesCommand, se_ListResourcesCommand } from "../protocols/Aws_json1_1";
|
|
6
7
|
export { $Command };
|
|
7
8
|
export class ListResourcesCommand extends $Command
|
|
@@ -15,7 +16,7 @@ export class ListResourcesCommand extends $Command
|
|
|
15
16
|
})
|
|
16
17
|
.s("WorkMailService", "ListResources", {})
|
|
17
18
|
.n("WorkMailClient", "ListResourcesCommand")
|
|
18
|
-
.f(void 0,
|
|
19
|
+
.f(void 0, ListResourcesResponseFilterSensitiveLog)
|
|
19
20
|
.ser(se_ListResourcesCommand)
|
|
20
21
|
.de(de_ListResourcesCommand)
|
|
21
22
|
.build() {
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_PutIdentityProviderConfigurationCommand, se_PutIdentityProviderConfigurationCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class PutIdentityProviderConfigurationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("WorkMailService", "PutIdentityProviderConfiguration", {})
|
|
17
|
+
.n("WorkMailClient", "PutIdentityProviderConfigurationCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_PutIdentityProviderConfigurationCommand)
|
|
20
|
+
.de(de_PutIdentityProviderConfigurationCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { UpdateResourceRequestFilterSensitiveLog, } from "../models/models_0";
|
|
5
6
|
import { de_UpdateResourceCommand, se_UpdateResourceCommand } from "../protocols/Aws_json1_1";
|
|
6
7
|
export { $Command };
|
|
7
8
|
export class UpdateResourceCommand extends $Command
|
|
@@ -15,7 +16,7 @@ export class UpdateResourceCommand extends $Command
|
|
|
15
16
|
})
|
|
16
17
|
.s("WorkMailService", "UpdateResource", {})
|
|
17
18
|
.n("WorkMailClient", "UpdateResourceCommand")
|
|
18
|
-
.f(
|
|
19
|
+
.f(UpdateResourceRequestFilterSensitiveLog, void 0)
|
|
19
20
|
.ser(se_UpdateResourceCommand)
|
|
20
21
|
.de(de_UpdateResourceCommand)
|
|
21
22
|
.build() {
|
|
@@ -5,6 +5,7 @@ export * from "./CancelMailboxExportJobCommand";
|
|
|
5
5
|
export * from "./CreateAliasCommand";
|
|
6
6
|
export * from "./CreateAvailabilityConfigurationCommand";
|
|
7
7
|
export * from "./CreateGroupCommand";
|
|
8
|
+
export * from "./CreateIdentityCenterApplicationCommand";
|
|
8
9
|
export * from "./CreateImpersonationRoleCommand";
|
|
9
10
|
export * from "./CreateMobileDeviceAccessRuleCommand";
|
|
10
11
|
export * from "./CreateOrganizationCommand";
|
|
@@ -15,11 +16,14 @@ export * from "./DeleteAliasCommand";
|
|
|
15
16
|
export * from "./DeleteAvailabilityConfigurationCommand";
|
|
16
17
|
export * from "./DeleteEmailMonitoringConfigurationCommand";
|
|
17
18
|
export * from "./DeleteGroupCommand";
|
|
19
|
+
export * from "./DeleteIdentityCenterApplicationCommand";
|
|
20
|
+
export * from "./DeleteIdentityProviderConfigurationCommand";
|
|
18
21
|
export * from "./DeleteImpersonationRoleCommand";
|
|
19
22
|
export * from "./DeleteMailboxPermissionsCommand";
|
|
20
23
|
export * from "./DeleteMobileDeviceAccessOverrideCommand";
|
|
21
24
|
export * from "./DeleteMobileDeviceAccessRuleCommand";
|
|
22
25
|
export * from "./DeleteOrganizationCommand";
|
|
26
|
+
export * from "./DeletePersonalAccessTokenCommand";
|
|
23
27
|
export * from "./DeleteResourceCommand";
|
|
24
28
|
export * from "./DeleteRetentionPolicyCommand";
|
|
25
29
|
export * from "./DeleteUserCommand";
|
|
@@ -28,6 +32,7 @@ export * from "./DeregisterMailDomainCommand";
|
|
|
28
32
|
export * from "./DescribeEmailMonitoringConfigurationCommand";
|
|
29
33
|
export * from "./DescribeEntityCommand";
|
|
30
34
|
export * from "./DescribeGroupCommand";
|
|
35
|
+
export * from "./DescribeIdentityProviderConfigurationCommand";
|
|
31
36
|
export * from "./DescribeInboundDmarcSettingsCommand";
|
|
32
37
|
export * from "./DescribeMailboxExportJobCommand";
|
|
33
38
|
export * from "./DescribeOrganizationCommand";
|
|
@@ -43,6 +48,7 @@ export * from "./GetMailDomainCommand";
|
|
|
43
48
|
export * from "./GetMailboxDetailsCommand";
|
|
44
49
|
export * from "./GetMobileDeviceAccessEffectCommand";
|
|
45
50
|
export * from "./GetMobileDeviceAccessOverrideCommand";
|
|
51
|
+
export * from "./GetPersonalAccessTokenMetadataCommand";
|
|
46
52
|
export * from "./ListAccessControlRulesCommand";
|
|
47
53
|
export * from "./ListAliasesCommand";
|
|
48
54
|
export * from "./ListAvailabilityConfigurationsCommand";
|
|
@@ -56,12 +62,14 @@ export * from "./ListMailboxPermissionsCommand";
|
|
|
56
62
|
export * from "./ListMobileDeviceAccessOverridesCommand";
|
|
57
63
|
export * from "./ListMobileDeviceAccessRulesCommand";
|
|
58
64
|
export * from "./ListOrganizationsCommand";
|
|
65
|
+
export * from "./ListPersonalAccessTokensCommand";
|
|
59
66
|
export * from "./ListResourceDelegatesCommand";
|
|
60
67
|
export * from "./ListResourcesCommand";
|
|
61
68
|
export * from "./ListTagsForResourceCommand";
|
|
62
69
|
export * from "./ListUsersCommand";
|
|
63
70
|
export * from "./PutAccessControlRuleCommand";
|
|
64
71
|
export * from "./PutEmailMonitoringConfigurationCommand";
|
|
72
|
+
export * from "./PutIdentityProviderConfigurationCommand";
|
|
65
73
|
export * from "./PutInboundDmarcSettingsCommand";
|
|
66
74
|
export * from "./PutMailboxPermissionsCommand";
|
|
67
75
|
export * from "./PutMobileDeviceAccessOverrideCommand";
|
|
@@ -291,6 +291,14 @@ export const EntityState = {
|
|
|
291
291
|
DISABLED: "DISABLED",
|
|
292
292
|
ENABLED: "ENABLED",
|
|
293
293
|
};
|
|
294
|
+
export const IdentityProviderAuthenticationMode = {
|
|
295
|
+
IDENTITY_PROVIDER_AND_DIRECTORY: "IDENTITY_PROVIDER_AND_DIRECTORY",
|
|
296
|
+
IDENTITY_PROVIDER_ONLY: "IDENTITY_PROVIDER_ONLY",
|
|
297
|
+
};
|
|
298
|
+
export const PersonalAccessTokenConfigurationStatus = {
|
|
299
|
+
ACTIVE: "ACTIVE",
|
|
300
|
+
INACTIVE: "INACTIVE",
|
|
301
|
+
};
|
|
294
302
|
export const MailboxExportJobState = {
|
|
295
303
|
CANCELLED: "CANCELLED",
|
|
296
304
|
COMPLETED: "COMPLETED",
|
|
@@ -366,6 +374,10 @@ export const CreateAvailabilityConfigurationRequestFilterSensitiveLog = (obj) =>
|
|
|
366
374
|
...obj,
|
|
367
375
|
...(obj.EwsProvider && { EwsProvider: EwsAvailabilityProviderFilterSensitiveLog(obj.EwsProvider) }),
|
|
368
376
|
});
|
|
377
|
+
export const CreateResourceRequestFilterSensitiveLog = (obj) => ({
|
|
378
|
+
...obj,
|
|
379
|
+
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
380
|
+
});
|
|
369
381
|
export const CreateUserRequestFilterSensitiveLog = (obj) => ({
|
|
370
382
|
...obj,
|
|
371
383
|
...(obj.DisplayName && { DisplayName: SENSITIVE_STRING }),
|
|
@@ -373,6 +385,10 @@ export const CreateUserRequestFilterSensitiveLog = (obj) => ({
|
|
|
373
385
|
...(obj.FirstName && { FirstName: SENSITIVE_STRING }),
|
|
374
386
|
...(obj.LastName && { LastName: SENSITIVE_STRING }),
|
|
375
387
|
});
|
|
388
|
+
export const DescribeResourceResponseFilterSensitiveLog = (obj) => ({
|
|
389
|
+
...obj,
|
|
390
|
+
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
391
|
+
});
|
|
376
392
|
export const DescribeUserResponseFilterSensitiveLog = (obj) => ({
|
|
377
393
|
...obj,
|
|
378
394
|
...(obj.DisplayName && { DisplayName: SENSITIVE_STRING }),
|
|
@@ -389,6 +405,14 @@ export const DescribeUserResponseFilterSensitiveLog = (obj) => ({
|
|
|
389
405
|
...(obj.Country && { Country: SENSITIVE_STRING }),
|
|
390
406
|
...(obj.Office && { Office: SENSITIVE_STRING }),
|
|
391
407
|
});
|
|
408
|
+
export const ResourceFilterSensitiveLog = (obj) => ({
|
|
409
|
+
...obj,
|
|
410
|
+
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
411
|
+
});
|
|
412
|
+
export const ListResourcesResponseFilterSensitiveLog = (obj) => ({
|
|
413
|
+
...obj,
|
|
414
|
+
...(obj.Resources && { Resources: obj.Resources.map((item) => ResourceFilterSensitiveLog(item)) }),
|
|
415
|
+
});
|
|
392
416
|
export const ListUsersFiltersFilterSensitiveLog = (obj) => ({
|
|
393
417
|
...obj,
|
|
394
418
|
...(obj.DisplayNamePrefix && { DisplayNamePrefix: SENSITIVE_STRING }),
|
|
@@ -413,6 +437,10 @@ export const UpdateAvailabilityConfigurationRequestFilterSensitiveLog = (obj) =>
|
|
|
413
437
|
...obj,
|
|
414
438
|
...(obj.EwsProvider && { EwsProvider: EwsAvailabilityProviderFilterSensitiveLog(obj.EwsProvider) }),
|
|
415
439
|
});
|
|
440
|
+
export const UpdateResourceRequestFilterSensitiveLog = (obj) => ({
|
|
441
|
+
...obj,
|
|
442
|
+
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
443
|
+
});
|
|
416
444
|
export const UpdateUserRequestFilterSensitiveLog = (obj) => ({
|
|
417
445
|
...obj,
|
|
418
446
|
...(obj.DisplayName && { DisplayName: SENSITIVE_STRING }),
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListPersonalAccessTokensCommand, } from "../commands/ListPersonalAccessTokensCommand";
|
|
3
|
+
import { WorkMailClient } from "../WorkMailClient";
|
|
4
|
+
export const paginateListPersonalAccessTokens = createPaginator(WorkMailClient, ListPersonalAccessTokensCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -10,6 +10,7 @@ export * from "./ListMailboxExportJobsPaginator";
|
|
|
10
10
|
export * from "./ListMailboxPermissionsPaginator";
|
|
11
11
|
export * from "./ListMobileDeviceAccessOverridesPaginator";
|
|
12
12
|
export * from "./ListOrganizationsPaginator";
|
|
13
|
+
export * from "./ListPersonalAccessTokensPaginator";
|
|
13
14
|
export * from "./ListResourceDelegatesPaginator";
|
|
14
15
|
export * from "./ListResourcesPaginator";
|
|
15
16
|
export * from "./ListUsersPaginator";
|