@aws-sdk/client-workmail 3.28.0 → 3.32.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 CHANGED
@@ -3,6 +3,38 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.32.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.31.0...v3.32.0) (2021-09-17)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-workmail
9
+
10
+
11
+
12
+
13
+
14
+ # [3.31.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.30.0...v3.31.0) (2021-09-11)
15
+
16
+ **Note:** Version bump only for package @aws-sdk/client-workmail
17
+
18
+
19
+
20
+
21
+
22
+ # [3.30.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.29.0...v3.30.0) (2021-09-07)
23
+
24
+ **Note:** Version bump only for package @aws-sdk/client-workmail
25
+
26
+
27
+
28
+
29
+
30
+ # [3.29.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.28.0...v3.29.0) (2021-09-02)
31
+
32
+ **Note:** Version bump only for package @aws-sdk/client-workmail
33
+
34
+
35
+
36
+
37
+
6
38
  # [3.28.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.27.0...v3.28.0) (2021-08-27)
7
39
 
8
40
 
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-workmail",
3
3
  "description": "AWS SDK for JavaScript Workmail Client for Node.js, Browser and React Native",
4
- "version": "3.28.0",
4
+ "version": "3.32.0",
5
5
  "scripts": {
6
6
  "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
7
7
  "build-documentation": "yarn remove-documentation && typedoc ./",
@@ -27,39 +27,39 @@
27
27
  "dependencies": {
28
28
  "@aws-crypto/sha256-browser": "^1.0.0",
29
29
  "@aws-crypto/sha256-js": "^1.0.0",
30
- "@aws-sdk/client-sts": "3.28.0",
31
- "@aws-sdk/config-resolver": "3.28.0",
32
- "@aws-sdk/credential-provider-node": "3.28.0",
33
- "@aws-sdk/fetch-http-handler": "3.25.0",
34
- "@aws-sdk/hash-node": "3.25.0",
35
- "@aws-sdk/invalid-dependency": "3.25.0",
36
- "@aws-sdk/middleware-content-length": "3.25.0",
37
- "@aws-sdk/middleware-host-header": "3.25.0",
38
- "@aws-sdk/middleware-logger": "3.25.0",
39
- "@aws-sdk/middleware-retry": "3.28.0",
40
- "@aws-sdk/middleware-serde": "3.25.0",
41
- "@aws-sdk/middleware-signing": "3.28.0",
42
- "@aws-sdk/middleware-stack": "3.25.0",
43
- "@aws-sdk/middleware-user-agent": "3.25.0",
44
- "@aws-sdk/node-config-provider": "3.28.0",
45
- "@aws-sdk/node-http-handler": "3.25.0",
46
- "@aws-sdk/protocol-http": "3.25.0",
47
- "@aws-sdk/smithy-client": "3.28.0",
48
- "@aws-sdk/types": "3.25.0",
49
- "@aws-sdk/url-parser": "3.25.0",
50
- "@aws-sdk/util-base64-browser": "3.23.0",
51
- "@aws-sdk/util-base64-node": "3.23.0",
52
- "@aws-sdk/util-body-length-browser": "3.23.0",
53
- "@aws-sdk/util-body-length-node": "3.23.0",
54
- "@aws-sdk/util-user-agent-browser": "3.25.0",
55
- "@aws-sdk/util-user-agent-node": "3.28.0",
56
- "@aws-sdk/util-utf8-browser": "3.23.0",
57
- "@aws-sdk/util-utf8-node": "3.23.0",
30
+ "@aws-sdk/client-sts": "3.32.0",
31
+ "@aws-sdk/config-resolver": "3.32.0",
32
+ "@aws-sdk/credential-provider-node": "3.32.0",
33
+ "@aws-sdk/fetch-http-handler": "3.32.0",
34
+ "@aws-sdk/hash-node": "3.32.0",
35
+ "@aws-sdk/invalid-dependency": "3.32.0",
36
+ "@aws-sdk/middleware-content-length": "3.32.0",
37
+ "@aws-sdk/middleware-host-header": "3.32.0",
38
+ "@aws-sdk/middleware-logger": "3.32.0",
39
+ "@aws-sdk/middleware-retry": "3.32.0",
40
+ "@aws-sdk/middleware-serde": "3.32.0",
41
+ "@aws-sdk/middleware-signing": "3.32.0",
42
+ "@aws-sdk/middleware-stack": "3.32.0",
43
+ "@aws-sdk/middleware-user-agent": "3.32.0",
44
+ "@aws-sdk/node-config-provider": "3.32.0",
45
+ "@aws-sdk/node-http-handler": "3.32.0",
46
+ "@aws-sdk/protocol-http": "3.32.0",
47
+ "@aws-sdk/smithy-client": "3.32.0",
48
+ "@aws-sdk/types": "3.32.0",
49
+ "@aws-sdk/url-parser": "3.32.0",
50
+ "@aws-sdk/util-base64-browser": "3.32.0",
51
+ "@aws-sdk/util-base64-node": "3.32.0",
52
+ "@aws-sdk/util-body-length-browser": "3.32.0",
53
+ "@aws-sdk/util-body-length-node": "3.32.0",
54
+ "@aws-sdk/util-user-agent-browser": "3.32.0",
55
+ "@aws-sdk/util-user-agent-node": "3.32.0",
56
+ "@aws-sdk/util-utf8-browser": "3.32.0",
57
+ "@aws-sdk/util-utf8-node": "3.32.0",
58
58
  "tslib": "^2.3.0",
59
59
  "uuid": "^8.3.2"
60
60
  },
61
61
  "devDependencies": {
62
- "@aws-sdk/client-documentation-generator": "3.23.0",
62
+ "@aws-sdk/client-documentation-generator": "3.32.0",
63
63
  "@types/node": "^12.7.5",
64
64
  "@types/uuid": "^8.3.0",
65
65
  "downlevel-dts": "0.7.0",
@@ -67,7 +67,7 @@
67
67
  "rimraf": "^3.0.0",
68
68
  "ts-jest": "^26.4.1",
69
69
  "typedoc": "^0.19.2",
70
- "typescript": "~4.3.2"
70
+ "typescript": "~4.3.5"
71
71
  },
72
72
  "engines": {
73
73
  "node": ">=10.0.0"
@@ -5631,10 +5631,10 @@ const deserializeAws_json1_1AccessControlRule = (output, context) => {
5631
5631
  ? deserializeAws_json1_1ActionsList(output.Actions, context)
5632
5632
  : undefined,
5633
5633
  DateCreated: output.DateCreated !== undefined && output.DateCreated !== null
5634
- ? new Date(Math.round(output.DateCreated * 1000))
5634
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.DateCreated)))
5635
5635
  : undefined,
