@aws-sdk/client-workmailmessageflow 3.533.0 → 3.535.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.
@@ -17,12 +17,12 @@ export interface WorkMailMessageFlow {
17
17
  putRawMessageContent(args: PutRawMessageContentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutRawMessageContentCommandOutput) => void): void;
18
18
  }
19
19
  /**
20
- * @public
21
20
  * <p>The WorkMail Message Flow API provides access to email messages as they are
22
21
  * being
23
22
  * sent and received by
24
23
  * a
25
24
  * WorkMail organization.</p>
25
+ * @public
26
26
  */
27
27
  export declare class WorkMailMessageFlow extends WorkMailMessageFlowClient implements WorkMailMessageFlow {
28
28
  }
@@ -158,12 +158,12 @@ export type WorkMailMessageFlowClientResolvedConfigType = __SmithyResolvedConfig
158
158
  export interface WorkMailMessageFlowClientResolvedConfig extends WorkMailMessageFlowClientResolvedConfigType {
159
159
  }
160
160
  /**
161
- * @public
162
161
  * <p>The WorkMail Message Flow API provides access to email messages as they are
163
162
  * being
164
163
  * sent and received by
165
164
  * a
166
165
  * WorkMail organization.</p>
166
+ * @public
167
167
  */
168
168
  export declare class WorkMailMessageFlowClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, WorkMailMessageFlowClientResolvedConfig> {
169
169
  /**
@@ -23,10 +23,10 @@ export interface GetRawMessageContentCommandOutput extends Omit<GetRawMessageCon
23
23
  }
24
24
  declare const GetRawMessageContentCommand_base: {
25
25
  new (input: GetRawMessageContentCommandInput): import("@smithy/smithy-client").CommandImpl<GetRawMessageContentCommandInput, GetRawMessageContentCommandOutput, WorkMailMessageFlowClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: GetRawMessageContentCommandInput): import("@smithy/smithy-client").CommandImpl<GetRawMessageContentCommandInput, GetRawMessageContentCommandOutput, WorkMailMessageFlowClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
28
  };
28
29
  /**
29
- * @public
30
30
  * <p>Retrieves the raw content of an in-transit email message, in MIME format.</p>
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
@@ -57,6 +57,7 @@ declare const GetRawMessageContentCommand_base: {
57
57
  * @throws {@link WorkMailMessageFlowServiceException}
58
58
  * <p>Base exception class for all service exceptions from WorkMailMessageFlow service.</p>
59
59
  *
60
+ * @public
60
61
  */
61
62
  export declare class GetRawMessageContentCommand extends GetRawMessageContentCommand_base {
62
63
  }
@@ -22,10 +22,10 @@ export interface PutRawMessageContentCommandOutput extends PutRawMessageContentR
22
22
  }
23
23
  declare const PutRawMessageContentCommand_base: {
24
24
  new (input: PutRawMessageContentCommandInput): import("@smithy/smithy-client").CommandImpl<PutRawMessageContentCommandInput, PutRawMessageContentCommandOutput, WorkMailMessageFlowClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: PutRawMessageContentCommandInput): import("@smithy/smithy-client").CommandImpl<PutRawMessageContentCommandInput, PutRawMessageContentCommandOutput, WorkMailMessageFlowClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Updates the raw content of an in-transit email message, in MIME format.</p>
30
30
  * <p>This example describes how to update in-transit email message. For more information and examples for using this API, see
31
31
  * <a href="https://docs.aws.amazon.com/workmail/latest/adminguide/update-with-lambda.html">
