@aws-sdk/client-workmailmessageflow 3.986.0 → 3.988.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
@@ -15,6 +15,9 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
15
15
  var runtimeConfig = require('./runtimeConfig');
16
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
17
17
  var protocolHttp = require('@smithy/protocol-http');
18
+ var schemas_0 = require('./schemas/schemas_0');
19
+ var errors = require('./models/errors');
20
+ var WorkMailMessageFlowServiceException = require('./models/WorkMailMessageFlowServiceException');
18
21
 
19
22
  const resolveClientEndpointParameters = (options) => {
20
23
  return Object.assign(options, {
@@ -110,154 +113,6 @@ class WorkMailMessageFlowClient extends smithyClient.Client {
110
113
  }
111
114
  }
112
115
 
113
- class WorkMailMessageFlowServiceException extends smithyClient.ServiceException {
114
- constructor(options) {
115
- super(options);
116
- Object.setPrototypeOf(this, WorkMailMessageFlowServiceException.prototype);
117
- }
118
- }
119
-
120
- class ResourceNotFoundException extends WorkMailMessageFlowServiceException {
121
- name = "ResourceNotFoundException";
122
- $fault = "client";
123
- constructor(opts) {
124
- super({
125
- name: "ResourceNotFoundException",
126
- $fault: "client",
127
- ...opts,
128
- });
129
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
130
- }
131
- }
132
- class InvalidContentLocation extends WorkMailMessageFlowServiceException {
133
- name = "InvalidContentLocation";
134
- $fault = "client";
135
- constructor(opts) {
136
- super({
137
- name: "InvalidContentLocation",
138
- $fault: "client",
139
- ...opts,
140
- });
141
- Object.setPrototypeOf(this, InvalidContentLocation.prototype);
142
- }
143
- }
144
- class MessageFrozen extends WorkMailMessageFlowServiceException {
145
- name = "MessageFrozen";
146
- $fault = "client";
147
- constructor(opts) {
148
- super({
149
- name: "MessageFrozen",
150
- $fault: "client",
151
- ...opts,
152
- });
153
- Object.setPrototypeOf(this, MessageFrozen.prototype);
154
- }
155
- }
156
- class MessageRejected extends WorkMailMessageFlowServiceException {
157
- name = "MessageRejected";
158
- $fault = "client";
159
- constructor(opts) {
160
- super({
161
- name: "MessageRejected",
162
- $fault: "client",
163
- ...opts,
164
- });
165
- Object.setPrototypeOf(this, MessageRejected.prototype);
166
- }
167
- }
168
-
169
- const _GRMC = "GetRawMessageContent";
170
- const _GRMCR = "GetRawMessageContentRequest";
171
- const _GRMCRe = "GetRawMessageContentResponse";
172
- const _ICL = "InvalidContentLocation";
173
- const _MF = "MessageFrozen";
174
- const _MR = "MessageRejected";
175
- const _PRMC = "PutRawMessageContent";
176
- const _PRMCR = "PutRawMessageContentRequest";
177
- const _PRMCRu = "PutRawMessageContentResponse";
178
- const _RMC = "RawMessageContent";
179
- const _RNFE = "ResourceNotFoundException";
180
- const _SR = "S3Reference";
181
- const _b = "bucket";
182
- const _c = "client";
183
- const _co = "content";
184
- const _e = "error";
185
- const _h = "http";
186
- const _hE = "httpError";
187
- const _k = "key";
188
- const _m = "message";
189
- const _mC = "messageContent";
190
- const _mCB = "messageContentBlob";
191
- const _mI = "messageId";
192
- const _oV = "objectVersion";
193
- const _s = "streaming";
194
- const _sR = "s3Reference";
195
- const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.workmailmessageflow";
196
- const n0 = "com.amazonaws.workmailmessageflow";
197
- var messageContentBlob = [0, n0, _mCB, { [_s]: 1 }, 42];
198
- var GetRawMessageContentRequest$ = [3, n0, _GRMCR,
199
- 0,
200
- [_mI],
201
- [[0, 1]], 1
202
- ];
203
- var GetRawMessageContentResponse$ = [3, n0, _GRMCRe,
204
- 0,
205
- [_mC],
206
- [[() => messageContentBlob, 16]], 1
207
- ];
208
- var InvalidContentLocation$ = [-3, n0, _ICL,
209
- { [_e]: _c },
210
- [_m],
211
- [0]
212
- ];
213
- schema.TypeRegistry.for(n0).registerError(InvalidContentLocation$, InvalidContentLocation);
214
- var MessageFrozen$ = [-3, n0, _MF,
215
- { [_e]: _c },
216
- [_m],
217
- [0]
218
- ];
219
- schema.TypeRegistry.for(n0).registerError(MessageFrozen$, MessageFrozen);
220
- var MessageRejected$ = [-3, n0, _MR,
221
- { [_e]: _c },
222
- [_m],
223
- [0]
224
- ];
225
- schema.TypeRegistry.for(n0).registerError(MessageRejected$, MessageRejected);
226
- var PutRawMessageContentRequest$ = [3, n0, _PRMCR,
227
- 0,
228
- [_mI, _co],
229
- [[0, 1], () => RawMessageContent$], 2
230
- ];
231
- var PutRawMessageContentResponse$ = [3, n0, _PRMCRu,
232
- 0,
233
- [],
234
- []
235
- ];
236
- var RawMessageContent$ = [3, n0, _RMC,
237
- 0,
238
- [_sR],
239
- [() => S3Reference$], 1
240
- ];
241
- var ResourceNotFoundException$ = [-3, n0, _RNFE,
242
- { [_e]: _c, [_hE]: 404 },
243
- [_m],
244
- [0]
245
- ];
246
- schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
247
- var S3Reference$ = [3, n0, _SR,
248
- 0,
249
- [_b, _k, _oV],
250
- [0, 0, 0], 2
251
- ];
252
- var WorkMailMessageFlowServiceException$ = [-3, _sm, "WorkMailMessageFlowServiceException", 0, [], []];
253
- schema.TypeRegistry.for(_sm).registerError(WorkMailMessageFlowServiceException$, WorkMailMessageFlowServiceException);
254
- var GetRawMessageContent$ = [9, n0, _GRMC,
255
- { [_h]: ["GET", "/messages/{messageId}", 200] }, () => GetRawMessageContentRequest$, () => GetRawMessageContentResponse$
256
- ];
257
- var PutRawMessageContent$ = [9, n0, _PRMC,
258
- { [_h]: ["POST", "/messages/{messageId}", 200] }, () => PutRawMessageContentRequest$, () => PutRawMessageContentResponse$
259
- ];
260
-
261
116
  class GetRawMessageContentCommand extends smithyClient.Command
262
117
  .classBuilder()
263
118
  .ep(commonParams)
@@ -266,7 +121,7 @@ class GetRawMessageContentCommand extends smithyClient.Command
266
121
  })
