@aws-sdk/client-workmailmessageflow 3.50.0 → 3.53.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 +27 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/WorkMailMessageFlowServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +54 -1
- package/dist-cjs/protocols/Aws_restJson1.js +39 -78
- package/dist-es/index.js +1 -0
- package/dist-es/models/WorkMailMessageFlowServiceException.js +12 -0
- package/dist-es/models/models_0.js +50 -1
- package/dist-es/protocols/Aws_restJson1.js +53 -91
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/WorkMailMessageFlowServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +30 -17
- package/dist-types/ts3.4/WorkMailMessageFlow.d.ts +15 -0
- package/dist-types/ts3.4/WorkMailMessageFlowClient.d.ts +75 -0
- package/dist-types/ts3.4/commands/GetRawMessageContentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutRawMessageContentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +5 -0
- package/dist-types/ts3.4/models/WorkMailMessageFlowServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +86 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +8 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/package.json +33 -33
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
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.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** generate service exceptions as classes ([#3267](https://github.com/aws/aws-sdk-js-v3/issues/3267)) ([ca64fee](https://github.com/aws/aws-sdk-js-v3/commit/ca64feed3351c394c07dc26b782a5760a396a074))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @aws-sdk/client-workmailmessageflow
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.51.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.50.0...v3.51.0) (2022-02-12)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @aws-sdk/client-workmailmessageflow
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.50.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.49.0...v3.50.0) (2022-02-08)
|
|
7
34
|
|
|
8
35
|
**Note:** Version bump only for package @aws-sdk/client-workmailmessageflow
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WorkMailMessageFlowServiceException = void 0;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
tslib_1.__exportStar(require("./WorkMailMessageFlow"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./WorkMailMessageFlowClient"), exports);
|
|
6
7
|
tslib_1.__exportStar(require("./commands"), exports);
|
|
7
8
|
tslib_1.__exportStar(require("./models"), exports);
|
|
9
|
+
var WorkMailMessageFlowServiceException_1 = require("./models/WorkMailMessageFlowServiceException");
|
|
10
|
+
Object.defineProperty(exports, "WorkMailMessageFlowServiceException", { enumerable: true, get: function () { return WorkMailMessageFlowServiceException_1.WorkMailMessageFlowServiceException; } });
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WorkMailMessageFlowServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
class WorkMailMessageFlowServiceException extends smithy_client_1.ServiceException {
|
|
6
|
+
constructor(options) {
|
|
7
|
+
super(options);
|
|
8
|
+
Object.setPrototypeOf(this, WorkMailMessageFlowServiceException.prototype);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.WorkMailMessageFlowServiceException = WorkMailMessageFlowServiceException;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PutRawMessageContentResponse = exports.PutRawMessageContentRequest = exports.RawMessageContent = exports.S3Reference = exports.GetRawMessageContentResponse = exports.GetRawMessageContentRequest = void 0;
|
|
3
|
+
exports.PutRawMessageContentResponse = exports.PutRawMessageContentRequest = exports.RawMessageContent = exports.S3Reference = exports.MessageRejected = exports.MessageFrozen = exports.InvalidContentLocation = exports.ResourceNotFoundException = exports.GetRawMessageContentResponse = exports.GetRawMessageContentRequest = void 0;
|
|
4
|
+
const WorkMailMessageFlowServiceException_1 = require("./WorkMailMessageFlowServiceException");
|
|
4
5
|
var GetRawMessageContentRequest;
|
|
5
6
|
(function (GetRawMessageContentRequest) {
|
|
6
7
|
GetRawMessageContentRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -13,6 +14,58 @@ var GetRawMessageContentResponse;
|
|
|
13
14
|
...obj,
|
|
14
15
|
});
|
|
15
16
|
})(GetRawMessageContentResponse = exports.GetRawMessageContentResponse || (exports.GetRawMessageContentResponse = {}));
|
|
17
|
+
class ResourceNotFoundException extends WorkMailMessageFlowServiceException_1.WorkMailMessageFlowServiceException {
|
|
18
|
+
constructor(opts) {
|
|
19
|
+
super({
|
|
20
|
+
name: "ResourceNotFoundException",
|
|
21
|
+
$fault: "client",
|
|
22
|
+
...opts,
|
|
23
|
+
});
|
|
24
|
+
this.name = "ResourceNotFoundException";
|
|
25
|
+
this.$fault = "client";
|
|
26
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
30
|
+
class InvalidContentLocation extends WorkMailMessageFlowServiceException_1.WorkMailMessageFlowServiceException {
|
|
31
|
+
constructor(opts) {
|
|
32
|
+
super({
|
|
33
|
+
name: "InvalidContentLocation",
|
|
34
|
+
$fault: "client",
|
|
35
|
+
...opts,
|
|
36
|
+
});
|
|
37
|
+
this.name = "InvalidContentLocation";
|
|
38
|
+
this.$fault = "client";
|
|
39
|
+
Object.setPrototypeOf(this, InvalidContentLocation.prototype);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
exports.InvalidContentLocation = InvalidContentLocation;
|
|
43
|
+
class MessageFrozen extends WorkMailMessageFlowServiceException_1.WorkMailMessageFlowServiceException {
|
|
44
|
+
constructor(opts) {
|
|
45
|
+
super({
|
|
46
|
+
name: "MessageFrozen",
|
|
47
|
+
$fault: "client",
|
|
48
|
+
...opts,
|
|
49
|
+
});
|
|
50
|
+
this.name = "MessageFrozen";
|
|
51
|
+
this.$fault = "client";
|
|
52
|
+
Object.setPrototypeOf(this, MessageFrozen.prototype);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
exports.MessageFrozen = MessageFrozen;
|
|
56
|
+
class MessageRejected extends WorkMailMessageFlowServiceException_1.WorkMailMessageFlowServiceException {
|
|
57
|
+
constructor(opts) {
|
|
58
|
+
super({
|
|
59
|
+
name: "MessageRejected",
|
|
60
|
+
$fault: "client",
|
|
61
|
+
...opts,
|
|
62
|
+
});
|
|
63
|
+
this.name = "MessageRejected";
|
|
64
|
+
this.$fault = "client";
|
|
65
|
+
Object.setPrototypeOf(this, MessageRejected.prototype);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
exports.MessageRejected = MessageRejected;
|
|
16
69
|
var S3Reference;
|
|
17
70
|
(function (S3Reference) {
|
|
18
71
|
S3Reference.filterSensitiveLog = (obj) => ({
|
|
@@ -3,6 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.deserializeAws_restJson1PutRawMessageContentCommand = exports.deserializeAws_restJson1GetRawMessageContentCommand = exports.serializeAws_restJson1PutRawMessageContentCommand = exports.serializeAws_restJson1GetRawMessageContentCommand = void 0;
|
|
4
4
|
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const WorkMailMessageFlowServiceException_1 = require("../models/WorkMailMessageFlowServiceException");
|
|
6
8
|
const serializeAws_restJson1GetRawMessageContentCommand = async (input, context) => {
|
|
7
9
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
8
10
|
const headers = {};
|
|
@@ -85,27 +87,16 @@ const deserializeAws_restJson1GetRawMessageContentCommandError = async (output,
|
|
|
85
87
|
switch (errorCode) {
|
|
86
88
|
case "ResourceNotFoundException":
|
|
87
89
|
case "com.amazonaws.workmailmessageflow#ResourceNotFoundException":
|
|
88
|
-
|
|
89
|
-
...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)),
|
|
90
|
-
name: errorCode,
|
|
91
|
-
$metadata: deserializeMetadata(output),
|
|
92
|
-
};
|
|
93
|
-
break;
|
|
90
|
+
throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
94
91
|
default:
|
|
95
92
|
const parsedBody = parsedOutput.body;
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
...parsedBody,
|
|
99
|
-
name: `${errorCode}`,
|
|
100
|
-
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
93
|
+
response = new WorkMailMessageFlowServiceException_1.WorkMailMessageFlowServiceException({
|
|
94
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
101
95
|
$fault: "client",
|
|
102
96
|
$metadata: deserializeMetadata(output),
|
|
103
|
-
};
|
|
97
|
+
});
|
|
98
|
+
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
104
99
|
}
|
|
105
|
-
const message = response.message || response.Message || errorCode;
|
|
106
|
-
response.message = message;
|
|
107
|
-
delete response.Message;
|
|
108
|
-
return Promise.reject(Object.assign(new Error(message), response));
|
|
109
100
|
};
|
|
110
101
|
const deserializeAws_restJson1PutRawMessageContentCommand = async (output, context) => {
|
|
111
102
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
@@ -129,103 +120,73 @@ const deserializeAws_restJson1PutRawMessageContentCommandError = async (output,
|
|
|
129
120
|
switch (errorCode) {
|
|
130
121
|
case "InvalidContentLocation":
|
|
131
122
|
case "com.amazonaws.workmailmessageflow#InvalidContentLocation":
|
|
132
|
-
|
|
133
|
-
...(await deserializeAws_restJson1InvalidContentLocationResponse(parsedOutput, context)),
|
|
134
|
-
name: errorCode,
|
|
135
|
-
$metadata: deserializeMetadata(output),
|
|
136
|
-
};
|
|
137
|
-
break;
|
|
123
|
+
throw await deserializeAws_restJson1InvalidContentLocationResponse(parsedOutput, context);
|
|
138
124
|
case "MessageFrozen":
|
|
139
125
|
case "com.amazonaws.workmailmessageflow#MessageFrozen":
|
|
140
|
-
|
|
141
|
-
...(await deserializeAws_restJson1MessageFrozenResponse(parsedOutput, context)),
|
|
142
|
-
name: errorCode,
|
|
143
|
-
$metadata: deserializeMetadata(output),
|
|
144
|
-
};
|
|
145
|
-
break;
|
|
126
|
+
throw await deserializeAws_restJson1MessageFrozenResponse(parsedOutput, context);
|
|
146
127
|
case "MessageRejected":
|
|
147
128
|
case "com.amazonaws.workmailmessageflow#MessageRejected":
|
|
148
|
-
|
|
149
|
-
...(await deserializeAws_restJson1MessageRejectedResponse(parsedOutput, context)),
|
|
150
|
-
name: errorCode,
|
|
151
|
-
$metadata: deserializeMetadata(output),
|
|
152
|
-
};
|
|
153
|
-
break;
|
|
129
|
+
throw await deserializeAws_restJson1MessageRejectedResponse(parsedOutput, context);
|
|
154
130
|
case "ResourceNotFoundException":
|
|
155
131
|
case "com.amazonaws.workmailmessageflow#ResourceNotFoundException":
|
|
156
|
-
|
|
157
|
-
...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)),
|
|
158
|
-
name: errorCode,
|
|
159
|
-
$metadata: deserializeMetadata(output),
|
|
160
|
-
};
|
|
161
|
-
break;
|
|
132
|
+
throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
162
133
|
default:
|
|
163
134
|
const parsedBody = parsedOutput.body;
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
...parsedBody,
|
|
167
|
-
name: `${errorCode}`,
|
|
168
|
-
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
135
|
+
response = new WorkMailMessageFlowServiceException_1.WorkMailMessageFlowServiceException({
|
|
136
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
169
137
|
$fault: "client",
|
|
170
138
|
$metadata: deserializeMetadata(output),
|
|
171
|
-
};
|
|
139
|
+
});
|
|
140
|
+
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
172
141
|
}
|
|
173
|
-
const message = response.message || response.Message || errorCode;
|
|
174
|
-
response.message = message;
|
|
175
|
-
delete response.Message;
|
|
176
|
-
return Promise.reject(Object.assign(new Error(message), response));
|
|
177
142
|
};
|
|
178
143
|
const deserializeAws_restJson1InvalidContentLocationResponse = async (parsedOutput, context) => {
|
|
179
|
-
const contents = {
|
|
180
|
-
name: "InvalidContentLocation",
|
|
181
|
-
$fault: "client",
|
|
182
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
183
|
-
message: undefined,
|
|
184
|
-
};
|
|
144
|
+
const contents = {};
|
|
185
145
|
const data = parsedOutput.body;
|
|
186
146
|
if (data.message !== undefined && data.message !== null) {
|
|
187
147
|
contents.message = smithy_client_1.expectString(data.message);
|
|
188
148
|
}
|
|
189
|
-
|
|
149
|
+
const exception = new models_0_1.InvalidContentLocation({
|
|
150
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
151
|
+
...contents,
|
|
152
|
+
});
|
|
153
|
+
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
190
154
|
};
|
|
191
155
|
const deserializeAws_restJson1MessageFrozenResponse = async (parsedOutput, context) => {
|
|
192
|
-
const contents = {
|
|
193
|
-
name: "MessageFrozen",
|
|
194
|
-
$fault: "client",
|
|
195
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
196
|
-
message: undefined,
|
|
197
|
-
};
|
|
156
|
+
const contents = {};
|
|
198
157
|
const data = parsedOutput.body;
|
|
199
158
|
if (data.message !== undefined && data.message !== null) {
|
|
200
159
|
contents.message = smithy_client_1.expectString(data.message);
|
|
201
160
|
}
|
|
202
|
-
|
|
161
|
+
const exception = new models_0_1.MessageFrozen({
|
|
162
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
163
|
+
...contents,
|
|
164
|
+
});
|
|
165
|
+
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
203
166
|
};
|
|
204
167
|
const deserializeAws_restJson1MessageRejectedResponse = async (parsedOutput, context) => {
|
|
205
|
-
const contents = {
|
|
206
|
-
name: "MessageRejected",
|
|
207
|
-
$fault: "client",
|
|
208
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
209
|
-
message: undefined,
|
|
210
|
-
};
|
|
168
|
+
const contents = {};
|
|
211
169
|
const data = parsedOutput.body;
|
|
212
170
|
if (data.message !== undefined && data.message !== null) {
|
|
213
171
|
contents.message = smithy_client_1.expectString(data.message);
|
|
214
172
|
}
|
|
215
|
-
|
|
173
|
+
const exception = new models_0_1.MessageRejected({
|
|
174
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
175
|
+
...contents,
|
|
176
|
+
});
|
|
177
|
+
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
216
178
|
};
|
|
217
179
|
const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
218
|
-
const contents = {
|
|
219
|
-
name: "ResourceNotFoundException",
|
|
220
|
-
$fault: "client",
|
|
221
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
222
|
-
message: undefined,
|
|
223
|
-
};
|
|
180
|
+
const contents = {};
|
|
224
181
|
const data = parsedOutput.body;
|
|
225
182
|
if (data.message !== undefined && data.message !== null) {
|
|
226
183
|
contents.message = smithy_client_1.expectString(data.message);
|
|
227
184
|
}
|
|
228
|
-
|
|
185
|
+
const exception = new models_0_1.ResourceNotFoundException({
|
|
186
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
187
|
+
...contents,
|
|
188
|
+
});
|
|
189
|
+
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
229
190
|
};
|
|
230
191
|
const serializeAws_restJson1RawMessageContent = (input, context) => {
|
|
231
192
|
return {
|
package/dist-es/index.js
CHANGED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
|
|
3
|
+
var WorkMailMessageFlowServiceException = (function (_super) {
|
|
4
|
+
__extends(WorkMailMessageFlowServiceException, _super);
|
|
5
|
+
function WorkMailMessageFlowServiceException(options) {
|
|
6
|
+
var _this = _super.call(this, options) || this;
|
|
7
|
+
Object.setPrototypeOf(_this, WorkMailMessageFlowServiceException.prototype);
|
|
8
|
+
return _this;
|
|
9
|
+
}
|
|
10
|
+
return WorkMailMessageFlowServiceException;
|
|
11
|
+
}(__ServiceException));
|
|
12
|
+
export { WorkMailMessageFlowServiceException };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __extends } from "tslib";
|
|
2
|
+
import { WorkMailMessageFlowServiceException as __BaseException } from "./WorkMailMessageFlowServiceException";
|
|
2
3
|
export var GetRawMessageContentRequest;
|
|
3
4
|
(function (GetRawMessageContentRequest) {
|
|
4
5
|
GetRawMessageContentRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -7,6 +8,54 @@ export var GetRawMessageContentResponse;
|
|
|
7
8
|
(function (GetRawMessageContentResponse) {
|
|
8
9
|
GetRawMessageContentResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
9
10
|
})(GetRawMessageContentResponse || (GetRawMessageContentResponse = {}));
|
|
11
|
+
var ResourceNotFoundException = (function (_super) {
|
|
12
|
+
__extends(ResourceNotFoundException, _super);
|
|
13
|
+
function ResourceNotFoundException(opts) {
|
|
14
|
+
var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
|
|
15
|
+
_this.name = "ResourceNotFoundException";
|
|
16
|
+
_this.$fault = "client";
|
|
17
|
+
Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
|
|
18
|
+
return _this;
|
|
19
|
+
}
|
|
20
|
+
return ResourceNotFoundException;
|
|
21
|
+
}(__BaseException));
|
|
22
|
+
export { ResourceNotFoundException };
|
|
23
|
+
var InvalidContentLocation = (function (_super) {
|
|
24
|
+
__extends(InvalidContentLocation, _super);
|
|
25
|
+
function InvalidContentLocation(opts) {
|
|
26
|
+
var _this = _super.call(this, __assign({ name: "InvalidContentLocation", $fault: "client" }, opts)) || this;
|
|
27
|
+
_this.name = "InvalidContentLocation";
|
|
28
|
+
_this.$fault = "client";
|
|
29
|
+
Object.setPrototypeOf(_this, InvalidContentLocation.prototype);
|
|
30
|
+
return _this;
|
|
31
|
+
}
|
|
32
|
+
return InvalidContentLocation;
|
|
33
|
+
}(__BaseException));
|
|
34
|
+
export { InvalidContentLocation };
|
|
35
|
+
var MessageFrozen = (function (_super) {
|
|
36
|
+
__extends(MessageFrozen, _super);
|
|
37
|
+
function MessageFrozen(opts) {
|
|
38
|
+
var _this = _super.call(this, __assign({ name: "MessageFrozen", $fault: "client" }, opts)) || this;
|
|
39
|
+
_this.name = "MessageFrozen";
|
|
40
|
+
_this.$fault = "client";
|
|
41
|
+
Object.setPrototypeOf(_this, MessageFrozen.prototype);
|
|
42
|
+
return _this;
|
|
43
|
+
}
|
|
44
|
+
return MessageFrozen;
|
|
45
|
+
}(__BaseException));
|
|
46
|
+
export { MessageFrozen };
|
|
47
|
+
var MessageRejected = (function (_super) {
|
|
48
|
+
__extends(MessageRejected, _super);
|
|
49
|
+
function MessageRejected(opts) {
|
|
50
|
+
var _this = _super.call(this, __assign({ name: "MessageRejected", $fault: "client" }, opts)) || this;
|
|
51
|
+
_this.name = "MessageRejected";
|
|
52
|
+
_this.$fault = "client";
|
|
53
|
+
Object.setPrototypeOf(_this, MessageRejected.prototype);
|
|
54
|
+
return _this;
|
|
55
|
+
}
|
|
56
|
+
return MessageRejected;
|
|
57
|
+
}(__BaseException));
|
|
58
|
+
export { MessageRejected };
|
|
10
59
|
export var S3Reference;
|
|
11
60
|
(function (S3Reference) {
|
|
12
61
|
S3Reference.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { decorateServiceException as __decorateServiceException, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { InvalidContentLocation, MessageFrozen, MessageRejected, ResourceNotFoundException, } from "../models/models_0";
|
|
5
|
+
import { WorkMailMessageFlowServiceException as __BaseException } from "../models/WorkMailMessageFlowServiceException";
|
|
4
6
|
export var serializeAws_restJson1GetRawMessageContentCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
5
7
|
var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, labelValue, body;
|
|
6
8
|
return __generator(this, function (_c) {
|
|
@@ -83,16 +85,16 @@ export var deserializeAws_restJson1GetRawMessageContentCommand = function (outpu
|
|
|
83
85
|
});
|
|
84
86
|
}); };
|
|
85
87
|
var deserializeAws_restJson1GetRawMessageContentCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
86
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
87
|
-
var
|
|
88
|
-
return __generator(this, function (
|
|
89
|
-
switch (
|
|
88
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
89
|
+
var _c;
|
|
90
|
+
return __generator(this, function (_d) {
|
|
91
|
+
switch (_d.label) {
|
|
90
92
|
case 0:
|
|
91
93
|
_a = [__assign({}, output)];
|
|
92
|
-
|
|
94
|
+
_c = {};
|
|
93
95
|
return [4, parseBody(output.body, context)];
|
|
94
96
|
case 1:
|
|
95
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
97
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
96
98
|
errorCode = "UnknownError";
|
|
97
99
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
98
100
|
_b = errorCode;
|
|
@@ -101,22 +103,16 @@ var deserializeAws_restJson1GetRawMessageContentCommandError = function (output,
|
|
|
101
103
|
case "com.amazonaws.workmailmessageflow#ResourceNotFoundException": return [3, 2];
|
|
102
104
|
}
|
|
103
105
|
return [3, 4];
|
|
104
|
-
case 2:
|
|
105
|
-
|
|
106
|
-
return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
107
|
-
case 3:
|
|
108
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_e.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
109
|
-
return [3, 5];
|
|
106
|
+
case 2: return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
107
|
+
case 3: throw _d.sent();
|
|
110
108
|
case 4:
|
|
111
109
|
parsedBody = parsedOutput.body;
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
response
|
|
118
|
-
delete response.Message;
|
|
119
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
110
|
+
response = new __BaseException({
|
|
111
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
112
|
+
$fault: "client",
|
|
113
|
+
$metadata: deserializeMetadata(output),
|
|
114
|
+
});
|
|
115
|
+
throw __decorateServiceException(response, parsedBody);
|
|
120
116
|
}
|
|
121
117
|
});
|
|
122
118
|
}); };
|
|
@@ -139,16 +135,16 @@ export var deserializeAws_restJson1PutRawMessageContentCommand = function (outpu
|
|
|
139
135
|
});
|
|
140
136
|
}); };
|
|
141
137
|
var deserializeAws_restJson1PutRawMessageContentCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
142
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
143
|
-
var
|
|
144
|
-
return __generator(this, function (
|
|
145
|
-
switch (
|
|
138
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
139
|
+
var _c;
|
|
140
|
+
return __generator(this, function (_d) {
|
|
141
|
+
switch (_d.label) {
|
|
146
142
|
case 0:
|
|
147
143
|
_a = [__assign({}, output)];
|
|
148
|
-
|
|
144
|
+
_c = {};
|
|
149
145
|
return [4, parseBody(output.body, context)];
|
|
150
146
|
case 1:
|
|
151
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
147
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
152
148
|
errorCode = "UnknownError";
|
|
153
149
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
154
150
|
_b = errorCode;
|
|
@@ -163,105 +159,71 @@ var deserializeAws_restJson1PutRawMessageContentCommandError = function (output,
|
|
|
163
159
|
case "com.amazonaws.workmailmessageflow#ResourceNotFoundException": return [3, 8];
|
|
164
160
|
}
|
|
165
161
|
return [3, 10];
|
|
166
|
-
case 2:
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
case
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
case 4
|
|
173
|
-
|
|
174
|
-
return [4, deserializeAws_restJson1MessageFrozenResponse(parsedOutput, context)];
|
|
175
|
-
case 5:
|
|
176
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
177
|
-
return [3, 11];
|
|
178
|
-
case 6:
|
|
179
|
-
_e = [{}];
|
|
180
|
-
return [4, deserializeAws_restJson1MessageRejectedResponse(parsedOutput, context)];
|
|
181
|
-
case 7:
|
|
182
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
183
|
-
return [3, 11];
|
|
184
|
-
case 8:
|
|
185
|
-
_f = [{}];
|
|
186
|
-
return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
187
|
-
case 9:
|
|
188
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
189
|
-
return [3, 11];
|
|
162
|
+
case 2: return [4, deserializeAws_restJson1InvalidContentLocationResponse(parsedOutput, context)];
|
|
163
|
+
case 3: throw _d.sent();
|
|
164
|
+
case 4: return [4, deserializeAws_restJson1MessageFrozenResponse(parsedOutput, context)];
|
|
165
|
+
case 5: throw _d.sent();
|
|
166
|
+
case 6: return [4, deserializeAws_restJson1MessageRejectedResponse(parsedOutput, context)];
|
|
167
|
+
case 7: throw _d.sent();
|
|
168
|
+
case 8: return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
169
|
+
case 9: throw _d.sent();
|
|
190
170
|
case 10:
|
|
191
171
|
parsedBody = parsedOutput.body;
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
response
|
|
198
|
-
delete response.Message;
|
|
199
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
172
|
+
response = new __BaseException({
|
|
173
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
174
|
+
$fault: "client",
|
|
175
|
+
$metadata: deserializeMetadata(output),
|
|
176
|
+
});
|
|
177
|
+
throw __decorateServiceException(response, parsedBody);
|
|
200
178
|
}
|
|
201
179
|
});
|
|
202
180
|
}); };
|
|
203
181
|
var deserializeAws_restJson1InvalidContentLocationResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
204
|
-
var contents, data;
|
|
182
|
+
var contents, data, exception;
|
|
205
183
|
return __generator(this, function (_a) {
|
|
206
|
-
contents = {
|
|
207
|
-
name: "InvalidContentLocation",
|
|
208
|
-
$fault: "client",
|
|
209
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
210
|
-
message: undefined,
|
|
211
|
-
};
|
|
184
|
+
contents = {};
|
|
212
185
|
data = parsedOutput.body;
|
|
213
186
|
if (data.message !== undefined && data.message !== null) {
|
|
214
187
|
contents.message = __expectString(data.message);
|
|
215
188
|
}
|
|
216
|
-
|
|
189
|
+
exception = new InvalidContentLocation(__assign({ $metadata: deserializeMetadata(parsedOutput) }, contents));
|
|
190
|
+
return [2, __decorateServiceException(exception, parsedOutput.body)];
|
|
217
191
|
});
|
|
218
192
|
}); };
|
|
219
193
|
var deserializeAws_restJson1MessageFrozenResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
220
|
-
var contents, data;
|
|
194
|
+
var contents, data, exception;
|
|
221
195
|
return __generator(this, function (_a) {
|
|
222
|
-
contents = {
|
|
223
|
-
name: "MessageFrozen",
|
|
224
|
-
$fault: "client",
|
|
225
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
226
|
-
message: undefined,
|
|
227
|
-
};
|
|
196
|
+
contents = {};
|
|
228
197
|
data = parsedOutput.body;
|
|
229
198
|
if (data.message !== undefined && data.message !== null) {
|
|
230
199
|
contents.message = __expectString(data.message);
|
|
231
200
|
}
|
|
232
|
-
|
|
201
|
+
exception = new MessageFrozen(__assign({ $metadata: deserializeMetadata(parsedOutput) }, contents));
|
|
202
|
+
return [2, __decorateServiceException(exception, parsedOutput.body)];
|
|
233
203
|
});
|
|
234
204
|
}); };
|
|
235
205
|
var deserializeAws_restJson1MessageRejectedResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
236
|
-
var contents, data;
|
|
206
|
+
var contents, data, exception;
|
|
237
207
|
return __generator(this, function (_a) {
|
|
238
|
-
contents = {
|
|
239
|
-
name: "MessageRejected",
|
|
240
|
-
$fault: "client",
|
|
241
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
242
|
-
message: undefined,
|
|
243
|
-
};
|
|
208
|
+
contents = {};
|
|
244
209
|
data = parsedOutput.body;
|
|
245
210
|
if (data.message !== undefined && data.message !== null) {
|
|
246
211
|
contents.message = __expectString(data.message);
|
|
247
212
|
}
|
|
248
|
-
|
|
213
|
+
exception = new MessageRejected(__assign({ $metadata: deserializeMetadata(parsedOutput) }, contents));
|
|
214
|
+
return [2, __decorateServiceException(exception, parsedOutput.body)];
|
|
249
215
|
});
|
|
250
216
|
}); };
|
|
251
217
|
var deserializeAws_restJson1ResourceNotFoundExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
252
|
-
var contents, data;
|
|
218
|
+
var contents, data, exception;
|
|
253
219
|
return __generator(this, function (_a) {
|
|
254
|
-
contents = {
|
|
255
|
-
name: "ResourceNotFoundException",
|
|
256
|
-
$fault: "client",
|
|
257
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
258
|
-
message: undefined,
|
|
259
|
-
};
|
|
220
|
+
contents = {};
|
|
260
221
|
data = parsedOutput.body;
|
|
261
222
|
if (data.message !== undefined && data.message !== null) {
|
|
262
223
|
contents.message = __expectString(data.message);
|
|
263
224
|
}
|
|
264
|
-
|
|
225
|
+
exception = new ResourceNotFoundException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, contents));
|
|
226
|
+
return [2, __decorateServiceException(exception, parsedOutput.body)];
|
|
265
227
|
});
|
|
266
228
|
}); };
|
|
267
229
|
var serializeAws_restJson1RawMessageContent = function (input, context) {
|
package/dist-types/index.d.ts
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
/**
|
|
3
|
+
* Base exception class for all service exceptions from WorkMailMessageFlow service.
|
|
4
|
+
*/
|
|
5
|
+
export declare class WorkMailMessageFlowServiceException extends __ServiceException {
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
constructor(options: __ServiceExceptionOptions);
|
|
10
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
|
-
import {
|
|
2
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Readable } from "stream";
|
|
4
|
+
import { WorkMailMessageFlowServiceException as __BaseException } from "./WorkMailMessageFlowServiceException";
|
|
4
5
|
export interface GetRawMessageContentRequest {
|
|
5
6
|
/**
|
|
6
7
|
* <p>The identifier of the email message to retrieve.</p>
|
|
@@ -28,10 +29,13 @@ export declare namespace GetRawMessageContentResponse {
|
|
|
28
29
|
/**
|
|
29
30
|
* <p>The requested email message is not found.</p>
|
|
30
31
|
*/
|
|
31
|
-
export
|
|
32
|
-
name: "ResourceNotFoundException";
|
|
33
|
-
$fault: "client";
|
|
34
|
-
|
|
32
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
33
|
+
readonly name: "ResourceNotFoundException";
|
|
34
|
+
readonly $fault: "client";
|
|
35
|
+
/**
|
|
36
|
+
* @internal
|
|
37
|
+
*/
|
|
38
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
35
39
|
}
|
|
36
40
|
/**
|
|
37
41
|
* <p>WorkMail could not access the updated email content. Possible reasons:</p>
|
|
@@ -52,27 +56,36 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
|
|
|
52
56
|
* </li>
|
|
53
57
|
* </ul>
|
|
54
58
|
*/
|
|
55
|
-
export
|
|
56
|
-
name: "InvalidContentLocation";
|
|
57
|
-
$fault: "client";
|
|
58
|
-
|
|
59
|
+
export declare class InvalidContentLocation extends __BaseException {
|
|
60
|
+
readonly name: "InvalidContentLocation";
|
|
61
|
+
readonly $fault: "client";
|
|
62
|
+
/**
|
|
63
|
+
* @internal
|
|
64
|
+
*/
|
|
65
|
+
constructor(opts: __ExceptionOptionType<InvalidContentLocation, __BaseException>);
|
|
59
66
|
}
|
|
60
67
|
/**
|
|
61
68
|
* <p>The requested email is not eligible for update. This is usually the case for a redirected email.</p>
|
|
62
69
|
*/
|
|
63
|
-
export
|
|
64
|
-
name: "MessageFrozen";
|
|
65
|
-
$fault: "client";
|
|
66
|
-
|
|
70
|
+
export declare class MessageFrozen extends __BaseException {
|
|
71
|
+
readonly name: "MessageFrozen";
|
|
72
|
+
readonly $fault: "client";
|
|
73
|
+
/**
|
|
74
|
+
* @internal
|
|
75
|
+
*/
|
|
76
|
+
constructor(opts: __ExceptionOptionType<MessageFrozen, __BaseException>);
|
|
67
77
|
}
|
|
68
78
|
/**
|
|
69
79
|
* <p>The requested email could not be updated due to an error in the MIME content. Check the error message for more information about
|
|
70
80
|
* what caused the error.</p>
|
|
71
81
|
*/
|
|
72
|
-
export
|
|
73
|
-
name: "MessageRejected";
|
|
74
|
-
$fault: "client";
|
|
75
|
-
|
|
82
|
+
export declare class MessageRejected extends __BaseException {
|
|
83
|
+
readonly name: "MessageRejected";
|
|
84
|
+
readonly $fault: "client";
|
|
85
|
+
/**
|
|
86
|
+
* @internal
|
|
87
|
+
*/
|
|
88
|
+
constructor(opts: __ExceptionOptionType<MessageRejected, __BaseException>);
|
|
76
89
|
}
|
|
77
90
|
/**
|
|
78
91
|
* <p>Amazon S3 object representing the updated message content, in MIME format.</p>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
|
+
import { GetRawMessageContentCommandInput, GetRawMessageContentCommandOutput } from "./commands/GetRawMessageContentCommand";
|
|
3
|
+
import { PutRawMessageContentCommandInput, PutRawMessageContentCommandOutput } from "./commands/PutRawMessageContentCommand";
|
|
4
|
+
import { WorkMailMessageFlowClient } from "./WorkMailMessageFlowClient";
|
|
5
|
+
|
|
6
|
+
export declare class WorkMailMessageFlow extends WorkMailMessageFlowClient {
|
|
7
|
+
|
|
8
|
+
getRawMessageContent(args: GetRawMessageContentCommandInput, options?: __HttpHandlerOptions): Promise<GetRawMessageContentCommandOutput>;
|
|
9
|
+
getRawMessageContent(args: GetRawMessageContentCommandInput, cb: (err: any, data?: GetRawMessageContentCommandOutput) => void): void;
|
|
10
|
+
getRawMessageContent(args: GetRawMessageContentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRawMessageContentCommandOutput) => void): void;
|
|
11
|
+
|
|
12
|
+
putRawMessageContent(args: PutRawMessageContentCommandInput, options?: __HttpHandlerOptions): Promise<PutRawMessageContentCommandOutput>;
|
|
13
|
+
putRawMessageContent(args: PutRawMessageContentCommandInput, cb: (err: any, data?: PutRawMessageContentCommandOutput) => void): void;
|
|
14
|
+
putRawMessageContent(args: PutRawMessageContentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutRawMessageContentCommandOutput) => void): void;
|
|
15
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
|
|
2
|
+
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
3
|
+
import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
4
|
+
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
|
+
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
|
+
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
+
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
|
+
import { GetRawMessageContentCommandInput, GetRawMessageContentCommandOutput } from "./commands/GetRawMessageContentCommand";
|
|
10
|
+
import { PutRawMessageContentCommandInput, PutRawMessageContentCommandOutput } from "./commands/PutRawMessageContentCommand";
|
|
11
|
+
export declare type ServiceInputTypes = GetRawMessageContentCommandInput | PutRawMessageContentCommandInput;
|
|
12
|
+
export declare type ServiceOutputTypes = GetRawMessageContentCommandOutput | PutRawMessageContentCommandOutput;
|
|
13
|
+
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
14
|
+
|
|
15
|
+
requestHandler?: __HttpHandler;
|
|
16
|
+
|
|
17
|
+
sha256?: __HashConstructor;
|
|
18
|
+
|
|
19
|
+
urlParser?: __UrlParser;
|
|
20
|
+
|
|
21
|
+
bodyLengthChecker?: (body: any) => number | undefined;
|
|
22
|
+
|
|
23
|
+
streamCollector?: __StreamCollector;
|
|
24
|
+
|
|
25
|
+
base64Decoder?: __Decoder;
|
|
26
|
+
|
|
27
|
+
base64Encoder?: __Encoder;
|
|
28
|
+
|
|
29
|
+
utf8Decoder?: __Decoder;
|
|
30
|
+
|
|
31
|
+
utf8Encoder?: __Encoder;
|
|
32
|
+
|
|
33
|
+
runtime?: string;
|
|
34
|
+
|
|
35
|
+
disableHostPrefix?: boolean;
|
|
36
|
+
|
|
37
|
+
maxAttempts?: number | __Provider<number>;
|
|
38
|
+
|
|
39
|
+
retryMode?: string | __Provider<string>;
|
|
40
|
+
|
|
41
|
+
logger?: __Logger;
|
|
42
|
+
|
|
43
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
44
|
+
|
|
45
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
46
|
+
|
|
47
|
+
serviceId?: string;
|
|
48
|
+
|
|
49
|
+
region?: string | __Provider<string>;
|
|
50
|
+
|
|
51
|
+
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
52
|
+
|
|
53
|
+
regionInfoProvider?: RegionInfoProvider;
|
|
54
|
+
|
|
55
|
+
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
56
|
+
|
|
57
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
58
|
+
}
|
|
59
|
+
declare type WorkMailMessageFlowClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
60
|
+
|
|
61
|
+
export interface WorkMailMessageFlowClientConfig extends WorkMailMessageFlowClientConfigType {
|
|
62
|
+
}
|
|
63
|
+
declare type WorkMailMessageFlowClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
|
|
64
|
+
|
|
65
|
+
export interface WorkMailMessageFlowClientResolvedConfig extends WorkMailMessageFlowClientResolvedConfigType {
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export declare class WorkMailMessageFlowClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, WorkMailMessageFlowClientResolvedConfig> {
|
|
69
|
+
|
|
70
|
+
readonly config: WorkMailMessageFlowClientResolvedConfig;
|
|
71
|
+
constructor(configuration: WorkMailMessageFlowClientConfig);
|
|
72
|
+
|
|
73
|
+
destroy(): void;
|
|
74
|
+
}
|
|
75
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { GetRawMessageContentRequest, GetRawMessageContentResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, WorkMailMessageFlowClientResolvedConfig } from "../WorkMailMessageFlowClient";
|
|
5
|
+
export interface GetRawMessageContentCommandInput extends GetRawMessageContentRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface GetRawMessageContentCommandOutput extends GetRawMessageContentResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class GetRawMessageContentCommand extends $Command<GetRawMessageContentCommandInput, GetRawMessageContentCommandOutput, WorkMailMessageFlowClientResolvedConfig> {
|
|
11
|
+
readonly input: GetRawMessageContentCommandInput;
|
|
12
|
+
constructor(input: GetRawMessageContentCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WorkMailMessageFlowClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetRawMessageContentCommandInput, GetRawMessageContentCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { PutRawMessageContentRequest, PutRawMessageContentResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, WorkMailMessageFlowClientResolvedConfig } from "../WorkMailMessageFlowClient";
|
|
5
|
+
export interface PutRawMessageContentCommandInput extends PutRawMessageContentRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface PutRawMessageContentCommandOutput extends PutRawMessageContentResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class PutRawMessageContentCommand extends $Command<PutRawMessageContentCommandInput, PutRawMessageContentCommandOutput, WorkMailMessageFlowClientResolvedConfig> {
|
|
11
|
+
readonly input: PutRawMessageContentCommandInput;
|
|
12
|
+
constructor(input: PutRawMessageContentCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WorkMailMessageFlowClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutRawMessageContentCommandInput, PutRawMessageContentCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
|
|
3
|
+
export declare class WorkMailMessageFlowServiceException extends __ServiceException {
|
|
4
|
+
|
|
5
|
+
constructor(options: __ServiceExceptionOptions);
|
|
6
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./models_0";
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
|
|
2
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Readable } from "stream";
|
|
4
|
+
import { WorkMailMessageFlowServiceException as __BaseException } from "./WorkMailMessageFlowServiceException";
|
|
5
|
+
export interface GetRawMessageContentRequest {
|
|
6
|
+
|
|
7
|
+
messageId: string | undefined;
|
|
8
|
+
}
|
|
9
|
+
export declare namespace GetRawMessageContentRequest {
|
|
10
|
+
|
|
11
|
+
const filterSensitiveLog: (obj: GetRawMessageContentRequest) => any;
|
|
12
|
+
}
|
|
13
|
+
export interface GetRawMessageContentResponse {
|
|
14
|
+
|
|
15
|
+
messageContent: Readable | ReadableStream | Blob | undefined;
|
|
16
|
+
}
|
|
17
|
+
export declare namespace GetRawMessageContentResponse {
|
|
18
|
+
|
|
19
|
+
const filterSensitiveLog: (obj: GetRawMessageContentResponse) => any;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
23
|
+
readonly name: "ResourceNotFoundException";
|
|
24
|
+
readonly $fault: "client";
|
|
25
|
+
|
|
26
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export declare class InvalidContentLocation extends __BaseException {
|
|
30
|
+
readonly name: "InvalidContentLocation";
|
|
31
|
+
readonly $fault: "client";
|
|
32
|
+
|
|
33
|
+
constructor(opts: __ExceptionOptionType<InvalidContentLocation, __BaseException>);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export declare class MessageFrozen extends __BaseException {
|
|
37
|
+
readonly name: "MessageFrozen";
|
|
38
|
+
readonly $fault: "client";
|
|
39
|
+
|
|
40
|
+
constructor(opts: __ExceptionOptionType<MessageFrozen, __BaseException>);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export declare class MessageRejected extends __BaseException {
|
|
44
|
+
readonly name: "MessageRejected";
|
|
45
|
+
readonly $fault: "client";
|
|
46
|
+
|
|
47
|
+
constructor(opts: __ExceptionOptionType<MessageRejected, __BaseException>);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export interface S3Reference {
|
|
51
|
+
|
|
52
|
+
bucket: string | undefined;
|
|
53
|
+
|
|
54
|
+
key: string | undefined;
|
|
55
|
+
|
|
56
|
+
objectVersion?: string;
|
|
57
|
+
}
|
|
58
|
+
export declare namespace S3Reference {
|
|
59
|
+
|
|
60
|
+
const filterSensitiveLog: (obj: S3Reference) => any;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export interface RawMessageContent {
|
|
64
|
+
|
|
65
|
+
s3Reference: S3Reference | undefined;
|
|
66
|
+
}
|
|
67
|
+
export declare namespace RawMessageContent {
|
|
68
|
+
|
|
69
|
+
const filterSensitiveLog: (obj: RawMessageContent) => any;
|
|
70
|
+
}
|
|
71
|
+
export interface PutRawMessageContentRequest {
|
|
72
|
+
|
|
73
|
+
messageId: string | undefined;
|
|
74
|
+
|
|
75
|
+
content: RawMessageContent | undefined;
|
|
76
|
+
}
|
|
77
|
+
export declare namespace PutRawMessageContentRequest {
|
|
78
|
+
|
|
79
|
+
const filterSensitiveLog: (obj: PutRawMessageContentRequest) => any;
|
|
80
|
+
}
|
|
81
|
+
export interface PutRawMessageContentResponse {
|
|
82
|
+
}
|
|
83
|
+
export declare namespace PutRawMessageContentResponse {
|
|
84
|
+
|
|
85
|
+
const filterSensitiveLog: (obj: PutRawMessageContentResponse) => any;
|
|
86
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
2
|
+
import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
|
|
3
|
+
import { GetRawMessageContentCommandInput, GetRawMessageContentCommandOutput } from "../commands/GetRawMessageContentCommand";
|
|
4
|
+
import { PutRawMessageContentCommandInput, PutRawMessageContentCommandOutput } from "../commands/PutRawMessageContentCommand";
|
|
5
|
+
export declare const serializeAws_restJson1GetRawMessageContentCommand: (input: GetRawMessageContentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
6
|
+
export declare const serializeAws_restJson1PutRawMessageContentCommand: (input: PutRawMessageContentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
7
|
+
export declare const deserializeAws_restJson1GetRawMessageContentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetRawMessageContentCommandOutput>;
|
|
8
|
+
export declare const deserializeAws_restJson1PutRawMessageContentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutRawMessageContentCommandOutput>;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
|
+
import { WorkMailMessageFlowClientConfig } from "./WorkMailMessageFlowClient";
|
|
3
|
+
|
|
4
|
+
export declare const getRuntimeConfig: (config: WorkMailMessageFlowClientConfig) => {
|
|
5
|
+
runtime: string;
|
|
6
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
+
bodyLengthChecker: (body: any) => number | undefined;
|
|
10
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
|
+
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
|
+
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
13
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
15
|
+
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
16
|
+
sha256: import("@aws-sdk/types").HashConstructor;
|
|
17
|
+
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
18
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
19
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
21
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
22
|
+
apiVersion: string;
|
|
23
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
24
|
+
disableHostPrefix: boolean;
|
|
25
|
+
logger: import("@aws-sdk/types").Logger;
|
|
26
|
+
serviceId: string;
|
|
27
|
+
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
28
|
+
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
29
|
+
tls?: boolean | undefined;
|
|
30
|
+
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
31
|
+
credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
|
|
32
|
+
signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
|
|
33
|
+
signingEscapePath?: boolean | undefined;
|
|
34
|
+
systemClockOffset?: number | undefined;
|
|
35
|
+
signingRegion?: string | undefined;
|
|
36
|
+
signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
|
|
37
|
+
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
38
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
|
+
import { WorkMailMessageFlowClientConfig } from "./WorkMailMessageFlowClient";
|
|
3
|
+
|
|
4
|
+
export declare const getRuntimeConfig: (config: WorkMailMessageFlowClientConfig) => {
|
|
5
|
+
runtime: string;
|
|
6
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
+
bodyLengthChecker: (body: any) => number | undefined;
|
|
10
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
|
+
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
|
+
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
13
|
+
region: string | import("@aws-sdk/types").Provider<string>;
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
15
|
+
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
16
|
+
sha256: import("@aws-sdk/types").HashConstructor;
|
|
17
|
+
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
18
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
19
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
21
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
22
|
+
apiVersion: string;
|
|
23
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
24
|
+
disableHostPrefix: boolean;
|
|
25
|
+
logger: import("@aws-sdk/types").Logger;
|
|
26
|
+
serviceId: string;
|
|
27
|
+
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
28
|
+
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
29
|
+
tls?: boolean | undefined;
|
|
30
|
+
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
31
|
+
credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
|
|
32
|
+
signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
|
|
33
|
+
signingEscapePath?: boolean | undefined;
|
|
34
|
+
systemClockOffset?: number | undefined;
|
|
35
|
+
signingRegion?: string | undefined;
|
|
36
|
+
signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
|
|
37
|
+
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
38
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { WorkMailMessageFlowClientConfig } from "./WorkMailMessageFlowClient";
|
|
2
|
+
|
|
3
|
+
export declare const getRuntimeConfig: (config: WorkMailMessageFlowClientConfig) => {
|
|
4
|
+
runtime: string;
|
|
5
|
+
sha256: import("@aws-sdk/types").HashConstructor;
|
|
6
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
7
|
+
apiVersion: string;
|
|
8
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
9
|
+
bodyLengthChecker: (body: any) => number | undefined;
|
|
10
|
+
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
11
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
12
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
13
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
14
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
15
|
+
disableHostPrefix: boolean;
|
|
16
|
+
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
17
|
+
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
18
|
+
logger: import("@aws-sdk/types").Logger;
|
|
19
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
21
|
+
serviceId: string;
|
|
22
|
+
region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
|
|
23
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
24
|
+
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
25
|
+
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
26
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
27
|
+
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
28
|
+
tls?: boolean | undefined;
|
|
29
|
+
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
30
|
+
credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
|
|
31
|
+
signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
|
|
32
|
+
signingEscapePath?: boolean | undefined;
|
|
33
|
+
systemClockOffset?: number | undefined;
|
|
34
|
+
signingRegion?: string | undefined;
|
|
35
|
+
signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
|
|
36
|
+
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
37
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Logger as __Logger } from "@aws-sdk/types";
|
|
2
|
+
import { WorkMailMessageFlowClientConfig } from "./WorkMailMessageFlowClient";
|
|
3
|
+
|
|
4
|
+
export declare const getRuntimeConfig: (config: WorkMailMessageFlowClientConfig) => {
|
|
5
|
+
apiVersion: string;
|
|
6
|
+
disableHostPrefix: boolean;
|
|
7
|
+
logger: __Logger;
|
|
8
|
+
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
9
|
+
serviceId: string;
|
|
10
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
11
|
+
};
|
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.
|
|
4
|
+
"version": "3.53.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",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"build:es": "tsc -p tsconfig.es.json",
|
|
10
10
|
"build:types": "tsc -p tsconfig.types.json",
|
|
11
11
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
|
-
"clean": "rimraf ./dist-*"
|
|
12
|
+
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo"
|
|
13
13
|
},
|
|
14
14
|
"main": "./dist-cjs/index.js",
|
|
15
15
|
"types": "./dist-types/index.d.ts",
|
|
@@ -18,40 +18,40 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-retry": "3.
|
|
31
|
-
"@aws-sdk/middleware-serde": "3.
|
|
32
|
-
"@aws-sdk/middleware-signing": "3.
|
|
33
|
-
"@aws-sdk/middleware-stack": "3.
|
|
34
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
35
|
-
"@aws-sdk/node-config-provider": "3.
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
37
|
-
"@aws-sdk/protocol-http": "3.
|
|
38
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
-
"@aws-sdk/types": "3.
|
|
40
|
-
"@aws-sdk/url-parser": "3.
|
|
41
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
42
|
-
"@aws-sdk/util-base64-node": "3.
|
|
43
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
44
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
49
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
50
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.53.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.53.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.53.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.53.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.53.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.53.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.53.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.53.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.53.0",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.53.0",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.53.0",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.53.0",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.53.0",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.53.0",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.53.0",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.53.0",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.53.0",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.53.0",
|
|
39
|
+
"@aws-sdk/types": "3.53.0",
|
|
40
|
+
"@aws-sdk/url-parser": "3.53.0",
|
|
41
|
+
"@aws-sdk/util-base64-browser": "3.52.0",
|
|
42
|
+
"@aws-sdk/util-base64-node": "3.52.0",
|
|
43
|
+
"@aws-sdk/util-body-length-browser": "3.52.0",
|
|
44
|
+
"@aws-sdk/util-body-length-node": "3.52.0",
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.53.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.53.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.53.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.53.0",
|
|
49
|
+
"@aws-sdk/util-utf8-browser": "3.52.0",
|
|
50
|
+
"@aws-sdk/util-utf8-node": "3.52.0",
|
|
51
51
|
"tslib": "^2.3.0"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
54
|
+
"@aws-sdk/service-client-documentation-generator": "3.52.0",
|
|
55
55
|
"@tsconfig/recommended": "1.0.1",
|
|
56
56
|
"@types/node": "^12.7.5",
|
|
57
57
|
"concurrently": "7.0.0",
|