@aws-sdk/client-notificationscontacts 3.893.0 → 3.895.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +1030 -10
- package/package.json +7 -7
- package/dist-cjs/NotificationsContacts.js +0 -29
- package/dist-cjs/NotificationsContactsClient.js +0 -52
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +0 -43
- package/dist-cjs/commands/ActivateEmailContactCommand.js +0 -27
- package/dist-cjs/commands/CreateEmailContactCommand.js +0 -27
- package/dist-cjs/commands/DeleteEmailContactCommand.js +0 -26
- package/dist-cjs/commands/GetEmailContactCommand.js +0 -27
- package/dist-cjs/commands/ListEmailContactsCommand.js +0 -27
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -26
- package/dist-cjs/commands/SendActivationCodeCommand.js +0 -26
- package/dist-cjs/commands/TagResourceCommand.js +0 -26
- package/dist-cjs/commands/UntagResourceCommand.js +0 -26
- package/dist-cjs/commands/index.js +0 -12
- package/dist-cjs/endpoint/EndpointParameters.js +0 -15
- package/dist-cjs/extensionConfiguration.js +0 -2
- package/dist-cjs/models/NotificationsContactsServiceException.js +0 -12
- package/dist-cjs/models/index.js +0 -4
- package/dist-cjs/models/models_0.js +0 -160
- package/dist-cjs/pagination/Interfaces.js +0 -2
- package/dist-cjs/pagination/ListEmailContactsPaginator.js +0 -7
- package/dist-cjs/pagination/index.js +0 -5
- package/dist-cjs/protocols/Aws_restJson1.js +0 -405
- package/dist-cjs/runtimeExtensions.js +0 -13
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-notificationscontacts",
|
|
3
3
|
"description": "AWS SDK for JavaScript Notificationscontacts Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.895.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
|
-
"build:cjs": "
|
|
7
|
+
"build:cjs": "node ../../scripts/compilation/inline client-notificationscontacts",
|
|
8
8
|
"build:es": "tsc -p tsconfig.es.json",
|
|
9
9
|
"build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
|
|
10
10
|
"build:types": "tsc -p tsconfig.types.json",
|
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.894.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.895.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.893.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.893.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.893.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.895.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.893.0",
|
|
30
30
|
"@aws-sdk/types": "3.893.0",
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.895.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.893.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.895.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.2.2",
|
|
35
35
|
"@smithy/core": "^3.11.1",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.2.1",
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.NotificationsContacts = void 0;
|
|
4
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
-
const ActivateEmailContactCommand_1 = require("./commands/ActivateEmailContactCommand");
|
|
6
|
-
const CreateEmailContactCommand_1 = require("./commands/CreateEmailContactCommand");
|
|
7
|
-
const DeleteEmailContactCommand_1 = require("./commands/DeleteEmailContactCommand");
|
|
8
|
-
const GetEmailContactCommand_1 = require("./commands/GetEmailContactCommand");
|
|
9
|
-
const ListEmailContactsCommand_1 = require("./commands/ListEmailContactsCommand");
|
|
10
|
-
const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
|
|
11
|
-
const SendActivationCodeCommand_1 = require("./commands/SendActivationCodeCommand");
|
|
12
|
-
const TagResourceCommand_1 = require("./commands/TagResourceCommand");
|
|
13
|
-
const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
14
|
-
const NotificationsContactsClient_1 = require("./NotificationsContactsClient");
|
|
15
|
-
const commands = {
|
|
16
|
-
ActivateEmailContactCommand: ActivateEmailContactCommand_1.ActivateEmailContactCommand,
|
|
17
|
-
CreateEmailContactCommand: CreateEmailContactCommand_1.CreateEmailContactCommand,
|
|
18
|
-
DeleteEmailContactCommand: DeleteEmailContactCommand_1.DeleteEmailContactCommand,
|
|
19
|
-
GetEmailContactCommand: GetEmailContactCommand_1.GetEmailContactCommand,
|
|
20
|
-
ListEmailContactsCommand: ListEmailContactsCommand_1.ListEmailContactsCommand,
|
|
21
|
-
ListTagsForResourceCommand: ListTagsForResourceCommand_1.ListTagsForResourceCommand,
|
|
22
|
-
SendActivationCodeCommand: SendActivationCodeCommand_1.SendActivationCodeCommand,
|
|
23
|
-
TagResourceCommand: TagResourceCommand_1.TagResourceCommand,
|
|
24
|
-
UntagResourceCommand: UntagResourceCommand_1.UntagResourceCommand,
|
|
25
|
-
};
|
|
26
|
-
class NotificationsContacts extends NotificationsContactsClient_1.NotificationsContactsClient {
|
|
27
|
-
}
|
|
28
|
-
exports.NotificationsContacts = NotificationsContacts;
|
|
29
|
-
(0, smithy_client_1.createAggregatedClient)(commands, NotificationsContacts);
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.NotificationsContactsClient = exports.__Client = void 0;
|
|
4
|
-
const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
|
|
5
|
-
const middleware_logger_1 = require("@aws-sdk/middleware-logger");
|
|
6
|
-
const middleware_recursion_detection_1 = require("@aws-sdk/middleware-recursion-detection");
|
|
7
|
-
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
8
|
-
const config_resolver_1 = require("@smithy/config-resolver");
|
|
9
|
-
const core_1 = require("@smithy/core");
|
|
10
|
-
const middleware_content_length_1 = require("@smithy/middleware-content-length");
|
|
11
|
-
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
12
|
-
const middleware_retry_1 = require("@smithy/middleware-retry");
|
|
13
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
14
|
-
Object.defineProperty(exports, "__Client", { enumerable: true, get: function () { return smithy_client_1.Client; } });
|
|
15
|
-
const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
|
|
16
|
-
const EndpointParameters_1 = require("./endpoint/EndpointParameters");
|
|
17
|
-
const runtimeConfig_1 = require("./runtimeConfig");
|
|
18
|
-
const runtimeExtensions_1 = require("./runtimeExtensions");
|
|
19
|
-
class NotificationsContactsClient extends smithy_client_1.Client {
|
|
20
|
-
config;
|
|
21
|
-
constructor(...[configuration]) {
|
|
22
|
-
const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration || {});
|
|
23
|
-
super(_config_0);
|
|
24
|
-
this.initConfig = _config_0;
|
|
25
|
-
const _config_1 = (0, EndpointParameters_1.resolveClientEndpointParameters)(_config_0);
|
|
26
|
-
const _config_2 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_1);
|
|
27
|
-
const _config_3 = (0, middleware_retry_1.resolveRetryConfig)(_config_2);
|
|
28
|
-
const _config_4 = (0, config_resolver_1.resolveRegionConfig)(_config_3);
|
|
29
|
-
const _config_5 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_4);
|
|
30
|
-
const _config_6 = (0, middleware_endpoint_1.resolveEndpointConfig)(_config_5);
|
|
31
|
-
const _config_7 = (0, httpAuthSchemeProvider_1.resolveHttpAuthSchemeConfig)(_config_6);
|
|
32
|
-
const _config_8 = (0, runtimeExtensions_1.resolveRuntimeExtensions)(_config_7, configuration?.extensions || []);
|
|
33
|
-
this.config = _config_8;
|
|
34
|
-
this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
|
|
35
|
-
this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));
|
|
36
|
-
this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
|
|
37
|
-
this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
|
|
38
|
-
this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
|
|
39
|
-
this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config));
|
|
40
|
-
this.middlewareStack.use((0, core_1.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
41
|
-
httpAuthSchemeParametersProvider: httpAuthSchemeProvider_1.defaultNotificationsContactsHttpAuthSchemeParametersProvider,
|
|
42
|
-
identityProviderConfigProvider: async (config) => new core_1.DefaultIdentityProviderConfig({
|
|
43
|
-
"aws.auth#sigv4": config.credentials,
|
|
44
|
-
}),
|
|
45
|
-
}));
|
|
46
|
-
this.middlewareStack.use((0, core_1.getHttpSigningPlugin)(this.config));
|
|
47
|
-
}
|
|
48
|
-
destroy() {
|
|
49
|
-
super.destroy();
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
exports.NotificationsContactsClient = NotificationsContactsClient;
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.resolveHttpAuthRuntimeConfig = exports.getHttpAuthExtensionConfiguration = void 0;
|
|
4
|
-
const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
5
|
-
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
6
|
-
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
7
|
-
let _credentials = runtimeConfig.credentials;
|
|
8
|
-
return {
|
|
9
|
-
setHttpAuthScheme(httpAuthScheme) {
|
|
10
|
-
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
|
11
|
-
if (index === -1) {
|
|
12
|
-
_httpAuthSchemes.push(httpAuthScheme);
|
|
13
|
-
}
|
|
14
|
-
else {
|
|
15
|
-
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
httpAuthSchemes() {
|
|
19
|
-
return _httpAuthSchemes;
|
|
20
|
-
},
|
|
21
|
-
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
|
22
|
-
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
|
23
|
-
},
|
|
24
|
-
httpAuthSchemeProvider() {
|
|
25
|
-
return _httpAuthSchemeProvider;
|
|
26
|
-
},
|
|
27
|
-
setCredentials(credentials) {
|
|
28
|
-
_credentials = credentials;
|
|
29
|
-
},
|
|
30
|
-
credentials() {
|
|
31
|
-
return _credentials;
|
|
32
|
-
},
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
exports.getHttpAuthExtensionConfiguration = getHttpAuthExtensionConfiguration;
|
|
36
|
-
const resolveHttpAuthRuntimeConfig = (config) => {
|
|
37
|
-
return {
|
|
38
|
-
httpAuthSchemes: config.httpAuthSchemes(),
|
|
39
|
-
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
40
|
-
credentials: config.credentials(),
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
exports.resolveHttpAuthRuntimeConfig = resolveHttpAuthRuntimeConfig;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ActivateEmailContactCommand = exports.$Command = void 0;
|
|
4
|
-
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
-
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
-
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
-
const models_0_1 = require("../models/models_0");
|
|
10
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
11
|
-
class ActivateEmailContactCommand extends smithy_client_1.Command
|
|
12
|
-
.classBuilder()
|
|
13
|
-
.ep(EndpointParameters_1.commonParams)
|
|
14
|
-
.m(function (Command, cs, config, o) {
|
|
15
|
-
return [
|
|
16
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
17
|
-
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
18
|
-
];
|
|
19
|
-
})
|
|
20
|
-
.s("NotificationsContacts", "ActivateEmailContact", {})
|
|
21
|
-
.n("NotificationsContactsClient", "ActivateEmailContactCommand")
|
|
22
|
-
.f(models_0_1.ActivateEmailContactRequestFilterSensitiveLog, void 0)
|
|
23
|
-
.ser(Aws_restJson1_1.se_ActivateEmailContactCommand)
|
|
24
|
-
.de(Aws_restJson1_1.de_ActivateEmailContactCommand)
|
|
25
|
-
.build() {
|
|
26
|
-
}
|
|
27
|
-
exports.ActivateEmailContactCommand = ActivateEmailContactCommand;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CreateEmailContactCommand = exports.$Command = void 0;
|
|
4
|
-
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
-
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
-
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
-
const models_0_1 = require("../models/models_0");
|
|
10
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
11
|
-
class CreateEmailContactCommand extends smithy_client_1.Command
|
|
12
|
-
.classBuilder()
|
|
13
|
-
.ep(EndpointParameters_1.commonParams)
|
|
14
|
-
.m(function (Command, cs, config, o) {
|
|
15
|
-
return [
|
|
16
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
17
|
-
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
18
|
-
];
|
|
19
|
-
})
|
|
20
|
-
.s("NotificationsContacts", "CreateEmailContact", {})
|
|
21
|
-
.n("NotificationsContactsClient", "CreateEmailContactCommand")
|
|
22
|
-
.f(models_0_1.CreateEmailContactRequestFilterSensitiveLog, void 0)
|
|
23
|
-
.ser(Aws_restJson1_1.se_CreateEmailContactCommand)
|
|
24
|
-
.de(Aws_restJson1_1.de_CreateEmailContactCommand)
|
|
25
|
-
.build() {
|
|
26
|
-
}
|
|
27
|
-
exports.CreateEmailContactCommand = CreateEmailContactCommand;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DeleteEmailContactCommand = exports.$Command = void 0;
|
|
4
|
-
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
-
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
-
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class DeleteEmailContactCommand extends smithy_client_1.Command
|
|
11
|
-
.classBuilder()
|
|
12
|
-
.ep(EndpointParameters_1.commonParams)
|
|
13
|
-
.m(function (Command, cs, config, o) {
|
|
14
|
-
return [
|
|
15
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
16
|
-
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
17
|
-
];
|
|
18
|
-
})
|
|
19
|
-
.s("NotificationsContacts", "DeleteEmailContact", {})
|
|
20
|
-
.n("NotificationsContactsClient", "DeleteEmailContactCommand")
|
|
21
|
-
.f(void 0, void 0)
|
|
22
|
-
.ser(Aws_restJson1_1.se_DeleteEmailContactCommand)
|
|
23
|
-
.de(Aws_restJson1_1.de_DeleteEmailContactCommand)
|
|
24
|
-
.build() {
|
|
25
|
-
}
|
|
26
|
-
exports.DeleteEmailContactCommand = DeleteEmailContactCommand;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetEmailContactCommand = exports.$Command = void 0;
|
|
4
|
-
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
-
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
-
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
-
const models_0_1 = require("../models/models_0");
|
|
10
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
11
|
-
class GetEmailContactCommand extends smithy_client_1.Command
|
|
12
|
-
.classBuilder()
|
|
13
|
-
.ep(EndpointParameters_1.commonParams)
|
|
14
|
-
.m(function (Command, cs, config, o) {
|
|
15
|
-
return [
|
|
16
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
17
|
-
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
18
|
-
];
|
|
19
|
-
})
|
|
20
|
-
.s("NotificationsContacts", "GetEmailContact", {})
|
|
21
|
-
.n("NotificationsContactsClient", "GetEmailContactCommand")
|
|
22
|
-
.f(void 0, models_0_1.GetEmailContactResponseFilterSensitiveLog)
|
|
23
|
-
.ser(Aws_restJson1_1.se_GetEmailContactCommand)
|
|
24
|
-
.de(Aws_restJson1_1.de_GetEmailContactCommand)
|
|
25
|
-
.build() {
|
|
26
|
-
}
|
|
27
|
-
exports.GetEmailContactCommand = GetEmailContactCommand;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ListEmailContactsCommand = exports.$Command = void 0;
|
|
4
|
-
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
-
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
-
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
-
const models_0_1 = require("../models/models_0");
|
|
10
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
11
|
-
class ListEmailContactsCommand extends smithy_client_1.Command
|
|
12
|
-
.classBuilder()
|
|
13
|
-
.ep(EndpointParameters_1.commonParams)
|
|
14
|
-
.m(function (Command, cs, config, o) {
|
|
15
|
-
return [
|
|
16
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
17
|
-
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
18
|
-
];
|
|
19
|
-
})
|
|
20
|
-
.s("NotificationsContacts", "ListEmailContacts", {})
|
|
21
|
-
.n("NotificationsContactsClient", "ListEmailContactsCommand")
|
|
22
|
-
.f(void 0, models_0_1.ListEmailContactsResponseFilterSensitiveLog)
|
|
23
|
-
.ser(Aws_restJson1_1.se_ListEmailContactsCommand)
|
|
24
|
-
.de(Aws_restJson1_1.de_ListEmailContactsCommand)
|
|
25
|
-
.build() {
|
|
26
|
-
}
|
|
27
|
-
exports.ListEmailContactsCommand = ListEmailContactsCommand;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ListTagsForResourceCommand = exports.$Command = void 0;
|
|
4
|
-
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
-
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
-
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class ListTagsForResourceCommand extends smithy_client_1.Command
|
|
11
|
-
.classBuilder()
|
|
12
|
-
.ep(EndpointParameters_1.commonParams)
|
|
13
|
-
.m(function (Command, cs, config, o) {
|
|
14
|
-
return [
|
|
15
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
16
|
-
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
17
|
-
];
|
|
18
|
-
})
|
|
19
|
-
.s("NotificationsContacts", "ListTagsForResource", {})
|
|
20
|
-
.n("NotificationsContactsClient", "ListTagsForResourceCommand")
|
|
21
|
-
.f(void 0, void 0)
|
|
22
|
-
.ser(Aws_restJson1_1.se_ListTagsForResourceCommand)
|
|
23
|
-
.de(Aws_restJson1_1.de_ListTagsForResourceCommand)
|
|
24
|
-
.build() {
|
|
25
|
-
}
|
|
26
|
-
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SendActivationCodeCommand = exports.$Command = void 0;
|
|
4
|
-
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
-
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
-
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class SendActivationCodeCommand extends smithy_client_1.Command
|
|
11
|
-
.classBuilder()
|
|
12
|
-
.ep(EndpointParameters_1.commonParams)
|
|
13
|
-
.m(function (Command, cs, config, o) {
|
|
14
|
-
return [
|
|
15
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
16
|
-
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
17
|
-
];
|
|
18
|
-
})
|
|
19
|
-
.s("NotificationsContacts", "SendActivationCode", {})
|
|
20
|
-
.n("NotificationsContactsClient", "SendActivationCodeCommand")
|
|
21
|
-
.f(void 0, void 0)
|
|
22
|
-
.ser(Aws_restJson1_1.se_SendActivationCodeCommand)
|
|
23
|
-
.de(Aws_restJson1_1.de_SendActivationCodeCommand)
|
|
24
|
-
.build() {
|
|
25
|
-
}
|
|
26
|
-
exports.SendActivationCodeCommand = SendActivationCodeCommand;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TagResourceCommand = exports.$Command = void 0;
|
|
4
|
-
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
-
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
-
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class TagResourceCommand extends smithy_client_1.Command
|
|
11
|
-
.classBuilder()
|
|
12
|
-
.ep(EndpointParameters_1.commonParams)
|
|
13
|
-
.m(function (Command, cs, config, o) {
|
|
14
|
-
return [
|
|
15
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
16
|
-
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
17
|
-
];
|
|
18
|
-
})
|
|
19
|
-
.s("NotificationsContacts", "TagResource", {})
|
|
20
|
-
.n("NotificationsContactsClient", "TagResourceCommand")
|
|
21
|
-
.f(void 0, void 0)
|
|
22
|
-
.ser(Aws_restJson1_1.se_TagResourceCommand)
|
|
23
|
-
.de(Aws_restJson1_1.de_TagResourceCommand)
|
|
24
|
-
.build() {
|
|
25
|
-
}
|
|
26
|
-
exports.TagResourceCommand = TagResourceCommand;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UntagResourceCommand = exports.$Command = void 0;
|
|
4
|
-
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
-
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
-
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class UntagResourceCommand extends smithy_client_1.Command
|
|
11
|
-
.classBuilder()
|
|
12
|
-
.ep(EndpointParameters_1.commonParams)
|
|
13
|
-
.m(function (Command, cs, config, o) {
|
|
14
|
-
return [
|
|
15
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
16
|
-
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
17
|
-
];
|
|
18
|
-
})
|
|
19
|
-
.s("NotificationsContacts", "UntagResource", {})
|
|
20
|
-
.n("NotificationsContactsClient", "UntagResourceCommand")
|
|
21
|
-
.f(void 0, void 0)
|
|
22
|
-
.ser(Aws_restJson1_1.se_UntagResourceCommand)
|
|
23
|
-
.de(Aws_restJson1_1.de_UntagResourceCommand)
|
|
24
|
-
.build() {
|
|
25
|
-
}
|
|
26
|
-
exports.UntagResourceCommand = UntagResourceCommand;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./ActivateEmailContactCommand"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./CreateEmailContactCommand"), exports);
|
|
6
|
-
tslib_1.__exportStar(require("./DeleteEmailContactCommand"), exports);
|
|
7
|
-
tslib_1.__exportStar(require("./GetEmailContactCommand"), exports);
|
|
8
|
-
tslib_1.__exportStar(require("./ListEmailContactsCommand"), exports);
|
|
9
|
-
tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
|
|
10
|
-
tslib_1.__exportStar(require("./SendActivationCodeCommand"), exports);
|
|
11
|
-
tslib_1.__exportStar(require("./TagResourceCommand"), exports);
|
|
12
|
-
tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.commonParams = exports.resolveClientEndpointParameters = void 0;
|
|
4
|
-
const resolveClientEndpointParameters = (options) => {
|
|
5
|
-
return Object.assign(options, {
|
|
6
|
-
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
7
|
-
defaultSigningName: "notifications-contacts",
|
|
8
|
-
});
|
|
9
|
-
};
|
|
10
|
-
exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
|
|
11
|
-
exports.commonParams = {
|
|
12
|
-
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
13
|
-
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
14
|
-
Region: { type: "builtInParams", name: "region" },
|
|
15
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.NotificationsContactsServiceException = exports.__ServiceException = void 0;
|
|
4
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
-
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
6
|
-
class NotificationsContactsServiceException extends smithy_client_1.ServiceException {
|
|
7
|
-
constructor(options) {
|
|
8
|
-
super(options);
|
|
9
|
-
Object.setPrototypeOf(this, NotificationsContactsServiceException.prototype);
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
exports.NotificationsContactsServiceException = NotificationsContactsServiceException;
|
package/dist-cjs/models/index.js
DELETED
|
@@ -1,160 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ListEmailContactsResponseFilterSensitiveLog = exports.GetEmailContactResponseFilterSensitiveLog = exports.EmailContactFilterSensitiveLog = exports.CreateEmailContactRequestFilterSensitiveLog = exports.ActivateEmailContactRequestFilterSensitiveLog = exports.EmailContactStatus = exports.ServiceQuotaExceededException = exports.ValidationException = exports.ValidationExceptionReason = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.AccessDeniedException = void 0;
|
|
4
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
-
const NotificationsContactsServiceException_1 = require("./NotificationsContactsServiceException");
|
|
6
|
-
class AccessDeniedException extends NotificationsContactsServiceException_1.NotificationsContactsServiceException {
|
|
7
|
-
name = "AccessDeniedException";
|
|
8
|
-
$fault = "client";
|
|
9
|
-
constructor(opts) {
|
|
10
|
-
super({
|
|
11
|
-
name: "AccessDeniedException",
|
|
12
|
-
$fault: "client",
|
|
13
|
-
...opts,
|
|
14
|
-
});
|
|
15
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
exports.AccessDeniedException = AccessDeniedException;
|
|
19
|
-
class ConflictException extends NotificationsContactsServiceException_1.NotificationsContactsServiceException {
|
|
20
|
-
name = "ConflictException";
|
|
21
|
-
$fault = "client";
|
|
22
|
-
resourceId;
|
|
23
|
-
resourceType;
|
|
24
|
-
constructor(opts) {
|
|
25
|
-
super({
|
|
26
|
-
name: "ConflictException",
|
|
27
|
-
$fault: "client",
|
|
28
|
-
...opts,
|
|
29
|
-
});
|
|
30
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
31
|
-
this.resourceId = opts.resourceId;
|
|
32
|
-
this.resourceType = opts.resourceType;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
exports.ConflictException = ConflictException;
|
|
36
|
-
class InternalServerException extends NotificationsContactsServiceException_1.NotificationsContactsServiceException {
|
|
37
|
-
name = "InternalServerException";
|
|
38
|
-
$fault = "server";
|
|
39
|
-
$retryable = {};
|
|
40
|
-
constructor(opts) {
|
|
41
|
-
super({
|
|
42
|
-
name: "InternalServerException",
|
|
43
|
-
$fault: "server",
|
|
44
|
-
...opts,
|
|
45
|
-
});
|
|
46
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
exports.InternalServerException = InternalServerException;
|
|
50
|
-
class ResourceNotFoundException extends NotificationsContactsServiceException_1.NotificationsContactsServiceException {
|
|
51
|
-
name = "ResourceNotFoundException";
|
|
52
|
-
$fault = "client";
|
|
53
|
-
resourceId;
|
|
54
|
-
resourceType;
|
|
55
|
-
constructor(opts) {
|
|
56
|
-
super({
|
|
57
|
-
name: "ResourceNotFoundException",
|
|
58
|
-
$fault: "client",
|
|
59
|
-
...opts,
|
|
60
|
-
});
|
|
61
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
62
|
-
this.resourceId = opts.resourceId;
|
|
63
|
-
this.resourceType = opts.resourceType;
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
67
|
-
class ThrottlingException extends NotificationsContactsServiceException_1.NotificationsContactsServiceException {
|
|
68
|
-
name = "ThrottlingException";
|
|
69
|
-
$fault = "client";
|
|
70
|
-
$retryable = {
|
|
71
|
-
throttling: true,
|
|
72
|
-
};
|
|
73
|
-
serviceCode;
|
|
74
|
-
quotaCode;
|
|
75
|
-
retryAfterSeconds;
|
|
76
|
-
constructor(opts) {
|
|
77
|
-
super({
|
|
78
|
-
name: "ThrottlingException",
|
|
79
|
-
$fault: "client",
|
|
80
|
-
...opts,
|
|
81
|
-
});
|
|
82
|
-
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
83
|
-
this.serviceCode = opts.serviceCode;
|
|
84
|
-
this.quotaCode = opts.quotaCode;
|
|
85
|
-
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
exports.ThrottlingException = ThrottlingException;
|
|
89
|
-
exports.ValidationExceptionReason = {
|
|
90
|
-
FIELD_VALIDATION_FAILED: "fieldValidationFailed",
|
|
91
|
-
OTHER: "other",
|
|
92
|
-
};
|
|
93
|
-
class ValidationException extends NotificationsContactsServiceException_1.NotificationsContactsServiceException {
|
|
94
|
-
name = "ValidationException";
|
|
95
|
-
$fault = "client";
|
|
96
|
-
reason;
|
|
97
|
-
fieldList;
|
|
98
|
-
constructor(opts) {
|
|
99
|
-
super({
|
|
100
|
-
name: "ValidationException",
|
|
101
|
-
$fault: "client",
|
|
102
|
-
...opts,
|
|
103
|
-
});
|
|
104
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
105
|
-
this.reason = opts.reason;
|
|
106
|
-
this.fieldList = opts.fieldList;
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
exports.ValidationException = ValidationException;
|
|
110
|
-
class ServiceQuotaExceededException extends NotificationsContactsServiceException_1.NotificationsContactsServiceException {
|
|
111
|
-
name = "ServiceQuotaExceededException";
|
|
112
|
-
$fault = "client";
|
|
113
|
-
resourceId;
|
|
114
|
-
resourceType;
|
|
115
|
-
serviceCode;
|
|
116
|
-
quotaCode;
|
|
117
|
-
constructor(opts) {
|
|
118
|
-
super({
|
|
119
|
-
name: "ServiceQuotaExceededException",
|
|
120
|
-
$fault: "client",
|
|
121
|
-
...opts,
|
|
122
|
-
});
|
|
123
|
-
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
124
|
-
this.resourceId = opts.resourceId;
|
|
125
|
-
this.resourceType = opts.resourceType;
|
|
126
|
-
this.serviceCode = opts.serviceCode;
|
|
127
|
-
this.quotaCode = opts.quotaCode;
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
131
|
-
exports.EmailContactStatus = {
|
|
132
|
-
ACTIVE: "active",
|
|
133
|
-
INACTIVE: "inactive",
|
|
134
|
-
};
|
|
135
|
-
const ActivateEmailContactRequestFilterSensitiveLog = (obj) => ({
|
|
136
|
-
...obj,
|
|
137
|
-
...(obj.code && { code: smithy_client_1.SENSITIVE_STRING }),
|
|
138
|
-
});
|
|
139
|
-
exports.ActivateEmailContactRequestFilterSensitiveLog = ActivateEmailContactRequestFilterSensitiveLog;
|
|
140
|
-
const CreateEmailContactRequestFilterSensitiveLog = (obj) => ({
|
|
141
|
-
...obj,
|
|
142
|
-
...(obj.name && { name: smithy_client_1.SENSITIVE_STRING }),
|
|
143
|
-
});
|
|
144
|
-
exports.CreateEmailContactRequestFilterSensitiveLog = CreateEmailContactRequestFilterSensitiveLog;
|
|
145
|
-
const EmailContactFilterSensitiveLog = (obj) => ({
|
|
146
|
-
...obj,
|
|
147
|
-
...(obj.name && { name: smithy_client_1.SENSITIVE_STRING }),
|
|
148
|
-
...(obj.address && { address: smithy_client_1.SENSITIVE_STRING }),
|
|
149
|
-
});
|
|
150
|
-
exports.EmailContactFilterSensitiveLog = EmailContactFilterSensitiveLog;
|
|
151
|
-
const GetEmailContactResponseFilterSensitiveLog = (obj) => ({
|
|
152
|
-
...obj,
|
|
153
|
-
...(obj.emailContact && { emailContact: (0, exports.EmailContactFilterSensitiveLog)(obj.emailContact) }),
|
|
154
|
-
});
|
|
155
|
-
exports.GetEmailContactResponseFilterSensitiveLog = GetEmailContactResponseFilterSensitiveLog;
|
|
156
|
-
const ListEmailContactsResponseFilterSensitiveLog = (obj) => ({
|
|
157
|
-
...obj,
|
|
158
|
-
...(obj.emailContacts && { emailContacts: obj.emailContacts.map((item) => (0, exports.EmailContactFilterSensitiveLog)(item)) }),
|
|
159
|
-
});
|
|
160
|
-
exports.ListEmailContactsResponseFilterSensitiveLog = ListEmailContactsResponseFilterSensitiveLog;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateListEmailContacts = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const ListEmailContactsCommand_1 = require("../commands/ListEmailContactsCommand");
|
|
6
|
-
const NotificationsContactsClient_1 = require("../NotificationsContactsClient");
|
|
7
|
-
exports.paginateListEmailContacts = (0, core_1.createPaginator)(NotificationsContactsClient_1.NotificationsContactsClient, ListEmailContactsCommand_1.ListEmailContactsCommand, "nextToken", "nextToken", "maxResults");
|