@@ -98,6 +98,7 @@ declare const PutRawMessageContentCommand_base: {
98
98
  * @throws {@link WorkMailMessageFlowServiceException}
99
99
  * <p>Base exception class for all service exceptions from WorkMailMessageFlow service.</p>
100
100
  *
101
+ * @public
101
102
  */
102
103
  export declare class PutRawMessageContentCommand extends PutRawMessageContentCommand_base {
103
104
  }
@@ -6,8 +6,8 @@ import { WorkMailMessageFlowServiceException as __BaseException } from "./WorkMa
6
6
  */
7
7
  export interface GetRawMessageContentRequest {
8
8
  /**
9
- * @public
10
9
  * <p>The identifier of the email message to retrieve.</p>
10
+ * @public
11
11
  */
12
12
  messageId: string | undefined;
13
13
  }
@@ -16,14 +16,14 @@ export interface GetRawMessageContentRequest {
16
16
  */
17
17
  export interface GetRawMessageContentResponse {
18
18
  /**
19
- * @public
20
19
  * <p>The raw content of the email message, in MIME format.</p>
20
+ * @public
21
21
  */
22
22
  messageContent: StreamingBlobTypes | undefined;
23
23
  }
24
24
  /**
25
- * @public
26
25
  * <p>The requested email message is not found.</p>
26
+ * @public
27
27
  */
28
28
  export declare class ResourceNotFoundException extends __BaseException {
29
29
  readonly name: "ResourceNotFoundException";
@@ -34,7 +34,6 @@ export declare class ResourceNotFoundException extends __BaseException {
34
34
  constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
35
35
  }
36
36
  /**
37
- * @public
38
37
  * <p>WorkMail could not access the updated email content. Possible reasons:</p>
39
38
  * <ul>
40
39
  * <li>
@@ -52,6 +51,7 @@ export declare class ResourceNotFoundException extends __BaseException {
52
51
  * Guide</i>.</p>
53
52
  * </li>
54
53
  * </ul>
54
+ * @public
55
55
  */
56
56
  export declare class InvalidContentLocation extends __BaseException {
57
57
  readonly name: "InvalidContentLocation";
@@ -62,8 +62,8 @@ export declare class InvalidContentLocation extends __BaseException {
62
62
  constructor(opts: __ExceptionOptionType<InvalidContentLocation, __BaseException>);
63
63
  }
64
64
  /**
65
- * @public
66
65
  * <p>The requested email is not eligible for update. This is usually the case for a redirected email.</p>
66
+ * @public
67
67
  */
68
68
  export declare class MessageFrozen extends __BaseException {
69
69
  readonly name: "MessageFrozen";
@@ -74,9 +74,9 @@ export declare class MessageFrozen extends __BaseException {
74
74
  constructor(opts: __ExceptionOptionType<MessageFrozen, __BaseException>);
75
75
  }
76
76
  /**
77
- * @public
78
77
  * <p>The requested email could not be updated due to an error in the MIME content. Check the error message for more information about
79
78
  * what caused the error.</p>
79
+ * @public
80
80
  */
81
81
  export declare class MessageRejected extends __BaseException {
82
82
  readonly name: "MessageRejected";
@@ -87,7 +87,6 @@ export declare class MessageRejected extends __BaseException {
87
87
  constructor(opts: __ExceptionOptionType<MessageRejected, __BaseException>);
88
88
  }
89
89
  /**
90
- * @public
91
90
  * <p>Amazon S3 object representing the updated message content, in MIME format.</p>
92
91
  * <note>
93
92
  * <p>The region for the S3 bucket containing the S3 object must match the region used for WorkMail operations. Also, for WorkMail to process
@@ -95,26 +94,26 @@ export declare class MessageRejected extends __BaseException {
95
94
  * <a href="https://docs.aws.amazon.com/workmail/latest/adminguide/update-with-lambda.html">
96
95
  * Updating message content with AWS Lambda</a>.</p>
97
96
  * </note>
97
+ * @public
98
98
  */
99
99
  export interface S3Reference {
100
100
  /**
101
- * @public
102
101
  * <p>The S3 bucket name.</p>
102
+ * @public
103
103
  */
104
104
  bucket: string | undefined;
105
105
  /**
106
- * @public
107
106
  * <p>The S3 key object name.</p>
107
+ * @public
108
108
  */
109
109
  key: string | undefined;
110
110
  /**
111
- * @public
112
111
  * <p>If you enable versioning for the bucket, you can specify the object version.</p>
112
+ * @public
113
113
  */
114
114
  objectVersion?: string;
115
115
  }
116
116
  /**
117
- * @public
118
117
  * <p>Provides the MIME content of the updated email message as an S3 object. All MIME content must meet the following criteria:</p>
119
118
  * <ul>
120
119
  * <li>
@@ -142,11 +141,12 @@ export interface S3Reference {
142
141
  * <p>Certain unique headers can only appear once. Check the returned error message for more information.</p>
143
142
  * </li>
144
143
  * </ul>
144
+ * @public
145
145
  */
146
146
  export interface RawMessageContent {
147
147
  /**
148
- * @public
149
148
  * <p>The S3 reference of an email message.</p>
149
+ * @public
150
150
  */
151
151
  s3Reference: S3Reference | undefined;
152
152
  }
@@ -155,13 +155,13 @@ export interface RawMessageContent {
155
155
  */
156
156
  export interface PutRawMessageContentRequest {
157
157
  /**
158
- * @public
159
158
  * <p>The identifier of the email message being updated.</p>
159
+ * @public
160
160
  */
161
161
  messageId: string | undefined;
162
162
  /**
163
- * @public
164
163
  * <p>Describes the raw message content of the updated email message.</p>
164
+ * @public
165
165
  */
166
166
  content: RawMessageContent | undefined;
167
167
  }
@@ -33,6 +33,15 @@ declare const GetRawMessageContentCommand_base: {
33
33
  ServiceInputTypes,
34
34
  ServiceOutputTypes
35
35
  >;
36
+ new (
37
+ __0_0: GetRawMessageContentCommandInput
38
+ ): import("@smithy/smithy-client").CommandImpl<
39
+ GetRawMessageContentCommandInput,
40
+ GetRawMessageContentCommandOutput,
41
+ WorkMailMessageFlowClientResolvedConfig,
42
+ ServiceInputTypes,
43
+ ServiceOutputTypes
44
+ >;
36
45
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
37
46
  };
38
47
  export declare class GetRawMessageContentCommand extends GetRawMessageContentCommand_base {}
@@ -25,6 +25,15 @@ declare const PutRawMessageContentCommand_base: {
25
25
  ServiceInputTypes,
26
26
  ServiceOutputTypes
27
27
  >;
28
+ new (
29
+ __0_0: PutRawMessageContentCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ PutRawMessageContentCommandInput,
32
+ PutRawMessageContentCommandOutput,
33
+ WorkMailMessageFlowClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
28
37
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
38
  };
30
39
  export declare class PutRawMessageContentCommand extends PutRawMessageContentCommand_base {}
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.533.0",
4
+ "version": "3.535.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-workmailmessageflow",
@@ -20,48 +20,48 @@
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.533.0",
24
- "@aws-sdk/core": "3.533.0",
25
- "@aws-sdk/credential-provider-node": "3.533.0",
26
- "@aws-sdk/middleware-host-header": "3.533.0",
27
- "@aws-sdk/middleware-logger": "3.533.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.533.0",
29
- "@aws-sdk/middleware-user-agent": "3.533.0",
30
- "@aws-sdk/region-config-resolver": "3.533.0",
31
- "@aws-sdk/types": "3.533.0",
32
- "@aws-sdk/util-endpoints": "3.533.0",
33
- "@aws-sdk/util-user-agent-browser": "3.533.0",
34
- "@aws-sdk/util-user-agent-node": "3.533.0",
35
- "@smithy/config-resolver": "^2.1.5",
36
- "@smithy/core": "^1.3.8",
37
- "@smithy/fetch-http-handler": "^2.4.5",
38
- "@smithy/hash-node": "^2.1.4",
39
- "@smithy/invalid-dependency": "^2.1.4",
40
- "@smithy/middleware-content-length": "^2.1.4",
41
- "@smithy/middleware-endpoint": "^2.4.6",
42
- "@smithy/middleware-retry": "^2.1.7",
43
- "@smithy/middleware-serde": "^2.2.1",
44
- "@smithy/middleware-stack": "^2.1.4",
45
- "@smithy/node-config-provider": "^2.2.5",
46
- "@smithy/node-http-handler": "^2.4.3",
47
- "@smithy/protocol-http": "^3.2.2",
48
- "@smithy/smithy-client": "^2.4.5",
49
- "@smithy/types": "^2.11.0",
50
- "@smithy/url-parser": "^2.1.4",
51
- "@smithy/util-base64": "^2.2.1",
52
- "@smithy/util-body-length-browser": "^2.1.1",
53
- "@smithy/util-body-length-node": "^2.2.2",
54
- "@smithy/util-defaults-mode-browser": "^2.1.7",
55
- "@smithy/util-defaults-mode-node": "^2.2.7",
56
- "@smithy/util-endpoints": "^1.1.5",
57
- "@smithy/util-middleware": "^2.1.4",
58
- "@smithy/util-retry": "^2.1.4",
59
- "@smithy/util-stream": "^2.1.5",
60
- "@smithy/util-utf8": "^2.2.0",
61
- "tslib": "^2.5.0"
23
+ "@aws-sdk/client-sts": "3.535.0",
24
+ "@aws-sdk/core": "3.535.0",
25
+ "@aws-sdk/credential-provider-node": "3.535.0",
26
+ "@aws-sdk/middleware-host-header": "3.535.0",
27
+ "@aws-sdk/middleware-logger": "3.535.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.535.0",
29
+ "@aws-sdk/middleware-user-agent": "3.535.0",
30
+ "@aws-sdk/region-config-resolver": "3.535.0",
31
+ "@aws-sdk/types": "3.535.0",
32
+ "@aws-sdk/util-endpoints": "3.535.0",
33
+ "@aws-sdk/util-user-agent-browser": "3.535.0",
34
+ "@aws-sdk/util-user-agent-node": "3.535.0",
35
+ "@smithy/config-resolver": "^2.2.0",
36
+ "@smithy/core": "^1.4.0",
37
+ "@smithy/fetch-http-handler": "^2.5.0",
38
+ "@smithy/hash-node": "^2.2.0",
39
+ "@smithy/invalid-dependency": "^2.2.0",
40
+ "@smithy/middleware-content-length": "^2.2.0",
41
+ "@smithy/middleware-endpoint": "^2.5.0",
42
+ "@smithy/middleware-retry": "^2.2.0",
43
+ "@smithy/middleware-serde": "^2.3.0",
44
+ "@smithy/middleware-stack": "^2.2.0",
45
+ "@smithy/node-config-provider": "^2.3.0",
46
+ "@smithy/node-http-handler": "^2.5.0",
47
+ "@smithy/protocol-http": "^3.3.0",
48
+ "@smithy/smithy-client": "^2.5.0",
49
+ "@smithy/types": "^2.12.0",
50
+ "@smithy/url-parser": "^2.2.0",
51
+ "@smithy/util-base64": "^2.3.0",
52
+ "@smithy/util-body-length-browser": "^2.2.0",
53
+ "@smithy/util-body-length-node": "^2.3.0",
54
+ "@smithy/util-defaults-mode-browser": "^2.2.0",
55
+ "@smithy/util-defaults-mode-node": "^2.3.0",
56
+ "@smithy/util-endpoints": "^1.2.0",
57
+ "@smithy/util-middleware": "^2.2.0",
58
+ "@smithy/util-retry": "^2.2.0",
59
+ "@smithy/util-stream": "^2.2.0",
60
+ "@smithy/util-utf8": "^2.3.0",
61
+ "tslib": "^2.6.2"
62
62
  },
63
63
  "devDependencies": {
64
- "@smithy/service-client-documentation-generator": "^2.1.1",
64
+ "@smithy/service-client-documentation-generator": "^2.2.0",
65
65
  "@tsconfig/node14": "1.0.3",
66
66
  "@types/node": "^14.14.31",
67
67
  "concurrently": "7.0.0",