1 | import {Request} from '../lib/request';
|
2 | import {Response} from '../lib/response';
|
3 | import {AWSError} from '../lib/error';
|
4 | import {Service} from '../lib/service';
|
5 | import {ServiceConfigurationOptions} from '../lib/service';
|
6 | import {ConfigBase as Config} from '../lib/config';
|
7 | import {Readable} from 'stream';
|
8 | interface Blob {}
|
9 | declare class WorkMailMessageFlow extends Service {
|
10 | |
11 |
|
12 |
|
13 | constructor(options?: WorkMailMessageFlow.Types.ClientConfiguration)
|
14 | config: Config & WorkMailMessageFlow.Types.ClientConfiguration;
|
15 | /**
|
16 | * Retrieves the raw content of an in-transit email message, in MIME format.
|
17 | */
|
18 | getRawMessageContent(params: WorkMailMessageFlow.Types.GetRawMessageContentRequest, callback?: (err: AWSError, data: WorkMailMessageFlow.Types.GetRawMessageContentResponse) => void): Request<WorkMailMessageFlow.Types.GetRawMessageContentResponse, AWSError>;
|
19 | /**
|
20 | * Retrieves the raw content of an in-transit email message, in MIME format.
|
21 | */
|
22 | getRawMessageContent(callback?: (err: AWSError, data: WorkMailMessageFlow.Types.GetRawMessageContentResponse) => void): Request<WorkMailMessageFlow.Types.GetRawMessageContentResponse, AWSError>;
|
23 | }
|
24 | declare namespace WorkMailMessageFlow {
|
25 | export interface GetRawMessageContentRequest {
|
26 | |
27 |
|
28 |
|
29 | messageId: messageIdType;
|
30 | }
|
31 | export interface GetRawMessageContentResponse {
|
32 | |
33 |
|
34 |
|
35 | messageContent: messageContentBlob;
|
36 | }
|
37 | export type messageContentBlob = Buffer|Uint8Array|Blob|string|Readable;
|
38 | export type messageIdType = string;
|
39 | |
40 |
|
41 |
|
42 | export type apiVersion = "2019-05-01"|"latest"|string;
|
43 | export interface ClientApiVersions {
|
44 | |
45 |
|
46 |
|
47 | apiVersion?: apiVersion;
|
48 | }
|
49 | export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
|
50 | |
51 |
|
52 |
|
53 | export import Types = WorkMailMessageFlow;
|
54 | }
|
55 | export = WorkMailMessageFlow;
|