@aws-sdk/client-workmailmessageflow 3.1077.0 → 3.1078.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
@@ -1,7 +1,8 @@
1
1
  const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
2
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin } = require("@smithy/core");
3
- const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
4
+ const { Command: $Command } = require("@smithy/core/client");
5
+ exports.$Command = $Command;
5
6
  exports.__Client = Client;
6
7
  const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
8
  const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
@@ -68,7 +69,7 @@ const commonParams = {
68
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
69
70
  };
70
71
 
71
- var version = "3.1076.0";
72
+ var version = "3.1077.0";
72
73
  var packageInfo = {
73
74
  version: version};
74
75
 
@@ -431,28 +432,14 @@ class WorkMailMessageFlowClient extends Client {
431
432
  }
432
433
  }
433
434
 
434
- class GetRawMessageContentCommand extends Command
435
- .classBuilder()
436
- .ep(commonParams)
437
- .m(function (Command, cs, config, o) {
438
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
439
- })
440
- .s("GiraffeMessageInTransitService", "GetRawMessageContent", {})
441
- .n("WorkMailMessageFlowClient", "GetRawMessageContentCommand")
442
- .sc(GetRawMessageContent$)
443
- .build() {
435
+ const command = makeBuilder(commonParams, "GiraffeMessageInTransitService", "WorkMailMessageFlowClient", getEndpointPlugin);
436
+ const _ep0 = {};
437
+ const _mw0 = (Command, cs, config, o) => [];
438
+
439
+ class GetRawMessageContentCommand extends command(_ep0, _mw0, "GetRawMessageContent", GetRawMessageContent$) {
444
440
  }
445
441
 
446
- class PutRawMessageContentCommand extends Command
447
- .classBuilder()
448
- .ep(commonParams)
449
- .m(function (Command, cs, config, o) {
450
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
451
- })
452
- .s("GiraffeMessageInTransitService", "PutRawMessageContent", {})
453
- .n("WorkMailMessageFlowClient", "PutRawMessageContentCommand")
454
- .sc(PutRawMessageContent$)
455
- .build() {
442
+ class PutRawMessageContentCommand extends command(_ep0, _mw0, "PutRawMessageContent", PutRawMessageContent$) {
456
443
  }
457
444
 
458
445
  const commands = {
@@ -0,0 +1,6 @@
1
+ import { makeBuilder } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "./endpoint/EndpointParameters";
4
+ export const command = makeBuilder(commonParams, "GiraffeMessageInTransitService", "WorkMailMessageFlowClient", getEndpointPlugin);
5
+ export const _ep0 = {};
6
+ export const _mw0 = (Command, cs, config, o) => [];
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetRawMessageContent$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetRawMessageContentCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GiraffeMessageInTransitService", "GetRawMessageContent", {})
13
- .n("WorkMailMessageFlowClient", "GetRawMessageContentCommand")
14
- .sc(GetRawMessageContent$)
15
- .build() {
3
+ export class GetRawMessageContentCommand extends command(_ep0, _mw0, "GetRawMessageContent", GetRawMessageContent$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { PutRawMessageContent$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class PutRawMessageContentCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GiraffeMessageInTransitService", "PutRawMessageContent", {})
13
- .n("WorkMailMessageFlowClient", "PutRawMessageContentCommand")
14
- .sc(PutRawMessageContent$)
15
- .build() {
3
+ export class PutRawMessageContentCommand extends command(_ep0, _mw0, "PutRawMessageContent", PutRawMessageContent$) {
16
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./WorkMailMessageFlowClient";
2
2
  export * from "./WorkMailMessageFlow";
3
3
  export * from "./commands";
4
+ export { Command as $Command } from "@smithy/core/client";
4
5
  export * from "./schemas/schemas_0";
5
6
  export * from "./models/errors";
6
7
  export * from "./models/models_0";
@@ -0,0 +1,18 @@
1
+ import type { EndpointParameterInstructions } from "@smithy/types";
2
+ import type { ServiceInputTypes, ServiceOutputTypes, WorkMailMessageFlowClientResolvedConfig } from "./WorkMailMessageFlowClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
7
+ new (input: I): import("@smithy/core/client").CommandImpl<I, O, WorkMailMessageFlowClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, WorkMailMessageFlowClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
9
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
10
+ };
11
+ /**
12
+ * @internal
13
+ */
14
+ export declare const _ep0: EndpointParameterInstructions;
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer, StreamingBlobPayloadOutputTypes } from "@smithy/types";
3
2
  import type { GetRawMessageContentRequest, GetRawMessageContentResponse } from "../models/models_0";
4
- import type { ServiceInputTypes, ServiceOutputTypes, WorkMailMessageFlowClientResolvedConfig } from "../WorkMailMessageFlowClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -23,11 +20,9 @@ export interface GetRawMessageContentCommandOutput extends Omit<GetRawMessageCon
23
20
  messageContent: StreamingBlobPayloadOutputTypes;
24
21
  }
25
22
  declare const GetRawMessageContentCommand_base: {
26
- new (input: GetRawMessageContentCommandInput): import("@smithy/core/client").CommandImpl<GetRawMessageContentCommandInput, GetRawMessageContentCommandOutput, WorkMailMessageFlowClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- new (input: GetRawMessageContentCommandInput): import("@smithy/core/client").CommandImpl<GetRawMessageContentCommandInput, GetRawMessageContentCommandOutput, WorkMailMessageFlowClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
28
- getEndpointParameterInstructions(): {
29
- [x: string]: unknown;
30
- };
23
+ new (input: GetRawMessageContentCommandInput): import("@smithy/core/client").CommandImpl<GetRawMessageContentCommandInput, GetRawMessageContentCommandOutput, import("..").WorkMailMessageFlowClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ new (input: GetRawMessageContentCommandInput): import("@smithy/core/client").CommandImpl<GetRawMessageContentCommandInput, GetRawMessageContentCommandOutput, import("..").WorkMailMessageFlowClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
31
26
  };
32
27
  /**
33
28
  * <p>Retrieves the raw content of an in-transit email message, in MIME format.</p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { PutRawMessageContentRequest, PutRawMessageContentResponse } from "../models/models_0";
4
- import type { ServiceInputTypes, ServiceOutputTypes, WorkMailMessageFlowClientResolvedConfig } from "../WorkMailMessageFlowClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface PutRawMessageContentCommandInput extends PutRawMessageContentRe
22
19
  export interface PutRawMessageContentCommandOutput extends PutRawMessageContentResponse, __MetadataBearer {
23
20
  }
24
21
  declare const PutRawMessageContentCommand_base: {
25
- new (input: PutRawMessageContentCommandInput): import("@smithy/core/client").CommandImpl<PutRawMessageContentCommandInput, PutRawMessageContentCommandOutput, WorkMailMessageFlowClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: PutRawMessageContentCommandInput): import("@smithy/core/client").CommandImpl<PutRawMessageContentCommandInput, PutRawMessageContentCommandOutput, WorkMailMessageFlowClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: PutRawMessageContentCommandInput): import("@smithy/core/client").CommandImpl<PutRawMessageContentCommandInput, PutRawMessageContentCommandOutput, import("..").WorkMailMessageFlowClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: PutRawMessageContentCommandInput): import("@smithy/core/client").CommandImpl<PutRawMessageContentCommandInput, PutRawMessageContentCommandOutput, import("..").WorkMailMessageFlowClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Updates the raw content of an in-transit email message, in MIME format.</p>
@@ -13,6 +13,7 @@ export type { ClientInputEndpointParameters } from "./endpoint/EndpointParameter
13
13
  export type { RuntimeExtension } from "./runtimeExtensions";
14
14
  export type { WorkMailMessageFlowExtensionConfiguration } from "./extensionConfiguration";
15
15
  export * from "./commands";
16
+ export { Command as $Command } from "@smithy/core/client";
16
17
  export * from "./schemas/schemas_0";
17
18
  export * from "./models/errors";
18
19
  export * from "./models/models_0";
@@ -0,0 +1,46 @@
1
+ import { EndpointParameterInstructions } from "@smithy/types";
2
+ import {
3
+ ServiceInputTypes,
4
+ ServiceOutputTypes,
5
+ WorkMailMessageFlowClientResolvedConfig,
6
+ } from "./WorkMailMessageFlowClient";
7
+ export declare const command: <
8
+ I extends ServiceInputTypes,
9
+ O extends ServiceOutputTypes
10
+ >(
11
+ added: EndpointParameterInstructions,
12
+ plugins: (
13
+ CommandCtor: any,
14
+ clientStack: any,
15
+ config: any,
16
+ options: any
17
+ ) => import("@smithy/types").Pluggable<any, any>[],
18
+ op: string,
19
+ $: import("@smithy/types").StaticOperationSchema,
20
+ smithyContext?: Record<string, unknown>
21
+ ) => {
22
+ new (input: I): import("@smithy/core/client").CommandImpl<
23
+ I,
24
+ O,
25
+ WorkMailMessageFlowClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ ...[input]: import("@smithy/types").OptionalParameter<I>
31
+ ): import("@smithy/core/client").CommandImpl<
32
+ I,
33
+ O,
34
+ WorkMailMessageFlowClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
39
+ };
40
+ export declare const _ep0: EndpointParameterInstructions;
41
+ export declare const _mw0: (
42
+ Command: any,
43
+ cs: any,
44
+ config: any,
45
+ o: any
46
+ ) => never[];
@@ -1,4 +1,3 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import {
3
2
  MetadataBearer as __MetadataBearer,
4
3
  StreamingBlobPayloadOutputTypes,
@@ -7,13 +6,7 @@ import {
7
6
  GetRawMessageContentRequest,
8
7
  GetRawMessageContentResponse,
9
8
  } from "../models/models_0";
10
- import {
11
- ServiceInputTypes,
12
- ServiceOutputTypes,
13
- WorkMailMessageFlowClientResolvedConfig,
14
- } from "../WorkMailMessageFlowClient";
15
9
  export { __MetadataBearer };
16
- export { $Command };
17
10
  export interface GetRawMessageContentCommandInput
18
11
  extends GetRawMessageContentRequest {}
19
12
  export interface GetRawMessageContentCommandOutput
@@ -30,22 +23,20 @@ declare const GetRawMessageContentCommand_base: {
30
23
  ): import("@smithy/core/client").CommandImpl<
31
24
  GetRawMessageContentCommandInput,
32
25
  GetRawMessageContentCommandOutput,
33
- WorkMailMessageFlowClientResolvedConfig,
34
- ServiceInputTypes,
35
- ServiceOutputTypes
26
+ import("..").WorkMailMessageFlowClientResolvedConfig,
27
+ import("..").ServiceInputTypes,
28
+ import("..").ServiceOutputTypes
36
29
  >;
37
30
  new (
38
31
  input: GetRawMessageContentCommandInput
39
32
  ): import("@smithy/core/client").CommandImpl<
40
33
  GetRawMessageContentCommandInput,
41
34
  GetRawMessageContentCommandOutput,
42
- WorkMailMessageFlowClientResolvedConfig,
43
- ServiceInputTypes,
44
- ServiceOutputTypes
35
+ import("..").WorkMailMessageFlowClientResolvedConfig,
36
+ import("..").ServiceInputTypes,
37
+ import("..").ServiceOutputTypes
45
38
  >;
46
- getEndpointParameterInstructions(): {
47
- [x: string]: unknown;
48
- };
39
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
49
40
  };
50
41
  export declare class GetRawMessageContentCommand extends GetRawMessageContentCommand_base {
51
42
  protected static __types: {
@@ -1,16 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import {
4
3
  PutRawMessageContentRequest,
5
4
  PutRawMessageContentResponse,
6
5
  } from "../models/models_0";
7
- import {
8
- ServiceInputTypes,
9
- ServiceOutputTypes,
10
- WorkMailMessageFlowClientResolvedConfig,
11
- } from "../WorkMailMessageFlowClient";
12
6
  export { __MetadataBearer };
13
- export { $Command };
14
7
  export interface PutRawMessageContentCommandInput
15
8
  extends PutRawMessageContentRequest {}
16
9
  export interface PutRawMessageContentCommandOutput
@@ -22,22 +15,20 @@ declare const PutRawMessageContentCommand_base: {
22
15
  ): import("@smithy/core/client").CommandImpl<
23
16
  PutRawMessageContentCommandInput,
24
17
  PutRawMessageContentCommandOutput,
25
- WorkMailMessageFlowClientResolvedConfig,
26
- ServiceInputTypes,
27
- ServiceOutputTypes
18
+ import("..").WorkMailMessageFlowClientResolvedConfig,
19
+ import("..").ServiceInputTypes,
20
+ import("..").ServiceOutputTypes
28
21
  >;
29
22
  new (
30
23
  input: PutRawMessageContentCommandInput
31
24
  ): import("@smithy/core/client").CommandImpl<
32
25
  PutRawMessageContentCommandInput,
33
26
  PutRawMessageContentCommandOutput,
34
- WorkMailMessageFlowClientResolvedConfig,
35
- ServiceInputTypes,
36
- ServiceOutputTypes
27
+ import("..").WorkMailMessageFlowClientResolvedConfig,
28
+ import("..").ServiceInputTypes,
29
+ import("..").ServiceOutputTypes
37
30
  >;
38
- getEndpointParameterInstructions(): {
39
- [x: string]: unknown;
40
- };
31
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
41
32
  };
42
33
  export declare class PutRawMessageContentCommand extends PutRawMessageContentCommand_base {
43
34
  protected static __types: {
@@ -4,6 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
4
  export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { WorkMailMessageFlowExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
+ export { Command as $Command } from "@smithy/core/client";
7
8
  export * from "./schemas/schemas_0";
8
9
  export * from "./models/errors";
9
10
  export * from "./models/models_0";
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.1077.0",
4
+ "version": "3.1078.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",
@@ -19,13 +19,13 @@
19
19
  "module": "./dist-es/index.js",
20
20
  "sideEffects": false,
21
21
  "dependencies": {
22
- "@aws-sdk/core": "^3.974.25",
23
- "@aws-sdk/credential-provider-node": "^3.972.60",
24
- "@aws-sdk/types": "^3.973.14",
25
- "@smithy/core": "^3.28.0",
26
- "@smithy/fetch-http-handler": "^5.6.1",
27
- "@smithy/node-http-handler": "^4.9.1",
28
- "@smithy/types": "^4.15.0",
22
+ "@aws-sdk/core": "^3.974.26",
23
+ "@aws-sdk/credential-provider-node": "^3.972.61",
24
+ "@aws-sdk/types": "^3.973.15",
25
+ "@smithy/core": "^3.29.0",
26
+ "@smithy/fetch-http-handler": "^5.6.2",
27
+ "@smithy/node-http-handler": "^4.9.2",
28
+ "@smithy/types": "^4.15.1",
29
29
  "tslib": "^2.6.2"
30
30
  },
31
31
  "devDependencies": {