5636
5636
  DateModified: output.DateModified !== undefined && output.DateModified !== null
5637
- ? new Date(Math.round(output.DateModified * 1000))
5637
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.DateModified)))
5638
5638
  : undefined,
5639
5639
  Description: smithy_client_1.expectString(output.Description),
5640
5640
  Effect: smithy_client_1.expectString(output.Effect),
@@ -5782,11 +5782,11 @@ const deserializeAws_json1_1DeregisterFromWorkMailResponse = (output, context) =
5782
5782
  const deserializeAws_json1_1DescribeGroupResponse = (output, context) => {
5783
5783
  return {
5784
5784
  DisabledDate: output.DisabledDate !== undefined && output.DisabledDate !== null
5785
- ? new Date(Math.round(output.DisabledDate * 1000))
5785
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.DisabledDate)))
5786
5786
  : undefined,
5787
5787
  Email: smithy_client_1.expectString(output.Email),
5788
5788
  EnabledDate: output.EnabledDate !== undefined && output.EnabledDate !== null
5789
- ? new Date(Math.round(output.EnabledDate * 1000))
5789
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EnabledDate)))
5790
5790
  : undefined,
5791
5791
  GroupId: smithy_client_1.expectString(output.GroupId),
5792
5792
  Name: smithy_client_1.expectString(output.Name),