267
122
  .s("GiraffeMessageInTransitService", "GetRawMessageContent", {})
268
123
  .n("WorkMailMessageFlowClient", "GetRawMessageContentCommand")
269
- .sc(GetRawMessageContent$)
124
+ .sc(schemas_0.GetRawMessageContent$)
270
125
  .build() {
271
126
  }
272
127
 
@@ -278,7 +133,7 @@ class PutRawMessageContentCommand extends smithyClient.Command
278
133
  })
279
134
  .s("GiraffeMessageInTransitService", "PutRawMessageContent", {})
280
135
  .n("WorkMailMessageFlowClient", "PutRawMessageContentCommand")
281
- .sc(PutRawMessageContent$)
136
+ .sc(schemas_0.PutRawMessageContent$)
282
137
  .build() {
283
138
  }
284
139
 
@@ -298,25 +153,23 @@ Object.defineProperty(exports, "__Client", {
298
153
  enumerable: true,
299
154
  get: function () { return smithyClient.Client; }
300
155
  });
301
- exports.GetRawMessageContent$ = GetRawMessageContent$;
156
+ Object.defineProperty(exports, "WorkMailMessageFlowServiceException", {
157
+ enumerable: true,
158
+ get: function () { return WorkMailMessageFlowServiceException.WorkMailMessageFlowServiceException; }
159
+ });
302
160
  exports.GetRawMessageContentCommand = GetRawMessageContentCommand;
