@aws-sdk/client-workmailmessageflow 3.1087.0 → 3.1089.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 +1 -1
- package/dist-types/ts3.4/WorkMailMessageFlow.d.ts +6 -6
- package/dist-types/ts3.4/WorkMailMessageFlowClient.d.ts +6 -18
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -10
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +11 -15
- package/dist-types/ts3.4/commandBuilder.d.ts +7 -13
- package/dist-types/ts3.4/commands/GetRawMessageContentCommand.d.ts +7 -13
- package/dist-types/ts3.4/commands/PutRawMessageContentCommand.d.ts +5 -10
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
- package/dist-types/ts3.4/models/errors.d.ts +2 -6
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +10 -25
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -19
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +10 -25
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -4
- package/dist-types/ts3.4/runtimeExtensions.d.ts +2 -4
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -5
- package/package.json +38 -38
package/dist-cjs/index.js
CHANGED
|
@@ -11,29 +11,29 @@ import { WorkMailMessageFlowClient } from "./WorkMailMessageFlowClient";
|
|
|
11
11
|
export interface WorkMailMessageFlow {
|
|
12
12
|
getRawMessageContent(
|
|
13
13
|
args: GetRawMessageContentCommandInput,
|
|
14
|
-
options?: __HttpHandlerOptions
|
|
14
|
+
options?: __HttpHandlerOptions,
|
|
15
15
|
): Promise<GetRawMessageContentCommandOutput>;
|
|
16
16
|
getRawMessageContent(
|
|
17
17
|
args: GetRawMessageContentCommandInput,
|
|
18
|
-
cb: (err: any, data?: GetRawMessageContentCommandOutput) => void
|
|
18
|
+
cb: (err: any, data?: GetRawMessageContentCommandOutput) => void,
|
|
19
19
|
): void;
|
|
20
20
|
getRawMessageContent(
|
|
21
21
|
args: GetRawMessageContentCommandInput,
|
|
22
22
|
options: __HttpHandlerOptions,
|
|
23
|
-
cb: (err: any, data?: GetRawMessageContentCommandOutput) => void
|
|
23
|
+
cb: (err: any, data?: GetRawMessageContentCommandOutput) => void,
|
|
24
24
|
): void;
|
|
25
25
|
putRawMessageContent(
|
|
26
26
|
args: PutRawMessageContentCommandInput,
|
|
27
|
-
options?: __HttpHandlerOptions
|
|
27
|
+
options?: __HttpHandlerOptions,
|
|
28
28
|
): Promise<PutRawMessageContentCommandOutput>;
|
|
29
29
|
putRawMessageContent(
|
|
30
30
|
args: PutRawMessageContentCommandInput,
|
|
31
|
-
cb: (err: any, data?: PutRawMessageContentCommandOutput) => void
|
|
31
|
+
cb: (err: any, data?: PutRawMessageContentCommandOutput) => void,
|
|
32
32
|
): void;
|
|
33
33
|
putRawMessageContent(
|
|
34
34
|
args: PutRawMessageContentCommandInput,
|
|
35
35
|
options: __HttpHandlerOptions,
|
|
36
|
-
cb: (err: any, data?: PutRawMessageContentCommandOutput) => void
|
|
36
|
+
cb: (err: any, data?: PutRawMessageContentCommandOutput) => void,
|
|
37
37
|
): void;
|
|
38
38
|
}
|
|
39
39
|
export declare class WorkMailMessageFlow
|
|
@@ -11,10 +11,7 @@ import {
|
|
|
11
11
|
Client as __Client,
|
|
12
12
|
} from "@smithy/core/client";
|
|
13
13
|
import { RegionInputConfig, RegionResolvedConfig } from "@smithy/core/config";
|
|
14
|
-
import {
|
|
15
|
-
EndpointInputConfig,
|
|
16
|
-
EndpointResolvedConfig,
|
|
17
|
-
} from "@smithy/core/endpoints";
|
|
14
|
+
import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/core/endpoints";
|
|
18
15
|
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
|
|
19
16
|
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/core/retry";
|
|
20
17
|
import {
|
|
@@ -52,14 +49,11 @@ import {
|
|
|
52
49
|
} from "./endpoint/EndpointParameters";
|
|
53
50
|
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
54
51
|
export { __Client };
|
|
55
|
-
export type ServiceInputTypes =
|
|
56
|
-
| GetRawMessageContentCommandInput
|
|
57
|
-
| PutRawMessageContentCommandInput;
|
|
52
|
+
export type ServiceInputTypes = GetRawMessageContentCommandInput | PutRawMessageContentCommandInput;
|
|
58
53
|
export type ServiceOutputTypes =
|
|
59
54
|
| GetRawMessageContentCommandOutput
|
|
60
55
|
| PutRawMessageContentCommandOutput;
|
|
61
|
-
export interface ClientDefaults
|
|
62
|
-
extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
56
|
+
export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
63
57
|
requestHandler?: __HttpHandlerUserInput;
|
|
64
58
|
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
65
59
|
urlParser?: __UrlParser;
|
|
@@ -96,8 +90,7 @@ export type WorkMailMessageFlowClientConfigType = Partial<
|
|
|
96
90
|
EndpointInputConfig<EndpointParameters> &
|
|
97
91
|
HttpAuthSchemeInputConfig &
|
|
98
92
|
ClientInputEndpointParameters;
|
|
99
|
-
export interface WorkMailMessageFlowClientConfig
|
|
100
|
-
extends WorkMailMessageFlowClientConfigType {}
|
|
93
|
+
export interface WorkMailMessageFlowClientConfig extends WorkMailMessageFlowClientConfigType {}
|
|
101
94
|
export type WorkMailMessageFlowClientResolvedConfigType =
|
|
102
95
|
__SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
103
96
|
Required<ClientDefaults> &
|
|
@@ -109,8 +102,7 @@ export type WorkMailMessageFlowClientResolvedConfigType =
|
|
|
109
102
|
EndpointResolvedConfig<EndpointParameters> &
|
|
110
103
|
HttpAuthSchemeResolvedConfig &
|
|
111
104
|
ClientResolvedEndpointParameters;
|
|
112
|
-
export interface WorkMailMessageFlowClientResolvedConfig
|
|
113
|
-
extends WorkMailMessageFlowClientResolvedConfigType {}
|
|
105
|
+
export interface WorkMailMessageFlowClientResolvedConfig extends WorkMailMessageFlowClientResolvedConfigType {}
|
|
114
106
|
export declare class WorkMailMessageFlowClient extends __Client<
|
|
115
107
|
__HttpHandlerOptions,
|
|
116
108
|
ServiceInputTypes,
|
|
@@ -118,10 +110,6 @@ export declare class WorkMailMessageFlowClient extends __Client<
|
|
|
118
110
|
WorkMailMessageFlowClientResolvedConfig
|
|
119
111
|
> {
|
|
120
112
|
readonly config: WorkMailMessageFlowClientResolvedConfig;
|
|
121
|
-
constructor(
|
|
122
|
-
...[
|
|
123
|
-
configuration,
|
|
124
|
-
]: __CheckOptionalClientConfig<WorkMailMessageFlowClientConfig>
|
|
125
|
-
);
|
|
113
|
+
constructor(...[configuration]: __CheckOptionalClientConfig<WorkMailMessageFlowClientConfig>);
|
|
126
114
|
destroy(): void;
|
|
127
115
|
}
|
|
@@ -8,16 +8,11 @@ export interface HttpAuthExtensionConfiguration {
|
|
|
8
8
|
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
9
9
|
httpAuthSchemes(): HttpAuthScheme[];
|
|
10
10
|
setHttpAuthSchemeProvider(
|
|
11
|
-
httpAuthSchemeProvider: WorkMailMessageFlowHttpAuthSchemeProvider
|
|
11
|
+
httpAuthSchemeProvider: WorkMailMessageFlowHttpAuthSchemeProvider,
|
|
12
12
|
): void;
|
|
13
13
|
httpAuthSchemeProvider(): WorkMailMessageFlowHttpAuthSchemeProvider;
|
|
14
|
-
setCredentials(
|
|
15
|
-
|
|
16
|
-
): void;
|
|
17
|
-
credentials():
|
|
18
|
-
| AwsCredentialIdentity
|
|
19
|
-
| AwsCredentialIdentityProvider
|
|
20
|
-
| undefined;
|
|
14
|
+
setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
|
|
15
|
+
credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
|
|
21
16
|
}
|
|
22
17
|
export type HttpAuthRuntimeConfig = Partial<{
|
|
23
18
|
httpAuthSchemes: HttpAuthScheme[];
|
|
@@ -25,8 +20,8 @@ export type HttpAuthRuntimeConfig = Partial<{
|
|
|
25
20
|
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
|
26
21
|
}>;
|
|
27
22
|
export declare const getHttpAuthExtensionConfiguration: (
|
|
28
|
-
runtimeConfig: HttpAuthRuntimeConfig
|
|
23
|
+
runtimeConfig: HttpAuthRuntimeConfig,
|
|
29
24
|
) => HttpAuthExtensionConfiguration;
|
|
30
25
|
export declare const resolveHttpAuthRuntimeConfig: (
|
|
31
|
-
config: HttpAuthExtensionConfiguration
|
|
26
|
+
config: HttpAuthExtensionConfiguration,
|
|
32
27
|
) => HttpAuthRuntimeConfig;
|
|
@@ -12,36 +12,32 @@ import {
|
|
|
12
12
|
Provider,
|
|
13
13
|
} from "@smithy/types";
|
|
14
14
|
import { WorkMailMessageFlowClientResolvedConfig } from "../WorkMailMessageFlowClient";
|
|
15
|
-
export interface WorkMailMessageFlowHttpAuthSchemeParameters
|
|
16
|
-
extends HttpAuthSchemeParameters {
|
|
15
|
+
export interface WorkMailMessageFlowHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
|
|
17
16
|
region?: string;
|
|
18
17
|
}
|
|
19
|
-
export interface WorkMailMessageFlowHttpAuthSchemeParametersProvider
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
> {}
|
|
18
|
+
export interface WorkMailMessageFlowHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<
|
|
19
|
+
WorkMailMessageFlowClientResolvedConfig,
|
|
20
|
+
HandlerExecutionContext,
|
|
21
|
+
WorkMailMessageFlowHttpAuthSchemeParameters,
|
|
22
|
+
object
|
|
23
|
+
> {}
|
|
26
24
|
export declare const defaultWorkMailMessageFlowHttpAuthSchemeParametersProvider: (
|
|
27
25
|
config: WorkMailMessageFlowClientResolvedConfig,
|
|
28
26
|
context: HandlerExecutionContext,
|
|
29
|
-
input: object
|
|
27
|
+
input: object,
|
|
30
28
|
) => Promise<WorkMailMessageFlowHttpAuthSchemeParameters>;
|
|
31
|
-
export interface WorkMailMessageFlowHttpAuthSchemeProvider
|
|
32
|
-
extends HttpAuthSchemeProvider<WorkMailMessageFlowHttpAuthSchemeParameters> {}
|
|
29
|
+
export interface WorkMailMessageFlowHttpAuthSchemeProvider extends HttpAuthSchemeProvider<WorkMailMessageFlowHttpAuthSchemeParameters> {}
|
|
33
30
|
export declare const defaultWorkMailMessageFlowHttpAuthSchemeProvider: WorkMailMessageFlowHttpAuthSchemeProvider;
|
|
34
31
|
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
35
32
|
authSchemePreference?: string[] | Provider<string[]>;
|
|
36
33
|
httpAuthSchemes?: HttpAuthScheme[];
|
|
37
34
|
httpAuthSchemeProvider?: WorkMailMessageFlowHttpAuthSchemeProvider;
|
|
38
35
|
}
|
|
39
|
-
export interface HttpAuthSchemeResolvedConfig
|
|
40
|
-
extends AwsSdkSigV4AuthResolvedConfig {
|
|
36
|
+
export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
|
|
41
37
|
readonly authSchemePreference: Provider<string[]>;
|
|
42
38
|
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
43
39
|
readonly httpAuthSchemeProvider: WorkMailMessageFlowHttpAuthSchemeProvider;
|
|
44
40
|
}
|
|
45
41
|
export declare const resolveHttpAuthSchemeConfig: <T>(
|
|
46
|
-
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
|
|
42
|
+
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved,
|
|
47
43
|
) => T & HttpAuthSchemeResolvedConfig;
|
|
@@ -4,22 +4,21 @@ import {
|
|
|
4
4
|
ServiceOutputTypes,
|
|
5
5
|
WorkMailMessageFlowClientResolvedConfig,
|
|
6
6
|
} from "./WorkMailMessageFlowClient";
|
|
7
|
-
export declare const command: <
|
|
8
|
-
I extends ServiceInputTypes,
|
|
9
|
-
O extends ServiceOutputTypes
|
|
10
|
-
>(
|
|
7
|
+
export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(
|
|
11
8
|
added: EndpointParameterInstructions,
|
|
12
9
|
plugins: (
|
|
13
10
|
CommandCtor: any,
|
|
14
11
|
clientStack: any,
|
|
15
12
|
config: any,
|
|
16
|
-
options: any
|
|
13
|
+
options: any,
|
|
17
14
|
) => import("@smithy/types").Pluggable<any, any>[],
|
|
18
15
|
op: string,
|
|
19
16
|
$: import("@smithy/types").StaticOperationSchema,
|
|
20
|
-
smithyContext?: Record<string, unknown
|
|
17
|
+
smithyContext?: Record<string, unknown>,
|
|
21
18
|
) => {
|
|
22
|
-
new (
|
|
19
|
+
new (
|
|
20
|
+
input: I,
|
|
21
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
22
|
I,
|
|
24
23
|
O,
|
|
25
24
|
WorkMailMessageFlowClientResolvedConfig,
|
|
@@ -38,9 +37,4 @@ export declare const command: <
|
|
|
38
37
|
getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
39
38
|
};
|
|
40
39
|
export declare const _ep0: EndpointParameterInstructions;
|
|
41
|
-
export declare const _mw0: (
|
|
42
|
-
Command: any,
|
|
43
|
-
cs: any,
|
|
44
|
-
config: any,
|
|
45
|
-
o: any
|
|
46
|
-
) => never[];
|
|
40
|
+
export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
|
|
@@ -1,16 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
StreamingBlobPayloadOutputTypes,
|
|
4
|
-
} from "@smithy/types";
|
|
5
|
-
import {
|
|
6
|
-
GetRawMessageContentRequest,
|
|
7
|
-
GetRawMessageContentResponse,
|
|
8
|
-
} from "../models/models_0";
|
|
1
|
+
import { MetadataBearer as __MetadataBearer, StreamingBlobPayloadOutputTypes } from "@smithy/types";
|
|
2
|
+
import { GetRawMessageContentRequest, GetRawMessageContentResponse } from "../models/models_0";
|
|
9
3
|
export { __MetadataBearer };
|
|
10
|
-
export interface GetRawMessageContentCommandInput
|
|
11
|
-
extends GetRawMessageContentRequest {}
|
|
4
|
+
export interface GetRawMessageContentCommandInput extends GetRawMessageContentRequest {}
|
|
12
5
|
export interface GetRawMessageContentCommandOutput
|
|
13
|
-
extends
|
|
6
|
+
extends
|
|
7
|
+
Pick<
|
|
14
8
|
GetRawMessageContentResponse,
|
|
15
9
|
Exclude<keyof GetRawMessageContentResponse, "messageContent">
|
|
16
10
|
>,
|
|
@@ -19,7 +13,7 @@ export interface GetRawMessageContentCommandOutput
|
|
|
19
13
|
}
|
|
20
14
|
declare const GetRawMessageContentCommand_base: {
|
|
21
15
|
new (
|
|
22
|
-
input: GetRawMessageContentCommandInput
|
|
16
|
+
input: GetRawMessageContentCommandInput,
|
|
23
17
|
): import("@smithy/core/client").CommandImpl<
|
|
24
18
|
GetRawMessageContentCommandInput,
|
|
25
19
|
GetRawMessageContentCommandOutput,
|
|
@@ -28,7 +22,7 @@ declare const GetRawMessageContentCommand_base: {
|
|
|
28
22
|
import("..").ServiceOutputTypes
|
|
29
23
|
>;
|
|
30
24
|
new (
|
|
31
|
-
input: GetRawMessageContentCommandInput
|
|
25
|
+
input: GetRawMessageContentCommandInput,
|
|
32
26
|
): import("@smithy/core/client").CommandImpl<
|
|
33
27
|
GetRawMessageContentCommandInput,
|
|
34
28
|
GetRawMessageContentCommandOutput,
|
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
PutRawMessageContentRequest,
|
|
4
|
-
PutRawMessageContentResponse,
|
|
5
|
-
} from "../models/models_0";
|
|
2
|
+
import { PutRawMessageContentRequest, PutRawMessageContentResponse } from "../models/models_0";
|
|
6
3
|
export { __MetadataBearer };
|
|
7
|
-
export interface PutRawMessageContentCommandInput
|
|
8
|
-
extends PutRawMessageContentRequest {}
|
|
4
|
+
export interface PutRawMessageContentCommandInput extends PutRawMessageContentRequest {}
|
|
9
5
|
export interface PutRawMessageContentCommandOutput
|
|
10
|
-
extends PutRawMessageContentResponse,
|
|
11
|
-
__MetadataBearer {}
|
|
6
|
+
extends PutRawMessageContentResponse, __MetadataBearer {}
|
|
12
7
|
declare const PutRawMessageContentCommand_base: {
|
|
13
8
|
new (
|
|
14
|
-
input: PutRawMessageContentCommandInput
|
|
9
|
+
input: PutRawMessageContentCommandInput,
|
|
15
10
|
): import("@smithy/core/client").CommandImpl<
|
|
16
11
|
PutRawMessageContentCommandInput,
|
|
17
12
|
PutRawMessageContentCommandOutput,
|
|
@@ -20,7 +15,7 @@ declare const PutRawMessageContentCommand_base: {
|
|
|
20
15
|
import("..").ServiceOutputTypes
|
|
21
16
|
>;
|
|
22
17
|
new (
|
|
23
|
-
input: PutRawMessageContentCommandInput
|
|
18
|
+
input: PutRawMessageContentCommandInput,
|
|
24
19
|
): import("@smithy/core/client").CommandImpl<
|
|
25
20
|
PutRawMessageContentCommandInput,
|
|
26
21
|
PutRawMessageContentCommandOutput,
|
|
@@ -23,7 +23,7 @@ export type ClientResolvedEndpointParameters = Pick<
|
|
|
23
23
|
defaultSigningName: string;
|
|
24
24
|
};
|
|
25
25
|
export declare const resolveClientEndpointParameters: <T>(
|
|
26
|
-
options: T & ClientInputEndpointParameters
|
|
26
|
+
options: T & ClientInputEndpointParameters,
|
|
27
27
|
) => T & ClientResolvedEndpointParameters;
|
|
28
28
|
export declare const commonParams: {
|
|
29
29
|
readonly UseFIPS: {
|
|
@@ -3,7 +3,8 @@ import { HttpHandlerExtensionConfiguration } from "@smithy/core/protocols";
|
|
|
3
3
|
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
4
|
import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
5
5
|
export interface WorkMailMessageFlowExtensionConfiguration
|
|
6
|
-
extends
|
|
6
|
+
extends
|
|
7
|
+
HttpHandlerExtensionConfiguration,
|
|
7
8
|
DefaultExtensionConfiguration,
|
|
8
9
|
AwsRegionExtensionConfiguration,
|
|
9
10
|
HttpAuthExtensionConfiguration {}
|
|
@@ -3,16 +3,12 @@ import { WorkMailMessageFlowServiceException as __BaseException } from "./WorkMa
|
|
|
3
3
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
4
4
|
readonly name: "ResourceNotFoundException";
|
|
5
5
|
readonly $fault: "client";
|
|
6
|
-
constructor(
|
|
7
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
8
|
-
);
|
|
6
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
9
7
|
}
|
|
10
8
|
export declare class InvalidContentLocation extends __BaseException {
|
|
11
9
|
readonly name: "InvalidContentLocation";
|
|
12
10
|
readonly $fault: "client";
|
|
13
|
-
constructor(
|
|
14
|
-
opts: __ExceptionOptionType<InvalidContentLocation, __BaseException>
|
|
15
|
-
);
|
|
11
|
+
constructor(opts: __ExceptionOptionType<InvalidContentLocation, __BaseException>);
|
|
16
12
|
}
|
|
17
13
|
export declare class MessageFrozen extends __BaseException {
|
|
18
14
|
readonly name: "MessageFrozen";
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
|
|
2
2
|
import { WorkMailMessageFlowClientConfig } from "./WorkMailMessageFlowClient";
|
|
3
|
-
export declare const getRuntimeConfig: (
|
|
4
|
-
config: WorkMailMessageFlowClientConfig
|
|
5
|
-
) => {
|
|
3
|
+
export declare const getRuntimeConfig: (config: WorkMailMessageFlowClientConfig) => {
|
|
6
4
|
runtime: string;
|
|
7
5
|
defaultsMode: import("@smithy/types").Provider<
|
|
8
6
|
import("@smithy/core/client").ResolvedDefaultsMode
|
|
@@ -10,24 +8,16 @@ export declare const getRuntimeConfig: (
|
|
|
10
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
11
9
|
credentialDefaultProvider:
|
|
12
10
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
13
|
-
| ((
|
|
14
|
-
_: unknown
|
|
15
|
-
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
|
+
| ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
16
12
|
defaultUserAgentProvider: (
|
|
17
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
13
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
18
14
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
19
15
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
20
16
|
region: string | import("@smithy/types").Provider<any>;
|
|
21
|
-
requestHandler:
|
|
22
|
-
| import("@smithy/core/protocols").HttpHandler<any>
|
|
23
|
-
| RequestHandler;
|
|
17
|
+
requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
|
|
24
18
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
25
19
|
streamCollector: (
|
|
26
|
-
stream:
|
|
27
|
-
| import("stream").Readable
|
|
28
|
-
| import("stream/web").ReadableStream
|
|
29
|
-
| ReadableStream
|
|
30
|
-
| Blob
|
|
20
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
31
21
|
) => Promise<Uint8Array>;
|
|
32
22
|
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
33
23
|
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
@@ -56,13 +46,8 @@ export declare const getRuntimeConfig: (
|
|
|
56
46
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
57
47
|
sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
|
|
58
48
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
59
|
-
userAgentAppId?:
|
|
60
|
-
|
|
61
|
-
| undefined
|
|
62
|
-
| import("@smithy/types").Provider<string | undefined>;
|
|
63
|
-
retryStrategy?:
|
|
64
|
-
| import("@smithy/types").RetryStrategy
|
|
65
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
49
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
50
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
66
51
|
endpoint?:
|
|
67
52
|
| ((
|
|
68
53
|
| string
|
|
@@ -84,7 +69,7 @@ export declare const getRuntimeConfig: (
|
|
|
84
69
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
85
70
|
context?: {
|
|
86
71
|
logger?: import("@smithy/types").Logger;
|
|
87
|
-
}
|
|
72
|
+
},
|
|
88
73
|
) => import("@smithy/types").EndpointV2;
|
|
89
74
|
tls?: boolean;
|
|
90
75
|
serviceConfiguredEndpoint?: never;
|
|
@@ -97,13 +82,13 @@ export declare const getRuntimeConfig: (
|
|
|
97
82
|
signer?:
|
|
98
83
|
| import("@smithy/types").RequestSigner
|
|
99
84
|
| ((
|
|
100
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
85
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
101
86
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
102
87
|
signingEscapePath?: boolean;
|
|
103
88
|
systemClockOffset?: number;
|
|
104
89
|
signingRegion?: string;
|
|
105
90
|
signerConstructor?: new (
|
|
106
91
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
107
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
92
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
108
93
|
) => import("@smithy/types").RequestSigner;
|
|
109
94
|
};
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
|
|
2
2
|
import { WorkMailMessageFlowClientConfig } from "./WorkMailMessageFlowClient";
|
|
3
|
-
export declare const getRuntimeConfig: (
|
|
4
|
-
config: WorkMailMessageFlowClientConfig
|
|
5
|
-
) => {
|
|
3
|
+
export declare const getRuntimeConfig: (config: WorkMailMessageFlowClientConfig) => {
|
|
6
4
|
runtime: string;
|
|
7
5
|
defaultsMode: import("@smithy/types").Provider<
|
|
8
6
|
import("@smithy/core/client").ResolvedDefaultsMode
|
|
@@ -12,23 +10,17 @@ export declare const getRuntimeConfig: (
|
|
|
12
10
|
credentialDefaultProvider:
|
|
13
11
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
14
12
|
| ((
|
|
15
|
-
init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
13
|
+
init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit,
|
|
16
14
|
) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
|
|
17
15
|
defaultUserAgentProvider: (
|
|
18
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
16
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
19
17
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
20
18
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
21
19
|
region: string | import("@smithy/types").Provider<string>;
|
|
22
|
-
requestHandler:
|
|
23
|
-
| RequestHandler
|
|
24
|
-
| import("@smithy/core/protocols").HttpHandler<any>;
|
|
20
|
+
requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
|
|
25
21
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
26
22
|
streamCollector: (
|
|
27
|
-
stream:
|
|
28
|
-
| import("stream").Readable
|
|
29
|
-
| import("stream/web").ReadableStream
|
|
30
|
-
| ReadableStream
|
|
31
|
-
| Blob
|
|
23
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
32
24
|
) => Promise<Uint8Array>;
|
|
33
25
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
34
26
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
@@ -56,9 +48,7 @@ export declare const getRuntimeConfig: (
|
|
|
56
48
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
57
49
|
sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
|
|
58
50
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
59
|
-
retryStrategy?:
|
|
60
|
-
| import("@smithy/types").RetryStrategy
|
|
61
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
51
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
62
52
|
endpoint?:
|
|
63
53
|
| ((
|
|
64
54
|
| string
|
|
@@ -80,7 +70,7 @@ export declare const getRuntimeConfig: (
|
|
|
80
70
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
81
71
|
context?: {
|
|
82
72
|
logger?: import("@smithy/types").Logger;
|
|
83
|
-
}
|
|
73
|
+
},
|
|
84
74
|
) => import("@smithy/types").EndpointV2;
|
|
85
75
|
tls?: boolean;
|
|
86
76
|
serviceConfiguredEndpoint?: never;
|
|
@@ -92,13 +82,13 @@ export declare const getRuntimeConfig: (
|
|
|
92
82
|
signer?:
|
|
93
83
|
| import("@smithy/types").RequestSigner
|
|
94
84
|
| ((
|
|
95
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
85
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
96
86
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
97
87
|
signingEscapePath?: boolean;
|
|
98
88
|
systemClockOffset?: number;
|
|
99
89
|
signingRegion?: string;
|
|
100
90
|
signerConstructor?: new (
|
|
101
91
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
102
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
92
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
103
93
|
) => import("@smithy/types").RequestSigner;
|
|
104
94
|
};
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { WorkMailMessageFlowClientConfig } from "./WorkMailMessageFlowClient";
|
|
2
|
-
export declare const getRuntimeConfig: (
|
|
3
|
-
config: WorkMailMessageFlowClientConfig
|
|
4
|
-
) => {
|
|
2
|
+
export declare const getRuntimeConfig: (config: WorkMailMessageFlowClientConfig) => {
|
|
5
3
|
runtime: string;
|
|
6
4
|
requestHandler:
|
|
7
5
|
| import("@smithy/types").NodeHttpHandlerOptions
|
|
@@ -23,11 +21,7 @@ export declare const getRuntimeConfig: (
|
|
|
23
21
|
urlParser: import("@smithy/types").UrlParser;
|
|
24
22
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
25
23
|
streamCollector: (
|
|
26
|
-
stream:
|
|
27
|
-
| import("stream").Readable
|
|
28
|
-
| import("stream/web").ReadableStream
|
|
29
|
-
| ReadableStream
|
|
30
|
-
| Blob
|
|
24
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
31
25
|
) => Promise<Uint8Array>;
|
|
32
26
|
base64Decoder: import("@smithy/types").Decoder;
|
|
33
27
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -42,31 +36,22 @@ export declare const getRuntimeConfig: (
|
|
|
42
36
|
region: string | import("@smithy/types").Provider<any>;
|
|
43
37
|
profile?: string;
|
|
44
38
|
defaultUserAgentProvider: (
|
|
45
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
39
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
46
40
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
47
41
|
credentialDefaultProvider:
|
|
48
42
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
49
|
-
| ((
|
|
50
|
-
_: unknown
|
|
51
|
-
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
43
|
+
| ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
52
44
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
53
45
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
54
46
|
logger: import("@smithy/types").Logger;
|
|
55
47
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
56
48
|
defaultsMode:
|
|
57
49
|
| import("@smithy/core/client").DefaultsMode
|
|
58
|
-
| import("@smithy/types").Provider<
|
|
59
|
-
import("@smithy/core/client").DefaultsMode
|
|
60
|
-
>;
|
|
50
|
+
| import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
|
|
61
51
|
sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
|
|
62
52
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
63
|
-
userAgentAppId?:
|
|
64
|
-
|
|
65
|
-
| undefined
|
|
66
|
-
| import("@smithy/types").Provider<string | undefined>;
|
|
67
|
-
retryStrategy?:
|
|
68
|
-
| import("@smithy/types").RetryStrategy
|
|
69
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
53
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
54
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
70
55
|
endpoint?:
|
|
71
56
|
| ((
|
|
72
57
|
| string
|
|
@@ -88,7 +73,7 @@ export declare const getRuntimeConfig: (
|
|
|
88
73
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
89
74
|
context?: {
|
|
90
75
|
logger?: import("@smithy/types").Logger;
|
|
91
|
-
}
|
|
76
|
+
},
|
|
92
77
|
) => import("@smithy/types").EndpointV2;
|
|
93
78
|
tls?: boolean;
|
|
94
79
|
serviceConfiguredEndpoint?: never;
|
|
@@ -101,13 +86,13 @@ export declare const getRuntimeConfig: (
|
|
|
101
86
|
signer?:
|
|
102
87
|
| import("@smithy/types").RequestSigner
|
|
103
88
|
| ((
|
|
104
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
89
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
105
90
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
106
91
|
signingEscapePath?: boolean;
|
|
107
92
|
systemClockOffset?: number;
|
|
108
93
|
signingRegion?: string;
|
|
109
94
|
signerConstructor?: new (
|
|
110
95
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
111
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
96
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
112
97
|
) => import("@smithy/types").RequestSigner;
|
|
113
98
|
};
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
2
2
|
import { WorkMailMessageFlowClientConfig } from "./WorkMailMessageFlowClient";
|
|
3
|
-
export declare const getRuntimeConfig: (
|
|
4
|
-
config: WorkMailMessageFlowClientConfig
|
|
5
|
-
) => {
|
|
3
|
+
export declare const getRuntimeConfig: (config: WorkMailMessageFlowClientConfig) => {
|
|
6
4
|
apiVersion: string;
|
|
7
5
|
base64Decoder: import("@smithy/types").Decoder;
|
|
8
6
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -11,7 +9,7 @@ export declare const getRuntimeConfig: (
|
|
|
11
9
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
12
10
|
context?: {
|
|
13
11
|
logger?: import("@smithy/types").Logger;
|
|
14
|
-
}
|
|
12
|
+
},
|
|
15
13
|
) => import("@smithy/types").EndpointV2;
|
|
16
14
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
17
15
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").WorkMailMessageFlowHttpAuthSchemeProvider;
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import { WorkMailMessageFlowExtensionConfiguration } from "./extensionConfiguration";
|
|
2
2
|
export interface RuntimeExtension {
|
|
3
|
-
configure(
|
|
4
|
-
extensionConfiguration: WorkMailMessageFlowExtensionConfiguration
|
|
5
|
-
): void;
|
|
3
|
+
configure(extensionConfiguration: WorkMailMessageFlowExtensionConfiguration): void;
|
|
6
4
|
}
|
|
7
5
|
export interface RuntimeExtensionsConfig {
|
|
8
6
|
extensions: RuntimeExtension[];
|
|
9
7
|
}
|
|
10
8
|
export declare const resolveRuntimeExtensions: (
|
|
11
9
|
runtimeConfig: any,
|
|
12
|
-
extensions: RuntimeExtension[]
|
|
10
|
+
extensions: RuntimeExtension[],
|
|
13
11
|
) => any;
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
2
|
-
import {
|
|
3
|
-
StaticErrorSchema,
|
|
4
|
-
StaticOperationSchema,
|
|
5
|
-
StaticStructureSchema,
|
|
6
|
-
} from "@smithy/types";
|
|
2
|
+
import { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
7
3
|
export declare var WorkMailMessageFlowServiceException$: StaticErrorSchema;
|
|
8
4
|
export declare var InvalidContentLocation$: StaticErrorSchema;
|
|
9
5
|
export declare var MessageFrozen$: StaticErrorSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,38 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-workmailmessageflow",
|
|
3
|
+
"version": "3.1089.0",
|
|
3
4
|
"description": "AWS SDK for JavaScript Workmailmessageflow Client for Node.js, Browser and React Native",
|
|
4
|
-
"
|
|
5
|
+
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-workmailmessageflow",
|
|
6
|
+
"license": "Apache-2.0",
|
|
7
|
+
"author": {
|
|
8
|
+
"name": "AWS SDK for JavaScript Team",
|
|
9
|
+
"url": "https://aws.amazon.com/sdk-for-javascript/"
|
|
10
|
+
},
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "https://github.com/aws/aws-sdk-js-v3.git",
|
|
14
|
+
"directory": "clients/client-workmailmessageflow"
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"dist-*/**"
|
|
18
|
+
],
|
|
19
|
+
"sideEffects": false,
|
|
20
|
+
"main": "./dist-cjs/index.js",
|
|
21
|
+
"module": "./dist-es/index.js",
|
|
22
|
+
"browser": {
|
|
23
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
|
24
|
+
},
|
|
25
|
+
"types": "./dist-types/index.d.ts",
|
|
26
|
+
"typesVersions": {
|
|
27
|
+
"<4.5": {
|
|
28
|
+
"dist-types/*": [
|
|
29
|
+
"dist-types/ts3.4/*"
|
|
30
|
+
]
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"react-native": {
|
|
34
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
|
|
35
|
+
},
|
|
5
36
|
"scripts": {
|
|
6
37
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
38
|
"build:cjs": "node ../../scripts/compilation/inline",
|
|
@@ -14,17 +45,13 @@
|
|
|
14
45
|
"generate:client": "node ../../scripts/generate-clients/single-service",
|
|
15
46
|
"test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
|
|
16
47
|
},
|
|
17
|
-
"main": "./dist-cjs/index.js",
|
|
18
|
-
"types": "./dist-types/index.d.ts",
|
|
19
|
-
"module": "./dist-es/index.js",
|
|
20
|
-
"sideEffects": false,
|
|
21
48
|
"dependencies": {
|
|
22
|
-
"@aws-sdk/core": "^3.975.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
-
"@aws-sdk/types": "^3.974.
|
|
25
|
-
"@smithy/core": "^3.29.
|
|
26
|
-
"@smithy/fetch-http-handler": "^5.6.
|
|
27
|
-
"@smithy/node-http-handler": "^4.9.
|
|
49
|
+
"@aws-sdk/core": "^3.975.3",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.70",
|
|
51
|
+
"@aws-sdk/types": "^3.974.2",
|
|
52
|
+
"@smithy/core": "^3.29.4",
|
|
53
|
+
"@smithy/fetch-http-handler": "^5.6.6",
|
|
54
|
+
"@smithy/node-http-handler": "^4.9.6",
|
|
28
55
|
"@smithy/types": "^4.16.1",
|
|
29
56
|
"tslib": "^2.6.2"
|
|
30
57
|
},
|
|
@@ -38,32 +65,5 @@
|
|
|
38
65
|
},
|
|
39
66
|
"engines": {
|
|
40
67
|
"node": ">=20.0.0"
|
|
41
|
-
},
|
|
42
|
-
"typesVersions": {
|
|
43
|
-
"<4.5": {
|
|
44
|
-
"dist-types/*": [
|
|
45
|
-
"dist-types/ts3.4/*"
|
|
46
|
-
]
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
"files": [
|
|
50
|
-
"dist-*/**"
|
|
51
|
-
],
|
|
52
|
-
"author": {
|
|
53
|
-
"name": "AWS SDK for JavaScript Team",
|
|
54
|
-
"url": "https://aws.amazon.com/sdk-for-javascript/"
|
|
55
|
-
},
|
|
56
|
-
"license": "Apache-2.0",
|
|
57
|
-
"browser": {
|
|
58
|
-
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
|
59
|
-
},
|
|
60
|
-
"react-native": {
|
|
61
|
-
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
|
|
62
|
-
},
|
|
63
|
-
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-workmailmessageflow",
|
|
64
|
-
"repository": {
|
|
65
|
-
"type": "git",
|
|
66
|
-
"url": "https://github.com/aws/aws-sdk-js-v3.git",
|
|
67
|
-
"directory": "clients/client-workmailmessageflow"
|
|
68
68
|
}
|
|
69
69
|
}
|