@@ -5796,17 +5796,19 @@ const deserializeAws_json1_1DescribeGroupResponse = (output, context) => {
5796
5796
  const deserializeAws_json1_1DescribeMailboxExportJobResponse = (output, context) => {
5797
5797
  return {
5798
5798
  Description: smithy_client_1.expectString(output.Description),
5799
- EndTime: output.EndTime !== undefined && output.EndTime !== null ? new Date(Math.round(output.EndTime * 1000)) : undefined,
5799
+ EndTime: output.EndTime !== undefined && output.EndTime !== null
5800
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EndTime)))
5801
+ : undefined,
5800
5802
  EntityId: smithy_client_1.expectString(output.EntityId),
5801
5803
  ErrorInfo: smithy_client_1.expectString(output.ErrorInfo),
5802
- EstimatedProgress: smithy_client_1.expectInt(output.EstimatedProgress),
5804
+ EstimatedProgress: smithy_client_1.expectInt32(output.EstimatedProgress),
5803
5805
  KmsKeyArn: smithy_client_1.expectString(output.KmsKeyArn),
5804
5806
  RoleArn: smithy_client_1.expectString(output.RoleArn),
5805
5807
  S3BucketName: smithy_client_1.expectString(output.S3BucketName),
5806
5808
  S3Path: smithy_client_1.expectString(output.S3Path),
5807
5809
  S3Prefix: smithy_client_1.expectString(output.S3Prefix),
5808
5810
  StartTime: output.StartTime !== undefined && output.StartTime !== null
5809
- ? new Date(Math.round(output.StartTime * 1000))
5811
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartTime)))
5810
5812
  : undefined,
5811
5813
  State: smithy_client_1.expectString(output.State),
5812
5814
  };
@@ -5816,7 +5818,7 @@ const deserializeAws_json1_1DescribeOrganizationResponse = (output, context) =>
5816
5818
  ARN: smithy_client_1.expectString(output.ARN),
5817
5819
  Alias: smithy_client_1.expectString(output.Alias),
5818
5820
  CompletedDate: output.CompletedDate !== undefined && output.CompletedDate !== null
5819
- ? new Date(Math.round(output.CompletedDate * 1000))
5821
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CompletedDate)))
5820
5822
  : undefined,
5821
5823
  DefaultMailDomain: smithy_client_1.expectString(output.DefaultMailDomain),
5822
5824
  DirectoryId: smithy_client_1.expectString(output.DirectoryId),
@@ -5832,11 +5834,11 @@ const deserializeAws_json1_1DescribeResourceResponse = (output, context) => {
5832
5834
  ? deserializeAws_json1_1BookingOptions(output.BookingOptions, context)
5833
5835
  : undefined,
5834
5836
  DisabledDate: output.DisabledDate !== undefined && output.DisabledDate !== null
5835
- ? new Date(Math.round(output.DisabledDate * 1000))
5837
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.DisabledDate)))
5836
5838
  : undefined,
5837
5839
  Email: smithy_client_1.expectString(output.Email),
5838
5840
  EnabledDate: output.EnabledDate !== undefined && output.EnabledDate !== null
5839
- ? new Date(Math.round(output.EnabledDate * 1000))
5841
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EnabledDate)))
5840
5842
  : undefined,
5841
5843
  Name: smithy_client_1.expectString(output.Name),
5842
5844
  ResourceId: smithy_client_1.expectString(output.ResourceId),
@@ -5847,12 +5849,12 @@ const deserializeAws_json1_1DescribeResourceResponse = (output, context) => {
5847
5849
  const deserializeAws_json1_1DescribeUserResponse = (output, context) => {
5848
5850
  return {
5849
5851
  DisabledDate: output.DisabledDate !== undefined && output.DisabledDate !== null
5850
- ? new Date(Math.round(output.DisabledDate * 1000))
5852
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.DisabledDate)))
5851
5853
  : undefined,