303
- exports.GetRawMessageContentRequest$ = GetRawMessageContentRequest$;
304
- exports.GetRawMessageContentResponse$ = GetRawMessageContentResponse$;
305
- exports.InvalidContentLocation = InvalidContentLocation;
306
- exports.InvalidContentLocation$ = InvalidContentLocation$;
307
- exports.MessageFrozen = MessageFrozen;
308
- exports.MessageFrozen$ = MessageFrozen$;
309
- exports.MessageRejected = MessageRejected;
310
- exports.MessageRejected$ = MessageRejected$;
311
- exports.PutRawMessageContent$ = PutRawMessageContent$;
312
161
  exports.PutRawMessageContentCommand = PutRawMessageContentCommand;
313
- exports.PutRawMessageContentRequest$ = PutRawMessageContentRequest$;
314
- exports.PutRawMessageContentResponse$ = PutRawMessageContentResponse$;
315
- exports.RawMessageContent$ = RawMessageContent$;
316
- exports.ResourceNotFoundException = ResourceNotFoundException;
317
- exports.ResourceNotFoundException$ = ResourceNotFoundException$;
318
- exports.S3Reference$ = S3Reference$;
319
162
  exports.WorkMailMessageFlow = WorkMailMessageFlow;
320
163
  exports.WorkMailMessageFlowClient = WorkMailMessageFlowClient;
321
- exports.WorkMailMessageFlowServiceException = WorkMailMessageFlowServiceException;
322
- exports.WorkMailMessageFlowServiceException$ = WorkMailMessageFlowServiceException$;
164
+ Object.keys(schemas_0).forEach(function (k) {
165
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
166
+ enumerable: true,
167
+ get: function () { return schemas_0[k]; }
168
+ });
169
+ });
170
+ Object.keys(errors).forEach(function (k) {
171
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
172
+ enumerable: true,
173
+ get: function () { return errors[k]; }
174
+ });
175
+ });
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.WorkMailMessageFlowServiceException = exports.__ServiceException = void 0;
4
+ const smithy_client_1 = require("@smithy/smithy-client");
5
+ Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
+ class WorkMailMessageFlowServiceException extends smithy_client_1.ServiceException {
7
+ constructor(options) {
8
+ super(options);
9
+ Object.setPrototypeOf(this, WorkMailMessageFlowServiceException.prototype);
10
+ }
11
+ }
12
+ exports.WorkMailMessageFlowServiceException = WorkMailMessageFlowServiceException;
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MessageRejected = exports.MessageFrozen = exports.InvalidContentLocation = exports.ResourceNotFoundException = void 0;
4
+ const WorkMailMessageFlowServiceException_1 = require("./WorkMailMessageFlowServiceException");
5
+ class ResourceNotFoundException extends WorkMailMessageFlowServiceException_1.WorkMailMessageFlowServiceException {
6
+ name = "ResourceNotFoundException";
7
+ $fault = "client";
8
+ constructor(opts) {
9
+ super({
10
+ name: "ResourceNotFoundException",
11
+ $fault: "client",
12
+ ...opts,
13
+ });
14
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
15
+ }
16
+ }
17
+ exports.ResourceNotFoundException = ResourceNotFoundException;
18
+ class InvalidContentLocation extends WorkMailMessageFlowServiceException_1.WorkMailMessageFlowServiceException {
19
+ name = "InvalidContentLocation";
20
+ $fault = "client";
21
+ constructor(opts) {
22
+ super({
23
+ name: "InvalidContentLocation",
24
+ $fault: "client",
25
+ ...opts,
26
+ });
27
+ Object.setPrototypeOf(this, InvalidContentLocation.prototype);
28
+ }
29
+ }
30
+ exports.InvalidContentLocation = InvalidContentLocation;
31
+ class MessageFrozen extends WorkMailMessageFlowServiceException_1.WorkMailMessageFlowServiceException {
32
+ name = "MessageFrozen";
33
+ $fault = "client";
34
+ constructor(opts) {
35
+ super({
36
+ name: "MessageFrozen",
37
+ $fault: "client",
38
+ ...opts,
39
+ });
40
+ Object.setPrototypeOf(this, MessageFrozen.prototype);
41
+ }
42
+ }
43
+ exports.MessageFrozen = MessageFrozen;
44
+ class MessageRejected extends WorkMailMessageFlowServiceException_1.WorkMailMessageFlowServiceException {
45
+ name = "MessageRejected";
46
+ $fault = "client";
47
+ constructor(opts) {
48
+ super({
49
+ name: "MessageRejected",
50
+ $fault: "client",
51
+ ...opts,
52
+ });
53
+ Object.setPrototypeOf(this, MessageRejected.prototype);
54
+ }
55
+ }
56
+ exports.MessageRejected = MessageRejected;
@@ -10,6 +10,7 @@ const util_stream_1 = require("@smithy/util-stream");
10
10
  const util_utf8_1 = require("@smithy/util-utf8");
