@aws-sdk/client-workmailmessageflow 3.289.0 → 3.290.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.
@@ -29,6 +29,10 @@ export interface GetRawMessageContentCommandOutput extends __WithSdkStreamMixin<
29
29
  * @see {@link GetRawMessageContentCommandOutput} for command's `response` shape.
30
30
  * @see {@link WorkMailMessageFlowClientResolvedConfig | config} for WorkMailMessageFlowClient's `config` shape.
31
31
  *
32
+ * @throws {@link ResourceNotFoundException} (client fault)
33
+ * <p>The requested email message is not found.</p>
34
+ *
35
+ *
32
36
  */
33
37
  export declare class GetRawMessageContentCommand extends $Command<GetRawMessageContentCommandInput, GetRawMessageContentCommandOutput, WorkMailMessageFlowClientResolvedConfig> {
34
38
  readonly input: GetRawMessageContentCommandInput;
@@ -42,6 +42,36 @@ export interface PutRawMessageContentCommandOutput extends PutRawMessageContentR
42
42
  * @see {@link PutRawMessageContentCommandOutput} for command's `response` shape.
43
43
  * @see {@link WorkMailMessageFlowClientResolvedConfig | config} for WorkMailMessageFlowClient's `config` shape.
44
44
  *
45
+ * @throws {@link InvalidContentLocation} (client fault)
46
+ * <p>WorkMail could not access the updated email content. Possible reasons:</p>
47
+ * <ul>
48
+ * <li>
49
+ * <p>You made the request in a region other than your S3 bucket region.</p>
50
+ * </li>
51
+ * <li>
52
+ * <p>The <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-owner-condition.html">S3 bucket owner</a> is not the
53
+ * same as the calling AWS account.</p>
54
+ * </li>
55
+ * <li>
56
+ * <p>You have an incomplete or missing S3 bucket policy. For more information about policies, see
57
+ * <a href="https://docs.aws.amazon.com/workmail/latest/adminguide/update-with-lambda.html">
58
+ * Updating message content with AWS Lambda
59
+ * </a> in the <i>WorkMail Administrator
60
+ * Guide</i>.</p>
61
+ * </li>
62
+ * </ul>
63
+ *
64
+ * @throws {@link MessageFrozen} (client fault)
65
+ * <p>The requested email is not eligible for update. This is usually the case for a redirected email.</p>
66
+ *
67
+ * @throws {@link MessageRejected} (client fault)
68
+ * <p>The requested email could not be updated due to an error in the MIME content. Check the error message for more information about
69
+ * what caused the error.</p>
70
+ *
71
+ * @throws {@link ResourceNotFoundException} (client fault)
72
+ * <p>The requested email message is not found.</p>
73
+ *
74
+ *
45
75
  */
46
76
  export declare class PutRawMessageContentCommand extends $Command<PutRawMessageContentCommandInput, PutRawMessageContentCommandOutput, WorkMailMessageFlowClientResolvedConfig> {
47
77
  readonly input: PutRawMessageContentCommandInput;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-workmailmessageflow",
3
3
  "description": "AWS SDK for JavaScript Workmailmessageflow Client for Node.js, Browser and React Native",
4
- "version": "3.289.0",
4
+ "version": "3.290.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -20,39 +20,39 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.289.0",
24
- "@aws-sdk/config-resolver": "3.289.0",
25
- "@aws-sdk/credential-provider-node": "3.289.0",
26
- "@aws-sdk/fetch-http-handler": "3.289.0",
27
- "@aws-sdk/hash-node": "3.289.0",
28
- "@aws-sdk/invalid-dependency": "3.289.0",
29
- "@aws-sdk/middleware-content-length": "3.289.0",
30
- "@aws-sdk/middleware-endpoint": "3.289.0",
31
- "@aws-sdk/middleware-host-header": "3.289.0",
32
- "@aws-sdk/middleware-logger": "3.289.0",
33
- "@aws-sdk/middleware-recursion-detection": "3.289.0",
34
- "@aws-sdk/middleware-retry": "3.289.0",
35
- "@aws-sdk/middleware-serde": "3.289.0",
36
- "@aws-sdk/middleware-signing": "3.289.0",
37
- "@aws-sdk/middleware-stack": "3.289.0",
38
- "@aws-sdk/middleware-user-agent": "3.289.0",
39
- "@aws-sdk/node-config-provider": "3.289.0",
40
- "@aws-sdk/node-http-handler": "3.289.0",
41
- "@aws-sdk/protocol-http": "3.289.0",
42
- "@aws-sdk/smithy-client": "3.289.0",
43
- "@aws-sdk/types": "3.289.0",
44
- "@aws-sdk/url-parser": "3.289.0",
23
+ "@aws-sdk/client-sts": "3.290.0",
24
+ "@aws-sdk/config-resolver": "3.290.0",
25
+ "@aws-sdk/credential-provider-node": "3.290.0",
26
+ "@aws-sdk/fetch-http-handler": "3.290.0",
27
+ "@aws-sdk/hash-node": "3.290.0",
28
+ "@aws-sdk/invalid-dependency": "3.290.0",
29
+ "@aws-sdk/middleware-content-length": "3.290.0",
30
+ "@aws-sdk/middleware-endpoint": "3.290.0",
31
+ "@aws-sdk/middleware-host-header": "3.290.0",
32
+ "@aws-sdk/middleware-logger": "3.290.0",
33
+ "@aws-sdk/middleware-recursion-detection": "3.290.0",
34
+ "@aws-sdk/middleware-retry": "3.290.0",
35
+ "@aws-sdk/middleware-serde": "3.290.0",
36
+ "@aws-sdk/middleware-signing": "3.290.0",
37
+ "@aws-sdk/middleware-stack": "3.290.0",
38
+ "@aws-sdk/middleware-user-agent": "3.290.0",
39
+ "@aws-sdk/node-config-provider": "3.290.0",
40
+ "@aws-sdk/node-http-handler": "3.290.0",
41
+ "@aws-sdk/protocol-http": "3.290.0",
42
+ "@aws-sdk/smithy-client": "3.290.0",
43
+ "@aws-sdk/types": "3.290.0",
44
+ "@aws-sdk/url-parser": "3.290.0",
45
45
  "@aws-sdk/util-base64": "3.208.0",
46
46
  "@aws-sdk/util-body-length-browser": "3.188.0",
47
47
  "@aws-sdk/util-body-length-node": "3.208.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.289.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.289.0",
50
- "@aws-sdk/util-endpoints": "3.289.0",
51
- "@aws-sdk/util-retry": "3.289.0",
52
- "@aws-sdk/util-stream-browser": "3.289.0",
53
- "@aws-sdk/util-stream-node": "3.289.0",
54
- "@aws-sdk/util-user-agent-browser": "3.289.0",
55
- "@aws-sdk/util-user-agent-node": "3.289.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.290.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.290.0",
50
+ "@aws-sdk/util-endpoints": "3.290.0",
51
+ "@aws-sdk/util-retry": "3.290.0",
52
+ "@aws-sdk/util-stream-browser": "3.290.0",
53
+ "@aws-sdk/util-stream-node": "3.290.0",
54
+ "@aws-sdk/util-user-agent-browser": "3.290.0",
55
+ "@aws-sdk/util-user-agent-node": "3.290.0",
56
56
  "@aws-sdk/util-utf8": "3.254.0",
57
57
  "tslib": "^2.3.1"
58
58
  },