https://project.mdnd-it.cc/work_packages/94
This commit is contained in:
2025-08-23 04:25:28 +02:00
parent 725516ad6c
commit 19cfa031d0
25823 changed files with 1095587 additions and 2801760 deletions
+201
View File
@@ -0,0 +1,201 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "{}"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,127 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.resolveHttpAuthSchemeConfig = exports.defaultSESv2HttpAuthSchemeProvider = exports.defaultSESv2HttpAuthSchemeParametersProvider = void 0;
const core_1 = require("@aws-sdk/core");
const signature_v4_multi_region_1 = require("@aws-sdk/signature-v4-multi-region");
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
const util_middleware_1 = require("@smithy/util-middleware");
const endpointResolver_1 = require("../endpoint/endpointResolver");
const createEndpointRuleSetHttpAuthSchemeParametersProvider = (defaultHttpAuthSchemeParametersProvider) => async (config, context, input) => {
if (!input) {
throw new Error(`Could not find \`input\` for \`defaultEndpointRuleSetHttpAuthSchemeParametersProvider\``);
}
const defaultParameters = await defaultHttpAuthSchemeParametersProvider(config, context, input);
const instructionsFn = (0, util_middleware_1.getSmithyContext)(context)?.commandInstance?.constructor
?.getEndpointParameterInstructions;
if (!instructionsFn) {
throw new Error(`getEndpointParameterInstructions() is not defined on \`${context.commandName}\``);
}
const endpointParameters = await (0, middleware_endpoint_1.resolveParams)(input, { getEndpointParameterInstructions: instructionsFn }, config);
return Object.assign(defaultParameters, endpointParameters);
};
const _defaultSESv2HttpAuthSchemeParametersProvider = async (config, context, input) => {
return {
operation: (0, util_middleware_1.getSmithyContext)(context).operation,
region: (await (0, util_middleware_1.normalizeProvider)(config.region)()) ||
(() => {
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
})(),
};
};
exports.defaultSESv2HttpAuthSchemeParametersProvider = createEndpointRuleSetHttpAuthSchemeParametersProvider(_defaultSESv2HttpAuthSchemeParametersProvider);
function createAwsAuthSigv4HttpAuthOption(authParameters) {
return {
schemeId: "aws.auth#sigv4",
signingProperties: {
name: "ses",
region: authParameters.region,
},
propertiesExtractor: (config, context) => ({
signingProperties: {
config,
context,
},
}),
};
}
function createAwsAuthSigv4aHttpAuthOption(authParameters) {
return {
schemeId: "aws.auth#sigv4a",
signingProperties: {
name: "ses",
region: authParameters.region,
},
propertiesExtractor: (config, context) => ({
signingProperties: {
config,
context,
},
}),
};
}
const createEndpointRuleSetHttpAuthSchemeProvider = (defaultEndpointResolver, defaultHttpAuthSchemeResolver, createHttpAuthOptionFunctions) => {
const endpointRuleSetHttpAuthSchemeProvider = (authParameters) => {
const endpoint = defaultEndpointResolver(authParameters);
const authSchemes = endpoint.properties?.authSchemes;
if (!authSchemes) {
return defaultHttpAuthSchemeResolver(authParameters);
}
const options = [];
for (const scheme of authSchemes) {
const { name: resolvedName, properties = {}, ...rest } = scheme;
const name = resolvedName.toLowerCase();
if (resolvedName !== name) {
console.warn(`HttpAuthScheme has been normalized with lowercasing: \`${resolvedName}\` to \`${name}\``);
}
let schemeId;
if (name === "sigv4a") {
schemeId = "aws.auth#sigv4a";
const sigv4Present = authSchemes.find((s) => {
const name = s.name.toLowerCase();
return name !== "sigv4a" && name.startsWith("sigv4");
});
if (signature_v4_multi_region_1.SignatureV4MultiRegion.sigv4aDependency() === "none" && sigv4Present) {
continue;
}
}
else if (name.startsWith("sigv4")) {
schemeId = "aws.auth#sigv4";
}
else {
throw new Error(`Unknown HttpAuthScheme found in \`@smithy.rules#endpointRuleSet\`: \`${name}\``);
}
const createOption = createHttpAuthOptionFunctions[schemeId];
if (!createOption) {
throw new Error(`Could not find HttpAuthOption create function for \`${schemeId}\``);
}
const option = createOption(authParameters);
option.schemeId = schemeId;
option.signingProperties = { ...(option.signingProperties || {}), ...rest, ...properties };
options.push(option);
}
return options;
};
return endpointRuleSetHttpAuthSchemeProvider;
};
const _defaultSESv2HttpAuthSchemeProvider = (authParameters) => {
const options = [];
switch (authParameters.operation) {
default: {
options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
options.push(createAwsAuthSigv4aHttpAuthOption(authParameters));
}
}
return options;
};
exports.defaultSESv2HttpAuthSchemeProvider = createEndpointRuleSetHttpAuthSchemeProvider(endpointResolver_1.defaultEndpointResolver, _defaultSESv2HttpAuthSchemeProvider, {
"aws.auth#sigv4": createAwsAuthSigv4HttpAuthOption,
"aws.auth#sigv4a": createAwsAuthSigv4aHttpAuthOption,
});
const resolveHttpAuthSchemeConfig = (config) => {
const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config);
const config_1 = (0, core_1.resolveAwsSdkSigV4AConfig)(config_0);
return Object.assign(config_1, {
authSchemePreference: (0, util_middleware_1.normalizeProvider)(config.authSchemePreference ?? []),
});
};
exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
@@ -0,0 +1,18 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.defaultEndpointResolver = void 0;
const util_endpoints_1 = require("@aws-sdk/util-endpoints");
const util_endpoints_2 = require("@smithy/util-endpoints");
const ruleset_1 = require("./ruleset");
const cache = new util_endpoints_2.EndpointCache({
size: 50,
params: ["Endpoint", "EndpointId", "Region", "UseDualStack", "UseFIPS"],
});
const defaultEndpointResolver = (endpointParams, context = {}) => {
return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
endpointParams: endpointParams,
logger: context.logger,
}));
};
exports.defaultEndpointResolver = defaultEndpointResolver;
util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
@@ -0,0 +1,7 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ruleSet = void 0;
const z = "required", A = "type", B = "fn", C = "argv", D = "ref";
const a = false, b = true, c = "isSet", d = "booleanEquals", e = "endpoint", f = "tree", g = "error", h = { [z]: false, [A]: "String" }, i = { [z]: true, "default": false, [A]: "Boolean" }, j = { [D]: "EndpointId" }, k = { [B]: c, [C]: [{ [D]: "Region" }] }, l = { [B]: "aws.partition", [C]: [{ [D]: "Region" }], "assign": "PartitionResult" }, m = { [D]: "UseFIPS" }, n = { [D]: "Endpoint" }, o = { "authSchemes": [{ "name": "sigv4a", "signingName": "ses", "signingRegionSet": ["*"] }] }, p = {}, q = { [B]: d, [C]: [{ [D]: "UseDualStack" }, true] }, r = { [B]: d, [C]: [true, { [B]: "getAttr", [C]: [{ [D]: "PartitionResult" }, "supportsDualStack"] }] }, s = { [g]: "DualStack is enabled but this partition does not support DualStack", [A]: g }, t = { [B]: d, [C]: [m, true] }, u = { [B]: "getAttr", [C]: [{ [D]: "PartitionResult" }, "supportsFIPS"] }, v = [{ [B]: c, [C]: [n] }], w = [q], x = [r], y = [t];
const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h, EndpointId: h }, rules: [{ conditions: [{ [B]: c, [C]: [j] }, k, l], rules: [{ conditions: [{ [B]: "isValidHostLabel", [C]: [j, b] }], rules: [{ conditions: [{ [B]: d, [C]: [m, a] }], rules: [{ conditions: v, endpoint: { url: n, properties: o, headers: p }, [A]: e }, { conditions: w, rules: [{ conditions: x, rules: [{ endpoint: { url: "https://{EndpointId}.endpoints.email.global.{PartitionResult#dualStackDnsSuffix}", properties: o, headers: p }, [A]: e }], [A]: f }, s], [A]: f }, { endpoint: { url: "https://{EndpointId}.endpoints.email.{PartitionResult#dnsSuffix}", properties: o, headers: p }, [A]: e }], [A]: f }, { error: "Invalid Configuration: FIPS is not supported with multi-region endpoints", [A]: g }], [A]: f }, { error: "EndpointId must be a valid host label", [A]: g }], [A]: f }, { conditions: v, rules: [{ conditions: y, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [A]: g }, { conditions: w, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [A]: g }, { endpoint: { url: n, properties: p, headers: p }, [A]: e }], [A]: f }, { conditions: [k], rules: [{ conditions: [l], rules: [{ conditions: [t, q], rules: [{ conditions: [{ [B]: d, [C]: [b, u] }, r], rules: [{ endpoint: { url: "https://email-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: p, headers: p }, [A]: e }], [A]: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", [A]: g }], [A]: f }, { conditions: y, rules: [{ conditions: [{ [B]: d, [C]: [u, b] }], rules: [{ endpoint: { url: "https://email-fips.{Region}.{PartitionResult#dnsSuffix}", properties: p, headers: p }, [A]: e }], [A]: f }, { error: "FIPS is enabled but this partition does not support FIPS", [A]: g }], [A]: f }, { conditions: w, rules: [{ conditions: x, rules: [{ endpoint: { url: "https://email.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: p, headers: p }, [A]: e }], [A]: f }, s], [A]: f }, { endpoint: { url: "https://email.{Region}.{PartitionResult#dnsSuffix}", properties: p, headers: p }, [A]: e }], [A]: f }], [A]: f }, { error: "Invalid Configuration: Missing Region", [A]: g }] };
exports.ruleSet = _data;
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,39 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getRuntimeConfig = void 0;
const tslib_1 = require("tslib");
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
const sha256_browser_1 = require("@aws-crypto/sha256-browser");
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
const config_resolver_1 = require("@smithy/config-resolver");
const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
const invalid_dependency_1 = require("@smithy/invalid-dependency");
const util_body_length_browser_1 = require("@smithy/util-body-length-browser");
const util_retry_1 = require("@smithy/util-retry");
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
const smithy_client_1 = require("@smithy/smithy-client");
const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
const getRuntimeConfig = (config) => {
const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
return {
...clientSharedValues,
...config,
runtime: "browser",
defaultsMode,
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_browser_1.calculateBodyLength,
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
(0, util_user_agent_browser_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
maxAttempts: config?.maxAttempts ?? util_retry_1.DEFAULT_MAX_ATTEMPTS,
region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"),
requestHandler: fetch_http_handler_1.FetchHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE),
sha256: config?.sha256 ?? sha256_browser_1.Sha256,
streamCollector: config?.streamCollector ?? fetch_http_handler_1.streamCollector,
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)),
};
};
exports.getRuntimeConfig = getRuntimeConfig;
@@ -0,0 +1,57 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getRuntimeConfig = void 0;
const tslib_1 = require("tslib");
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
const core_1 = require("@aws-sdk/core");
const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
const config_resolver_1 = require("@smithy/config-resolver");
const hash_node_1 = require("@smithy/hash-node");
const middleware_retry_1 = require("@smithy/middleware-retry");
const node_config_provider_1 = require("@smithy/node-config-provider");
const node_http_handler_1 = require("@smithy/node-http-handler");
const util_body_length_node_1 = require("@smithy/util-body-length-node");
const util_retry_1 = require("@smithy/util-retry");
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
const smithy_client_1 = require("@smithy/smithy-client");
const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
const smithy_client_2 = require("@smithy/smithy-client");
const getRuntimeConfig = (config) => {
(0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
(0, core_1.emitWarningIfUnsupportedVersion)(process.version);
const loaderConfig = {
profile: config?.profile,
logger: clientSharedValues.logger,
};
return {
...clientSharedValues,
...config,
runtime: "node",
defaultsMode,
authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
(0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
region: config?.region ??
(0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
retryMode: config?.retryMode ??
(0, node_config_provider_1.loadConfig)({
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE,
}, config),
sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"),
sigv4aSigningRegionSet: config?.sigv4aSigningRegionSet ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_SIGV4A_CONFIG_OPTIONS, loaderConfig),
streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
};
};
exports.getRuntimeConfig = getRuntimeConfig;
@@ -0,0 +1,15 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getRuntimeConfig = void 0;
const sha256_js_1 = require("@aws-crypto/sha256-js");
const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
const getRuntimeConfig = (config) => {
const browserDefaults = (0, runtimeConfig_browser_1.getRuntimeConfig)(config);
return {
...browserDefaults,
...config,
runtime: "react-native",
sha256: config?.sha256 ?? sha256_js_1.Sha256,
};
};
exports.getRuntimeConfig = getRuntimeConfig;
@@ -0,0 +1,41 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getRuntimeConfig = void 0;
const core_1 = require("@aws-sdk/core");
const signature_v4_multi_region_1 = require("@aws-sdk/signature-v4-multi-region");
const smithy_client_1 = require("@smithy/smithy-client");
const url_parser_1 = require("@smithy/url-parser");
const util_base64_1 = require("@smithy/util-base64");
const util_utf8_1 = require("@smithy/util-utf8");
const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
const endpointResolver_1 = require("./endpoint/endpointResolver");
const getRuntimeConfig = (config) => {
return {
apiVersion: "2019-09-27",
base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64,
base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,
disableHostPrefix: config?.disableHostPrefix ?? false,
endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
extensions: config?.extensions ?? [],
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultSESv2HttpAuthSchemeProvider,
httpAuthSchemes: config?.httpAuthSchemes ?? [
{
schemeId: "aws.auth#sigv4",
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
signer: new core_1.AwsSdkSigV4Signer(),
},
{
schemeId: "aws.auth#sigv4a",
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4a"),
signer: new core_1.AwsSdkSigV4ASigner(),
},
],
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
serviceId: config?.serviceId ?? "SESv2",
signerConstructor: config?.signerConstructor ?? signature_v4_multi_region_1.SignatureV4MultiRegion,
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8,
};
};
exports.getRuntimeConfig = getRuntimeConfig;
+225
View File
@@ -0,0 +1,225 @@
import { createAggregatedClient } from "@smithy/smithy-client";
import { BatchGetMetricDataCommand, } from "./commands/BatchGetMetricDataCommand";
import { CancelExportJobCommand, } from "./commands/CancelExportJobCommand";
import { CreateConfigurationSetCommand, } from "./commands/CreateConfigurationSetCommand";
import { CreateConfigurationSetEventDestinationCommand, } from "./commands/CreateConfigurationSetEventDestinationCommand";
import { CreateContactCommand, } from "./commands/CreateContactCommand";
import { CreateContactListCommand, } from "./commands/CreateContactListCommand";
import { CreateCustomVerificationEmailTemplateCommand, } from "./commands/CreateCustomVerificationEmailTemplateCommand";
import { CreateDedicatedIpPoolCommand, } from "./commands/CreateDedicatedIpPoolCommand";
import { CreateDeliverabilityTestReportCommand, } from "./commands/CreateDeliverabilityTestReportCommand";
import { CreateEmailIdentityCommand, } from "./commands/CreateEmailIdentityCommand";
import { CreateEmailIdentityPolicyCommand, } from "./commands/CreateEmailIdentityPolicyCommand";
import { CreateEmailTemplateCommand, } from "./commands/CreateEmailTemplateCommand";
import { CreateExportJobCommand, } from "./commands/CreateExportJobCommand";
import { CreateImportJobCommand, } from "./commands/CreateImportJobCommand";
import { CreateMultiRegionEndpointCommand, } from "./commands/CreateMultiRegionEndpointCommand";
import { CreateTenantCommand, } from "./commands/CreateTenantCommand";
import { CreateTenantResourceAssociationCommand, } from "./commands/CreateTenantResourceAssociationCommand";
import { DeleteConfigurationSetCommand, } from "./commands/DeleteConfigurationSetCommand";
import { DeleteConfigurationSetEventDestinationCommand, } from "./commands/DeleteConfigurationSetEventDestinationCommand";
import { DeleteContactCommand, } from "./commands/DeleteContactCommand";
import { DeleteContactListCommand, } from "./commands/DeleteContactListCommand";
import { DeleteCustomVerificationEmailTemplateCommand, } from "./commands/DeleteCustomVerificationEmailTemplateCommand";
import { DeleteDedicatedIpPoolCommand, } from "./commands/DeleteDedicatedIpPoolCommand";
import { DeleteEmailIdentityCommand, } from "./commands/DeleteEmailIdentityCommand";
import { DeleteEmailIdentityPolicyCommand, } from "./commands/DeleteEmailIdentityPolicyCommand";
import { DeleteEmailTemplateCommand, } from "./commands/DeleteEmailTemplateCommand";
import { DeleteMultiRegionEndpointCommand, } from "./commands/DeleteMultiRegionEndpointCommand";
import { DeleteSuppressedDestinationCommand, } from "./commands/DeleteSuppressedDestinationCommand";
import { DeleteTenantCommand, } from "./commands/DeleteTenantCommand";
import { DeleteTenantResourceAssociationCommand, } from "./commands/DeleteTenantResourceAssociationCommand";
import { GetAccountCommand } from "./commands/GetAccountCommand";
import { GetBlacklistReportsCommand, } from "./commands/GetBlacklistReportsCommand";
import { GetConfigurationSetCommand, } from "./commands/GetConfigurationSetCommand";
import { GetConfigurationSetEventDestinationsCommand, } from "./commands/GetConfigurationSetEventDestinationsCommand";
import { GetContactCommand } from "./commands/GetContactCommand";
import { GetContactListCommand, } from "./commands/GetContactListCommand";
import { GetCustomVerificationEmailTemplateCommand, } from "./commands/GetCustomVerificationEmailTemplateCommand";
import { GetDedicatedIpCommand, } from "./commands/GetDedicatedIpCommand";
import { GetDedicatedIpPoolCommand, } from "./commands/GetDedicatedIpPoolCommand";
import { GetDedicatedIpsCommand, } from "./commands/GetDedicatedIpsCommand";
import { GetDeliverabilityDashboardOptionsCommand, } from "./commands/GetDeliverabilityDashboardOptionsCommand";
import { GetDeliverabilityTestReportCommand, } from "./commands/GetDeliverabilityTestReportCommand";
import { GetDomainDeliverabilityCampaignCommand, } from "./commands/GetDomainDeliverabilityCampaignCommand";
import { GetDomainStatisticsReportCommand, } from "./commands/GetDomainStatisticsReportCommand";
import { GetEmailIdentityCommand, } from "./commands/GetEmailIdentityCommand";
import { GetEmailIdentityPoliciesCommand, } from "./commands/GetEmailIdentityPoliciesCommand";
import { GetEmailTemplateCommand, } from "./commands/GetEmailTemplateCommand";
import { GetExportJobCommand, } from "./commands/GetExportJobCommand";
import { GetImportJobCommand, } from "./commands/GetImportJobCommand";
import { GetMessageInsightsCommand, } from "./commands/GetMessageInsightsCommand";
import { GetMultiRegionEndpointCommand, } from "./commands/GetMultiRegionEndpointCommand";
import { GetReputationEntityCommand, } from "./commands/GetReputationEntityCommand";
import { GetSuppressedDestinationCommand, } from "./commands/GetSuppressedDestinationCommand";
import { GetTenantCommand } from "./commands/GetTenantCommand";
import { ListConfigurationSetsCommand, } from "./commands/ListConfigurationSetsCommand";
import { ListContactListsCommand, } from "./commands/ListContactListsCommand";
import { ListContactsCommand, } from "./commands/ListContactsCommand";
import { ListCustomVerificationEmailTemplatesCommand, } from "./commands/ListCustomVerificationEmailTemplatesCommand";
import { ListDedicatedIpPoolsCommand, } from "./commands/ListDedicatedIpPoolsCommand";
import { ListDeliverabilityTestReportsCommand, } from "./commands/ListDeliverabilityTestReportsCommand";
import { ListDomainDeliverabilityCampaignsCommand, } from "./commands/ListDomainDeliverabilityCampaignsCommand";
import { ListEmailIdentitiesCommand, } from "./commands/ListEmailIdentitiesCommand";
import { ListEmailTemplatesCommand, } from "./commands/ListEmailTemplatesCommand";
import { ListExportJobsCommand, } from "./commands/ListExportJobsCommand";
import { ListImportJobsCommand, } from "./commands/ListImportJobsCommand";
import { ListMultiRegionEndpointsCommand, } from "./commands/ListMultiRegionEndpointsCommand";
import { ListRecommendationsCommand, } from "./commands/ListRecommendationsCommand";
import { ListReputationEntitiesCommand, } from "./commands/ListReputationEntitiesCommand";
import { ListResourceTenantsCommand, } from "./commands/ListResourceTenantsCommand";
import { ListSuppressedDestinationsCommand, } from "./commands/ListSuppressedDestinationsCommand";
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
import { ListTenantResourcesCommand, } from "./commands/ListTenantResourcesCommand";
import { ListTenantsCommand } from "./commands/ListTenantsCommand";
import { PutAccountDedicatedIpWarmupAttributesCommand, } from "./commands/PutAccountDedicatedIpWarmupAttributesCommand";
import { PutAccountDetailsCommand, } from "./commands/PutAccountDetailsCommand";
import { PutAccountSendingAttributesCommand, } from "./commands/PutAccountSendingAttributesCommand";
import { PutAccountSuppressionAttributesCommand, } from "./commands/PutAccountSuppressionAttributesCommand";
import { PutAccountVdmAttributesCommand, } from "./commands/PutAccountVdmAttributesCommand";
import { PutConfigurationSetArchivingOptionsCommand, } from "./commands/PutConfigurationSetArchivingOptionsCommand";
import { PutConfigurationSetDeliveryOptionsCommand, } from "./commands/PutConfigurationSetDeliveryOptionsCommand";
import { PutConfigurationSetReputationOptionsCommand, } from "./commands/PutConfigurationSetReputationOptionsCommand";
import { PutConfigurationSetSendingOptionsCommand, } from "./commands/PutConfigurationSetSendingOptionsCommand";
import { PutConfigurationSetSuppressionOptionsCommand, } from "./commands/PutConfigurationSetSuppressionOptionsCommand";
import { PutConfigurationSetTrackingOptionsCommand, } from "./commands/PutConfigurationSetTrackingOptionsCommand";
import { PutConfigurationSetVdmOptionsCommand, } from "./commands/PutConfigurationSetVdmOptionsCommand";
import { PutDedicatedIpInPoolCommand, } from "./commands/PutDedicatedIpInPoolCommand";
import { PutDedicatedIpPoolScalingAttributesCommand, } from "./commands/PutDedicatedIpPoolScalingAttributesCommand";
import { PutDedicatedIpWarmupAttributesCommand, } from "./commands/PutDedicatedIpWarmupAttributesCommand";
import { PutDeliverabilityDashboardOptionCommand, } from "./commands/PutDeliverabilityDashboardOptionCommand";
import { PutEmailIdentityConfigurationSetAttributesCommand, } from "./commands/PutEmailIdentityConfigurationSetAttributesCommand";
import { PutEmailIdentityDkimAttributesCommand, } from "./commands/PutEmailIdentityDkimAttributesCommand";
import { PutEmailIdentityDkimSigningAttributesCommand, } from "./commands/PutEmailIdentityDkimSigningAttributesCommand";
import { PutEmailIdentityFeedbackAttributesCommand, } from "./commands/PutEmailIdentityFeedbackAttributesCommand";
import { PutEmailIdentityMailFromAttributesCommand, } from "./commands/PutEmailIdentityMailFromAttributesCommand";
import { PutSuppressedDestinationCommand, } from "./commands/PutSuppressedDestinationCommand";
import { SendBulkEmailCommand, } from "./commands/SendBulkEmailCommand";
import { SendCustomVerificationEmailCommand, } from "./commands/SendCustomVerificationEmailCommand";
import { SendEmailCommand } from "./commands/SendEmailCommand";
import { TagResourceCommand } from "./commands/TagResourceCommand";
import { TestRenderEmailTemplateCommand, } from "./commands/TestRenderEmailTemplateCommand";
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
import { UpdateConfigurationSetEventDestinationCommand, } from "./commands/UpdateConfigurationSetEventDestinationCommand";
import { UpdateContactCommand, } from "./commands/UpdateContactCommand";
import { UpdateContactListCommand, } from "./commands/UpdateContactListCommand";
import { UpdateCustomVerificationEmailTemplateCommand, } from "./commands/UpdateCustomVerificationEmailTemplateCommand";
import { UpdateEmailIdentityPolicyCommand, } from "./commands/UpdateEmailIdentityPolicyCommand";
import { UpdateEmailTemplateCommand, } from "./commands/UpdateEmailTemplateCommand";
import { UpdateReputationEntityCustomerManagedStatusCommand, } from "./commands/UpdateReputationEntityCustomerManagedStatusCommand";
import { UpdateReputationEntityPolicyCommand, } from "./commands/UpdateReputationEntityPolicyCommand";
import { SESv2Client } from "./SESv2Client";
const commands = {
BatchGetMetricDataCommand,
CancelExportJobCommand,
CreateConfigurationSetCommand,
CreateConfigurationSetEventDestinationCommand,
CreateContactCommand,
CreateContactListCommand,
CreateCustomVerificationEmailTemplateCommand,
CreateDedicatedIpPoolCommand,
CreateDeliverabilityTestReportCommand,
CreateEmailIdentityCommand,
CreateEmailIdentityPolicyCommand,
CreateEmailTemplateCommand,
CreateExportJobCommand,
CreateImportJobCommand,
CreateMultiRegionEndpointCommand,
CreateTenantCommand,
CreateTenantResourceAssociationCommand,
DeleteConfigurationSetCommand,
DeleteConfigurationSetEventDestinationCommand,
DeleteContactCommand,
DeleteContactListCommand,
DeleteCustomVerificationEmailTemplateCommand,
DeleteDedicatedIpPoolCommand,
DeleteEmailIdentityCommand,
DeleteEmailIdentityPolicyCommand,
DeleteEmailTemplateCommand,
DeleteMultiRegionEndpointCommand,
DeleteSuppressedDestinationCommand,
DeleteTenantCommand,
DeleteTenantResourceAssociationCommand,
GetAccountCommand,
GetBlacklistReportsCommand,
GetConfigurationSetCommand,
GetConfigurationSetEventDestinationsCommand,
GetContactCommand,
GetContactListCommand,
GetCustomVerificationEmailTemplateCommand,
GetDedicatedIpCommand,
GetDedicatedIpPoolCommand,
GetDedicatedIpsCommand,
GetDeliverabilityDashboardOptionsCommand,
GetDeliverabilityTestReportCommand,
GetDomainDeliverabilityCampaignCommand,
GetDomainStatisticsReportCommand,
GetEmailIdentityCommand,
GetEmailIdentityPoliciesCommand,
GetEmailTemplateCommand,
GetExportJobCommand,
GetImportJobCommand,
GetMessageInsightsCommand,
GetMultiRegionEndpointCommand,
GetReputationEntityCommand,
GetSuppressedDestinationCommand,
GetTenantCommand,
ListConfigurationSetsCommand,
ListContactListsCommand,
ListContactsCommand,
ListCustomVerificationEmailTemplatesCommand,
ListDedicatedIpPoolsCommand,
ListDeliverabilityTestReportsCommand,
ListDomainDeliverabilityCampaignsCommand,
ListEmailIdentitiesCommand,
ListEmailTemplatesCommand,
ListExportJobsCommand,
ListImportJobsCommand,
ListMultiRegionEndpointsCommand,
ListRecommendationsCommand,
ListReputationEntitiesCommand,
ListResourceTenantsCommand,
ListSuppressedDestinationsCommand,
ListTagsForResourceCommand,
ListTenantResourcesCommand,
ListTenantsCommand,
PutAccountDedicatedIpWarmupAttributesCommand,
PutAccountDetailsCommand,
PutAccountSendingAttributesCommand,
PutAccountSuppressionAttributesCommand,
PutAccountVdmAttributesCommand,
PutConfigurationSetArchivingOptionsCommand,
PutConfigurationSetDeliveryOptionsCommand,
PutConfigurationSetReputationOptionsCommand,
PutConfigurationSetSendingOptionsCommand,
PutConfigurationSetSuppressionOptionsCommand,
PutConfigurationSetTrackingOptionsCommand,
PutConfigurationSetVdmOptionsCommand,
PutDedicatedIpInPoolCommand,
PutDedicatedIpPoolScalingAttributesCommand,
PutDedicatedIpWarmupAttributesCommand,
PutDeliverabilityDashboardOptionCommand,
PutEmailIdentityConfigurationSetAttributesCommand,
PutEmailIdentityDkimAttributesCommand,
PutEmailIdentityDkimSigningAttributesCommand,
PutEmailIdentityFeedbackAttributesCommand,
PutEmailIdentityMailFromAttributesCommand,
PutSuppressedDestinationCommand,
SendBulkEmailCommand,
SendCustomVerificationEmailCommand,
SendEmailCommand,
TagResourceCommand,
TestRenderEmailTemplateCommand,
UntagResourceCommand,
UpdateConfigurationSetEventDestinationCommand,
UpdateContactCommand,
UpdateContactListCommand,
UpdateCustomVerificationEmailTemplateCommand,
UpdateEmailIdentityPolicyCommand,
UpdateEmailTemplateCommand,
UpdateReputationEntityCustomerManagedStatusCommand,
UpdateReputationEntityPolicyCommand,
};
export class SESv2 extends SESv2Client {
}
createAggregatedClient(commands, SESv2);
@@ -0,0 +1,49 @@
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
import { resolveRegionConfig } from "@smithy/config-resolver";
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
import { Client as __Client, } from "@smithy/smithy-client";
import { defaultSESv2HttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
import { resolveRuntimeExtensions } from "./runtimeExtensions";
export { __Client };
export class SESv2Client extends __Client {
config;
constructor(...[configuration]) {
const _config_0 = __getRuntimeConfig(configuration || {});
super(_config_0);
this.initConfig = _config_0;
const _config_1 = resolveClientEndpointParameters(_config_0);
const _config_2 = resolveUserAgentConfig(_config_1);
const _config_3 = resolveRetryConfig(_config_2);
const _config_4 = resolveRegionConfig(_config_3);
const _config_5 = resolveHostHeaderConfig(_config_4);
const _config_6 = resolveEndpointConfig(_config_5);
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
this.config = _config_8;
this.middlewareStack.use(getUserAgentPlugin(this.config));
this.middlewareStack.use(getRetryPlugin(this.config));
this.middlewareStack.use(getContentLengthPlugin(this.config));
this.middlewareStack.use(getHostHeaderPlugin(this.config));
this.middlewareStack.use(getLoggerPlugin(this.config));
this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
httpAuthSchemeParametersProvider: defaultSESv2HttpAuthSchemeParametersProvider,
identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({
"aws.auth#sigv4": config.credentials,
"aws.auth#sigv4a": config.credentials,
}),
}));
this.middlewareStack.use(getHttpSigningPlugin(this.config));
}
destroy() {
super.destroy();
}
}
@@ -0,0 +1,38 @@
export const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
let _credentials = runtimeConfig.credentials;
return {
setHttpAuthScheme(httpAuthScheme) {
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
if (index === -1) {
_httpAuthSchemes.push(httpAuthScheme);
}
else {
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
}
},
httpAuthSchemes() {
return _httpAuthSchemes;
},
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
_httpAuthSchemeProvider = httpAuthSchemeProvider;
},
httpAuthSchemeProvider() {
return _httpAuthSchemeProvider;
},
setCredentials(credentials) {
_credentials = credentials;
},
credentials() {
return _credentials;
},
};
};
export const resolveHttpAuthRuntimeConfig = (config) => {
return {
httpAuthSchemes: config.httpAuthSchemes(),
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
credentials: config.credentials(),
};
};
@@ -0,0 +1,123 @@
import { resolveAwsSdkSigV4AConfig, resolveAwsSdkSigV4Config, } from "@aws-sdk/core";
import { SignatureV4MultiRegion } from "@aws-sdk/signature-v4-multi-region";
import { resolveParams } from "@smithy/middleware-endpoint";
import { getSmithyContext, normalizeProvider } from "@smithy/util-middleware";
import { defaultEndpointResolver } from "../endpoint/endpointResolver";
const createEndpointRuleSetHttpAuthSchemeParametersProvider = (defaultHttpAuthSchemeParametersProvider) => async (config, context, input) => {
if (!input) {
throw new Error(`Could not find \`input\` for \`defaultEndpointRuleSetHttpAuthSchemeParametersProvider\``);
}
const defaultParameters = await defaultHttpAuthSchemeParametersProvider(config, context, input);
const instructionsFn = getSmithyContext(context)?.commandInstance?.constructor
?.getEndpointParameterInstructions;
if (!instructionsFn) {
throw new Error(`getEndpointParameterInstructions() is not defined on \`${context.commandName}\``);
}
const endpointParameters = await resolveParams(input, { getEndpointParameterInstructions: instructionsFn }, config);
return Object.assign(defaultParameters, endpointParameters);
};
const _defaultSESv2HttpAuthSchemeParametersProvider = async (config, context, input) => {
return {
operation: getSmithyContext(context).operation,
region: (await normalizeProvider(config.region)()) ||
(() => {
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
})(),
};
};
export const defaultSESv2HttpAuthSchemeParametersProvider = createEndpointRuleSetHttpAuthSchemeParametersProvider(_defaultSESv2HttpAuthSchemeParametersProvider);
function createAwsAuthSigv4HttpAuthOption(authParameters) {
return {
schemeId: "aws.auth#sigv4",
signingProperties: {
name: "ses",
region: authParameters.region,
},
propertiesExtractor: (config, context) => ({
signingProperties: {
config,
context,
},
}),
};
}
function createAwsAuthSigv4aHttpAuthOption(authParameters) {
return {
schemeId: "aws.auth#sigv4a",
signingProperties: {
name: "ses",
region: authParameters.region,
},
propertiesExtractor: (config, context) => ({
signingProperties: {
config,
context,
},
}),
};
}
const createEndpointRuleSetHttpAuthSchemeProvider = (defaultEndpointResolver, defaultHttpAuthSchemeResolver, createHttpAuthOptionFunctions) => {
const endpointRuleSetHttpAuthSchemeProvider = (authParameters) => {
const endpoint = defaultEndpointResolver(authParameters);
const authSchemes = endpoint.properties?.authSchemes;
if (!authSchemes) {
return defaultHttpAuthSchemeResolver(authParameters);
}
const options = [];
for (const scheme of authSchemes) {
const { name: resolvedName, properties = {}, ...rest } = scheme;
const name = resolvedName.toLowerCase();
if (resolvedName !== name) {
console.warn(`HttpAuthScheme has been normalized with lowercasing: \`${resolvedName}\` to \`${name}\``);
}
let schemeId;
if (name === "sigv4a") {
schemeId = "aws.auth#sigv4a";
const sigv4Present = authSchemes.find((s) => {
const name = s.name.toLowerCase();
return name !== "sigv4a" && name.startsWith("sigv4");
});
if (SignatureV4MultiRegion.sigv4aDependency() === "none" && sigv4Present) {
continue;
}
}
else if (name.startsWith("sigv4")) {
schemeId = "aws.auth#sigv4";
}
else {
throw new Error(`Unknown HttpAuthScheme found in \`@smithy.rules#endpointRuleSet\`: \`${name}\``);
}
const createOption = createHttpAuthOptionFunctions[schemeId];
if (!createOption) {
throw new Error(`Could not find HttpAuthOption create function for \`${schemeId}\``);
}
const option = createOption(authParameters);
option.schemeId = schemeId;
option.signingProperties = { ...(option.signingProperties || {}), ...rest, ...properties };
options.push(option);
}
return options;
};
return endpointRuleSetHttpAuthSchemeProvider;
};
const _defaultSESv2HttpAuthSchemeProvider = (authParameters) => {
const options = [];
switch (authParameters.operation) {
default: {
options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
options.push(createAwsAuthSigv4aHttpAuthOption(authParameters));
}
}
return options;
};
export const defaultSESv2HttpAuthSchemeProvider = createEndpointRuleSetHttpAuthSchemeProvider(defaultEndpointResolver, _defaultSESv2HttpAuthSchemeProvider, {
"aws.auth#sigv4": createAwsAuthSigv4HttpAuthOption,
"aws.auth#sigv4a": createAwsAuthSigv4aHttpAuthOption,
});
export const resolveHttpAuthSchemeConfig = (config) => {
const config_0 = resolveAwsSdkSigV4Config(config);
const config_1 = resolveAwsSdkSigV4AConfig(config_0);
return Object.assign(config_1, {
authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
});
};
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_BatchGetMetricDataCommand, se_BatchGetMetricDataCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class BatchGetMetricDataCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "BatchGetMetricData", {})
.n("SESv2Client", "BatchGetMetricDataCommand")
.f(void 0, void 0)
.ser(se_BatchGetMetricDataCommand)
.de(de_BatchGetMetricDataCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_CancelExportJobCommand, se_CancelExportJobCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class CancelExportJobCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "CancelExportJob", {})
.n("SESv2Client", "CancelExportJobCommand")
.f(void 0, void 0)
.ser(se_CancelExportJobCommand)
.de(de_CancelExportJobCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_CreateConfigurationSetCommand, se_CreateConfigurationSetCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class CreateConfigurationSetCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "CreateConfigurationSet", {})
.n("SESv2Client", "CreateConfigurationSetCommand")
.f(void 0, void 0)
.ser(se_CreateConfigurationSetCommand)
.de(de_CreateConfigurationSetCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_CreateConfigurationSetEventDestinationCommand, se_CreateConfigurationSetEventDestinationCommand, } from "../protocols/Aws_restJson1";
export { $Command };
export class CreateConfigurationSetEventDestinationCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "CreateConfigurationSetEventDestination", {})
.n("SESv2Client", "CreateConfigurationSetEventDestinationCommand")
.f(void 0, void 0)
.ser(se_CreateConfigurationSetEventDestinationCommand)
.de(de_CreateConfigurationSetEventDestinationCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_CreateContactCommand, se_CreateContactCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class CreateContactCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "CreateContact", {})
.n("SESv2Client", "CreateContactCommand")
.f(void 0, void 0)
.ser(se_CreateContactCommand)
.de(de_CreateContactCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_CreateContactListCommand, se_CreateContactListCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class CreateContactListCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "CreateContactList", {})
.n("SESv2Client", "CreateContactListCommand")
.f(void 0, void 0)
.ser(se_CreateContactListCommand)
.de(de_CreateContactListCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_CreateCustomVerificationEmailTemplateCommand, se_CreateCustomVerificationEmailTemplateCommand, } from "../protocols/Aws_restJson1";
export { $Command };
export class CreateCustomVerificationEmailTemplateCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "CreateCustomVerificationEmailTemplate", {})
.n("SESv2Client", "CreateCustomVerificationEmailTemplateCommand")
.f(void 0, void 0)
.ser(se_CreateCustomVerificationEmailTemplateCommand)
.de(de_CreateCustomVerificationEmailTemplateCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_CreateDedicatedIpPoolCommand, se_CreateDedicatedIpPoolCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class CreateDedicatedIpPoolCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "CreateDedicatedIpPool", {})
.n("SESv2Client", "CreateDedicatedIpPoolCommand")
.f(void 0, void 0)
.ser(se_CreateDedicatedIpPoolCommand)
.de(de_CreateDedicatedIpPoolCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_CreateDeliverabilityTestReportCommand, se_CreateDeliverabilityTestReportCommand, } from "../protocols/Aws_restJson1";
export { $Command };
export class CreateDeliverabilityTestReportCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "CreateDeliverabilityTestReport", {})
.n("SESv2Client", "CreateDeliverabilityTestReportCommand")
.f(void 0, void 0)
.ser(se_CreateDeliverabilityTestReportCommand)
.de(de_CreateDeliverabilityTestReportCommand)
.build() {
}
@@ -0,0 +1,23 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { CreateEmailIdentityRequestFilterSensitiveLog, } from "../models/models_0";
import { de_CreateEmailIdentityCommand, se_CreateEmailIdentityCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class CreateEmailIdentityCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "CreateEmailIdentity", {})
.n("SESv2Client", "CreateEmailIdentityCommand")
.f(CreateEmailIdentityRequestFilterSensitiveLog, void 0)
.ser(se_CreateEmailIdentityCommand)
.de(de_CreateEmailIdentityCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_CreateEmailIdentityPolicyCommand, se_CreateEmailIdentityPolicyCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class CreateEmailIdentityPolicyCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "CreateEmailIdentityPolicy", {})
.n("SESv2Client", "CreateEmailIdentityPolicyCommand")
.f(void 0, void 0)
.ser(se_CreateEmailIdentityPolicyCommand)
.de(de_CreateEmailIdentityPolicyCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_CreateEmailTemplateCommand, se_CreateEmailTemplateCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class CreateEmailTemplateCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "CreateEmailTemplate", {})
.n("SESv2Client", "CreateEmailTemplateCommand")
.f(void 0, void 0)
.ser(se_CreateEmailTemplateCommand)
.de(de_CreateEmailTemplateCommand)
.build() {
}
@@ -0,0 +1,23 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { CreateExportJobRequestFilterSensitiveLog, } from "../models/models_0";
import { de_CreateExportJobCommand, se_CreateExportJobCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class CreateExportJobCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "CreateExportJob", {})
.n("SESv2Client", "CreateExportJobCommand")
.f(CreateExportJobRequestFilterSensitiveLog, void 0)
.ser(se_CreateExportJobCommand)
.de(de_CreateExportJobCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_CreateImportJobCommand, se_CreateImportJobCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class CreateImportJobCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "CreateImportJob", {})
.n("SESv2Client", "CreateImportJobCommand")
.f(void 0, void 0)
.ser(se_CreateImportJobCommand)
.de(de_CreateImportJobCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_CreateMultiRegionEndpointCommand, se_CreateMultiRegionEndpointCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class CreateMultiRegionEndpointCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "CreateMultiRegionEndpoint", {})
.n("SESv2Client", "CreateMultiRegionEndpointCommand")
.f(void 0, void 0)
.ser(se_CreateMultiRegionEndpointCommand)
.de(de_CreateMultiRegionEndpointCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_CreateTenantCommand, se_CreateTenantCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class CreateTenantCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "CreateTenant", {})
.n("SESv2Client", "CreateTenantCommand")
.f(void 0, void 0)
.ser(se_CreateTenantCommand)
.de(de_CreateTenantCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_CreateTenantResourceAssociationCommand, se_CreateTenantResourceAssociationCommand, } from "../protocols/Aws_restJson1";
export { $Command };
export class CreateTenantResourceAssociationCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "CreateTenantResourceAssociation", {})
.n("SESv2Client", "CreateTenantResourceAssociationCommand")
.f(void 0, void 0)
.ser(se_CreateTenantResourceAssociationCommand)
.de(de_CreateTenantResourceAssociationCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_DeleteConfigurationSetCommand, se_DeleteConfigurationSetCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class DeleteConfigurationSetCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "DeleteConfigurationSet", {})
.n("SESv2Client", "DeleteConfigurationSetCommand")
.f(void 0, void 0)
.ser(se_DeleteConfigurationSetCommand)
.de(de_DeleteConfigurationSetCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_DeleteConfigurationSetEventDestinationCommand, se_DeleteConfigurationSetEventDestinationCommand, } from "../protocols/Aws_restJson1";
export { $Command };
export class DeleteConfigurationSetEventDestinationCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "DeleteConfigurationSetEventDestination", {})
.n("SESv2Client", "DeleteConfigurationSetEventDestinationCommand")
.f(void 0, void 0)
.ser(se_DeleteConfigurationSetEventDestinationCommand)
.de(de_DeleteConfigurationSetEventDestinationCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_DeleteContactCommand, se_DeleteContactCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class DeleteContactCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "DeleteContact", {})
.n("SESv2Client", "DeleteContactCommand")
.f(void 0, void 0)
.ser(se_DeleteContactCommand)
.de(de_DeleteContactCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_DeleteContactListCommand, se_DeleteContactListCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class DeleteContactListCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "DeleteContactList", {})
.n("SESv2Client", "DeleteContactListCommand")
.f(void 0, void 0)
.ser(se_DeleteContactListCommand)
.de(de_DeleteContactListCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_DeleteCustomVerificationEmailTemplateCommand, se_DeleteCustomVerificationEmailTemplateCommand, } from "../protocols/Aws_restJson1";
export { $Command };
export class DeleteCustomVerificationEmailTemplateCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "DeleteCustomVerificationEmailTemplate", {})
.n("SESv2Client", "DeleteCustomVerificationEmailTemplateCommand")
.f(void 0, void 0)
.ser(se_DeleteCustomVerificationEmailTemplateCommand)
.de(de_DeleteCustomVerificationEmailTemplateCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_DeleteDedicatedIpPoolCommand, se_DeleteDedicatedIpPoolCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class DeleteDedicatedIpPoolCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "DeleteDedicatedIpPool", {})
.n("SESv2Client", "DeleteDedicatedIpPoolCommand")
.f(void 0, void 0)
.ser(se_DeleteDedicatedIpPoolCommand)
.de(de_DeleteDedicatedIpPoolCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_DeleteEmailIdentityCommand, se_DeleteEmailIdentityCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class DeleteEmailIdentityCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "DeleteEmailIdentity", {})
.n("SESv2Client", "DeleteEmailIdentityCommand")
.f(void 0, void 0)
.ser(se_DeleteEmailIdentityCommand)
.de(de_DeleteEmailIdentityCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_DeleteEmailIdentityPolicyCommand, se_DeleteEmailIdentityPolicyCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class DeleteEmailIdentityPolicyCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "DeleteEmailIdentityPolicy", {})
.n("SESv2Client", "DeleteEmailIdentityPolicyCommand")
.f(void 0, void 0)
.ser(se_DeleteEmailIdentityPolicyCommand)
.de(de_DeleteEmailIdentityPolicyCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_DeleteEmailTemplateCommand, se_DeleteEmailTemplateCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class DeleteEmailTemplateCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "DeleteEmailTemplate", {})
.n("SESv2Client", "DeleteEmailTemplateCommand")
.f(void 0, void 0)
.ser(se_DeleteEmailTemplateCommand)
.de(de_DeleteEmailTemplateCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_DeleteMultiRegionEndpointCommand, se_DeleteMultiRegionEndpointCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class DeleteMultiRegionEndpointCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "DeleteMultiRegionEndpoint", {})
.n("SESv2Client", "DeleteMultiRegionEndpointCommand")
.f(void 0, void 0)
.ser(se_DeleteMultiRegionEndpointCommand)
.de(de_DeleteMultiRegionEndpointCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_DeleteSuppressedDestinationCommand, se_DeleteSuppressedDestinationCommand, } from "../protocols/Aws_restJson1";
export { $Command };
export class DeleteSuppressedDestinationCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "DeleteSuppressedDestination", {})
.n("SESv2Client", "DeleteSuppressedDestinationCommand")
.f(void 0, void 0)
.ser(se_DeleteSuppressedDestinationCommand)
.de(de_DeleteSuppressedDestinationCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_DeleteTenantCommand, se_DeleteTenantCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class DeleteTenantCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "DeleteTenant", {})
.n("SESv2Client", "DeleteTenantCommand")
.f(void 0, void 0)
.ser(se_DeleteTenantCommand)
.de(de_DeleteTenantCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_DeleteTenantResourceAssociationCommand, se_DeleteTenantResourceAssociationCommand, } from "../protocols/Aws_restJson1";
export { $Command };
export class DeleteTenantResourceAssociationCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "DeleteTenantResourceAssociation", {})
.n("SESv2Client", "DeleteTenantResourceAssociationCommand")
.f(void 0, void 0)
.ser(se_DeleteTenantResourceAssociationCommand)
.de(de_DeleteTenantResourceAssociationCommand)
.build() {
}
@@ -0,0 +1,23 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { GetAccountResponseFilterSensitiveLog } from "../models/models_0";
import { de_GetAccountCommand, se_GetAccountCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class GetAccountCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "GetAccount", {})
.n("SESv2Client", "GetAccountCommand")
.f(void 0, GetAccountResponseFilterSensitiveLog)
.ser(se_GetAccountCommand)
.de(de_GetAccountCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_GetBlacklistReportsCommand, se_GetBlacklistReportsCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class GetBlacklistReportsCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "GetBlacklistReports", {})
.n("SESv2Client", "GetBlacklistReportsCommand")
.f(void 0, void 0)
.ser(se_GetBlacklistReportsCommand)
.de(de_GetBlacklistReportsCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_GetConfigurationSetCommand, se_GetConfigurationSetCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class GetConfigurationSetCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "GetConfigurationSet", {})
.n("SESv2Client", "GetConfigurationSetCommand")
.f(void 0, void 0)
.ser(se_GetConfigurationSetCommand)
.de(de_GetConfigurationSetCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_GetConfigurationSetEventDestinationsCommand, se_GetConfigurationSetEventDestinationsCommand, } from "../protocols/Aws_restJson1";
export { $Command };
export class GetConfigurationSetEventDestinationsCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "GetConfigurationSetEventDestinations", {})
.n("SESv2Client", "GetConfigurationSetEventDestinationsCommand")
.f(void 0, void 0)
.ser(se_GetConfigurationSetEventDestinationsCommand)
.de(de_GetConfigurationSetEventDestinationsCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_GetContactCommand, se_GetContactCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class GetContactCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "GetContact", {})
.n("SESv2Client", "GetContactCommand")
.f(void 0, void 0)
.ser(se_GetContactCommand)
.de(de_GetContactCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_GetContactListCommand, se_GetContactListCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class GetContactListCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "GetContactList", {})
.n("SESv2Client", "GetContactListCommand")
.f(void 0, void 0)
.ser(se_GetContactListCommand)
.de(de_GetContactListCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_GetCustomVerificationEmailTemplateCommand, se_GetCustomVerificationEmailTemplateCommand, } from "../protocols/Aws_restJson1";
export { $Command };
export class GetCustomVerificationEmailTemplateCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "GetCustomVerificationEmailTemplate", {})
.n("SESv2Client", "GetCustomVerificationEmailTemplateCommand")
.f(void 0, void 0)
.ser(se_GetCustomVerificationEmailTemplateCommand)
.de(de_GetCustomVerificationEmailTemplateCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_GetDedicatedIpCommand, se_GetDedicatedIpCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class GetDedicatedIpCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "GetDedicatedIp", {})
.n("SESv2Client", "GetDedicatedIpCommand")
.f(void 0, void 0)
.ser(se_GetDedicatedIpCommand)
.de(de_GetDedicatedIpCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_GetDedicatedIpPoolCommand, se_GetDedicatedIpPoolCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class GetDedicatedIpPoolCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "GetDedicatedIpPool", {})
.n("SESv2Client", "GetDedicatedIpPoolCommand")
.f(void 0, void 0)
.ser(se_GetDedicatedIpPoolCommand)
.de(de_GetDedicatedIpPoolCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_GetDedicatedIpsCommand, se_GetDedicatedIpsCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class GetDedicatedIpsCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "GetDedicatedIps", {})
.n("SESv2Client", "GetDedicatedIpsCommand")
.f(void 0, void 0)
.ser(se_GetDedicatedIpsCommand)
.de(de_GetDedicatedIpsCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_GetDeliverabilityDashboardOptionsCommand, se_GetDeliverabilityDashboardOptionsCommand, } from "../protocols/Aws_restJson1";
export { $Command };
export class GetDeliverabilityDashboardOptionsCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "GetDeliverabilityDashboardOptions", {})
.n("SESv2Client", "GetDeliverabilityDashboardOptionsCommand")
.f(void 0, void 0)
.ser(se_GetDeliverabilityDashboardOptionsCommand)
.de(de_GetDeliverabilityDashboardOptionsCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_GetDeliverabilityTestReportCommand, se_GetDeliverabilityTestReportCommand, } from "../protocols/Aws_restJson1";
export { $Command };
export class GetDeliverabilityTestReportCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "GetDeliverabilityTestReport", {})
.n("SESv2Client", "GetDeliverabilityTestReportCommand")
.f(void 0, void 0)
.ser(se_GetDeliverabilityTestReportCommand)
.de(de_GetDeliverabilityTestReportCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_GetDomainDeliverabilityCampaignCommand, se_GetDomainDeliverabilityCampaignCommand, } from "../protocols/Aws_restJson1";
export { $Command };
export class GetDomainDeliverabilityCampaignCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "GetDomainDeliverabilityCampaign", {})
.n("SESv2Client", "GetDomainDeliverabilityCampaignCommand")
.f(void 0, void 0)
.ser(se_GetDomainDeliverabilityCampaignCommand)
.de(de_GetDomainDeliverabilityCampaignCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_GetDomainStatisticsReportCommand, se_GetDomainStatisticsReportCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class GetDomainStatisticsReportCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "GetDomainStatisticsReport", {})
.n("SESv2Client", "GetDomainStatisticsReportCommand")
.f(void 0, void 0)
.ser(se_GetDomainStatisticsReportCommand)
.de(de_GetDomainStatisticsReportCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_GetEmailIdentityCommand, se_GetEmailIdentityCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class GetEmailIdentityCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "GetEmailIdentity", {})
.n("SESv2Client", "GetEmailIdentityCommand")
.f(void 0, void 0)
.ser(se_GetEmailIdentityCommand)
.de(de_GetEmailIdentityCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_GetEmailIdentityPoliciesCommand, se_GetEmailIdentityPoliciesCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class GetEmailIdentityPoliciesCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "GetEmailIdentityPolicies", {})
.n("SESv2Client", "GetEmailIdentityPoliciesCommand")
.f(void 0, void 0)
.ser(se_GetEmailIdentityPoliciesCommand)
.de(de_GetEmailIdentityPoliciesCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_GetEmailTemplateCommand, se_GetEmailTemplateCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class GetEmailTemplateCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "GetEmailTemplate", {})
.n("SESv2Client", "GetEmailTemplateCommand")
.f(void 0, void 0)
.ser(se_GetEmailTemplateCommand)
.de(de_GetEmailTemplateCommand)
.build() {
}
@@ -0,0 +1,23 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { GetExportJobResponseFilterSensitiveLog } from "../models/models_0";
import { de_GetExportJobCommand, se_GetExportJobCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class GetExportJobCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "GetExportJob", {})
.n("SESv2Client", "GetExportJobCommand")
.f(void 0, GetExportJobResponseFilterSensitiveLog)
.ser(se_GetExportJobCommand)
.de(de_GetExportJobCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_GetImportJobCommand, se_GetImportJobCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class GetImportJobCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "GetImportJob", {})
.n("SESv2Client", "GetImportJobCommand")
.f(void 0, void 0)
.ser(se_GetImportJobCommand)
.de(de_GetImportJobCommand)
.build() {
}
@@ -0,0 +1,23 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { GetMessageInsightsResponseFilterSensitiveLog, } from "../models/models_0";
import { de_GetMessageInsightsCommand, se_GetMessageInsightsCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class GetMessageInsightsCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "GetMessageInsights", {})
.n("SESv2Client", "GetMessageInsightsCommand")
.f(void 0, GetMessageInsightsResponseFilterSensitiveLog)
.ser(se_GetMessageInsightsCommand)
.de(de_GetMessageInsightsCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_GetMultiRegionEndpointCommand, se_GetMultiRegionEndpointCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class GetMultiRegionEndpointCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "GetMultiRegionEndpoint", {})
.n("SESv2Client", "GetMultiRegionEndpointCommand")
.f(void 0, void 0)
.ser(se_GetMultiRegionEndpointCommand)
.de(de_GetMultiRegionEndpointCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_GetReputationEntityCommand, se_GetReputationEntityCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class GetReputationEntityCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "GetReputationEntity", {})
.n("SESv2Client", "GetReputationEntityCommand")
.f(void 0, void 0)
.ser(se_GetReputationEntityCommand)
.de(de_GetReputationEntityCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_GetSuppressedDestinationCommand, se_GetSuppressedDestinationCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class GetSuppressedDestinationCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "GetSuppressedDestination", {})
.n("SESv2Client", "GetSuppressedDestinationCommand")
.f(void 0, void 0)
.ser(se_GetSuppressedDestinationCommand)
.de(de_GetSuppressedDestinationCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_GetTenantCommand, se_GetTenantCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class GetTenantCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "GetTenant", {})
.n("SESv2Client", "GetTenantCommand")
.f(void 0, void 0)
.ser(se_GetTenantCommand)
.de(de_GetTenantCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_ListConfigurationSetsCommand, se_ListConfigurationSetsCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class ListConfigurationSetsCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "ListConfigurationSets", {})
.n("SESv2Client", "ListConfigurationSetsCommand")
.f(void 0, void 0)
.ser(se_ListConfigurationSetsCommand)
.de(de_ListConfigurationSetsCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_ListContactListsCommand, se_ListContactListsCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class ListContactListsCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "ListContactLists", {})
.n("SESv2Client", "ListContactListsCommand")
.f(void 0, void 0)
.ser(se_ListContactListsCommand)
.de(de_ListContactListsCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_ListContactsCommand, se_ListContactsCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class ListContactsCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "ListContacts", {})
.n("SESv2Client", "ListContactsCommand")
.f(void 0, void 0)
.ser(se_ListContactsCommand)
.de(de_ListContactsCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_ListCustomVerificationEmailTemplatesCommand, se_ListCustomVerificationEmailTemplatesCommand, } from "../protocols/Aws_restJson1";
export { $Command };
export class ListCustomVerificationEmailTemplatesCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "ListCustomVerificationEmailTemplates", {})
.n("SESv2Client", "ListCustomVerificationEmailTemplatesCommand")
.f(void 0, void 0)
.ser(se_ListCustomVerificationEmailTemplatesCommand)
.de(de_ListCustomVerificationEmailTemplatesCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_ListDedicatedIpPoolsCommand, se_ListDedicatedIpPoolsCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class ListDedicatedIpPoolsCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "ListDedicatedIpPools", {})
.n("SESv2Client", "ListDedicatedIpPoolsCommand")
.f(void 0, void 0)
.ser(se_ListDedicatedIpPoolsCommand)
.de(de_ListDedicatedIpPoolsCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_ListDeliverabilityTestReportsCommand, se_ListDeliverabilityTestReportsCommand, } from "../protocols/Aws_restJson1";
export { $Command };
export class ListDeliverabilityTestReportsCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "ListDeliverabilityTestReports", {})
.n("SESv2Client", "ListDeliverabilityTestReportsCommand")
.f(void 0, void 0)
.ser(se_ListDeliverabilityTestReportsCommand)
.de(de_ListDeliverabilityTestReportsCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_ListDomainDeliverabilityCampaignsCommand, se_ListDomainDeliverabilityCampaignsCommand, } from "../protocols/Aws_restJson1";
export { $Command };
export class ListDomainDeliverabilityCampaignsCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "ListDomainDeliverabilityCampaigns", {})
.n("SESv2Client", "ListDomainDeliverabilityCampaignsCommand")
.f(void 0, void 0)
.ser(se_ListDomainDeliverabilityCampaignsCommand)
.de(de_ListDomainDeliverabilityCampaignsCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_ListEmailIdentitiesCommand, se_ListEmailIdentitiesCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class ListEmailIdentitiesCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "ListEmailIdentities", {})
.n("SESv2Client", "ListEmailIdentitiesCommand")
.f(void 0, void 0)
.ser(se_ListEmailIdentitiesCommand)
.de(de_ListEmailIdentitiesCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_ListEmailTemplatesCommand, se_ListEmailTemplatesCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class ListEmailTemplatesCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "ListEmailTemplates", {})
.n("SESv2Client", "ListEmailTemplatesCommand")
.f(void 0, void 0)
.ser(se_ListEmailTemplatesCommand)
.de(de_ListEmailTemplatesCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_ListExportJobsCommand, se_ListExportJobsCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class ListExportJobsCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "ListExportJobs", {})
.n("SESv2Client", "ListExportJobsCommand")
.f(void 0, void 0)
.ser(se_ListExportJobsCommand)
.de(de_ListExportJobsCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_ListImportJobsCommand, se_ListImportJobsCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class ListImportJobsCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "ListImportJobs", {})
.n("SESv2Client", "ListImportJobsCommand")
.f(void 0, void 0)
.ser(se_ListImportJobsCommand)
.de(de_ListImportJobsCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_ListMultiRegionEndpointsCommand, se_ListMultiRegionEndpointsCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class ListMultiRegionEndpointsCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "ListMultiRegionEndpoints", {})
.n("SESv2Client", "ListMultiRegionEndpointsCommand")
.f(void 0, void 0)
.ser(se_ListMultiRegionEndpointsCommand)
.de(de_ListMultiRegionEndpointsCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_ListRecommendationsCommand, se_ListRecommendationsCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class ListRecommendationsCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "ListRecommendations", {})
.n("SESv2Client", "ListRecommendationsCommand")
.f(void 0, void 0)
.ser(se_ListRecommendationsCommand)
.de(de_ListRecommendationsCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_ListReputationEntitiesCommand, se_ListReputationEntitiesCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class ListReputationEntitiesCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "ListReputationEntities", {})
.n("SESv2Client", "ListReputationEntitiesCommand")
.f(void 0, void 0)
.ser(se_ListReputationEntitiesCommand)
.de(de_ListReputationEntitiesCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_ListResourceTenantsCommand, se_ListResourceTenantsCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class ListResourceTenantsCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "ListResourceTenants", {})
.n("SESv2Client", "ListResourceTenantsCommand")
.f(void 0, void 0)
.ser(se_ListResourceTenantsCommand)
.de(de_ListResourceTenantsCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_ListSuppressedDestinationsCommand, se_ListSuppressedDestinationsCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class ListSuppressedDestinationsCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "ListSuppressedDestinations", {})
.n("SESv2Client", "ListSuppressedDestinationsCommand")
.f(void 0, void 0)
.ser(se_ListSuppressedDestinationsCommand)
.de(de_ListSuppressedDestinationsCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class ListTagsForResourceCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "ListTagsForResource", {})
.n("SESv2Client", "ListTagsForResourceCommand")
.f(void 0, void 0)
.ser(se_ListTagsForResourceCommand)
.de(de_ListTagsForResourceCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_ListTenantResourcesCommand, se_ListTenantResourcesCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class ListTenantResourcesCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "ListTenantResources", {})
.n("SESv2Client", "ListTenantResourcesCommand")
.f(void 0, void 0)
.ser(se_ListTenantResourcesCommand)
.de(de_ListTenantResourcesCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_ListTenantsCommand, se_ListTenantsCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class ListTenantsCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "ListTenants", {})
.n("SESv2Client", "ListTenantsCommand")
.f(void 0, void 0)
.ser(se_ListTenantsCommand)
.de(de_ListTenantsCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_PutAccountDedicatedIpWarmupAttributesCommand, se_PutAccountDedicatedIpWarmupAttributesCommand, } from "../protocols/Aws_restJson1";
export { $Command };
export class PutAccountDedicatedIpWarmupAttributesCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "PutAccountDedicatedIpWarmupAttributes", {})
.n("SESv2Client", "PutAccountDedicatedIpWarmupAttributesCommand")
.f(void 0, void 0)
.ser(se_PutAccountDedicatedIpWarmupAttributesCommand)
.de(de_PutAccountDedicatedIpWarmupAttributesCommand)
.build() {
}
@@ -0,0 +1,23 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { PutAccountDetailsRequestFilterSensitiveLog, } from "../models/models_1";
import { de_PutAccountDetailsCommand, se_PutAccountDetailsCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class PutAccountDetailsCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "PutAccountDetails", {})
.n("SESv2Client", "PutAccountDetailsCommand")
.f(PutAccountDetailsRequestFilterSensitiveLog, void 0)
.ser(se_PutAccountDetailsCommand)
.de(de_PutAccountDetailsCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_PutAccountSendingAttributesCommand, se_PutAccountSendingAttributesCommand, } from "../protocols/Aws_restJson1";
export { $Command };
export class PutAccountSendingAttributesCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "PutAccountSendingAttributes", {})
.n("SESv2Client", "PutAccountSendingAttributesCommand")
.f(void 0, void 0)
.ser(se_PutAccountSendingAttributesCommand)
.de(de_PutAccountSendingAttributesCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_PutAccountSuppressionAttributesCommand, se_PutAccountSuppressionAttributesCommand, } from "../protocols/Aws_restJson1";
export { $Command };
export class PutAccountSuppressionAttributesCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "PutAccountSuppressionAttributes", {})
.n("SESv2Client", "PutAccountSuppressionAttributesCommand")
.f(void 0, void 0)
.ser(se_PutAccountSuppressionAttributesCommand)
.de(de_PutAccountSuppressionAttributesCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_PutAccountVdmAttributesCommand, se_PutAccountVdmAttributesCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class PutAccountVdmAttributesCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "PutAccountVdmAttributes", {})
.n("SESv2Client", "PutAccountVdmAttributesCommand")
.f(void 0, void 0)
.ser(se_PutAccountVdmAttributesCommand)
.de(de_PutAccountVdmAttributesCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_PutConfigurationSetArchivingOptionsCommand, se_PutConfigurationSetArchivingOptionsCommand, } from "../protocols/Aws_restJson1";
export { $Command };
export class PutConfigurationSetArchivingOptionsCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "PutConfigurationSetArchivingOptions", {})
.n("SESv2Client", "PutConfigurationSetArchivingOptionsCommand")
.f(void 0, void 0)
.ser(se_PutConfigurationSetArchivingOptionsCommand)
.de(de_PutConfigurationSetArchivingOptionsCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_PutConfigurationSetDeliveryOptionsCommand, se_PutConfigurationSetDeliveryOptionsCommand, } from "../protocols/Aws_restJson1";
export { $Command };
export class PutConfigurationSetDeliveryOptionsCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "PutConfigurationSetDeliveryOptions", {})
.n("SESv2Client", "PutConfigurationSetDeliveryOptionsCommand")
.f(void 0, void 0)
.ser(se_PutConfigurationSetDeliveryOptionsCommand)
.de(de_PutConfigurationSetDeliveryOptionsCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_PutConfigurationSetReputationOptionsCommand, se_PutConfigurationSetReputationOptionsCommand, } from "../protocols/Aws_restJson1";
export { $Command };
export class PutConfigurationSetReputationOptionsCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "PutConfigurationSetReputationOptions", {})
.n("SESv2Client", "PutConfigurationSetReputationOptionsCommand")
.f(void 0, void 0)
.ser(se_PutConfigurationSetReputationOptionsCommand)
.de(de_PutConfigurationSetReputationOptionsCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_PutConfigurationSetSendingOptionsCommand, se_PutConfigurationSetSendingOptionsCommand, } from "../protocols/Aws_restJson1";
export { $Command };
export class PutConfigurationSetSendingOptionsCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "PutConfigurationSetSendingOptions", {})
.n("SESv2Client", "PutConfigurationSetSendingOptionsCommand")
.f(void 0, void 0)
.ser(se_PutConfigurationSetSendingOptionsCommand)
.de(de_PutConfigurationSetSendingOptionsCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_PutConfigurationSetSuppressionOptionsCommand, se_PutConfigurationSetSuppressionOptionsCommand, } from "../protocols/Aws_restJson1";
export { $Command };
export class PutConfigurationSetSuppressionOptionsCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "PutConfigurationSetSuppressionOptions", {})
.n("SESv2Client", "PutConfigurationSetSuppressionOptionsCommand")
.f(void 0, void 0)
.ser(se_PutConfigurationSetSuppressionOptionsCommand)
.de(de_PutConfigurationSetSuppressionOptionsCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_PutConfigurationSetTrackingOptionsCommand, se_PutConfigurationSetTrackingOptionsCommand, } from "../protocols/Aws_restJson1";
export { $Command };
export class PutConfigurationSetTrackingOptionsCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "PutConfigurationSetTrackingOptions", {})
.n("SESv2Client", "PutConfigurationSetTrackingOptionsCommand")
.f(void 0, void 0)
.ser(se_PutConfigurationSetTrackingOptionsCommand)
.de(de_PutConfigurationSetTrackingOptionsCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_PutConfigurationSetVdmOptionsCommand, se_PutConfigurationSetVdmOptionsCommand, } from "../protocols/Aws_restJson1";
export { $Command };
export class PutConfigurationSetVdmOptionsCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "PutConfigurationSetVdmOptions", {})
.n("SESv2Client", "PutConfigurationSetVdmOptionsCommand")
.f(void 0, void 0)
.ser(se_PutConfigurationSetVdmOptionsCommand)
.de(de_PutConfigurationSetVdmOptionsCommand)
.build() {
}
@@ -0,0 +1,22 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_PutDedicatedIpInPoolCommand, se_PutDedicatedIpInPoolCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class PutDedicatedIpInPoolCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("SimpleEmailService_v2", "PutDedicatedIpInPool", {})
.n("SESv2Client", "PutDedicatedIpInPoolCommand")
.f(void 0, void 0)
.ser(se_PutDedicatedIpInPoolCommand)
.de(de_PutDedicatedIpInPoolCommand)
.build() {
}

Some files were not shown because too many files have changed in this diff Show More