@aws-sdk/client-notificationscontacts 3.698.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/LICENSE +201 -0
- package/README.md +277 -0
- package/dist-cjs/NotificationsContacts.js +29 -0
- package/dist-cjs/NotificationsContactsClient.js +50 -0
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/dist-cjs/commands/ActivateEmailContactCommand.js +27 -0
- package/dist-cjs/commands/CreateEmailContactCommand.js +27 -0
- package/dist-cjs/commands/DeleteEmailContactCommand.js +26 -0
- package/dist-cjs/commands/GetEmailContactCommand.js +27 -0
- package/dist-cjs/commands/ListEmailContactsCommand.js +27 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +26 -0
- package/dist-cjs/commands/SendActivationCodeCommand.js +26 -0
- package/dist-cjs/commands/TagResourceCommand.js +26 -0
- package/dist-cjs/commands/UntagResourceCommand.js +26 -0
- package/dist-cjs/commands/index.js +12 -0
- package/dist-cjs/endpoint/EndpointParameters.js +16 -0
- package/dist-cjs/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/NotificationsContactsServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +147 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListEmailContactsPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +5 -0
- package/dist-cjs/protocols/Aws_restJson1.js +405 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +50 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +34 -0
- package/dist-cjs/runtimeExtensions.js +25 -0
- package/dist-es/NotificationsContacts.js +25 -0
- package/dist-es/NotificationsContactsClient.js +46 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/dist-es/commands/ActivateEmailContactCommand.js +23 -0
- package/dist-es/commands/CreateEmailContactCommand.js +23 -0
- package/dist-es/commands/DeleteEmailContactCommand.js +22 -0
- package/dist-es/commands/GetEmailContactCommand.js +23 -0
- package/dist-es/commands/ListEmailContactsCommand.js +23 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +22 -0
- package/dist-es/commands/SendActivationCodeCommand.js +22 -0
- package/dist-es/commands/TagResourceCommand.js +22 -0
- package/dist-es/commands/UntagResourceCommand.js +22 -0
- package/dist-es/commands/index.js +9 -0
- package/dist-es/endpoint/EndpointParameters.js +12 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/NotificationsContactsServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +132 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListEmailContactsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +384 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +45 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +30 -0
- package/dist-es/runtimeExtensions.js +21 -0
- package/dist-types/NotificationsContacts.d.ts +74 -0
- package/dist-types/NotificationsContactsClient.d.ts +178 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
- package/dist-types/commands/ActivateEmailContactCommand.d.ts +88 -0
- package/dist-types/commands/CreateEmailContactCommand.d.ts +93 -0
- package/dist-types/commands/DeleteEmailContactCommand.d.ts +90 -0
- package/dist-types/commands/GetEmailContactCommand.d.ts +93 -0
- package/dist-types/commands/ListEmailContactsCommand.d.ts +94 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +88 -0
- package/dist-types/commands/SendActivationCodeCommand.d.ts +90 -0
- package/dist-types/commands/TagResourceCommand.d.ts +87 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +87 -0
- package/dist-types/commands/index.d.ts +9 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +34 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +14 -0
- package/dist-types/models/NotificationsContactsServiceException.d.ts +14 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +445 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListEmailContactsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +83 -0
- package/dist-types/runtimeConfig.browser.d.ts +48 -0
- package/dist-types/runtimeConfig.d.ts +48 -0
- package/dist-types/runtimeConfig.native.d.ts +47 -0
- package/dist-types/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/NotificationsContacts.d.ts +161 -0
- package/dist-types/ts3.4/NotificationsContactsClient.d.ts +175 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
- package/dist-types/ts3.4/commands/ActivateEmailContactCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateEmailContactCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteEmailContactCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetEmailContactCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListEmailContactsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/SendActivationCodeCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/index.d.ts +9 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +9 -0
- package/dist-types/ts3.4/models/NotificationsContactsServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +154 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListEmailContactsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +113 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +95 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +96 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +89 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +23 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
- package/package.json +101 -0
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
2
|
+
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
3
|
+
import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
|
|
4
|
+
import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";
|
|
5
|
+
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
|
+
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
7
|
+
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
|
|
8
|
+
import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
|
+
import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
|
+
import { ActivateEmailContactCommandInput, ActivateEmailContactCommandOutput } from "./commands/ActivateEmailContactCommand";
|
|
11
|
+
import { CreateEmailContactCommandInput, CreateEmailContactCommandOutput } from "./commands/CreateEmailContactCommand";
|
|
12
|
+
import { DeleteEmailContactCommandInput, DeleteEmailContactCommandOutput } from "./commands/DeleteEmailContactCommand";
|
|
13
|
+
import { GetEmailContactCommandInput, GetEmailContactCommandOutput } from "./commands/GetEmailContactCommand";
|
|
14
|
+
import { ListEmailContactsCommandInput, ListEmailContactsCommandOutput } from "./commands/ListEmailContactsCommand";
|
|
15
|
+
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
16
|
+
import { SendActivationCodeCommandInput, SendActivationCodeCommandOutput } from "./commands/SendActivationCodeCommand";
|
|
17
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
18
|
+
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
19
|
+
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
20
|
+
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
21
|
+
export { __Client };
|
|
22
|
+
/**
|
|
23
|
+
* @public
|
|
24
|
+
*/
|
|
25
|
+
export type ServiceInputTypes = ActivateEmailContactCommandInput | CreateEmailContactCommandInput | DeleteEmailContactCommandInput | GetEmailContactCommandInput | ListEmailContactsCommandInput | ListTagsForResourceCommandInput | SendActivationCodeCommandInput | TagResourceCommandInput | UntagResourceCommandInput;
|
|
26
|
+
/**
|
|
27
|
+
* @public
|
|
28
|
+
*/
|
|
29
|
+
export type ServiceOutputTypes = ActivateEmailContactCommandOutput | CreateEmailContactCommandOutput | DeleteEmailContactCommandOutput | GetEmailContactCommandOutput | ListEmailContactsCommandOutput | ListTagsForResourceCommandOutput | SendActivationCodeCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput;
|
|
30
|
+
/**
|
|
31
|
+
* @public
|
|
32
|
+
*/
|
|
33
|
+
export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
34
|
+
/**
|
|
35
|
+
* The HTTP handler to use or its constructor options. Fetch in browser and Https in Nodejs.
|
|
36
|
+
*/
|
|
37
|
+
requestHandler?: __HttpHandlerUserInput;
|
|
38
|
+
/**
|
|
39
|
+
* A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface
|
|
40
|
+
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
41
|
+
* @internal
|
|
42
|
+
*/
|
|
43
|
+
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
44
|
+
/**
|
|
45
|
+
* The function that will be used to convert strings into HTTP endpoints.
|
|
46
|
+
* @internal
|
|
47
|
+
*/
|
|
48
|
+
urlParser?: __UrlParser;
|
|
49
|
+
/**
|
|
50
|
+
* A function that can calculate the length of a request body.
|
|
51
|
+
* @internal
|
|
52
|
+
*/
|
|
53
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
54
|
+
/**
|
|
55
|
+
* A function that converts a stream into an array of bytes.
|
|
56
|
+
* @internal
|
|
57
|
+
*/
|
|
58
|
+
streamCollector?: __StreamCollector;
|
|
59
|
+
/**
|
|
60
|
+
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
61
|
+
* @internal
|
|
62
|
+
*/
|
|
63
|
+
base64Decoder?: __Decoder;
|
|
64
|
+
/**
|
|
65
|
+
* The function that will be used to convert binary data to a base64-encoded string.
|
|
66
|
+
* @internal
|
|
67
|
+
*/
|
|
68
|
+
base64Encoder?: __Encoder;
|
|
69
|
+
/**
|
|
70
|
+
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
71
|
+
* @internal
|
|
72
|
+
*/
|
|
73
|
+
utf8Decoder?: __Decoder;
|
|
74
|
+
/**
|
|
75
|
+
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
76
|
+
* @internal
|
|
77
|
+
*/
|
|
78
|
+
utf8Encoder?: __Encoder;
|
|
79
|
+
/**
|
|
80
|
+
* The runtime environment.
|
|
81
|
+
* @internal
|
|
82
|
+
*/
|
|
83
|
+
runtime?: string;
|
|
84
|
+
/**
|
|
85
|
+
* Disable dynamically changing the endpoint of the client based on the hostPrefix
|
|
86
|
+
* trait of an operation.
|
|
87
|
+
*/
|
|
88
|
+
disableHostPrefix?: boolean;
|
|
89
|
+
/**
|
|
90
|
+
* Unique service identifier.
|
|
91
|
+
* @internal
|
|
92
|
+
*/
|
|
93
|
+
serviceId?: string;
|
|
94
|
+
/**
|
|
95
|
+
* Enables IPv6/IPv4 dualstack endpoint.
|
|
96
|
+
*/
|
|
97
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
98
|
+
/**
|
|
99
|
+
* Enables FIPS compatible endpoints.
|
|
100
|
+
*/
|
|
101
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
102
|
+
/**
|
|
103
|
+
* The AWS region to which this client will send requests
|
|
104
|
+
*/
|
|
105
|
+
region?: string | __Provider<string>;
|
|
106
|
+
/**
|
|
107
|
+
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
108
|
+
* @internal
|
|
109
|
+
*/
|
|
110
|
+
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
111
|
+
/**
|
|
112
|
+
* Default credentials provider; Not available in browser runtime.
|
|
113
|
+
* @deprecated
|
|
114
|
+
* @internal
|
|
115
|
+
*/
|
|
116
|
+
credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
|
|
117
|
+
/**
|
|
118
|
+
* Value for how many times a request will be made at most in case of retry.
|
|
119
|
+
*/
|
|
120
|
+
maxAttempts?: number | __Provider<number>;
|
|
121
|
+
/**
|
|
122
|
+
* Specifies which retry algorithm to use.
|
|
123
|
+
* @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/
|
|
124
|
+
*
|
|
125
|
+
*/
|
|
126
|
+
retryMode?: string | __Provider<string>;
|
|
127
|
+
/**
|
|
128
|
+
* Optional logger for logging debug/info/warn/error.
|
|
129
|
+
*/
|
|
130
|
+
logger?: __Logger;
|
|
131
|
+
/**
|
|
132
|
+
* Optional extensions
|
|
133
|
+
*/
|
|
134
|
+
extensions?: RuntimeExtension[];
|
|
135
|
+
/**
|
|
136
|
+
* The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
137
|
+
*/
|
|
138
|
+
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
139
|
+
}
|
|
140
|
+
/**
|
|
141
|
+
* @public
|
|
142
|
+
*/
|
|
143
|
+
export type NotificationsContactsClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig & RegionInputConfig & HostHeaderInputConfig & EndpointInputConfig<EndpointParameters> & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
|
|
144
|
+
/**
|
|
145
|
+
* @public
|
|
146
|
+
*
|
|
147
|
+
* The configuration interface of NotificationsContactsClient class constructor that set the region, credentials and other options.
|
|
148
|
+
*/
|
|
149
|
+
export interface NotificationsContactsClientConfig extends NotificationsContactsClientConfigType {
|
|
150
|
+
}
|
|
151
|
+
/**
|
|
152
|
+
* @public
|
|
153
|
+
*/
|
|
154
|
+
export type NotificationsContactsClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig & RegionResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig<EndpointParameters> & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
|
|
155
|
+
/**
|
|
156
|
+
* @public
|
|
157
|
+
*
|
|
158
|
+
* The resolved configuration interface of NotificationsContactsClient class. This is resolved and normalized from the {@link NotificationsContactsClientConfig | constructor configuration interface}.
|
|
159
|
+
*/
|
|
160
|
+
export interface NotificationsContactsClientResolvedConfig extends NotificationsContactsClientResolvedConfigType {
|
|
161
|
+
}
|
|
162
|
+
/**
|
|
163
|
+
* <p>AWS User Notifications Contacts is a service that allows you to create and manage email contacts for AWS User Notifications. The AWS User Notifications Contacts API Reference provides descriptions, API request parameters, and the JSON response for all email contact related API actions.</p>
|
|
164
|
+
* @public
|
|
165
|
+
*/
|
|
166
|
+
export declare class NotificationsContactsClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, NotificationsContactsClientResolvedConfig> {
|
|
167
|
+
/**
|
|
168
|
+
* The resolved configuration of NotificationsContactsClient class. This is resolved and normalized from the {@link NotificationsContactsClientConfig | constructor configuration interface}.
|
|
169
|
+
*/
|
|
170
|
+
readonly config: NotificationsContactsClientResolvedConfig;
|
|
171
|
+
constructor(...[configuration]: __CheckOptionalClientConfig<NotificationsContactsClientConfig>);
|
|
172
|
+
/**
|
|
173
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
174
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
175
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
176
|
+
*/
|
|
177
|
+
destroy(): void;
|
|
178
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types";
|
|
2
|
+
import { NotificationsContactsHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export interface HttpAuthExtensionConfiguration {
|
|
7
|
+
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
8
|
+
httpAuthSchemes(): HttpAuthScheme[];
|
|
9
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider: NotificationsContactsHttpAuthSchemeProvider): void;
|
|
10
|
+
httpAuthSchemeProvider(): NotificationsContactsHttpAuthSchemeProvider;
|
|
11
|
+
setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
|
|
12
|
+
credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @internal
|
|
16
|
+
*/
|
|
17
|
+
export type HttpAuthRuntimeConfig = Partial<{
|
|
18
|
+
httpAuthSchemes: HttpAuthScheme[];
|
|
19
|
+
httpAuthSchemeProvider: NotificationsContactsHttpAuthSchemeProvider;
|
|
20
|
+
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
|
21
|
+
}>;
|
|
22
|
+
/**
|
|
23
|
+
* @internal
|
|
24
|
+
*/
|
|
25
|
+
export declare const getHttpAuthExtensionConfiguration: (runtimeConfig: HttpAuthRuntimeConfig) => HttpAuthExtensionConfiguration;
|
|
26
|
+
/**
|
|
27
|
+
* @internal
|
|
28
|
+
*/
|
|
29
|
+
export declare const resolveHttpAuthRuntimeConfig: (config: HttpAuthExtensionConfiguration) => HttpAuthRuntimeConfig;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
|
|
2
|
+
import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider } from "@smithy/types";
|
|
3
|
+
import { NotificationsContactsClientResolvedConfig } from "../NotificationsContactsClient";
|
|
4
|
+
/**
|
|
5
|
+
* @internal
|
|
6
|
+
*/
|
|
7
|
+
export interface NotificationsContactsHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
|
|
8
|
+
region?: string;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
export interface NotificationsContactsHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<NotificationsContactsClientResolvedConfig, HandlerExecutionContext, NotificationsContactsHttpAuthSchemeParameters, object> {
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare const defaultNotificationsContactsHttpAuthSchemeParametersProvider: (config: NotificationsContactsClientResolvedConfig, context: HandlerExecutionContext, input: object) => Promise<NotificationsContactsHttpAuthSchemeParameters>;
|
|
19
|
+
/**
|
|
20
|
+
* @internal
|
|
21
|
+
*/
|
|
22
|
+
export interface NotificationsContactsHttpAuthSchemeProvider extends HttpAuthSchemeProvider<NotificationsContactsHttpAuthSchemeParameters> {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @internal
|
|
26
|
+
*/
|
|
27
|
+
export declare const defaultNotificationsContactsHttpAuthSchemeProvider: NotificationsContactsHttpAuthSchemeProvider;
|
|
28
|
+
/**
|
|
29
|
+
* @internal
|
|
30
|
+
*/
|
|
31
|
+
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
32
|
+
/**
|
|
33
|
+
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
34
|
+
* @internal
|
|
35
|
+
*/
|
|
36
|
+
httpAuthSchemes?: HttpAuthScheme[];
|
|
37
|
+
/**
|
|
38
|
+
* Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
|
|
39
|
+
* @internal
|
|
40
|
+
*/
|
|
41
|
+
httpAuthSchemeProvider?: NotificationsContactsHttpAuthSchemeProvider;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* @internal
|
|
45
|
+
*/
|
|
46
|
+
export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
|
|
47
|
+
/**
|
|
48
|
+
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
49
|
+
* @internal
|
|
50
|
+
*/
|
|
51
|
+
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
52
|
+
/**
|
|
53
|
+
* Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
|
|
54
|
+
* @internal
|
|
55
|
+
*/
|
|
56
|
+
readonly httpAuthSchemeProvider: NotificationsContactsHttpAuthSchemeProvider;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* @internal
|
|
60
|
+
*/
|
|
61
|
+
export declare const resolveHttpAuthSchemeConfig: <T>(config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved) => T & HttpAuthSchemeResolvedConfig;
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ActivateEmailContactRequest, ActivateEmailContactResponse } from "../models/models_0";
|
|
4
|
+
import { NotificationsContactsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NotificationsContactsClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ActivateEmailContactCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ActivateEmailContactCommandInput extends ActivateEmailContactRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ActivateEmailContactCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ActivateEmailContactCommandOutput extends ActivateEmailContactResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ActivateEmailContactCommand_base: {
|
|
25
|
+
new (input: ActivateEmailContactCommandInput): import("@smithy/smithy-client").CommandImpl<ActivateEmailContactCommandInput, ActivateEmailContactCommandOutput, NotificationsContactsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: ActivateEmailContactCommandInput): import("@smithy/smithy-client").CommandImpl<ActivateEmailContactCommandInput, ActivateEmailContactCommandOutput, NotificationsContactsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Activates an email contact using an activation code. This code is in the activation email sent to the email address associated with this email contact.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { NotificationsContactsClient, ActivateEmailContactCommand } from "@aws-sdk/client-notificationscontacts"; // ES Modules import
|
|
35
|
+
* // const { NotificationsContactsClient, ActivateEmailContactCommand } = require("@aws-sdk/client-notificationscontacts"); // CommonJS import
|
|
36
|
+
* const client = new NotificationsContactsClient(config);
|
|
37
|
+
* const input = { // ActivateEmailContactRequest
|
|
38
|
+
* arn: "STRING_VALUE", // required
|
|
39
|
+
* code: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
41
|
+
* const command = new ActivateEmailContactCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // {};
|
|
44
|
+
*
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* @param ActivateEmailContactCommandInput - {@link ActivateEmailContactCommandInput}
|
|
48
|
+
* @returns {@link ActivateEmailContactCommandOutput}
|
|
49
|
+
* @see {@link ActivateEmailContactCommandInput} for command's `input` shape.
|
|
50
|
+
* @see {@link ActivateEmailContactCommandOutput} for command's `response` shape.
|
|
51
|
+
* @see {@link NotificationsContactsClientResolvedConfig | config} for NotificationsContactsClient's `config` shape.
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
54
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link ConflictException} (client fault)
|
|
57
|
+
* <p>Updating or deleting a resource can cause an inconsistent state.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link InternalServerException} (server fault)
|
|
60
|
+
* <p>Unexpected error during processing of request.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
63
|
+
* <p>Your request references a resource which does not exist. </p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
66
|
+
* <p>The request was denied due to request throttling.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ValidationException} (client fault)
|
|
69
|
+
* <p>The input fails to satisfy the constraints specified by an AWS service.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link NotificationsContactsServiceException}
|
|
72
|
+
* <p>Base exception class for all service exceptions from NotificationsContacts service.</p>
|
|
73
|
+
*
|
|
74
|
+
* @public
|
|
75
|
+
*/
|
|
76
|
+
export declare class ActivateEmailContactCommand extends ActivateEmailContactCommand_base {
|
|
77
|
+
/** @internal type navigation helper, not in runtime. */
|
|
78
|
+
protected static __types: {
|
|
79
|
+
api: {
|
|
80
|
+
input: ActivateEmailContactRequest;
|
|
81
|
+
output: {};
|
|
82
|
+
};
|
|
83
|
+
sdk: {
|
|
84
|
+
input: ActivateEmailContactCommandInput;
|
|
85
|
+
output: ActivateEmailContactCommandOutput;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { CreateEmailContactRequest, CreateEmailContactResponse } from "../models/models_0";
|
|
4
|
+
import { NotificationsContactsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NotificationsContactsClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateEmailContactCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateEmailContactCommandInput extends CreateEmailContactRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateEmailContactCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateEmailContactCommandOutput extends CreateEmailContactResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateEmailContactCommand_base: {
|
|
25
|
+
new (input: CreateEmailContactCommandInput): import("@smithy/smithy-client").CommandImpl<CreateEmailContactCommandInput, CreateEmailContactCommandOutput, NotificationsContactsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: CreateEmailContactCommandInput): import("@smithy/smithy-client").CommandImpl<CreateEmailContactCommandInput, CreateEmailContactCommandOutput, NotificationsContactsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Creates an email contact for the provided email address.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { NotificationsContactsClient, CreateEmailContactCommand } from "@aws-sdk/client-notificationscontacts"; // ES Modules import
|
|
35
|
+
* // const { NotificationsContactsClient, CreateEmailContactCommand } = require("@aws-sdk/client-notificationscontacts"); // CommonJS import
|
|
36
|
+
* const client = new NotificationsContactsClient(config);
|
|
37
|
+
* const input = { // CreateEmailContactRequest
|
|
38
|
+
* name: "STRING_VALUE", // required
|
|
39
|
+
* emailAddress: "STRING_VALUE", // required
|
|
40
|
+
* tags: { // TagMap
|
|
41
|
+
* "<keys>": "STRING_VALUE",
|
|
42
|
+
* },
|
|
43
|
+
* };
|
|
44
|
+
* const command = new CreateEmailContactCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // CreateEmailContactResponse
|
|
47
|
+
* // arn: "STRING_VALUE", // required
|
|
48
|
+
* // };
|
|
49
|
+
*
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* @param CreateEmailContactCommandInput - {@link CreateEmailContactCommandInput}
|
|
53
|
+
* @returns {@link CreateEmailContactCommandOutput}
|
|
54
|
+
* @see {@link CreateEmailContactCommandInput} for command's `input` shape.
|
|
55
|
+
* @see {@link CreateEmailContactCommandOutput} for command's `response` shape.
|
|
56
|
+
* @see {@link NotificationsContactsClientResolvedConfig | config} for NotificationsContactsClient's `config` shape.
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
59
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ConflictException} (client fault)
|
|
62
|
+
* <p>Updating or deleting a resource can cause an inconsistent state.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link InternalServerException} (server fault)
|
|
65
|
+
* <p>Unexpected error during processing of request.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
68
|
+
* <p> Request would cause a service quota to be exceeded.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
71
|
+
* <p>The request was denied due to request throttling.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ValidationException} (client fault)
|
|
74
|
+
* <p>The input fails to satisfy the constraints specified by an AWS service.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link NotificationsContactsServiceException}
|
|
77
|
+
* <p>Base exception class for all service exceptions from NotificationsContacts service.</p>
|
|
78
|
+
*
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
export declare class CreateEmailContactCommand extends CreateEmailContactCommand_base {
|
|
82
|
+
/** @internal type navigation helper, not in runtime. */
|
|
83
|
+
protected static __types: {
|
|
84
|
+
api: {
|
|
85
|
+
input: CreateEmailContactRequest;
|
|
86
|
+
output: CreateEmailContactResponse;
|
|
87
|
+
};
|
|
88
|
+
sdk: {
|
|
89
|
+
input: CreateEmailContactCommandInput;
|
|
90
|
+
output: CreateEmailContactCommandOutput;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { DeleteEmailContactRequest, DeleteEmailContactResponse } from "../models/models_0";
|
|
4
|
+
import { NotificationsContactsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NotificationsContactsClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteEmailContactCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteEmailContactCommandInput extends DeleteEmailContactRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteEmailContactCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteEmailContactCommandOutput extends DeleteEmailContactResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteEmailContactCommand_base: {
|
|
25
|
+
new (input: DeleteEmailContactCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteEmailContactCommandInput, DeleteEmailContactCommandOutput, NotificationsContactsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: DeleteEmailContactCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteEmailContactCommandInput, DeleteEmailContactCommandOutput, NotificationsContactsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Deletes an email contact.</p>
|
|
31
|
+
* <note>
|
|
32
|
+
* <p>Deleting an email contact removes it from all associated notification configurations.</p>
|
|
33
|
+
* </note>
|
|
34
|
+
* @example
|
|
35
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
36
|
+
* ```javascript
|
|
37
|
+
* import { NotificationsContactsClient, DeleteEmailContactCommand } from "@aws-sdk/client-notificationscontacts"; // ES Modules import
|
|
38
|
+
* // const { NotificationsContactsClient, DeleteEmailContactCommand } = require("@aws-sdk/client-notificationscontacts"); // CommonJS import
|
|
39
|
+
* const client = new NotificationsContactsClient(config);
|
|
40
|
+
* const input = { // DeleteEmailContactRequest
|
|
41
|
+
* arn: "STRING_VALUE", // required
|
|
42
|
+
* };
|
|
43
|
+
* const command = new DeleteEmailContactCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // {};
|
|
46
|
+
*
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* @param DeleteEmailContactCommandInput - {@link DeleteEmailContactCommandInput}
|
|
50
|
+
* @returns {@link DeleteEmailContactCommandOutput}
|
|
51
|
+
* @see {@link DeleteEmailContactCommandInput} for command's `input` shape.
|
|
52
|
+
* @see {@link DeleteEmailContactCommandOutput} for command's `response` shape.
|
|
53
|
+
* @see {@link NotificationsContactsClientResolvedConfig | config} for NotificationsContactsClient's `config` shape.
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
56
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link ConflictException} (client fault)
|
|
59
|
+
* <p>Updating or deleting a resource can cause an inconsistent state.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link InternalServerException} (server fault)
|
|
62
|
+
* <p>Unexpected error during processing of request.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
65
|
+
* <p>Your request references a resource which does not exist. </p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
68
|
+
* <p>The request was denied due to request throttling.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ValidationException} (client fault)
|
|
71
|
+
* <p>The input fails to satisfy the constraints specified by an AWS service.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link NotificationsContactsServiceException}
|
|
74
|
+
* <p>Base exception class for all service exceptions from NotificationsContacts service.</p>
|
|
75
|
+
*
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
export declare class DeleteEmailContactCommand extends DeleteEmailContactCommand_base {
|
|
79
|
+
/** @internal type navigation helper, not in runtime. */
|
|
80
|
+
protected static __types: {
|
|
81
|
+
api: {
|
|
82
|
+
input: DeleteEmailContactRequest;
|
|
83
|
+
output: {};
|
|
84
|
+
};
|
|
85
|
+
sdk: {
|
|
86
|
+
input: DeleteEmailContactCommandInput;
|
|
87
|
+
output: DeleteEmailContactCommandOutput;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { GetEmailContactRequest, GetEmailContactResponse } from "../models/models_0";
|
|
4
|
+
import { NotificationsContactsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NotificationsContactsClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetEmailContactCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetEmailContactCommandInput extends GetEmailContactRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetEmailContactCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetEmailContactCommandOutput extends GetEmailContactResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetEmailContactCommand_base: {
|
|
25
|
+
new (input: GetEmailContactCommandInput): import("@smithy/smithy-client").CommandImpl<GetEmailContactCommandInput, GetEmailContactCommandOutput, NotificationsContactsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: GetEmailContactCommandInput): import("@smithy/smithy-client").CommandImpl<GetEmailContactCommandInput, GetEmailContactCommandOutput, NotificationsContactsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Returns an email contact.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { NotificationsContactsClient, GetEmailContactCommand } from "@aws-sdk/client-notificationscontacts"; // ES Modules import
|
|
35
|
+
* // const { NotificationsContactsClient, GetEmailContactCommand } = require("@aws-sdk/client-notificationscontacts"); // CommonJS import
|
|
36
|
+
* const client = new NotificationsContactsClient(config);
|
|
37
|
+
* const input = { // GetEmailContactRequest
|
|
38
|
+
* arn: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new GetEmailContactCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // GetEmailContactResponse
|
|
43
|
+
* // emailContact: { // EmailContact
|
|
44
|
+
* // arn: "STRING_VALUE", // required
|
|
45
|
+
* // name: "STRING_VALUE", // required
|
|
46
|
+
* // address: "STRING_VALUE", // required
|
|
47
|
+
* // status: "STRING_VALUE", // required
|
|
48
|
+
* // creationTime: new Date("TIMESTAMP"), // required
|
|
49
|
+
* // updateTime: new Date("TIMESTAMP"), // required
|
|
50
|
+
* // },
|
|
51
|
+
* // };
|
|
52
|
+
*
|
|
53
|
+
* ```
|
|
54
|
+
*
|
|
55
|
+
* @param GetEmailContactCommandInput - {@link GetEmailContactCommandInput}
|
|
56
|
+
* @returns {@link GetEmailContactCommandOutput}
|
|
57
|
+
* @see {@link GetEmailContactCommandInput} for command's `input` shape.
|
|
58
|
+
* @see {@link GetEmailContactCommandOutput} for command's `response` shape.
|
|
59
|
+
* @see {@link NotificationsContactsClientResolvedConfig | config} for NotificationsContactsClient's `config` shape.
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
62
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link InternalServerException} (server fault)
|
|
65
|
+
* <p>Unexpected error during processing of request.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
68
|
+
* <p>Your request references a resource which does not exist. </p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
71
|
+
* <p>The request was denied due to request throttling.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ValidationException} (client fault)
|
|
74
|
+
* <p>The input fails to satisfy the constraints specified by an AWS service.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link NotificationsContactsServiceException}
|
|
77
|
+
* <p>Base exception class for all service exceptions from NotificationsContacts service.</p>
|
|
78
|
+
*
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
export declare class GetEmailContactCommand extends GetEmailContactCommand_base {
|
|
82
|
+
/** @internal type navigation helper, not in runtime. */
|
|
83
|
+
protected static __types: {
|
|
84
|
+
api: {
|
|
85
|
+
input: GetEmailContactRequest;
|
|
86
|
+
output: GetEmailContactResponse;
|
|
87
|
+
};
|
|
88
|
+
sdk: {
|
|
89
|
+
input: GetEmailContactCommandInput;
|
|
90
|
+
output: GetEmailContactCommandOutput;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
}
|