11
11
  const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
12
12
  const endpointResolver_1 = require("./endpoint/endpointResolver");
13
+ const schemas_0_1 = require("./schemas/schemas_0");
13
14
  const getRuntimeConfig = (config) => {
14
15
  return {
15
16
  apiVersion: "2019-05-01",
@@ -30,6 +31,7 @@ const getRuntimeConfig = (config) => {
30
31
  protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
31
32
  protocolSettings: config?.protocolSettings ?? {
32
33
  defaultNamespace: "com.amazonaws.workmailmessageflow",
34
+ errorTypeRegistries: schemas_0_1.errorTypeRegistries,
33
35
  version: "2019-05-01",
34
36
  serviceTarget: "GiraffeMessageInTransitService",
35
37
  },
@@ -0,0 +1,103 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PutRawMessageContent$ = exports.GetRawMessageContent$ = exports.S3Reference$ = exports.RawMessageContent$ = exports.PutRawMessageContentResponse$ = exports.PutRawMessageContentRequest$ = exports.GetRawMessageContentResponse$ = exports.GetRawMessageContentRequest$ = exports.errorTypeRegistries = exports.ResourceNotFoundException$ = exports.MessageRejected$ = exports.MessageFrozen$ = exports.InvalidContentLocation$ = exports.WorkMailMessageFlowServiceException$ = void 0;
4
+ const _GRMC = "GetRawMessageContent";
5
+ const _GRMCR = "GetRawMessageContentRequest";
6
+ const _GRMCRe = "GetRawMessageContentResponse";
7
+ const _ICL = "InvalidContentLocation";
8
+ const _MF = "MessageFrozen";
9
+ const _MR = "MessageRejected";
10
+ const _PRMC = "PutRawMessageContent";
11
+ const _PRMCR = "PutRawMessageContentRequest";
12
+ const _PRMCRu = "PutRawMessageContentResponse";
13
+ const _RMC = "RawMessageContent";
14
+ const _RNFE = "ResourceNotFoundException";
15
+ const _SR = "S3Reference";
16
+ const _b = "bucket";
17
+ const _c = "client";
18
+ const _co = "content";
19
+ const _e = "error";
20
+ const _h = "http";
21
+ const _hE = "httpError";
22
+ const _k = "key";
23
+ const _m = "message";
24
+ const _mC = "messageContent";
25
+ const _mCB = "messageContentBlob";
26
+ const _mI = "messageId";
27
+ const _oV = "objectVersion";
28
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.workmailmessageflow";
29
+ const _sR = "s3Reference";
30
+ const _st = "streaming";
31
+ const n0 = "com.amazonaws.workmailmessageflow";
32
+ const schema_1 = require("@smithy/core/schema");
33
+ const errors_1 = require("../models/errors");
34
+ const WorkMailMessageFlowServiceException_1 = require("../models/WorkMailMessageFlowServiceException");
35
+ const _s_registry = schema_1.TypeRegistry.for(_s);
36
+ exports.WorkMailMessageFlowServiceException$ = [-3, _s, "WorkMailMessageFlowServiceException", 0, [], []];
37
+ _s_registry.registerError(exports.WorkMailMessageFlowServiceException$, WorkMailMessageFlowServiceException_1.WorkMailMessageFlowServiceException);
38
+ const n0_registry = schema_1.TypeRegistry.for(n0);
39
+ exports.InvalidContentLocation$ = [-3, n0, _ICL,
40
+ { [_e]: _c },
41
+ [_m],
42
+ [0]
43
+ ];
44
+ n0_registry.registerError(exports.InvalidContentLocation$, errors_1.InvalidContentLocation);
45
+ exports.MessageFrozen$ = [-3, n0, _MF,
46
+ { [_e]: _c },
47
+ [_m],
48
+ [0]
49
+ ];
50
+ n0_registry.registerError(exports.MessageFrozen$, errors_1.MessageFrozen);
51
+ exports.MessageRejected$ = [-3, n0, _MR,
52
+ { [_e]: _c },
53
+ [_m],
54
+ [0]
55
+ ];
56
+ n0_registry.registerError(exports.MessageRejected$, errors_1.MessageRejected);
57
+ exports.ResourceNotFoundException$ = [-3, n0, _RNFE,
58
+ { [_e]: _c, [_hE]: 404 },
59
+ [_m],
60
+ [0]
61
+ ];
62
+ n0_registry.registerError(exports.ResourceNotFoundException$, errors_1.ResourceNotFoundException);
63
+ exports.errorTypeRegistries = [
64
+ _s_registry,
65
+ n0_registry,
66
+ ];
67
+ var messageContentBlob = [0, n0, _mCB, { [_st]: 1 }, 42];
68
+ exports.GetRawMessageContentRequest$ = [3, n0, _GRMCR,
69
+ 0,
70
+ [_mI],
71
+ [[0, 1]], 1
72
+ ];
73
+ exports.GetRawMessageContentResponse$ = [3, n0, _GRMCRe,
74
+ 0,
75
+ [_mC],
76
+ [[() => messageContentBlob, 16]], 1
77
+ ];
78
+ exports.PutRawMessageContentRequest$ = [3, n0, _PRMCR,
79
+ 0,
80
+ [_mI, _co],
81
+ [[0, 1], () => exports.RawMessageContent$], 2
82
+ ];
83
+ exports.PutRawMessageContentResponse$ = [3, n0, _PRMCRu,
84
+ 0,
85
+ [],
86
+ []
87
+ ];
88
+ exports.RawMessageContent$ = [3, n0, _RMC,
89
+ 0,
90
+ [_sR],
91
+ [() => exports.S3Reference$], 1
92
+ ];
93
+ exports.S3Reference$ = [3, n0, _SR,
94
+ 0,
95
+ [_b, _k, _oV],
96
+ [0, 0, 0], 2
97
+ ];
98
+ exports.GetRawMessageContent$ = [9, n0, _GRMC,
99
+ { [_h]: ["GET", "/messages/{messageId}", 200] }, () => exports.GetRawMessageContentRequest$, () => exports.GetRawMessageContentResponse$
100
+ ];
101
+ exports.PutRawMessageContent$ = [9, n0, _PRMC,
102
+ { [_h]: ["POST", "/messages/{messageId}", 200] }, () => exports.PutRawMessageContentRequest$, () => exports.PutRawMessageContentResponse$
103
+ ];
@@ -7,6 +7,7 @@ import { sdkStreamMixin } from "@smithy/util-stream";
7
7
  import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
8
8
  import { defaultWorkMailMessageFlowHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
9
9
  import { defaultEndpointResolver } from "./endpoint/endpointResolver";
10
+ import { errorTypeRegistries } from "./schemas/schemas_0";
10
11
  export const getRuntimeConfig = (config) => {
11
12
  return {
12
13
  apiVersion: "2019-05-01",
@@ -27,6 +28,7 @@ export const getRuntimeConfig = (config) => {
27
28
  protocol: config?.protocol ?? AwsRestJsonProtocol,
28
29
  protocolSettings: config?.protocolSettings ?? {
29
30
  defaultNamespace: "com.amazonaws.workmailmessageflow",
31
+ errorTypeRegistries,
30
32
  version: "2019-05-01",
31
33
  serviceTarget: "GiraffeMessageInTransitService",
32
34
  },
@@ -22,42 +22,56 @@ const _mC = "messageContent";
22
22
  const _mCB = "messageContentBlob";
23
23
  const _mI = "messageId";
24
24
  const _oV = "objectVersion";
25
- const _s = "streaming";
25
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.workmailmessageflow";
26
26
  const _sR = "s3Reference";
27
- const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.workmailmessageflow";
27
+ const _st = "streaming";
28
28
  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
- var messageContentBlob = [0, n0, _mCB, { [_s]: 1 }, 42];
33
- export var GetRawMessageContentRequest$ = [3, n0, _GRMCR,
34
- 0,
35
- [_mI],
36
- [[0, 1]], 1
37
- ];
38
- export var GetRawMessageContentResponse$ = [3, n0, _GRMCRe,
39
- 0,
40
- [_mC],
41
- [[() => messageContentBlob, 16]], 1
42
- ];
32
+ const _s_registry = TypeRegistry.for(_s);
33
+ export var WorkMailMessageFlowServiceException$ = [-3, _s, "WorkMailMessageFlowServiceException", 0, [], []];
34
+ _s_registry.registerError(WorkMailMessageFlowServiceException$, WorkMailMessageFlowServiceException);
35
+ const n0_registry = TypeRegistry.for(n0);
43
36
  export var InvalidContentLocation$ = [-3, n0, _ICL,
44
37
  { [_e]: _c },
45
38
  [_m],
46
39
  [0]
47
40
  ];
48
- TypeRegistry.for(n0).registerError(InvalidContentLocation$, InvalidContentLocation);
41
+ n0_registry.registerError(InvalidContentLocation$, InvalidContentLocation);
49
42
  export var MessageFrozen$ = [-3, n0, _MF,
50
43
  { [_e]: _c },
51
44
  [_m],
52
45
  [0]
53
46
  ];
54
- TypeRegistry.for(n0).registerError(MessageFrozen$, MessageFrozen);
47
+ n0_registry.registerError(MessageFrozen$, MessageFrozen);
55
48
  export var MessageRejected$ = [-3, n0, _MR,
56
49
  { [_e]: _c },
57
50
  [_m],
58
51
  [0]
59
52
  ];
60
- TypeRegistry.for(n0).registerError(MessageRejected$, MessageRejected);
53
+ n0_registry.registerError(MessageRejected$, MessageRejected);
54
+ export var ResourceNotFoundException$ = [-3, n0, _RNFE,
55
+ { [_e]: _c, [_hE]: 404 },
56
+ [_m],
57
+ [0]
58
+ ];
59
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
60
+ export const errorTypeRegistries = [
61
+ _s_registry,
62
+ n0_registry,
63
+ ];
64
+ var messageContentBlob = [0, n0, _mCB, { [_st]: 1 }, 42];
65
+ export var GetRawMessageContentRequest$ = [3, n0, _GRMCR,
66
+ 0,
67
+ [_mI],
68
+ [[0, 1]], 1
69
+ ];
70
+ export var GetRawMessageContentResponse$ = [3, n0, _GRMCRe,
71
+ 0,
72
+ [_mC],
73
+ [[() => messageContentBlob, 16]], 1
74
+ ];
61
75
  export var PutRawMessageContentRequest$ = [3, n0, _PRMCR,
62
76
  0,
63
77
  [_mI, _co],
@@ -73,19 +87,11 @@ export var RawMessageContent$ = [3, n0, _RMC,
73
87
  [_sR],
74
88
  [() => S3Reference$], 1
75
89
  ];
76
- export var ResourceNotFoundException$ = [-3, n0, _RNFE,
77
- { [_e]: _c, [_hE]: 404 },
78
- [_m],
79
- [0]
80
- ];
81
- TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
82
90
  export var S3Reference$ = [3, n0, _SR,
83
91
  0,
84
92
  [_b, _k, _oV],
85
93
  [0, 0, 0], 2
86
94
  ];
87
- export var WorkMailMessageFlowServiceException$ = [-3, _sm, "WorkMailMessageFlowServiceException", 0, [], []];
88
- TypeRegistry.for(_sm).registerError(WorkMailMessageFlowServiceException$, WorkMailMessageFlowServiceException);
89
95
  export var GetRawMessageContent$ = [9, n0, _GRMC,
90
96
  { [_h]: ["GET", "/messages/{messageId}", 200] }, () => GetRawMessageContentRequest$, () => GetRawMessageContentResponse$
91
97
  ];
@@ -1,14 +1,21 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
2
- export declare var GetRawMessageContentRequest$: StaticStructureSchema;
3
- export declare var GetRawMessageContentResponse$: StaticStructureSchema;
3
+ export declare var WorkMailMessageFlowServiceException$: StaticErrorSchema;
4
4
  export declare var InvalidContentLocation$: StaticErrorSchema;
5
5
  export declare var MessageFrozen$: StaticErrorSchema;
6
6
  export declare var MessageRejected$: StaticErrorSchema;
7
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
8
+ /**
9
+ * TypeRegistry instances containing modeled errors.
10
+ * @internal
11
+ *
12
+ */
13
+ export declare const errorTypeRegistries: TypeRegistry[];
14
+ export declare var GetRawMessageContentRequest$: StaticStructureSchema;
15
+ export declare var GetRawMessageContentResponse$: StaticStructureSchema;
7
16
  export declare var PutRawMessageContentRequest$: StaticStructureSchema;
8
17
  export declare var PutRawMessageContentResponse$: StaticStructureSchema;
9
18
  export declare var RawMessageContent$: StaticStructureSchema;
10
- export declare var ResourceNotFoundException$: StaticErrorSchema;
11
19
  export declare var S3Reference$: StaticStructureSchema;
12
- export declare var WorkMailMessageFlowServiceException$: StaticErrorSchema;
13
20
  export declare var GetRawMessageContent$: StaticOperationSchema;
14
21
  export declare var PutRawMessageContent$: StaticOperationSchema;
@@ -1,18 +1,20 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import {
2
3
  StaticErrorSchema,
3
4
  StaticOperationSchema,
4
5
  StaticStructureSchema,
5
6
  } from "@smithy/types";
6
- export declare var GetRawMessageContentRequest$: StaticStructureSchema;
7
- export declare var GetRawMessageContentResponse$: StaticStructureSchema;
7
+ export declare var WorkMailMessageFlowServiceException$: StaticErrorSchema;
8
8
  export declare var InvalidContentLocation$: StaticErrorSchema;
9
9
  export declare var MessageFrozen$: StaticErrorSchema;
10
10
  export declare var MessageRejected$: StaticErrorSchema;
11
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
12
+ export declare const errorTypeRegistries: TypeRegistry[];
13
+ export declare var GetRawMessageContentRequest$: StaticStructureSchema;
14
+ export declare var GetRawMessageContentResponse$: StaticStructureSchema;
11
15
  export declare var PutRawMessageContentRequest$: StaticStructureSchema;
12
16
  export declare var PutRawMessageContentResponse$: StaticStructureSchema;
13
17
  export declare var RawMessageContent$: StaticStructureSchema;
14
- export declare var ResourceNotFoundException$: StaticErrorSchema;
15
18
  export declare var S3Reference$: StaticStructureSchema;
16
- export declare var WorkMailMessageFlowServiceException$: StaticErrorSchema;
17
19
  export declare var GetRawMessageContent$: StaticOperationSchema;
18
20
  export declare var PutRawMessageContent$: StaticOperationSchema;
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.986.0",
4
+ "version": "3.988.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-workmailmessageflow",
@@ -21,42 +21,42 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.973.7",
25
- "@aws-sdk/credential-provider-node": "^3.972.6",
24
+ "@aws-sdk/core": "^3.973.8",
25
+ "@aws-sdk/credential-provider-node": "^3.972.7",
26
26
  "@aws-sdk/middleware-host-header": "^3.972.3",
27
27
  "@aws-sdk/middleware-logger": "^3.972.3",
28
28
  "@aws-sdk/middleware-recursion-detection": "^3.972.3",
29
- "@aws-sdk/middleware-user-agent": "^3.972.7",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.8",
30
30
  "@aws-sdk/region-config-resolver": "^3.972.3",
31
31
  "@aws-sdk/types": "^3.973.1",
32
- "@aws-sdk/util-endpoints": "3.986.0",
32
+ "@aws-sdk/util-endpoints": "3.988.0",
33
33
  "@aws-sdk/util-user-agent-browser": "^3.972.3",
34
- "@aws-sdk/util-user-agent-node": "^3.972.5",
34
+ "@aws-sdk/util-user-agent-node": "^3.972.6",
35
35
  "@smithy/config-resolver": "^4.4.6",
36
- "@smithy/core": "^3.22.1",
36
+ "@smithy/core": "^3.23.0",
37
37
  "@smithy/fetch-http-handler": "^5.3.9",
38
38
  "@smithy/hash-node": "^4.2.8",
39
39
  "@smithy/invalid-dependency": "^4.2.8",
40
40
  "@smithy/middleware-content-length": "^4.2.8",
41
- "@smithy/middleware-endpoint": "^4.4.13",
42
- "@smithy/middleware-retry": "^4.4.30",
41
+ "@smithy/middleware-endpoint": "^4.4.14",
42
+ "@smithy/middleware-retry": "^4.4.31",
43
43
  "@smithy/middleware-serde": "^4.2.9",
44
44
  "@smithy/middleware-stack": "^4.2.8",
45
45
  "@smithy/node-config-provider": "^4.3.8",
46
- "@smithy/node-http-handler": "^4.4.9",
46
+ "@smithy/node-http-handler": "^4.4.10",
47
47
  "@smithy/protocol-http": "^5.3.8",
48
- "@smithy/smithy-client": "^4.11.2",
48
+ "@smithy/smithy-client": "^4.11.3",
49
49
  "@smithy/types": "^4.12.0",
50
50
  "@smithy/url-parser": "^4.2.8",
51
51
  "@smithy/util-base64": "^4.3.0",
52
52
  "@smithy/util-body-length-browser": "^4.2.0",
53
53
  "@smithy/util-body-length-node": "^4.2.1",
54
- "@smithy/util-defaults-mode-browser": "^4.3.29",
55
- "@smithy/util-defaults-mode-node": "^4.2.32",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.30",
55
+ "@smithy/util-defaults-mode-node": "^4.2.33",
56
56
  "@smithy/util-endpoints": "^3.2.8",
57
57
  "@smithy/util-middleware": "^4.2.8",
58
58
  "@smithy/util-retry": "^4.2.8",
59
- "@smithy/util-stream": "^4.5.11",
59
+ "@smithy/util-stream": "^4.5.12",
60
60
  "@smithy/util-utf8": "^4.2.0",
61
61
  "tslib": "^2.6.2"
62
62
  },