5852
5854
  DisplayName: smithy_client_1.expectString(output.DisplayName),
5853
5855
  Email: smithy_client_1.expectString(output.Email),
5854
5856
  EnabledDate: output.EnabledDate !== undefined && output.EnabledDate !== null
5855
- ? new Date(Math.round(output.EnabledDate * 1000))
5857
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EnabledDate)))
5856
5858
  : undefined,
5857
5859
  Name: smithy_client_1.expectString(output.Name),
5858
5860
  State: smithy_client_1.expectString(output.State),
@@ -5945,7 +5947,7 @@ const deserializeAws_json1_1FolderConfiguration = (output, context) => {
5945
5947
  return {
5946
5948
  Action: smithy_client_1.expectString(output.Action),
5947
5949
  Name: smithy_client_1.expectString(output.Name),
5948
- Period: smithy_client_1.expectInt(output.Period),
5950
+ Period: smithy_client_1.expectInt32(output.Period),
5949
5951
  };
5950
5952
  };
5951
5953
  const deserializeAws_json1_1FolderConfigurations = (output, context) => {
@@ -5978,8 +5980,8 @@ const deserializeAws_json1_1GetDefaultRetentionPolicyResponse = (output, context
5978
5980
  };
5979
5981
  const deserializeAws_json1_1GetMailboxDetailsResponse = (output, context) => {
5980
5982
  return {
5981
- MailboxQuota: smithy_client_1.expectInt(output.MailboxQuota),
5982
- MailboxSize: smithy_client_1.limitedParseFloat(output.MailboxSize),
5983
+ MailboxQuota: smithy_client_1.expectInt32(output.MailboxQuota),
5984
+ MailboxSize: smithy_client_1.limitedParseDouble(output.MailboxSize),
5983
5985
  };
5984
5986
  };
5985
5987
  const deserializeAws_json1_1GetMobileDeviceAccessEffectResponse = (output, context) => {
@@ -5993,11 +5995,11 @@ const deserializeAws_json1_1GetMobileDeviceAccessEffectResponse = (output, conte
5993
5995
  const deserializeAws_json1_1Group = (output, context) => {
5994
5996
  return {
5995
5997
  DisabledDate: output.DisabledDate !== undefined && output.DisabledDate !== null
5996
- ? new Date(Math.round(output.DisabledDate * 1000))
5998
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.DisabledDate)))
5997
5999
  : undefined,
5998
6000
  Email: smithy_client_1.expectString(output.Email),
5999
6001
  EnabledDate: output.EnabledDate !== undefined && output.EnabledDate !== null
6000
- ? new Date(Math.round(output.EnabledDate * 1000))
6002
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EnabledDate)))
6001
6003
  : undefined,
6002
6004
  Id: smithy_client_1.expectString(output.Id),
6003
6005
  Name: smithy_client_1.expectString(output.Name),
@@ -6148,14 +6150,16 @@ const deserializeAws_json1_1ListUsersResponse = (output, context) => {
6148
6150
  const deserializeAws_json1_1MailboxExportJob = (output, context) => {
6149
6151
  return {
6150
6152
  Description: smithy_client_1.expectString(output.Description),
6151
- EndTime: output.EndTime !== undefined && output.EndTime !== null ? new Date(Math.round(output.EndTime * 1000)) : undefined,
6153
+ EndTime: output.EndTime !== undefined && output.EndTime !== null
6154
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EndTime)))
6155
+ : undefined,
6152
6156
  EntityId: smithy_client_1.expectString(output.EntityId),
6153
- EstimatedProgress: smithy_client_1.expectInt(output.EstimatedProgress),
6157
+ EstimatedProgress: smithy_client_1.expectInt32(output.EstimatedProgress),
6154
6158
  JobId: smithy_client_1.expectString(output.JobId),
6155
6159
  S3BucketName: smithy_client_1.expectString(output.S3BucketName),
6156
6160
  S3Path: smithy_client_1.expectString(output.S3Path),
