@aws-sdk/client-workmailmessageflow 3.1137.0 → 3.1139.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-cjs/index.js
CHANGED
|
@@ -69,7 +69,7 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1138.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -215,10 +215,10 @@ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.workmailmessageflow";
|
|
|
215
215
|
const _sR = "s3Reference";
|
|
216
216
|
const _st = "streaming";
|
|
217
217
|
const n0 = "com.amazonaws.workmailmessageflow";
|
|
218
|
-
const _s_registry = TypeRegistry
|
|
218
|
+
const _s_registry = new TypeRegistry(_s);
|
|
219
219
|
var WorkMailMessageFlowServiceException$ = [-3, _s, "WorkMailMessageFlowServiceException", 0, [], []];
|
|
220
220
|
_s_registry.registerError(WorkMailMessageFlowServiceException$, WorkMailMessageFlowServiceException);
|
|
221
|
-
const n0_registry = TypeRegistry
|
|
221
|
+
const n0_registry = new TypeRegistry(n0);
|
|
222
222
|
var InvalidContentLocation$ = [-3, n0, _ICL,
|
|
223
223
|
{ [_e]: _c },
|
|
224
224
|
[_m],
|
|
@@ -29,10 +29,10 @@ const n0 = "com.amazonaws.workmailmessageflow";
|
|
|
29
29
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
30
30
|
import { InvalidContentLocation, MessageFrozen, MessageRejected, ResourceNotFoundException } from "../models/errors";
|
|
31
31
|
import { WorkMailMessageFlowServiceException } from "../models/WorkMailMessageFlowServiceException";
|
|
32
|
-
const _s_registry = TypeRegistry
|
|
32
|
+
const _s_registry = new TypeRegistry(_s);
|
|
33
33
|
export var WorkMailMessageFlowServiceException$ = [-3, _s, "WorkMailMessageFlowServiceException", 0, [], []];
|
|
34
34
|
_s_registry.registerError(WorkMailMessageFlowServiceException$, WorkMailMessageFlowServiceException);
|
|
35
|
-
const n0_registry = TypeRegistry
|
|
35
|
+
const n0_registry = new TypeRegistry(n0);
|
|
36
36
|
export var InvalidContentLocation$ = [-3, n0, _ICL,
|
|
37
37
|
{ [_e]: _c },
|
|
38
38
|
[_m],
|
|
@@ -1,20 +1,26 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder } from "@smithy/types";
|
|
2
2
|
import { type GetRawMessageContentCommandInput, type GetRawMessageContentCommandOutput } from "./commands/GetRawMessageContentCommand";
|
|
3
3
|
import { type PutRawMessageContentCommandInput, type PutRawMessageContentCommandOutput } from "./commands/PutRawMessageContentCommand";
|
|
4
4
|
import { WorkMailMessageFlowClient } from "./WorkMailMessageFlowClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export interface WorkMailMessageFlowRequestOptions extends __HttpHandlerOptions {
|
|
9
|
+
metricsRecorder?: __MetricsRecorder<unknown>;
|
|
10
|
+
}
|
|
5
11
|
export interface WorkMailMessageFlow {
|
|
6
12
|
/**
|
|
7
13
|
* @see {@link GetRawMessageContentCommand}
|
|
8
14
|
*/
|
|
9
|
-
getRawMessageContent(args: GetRawMessageContentCommandInput, options?:
|
|
15
|
+
getRawMessageContent(args: GetRawMessageContentCommandInput, options?: WorkMailMessageFlowRequestOptions): Promise<GetRawMessageContentCommandOutput>;
|
|
10
16
|
getRawMessageContent(args: GetRawMessageContentCommandInput, cb: (err: any, data?: GetRawMessageContentCommandOutput) => void): void;
|
|
11
|
-
getRawMessageContent(args: GetRawMessageContentCommandInput, options:
|
|
17
|
+
getRawMessageContent(args: GetRawMessageContentCommandInput, options: WorkMailMessageFlowRequestOptions, cb: (err: any, data?: GetRawMessageContentCommandOutput) => void): void;
|
|
12
18
|
/**
|
|
13
19
|
* @see {@link PutRawMessageContentCommand}
|
|
14
20
|
*/
|
|
15
|
-
putRawMessageContent(args: PutRawMessageContentCommandInput, options?:
|
|
21
|
+
putRawMessageContent(args: PutRawMessageContentCommandInput, options?: WorkMailMessageFlowRequestOptions): Promise<PutRawMessageContentCommandOutput>;
|
|
16
22
|
putRawMessageContent(args: PutRawMessageContentCommandInput, cb: (err: any, data?: PutRawMessageContentCommandOutput) => void): void;
|
|
17
|
-
putRawMessageContent(args: PutRawMessageContentCommandInput, options:
|
|
23
|
+
putRawMessageContent(args: PutRawMessageContentCommandInput, options: WorkMailMessageFlowRequestOptions, cb: (err: any, data?: PutRawMessageContentCommandOutput) => void): void;
|
|
18
24
|
}
|
|
19
25
|
/**
|
|
20
26
|
* <p>The WorkMail Message Flow API provides access to email messages as they are
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
MetricsRecorder as __MetricsRecorder,
|
|
4
|
+
} from "@smithy/types";
|
|
2
5
|
import {
|
|
3
6
|
GetRawMessageContentCommandInput,
|
|
4
7
|
GetRawMessageContentCommandOutput,
|
|
@@ -8,10 +11,13 @@ import {
|
|
|
8
11
|
PutRawMessageContentCommandOutput,
|
|
9
12
|
} from "./commands/PutRawMessageContentCommand";
|
|
10
13
|
import { WorkMailMessageFlowClient } from "./WorkMailMessageFlowClient";
|
|
14
|
+
export interface WorkMailMessageFlowRequestOptions extends __HttpHandlerOptions {
|
|
15
|
+
metricsRecorder?: __MetricsRecorder<unknown>;
|
|
16
|
+
}
|
|
11
17
|
export interface WorkMailMessageFlow {
|
|
12
18
|
getRawMessageContent(
|
|
13
19
|
args: GetRawMessageContentCommandInput,
|
|
14
|
-
options?:
|
|
20
|
+
options?: WorkMailMessageFlowRequestOptions,
|
|
15
21
|
): Promise<GetRawMessageContentCommandOutput>;
|
|
16
22
|
getRawMessageContent(
|
|
17
23
|
args: GetRawMessageContentCommandInput,
|
|
@@ -19,12 +25,12 @@ export interface WorkMailMessageFlow {
|
|
|
19
25
|
): void;
|
|
20
26
|
getRawMessageContent(
|
|
21
27
|
args: GetRawMessageContentCommandInput,
|
|
22
|
-
options:
|
|
28
|
+
options: WorkMailMessageFlowRequestOptions,
|
|
23
29
|
cb: (err: any, data?: GetRawMessageContentCommandOutput) => void,
|
|
24
30
|
): void;
|
|
25
31
|
putRawMessageContent(
|
|
26
32
|
args: PutRawMessageContentCommandInput,
|
|
27
|
-
options?:
|
|
33
|
+
options?: WorkMailMessageFlowRequestOptions,
|
|
28
34
|
): Promise<PutRawMessageContentCommandOutput>;
|
|
29
35
|
putRawMessageContent(
|
|
30
36
|
args: PutRawMessageContentCommandInput,
|
|
@@ -32,7 +38,7 @@ export interface WorkMailMessageFlow {
|
|
|
32
38
|
): void;
|
|
33
39
|
putRawMessageContent(
|
|
34
40
|
args: PutRawMessageContentCommandInput,
|
|
35
|
-
options:
|
|
41
|
+
options: WorkMailMessageFlowRequestOptions,
|
|
36
42
|
cb: (err: any, data?: PutRawMessageContentCommandOutput) => void,
|
|
37
43
|
): void;
|
|
38
44
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-workmailmessageflow",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1139.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Workmailmessageflow Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-workmailmessageflow",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -46,13 +46,13 @@
|
|
|
46
46
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@aws-sdk/core": "^3.978.
|
|
50
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
51
|
-
"@aws-sdk/types": "^3.974.
|
|
52
|
-
"@smithy/core": "^3.
|
|
53
|
-
"@smithy/fetch-http-handler": "^5.
|
|
54
|
-
"@smithy/node-http-handler": "^4.
|
|
55
|
-
"@smithy/types": "^4.
|
|
49
|
+
"@aws-sdk/core": "^3.978.1",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.84",
|
|
51
|
+
"@aws-sdk/types": "^3.974.6",
|
|
52
|
+
"@smithy/core": "^3.35.0",
|
|
53
|
+
"@smithy/fetch-http-handler": "^5.8.0",
|
|
54
|
+
"@smithy/node-http-handler": "^4.12.1",
|
|
55
|
+
"@smithy/types": "^4.19.0",
|
|
56
56
|
"tslib": "^2.6.2"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|