6157
6161
  StartTime: output.StartTime !== undefined && output.StartTime !== null
6158
- ? new Date(Math.round(output.StartTime * 1000))
6162
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartTime)))
6159
6163
  : undefined,
6160
6164
  State: smithy_client_1.expectString(output.State),
6161
6165
  };
@@ -6173,10 +6177,10 @@ const deserializeAws_json1_1MailDomainStateException = (output, context) => {
6173
6177
  const deserializeAws_json1_1Member = (output, context) => {
6174
6178
  return {
6175
6179
  DisabledDate: output.DisabledDate !== undefined && output.DisabledDate !== null
6176
- ? new Date(Math.round(output.DisabledDate * 1000))
6180
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.DisabledDate)))
6177
6181
  : undefined,
6178
6182
  EnabledDate: output.EnabledDate !== undefined && output.EnabledDate !== null
6179
- ? new Date(Math.round(output.EnabledDate * 1000))
6183
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EnabledDate)))
6180
6184
  : undefined,
6181
6185
  Id: smithy_client_1.expectString(output.Id),
6182
6186
  Name: smithy_client_1.expectString(output.Name),
@@ -6213,10 +6217,10 @@ const deserializeAws_json1_1MobileDeviceAccessMatchedRuleList = (output, context
6213
6217
  const deserializeAws_json1_1MobileDeviceAccessRule = (output, context) => {
6214
6218
  return {
6215
6219
  DateCreated: output.DateCreated !== undefined && output.DateCreated !== null
6216
- ? new Date(Math.round(output.DateCreated * 1000))
6220
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.DateCreated)))
6217
6221
  : undefined,
6218
6222
  DateModified: output.DateModified !== undefined && output.DateModified !== null
6219
- ? new Date(Math.round(output.DateModified * 1000))
6223
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.DateModified)))
6220
6224
  : undefined,
6221
6225
  Description: smithy_client_1.expectString(output.Description),
6222
6226
  DeviceModels: output.DeviceModels !== undefined && output.DeviceModels !== null
@@ -6344,11 +6348,11 @@ const deserializeAws_json1_1ResetPasswordResponse = (output, context) => {
6344
6348
  const deserializeAws_json1_1Resource = (output, context) => {
6345
6349
  return {
6346
6350
  DisabledDate: output.DisabledDate !== undefined && output.DisabledDate !== null
6347
- ? new Date(Math.round(output.DisabledDate * 1000))
6351
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.DisabledDate)))
6348
6352
  : undefined,
6349
6353
  Email: smithy_client_1.expectString(output.Email),
6350
6354
  EnabledDate: output.EnabledDate !== undefined && output.EnabledDate !== null
6351
- ? new Date(Math.round(output.EnabledDate * 1000))
6355
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EnabledDate)))
6352
6356
  : undefined,
6353
6357
  Id: smithy_client_1.expectString(output.Id),
6354
6358
  Name: smithy_client_1.expectString(output.Name),
@@ -6433,12 +6437,12 @@ const deserializeAws_json1_1UpdateResourceResponse = (output, context) => {
6433
6437
  const deserializeAws_json1_1User = (output, context) => {
6434
6438
  return {
6435
6439
  DisabledDate: output.DisabledDate !== undefined && output.DisabledDate !== null
6436
- ? new Date(Math.round(output.DisabledDate * 1000))
6440
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.DisabledDate)))
6437
6441
  : undefined,
6438
6442
  DisplayName: smithy_client_1.expectString(output.DisplayName),
6439
6443
  Email: smithy_client_1.expectString(output.Email),
6440
6444
  EnabledDate: output.EnabledDate !== undefined && output.EnabledDate !== null
6441
- ? new Date(Math.round(output.EnabledDate * 1000))
6445
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EnabledDate)))
6442
6446
  : undefined,
6443
6447
  Id: smithy_client_1.expectString(output.Id),
6444
6448
  Name: smithy_client_1.expectString(output.Name),